dwrite: Optimize for the most common case of layout object initialization.
[wine.git] / configure
blob287f4ab9b1653c07377bec3ac8ab28e056d637c0
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.8.
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.8'
584 PACKAGE_STRING='Wine 1.8'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 LINGUAS
629 ALL_VARS_RULES
630 LDAP_LIBS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 PROCSTAT_LIBS
640 KSTAT_LIBS
641 MPG123_LIBS
642 MPG123_CFLAGS
643 TIFF_LIBS
644 TIFF_CFLAGS
645 PNG_LIBS
646 PNG_CFLAGS
647 JPEG_LIBS
648 JPEG_CFLAGS
649 FONTCONFIG_LIBS
650 FONTCONFIG_CFLAGS
651 CUPS_CFLAGS
652 CAPI20_LIBS
653 CAPI20_CFLAGS
654 OSS4_CFLAGS
655 ALSA_LIBS
656 GSTREAMER_LIBS
657 GSTREAMER_CFLAGS
658 PULSE_LIBS
659 PULSE_CFLAGS
660 GETTEXTPO_LIBS
661 Z_LIBS
662 FREETYPE_LIBS
663 FREETYPE_CFLAGS
664 LCMS2_LIBS
665 LCMS2_CFLAGS
666 RESOLV_LIBS
667 GPHOTO2_PORT_LIBS
668 GPHOTO2_PORT_CFLAGS
669 GPHOTO2_LIBS
670 GPHOTO2_CFLAGS
671 SANE_LIBS
672 SANE_CFLAGS
673 GNUTLS_LIBS
674 GNUTLS_CFLAGS
675 HAL_LIBS
676 HAL_CFLAGS
677 DBUS_LIBS
678 DBUS_CFLAGS
679 XSLT_LIBS
680 XSLT_CFLAGS
681 XML2_LIBS
682 XML2_CFLAGS
683 PCAP_LIBS
684 X_EXTRA_LIBS
685 X_LIBS
686 X_PRE_LIBS
687 X_CFLAGS
688 XMKMF
689 PTHREAD_LIBS
690 CROSSCC
691 CROSSTARGET
692 PRELINK
693 WINELOADER_DEPENDS
694 CARBON_LIBS
695 QUICKTIME_LIBS
696 OPENCL_LIBS
697 OPENAL_LIBS
698 COREAUDIO_LIBS
699 SECURITY_LIBS
700 DISKARBITRATION_LIBS
701 APPKIT_LIBS
702 CORESERVICES_LIBS
703 APPLICATIONSERVICES_LIBS
704 FORCEFEEDBACK_LIBS
705 IOKIT_LIBS
706 COREFOUNDATION_LIBS
707 LIBWINE_DEPENDS
708 LIBWINE_LDFLAGS
709 LIBWINE_INSTALL_DEV
710 LIBWINE_INSTALL_LIB
711 LIBWINE_IMPORTLIB
712 LIBWINE_SHAREDLIB
713 SOCKET_LIBS
714 DLLTOOL
715 WINELOADER_PROGRAMS
716 ALL_TEST_RESOURCES
717 READELF
718 OTOOL
720 LDEXECFLAGS
721 LDRPATH_LOCAL
722 LDRPATH_INSTALL
723 DLLFLAGS
724 dlldir
726 OPENGL_LIBS
727 ICOTOOL
728 CONVERT
729 RSVG
730 FONTFORGE
731 PKG_CONFIG
732 MSGFMT
733 LDCONFIG
734 EGREP
735 GREP
736 LN_S
737 RANLIB
738 ARFLAGS
739 STRIP
740 ac_ct_AR
742 BISON
743 FLEX
744 TOOLSDIR
745 TARGETFLAGS
747 CPPBIN
748 ac_ct_CXX
749 CXXFLAGS
751 OBJEXT
752 EXEEXT
753 ac_ct_CC
754 CPPFLAGS
755 LDFLAGS
756 CFLAGS
758 SET_MAKE
759 host_os
760 host_vendor
761 host_cpu
762 host
763 build_os
764 build_vendor
765 build_cpu
766 build
767 target_alias
768 host_alias
769 build_alias
770 LIBS
771 ECHO_T
772 ECHO_N
773 ECHO_C
774 DEFS
775 mandir
776 localedir
777 libdir
778 psdir
779 pdfdir
780 dvidir
781 htmldir
782 infodir
783 docdir
784 oldincludedir
785 includedir
786 runstatedir
787 localstatedir
788 sharedstatedir
789 sysconfdir
790 datadir
791 datarootdir
792 libexecdir
793 sbindir
794 bindir
795 program_transform_name
796 prefix
797 exec_prefix
798 PACKAGE_URL
799 PACKAGE_BUGREPORT
800 PACKAGE_STRING
801 PACKAGE_VERSION
802 PACKAGE_TARNAME
803 PACKAGE_NAME
804 PATH_SEPARATOR
805 SHELL'
806 ac_subst_files=''
807 ac_user_opts='
808 enable_option_checking
809 enable_win16
810 enable_win64
811 enable_tests
812 enable_maintainer_mode
813 with_alsa
814 with_capi
815 with_cms
816 with_coreaudio
817 with_cups
818 with_curses
819 with_dbus
820 with_fontconfig
821 with_freetype
822 with_gettext
823 with_gettextpo
824 with_gphoto
825 with_glu
826 with_gnutls
827 with_gsm
828 with_gstreamer
829 with_hal
830 with_jpeg
831 with_ldap
832 with_mpg123
833 with_netapi
834 with_openal
835 with_opencl
836 with_opengl
837 with_osmesa
838 with_oss
839 with_pcap
840 with_png
841 with_pthread
842 with_pulse
843 with_sane
844 with_tiff
845 with_v4l
846 with_xcomposite
847 with_xcursor
848 with_xinerama
849 with_xinput
850 with_xinput2
851 with_xml
852 with_xrandr
853 with_xrender
854 with_xshape
855 with_xshm
856 with_xslt
857 with_xxf86vm
858 with_zlib
859 with_wine_tools
860 with_wine64
861 enable_largefile
862 with_x
863 enable_acledit
864 enable_aclui
865 enable_activeds
866 enable_actxprxy
867 enable_advapi32
868 enable_advpack
869 enable_amstream
870 enable_api_ms_win_core_com_l1_1_0
871 enable_api_ms_win_core_console_l1_1_0
872 enable_api_ms_win_core_datetime_l1_1_0
873 enable_api_ms_win_core_datetime_l1_1_1
874 enable_api_ms_win_core_debug_l1_1_0
875 enable_api_ms_win_core_debug_l1_1_1
876 enable_api_ms_win_core_errorhandling_l1_1_0
877 enable_api_ms_win_core_errorhandling_l1_1_1
878 enable_api_ms_win_core_errorhandling_l1_1_2
879 enable_api_ms_win_core_fibers_l1_1_0
880 enable_api_ms_win_core_fibers_l1_1_1
881 enable_api_ms_win_core_file_l1_1_0
882 enable_api_ms_win_core_file_l1_2_0
883 enable_api_ms_win_core_file_l2_1_0
884 enable_api_ms_win_core_file_l2_1_1
885 enable_api_ms_win_core_handle_l1_1_0
886 enable_api_ms_win_core_heap_l1_1_0
887 enable_api_ms_win_core_heap_l1_2_0
888 enable_api_ms_win_core_heap_obsolete_l1_1_0
889 enable_api_ms_win_core_interlocked_l1_1_0
890 enable_api_ms_win_core_interlocked_l1_2_0
891 enable_api_ms_win_core_io_l1_1_1
892 enable_api_ms_win_core_kernel32_legacy_l1_1_0
893 enable_api_ms_win_core_libraryloader_l1_1_0
894 enable_api_ms_win_core_libraryloader_l1_1_1
895 enable_api_ms_win_core_localization_l1_2_0
896 enable_api_ms_win_core_localization_l1_2_1
897 enable_api_ms_win_core_localization_obsolete_l1_1_0
898 enable_api_ms_win_core_localregistry_l1_1_0
899 enable_api_ms_win_core_memory_l1_1_0
900 enable_api_ms_win_core_memory_l1_1_1
901 enable_api_ms_win_core_misc_l1_1_0
902 enable_api_ms_win_core_namedpipe_l1_1_0
903 enable_api_ms_win_core_namedpipe_l1_2_0
904 enable_api_ms_win_core_path_l1_1_0
905 enable_api_ms_win_core_processenvironment_l1_1_0
906 enable_api_ms_win_core_processenvironment_l1_2_0
907 enable_api_ms_win_core_processthreads_l1_1_0
908 enable_api_ms_win_core_processthreads_l1_1_1
909 enable_api_ms_win_core_processthreads_l1_1_2
910 enable_api_ms_win_core_profile_l1_1_0
911 enable_api_ms_win_core_psapi_l1_1_0
912 enable_api_ms_win_core_registry_l1_1_0
913 enable_api_ms_win_core_rtlsupport_l1_1_0
914 enable_api_ms_win_core_rtlsupport_l1_2_0
915 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
916 enable_api_ms_win_core_string_l1_1_0
917 enable_api_ms_win_core_synch_l1_1_0
918 enable_api_ms_win_core_synch_l1_2_0
919 enable_api_ms_win_core_sysinfo_l1_1_0
920 enable_api_ms_win_core_sysinfo_l1_2_0
921 enable_api_ms_win_core_sysinfo_l1_2_1
922 enable_api_ms_win_core_threadpool_legacy_l1_1_0
923 enable_api_ms_win_core_timezone_l1_1_0
924 enable_api_ms_win_core_url_l1_1_0
925 enable_api_ms_win_core_util_l1_1_0
926 enable_api_ms_win_core_winrt_error_l1_1_0
927 enable_api_ms_win_core_winrt_error_l1_1_1
928 enable_api_ms_win_core_winrt_l1_1_0
929 enable_api_ms_win_core_winrt_string_l1_1_0
930 enable_api_ms_win_core_xstate_l2_1_0
931 enable_api_ms_win_crt_conio_l1_1_0
932 enable_api_ms_win_crt_convert_l1_1_0
933 enable_api_ms_win_crt_environment_l1_1_0
934 enable_api_ms_win_crt_filesystem_l1_1_0
935 enable_api_ms_win_crt_heap_l1_1_0
936 enable_api_ms_win_crt_locale_l1_1_0
937 enable_api_ms_win_crt_math_l1_1_0
938 enable_api_ms_win_crt_multibyte_l1_1_0
939 enable_api_ms_win_crt_private_l1_1_0
940 enable_api_ms_win_crt_process_l1_1_0
941 enable_api_ms_win_crt_runtime_l1_1_0
942 enable_api_ms_win_crt_stdio_l1_1_0
943 enable_api_ms_win_crt_string_l1_1_0
944 enable_api_ms_win_crt_time_l1_1_0
945 enable_api_ms_win_crt_utility_l1_1_0
946 enable_api_ms_win_downlevel_advapi32_l1_1_0
947 enable_api_ms_win_downlevel_advapi32_l2_1_0
948 enable_api_ms_win_downlevel_normaliz_l1_1_0
949 enable_api_ms_win_downlevel_ole32_l1_1_0
950 enable_api_ms_win_downlevel_shell32_l1_1_0
951 enable_api_ms_win_downlevel_shlwapi_l1_1_0
952 enable_api_ms_win_downlevel_shlwapi_l2_1_0
953 enable_api_ms_win_downlevel_user32_l1_1_0
954 enable_api_ms_win_downlevel_version_l1_1_0
955 enable_api_ms_win_eventing_provider_l1_1_0
956 enable_api_ms_win_ntuser_dc_access_l1_1_0
957 enable_api_ms_win_security_base_l1_1_0
958 enable_api_ms_win_security_base_l1_2_0
959 enable_api_ms_win_security_lsalookup_l1_1_0
960 enable_api_ms_win_security_sddl_l1_1_0
961 enable_api_ms_win_service_core_l1_1_1
962 enable_api_ms_win_service_management_l1_1_0
963 enable_api_ms_win_service_winsvc_l1_2_0
964 enable_apphelp
965 enable_appwiz_cpl
966 enable_atl
967 enable_atl100
968 enable_atl110
969 enable_atl80
970 enable_atl90
971 enable_authz
972 enable_avicap32
973 enable_avifil32
974 enable_avrt
975 enable_bcrypt
976 enable_bluetoothapis
977 enable_browseui
978 enable_bthprops_cpl
979 enable_cabinet
980 enable_capi2032
981 enable_cards
982 enable_cfgmgr32
983 enable_clusapi
984 enable_combase
985 enable_comcat
986 enable_comctl32
987 enable_comdlg32
988 enable_compstui
989 enable_comsvcs
990 enable_connect
991 enable_credui
992 enable_crtdll
993 enable_crypt32
994 enable_cryptdlg
995 enable_cryptdll
996 enable_cryptext
997 enable_cryptnet
998 enable_cryptui
999 enable_ctapi32
1000 enable_ctl3d32
1001 enable_d2d1
1002 enable_d3d10
1003 enable_d3d10_1
1004 enable_d3d10core
1005 enable_d3d11
1006 enable_d3d8
1007 enable_d3d9
1008 enable_d3dcompiler_33
1009 enable_d3dcompiler_34
1010 enable_d3dcompiler_35
1011 enable_d3dcompiler_36
1012 enable_d3dcompiler_37
1013 enable_d3dcompiler_38
1014 enable_d3dcompiler_39
1015 enable_d3dcompiler_40
1016 enable_d3dcompiler_41
1017 enable_d3dcompiler_42
1018 enable_d3dcompiler_43
1019 enable_d3dcompiler_46
1020 enable_d3dcompiler_47
1021 enable_d3dim
1022 enable_d3drm
1023 enable_d3dx10_33
1024 enable_d3dx10_34
1025 enable_d3dx10_35
1026 enable_d3dx10_36
1027 enable_d3dx10_37
1028 enable_d3dx10_38
1029 enable_d3dx10_39
1030 enable_d3dx10_40
1031 enable_d3dx10_41
1032 enable_d3dx10_42
1033 enable_d3dx10_43
1034 enable_d3dx11_42
1035 enable_d3dx11_43
1036 enable_d3dx9_24
1037 enable_d3dx9_25
1038 enable_d3dx9_26
1039 enable_d3dx9_27
1040 enable_d3dx9_28
1041 enable_d3dx9_29
1042 enable_d3dx9_30
1043 enable_d3dx9_31
1044 enable_d3dx9_32
1045 enable_d3dx9_33
1046 enable_d3dx9_34
1047 enable_d3dx9_35
1048 enable_d3dx9_36
1049 enable_d3dx9_37
1050 enable_d3dx9_38
1051 enable_d3dx9_39
1052 enable_d3dx9_40
1053 enable_d3dx9_41
1054 enable_d3dx9_42
1055 enable_d3dx9_43
1056 enable_d3dxof
1057 enable_davclnt
1058 enable_dbgeng
1059 enable_dbghelp
1060 enable_dciman32
1061 enable_ddraw
1062 enable_ddrawex
1063 enable_devenum
1064 enable_dhcpcsvc
1065 enable_difxapi
1066 enable_dinput
1067 enable_dinput8
1068 enable_dispex
1069 enable_dmband
1070 enable_dmcompos
1071 enable_dmime
1072 enable_dmloader
1073 enable_dmscript
1074 enable_dmstyle
1075 enable_dmsynth
1076 enable_dmusic
1077 enable_dmusic32
1078 enable_dnsapi
1079 enable_dplay
1080 enable_dplayx
1081 enable_dpnaddr
1082 enable_dpnet
1083 enable_dpnhpast
1084 enable_dpnlobby
1085 enable_dpvoice
1086 enable_dpwsockx
1087 enable_drmclien
1088 enable_dsound
1089 enable_dssenh
1090 enable_dswave
1091 enable_dwmapi
1092 enable_dwrite
1093 enable_dxdiagn
1094 enable_dxgi
1095 enable_dxva2
1096 enable_esent
1097 enable_evr
1098 enable_explorerframe
1099 enable_ext_ms_win_gdi_devcaps_l1_1_0
1100 enable_faultrep
1101 enable_fltlib
1102 enable_fltmgr_sys
1103 enable_fntcache
1104 enable_fontsub
1105 enable_fusion
1106 enable_fwpuclnt
1107 enable_gameux
1108 enable_gdi32
1109 enable_gdiplus
1110 enable_glu32
1111 enable_gphoto2_ds
1112 enable_gpkcsp
1113 enable_hal
1114 enable_hhctrl_ocx
1115 enable_hid
1116 enable_hidclass_sys
1117 enable_hlink
1118 enable_hnetcfg
1119 enable_httpapi
1120 enable_iccvid
1121 enable_icmp
1122 enable_ieframe
1123 enable_imaadp32_acm
1124 enable_imagehlp
1125 enable_imm32
1126 enable_inetcomm
1127 enable_inetcpl_cpl
1128 enable_inetmib1
1129 enable_infosoft
1130 enable_initpki
1131 enable_inkobj
1132 enable_inseng
1133 enable_iphlpapi
1134 enable_itircl
1135 enable_itss
1136 enable_joy_cpl
1137 enable_jscript
1138 enable_jsproxy
1139 enable_kernel32
1140 enable_ksuser
1141 enable_ktmw32
1142 enable_loadperf
1143 enable_localspl
1144 enable_localui
1145 enable_lz32
1146 enable_mapi32
1147 enable_mapistub
1148 enable_mciavi32
1149 enable_mcicda
1150 enable_mciqtz32
1151 enable_mciseq
1152 enable_mciwave
1153 enable_mf
1154 enable_mfplat
1155 enable_mfreadwrite
1156 enable_mgmtapi
1157 enable_midimap
1158 enable_mlang
1159 enable_mmcndmgr
1160 enable_mmdevapi
1161 enable_mountmgr_sys
1162 enable_mpr
1163 enable_mprapi
1164 enable_msacm32_drv
1165 enable_msacm32
1166 enable_msadp32_acm
1167 enable_msasn1
1168 enable_mscat32
1169 enable_mscms
1170 enable_mscoree
1171 enable_msctf
1172 enable_msctfp
1173 enable_msdaps
1174 enable_msdelta
1175 enable_msdmo
1176 enable_msftedit
1177 enable_msg711_acm
1178 enable_msgsm32_acm
1179 enable_mshtml_tlb
1180 enable_mshtml
1181 enable_msi
1182 enable_msident
1183 enable_msimg32
1184 enable_msimsg
1185 enable_msimtf
1186 enable_msisip
1187 enable_msisys_ocx
1188 enable_msls31
1189 enable_msnet32
1190 enable_mspatcha
1191 enable_msrle32
1192 enable_msscript_ocx
1193 enable_mssign32
1194 enable_mssip32
1195 enable_mstask
1196 enable_msvcirt
1197 enable_msvcm80
1198 enable_msvcm90
1199 enable_msvcp100
1200 enable_msvcp110
1201 enable_msvcp120
1202 enable_msvcp120_app
1203 enable_msvcp60
1204 enable_msvcp70
1205 enable_msvcp71
1206 enable_msvcp80
1207 enable_msvcp90
1208 enable_msvcr100
1209 enable_msvcr110
1210 enable_msvcr120
1211 enable_msvcr120_app
1212 enable_msvcr70
1213 enable_msvcr71
1214 enable_msvcr80
1215 enable_msvcr90
1216 enable_msvcrt
1217 enable_msvcrt20
1218 enable_msvcrt40
1219 enable_msvcrtd
1220 enable_msvfw32
1221 enable_msvidc32
1222 enable_mswsock
1223 enable_msxml
1224 enable_msxml2
1225 enable_msxml3
1226 enable_msxml4
1227 enable_msxml6
1228 enable_nddeapi
1229 enable_ndis_sys
1230 enable_netapi32
1231 enable_netcfgx
1232 enable_netprofm
1233 enable_newdev
1234 enable_normaliz
1235 enable_npmshtml
1236 enable_npptools
1237 enable_ntdll
1238 enable_ntdsapi
1239 enable_ntoskrnl_exe
1240 enable_ntprint
1241 enable_objsel
1242 enable_odbc32
1243 enable_odbccp32
1244 enable_odbccu32
1245 enable_ole32
1246 enable_oleacc
1247 enable_oleaut32
1248 enable_olecli32
1249 enable_oledb32
1250 enable_oledlg
1251 enable_olepro32
1252 enable_olesvr32
1253 enable_olethk32
1254 enable_openal32
1255 enable_opencl
1256 enable_opengl32
1257 enable_packager
1258 enable_pdh
1259 enable_photometadatahandler
1260 enable_pidgen
1261 enable_powrprof
1262 enable_printui
1263 enable_prntvpt
1264 enable_propsys
1265 enable_psapi
1266 enable_pstorec
1267 enable_qcap
1268 enable_qedit
1269 enable_qmgr
1270 enable_qmgrprxy
1271 enable_quartz
1272 enable_query
1273 enable_rasapi32
1274 enable_rasdlg
1275 enable_regapi
1276 enable_resutils
1277 enable_riched20
1278 enable_riched32
1279 enable_rpcrt4
1280 enable_rsabase
1281 enable_rsaenh
1282 enable_rstrtmgr
1283 enable_rtutils
1284 enable_samlib
1285 enable_sane_ds
1286 enable_scarddlg
1287 enable_sccbase
1288 enable_schannel
1289 enable_schedsvc
1290 enable_scrrun
1291 enable_scsiport_sys
1292 enable_secur32
1293 enable_security
1294 enable_sensapi
1295 enable_serialui
1296 enable_setupapi
1297 enable_sfc
1298 enable_sfc_os
1299 enable_shdoclc
1300 enable_shdocvw
1301 enable_shell32
1302 enable_shfolder
1303 enable_shlwapi
1304 enable_slbcsp
1305 enable_slc
1306 enable_snmpapi
1307 enable_softpub
1308 enable_spoolss
1309 enable_stdole2_tlb
1310 enable_stdole32_tlb
1311 enable_sti
1312 enable_svrapi
1313 enable_sxs
1314 enable_t2embed
1315 enable_tapi32
1316 enable_taskschd
1317 enable_tdi_sys
1318 enable_traffic
1319 enable_twain_32
1320 enable_ucrtbase
1321 enable_unicows
1322 enable_updspapi
1323 enable_url
1324 enable_urlmon
1325 enable_usbd_sys
1326 enable_user32
1327 enable_userenv
1328 enable_usp10
1329 enable_uxtheme
1330 enable_vbscript
1331 enable_vcomp
1332 enable_vcomp100
1333 enable_vcomp110
1334 enable_vcomp120
1335 enable_vcomp90
1336 enable_vcruntime140
1337 enable_vdmdbg
1338 enable_version
1339 enable_vssapi
1340 enable_wbemdisp
1341 enable_wbemprox
1342 enable_webservices
1343 enable_wer
1344 enable_wevtapi
1345 enable_wiaservc
1346 enable_wimgapi
1347 enable_windowscodecs
1348 enable_windowscodecsext
1349 enable_winealsa_drv
1350 enable_winecoreaudio_drv
1351 enable_wined3d
1352 enable_winegstreamer
1353 enable_winejoystick_drv
1354 enable_winemac_drv
1355 enable_winemapi
1356 enable_winemp3_acm
1357 enable_wineoss_drv
1358 enable_wineps_drv
1359 enable_winepulse_drv
1360 enable_wineqtdecoder
1361 enable_winex11_drv
1362 enable_wing32
1363 enable_winhttp
1364 enable_wininet
1365 enable_winmm
1366 enable_winnls32
1367 enable_winscard
1368 enable_winspool_drv
1369 enable_winsta
1370 enable_wintab32
1371 enable_wintrust
1372 enable_wlanapi
1373 enable_wldap32
1374 enable_wmi
1375 enable_wmiutils
1376 enable_wmp
1377 enable_wmvcore
1378 enable_wnaspi32
1379 enable_wpcap
1380 enable_ws2_32
1381 enable_wshom_ocx
1382 enable_wsnmp32
1383 enable_wsock32
1384 enable_wtsapi32
1385 enable_wuapi
1386 enable_wuaueng
1387 enable_x3daudio1_0
1388 enable_x3daudio1_1
1389 enable_x3daudio1_2
1390 enable_x3daudio1_3
1391 enable_x3daudio1_4
1392 enable_x3daudio1_5
1393 enable_x3daudio1_6
1394 enable_x3daudio1_7
1395 enable_xapofx1_1
1396 enable_xapofx1_2
1397 enable_xapofx1_3
1398 enable_xapofx1_4
1399 enable_xapofx1_5
1400 enable_xaudio2_0
1401 enable_xaudio2_1
1402 enable_xaudio2_2
1403 enable_xaudio2_3
1404 enable_xaudio2_4
1405 enable_xaudio2_5
1406 enable_xaudio2_6
1407 enable_xaudio2_7
1408 enable_xaudio2_8
1409 enable_xinput1_1
1410 enable_xinput1_2
1411 enable_xinput1_3
1412 enable_xinput1_4
1413 enable_xinput9_1_0
1414 enable_xmllite
1415 enable_xolehlp
1416 enable_xpsprint
1417 enable_xpssvcs
1418 enable_fonts
1419 enable_include
1420 enable_libs_port
1421 enable_libs_wine
1422 enable_libs_wpp
1423 enable_loader
1424 enable_arp
1425 enable_aspnet_regiis
1426 enable_attrib
1427 enable_cabarc
1428 enable_cacls
1429 enable_clock
1430 enable_cmd
1431 enable_conhost
1432 enable_control
1433 enable_cscript
1434 enable_dpnsvr
1435 enable_dxdiag
1436 enable_eject
1437 enable_expand
1438 enable_explorer
1439 enable_extrac32
1440 enable_findstr
1441 enable_hh
1442 enable_hostname
1443 enable_icinfo
1444 enable_iexplore
1445 enable_ipconfig
1446 enable_lodctr
1447 enable_mofcomp
1448 enable_mshta
1449 enable_msiexec
1450 enable_net
1451 enable_netsh
1452 enable_netstat
1453 enable_ngen
1454 enable_notepad
1455 enable_oleview
1456 enable_ping
1457 enable_plugplay
1458 enable_presentationfontcache
1459 enable_progman
1460 enable_reg
1461 enable_regasm
1462 enable_regedit
1463 enable_regsvcs
1464 enable_regsvr32
1465 enable_rpcss
1466 enable_rundll32
1467 enable_sc
1468 enable_schtasks
1469 enable_sdbinst
1470 enable_secedit
1471 enable_servicemodelreg
1472 enable_services
1473 enable_spoolsv
1474 enable_start
1475 enable_svchost
1476 enable_systeminfo
1477 enable_taskkill
1478 enable_tasklist
1479 enable_taskmgr
1480 enable_termsv
1481 enable_uninstaller
1482 enable_unlodctr
1483 enable_view
1484 enable_wevtutil
1485 enable_wineboot
1486 enable_winebrowser
1487 enable_winecfg
1488 enable_wineconsole
1489 enable_winedbg
1490 enable_winedevice
1491 enable_winefile
1492 enable_winemenubuilder
1493 enable_winemine
1494 enable_winemsibuilder
1495 enable_winepath
1496 enable_winetest
1497 enable_winhlp32
1498 enable_winver
1499 enable_wmic
1500 enable_wmplayer
1501 enable_wordpad
1502 enable_write
1503 enable_wscript
1504 enable_wusa
1505 enable_xcopy
1506 enable_server
1507 enable_tools
1509 ac_precious_vars='build_alias
1510 host_alias
1511 target_alias
1513 CFLAGS
1514 LDFLAGS
1515 LIBS
1516 CPPFLAGS
1518 CXXFLAGS
1521 XMKMF
1522 XML2_CFLAGS
1523 XML2_LIBS
1524 XSLT_CFLAGS
1525 XSLT_LIBS
1526 DBUS_CFLAGS
1527 DBUS_LIBS
1528 HAL_CFLAGS
1529 HAL_LIBS
1530 GNUTLS_CFLAGS
1531 GNUTLS_LIBS
1532 SANE_CFLAGS
1533 SANE_LIBS
1534 GPHOTO2_CFLAGS
1535 GPHOTO2_LIBS
1536 GPHOTO2_PORT_CFLAGS
1537 GPHOTO2_PORT_LIBS
1538 LCMS2_CFLAGS
1539 LCMS2_LIBS
1540 FREETYPE_CFLAGS
1541 FREETYPE_LIBS
1542 PULSE_CFLAGS
1543 PULSE_LIBS
1544 GSTREAMER_CFLAGS
1545 GSTREAMER_LIBS
1546 CAPI20_CFLAGS
1547 CAPI20_LIBS
1548 FONTCONFIG_CFLAGS
1549 FONTCONFIG_LIBS
1550 JPEG_CFLAGS
1551 JPEG_LIBS
1552 PNG_CFLAGS
1553 PNG_LIBS
1554 TIFF_CFLAGS
1555 TIFF_LIBS
1556 MPG123_CFLAGS
1557 MPG123_LIBS'
1560 # Initialize some variables set by options.
1561 ac_init_help=
1562 ac_init_version=false
1563 ac_unrecognized_opts=
1564 ac_unrecognized_sep=
1565 # The variables have the same names as the options, with
1566 # dashes changed to underlines.
1567 cache_file=/dev/null
1568 exec_prefix=NONE
1569 no_create=
1570 no_recursion=
1571 prefix=NONE
1572 program_prefix=NONE
1573 program_suffix=NONE
1574 program_transform_name=s,x,x,
1575 silent=
1576 site=
1577 srcdir=
1578 verbose=
1579 x_includes=NONE
1580 x_libraries=NONE
1582 # Installation directory options.
1583 # These are left unexpanded so users can "make install exec_prefix=/foo"
1584 # and all the variables that are supposed to be based on exec_prefix
1585 # by default will actually change.
1586 # Use braces instead of parens because sh, perl, etc. also accept them.
1587 # (The list follows the same order as the GNU Coding Standards.)
1588 bindir='${exec_prefix}/bin'
1589 sbindir='${exec_prefix}/sbin'
1590 libexecdir='${exec_prefix}/libexec'
1591 datarootdir='${prefix}/share'
1592 datadir='${datarootdir}'
1593 sysconfdir='${prefix}/etc'
1594 sharedstatedir='${prefix}/com'
1595 localstatedir='${prefix}/var'
1596 runstatedir='${localstatedir}/run'
1597 includedir='${prefix}/include'
1598 oldincludedir='/usr/include'
1599 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1600 infodir='${datarootdir}/info'
1601 htmldir='${docdir}'
1602 dvidir='${docdir}'
1603 pdfdir='${docdir}'
1604 psdir='${docdir}'
1605 libdir='${exec_prefix}/lib'
1606 localedir='${datarootdir}/locale'
1607 mandir='${datarootdir}/man'
1609 ac_prev=
1610 ac_dashdash=
1611 for ac_option
1613 # If the previous option needs an argument, assign it.
1614 if test -n "$ac_prev"; then
1615 eval $ac_prev=\$ac_option
1616 ac_prev=
1617 continue
1620 case $ac_option in
1621 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1622 *=) ac_optarg= ;;
1623 *) ac_optarg=yes ;;
1624 esac
1626 # Accept the important Cygnus configure options, so we can diagnose typos.
1628 case $ac_dashdash$ac_option in
1630 ac_dashdash=yes ;;
1632 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1633 ac_prev=bindir ;;
1634 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1635 bindir=$ac_optarg ;;
1637 -build | --build | --buil | --bui | --bu)
1638 ac_prev=build_alias ;;
1639 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1640 build_alias=$ac_optarg ;;
1642 -cache-file | --cache-file | --cache-fil | --cache-fi \
1643 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1644 ac_prev=cache_file ;;
1645 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1646 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1647 cache_file=$ac_optarg ;;
1649 --config-cache | -C)
1650 cache_file=config.cache ;;
1652 -datadir | --datadir | --datadi | --datad)
1653 ac_prev=datadir ;;
1654 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1655 datadir=$ac_optarg ;;
1657 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1658 | --dataroo | --dataro | --datar)
1659 ac_prev=datarootdir ;;
1660 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1661 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1662 datarootdir=$ac_optarg ;;
1664 -disable-* | --disable-*)
1665 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1666 # Reject names that are not valid shell variable names.
1667 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1668 as_fn_error $? "invalid feature name: $ac_useropt"
1669 ac_useropt_orig=$ac_useropt
1670 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1671 case $ac_user_opts in
1673 "enable_$ac_useropt"
1674 "*) ;;
1675 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1676 ac_unrecognized_sep=', ';;
1677 esac
1678 eval enable_$ac_useropt=no ;;
1680 -docdir | --docdir | --docdi | --doc | --do)
1681 ac_prev=docdir ;;
1682 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1683 docdir=$ac_optarg ;;
1685 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1686 ac_prev=dvidir ;;
1687 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1688 dvidir=$ac_optarg ;;
1690 -enable-* | --enable-*)
1691 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1692 # Reject names that are not valid shell variable names.
1693 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1694 as_fn_error $? "invalid feature name: $ac_useropt"
1695 ac_useropt_orig=$ac_useropt
1696 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1697 case $ac_user_opts in
1699 "enable_$ac_useropt"
1700 "*) ;;
1701 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1702 ac_unrecognized_sep=', ';;
1703 esac
1704 eval enable_$ac_useropt=\$ac_optarg ;;
1706 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1707 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1708 | --exec | --exe | --ex)
1709 ac_prev=exec_prefix ;;
1710 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1711 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1712 | --exec=* | --exe=* | --ex=*)
1713 exec_prefix=$ac_optarg ;;
1715 -gas | --gas | --ga | --g)
1716 # Obsolete; use --with-gas.
1717 with_gas=yes ;;
1719 -help | --help | --hel | --he | -h)
1720 ac_init_help=long ;;
1721 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1722 ac_init_help=recursive ;;
1723 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1724 ac_init_help=short ;;
1726 -host | --host | --hos | --ho)
1727 ac_prev=host_alias ;;
1728 -host=* | --host=* | --hos=* | --ho=*)
1729 host_alias=$ac_optarg ;;
1731 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1732 ac_prev=htmldir ;;
1733 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1734 | --ht=*)
1735 htmldir=$ac_optarg ;;
1737 -includedir | --includedir | --includedi | --included | --include \
1738 | --includ | --inclu | --incl | --inc)
1739 ac_prev=includedir ;;
1740 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1741 | --includ=* | --inclu=* | --incl=* | --inc=*)
1742 includedir=$ac_optarg ;;
1744 -infodir | --infodir | --infodi | --infod | --info | --inf)
1745 ac_prev=infodir ;;
1746 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1747 infodir=$ac_optarg ;;
1749 -libdir | --libdir | --libdi | --libd)
1750 ac_prev=libdir ;;
1751 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1752 libdir=$ac_optarg ;;
1754 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1755 | --libexe | --libex | --libe)
1756 ac_prev=libexecdir ;;
1757 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1758 | --libexe=* | --libex=* | --libe=*)
1759 libexecdir=$ac_optarg ;;
1761 -localedir | --localedir | --localedi | --localed | --locale)
1762 ac_prev=localedir ;;
1763 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1764 localedir=$ac_optarg ;;
1766 -localstatedir | --localstatedir | --localstatedi | --localstated \
1767 | --localstate | --localstat | --localsta | --localst | --locals)
1768 ac_prev=localstatedir ;;
1769 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1770 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1771 localstatedir=$ac_optarg ;;
1773 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1774 ac_prev=mandir ;;
1775 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1776 mandir=$ac_optarg ;;
1778 -nfp | --nfp | --nf)
1779 # Obsolete; use --without-fp.
1780 with_fp=no ;;
1782 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1783 | --no-cr | --no-c | -n)
1784 no_create=yes ;;
1786 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1787 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1788 no_recursion=yes ;;
1790 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1791 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1792 | --oldin | --oldi | --old | --ol | --o)
1793 ac_prev=oldincludedir ;;
1794 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1795 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1796 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1797 oldincludedir=$ac_optarg ;;
1799 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1800 ac_prev=prefix ;;
1801 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1802 prefix=$ac_optarg ;;
1804 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1805 | --program-pre | --program-pr | --program-p)
1806 ac_prev=program_prefix ;;
1807 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1808 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1809 program_prefix=$ac_optarg ;;
1811 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1812 | --program-suf | --program-su | --program-s)
1813 ac_prev=program_suffix ;;
1814 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1815 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1816 program_suffix=$ac_optarg ;;
1818 -program-transform-name | --program-transform-name \
1819 | --program-transform-nam | --program-transform-na \
1820 | --program-transform-n | --program-transform- \
1821 | --program-transform | --program-transfor \
1822 | --program-transfo | --program-transf \
1823 | --program-trans | --program-tran \
1824 | --progr-tra | --program-tr | --program-t)
1825 ac_prev=program_transform_name ;;
1826 -program-transform-name=* | --program-transform-name=* \
1827 | --program-transform-nam=* | --program-transform-na=* \
1828 | --program-transform-n=* | --program-transform-=* \
1829 | --program-transform=* | --program-transfor=* \
1830 | --program-transfo=* | --program-transf=* \
1831 | --program-trans=* | --program-tran=* \
1832 | --progr-tra=* | --program-tr=* | --program-t=*)
1833 program_transform_name=$ac_optarg ;;
1835 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1836 ac_prev=pdfdir ;;
1837 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1838 pdfdir=$ac_optarg ;;
1840 -psdir | --psdir | --psdi | --psd | --ps)
1841 ac_prev=psdir ;;
1842 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1843 psdir=$ac_optarg ;;
1845 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1846 | -silent | --silent | --silen | --sile | --sil)
1847 silent=yes ;;
1849 -runstatedir | --runstatedir | --runstatedi | --runstated \
1850 | --runstate | --runstat | --runsta | --runst | --runs \
1851 | --run | --ru | --r)
1852 ac_prev=runstatedir ;;
1853 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1854 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1855 | --run=* | --ru=* | --r=*)
1856 runstatedir=$ac_optarg ;;
1858 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1859 ac_prev=sbindir ;;
1860 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1861 | --sbi=* | --sb=*)
1862 sbindir=$ac_optarg ;;
1864 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1865 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1866 | --sharedst | --shareds | --shared | --share | --shar \
1867 | --sha | --sh)
1868 ac_prev=sharedstatedir ;;
1869 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1870 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1871 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1872 | --sha=* | --sh=*)
1873 sharedstatedir=$ac_optarg ;;
1875 -site | --site | --sit)
1876 ac_prev=site ;;
1877 -site=* | --site=* | --sit=*)
1878 site=$ac_optarg ;;
1880 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1881 ac_prev=srcdir ;;
1882 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1883 srcdir=$ac_optarg ;;
1885 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1886 | --syscon | --sysco | --sysc | --sys | --sy)
1887 ac_prev=sysconfdir ;;
1888 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1889 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1890 sysconfdir=$ac_optarg ;;
1892 -target | --target | --targe | --targ | --tar | --ta | --t)
1893 ac_prev=target_alias ;;
1894 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1895 target_alias=$ac_optarg ;;
1897 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1898 verbose=yes ;;
1900 -version | --version | --versio | --versi | --vers | -V)
1901 ac_init_version=: ;;
1903 -with-* | --with-*)
1904 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1905 # Reject names that are not valid shell variable names.
1906 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1907 as_fn_error $? "invalid package name: $ac_useropt"
1908 ac_useropt_orig=$ac_useropt
1909 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1910 case $ac_user_opts in
1912 "with_$ac_useropt"
1913 "*) ;;
1914 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1915 ac_unrecognized_sep=', ';;
1916 esac
1917 eval with_$ac_useropt=\$ac_optarg ;;
1919 -without-* | --without-*)
1920 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1921 # Reject names that are not valid shell variable names.
1922 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1923 as_fn_error $? "invalid package name: $ac_useropt"
1924 ac_useropt_orig=$ac_useropt
1925 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1926 case $ac_user_opts in
1928 "with_$ac_useropt"
1929 "*) ;;
1930 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1931 ac_unrecognized_sep=', ';;
1932 esac
1933 eval with_$ac_useropt=no ;;
1935 --x)
1936 # Obsolete; use --with-x.
1937 with_x=yes ;;
1939 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1940 | --x-incl | --x-inc | --x-in | --x-i)
1941 ac_prev=x_includes ;;
1942 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1943 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1944 x_includes=$ac_optarg ;;
1946 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1947 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1948 ac_prev=x_libraries ;;
1949 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1950 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1951 x_libraries=$ac_optarg ;;
1953 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1954 Try \`$0 --help' for more information"
1957 *=*)
1958 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1959 # Reject names that are not valid shell variable names.
1960 case $ac_envvar in #(
1961 '' | [0-9]* | *[!_$as_cr_alnum]* )
1962 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1963 esac
1964 eval $ac_envvar=\$ac_optarg
1965 export $ac_envvar ;;
1968 # FIXME: should be removed in autoconf 3.0.
1969 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1970 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1971 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1972 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1975 esac
1976 done
1978 if test -n "$ac_prev"; then
1979 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1980 as_fn_error $? "missing argument to $ac_option"
1983 if test -n "$ac_unrecognized_opts"; then
1984 case $enable_option_checking in
1985 no) ;;
1986 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1987 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1988 esac
1991 # Check all directory arguments for consistency.
1992 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1993 datadir sysconfdir sharedstatedir localstatedir includedir \
1994 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1995 libdir localedir mandir runstatedir
1997 eval ac_val=\$$ac_var
1998 # Remove trailing slashes.
1999 case $ac_val in
2000 */ )
2001 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2002 eval $ac_var=\$ac_val;;
2003 esac
2004 # Be sure to have absolute directory names.
2005 case $ac_val in
2006 [\\/$]* | ?:[\\/]* ) continue;;
2007 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2008 esac
2009 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2010 done
2012 # There might be people who depend on the old broken behavior: `$host'
2013 # used to hold the argument of --host etc.
2014 # FIXME: To remove some day.
2015 build=$build_alias
2016 host=$host_alias
2017 target=$target_alias
2019 # FIXME: To remove some day.
2020 if test "x$host_alias" != x; then
2021 if test "x$build_alias" = x; then
2022 cross_compiling=maybe
2023 elif test "x$build_alias" != "x$host_alias"; then
2024 cross_compiling=yes
2028 ac_tool_prefix=
2029 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2031 test "$silent" = yes && exec 6>/dev/null
2034 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2035 ac_ls_di=`ls -di .` &&
2036 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2037 as_fn_error $? "working directory cannot be determined"
2038 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2039 as_fn_error $? "pwd does not report name of working directory"
2042 # Find the source files, if location was not specified.
2043 if test -z "$srcdir"; then
2044 ac_srcdir_defaulted=yes
2045 # Try the directory containing this script, then the parent directory.
2046 ac_confdir=`$as_dirname -- "$as_myself" ||
2047 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2048 X"$as_myself" : 'X\(//\)[^/]' \| \
2049 X"$as_myself" : 'X\(//\)$' \| \
2050 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2051 $as_echo X"$as_myself" |
2052 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2053 s//\1/
2056 /^X\(\/\/\)[^/].*/{
2057 s//\1/
2060 /^X\(\/\/\)$/{
2061 s//\1/
2064 /^X\(\/\).*/{
2065 s//\1/
2068 s/.*/./; q'`
2069 srcdir=$ac_confdir
2070 if test ! -r "$srcdir/$ac_unique_file"; then
2071 srcdir=..
2073 else
2074 ac_srcdir_defaulted=no
2076 if test ! -r "$srcdir/$ac_unique_file"; then
2077 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2078 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2080 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2081 ac_abs_confdir=`(
2082 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2083 pwd)`
2084 # When building in place, set srcdir=.
2085 if test "$ac_abs_confdir" = "$ac_pwd"; then
2086 srcdir=.
2088 # Remove unnecessary trailing slashes from srcdir.
2089 # Double slashes in file names in object file debugging info
2090 # mess up M-x gdb in Emacs.
2091 case $srcdir in
2092 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2093 esac
2094 for ac_var in $ac_precious_vars; do
2095 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2096 eval ac_env_${ac_var}_value=\$${ac_var}
2097 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2098 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2099 done
2102 # Report the --help message.
2104 if test "$ac_init_help" = "long"; then
2105 # Omit some internal or obsolete options to make the list less imposing.
2106 # This message is too long to be a string in the A/UX 3.1 sh.
2107 cat <<_ACEOF
2108 \`configure' configures Wine 1.8 to adapt to many kinds of systems.
2110 Usage: $0 [OPTION]... [VAR=VALUE]...
2112 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2113 VAR=VALUE. See below for descriptions of some of the useful variables.
2115 Defaults for the options are specified in brackets.
2117 Configuration:
2118 -h, --help display this help and exit
2119 --help=short display options specific to this package
2120 --help=recursive display the short help of all the included packages
2121 -V, --version display version information and exit
2122 -q, --quiet, --silent do not print \`checking ...' messages
2123 --cache-file=FILE cache test results in FILE [disabled]
2124 -C, --config-cache alias for \`--cache-file=config.cache'
2125 -n, --no-create do not create output files
2126 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2128 Installation directories:
2129 --prefix=PREFIX install architecture-independent files in PREFIX
2130 [$ac_default_prefix]
2131 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2132 [PREFIX]
2134 By default, \`make install' will install all the files in
2135 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2136 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2137 for instance \`--prefix=\$HOME'.
2139 For better control, use the options below.
2141 Fine tuning of the installation directories:
2142 --bindir=DIR user executables [EPREFIX/bin]
2143 --sbindir=DIR system admin executables [EPREFIX/sbin]
2144 --libexecdir=DIR program executables [EPREFIX/libexec]
2145 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2146 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2147 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2148 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2149 --libdir=DIR object code libraries [EPREFIX/lib]
2150 --includedir=DIR C header files [PREFIX/include]
2151 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2152 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2153 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2154 --infodir=DIR info documentation [DATAROOTDIR/info]
2155 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2156 --mandir=DIR man documentation [DATAROOTDIR/man]
2157 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2158 --htmldir=DIR html documentation [DOCDIR]
2159 --dvidir=DIR dvi documentation [DOCDIR]
2160 --pdfdir=DIR pdf documentation [DOCDIR]
2161 --psdir=DIR ps documentation [DOCDIR]
2162 _ACEOF
2164 cat <<\_ACEOF
2166 X features:
2167 --x-includes=DIR X include files are in DIR
2168 --x-libraries=DIR X library files are in DIR
2170 System types:
2171 --build=BUILD configure for building on BUILD [guessed]
2172 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2173 _ACEOF
2176 if test -n "$ac_init_help"; then
2177 case $ac_init_help in
2178 short | recursive ) echo "Configuration of Wine 1.8:";;
2179 esac
2180 cat <<\_ACEOF
2182 Optional Features:
2183 --disable-option-checking ignore unrecognized --enable/--with options
2184 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2185 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2186 --disable-win16 do not include Win16 support
2187 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2188 binaries)
2189 --disable-tests do not build the regression tests
2190 --enable-maintainer-mode
2191 enable maintainer-specific build rules
2192 --disable-largefile omit support for large files
2194 Optional Packages:
2195 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2196 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2197 --without-alsa do not use the Alsa sound support
2198 --without-capi do not use CAPI (ISDN support)
2199 --without-cms do not use CMS (color management support)
2200 --without-coreaudio do not use the CoreAudio sound support
2201 --without-cups do not use CUPS
2202 --without-curses do not use (n)curses
2203 --without-dbus do not use DBus (dynamic device support)
2204 --without-fontconfig do not use fontconfig
2205 --without-freetype do not use the FreeType library
2206 --without-gettext do not use gettext
2207 --with-gettextpo use the GetTextPO library to rebuild po files
2208 --without-gphoto do not use gphoto (Digital Camera support)
2209 --without-glu do not use the GLU library
2210 --without-gnutls do not use GnuTLS (schannel support)
2211 --without-gsm do not use libgsm (GSM 06.10 codec support)
2212 --without-gstreamer do not use GStreamer (codecs support)
2213 --without-hal do not use HAL (dynamic device support)
2214 --without-jpeg do not use JPEG
2215 --without-ldap do not use LDAP
2216 --without-mpg123 do not use the mpg123 library
2217 --without-netapi do not use the Samba NetAPI library
2218 --without-openal do not use OpenAL
2219 --without-opencl do not use OpenCL
2220 --without-opengl do not use OpenGL
2221 --without-osmesa do not use the OSMesa library
2222 --without-oss do not use the OSS sound support
2223 --without-pcap do not use the Packet Capture library
2224 --without-png do not use PNG
2225 --without-pthread do not use the pthread library
2226 --without-pulse do not use PulseAudio sound support
2227 --without-sane do not use SANE (scanner support)
2228 --without-tiff do not use TIFF
2229 --without-v4l do not use v4l1 (v4l support)
2230 --without-xcomposite do not use the Xcomposite extension
2231 --without-xcursor do not use the Xcursor extension
2232 --without-xinerama do not use Xinerama (multi-monitor support)
2233 --without-xinput do not use the Xinput extension
2234 --without-xinput2 do not use the Xinput 2 extension
2235 --without-xml do not use XML
2236 --without-xrandr do not use Xrandr (resolution changes)
2237 --without-xrender do not use the Xrender extension
2238 --without-xshape do not use the Xshape extension
2239 --without-xshm do not use XShm (shared memory extension)
2240 --without-xslt do not use XSLT
2241 --without-xxf86vm do not use XFree video mode extension
2242 --without-zlib do not use Zlib (data compression)
2243 --with-wine-tools=DIR use Wine tools from directory DIR
2244 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2245 --with-x use the X Window System
2247 Some influential environment variables:
2248 CC C compiler command
2249 CFLAGS C compiler flags
2250 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2251 nonstandard directory <lib dir>
2252 LIBS libraries to pass to the linker, e.g. -l<library>
2253 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2254 you have headers in a nonstandard directory <include dir>
2255 CXX C++ compiler command
2256 CXXFLAGS C++ compiler flags
2257 CPP C preprocessor
2258 XMKMF Path to xmkmf, Makefile generator for X Window System
2259 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2260 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2261 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2262 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2263 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2264 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2265 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2266 HAL_LIBS Linker flags for hal, overriding pkg-config
2267 GNUTLS_CFLAGS
2268 C compiler flags for gnutls, overriding pkg-config
2269 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2270 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2271 SANE_LIBS Linker flags for libsane, overriding pkg-config
2272 GPHOTO2_CFLAGS
2273 C compiler flags for libgphoto2, overriding pkg-config
2274 GPHOTO2_LIBS
2275 Linker flags for libgphoto2, overriding pkg-config
2276 GPHOTO2_PORT_CFLAGS
2277 C compiler flags for libgphoto2_port, overriding pkg-config
2278 GPHOTO2_PORT_LIBS
2279 Linker flags for libgphoto2_port, overriding pkg-config
2280 LCMS2_CFLAGS
2281 C compiler flags for lcms2, overriding pkg-config
2282 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2283 FREETYPE_CFLAGS
2284 C compiler flags for freetype2, overriding pkg-config
2285 FREETYPE_LIBS
2286 Linker flags for freetype2, overriding pkg-config
2287 PULSE_CFLAGS
2288 C compiler flags for libpulse, overriding pkg-config
2289 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2290 GSTREAMER_CFLAGS
2291 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2292 GSTREAMER_LIBS
2293 Linker flags for gstreamer-app-0.10, overriding pkg-config
2294 CAPI20_CFLAGS
2295 C compiler flags for capi20, overriding pkg-config
2296 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2297 FONTCONFIG_CFLAGS
2298 C compiler flags for fontconfig, overriding pkg-config
2299 FONTCONFIG_LIBS
2300 Linker flags for fontconfig, overriding pkg-config
2301 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2302 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2303 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2304 PNG_LIBS Linker flags for libpng, overriding pkg-config
2305 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2306 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2307 MPG123_CFLAGS
2308 C compiler flags for libmpg123, overriding pkg-config
2309 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2311 Use these variables to override the choices made by `configure' or to help
2312 it to find libraries and programs with nonstandard names/locations.
2314 Report bugs to <wine-devel@winehq.org>.
2315 Wine home page: <http://www.winehq.org>.
2316 _ACEOF
2317 ac_status=$?
2320 if test "$ac_init_help" = "recursive"; then
2321 # If there are subdirs, report their specific --help.
2322 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2323 test -d "$ac_dir" ||
2324 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2325 continue
2326 ac_builddir=.
2328 case "$ac_dir" in
2329 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2331 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2332 # A ".." for each directory in $ac_dir_suffix.
2333 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2334 case $ac_top_builddir_sub in
2335 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2336 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2337 esac ;;
2338 esac
2339 ac_abs_top_builddir=$ac_pwd
2340 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2341 # for backward compatibility:
2342 ac_top_builddir=$ac_top_build_prefix
2344 case $srcdir in
2345 .) # We are building in place.
2346 ac_srcdir=.
2347 ac_top_srcdir=$ac_top_builddir_sub
2348 ac_abs_top_srcdir=$ac_pwd ;;
2349 [\\/]* | ?:[\\/]* ) # Absolute name.
2350 ac_srcdir=$srcdir$ac_dir_suffix;
2351 ac_top_srcdir=$srcdir
2352 ac_abs_top_srcdir=$srcdir ;;
2353 *) # Relative name.
2354 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2355 ac_top_srcdir=$ac_top_build_prefix$srcdir
2356 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2357 esac
2358 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2360 cd "$ac_dir" || { ac_status=$?; continue; }
2361 # Check for guested configure.
2362 if test -f "$ac_srcdir/configure.gnu"; then
2363 echo &&
2364 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2365 elif test -f "$ac_srcdir/configure"; then
2366 echo &&
2367 $SHELL "$ac_srcdir/configure" --help=recursive
2368 else
2369 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2370 fi || ac_status=$?
2371 cd "$ac_pwd" || { ac_status=$?; break; }
2372 done
2375 test -n "$ac_init_help" && exit $ac_status
2376 if $ac_init_version; then
2377 cat <<\_ACEOF
2378 Wine configure 1.8
2379 generated by GNU Autoconf 2.69
2381 Copyright (C) 2012 Free Software Foundation, Inc.
2382 This configure script is free software; the Free Software Foundation
2383 gives unlimited permission to copy, distribute and modify it.
2384 _ACEOF
2385 exit
2388 ## ------------------------ ##
2389 ## Autoconf initialization. ##
2390 ## ------------------------ ##
2392 # ac_fn_c_try_compile LINENO
2393 # --------------------------
2394 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2395 ac_fn_c_try_compile ()
2397 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2398 rm -f conftest.$ac_objext
2399 if { { ac_try="$ac_compile"
2400 case "(($ac_try" in
2401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2402 *) ac_try_echo=$ac_try;;
2403 esac
2404 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2405 $as_echo "$ac_try_echo"; } >&5
2406 (eval "$ac_compile") 2>conftest.err
2407 ac_status=$?
2408 if test -s conftest.err; then
2409 grep -v '^ *+' conftest.err >conftest.er1
2410 cat conftest.er1 >&5
2411 mv -f conftest.er1 conftest.err
2413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2414 test $ac_status = 0; } && {
2415 test -z "$ac_c_werror_flag" ||
2416 test ! -s conftest.err
2417 } && test -s conftest.$ac_objext; then :
2418 ac_retval=0
2419 else
2420 $as_echo "$as_me: failed program was:" >&5
2421 sed 's/^/| /' conftest.$ac_ext >&5
2423 ac_retval=1
2425 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2426 as_fn_set_status $ac_retval
2428 } # ac_fn_c_try_compile
2430 # ac_fn_cxx_try_compile LINENO
2431 # ----------------------------
2432 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2433 ac_fn_cxx_try_compile ()
2435 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2436 rm -f conftest.$ac_objext
2437 if { { ac_try="$ac_compile"
2438 case "(($ac_try" in
2439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2440 *) ac_try_echo=$ac_try;;
2441 esac
2442 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2443 $as_echo "$ac_try_echo"; } >&5
2444 (eval "$ac_compile") 2>conftest.err
2445 ac_status=$?
2446 if test -s conftest.err; then
2447 grep -v '^ *+' conftest.err >conftest.er1
2448 cat conftest.er1 >&5
2449 mv -f conftest.er1 conftest.err
2451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2452 test $ac_status = 0; } && {
2453 test -z "$ac_cxx_werror_flag" ||
2454 test ! -s conftest.err
2455 } && test -s conftest.$ac_objext; then :
2456 ac_retval=0
2457 else
2458 $as_echo "$as_me: failed program was:" >&5
2459 sed 's/^/| /' conftest.$ac_ext >&5
2461 ac_retval=1
2463 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2464 as_fn_set_status $ac_retval
2466 } # ac_fn_cxx_try_compile
2468 # ac_fn_c_try_link LINENO
2469 # -----------------------
2470 # Try to link conftest.$ac_ext, and return whether this succeeded.
2471 ac_fn_c_try_link ()
2473 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2474 rm -f conftest.$ac_objext conftest$ac_exeext
2475 if { { ac_try="$ac_link"
2476 case "(($ac_try" in
2477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2478 *) ac_try_echo=$ac_try;;
2479 esac
2480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2481 $as_echo "$ac_try_echo"; } >&5
2482 (eval "$ac_link") 2>conftest.err
2483 ac_status=$?
2484 if test -s conftest.err; then
2485 grep -v '^ *+' conftest.err >conftest.er1
2486 cat conftest.er1 >&5
2487 mv -f conftest.er1 conftest.err
2489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2490 test $ac_status = 0; } && {
2491 test -z "$ac_c_werror_flag" ||
2492 test ! -s conftest.err
2493 } && test -s conftest$ac_exeext && {
2494 test "$cross_compiling" = yes ||
2495 test -x conftest$ac_exeext
2496 }; then :
2497 ac_retval=0
2498 else
2499 $as_echo "$as_me: failed program was:" >&5
2500 sed 's/^/| /' conftest.$ac_ext >&5
2502 ac_retval=1
2504 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2505 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2506 # interfere with the next link command; also delete a directory that is
2507 # left behind by Apple's compiler. We do this before executing the actions.
2508 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2509 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2510 as_fn_set_status $ac_retval
2512 } # ac_fn_c_try_link
2514 # ac_fn_c_try_cpp LINENO
2515 # ----------------------
2516 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2517 ac_fn_c_try_cpp ()
2519 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2520 if { { ac_try="$ac_cpp conftest.$ac_ext"
2521 case "(($ac_try" in
2522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2523 *) ac_try_echo=$ac_try;;
2524 esac
2525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2526 $as_echo "$ac_try_echo"; } >&5
2527 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2528 ac_status=$?
2529 if test -s conftest.err; then
2530 grep -v '^ *+' conftest.err >conftest.er1
2531 cat conftest.er1 >&5
2532 mv -f conftest.er1 conftest.err
2534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2535 test $ac_status = 0; } > conftest.i && {
2536 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2537 test ! -s conftest.err
2538 }; then :
2539 ac_retval=0
2540 else
2541 $as_echo "$as_me: failed program was:" >&5
2542 sed 's/^/| /' conftest.$ac_ext >&5
2544 ac_retval=1
2546 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2547 as_fn_set_status $ac_retval
2549 } # ac_fn_c_try_cpp
2551 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2552 # -------------------------------------------------------
2553 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2554 # the include files in INCLUDES and setting the cache variable VAR
2555 # accordingly.
2556 ac_fn_c_check_header_mongrel ()
2558 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2559 if eval \${$3+:} false; then :
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2561 $as_echo_n "checking for $2... " >&6; }
2562 if eval \${$3+:} false; then :
2563 $as_echo_n "(cached) " >&6
2565 eval ac_res=\$$3
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2567 $as_echo "$ac_res" >&6; }
2568 else
2569 # Is the header compilable?
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2571 $as_echo_n "checking $2 usability... " >&6; }
2572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2573 /* end confdefs.h. */
2575 #include <$2>
2576 _ACEOF
2577 if ac_fn_c_try_compile "$LINENO"; then :
2578 ac_header_compiler=yes
2579 else
2580 ac_header_compiler=no
2582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2584 $as_echo "$ac_header_compiler" >&6; }
2586 # Is the header present?
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2588 $as_echo_n "checking $2 presence... " >&6; }
2589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2590 /* end confdefs.h. */
2591 #include <$2>
2592 _ACEOF
2593 if ac_fn_c_try_cpp "$LINENO"; then :
2594 ac_header_preproc=yes
2595 else
2596 ac_header_preproc=no
2598 rm -f conftest.err conftest.i conftest.$ac_ext
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2600 $as_echo "$ac_header_preproc" >&6; }
2602 # So? What about this header?
2603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2604 yes:no: )
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2606 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2608 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2610 no:yes:* )
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2612 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2614 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2616 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2618 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2620 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2621 ( $as_echo "## ------------------------------------ ##
2622 ## Report this to wine-devel@winehq.org ##
2623 ## ------------------------------------ ##"
2624 ) | sed "s/^/$as_me: WARNING: /" >&2
2626 esac
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2628 $as_echo_n "checking for $2... " >&6; }
2629 if eval \${$3+:} false; then :
2630 $as_echo_n "(cached) " >&6
2631 else
2632 eval "$3=\$ac_header_compiler"
2634 eval ac_res=\$$3
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2636 $as_echo "$ac_res" >&6; }
2638 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2640 } # ac_fn_c_check_header_mongrel
2642 # ac_fn_c_try_run LINENO
2643 # ----------------------
2644 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2645 # that executables *can* be run.
2646 ac_fn_c_try_run ()
2648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2649 if { { ac_try="$ac_link"
2650 case "(($ac_try" in
2651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2652 *) ac_try_echo=$ac_try;;
2653 esac
2654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2655 $as_echo "$ac_try_echo"; } >&5
2656 (eval "$ac_link") 2>&5
2657 ac_status=$?
2658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2659 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2660 { { case "(($ac_try" in
2661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2662 *) ac_try_echo=$ac_try;;
2663 esac
2664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2665 $as_echo "$ac_try_echo"; } >&5
2666 (eval "$ac_try") 2>&5
2667 ac_status=$?
2668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2669 test $ac_status = 0; }; }; then :
2670 ac_retval=0
2671 else
2672 $as_echo "$as_me: program exited with status $ac_status" >&5
2673 $as_echo "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.$ac_ext >&5
2676 ac_retval=$ac_status
2678 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2680 as_fn_set_status $ac_retval
2682 } # ac_fn_c_try_run
2684 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2685 # -------------------------------------------------------
2686 # Tests whether HEADER exists and can be compiled using the include files in
2687 # INCLUDES, setting the cache variable VAR accordingly.
2688 ac_fn_c_check_header_compile ()
2690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2692 $as_echo_n "checking for $2... " >&6; }
2693 if eval \${$3+:} false; then :
2694 $as_echo_n "(cached) " >&6
2695 else
2696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2697 /* end confdefs.h. */
2699 #include <$2>
2700 _ACEOF
2701 if ac_fn_c_try_compile "$LINENO"; then :
2702 eval "$3=yes"
2703 else
2704 eval "$3=no"
2706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2708 eval ac_res=\$$3
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2710 $as_echo "$ac_res" >&6; }
2711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2713 } # ac_fn_c_check_header_compile
2715 # ac_fn_c_check_func LINENO FUNC VAR
2716 # ----------------------------------
2717 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2718 ac_fn_c_check_func ()
2720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2722 $as_echo_n "checking for $2... " >&6; }
2723 if eval \${$3+:} false; then :
2724 $as_echo_n "(cached) " >&6
2725 else
2726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2727 /* end confdefs.h. */
2728 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2730 #define $2 innocuous_$2
2732 /* System header to define __stub macros and hopefully few prototypes,
2733 which can conflict with char $2 (); below.
2734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2735 <limits.h> exists even on freestanding compilers. */
2737 #ifdef __STDC__
2738 # include <limits.h>
2739 #else
2740 # include <assert.h>
2741 #endif
2743 #undef $2
2745 /* Override any GCC internal prototype to avoid an error.
2746 Use char because int might match the return type of a GCC
2747 builtin and then its argument prototype would still apply. */
2748 #ifdef __cplusplus
2749 extern "C"
2750 #endif
2751 char $2 ();
2752 /* The GNU C library defines this for functions which it implements
2753 to always fail with ENOSYS. Some functions are actually named
2754 something starting with __ and the normal name is an alias. */
2755 #if defined __stub_$2 || defined __stub___$2
2756 choke me
2757 #endif
2760 main ()
2762 return $2 ();
2764 return 0;
2766 _ACEOF
2767 if ac_fn_c_try_link "$LINENO"; then :
2768 eval "$3=yes"
2769 else
2770 eval "$3=no"
2772 rm -f core conftest.err conftest.$ac_objext \
2773 conftest$ac_exeext conftest.$ac_ext
2775 eval ac_res=\$$3
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2777 $as_echo "$ac_res" >&6; }
2778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2780 } # ac_fn_c_check_func
2782 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2783 # ----------------------------------------------------
2784 # Tries to find if the field MEMBER exists in type AGGR, after including
2785 # INCLUDES, setting cache variable VAR accordingly.
2786 ac_fn_c_check_member ()
2788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2790 $as_echo_n "checking for $2.$3... " >&6; }
2791 if eval \${$4+:} false; then :
2792 $as_echo_n "(cached) " >&6
2793 else
2794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2795 /* end confdefs.h. */
2798 main ()
2800 static $2 ac_aggr;
2801 if (ac_aggr.$3)
2802 return 0;
2804 return 0;
2806 _ACEOF
2807 if ac_fn_c_try_compile "$LINENO"; then :
2808 eval "$4=yes"
2809 else
2810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2811 /* end confdefs.h. */
2814 main ()
2816 static $2 ac_aggr;
2817 if (sizeof ac_aggr.$3)
2818 return 0;
2820 return 0;
2822 _ACEOF
2823 if ac_fn_c_try_compile "$LINENO"; then :
2824 eval "$4=yes"
2825 else
2826 eval "$4=no"
2828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2832 eval ac_res=\$$4
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2834 $as_echo "$ac_res" >&6; }
2835 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2837 } # ac_fn_c_check_member
2839 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2840 # -------------------------------------------
2841 # Tests whether TYPE exists after having included INCLUDES, setting cache
2842 # variable VAR accordingly.
2843 ac_fn_c_check_type ()
2845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2847 $as_echo_n "checking for $2... " >&6; }
2848 if eval \${$3+:} false; then :
2849 $as_echo_n "(cached) " >&6
2850 else
2851 eval "$3=no"
2852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2853 /* end confdefs.h. */
2856 main ()
2858 if (sizeof ($2))
2859 return 0;
2861 return 0;
2863 _ACEOF
2864 if ac_fn_c_try_compile "$LINENO"; then :
2865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2866 /* end confdefs.h. */
2869 main ()
2871 if (sizeof (($2)))
2872 return 0;
2874 return 0;
2876 _ACEOF
2877 if ac_fn_c_try_compile "$LINENO"; then :
2879 else
2880 eval "$3=yes"
2882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2886 eval ac_res=\$$3
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2888 $as_echo "$ac_res" >&6; }
2889 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2891 } # ac_fn_c_check_type
2892 cat >config.log <<_ACEOF
2893 This file contains any messages produced by compilers while
2894 running configure, to aid debugging if configure makes a mistake.
2896 It was created by Wine $as_me 1.8, which was
2897 generated by GNU Autoconf 2.69. Invocation command line was
2899 $ $0 $@
2901 _ACEOF
2902 exec 5>>config.log
2904 cat <<_ASUNAME
2905 ## --------- ##
2906 ## Platform. ##
2907 ## --------- ##
2909 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2910 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2911 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2912 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2913 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2915 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2916 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2918 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2919 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2920 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2921 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2922 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2923 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2924 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2926 _ASUNAME
2928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2929 for as_dir in $PATH
2931 IFS=$as_save_IFS
2932 test -z "$as_dir" && as_dir=.
2933 $as_echo "PATH: $as_dir"
2934 done
2935 IFS=$as_save_IFS
2937 } >&5
2939 cat >&5 <<_ACEOF
2942 ## ----------- ##
2943 ## Core tests. ##
2944 ## ----------- ##
2946 _ACEOF
2949 # Keep a trace of the command line.
2950 # Strip out --no-create and --no-recursion so they do not pile up.
2951 # Strip out --silent because we don't want to record it for future runs.
2952 # Also quote any args containing shell meta-characters.
2953 # Make two passes to allow for proper duplicate-argument suppression.
2954 ac_configure_args=
2955 ac_configure_args0=
2956 ac_configure_args1=
2957 ac_must_keep_next=false
2958 for ac_pass in 1 2
2960 for ac_arg
2962 case $ac_arg in
2963 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2964 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2965 | -silent | --silent | --silen | --sile | --sil)
2966 continue ;;
2967 *\'*)
2968 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2969 esac
2970 case $ac_pass in
2971 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2973 as_fn_append ac_configure_args1 " '$ac_arg'"
2974 if test $ac_must_keep_next = true; then
2975 ac_must_keep_next=false # Got value, back to normal.
2976 else
2977 case $ac_arg in
2978 *=* | --config-cache | -C | -disable-* | --disable-* \
2979 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2980 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2981 | -with-* | --with-* | -without-* | --without-* | --x)
2982 case "$ac_configure_args0 " in
2983 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2984 esac
2986 -* ) ac_must_keep_next=true ;;
2987 esac
2989 as_fn_append ac_configure_args " '$ac_arg'"
2991 esac
2992 done
2993 done
2994 { ac_configure_args0=; unset ac_configure_args0;}
2995 { ac_configure_args1=; unset ac_configure_args1;}
2997 # When interrupted or exit'd, cleanup temporary files, and complete
2998 # config.log. We remove comments because anyway the quotes in there
2999 # would cause problems or look ugly.
3000 # WARNING: Use '\'' to represent an apostrophe within the trap.
3001 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3002 trap 'exit_status=$?
3003 # Save into config.log some information that might help in debugging.
3005 echo
3007 $as_echo "## ---------------- ##
3008 ## Cache variables. ##
3009 ## ---------------- ##"
3010 echo
3011 # The following way of writing the cache mishandles newlines in values,
3013 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3014 eval ac_val=\$$ac_var
3015 case $ac_val in #(
3016 *${as_nl}*)
3017 case $ac_var in #(
3018 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3019 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3020 esac
3021 case $ac_var in #(
3022 _ | IFS | as_nl) ;; #(
3023 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3024 *) { eval $ac_var=; unset $ac_var;} ;;
3025 esac ;;
3026 esac
3027 done
3028 (set) 2>&1 |
3029 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3030 *${as_nl}ac_space=\ *)
3031 sed -n \
3032 "s/'\''/'\''\\\\'\'''\''/g;
3033 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3034 ;; #(
3036 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3038 esac |
3039 sort
3041 echo
3043 $as_echo "## ----------------- ##
3044 ## Output variables. ##
3045 ## ----------------- ##"
3046 echo
3047 for ac_var in $ac_subst_vars
3049 eval ac_val=\$$ac_var
3050 case $ac_val in
3051 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3052 esac
3053 $as_echo "$ac_var='\''$ac_val'\''"
3054 done | sort
3055 echo
3057 if test -n "$ac_subst_files"; then
3058 $as_echo "## ------------------- ##
3059 ## File substitutions. ##
3060 ## ------------------- ##"
3061 echo
3062 for ac_var in $ac_subst_files
3064 eval ac_val=\$$ac_var
3065 case $ac_val in
3066 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3067 esac
3068 $as_echo "$ac_var='\''$ac_val'\''"
3069 done | sort
3070 echo
3073 if test -s confdefs.h; then
3074 $as_echo "## ----------- ##
3075 ## confdefs.h. ##
3076 ## ----------- ##"
3077 echo
3078 cat confdefs.h
3079 echo
3081 test "$ac_signal" != 0 &&
3082 $as_echo "$as_me: caught signal $ac_signal"
3083 $as_echo "$as_me: exit $exit_status"
3084 } >&5
3085 rm -f core *.core core.conftest.* &&
3086 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3087 exit $exit_status
3089 for ac_signal in 1 2 13 15; do
3090 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3091 done
3092 ac_signal=0
3094 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3095 rm -f -r conftest* confdefs.h
3097 $as_echo "/* confdefs.h */" > confdefs.h
3099 # Predefined preprocessor variables.
3101 cat >>confdefs.h <<_ACEOF
3102 #define PACKAGE_NAME "$PACKAGE_NAME"
3103 _ACEOF
3105 cat >>confdefs.h <<_ACEOF
3106 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3107 _ACEOF
3109 cat >>confdefs.h <<_ACEOF
3110 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3111 _ACEOF
3113 cat >>confdefs.h <<_ACEOF
3114 #define PACKAGE_STRING "$PACKAGE_STRING"
3115 _ACEOF
3117 cat >>confdefs.h <<_ACEOF
3118 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3119 _ACEOF
3121 cat >>confdefs.h <<_ACEOF
3122 #define PACKAGE_URL "$PACKAGE_URL"
3123 _ACEOF
3126 # Let the site file select an alternate cache file if it wants to.
3127 # Prefer an explicitly selected file to automatically selected ones.
3128 ac_site_file1=NONE
3129 ac_site_file2=NONE
3130 if test -n "$CONFIG_SITE"; then
3131 # We do not want a PATH search for config.site.
3132 case $CONFIG_SITE in #((
3133 -*) ac_site_file1=./$CONFIG_SITE;;
3134 */*) ac_site_file1=$CONFIG_SITE;;
3135 *) ac_site_file1=./$CONFIG_SITE;;
3136 esac
3137 elif test "x$prefix" != xNONE; then
3138 ac_site_file1=$prefix/share/config.site
3139 ac_site_file2=$prefix/etc/config.site
3140 else
3141 ac_site_file1=$ac_default_prefix/share/config.site
3142 ac_site_file2=$ac_default_prefix/etc/config.site
3144 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3146 test "x$ac_site_file" = xNONE && continue
3147 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3149 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3150 sed 's/^/| /' "$ac_site_file" >&5
3151 . "$ac_site_file" \
3152 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3153 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3154 as_fn_error $? "failed to load site script $ac_site_file
3155 See \`config.log' for more details" "$LINENO" 5; }
3157 done
3159 if test -r "$cache_file"; then
3160 # Some versions of bash will fail to source /dev/null (special files
3161 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3162 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3164 $as_echo "$as_me: loading cache $cache_file" >&6;}
3165 case $cache_file in
3166 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3167 *) . "./$cache_file";;
3168 esac
3170 else
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3172 $as_echo "$as_me: creating cache $cache_file" >&6;}
3173 >$cache_file
3176 # Check that the precious variables saved in the cache have kept the same
3177 # value.
3178 ac_cache_corrupted=false
3179 for ac_var in $ac_precious_vars; do
3180 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3181 eval ac_new_set=\$ac_env_${ac_var}_set
3182 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3183 eval ac_new_val=\$ac_env_${ac_var}_value
3184 case $ac_old_set,$ac_new_set in
3185 set,)
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3187 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3188 ac_cache_corrupted=: ;;
3189 ,set)
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3191 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3192 ac_cache_corrupted=: ;;
3193 ,);;
3195 if test "x$ac_old_val" != "x$ac_new_val"; then
3196 # differences in whitespace do not lead to failure.
3197 ac_old_val_w=`echo x $ac_old_val`
3198 ac_new_val_w=`echo x $ac_new_val`
3199 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3201 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3202 ac_cache_corrupted=:
3203 else
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3205 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3206 eval $ac_var=\$ac_old_val
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3209 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3211 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3212 fi;;
3213 esac
3214 # Pass precious variables to config.status.
3215 if test "$ac_new_set" = set; then
3216 case $ac_new_val in
3217 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3218 *) ac_arg=$ac_var=$ac_new_val ;;
3219 esac
3220 case " $ac_configure_args " in
3221 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3222 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3223 esac
3225 done
3226 if $ac_cache_corrupted; then
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3228 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3230 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3231 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3233 ## -------------------- ##
3234 ## Main body of script. ##
3235 ## -------------------- ##
3237 ac_ext=c
3238 ac_cpp='$CPP $CPPFLAGS'
3239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3245 ac_config_headers="$ac_config_headers include/config.h"
3247 ac_aux_dir=
3248 for ac_dir in tools "$srcdir"/tools; do
3249 if test -f "$ac_dir/install-sh"; then
3250 ac_aux_dir=$ac_dir
3251 ac_install_sh="$ac_aux_dir/install-sh -c"
3252 break
3253 elif test -f "$ac_dir/install.sh"; then
3254 ac_aux_dir=$ac_dir
3255 ac_install_sh="$ac_aux_dir/install.sh -c"
3256 break
3257 elif test -f "$ac_dir/shtool"; then
3258 ac_aux_dir=$ac_dir
3259 ac_install_sh="$ac_aux_dir/shtool install -c"
3260 break
3262 done
3263 if test -z "$ac_aux_dir"; then
3264 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3267 # These three variables are undocumented and unsupported,
3268 # and are intended to be withdrawn in a future Autoconf release.
3269 # They can cause serious problems if a builder's source tree is in a directory
3270 # whose full name contains unusual characters.
3271 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3272 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3273 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3277 libwine_version="1.0"
3281 # Check whether --enable-win16 was given.
3282 if test "${enable_win16+set}" = set; then :
3283 enableval=$enable_win16;
3286 # Check whether --enable-win64 was given.
3287 if test "${enable_win64+set}" = set; then :
3288 enableval=$enable_win64;
3291 # Check whether --enable-tests was given.
3292 if test "${enable_tests+set}" = set; then :
3293 enableval=$enable_tests;
3296 # Check whether --enable-maintainer-mode was given.
3297 if test "${enable_maintainer_mode+set}" = set; then :
3298 enableval=$enable_maintainer_mode;
3303 # Check whether --with-alsa was given.
3304 if test "${with_alsa+set}" = set; then :
3305 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3309 # Check whether --with-capi was given.
3310 if test "${with_capi+set}" = set; then :
3311 withval=$with_capi;
3315 # Check whether --with-cms was given.
3316 if test "${with_cms+set}" = set; then :
3317 withval=$with_cms;
3321 # Check whether --with-coreaudio was given.
3322 if test "${with_coreaudio+set}" = set; then :
3323 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3327 # Check whether --with-cups was given.
3328 if test "${with_cups+set}" = set; then :
3329 withval=$with_cups;
3333 # Check whether --with-curses was given.
3334 if test "${with_curses+set}" = set; then :
3335 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3339 # Check whether --with-dbus was given.
3340 if test "${with_dbus+set}" = set; then :
3341 withval=$with_dbus;
3345 # Check whether --with-fontconfig was given.
3346 if test "${with_fontconfig+set}" = set; then :
3347 withval=$with_fontconfig;
3351 # Check whether --with-freetype was given.
3352 if test "${with_freetype+set}" = set; then :
3353 withval=$with_freetype;
3357 # Check whether --with-gettext was given.
3358 if test "${with_gettext+set}" = set; then :
3359 withval=$with_gettext;
3363 # Check whether --with-gettextpo was given.
3364 if test "${with_gettextpo+set}" = set; then :
3365 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3369 # Check whether --with-gphoto was given.
3370 if test "${with_gphoto+set}" = set; then :
3371 withval=$with_gphoto;
3375 # Check whether --with-glu was given.
3376 if test "${with_glu+set}" = set; then :
3377 withval=$with_glu;
3381 # Check whether --with-gnutls was given.
3382 if test "${with_gnutls+set}" = set; then :
3383 withval=$with_gnutls;
3387 # Check whether --with-gsm was given.
3388 if test "${with_gsm+set}" = set; then :
3389 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3393 # Check whether --with-gstreamer was given.
3394 if test "${with_gstreamer+set}" = set; then :
3395 withval=$with_gstreamer;
3399 # Check whether --with-hal was given.
3400 if test "${with_hal+set}" = set; then :
3401 withval=$with_hal;
3405 # Check whether --with-jpeg was given.
3406 if test "${with_jpeg+set}" = set; then :
3407 withval=$with_jpeg;
3411 # Check whether --with-ldap was given.
3412 if test "${with_ldap+set}" = set; then :
3413 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3417 # Check whether --with-mpg123 was given.
3418 if test "${with_mpg123+set}" = set; then :
3419 withval=$with_mpg123;
3423 # Check whether --with-netapi was given.
3424 if test "${with_netapi+set}" = set; then :
3425 withval=$with_netapi;
3429 # Check whether --with-openal was given.
3430 if test "${with_openal+set}" = set; then :
3431 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3435 # Check whether --with-opencl was given.
3436 if test "${with_opencl+set}" = set; then :
3437 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3441 # Check whether --with-opengl was given.
3442 if test "${with_opengl+set}" = set; then :
3443 withval=$with_opengl;
3447 # Check whether --with-osmesa was given.
3448 if test "${with_osmesa+set}" = set; then :
3449 withval=$with_osmesa;
3453 # Check whether --with-oss was given.
3454 if test "${with_oss+set}" = set; then :
3455 withval=$with_oss;
3459 # Check whether --with-pcap was given.
3460 if test "${with_pcap+set}" = set; then :
3461 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3465 # Check whether --with-png was given.
3466 if test "${with_png+set}" = set; then :
3467 withval=$with_png;
3471 # Check whether --with-pthread was given.
3472 if test "${with_pthread+set}" = set; then :
3473 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3477 # Check whether --with-pulse was given.
3478 if test "${with_pulse+set}" = set; then :
3479 withval=$with_pulse;
3483 # Check whether --with-sane was given.
3484 if test "${with_sane+set}" = set; then :
3485 withval=$with_sane;
3489 # Check whether --with-tiff was given.
3490 if test "${with_tiff+set}" = set; then :
3491 withval=$with_tiff;
3495 # Check whether --with-v4l was given.
3496 if test "${with_v4l+set}" = set; then :
3497 withval=$with_v4l;
3501 # Check whether --with-xcomposite was given.
3502 if test "${with_xcomposite+set}" = set; then :
3503 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3507 # Check whether --with-xcursor was given.
3508 if test "${with_xcursor+set}" = set; then :
3509 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3513 # Check whether --with-xinerama was given.
3514 if test "${with_xinerama+set}" = set; then :
3515 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3519 # Check whether --with-xinput was given.
3520 if test "${with_xinput+set}" = set; then :
3521 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3525 # Check whether --with-xinput2 was given.
3526 if test "${with_xinput2+set}" = set; then :
3527 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3531 # Check whether --with-xml was given.
3532 if test "${with_xml+set}" = set; then :
3533 withval=$with_xml;
3537 # Check whether --with-xrandr was given.
3538 if test "${with_xrandr+set}" = set; then :
3539 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3543 # Check whether --with-xrender was given.
3544 if test "${with_xrender+set}" = set; then :
3545 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3549 # Check whether --with-xshape was given.
3550 if test "${with_xshape+set}" = set; then :
3551 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3555 # Check whether --with-xshm was given.
3556 if test "${with_xshm+set}" = set; then :
3557 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3561 # Check whether --with-xslt was given.
3562 if test "${with_xslt+set}" = set; then :
3563 withval=$with_xslt;
3567 # Check whether --with-xxf86vm was given.
3568 if test "${with_xxf86vm+set}" = set; then :
3569 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
3573 # Check whether --with-zlib was given.
3574 if test "${with_zlib+set}" = set; then :
3575 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3580 # Check whether --with-wine-tools was given.
3581 if test "${with_wine_tools+set}" = set; then :
3582 withval=$with_wine_tools;
3586 # Check whether --with-wine64 was given.
3587 if test "${with_wine64+set}" = set; then :
3588 withval=$with_wine64;
3592 # Make sure we can run config.sub.
3593 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3594 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3597 $as_echo_n "checking build system type... " >&6; }
3598 if ${ac_cv_build+:} false; then :
3599 $as_echo_n "(cached) " >&6
3600 else
3601 ac_build_alias=$build_alias
3602 test "x$ac_build_alias" = x &&
3603 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3604 test "x$ac_build_alias" = x &&
3605 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3606 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3607 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3611 $as_echo "$ac_cv_build" >&6; }
3612 case $ac_cv_build in
3613 *-*-*) ;;
3614 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3615 esac
3616 build=$ac_cv_build
3617 ac_save_IFS=$IFS; IFS='-'
3618 set x $ac_cv_build
3619 shift
3620 build_cpu=$1
3621 build_vendor=$2
3622 shift; shift
3623 # Remember, the first character of IFS is used to create $*,
3624 # except with old shells:
3625 build_os=$*
3626 IFS=$ac_save_IFS
3627 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3631 $as_echo_n "checking host system type... " >&6; }
3632 if ${ac_cv_host+:} false; then :
3633 $as_echo_n "(cached) " >&6
3634 else
3635 if test "x$host_alias" = x; then
3636 ac_cv_host=$ac_cv_build
3637 else
3638 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3639 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3644 $as_echo "$ac_cv_host" >&6; }
3645 case $ac_cv_host in
3646 *-*-*) ;;
3647 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3648 esac
3649 host=$ac_cv_host
3650 ac_save_IFS=$IFS; IFS='-'
3651 set x $ac_cv_host
3652 shift
3653 host_cpu=$1
3654 host_vendor=$2
3655 shift; shift
3656 # Remember, the first character of IFS is used to create $*,
3657 # except with old shells:
3658 host_os=$*
3659 IFS=$ac_save_IFS
3660 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3664 case "$srcdir" in
3665 .) ;;
3666 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3667 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3668 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3669 fi ;;
3670 esac
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3674 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3675 set x ${MAKE-make}
3676 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3677 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3678 $as_echo_n "(cached) " >&6
3679 else
3680 cat >conftest.make <<\_ACEOF
3681 SHELL = /bin/sh
3682 all:
3683 @echo '@@@%%%=$(MAKE)=@@@%%%'
3684 _ACEOF
3685 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3686 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3687 *@@@%%%=?*=@@@%%%*)
3688 eval ac_cv_prog_make_${ac_make}_set=yes;;
3690 eval ac_cv_prog_make_${ac_make}_set=no;;
3691 esac
3692 rm -f conftest.make
3694 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3696 $as_echo "yes" >&6; }
3697 SET_MAKE=
3698 else
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3700 $as_echo "no" >&6; }
3701 SET_MAKE="MAKE=${MAKE-make}"
3704 ac_ext=c
3705 ac_cpp='$CPP $CPPFLAGS'
3706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3709 if test -n "$ac_tool_prefix"; then
3710 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3711 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3713 $as_echo_n "checking for $ac_word... " >&6; }
3714 if ${ac_cv_prog_CC+:} false; then :
3715 $as_echo_n "(cached) " >&6
3716 else
3717 if test -n "$CC"; then
3718 ac_cv_prog_CC="$CC" # Let the user override the test.
3719 else
3720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3721 for as_dir in $PATH
3723 IFS=$as_save_IFS
3724 test -z "$as_dir" && as_dir=.
3725 for ac_exec_ext in '' $ac_executable_extensions; do
3726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3727 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3729 break 2
3731 done
3732 done
3733 IFS=$as_save_IFS
3737 CC=$ac_cv_prog_CC
3738 if test -n "$CC"; then
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3740 $as_echo "$CC" >&6; }
3741 else
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3743 $as_echo "no" >&6; }
3748 if test -z "$ac_cv_prog_CC"; then
3749 ac_ct_CC=$CC
3750 # Extract the first word of "gcc", so it can be a program name with args.
3751 set dummy gcc; ac_word=$2
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3753 $as_echo_n "checking for $ac_word... " >&6; }
3754 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3755 $as_echo_n "(cached) " >&6
3756 else
3757 if test -n "$ac_ct_CC"; then
3758 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3759 else
3760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3761 for as_dir in $PATH
3763 IFS=$as_save_IFS
3764 test -z "$as_dir" && as_dir=.
3765 for ac_exec_ext in '' $ac_executable_extensions; do
3766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3767 ac_cv_prog_ac_ct_CC="gcc"
3768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3769 break 2
3771 done
3772 done
3773 IFS=$as_save_IFS
3777 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3778 if test -n "$ac_ct_CC"; then
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3780 $as_echo "$ac_ct_CC" >&6; }
3781 else
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3783 $as_echo "no" >&6; }
3786 if test "x$ac_ct_CC" = x; then
3787 CC=""
3788 else
3789 case $cross_compiling:$ac_tool_warned in
3790 yes:)
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3793 ac_tool_warned=yes ;;
3794 esac
3795 CC=$ac_ct_CC
3797 else
3798 CC="$ac_cv_prog_CC"
3801 if test -z "$CC"; then
3802 if test -n "$ac_tool_prefix"; then
3803 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3804 set dummy ${ac_tool_prefix}cc; ac_word=$2
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3806 $as_echo_n "checking for $ac_word... " >&6; }
3807 if ${ac_cv_prog_CC+:} false; then :
3808 $as_echo_n "(cached) " >&6
3809 else
3810 if test -n "$CC"; then
3811 ac_cv_prog_CC="$CC" # Let the user override the test.
3812 else
3813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3814 for as_dir in $PATH
3816 IFS=$as_save_IFS
3817 test -z "$as_dir" && as_dir=.
3818 for ac_exec_ext in '' $ac_executable_extensions; do
3819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3820 ac_cv_prog_CC="${ac_tool_prefix}cc"
3821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3822 break 2
3824 done
3825 done
3826 IFS=$as_save_IFS
3830 CC=$ac_cv_prog_CC
3831 if test -n "$CC"; then
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3833 $as_echo "$CC" >&6; }
3834 else
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3836 $as_echo "no" >&6; }
3842 if test -z "$CC"; then
3843 # Extract the first word of "cc", so it can be a program name with args.
3844 set dummy cc; ac_word=$2
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3846 $as_echo_n "checking for $ac_word... " >&6; }
3847 if ${ac_cv_prog_CC+:} false; then :
3848 $as_echo_n "(cached) " >&6
3849 else
3850 if test -n "$CC"; then
3851 ac_cv_prog_CC="$CC" # Let the user override the test.
3852 else
3853 ac_prog_rejected=no
3854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3855 for as_dir in $PATH
3857 IFS=$as_save_IFS
3858 test -z "$as_dir" && as_dir=.
3859 for ac_exec_ext in '' $ac_executable_extensions; do
3860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3861 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3862 ac_prog_rejected=yes
3863 continue
3865 ac_cv_prog_CC="cc"
3866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3867 break 2
3869 done
3870 done
3871 IFS=$as_save_IFS
3873 if test $ac_prog_rejected = yes; then
3874 # We found a bogon in the path, so make sure we never use it.
3875 set dummy $ac_cv_prog_CC
3876 shift
3877 if test $# != 0; then
3878 # We chose a different compiler from the bogus one.
3879 # However, it has the same basename, so the bogon will be chosen
3880 # first if we set CC to just the basename; use the full file name.
3881 shift
3882 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3887 CC=$ac_cv_prog_CC
3888 if test -n "$CC"; then
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3890 $as_echo "$CC" >&6; }
3891 else
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3893 $as_echo "no" >&6; }
3898 if test -z "$CC"; then
3899 if test -n "$ac_tool_prefix"; then
3900 for ac_prog in cl.exe
3902 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3903 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3905 $as_echo_n "checking for $ac_word... " >&6; }
3906 if ${ac_cv_prog_CC+:} false; then :
3907 $as_echo_n "(cached) " >&6
3908 else
3909 if test -n "$CC"; then
3910 ac_cv_prog_CC="$CC" # Let the user override the test.
3911 else
3912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3913 for as_dir in $PATH
3915 IFS=$as_save_IFS
3916 test -z "$as_dir" && as_dir=.
3917 for ac_exec_ext in '' $ac_executable_extensions; do
3918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3919 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3921 break 2
3923 done
3924 done
3925 IFS=$as_save_IFS
3929 CC=$ac_cv_prog_CC
3930 if test -n "$CC"; then
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3932 $as_echo "$CC" >&6; }
3933 else
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3935 $as_echo "no" >&6; }
3939 test -n "$CC" && break
3940 done
3942 if test -z "$CC"; then
3943 ac_ct_CC=$CC
3944 for ac_prog in cl.exe
3946 # Extract the first word of "$ac_prog", so it can be a program name with args.
3947 set dummy $ac_prog; ac_word=$2
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3949 $as_echo_n "checking for $ac_word... " >&6; }
3950 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3951 $as_echo_n "(cached) " >&6
3952 else
3953 if test -n "$ac_ct_CC"; then
3954 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3955 else
3956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3957 for as_dir in $PATH
3959 IFS=$as_save_IFS
3960 test -z "$as_dir" && as_dir=.
3961 for ac_exec_ext in '' $ac_executable_extensions; do
3962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3963 ac_cv_prog_ac_ct_CC="$ac_prog"
3964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3965 break 2
3967 done
3968 done
3969 IFS=$as_save_IFS
3973 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3974 if test -n "$ac_ct_CC"; then
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3976 $as_echo "$ac_ct_CC" >&6; }
3977 else
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3979 $as_echo "no" >&6; }
3983 test -n "$ac_ct_CC" && break
3984 done
3986 if test "x$ac_ct_CC" = x; then
3987 CC=""
3988 else
3989 case $cross_compiling:$ac_tool_warned in
3990 yes:)
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3993 ac_tool_warned=yes ;;
3994 esac
3995 CC=$ac_ct_CC
4002 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4003 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4004 as_fn_error $? "no acceptable C compiler found in \$PATH
4005 See \`config.log' for more details" "$LINENO" 5; }
4007 # Provide some information about the compiler.
4008 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4009 set X $ac_compile
4010 ac_compiler=$2
4011 for ac_option in --version -v -V -qversion; do
4012 { { ac_try="$ac_compiler $ac_option >&5"
4013 case "(($ac_try" in
4014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4015 *) ac_try_echo=$ac_try;;
4016 esac
4017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4018 $as_echo "$ac_try_echo"; } >&5
4019 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4020 ac_status=$?
4021 if test -s conftest.err; then
4022 sed '10a\
4023 ... rest of stderr output deleted ...
4024 10q' conftest.err >conftest.er1
4025 cat conftest.er1 >&5
4027 rm -f conftest.er1 conftest.err
4028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4029 test $ac_status = 0; }
4030 done
4032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4033 /* end confdefs.h. */
4036 main ()
4040 return 0;
4042 _ACEOF
4043 ac_clean_files_save=$ac_clean_files
4044 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4045 # Try to create an executable without -o first, disregard a.out.
4046 # It will help us diagnose broken compilers, and finding out an intuition
4047 # of exeext.
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4049 $as_echo_n "checking whether the C compiler works... " >&6; }
4050 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4052 # The possible output files:
4053 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4055 ac_rmfiles=
4056 for ac_file in $ac_files
4058 case $ac_file in
4059 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4060 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4061 esac
4062 done
4063 rm -f $ac_rmfiles
4065 if { { ac_try="$ac_link_default"
4066 case "(($ac_try" in
4067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4068 *) ac_try_echo=$ac_try;;
4069 esac
4070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4071 $as_echo "$ac_try_echo"; } >&5
4072 (eval "$ac_link_default") 2>&5
4073 ac_status=$?
4074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4075 test $ac_status = 0; }; then :
4076 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4077 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4078 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4079 # so that the user can short-circuit this test for compilers unknown to
4080 # Autoconf.
4081 for ac_file in $ac_files ''
4083 test -f "$ac_file" || continue
4084 case $ac_file in
4085 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4087 [ab].out )
4088 # We found the default executable, but exeext='' is most
4089 # certainly right.
4090 break;;
4091 *.* )
4092 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4093 then :; else
4094 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4096 # We set ac_cv_exeext here because the later test for it is not
4097 # safe: cross compilers may not add the suffix if given an `-o'
4098 # argument, so we may need to know it at that point already.
4099 # Even if this section looks crufty: it has the advantage of
4100 # actually working.
4101 break;;
4103 break;;
4104 esac
4105 done
4106 test "$ac_cv_exeext" = no && ac_cv_exeext=
4108 else
4109 ac_file=''
4111 if test -z "$ac_file"; then :
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4113 $as_echo "no" >&6; }
4114 $as_echo "$as_me: failed program was:" >&5
4115 sed 's/^/| /' conftest.$ac_ext >&5
4117 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4119 as_fn_error 77 "C compiler cannot create executables
4120 See \`config.log' for more details" "$LINENO" 5; }
4121 else
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4123 $as_echo "yes" >&6; }
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4126 $as_echo_n "checking for C compiler default output file name... " >&6; }
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4128 $as_echo "$ac_file" >&6; }
4129 ac_exeext=$ac_cv_exeext
4131 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4132 ac_clean_files=$ac_clean_files_save
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4134 $as_echo_n "checking for suffix of executables... " >&6; }
4135 if { { ac_try="$ac_link"
4136 case "(($ac_try" in
4137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4138 *) ac_try_echo=$ac_try;;
4139 esac
4140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4141 $as_echo "$ac_try_echo"; } >&5
4142 (eval "$ac_link") 2>&5
4143 ac_status=$?
4144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4145 test $ac_status = 0; }; then :
4146 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4147 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4148 # work properly (i.e., refer to `conftest.exe'), while it won't with
4149 # `rm'.
4150 for ac_file in conftest.exe conftest conftest.*; do
4151 test -f "$ac_file" || continue
4152 case $ac_file in
4153 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4154 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4155 break;;
4156 * ) break;;
4157 esac
4158 done
4159 else
4160 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4162 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4163 See \`config.log' for more details" "$LINENO" 5; }
4165 rm -f conftest conftest$ac_cv_exeext
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4167 $as_echo "$ac_cv_exeext" >&6; }
4169 rm -f conftest.$ac_ext
4170 EXEEXT=$ac_cv_exeext
4171 ac_exeext=$EXEEXT
4172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4173 /* end confdefs.h. */
4174 #include <stdio.h>
4176 main ()
4178 FILE *f = fopen ("conftest.out", "w");
4179 return ferror (f) || fclose (f) != 0;
4182 return 0;
4184 _ACEOF
4185 ac_clean_files="$ac_clean_files conftest.out"
4186 # Check that the compiler produces executables we can run. If not, either
4187 # the compiler is broken, or we cross compile.
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4189 $as_echo_n "checking whether we are cross compiling... " >&6; }
4190 if test "$cross_compiling" != yes; then
4191 { { ac_try="$ac_link"
4192 case "(($ac_try" in
4193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4194 *) ac_try_echo=$ac_try;;
4195 esac
4196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4197 $as_echo "$ac_try_echo"; } >&5
4198 (eval "$ac_link") 2>&5
4199 ac_status=$?
4200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4201 test $ac_status = 0; }
4202 if { ac_try='./conftest$ac_cv_exeext'
4203 { { case "(($ac_try" in
4204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4205 *) ac_try_echo=$ac_try;;
4206 esac
4207 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4208 $as_echo "$ac_try_echo"; } >&5
4209 (eval "$ac_try") 2>&5
4210 ac_status=$?
4211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4212 test $ac_status = 0; }; }; then
4213 cross_compiling=no
4214 else
4215 if test "$cross_compiling" = maybe; then
4216 cross_compiling=yes
4217 else
4218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4220 as_fn_error $? "cannot run C compiled programs.
4221 If you meant to cross compile, use \`--host'.
4222 See \`config.log' for more details" "$LINENO" 5; }
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4227 $as_echo "$cross_compiling" >&6; }
4229 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4230 ac_clean_files=$ac_clean_files_save
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4232 $as_echo_n "checking for suffix of object files... " >&6; }
4233 if ${ac_cv_objext+:} false; then :
4234 $as_echo_n "(cached) " >&6
4235 else
4236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4237 /* end confdefs.h. */
4240 main ()
4244 return 0;
4246 _ACEOF
4247 rm -f conftest.o conftest.obj
4248 if { { ac_try="$ac_compile"
4249 case "(($ac_try" in
4250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4251 *) ac_try_echo=$ac_try;;
4252 esac
4253 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4254 $as_echo "$ac_try_echo"; } >&5
4255 (eval "$ac_compile") 2>&5
4256 ac_status=$?
4257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4258 test $ac_status = 0; }; then :
4259 for ac_file in conftest.o conftest.obj conftest.*; do
4260 test -f "$ac_file" || continue;
4261 case $ac_file in
4262 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4263 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4264 break;;
4265 esac
4266 done
4267 else
4268 $as_echo "$as_me: failed program was:" >&5
4269 sed 's/^/| /' conftest.$ac_ext >&5
4271 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4273 as_fn_error $? "cannot compute suffix of object files: cannot compile
4274 See \`config.log' for more details" "$LINENO" 5; }
4276 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4279 $as_echo "$ac_cv_objext" >&6; }
4280 OBJEXT=$ac_cv_objext
4281 ac_objext=$OBJEXT
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4283 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4284 if ${ac_cv_c_compiler_gnu+:} false; then :
4285 $as_echo_n "(cached) " >&6
4286 else
4287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4288 /* end confdefs.h. */
4291 main ()
4293 #ifndef __GNUC__
4294 choke me
4295 #endif
4298 return 0;
4300 _ACEOF
4301 if ac_fn_c_try_compile "$LINENO"; then :
4302 ac_compiler_gnu=yes
4303 else
4304 ac_compiler_gnu=no
4306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4307 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4311 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4312 if test $ac_compiler_gnu = yes; then
4313 GCC=yes
4314 else
4315 GCC=
4317 ac_test_CFLAGS=${CFLAGS+set}
4318 ac_save_CFLAGS=$CFLAGS
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4320 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4321 if ${ac_cv_prog_cc_g+:} false; then :
4322 $as_echo_n "(cached) " >&6
4323 else
4324 ac_save_c_werror_flag=$ac_c_werror_flag
4325 ac_c_werror_flag=yes
4326 ac_cv_prog_cc_g=no
4327 CFLAGS="-g"
4328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4329 /* end confdefs.h. */
4332 main ()
4336 return 0;
4338 _ACEOF
4339 if ac_fn_c_try_compile "$LINENO"; then :
4340 ac_cv_prog_cc_g=yes
4341 else
4342 CFLAGS=""
4343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h. */
4347 main ()
4351 return 0;
4353 _ACEOF
4354 if ac_fn_c_try_compile "$LINENO"; then :
4356 else
4357 ac_c_werror_flag=$ac_save_c_werror_flag
4358 CFLAGS="-g"
4359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4360 /* end confdefs.h. */
4363 main ()
4367 return 0;
4369 _ACEOF
4370 if ac_fn_c_try_compile "$LINENO"; then :
4371 ac_cv_prog_cc_g=yes
4373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4378 ac_c_werror_flag=$ac_save_c_werror_flag
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4381 $as_echo "$ac_cv_prog_cc_g" >&6; }
4382 if test "$ac_test_CFLAGS" = set; then
4383 CFLAGS=$ac_save_CFLAGS
4384 elif test $ac_cv_prog_cc_g = yes; then
4385 if test "$GCC" = yes; then
4386 CFLAGS="-g -O2"
4387 else
4388 CFLAGS="-g"
4390 else
4391 if test "$GCC" = yes; then
4392 CFLAGS="-O2"
4393 else
4394 CFLAGS=
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4398 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4399 if ${ac_cv_prog_cc_c89+:} false; then :
4400 $as_echo_n "(cached) " >&6
4401 else
4402 ac_cv_prog_cc_c89=no
4403 ac_save_CC=$CC
4404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4405 /* end confdefs.h. */
4406 #include <stdarg.h>
4407 #include <stdio.h>
4408 struct stat;
4409 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4410 struct buf { int x; };
4411 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4412 static char *e (p, i)
4413 char **p;
4414 int i;
4416 return p[i];
4418 static char *f (char * (*g) (char **, int), char **p, ...)
4420 char *s;
4421 va_list v;
4422 va_start (v,p);
4423 s = g (p, va_arg (v,int));
4424 va_end (v);
4425 return s;
4428 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4429 function prototypes and stuff, but not '\xHH' hex character constants.
4430 These don't provoke an error unfortunately, instead are silently treated
4431 as 'x'. The following induces an error, until -std is added to get
4432 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4433 array size at least. It's necessary to write '\x00'==0 to get something
4434 that's true only with -std. */
4435 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4437 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4438 inside strings and character constants. */
4439 #define FOO(x) 'x'
4440 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4442 int test (int i, double x);
4443 struct s1 {int (*f) (int a);};
4444 struct s2 {int (*f) (double a);};
4445 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4446 int argc;
4447 char **argv;
4449 main ()
4451 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4453 return 0;
4455 _ACEOF
4456 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4457 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4459 CC="$ac_save_CC $ac_arg"
4460 if ac_fn_c_try_compile "$LINENO"; then :
4461 ac_cv_prog_cc_c89=$ac_arg
4463 rm -f core conftest.err conftest.$ac_objext
4464 test "x$ac_cv_prog_cc_c89" != "xno" && break
4465 done
4466 rm -f conftest.$ac_ext
4467 CC=$ac_save_CC
4470 # AC_CACHE_VAL
4471 case "x$ac_cv_prog_cc_c89" in
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4474 $as_echo "none needed" >&6; } ;;
4475 xno)
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4477 $as_echo "unsupported" >&6; } ;;
4479 CC="$CC $ac_cv_prog_cc_c89"
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4481 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4482 esac
4483 if test "x$ac_cv_prog_cc_c89" != xno; then :
4487 ac_ext=c
4488 ac_cpp='$CPP $CPPFLAGS'
4489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4493 ac_ext=cpp
4494 ac_cpp='$CXXCPP $CPPFLAGS'
4495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4498 if test -z "$CXX"; then
4499 if test -n "$CCC"; then
4500 CXX=$CCC
4501 else
4502 if test -n "$ac_tool_prefix"; then
4503 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4505 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4506 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4508 $as_echo_n "checking for $ac_word... " >&6; }
4509 if ${ac_cv_prog_CXX+:} false; then :
4510 $as_echo_n "(cached) " >&6
4511 else
4512 if test -n "$CXX"; then
4513 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4514 else
4515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4516 for as_dir in $PATH
4518 IFS=$as_save_IFS
4519 test -z "$as_dir" && as_dir=.
4520 for ac_exec_ext in '' $ac_executable_extensions; do
4521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4522 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4524 break 2
4526 done
4527 done
4528 IFS=$as_save_IFS
4532 CXX=$ac_cv_prog_CXX
4533 if test -n "$CXX"; then
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4535 $as_echo "$CXX" >&6; }
4536 else
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4538 $as_echo "no" >&6; }
4542 test -n "$CXX" && break
4543 done
4545 if test -z "$CXX"; then
4546 ac_ct_CXX=$CXX
4547 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4549 # Extract the first word of "$ac_prog", so it can be a program name with args.
4550 set dummy $ac_prog; ac_word=$2
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4552 $as_echo_n "checking for $ac_word... " >&6; }
4553 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4554 $as_echo_n "(cached) " >&6
4555 else
4556 if test -n "$ac_ct_CXX"; then
4557 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4558 else
4559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4560 for as_dir in $PATH
4562 IFS=$as_save_IFS
4563 test -z "$as_dir" && as_dir=.
4564 for ac_exec_ext in '' $ac_executable_extensions; do
4565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4566 ac_cv_prog_ac_ct_CXX="$ac_prog"
4567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4568 break 2
4570 done
4571 done
4572 IFS=$as_save_IFS
4576 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4577 if test -n "$ac_ct_CXX"; then
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4579 $as_echo "$ac_ct_CXX" >&6; }
4580 else
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4582 $as_echo "no" >&6; }
4586 test -n "$ac_ct_CXX" && break
4587 done
4589 if test "x$ac_ct_CXX" = x; then
4590 CXX="g++"
4591 else
4592 case $cross_compiling:$ac_tool_warned in
4593 yes:)
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4596 ac_tool_warned=yes ;;
4597 esac
4598 CXX=$ac_ct_CXX
4604 # Provide some information about the compiler.
4605 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4606 set X $ac_compile
4607 ac_compiler=$2
4608 for ac_option in --version -v -V -qversion; do
4609 { { ac_try="$ac_compiler $ac_option >&5"
4610 case "(($ac_try" in
4611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4612 *) ac_try_echo=$ac_try;;
4613 esac
4614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4615 $as_echo "$ac_try_echo"; } >&5
4616 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4617 ac_status=$?
4618 if test -s conftest.err; then
4619 sed '10a\
4620 ... rest of stderr output deleted ...
4621 10q' conftest.err >conftest.er1
4622 cat conftest.er1 >&5
4624 rm -f conftest.er1 conftest.err
4625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4626 test $ac_status = 0; }
4627 done
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4630 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4631 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4632 $as_echo_n "(cached) " >&6
4633 else
4634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h. */
4638 main ()
4640 #ifndef __GNUC__
4641 choke me
4642 #endif
4645 return 0;
4647 _ACEOF
4648 if ac_fn_cxx_try_compile "$LINENO"; then :
4649 ac_compiler_gnu=yes
4650 else
4651 ac_compiler_gnu=no
4653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4654 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4658 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4659 if test $ac_compiler_gnu = yes; then
4660 GXX=yes
4661 else
4662 GXX=
4664 ac_test_CXXFLAGS=${CXXFLAGS+set}
4665 ac_save_CXXFLAGS=$CXXFLAGS
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4667 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4668 if ${ac_cv_prog_cxx_g+:} false; then :
4669 $as_echo_n "(cached) " >&6
4670 else
4671 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4672 ac_cxx_werror_flag=yes
4673 ac_cv_prog_cxx_g=no
4674 CXXFLAGS="-g"
4675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4676 /* end confdefs.h. */
4679 main ()
4683 return 0;
4685 _ACEOF
4686 if ac_fn_cxx_try_compile "$LINENO"; then :
4687 ac_cv_prog_cxx_g=yes
4688 else
4689 CXXFLAGS=""
4690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4691 /* end confdefs.h. */
4694 main ()
4698 return 0;
4700 _ACEOF
4701 if ac_fn_cxx_try_compile "$LINENO"; then :
4703 else
4704 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4705 CXXFLAGS="-g"
4706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4707 /* end confdefs.h. */
4710 main ()
4714 return 0;
4716 _ACEOF
4717 if ac_fn_cxx_try_compile "$LINENO"; then :
4718 ac_cv_prog_cxx_g=yes
4720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4725 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4728 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4729 if test "$ac_test_CXXFLAGS" = set; then
4730 CXXFLAGS=$ac_save_CXXFLAGS
4731 elif test $ac_cv_prog_cxx_g = yes; then
4732 if test "$GXX" = yes; then
4733 CXXFLAGS="-g -O2"
4734 else
4735 CXXFLAGS="-g"
4737 else
4738 if test "$GXX" = yes; then
4739 CXXFLAGS="-O2"
4740 else
4741 CXXFLAGS=
4744 ac_ext=c
4745 ac_cpp='$CPP $CPPFLAGS'
4746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4750 if test -n "$ac_tool_prefix"; then
4751 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4752 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4754 $as_echo_n "checking for $ac_word... " >&6; }
4755 if ${ac_cv_prog_CPPBIN+:} false; then :
4756 $as_echo_n "(cached) " >&6
4757 else
4758 if test -n "$CPPBIN"; then
4759 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4760 else
4761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4762 for as_dir in $PATH
4764 IFS=$as_save_IFS
4765 test -z "$as_dir" && as_dir=.
4766 for ac_exec_ext in '' $ac_executable_extensions; do
4767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4768 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4770 break 2
4772 done
4773 done
4774 IFS=$as_save_IFS
4778 CPPBIN=$ac_cv_prog_CPPBIN
4779 if test -n "$CPPBIN"; then
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4781 $as_echo "$CPPBIN" >&6; }
4782 else
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4784 $as_echo "no" >&6; }
4789 if test -z "$ac_cv_prog_CPPBIN"; then
4790 ac_ct_CPPBIN=$CPPBIN
4791 # Extract the first word of "cpp", so it can be a program name with args.
4792 set dummy cpp; ac_word=$2
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4794 $as_echo_n "checking for $ac_word... " >&6; }
4795 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4796 $as_echo_n "(cached) " >&6
4797 else
4798 if test -n "$ac_ct_CPPBIN"; then
4799 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4800 else
4801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4802 for as_dir in $PATH
4804 IFS=$as_save_IFS
4805 test -z "$as_dir" && as_dir=.
4806 for ac_exec_ext in '' $ac_executable_extensions; do
4807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4808 ac_cv_prog_ac_ct_CPPBIN="cpp"
4809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4810 break 2
4812 done
4813 done
4814 IFS=$as_save_IFS
4818 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4819 if test -n "$ac_ct_CPPBIN"; then
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4821 $as_echo "$ac_ct_CPPBIN" >&6; }
4822 else
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4824 $as_echo "no" >&6; }
4827 if test "x$ac_ct_CPPBIN" = x; then
4828 CPPBIN="cpp"
4829 else
4830 case $cross_compiling:$ac_tool_warned in
4831 yes:)
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4833 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4834 ac_tool_warned=yes ;;
4835 esac
4836 CPPBIN=$ac_ct_CPPBIN
4838 else
4839 CPPBIN="$ac_cv_prog_CPPBIN"
4843 cat >>confdefs.h <<_ACEOF
4844 #define EXEEXT "$ac_exeext"
4845 _ACEOF
4847 if test -n "$ac_tool_prefix"; then
4848 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4849 set dummy ${ac_tool_prefix}ld; ac_word=$2
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4851 $as_echo_n "checking for $ac_word... " >&6; }
4852 if ${ac_cv_prog_LD+:} false; then :
4853 $as_echo_n "(cached) " >&6
4854 else
4855 if test -n "$LD"; then
4856 ac_cv_prog_LD="$LD" # Let the user override the test.
4857 else
4858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4859 for as_dir in $PATH
4861 IFS=$as_save_IFS
4862 test -z "$as_dir" && as_dir=.
4863 for ac_exec_ext in '' $ac_executable_extensions; do
4864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4865 ac_cv_prog_LD="${ac_tool_prefix}ld"
4866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4867 break 2
4869 done
4870 done
4871 IFS=$as_save_IFS
4875 LD=$ac_cv_prog_LD
4876 if test -n "$LD"; then
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4878 $as_echo "$LD" >&6; }
4879 else
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4881 $as_echo "no" >&6; }
4886 if test -z "$ac_cv_prog_LD"; then
4887 ac_ct_LD=$LD
4888 # Extract the first word of "ld", so it can be a program name with args.
4889 set dummy ld; ac_word=$2
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4891 $as_echo_n "checking for $ac_word... " >&6; }
4892 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4893 $as_echo_n "(cached) " >&6
4894 else
4895 if test -n "$ac_ct_LD"; then
4896 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4897 else
4898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4899 for as_dir in $PATH
4901 IFS=$as_save_IFS
4902 test -z "$as_dir" && as_dir=.
4903 for ac_exec_ext in '' $ac_executable_extensions; do
4904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4905 ac_cv_prog_ac_ct_LD="ld"
4906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4907 break 2
4909 done
4910 done
4911 IFS=$as_save_IFS
4915 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4916 if test -n "$ac_ct_LD"; then
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4918 $as_echo "$ac_ct_LD" >&6; }
4919 else
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4921 $as_echo "no" >&6; }
4924 if test "x$ac_ct_LD" = x; then
4925 LD=""
4926 else
4927 case $cross_compiling:$ac_tool_warned in
4928 yes:)
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4931 ac_tool_warned=yes ;;
4932 esac
4933 LD=$ac_ct_LD
4935 else
4936 LD="$ac_cv_prog_LD"
4940 case $host in
4941 *-darwin*)
4942 if test "x$enable_win64" = "xyes"
4943 then
4944 CC="$CC -m64"
4945 CXX="$CXX -m64"
4946 host_cpu="x86_64"
4947 notice_platform="64-bit "
4948 TARGETFLAGS="-m64"
4950 else
4951 CC="$CC -m32"
4952 CXX="$CXX -m32"
4953 host_cpu="i386"
4954 notice_platform="32-bit "
4955 TARGETFLAGS="-m32"
4957 enable_win16=${enable_win16:-yes}
4959 with_fontconfig=${with_fontconfig:-no}
4961 x86_64*|amd64*)
4962 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4963 then
4964 CC="$CC -m32"
4965 CXX="$CXX -m32"
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4967 $as_echo_n "checking whether $CC works... " >&6; }
4969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4970 /* end confdefs.h. */
4973 main ()
4977 return 0;
4979 _ACEOF
4980 if ac_fn_c_try_link "$LINENO"; then :
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4982 $as_echo "yes" >&6; }
4983 else
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4985 $as_echo "no" >&6; }
4986 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4988 rm -f core conftest.err conftest.$ac_objext \
4989 conftest$ac_exeext conftest.$ac_ext
4990 host_cpu="i386"
4991 notice_platform="32-bit "
4992 TARGETFLAGS="-m32"
4994 enable_win16=${enable_win16:-yes}
4995 else
4996 if test "x${GCC}" = "xyes"
4997 then
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4999 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5001 /* end confdefs.h. */
5002 #include <stdarg.h>
5004 main ()
5006 void func(__builtin_ms_va_list *args);
5008 return 0;
5010 _ACEOF
5011 if ac_fn_c_try_compile "$LINENO"; then :
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5013 $as_echo "yes" >&6; }
5014 else
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5017 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
5019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5021 host_cpu="x86_64"
5022 TARGETFLAGS="-m64"
5026 arm*)
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5028 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5030 /* end confdefs.h. */
5031 int ac_test(int i) { return i; }
5033 main ()
5035 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5037 return 0;
5039 _ACEOF
5040 if ac_fn_c_try_link "$LINENO"; then :
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5042 $as_echo "yes" >&6; }
5043 else
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 $as_echo "no" >&6; }
5046 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5048 rm -f core conftest.err conftest.$ac_objext \
5049 conftest$ac_exeext conftest.$ac_ext
5050 CFLAGS="$CFLAGS -marm"
5051 TARGETFLAGS="-marm"
5054 *-mingw32*|*-cygwin*)
5055 enable_win16=${enable_win16:-no}
5056 CFLAGS="$CFLAGS -D_WIN32"
5058 i[3456789]86*)
5059 enable_win16=${enable_win16:-yes}
5061 esac
5063 enable_win16=${enable_win16:-no}
5064 enable_win64=${enable_win64:-no}
5066 enable_winetest=${enable_winetest:-$enable_tests}
5068 if test -n "$with_wine64"
5069 then
5070 if test "x$enable_win64" = "xyes"
5071 then
5072 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5073 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5075 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5076 You should create a separate build directory and run configure from there." "$LINENO" 5
5077 enable_fonts=${enable_fonts:-no}
5078 enable_server=${enable_server:-no}
5079 elif test "x$enable_win64" = "xyes"
5080 then
5081 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5085 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5086 if ${wine_cv_toolsdir+:} false; then :
5087 $as_echo_n "(cached) " >&6
5088 else
5089 wine_cv_toolsdir="$with_wine_tools"
5090 if test -z "$with_wine_tools"; then
5091 if test "$cross_compiling" = "yes"; then
5092 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5093 elif test -n "$with_wine64"; then
5094 wine_cv_toolsdir="$with_wine64"
5097 if test -z "$wine_cv_toolsdir"; then
5098 wine_makedep=tools/makedep
5099 wine_cv_toolsdir="\$(top_builddir)"
5100 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5101 wine_makedep=$wine_cv_toolsdir/tools/makedep
5102 case "$wine_cv_toolsdir" in
5103 /*) ;;
5104 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5105 esac
5106 enable_tools=${enable_tools:-no}
5107 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5108 else
5109 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5113 $as_echo "$wine_cv_toolsdir" >&6; }
5114 TOOLSDIR=$wine_cv_toolsdir
5116 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5117 then
5118 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5122 for ac_prog in flex
5124 # Extract the first word of "$ac_prog", so it can be a program name with args.
5125 set dummy $ac_prog; ac_word=$2
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127 $as_echo_n "checking for $ac_word... " >&6; }
5128 if ${ac_cv_prog_FLEX+:} false; then :
5129 $as_echo_n "(cached) " >&6
5130 else
5131 if test -n "$FLEX"; then
5132 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5133 else
5134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5135 for as_dir in $PATH
5137 IFS=$as_save_IFS
5138 test -z "$as_dir" && as_dir=.
5139 for ac_exec_ext in '' $ac_executable_extensions; do
5140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5141 ac_cv_prog_FLEX="$ac_prog"
5142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5143 break 2
5145 done
5146 done
5147 IFS=$as_save_IFS
5151 FLEX=$ac_cv_prog_FLEX
5152 if test -n "$FLEX"; then
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5154 $as_echo "$FLEX" >&6; }
5155 else
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157 $as_echo "no" >&6; }
5161 test -n "$FLEX" && break
5162 done
5163 test -n "$FLEX" || FLEX="none"
5165 if test "$FLEX" = "none"
5166 then
5167 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5170 $as_echo_n "checking whether flex is recent enough... " >&6; }
5171 cat >conftest.l <<EOF
5172 %top{
5173 #include "prediluvian.h"
5177 if $FLEX -t conftest.l >/dev/null 2>&5
5178 then
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5180 $as_echo "yes" >&6; }
5181 else
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5183 $as_echo "no" >&6; }
5184 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5187 for ac_prog in bison
5189 # Extract the first word of "$ac_prog", so it can be a program name with args.
5190 set dummy $ac_prog; ac_word=$2
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5192 $as_echo_n "checking for $ac_word... " >&6; }
5193 if ${ac_cv_prog_BISON+:} false; then :
5194 $as_echo_n "(cached) " >&6
5195 else
5196 if test -n "$BISON"; then
5197 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5198 else
5199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5200 for as_dir in $PATH
5202 IFS=$as_save_IFS
5203 test -z "$as_dir" && as_dir=.
5204 for ac_exec_ext in '' $ac_executable_extensions; do
5205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5206 ac_cv_prog_BISON="$ac_prog"
5207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5208 break 2
5210 done
5211 done
5212 IFS=$as_save_IFS
5216 BISON=$ac_cv_prog_BISON
5217 if test -n "$BISON"; then
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5219 $as_echo "$BISON" >&6; }
5220 else
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5222 $as_echo "no" >&6; }
5226 test -n "$BISON" && break
5227 done
5228 test -n "$BISON" || BISON="none"
5230 if test "$BISON" = "none"
5231 then
5232 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5235 if test -n "$ac_tool_prefix"; then
5236 for ac_prog in ar gar
5238 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5239 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5241 $as_echo_n "checking for $ac_word... " >&6; }
5242 if ${ac_cv_prog_AR+:} false; then :
5243 $as_echo_n "(cached) " >&6
5244 else
5245 if test -n "$AR"; then
5246 ac_cv_prog_AR="$AR" # Let the user override the test.
5247 else
5248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5249 for as_dir in $PATH
5251 IFS=$as_save_IFS
5252 test -z "$as_dir" && as_dir=.
5253 for ac_exec_ext in '' $ac_executable_extensions; do
5254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5255 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5257 break 2
5259 done
5260 done
5261 IFS=$as_save_IFS
5265 AR=$ac_cv_prog_AR
5266 if test -n "$AR"; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5268 $as_echo "$AR" >&6; }
5269 else
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5271 $as_echo "no" >&6; }
5275 test -n "$AR" && break
5276 done
5278 if test -z "$AR"; then
5279 ac_ct_AR=$AR
5280 for ac_prog in ar gar
5282 # Extract the first word of "$ac_prog", so it can be a program name with args.
5283 set dummy $ac_prog; ac_word=$2
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5285 $as_echo_n "checking for $ac_word... " >&6; }
5286 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5287 $as_echo_n "(cached) " >&6
5288 else
5289 if test -n "$ac_ct_AR"; then
5290 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5291 else
5292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5293 for as_dir in $PATH
5295 IFS=$as_save_IFS
5296 test -z "$as_dir" && as_dir=.
5297 for ac_exec_ext in '' $ac_executable_extensions; do
5298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5299 ac_cv_prog_ac_ct_AR="$ac_prog"
5300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5301 break 2
5303 done
5304 done
5305 IFS=$as_save_IFS
5309 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5310 if test -n "$ac_ct_AR"; then
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5312 $as_echo "$ac_ct_AR" >&6; }
5313 else
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5315 $as_echo "no" >&6; }
5319 test -n "$ac_ct_AR" && break
5320 done
5322 if test "x$ac_ct_AR" = x; then
5323 AR="ar"
5324 else
5325 case $cross_compiling:$ac_tool_warned in
5326 yes:)
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5329 ac_tool_warned=yes ;;
5330 esac
5331 AR=$ac_ct_AR
5335 if test -n "$ac_tool_prefix"; then
5336 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5337 set dummy ${ac_tool_prefix}strip; ac_word=$2
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5339 $as_echo_n "checking for $ac_word... " >&6; }
5340 if ${ac_cv_prog_STRIP+:} false; then :
5341 $as_echo_n "(cached) " >&6
5342 else
5343 if test -n "$STRIP"; then
5344 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5345 else
5346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5347 for as_dir in $PATH
5349 IFS=$as_save_IFS
5350 test -z "$as_dir" && as_dir=.
5351 for ac_exec_ext in '' $ac_executable_extensions; do
5352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5353 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5355 break 2
5357 done
5358 done
5359 IFS=$as_save_IFS
5363 STRIP=$ac_cv_prog_STRIP
5364 if test -n "$STRIP"; then
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5366 $as_echo "$STRIP" >&6; }
5367 else
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5369 $as_echo "no" >&6; }
5374 if test -z "$ac_cv_prog_STRIP"; then
5375 ac_ct_STRIP=$STRIP
5376 # Extract the first word of "strip", so it can be a program name with args.
5377 set dummy strip; ac_word=$2
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5379 $as_echo_n "checking for $ac_word... " >&6; }
5380 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5381 $as_echo_n "(cached) " >&6
5382 else
5383 if test -n "$ac_ct_STRIP"; then
5384 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5385 else
5386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5387 for as_dir in $PATH
5389 IFS=$as_save_IFS
5390 test -z "$as_dir" && as_dir=.
5391 for ac_exec_ext in '' $ac_executable_extensions; do
5392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5393 ac_cv_prog_ac_ct_STRIP="strip"
5394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5395 break 2
5397 done
5398 done
5399 IFS=$as_save_IFS
5403 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5404 if test -n "$ac_ct_STRIP"; then
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5406 $as_echo "$ac_ct_STRIP" >&6; }
5407 else
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5409 $as_echo "no" >&6; }
5412 if test "x$ac_ct_STRIP" = x; then
5413 STRIP="strip"
5414 else
5415 case $cross_compiling:$ac_tool_warned in
5416 yes:)
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5419 ac_tool_warned=yes ;;
5420 esac
5421 STRIP=$ac_ct_STRIP
5423 else
5424 STRIP="$ac_cv_prog_STRIP"
5427 ARFLAGS=rc
5429 if test -n "$ac_tool_prefix"; then
5430 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5431 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5433 $as_echo_n "checking for $ac_word... " >&6; }
5434 if ${ac_cv_prog_RANLIB+:} false; then :
5435 $as_echo_n "(cached) " >&6
5436 else
5437 if test -n "$RANLIB"; then
5438 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5439 else
5440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5441 for as_dir in $PATH
5443 IFS=$as_save_IFS
5444 test -z "$as_dir" && as_dir=.
5445 for ac_exec_ext in '' $ac_executable_extensions; do
5446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5447 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5449 break 2
5451 done
5452 done
5453 IFS=$as_save_IFS
5457 RANLIB=$ac_cv_prog_RANLIB
5458 if test -n "$RANLIB"; then
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5460 $as_echo "$RANLIB" >&6; }
5461 else
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5463 $as_echo "no" >&6; }
5468 if test -z "$ac_cv_prog_RANLIB"; then
5469 ac_ct_RANLIB=$RANLIB
5470 # Extract the first word of "ranlib", so it can be a program name with args.
5471 set dummy ranlib; ac_word=$2
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5473 $as_echo_n "checking for $ac_word... " >&6; }
5474 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5475 $as_echo_n "(cached) " >&6
5476 else
5477 if test -n "$ac_ct_RANLIB"; then
5478 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5479 else
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481 for as_dir in $PATH
5483 IFS=$as_save_IFS
5484 test -z "$as_dir" && as_dir=.
5485 for ac_exec_ext in '' $ac_executable_extensions; do
5486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5487 ac_cv_prog_ac_ct_RANLIB="ranlib"
5488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5489 break 2
5491 done
5492 done
5493 IFS=$as_save_IFS
5497 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5498 if test -n "$ac_ct_RANLIB"; then
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5500 $as_echo "$ac_ct_RANLIB" >&6; }
5501 else
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503 $as_echo "no" >&6; }
5506 if test "x$ac_ct_RANLIB" = x; then
5507 RANLIB=":"
5508 else
5509 case $cross_compiling:$ac_tool_warned in
5510 yes:)
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5513 ac_tool_warned=yes ;;
5514 esac
5515 RANLIB=$ac_ct_RANLIB
5517 else
5518 RANLIB="$ac_cv_prog_RANLIB"
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5522 $as_echo_n "checking whether ln -s works... " >&6; }
5523 LN_S=$as_ln_s
5524 if test "$LN_S" = "ln -s"; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5526 $as_echo "yes" >&6; }
5527 else
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5529 $as_echo "no, using $LN_S" >&6; }
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5533 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5534 if ${ac_cv_path_GREP+:} false; then :
5535 $as_echo_n "(cached) " >&6
5536 else
5537 if test -z "$GREP"; then
5538 ac_path_GREP_found=false
5539 # Loop through the user's path and test for each of PROGNAME-LIST
5540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5541 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5543 IFS=$as_save_IFS
5544 test -z "$as_dir" && as_dir=.
5545 for ac_prog in grep ggrep; do
5546 for ac_exec_ext in '' $ac_executable_extensions; do
5547 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5548 as_fn_executable_p "$ac_path_GREP" || continue
5549 # Check for GNU ac_path_GREP and select it if it is found.
5550 # Check for GNU $ac_path_GREP
5551 case `"$ac_path_GREP" --version 2>&1` in
5552 *GNU*)
5553 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5555 ac_count=0
5556 $as_echo_n 0123456789 >"conftest.in"
5557 while :
5559 cat "conftest.in" "conftest.in" >"conftest.tmp"
5560 mv "conftest.tmp" "conftest.in"
5561 cp "conftest.in" "conftest.nl"
5562 $as_echo 'GREP' >> "conftest.nl"
5563 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5564 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5565 as_fn_arith $ac_count + 1 && ac_count=$as_val
5566 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5567 # Best one so far, save it but keep looking for a better one
5568 ac_cv_path_GREP="$ac_path_GREP"
5569 ac_path_GREP_max=$ac_count
5571 # 10*(2^10) chars as input seems more than enough
5572 test $ac_count -gt 10 && break
5573 done
5574 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5575 esac
5577 $ac_path_GREP_found && break 3
5578 done
5579 done
5580 done
5581 IFS=$as_save_IFS
5582 if test -z "$ac_cv_path_GREP"; then
5583 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5585 else
5586 ac_cv_path_GREP=$GREP
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5591 $as_echo "$ac_cv_path_GREP" >&6; }
5592 GREP="$ac_cv_path_GREP"
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5596 $as_echo_n "checking for egrep... " >&6; }
5597 if ${ac_cv_path_EGREP+:} false; then :
5598 $as_echo_n "(cached) " >&6
5599 else
5600 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5601 then ac_cv_path_EGREP="$GREP -E"
5602 else
5603 if test -z "$EGREP"; then
5604 ac_path_EGREP_found=false
5605 # Loop through the user's path and test for each of PROGNAME-LIST
5606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5607 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5609 IFS=$as_save_IFS
5610 test -z "$as_dir" && as_dir=.
5611 for ac_prog in egrep; do
5612 for ac_exec_ext in '' $ac_executable_extensions; do
5613 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5614 as_fn_executable_p "$ac_path_EGREP" || continue
5615 # Check for GNU ac_path_EGREP and select it if it is found.
5616 # Check for GNU $ac_path_EGREP
5617 case `"$ac_path_EGREP" --version 2>&1` in
5618 *GNU*)
5619 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5621 ac_count=0
5622 $as_echo_n 0123456789 >"conftest.in"
5623 while :
5625 cat "conftest.in" "conftest.in" >"conftest.tmp"
5626 mv "conftest.tmp" "conftest.in"
5627 cp "conftest.in" "conftest.nl"
5628 $as_echo 'EGREP' >> "conftest.nl"
5629 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5630 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5631 as_fn_arith $ac_count + 1 && ac_count=$as_val
5632 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5633 # Best one so far, save it but keep looking for a better one
5634 ac_cv_path_EGREP="$ac_path_EGREP"
5635 ac_path_EGREP_max=$ac_count
5637 # 10*(2^10) chars as input seems more than enough
5638 test $ac_count -gt 10 && break
5639 done
5640 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5641 esac
5643 $ac_path_EGREP_found && break 3
5644 done
5645 done
5646 done
5647 IFS=$as_save_IFS
5648 if test -z "$ac_cv_path_EGREP"; then
5649 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5651 else
5652 ac_cv_path_EGREP=$EGREP
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5658 $as_echo "$ac_cv_path_EGREP" >&6; }
5659 EGREP="$ac_cv_path_EGREP"
5662 # Extract the first word of "ldconfig", so it can be a program name with args.
5663 set dummy ldconfig; ac_word=$2
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5665 $as_echo_n "checking for $ac_word... " >&6; }
5666 if ${ac_cv_path_LDCONFIG+:} false; then :
5667 $as_echo_n "(cached) " >&6
5668 else
5669 case $LDCONFIG in
5670 [\\/]* | ?:[\\/]*)
5671 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5675 for as_dir in /sbin /usr/sbin $PATH
5677 IFS=$as_save_IFS
5678 test -z "$as_dir" && as_dir=.
5679 for ac_exec_ext in '' $ac_executable_extensions; do
5680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5681 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5683 break 2
5685 done
5686 done
5687 IFS=$as_save_IFS
5689 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5691 esac
5693 LDCONFIG=$ac_cv_path_LDCONFIG
5694 if test -n "$LDCONFIG"; then
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5696 $as_echo "$LDCONFIG" >&6; }
5697 else
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5699 $as_echo "no" >&6; }
5703 for ac_prog in msgfmt
5705 # Extract the first word of "$ac_prog", so it can be a program name with args.
5706 set dummy $ac_prog; ac_word=$2
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5708 $as_echo_n "checking for $ac_word... " >&6; }
5709 if ${ac_cv_prog_MSGFMT+:} false; then :
5710 $as_echo_n "(cached) " >&6
5711 else
5712 if test -n "$MSGFMT"; then
5713 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5714 else
5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5716 for as_dir in $PATH
5718 IFS=$as_save_IFS
5719 test -z "$as_dir" && as_dir=.
5720 for ac_exec_ext in '' $ac_executable_extensions; do
5721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5722 ac_cv_prog_MSGFMT="$ac_prog"
5723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5724 break 2
5726 done
5727 done
5728 IFS=$as_save_IFS
5732 MSGFMT=$ac_cv_prog_MSGFMT
5733 if test -n "$MSGFMT"; then
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5735 $as_echo "$MSGFMT" >&6; }
5736 else
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }
5742 test -n "$MSGFMT" && break
5743 done
5744 test -n "$MSGFMT" || MSGFMT="false"
5746 if ${ac_tool_prefix+:} false; then :
5747 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5748 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5750 $as_echo_n "checking for $ac_word... " >&6; }
5751 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5752 $as_echo_n "(cached) " >&6
5753 else
5754 if test -n "$PKG_CONFIG"; then
5755 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5756 else
5757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5758 for as_dir in $PATH
5760 IFS=$as_save_IFS
5761 test -z "$as_dir" && as_dir=.
5762 for ac_exec_ext in '' $ac_executable_extensions; do
5763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5764 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5766 break 2
5768 done
5769 done
5770 IFS=$as_save_IFS
5774 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5775 if test -n "$PKG_CONFIG"; then
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5777 $as_echo "$PKG_CONFIG" >&6; }
5778 else
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5780 $as_echo "no" >&6; }
5785 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5786 if test "x$cross_compiling" = xyes; then :
5788 else
5789 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5790 # Extract the first word of "pkg-config", so it can be a program name with args.
5791 set dummy pkg-config; ac_word=$2
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5793 $as_echo_n "checking for $ac_word... " >&6; }
5794 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5795 $as_echo_n "(cached) " >&6
5796 else
5797 if test -n "$PKG_CONFIG"; then
5798 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5799 else
5800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5801 for as_dir in $PATH
5803 IFS=$as_save_IFS
5804 test -z "$as_dir" && as_dir=.
5805 for ac_exec_ext in '' $ac_executable_extensions; do
5806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5807 ac_cv_prog_PKG_CONFIG="pkg-config"
5808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5809 break 2
5811 done
5812 done
5813 IFS=$as_save_IFS
5817 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5818 if test -n "$PKG_CONFIG"; then
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5820 $as_echo "$PKG_CONFIG" >&6; }
5821 else
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5823 $as_echo "no" >&6; }
5828 else
5829 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5832 if test "x$enable_maintainer_mode" != "xyes"
5833 then
5834 FONTFORGE=""
5835 RSVG=""
5836 CONVERT=""
5837 ICOTOOL=""
5838 else
5839 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5840 for ac_prog in fontforge
5842 # Extract the first word of "$ac_prog", so it can be a program name with args.
5843 set dummy $ac_prog; ac_word=$2
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5845 $as_echo_n "checking for $ac_word... " >&6; }
5846 if ${ac_cv_prog_FONTFORGE+:} false; then :
5847 $as_echo_n "(cached) " >&6
5848 else
5849 if test -n "$FONTFORGE"; then
5850 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5851 else
5852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5853 for as_dir in $PATH
5855 IFS=$as_save_IFS
5856 test -z "$as_dir" && as_dir=.
5857 for ac_exec_ext in '' $ac_executable_extensions; do
5858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5859 ac_cv_prog_FONTFORGE="$ac_prog"
5860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5861 break 2
5863 done
5864 done
5865 IFS=$as_save_IFS
5869 FONTFORGE=$ac_cv_prog_FONTFORGE
5870 if test -n "$FONTFORGE"; then
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5872 $as_echo "$FONTFORGE" >&6; }
5873 else
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5875 $as_echo "no" >&6; }
5879 test -n "$FONTFORGE" && break
5880 done
5881 test -n "$FONTFORGE" || FONTFORGE="false"
5883 for ac_prog in rsvg-convert rsvg
5885 # Extract the first word of "$ac_prog", so it can be a program name with args.
5886 set dummy $ac_prog; ac_word=$2
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5888 $as_echo_n "checking for $ac_word... " >&6; }
5889 if ${ac_cv_prog_RSVG+:} false; then :
5890 $as_echo_n "(cached) " >&6
5891 else
5892 if test -n "$RSVG"; then
5893 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5894 else
5895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5896 for as_dir in $PATH
5898 IFS=$as_save_IFS
5899 test -z "$as_dir" && as_dir=.
5900 for ac_exec_ext in '' $ac_executable_extensions; do
5901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5902 ac_cv_prog_RSVG="$ac_prog"
5903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5904 break 2
5906 done
5907 done
5908 IFS=$as_save_IFS
5912 RSVG=$ac_cv_prog_RSVG
5913 if test -n "$RSVG"; then
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5915 $as_echo "$RSVG" >&6; }
5916 else
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5918 $as_echo "no" >&6; }
5922 test -n "$RSVG" && break
5923 done
5924 test -n "$RSVG" || RSVG="false"
5926 for ac_prog in convert
5928 # Extract the first word of "$ac_prog", so it can be a program name with args.
5929 set dummy $ac_prog; ac_word=$2
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5931 $as_echo_n "checking for $ac_word... " >&6; }
5932 if ${ac_cv_prog_CONVERT+:} false; then :
5933 $as_echo_n "(cached) " >&6
5934 else
5935 if test -n "$CONVERT"; then
5936 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5937 else
5938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5939 for as_dir in $PATH
5941 IFS=$as_save_IFS
5942 test -z "$as_dir" && as_dir=.
5943 for ac_exec_ext in '' $ac_executable_extensions; do
5944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5945 ac_cv_prog_CONVERT="$ac_prog"
5946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5947 break 2
5949 done
5950 done
5951 IFS=$as_save_IFS
5955 CONVERT=$ac_cv_prog_CONVERT
5956 if test -n "$CONVERT"; then
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5958 $as_echo "$CONVERT" >&6; }
5959 else
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5961 $as_echo "no" >&6; }
5965 test -n "$CONVERT" && break
5966 done
5967 test -n "$CONVERT" || CONVERT="false"
5969 for ac_prog in icotool
5971 # Extract the first word of "$ac_prog", so it can be a program name with args.
5972 set dummy $ac_prog; ac_word=$2
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5974 $as_echo_n "checking for $ac_word... " >&6; }
5975 if ${ac_cv_prog_ICOTOOL+:} false; then :
5976 $as_echo_n "(cached) " >&6
5977 else
5978 if test -n "$ICOTOOL"; then
5979 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5980 else
5981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5982 for as_dir in $PATH
5984 IFS=$as_save_IFS
5985 test -z "$as_dir" && as_dir=.
5986 for ac_exec_ext in '' $ac_executable_extensions; do
5987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5988 ac_cv_prog_ICOTOOL="$ac_prog"
5989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5990 break 2
5992 done
5993 done
5994 IFS=$as_save_IFS
5998 ICOTOOL=$ac_cv_prog_ICOTOOL
5999 if test -n "$ICOTOOL"; then
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6001 $as_echo "$ICOTOOL" >&6; }
6002 else
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6004 $as_echo "no" >&6; }
6008 test -n "$ICOTOOL" && break
6009 done
6010 test -n "$ICOTOOL" || ICOTOOL="false"
6012 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6013 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6015 if test "$CONVERT" = false
6016 then
6017 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6018 else
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6020 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6021 convert_version=`convert --version | head -n1`
6022 if test "x$convert_version" != "x"
6023 then
6024 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6025 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6026 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6027 then
6028 CONVERT=false
6031 if test "$CONVERT" = false
6032 then
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6034 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6035 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6036 else
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6038 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6042 if test "$ICOTOOL" = false
6043 then
6044 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6045 else
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6047 $as_echo_n "checking for recent enough icotool... " >&6; }
6048 icotool_version=`icotool --version | head -n1`
6049 if test "x$icotool_version" != "x"
6050 then
6051 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6052 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6053 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6054 then
6055 ICOTOOL=false
6056 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6059 if test "$ICOTOOL" = false
6060 then
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6062 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6063 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6064 else
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6066 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6070 with_gettext=yes
6071 with_gettextpo=yes
6072 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6075 test "x$with_gettext" != xno || MSGFMT=false
6076 if test "$MSGFMT" != "false"
6077 then
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6079 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6080 cat >conftest.po <<EOF
6081 # comment
6082 msgctxt "ctxt"
6083 msgid "id"
6084 msgstr "str"
6086 if $MSGFMT -o /dev/null conftest.po 2>&5
6087 then
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6089 $as_echo "yes" >&6; }
6090 else
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092 $as_echo "no" >&6; }
6093 MSGFMT=false
6096 if test "$MSGFMT" = false; then :
6097 case "x$with_gettext" in
6098 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6099 xno) ;;
6100 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6101 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6102 esac
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6107 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6108 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6109 $as_echo_n "(cached) " >&6
6110 else
6111 ac_check_lib_save_LIBS=$LIBS
6112 LIBS="-li386 $LIBS"
6113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6114 /* end confdefs.h. */
6116 /* Override any GCC internal prototype to avoid an error.
6117 Use char because int might match the return type of a GCC
6118 builtin and then its argument prototype would still apply. */
6119 #ifdef __cplusplus
6120 extern "C"
6121 #endif
6122 char i386_set_ldt ();
6124 main ()
6126 return i386_set_ldt ();
6128 return 0;
6130 _ACEOF
6131 if ac_fn_c_try_link "$LINENO"; then :
6132 ac_cv_lib_i386_i386_set_ldt=yes
6133 else
6134 ac_cv_lib_i386_i386_set_ldt=no
6136 rm -f core conftest.err conftest.$ac_objext \
6137 conftest$ac_exeext conftest.$ac_ext
6138 LIBS=$ac_check_lib_save_LIBS
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6141 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6142 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6143 cat >>confdefs.h <<_ACEOF
6144 #define HAVE_LIBI386 1
6145 _ACEOF
6147 LIBS="-li386 $LIBS"
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6152 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6153 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6154 $as_echo_n "(cached) " >&6
6155 else
6156 ac_check_lib_save_LIBS=$LIBS
6157 LIBS="-lossaudio $LIBS"
6158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6159 /* end confdefs.h. */
6161 /* Override any GCC internal prototype to avoid an error.
6162 Use char because int might match the return type of a GCC
6163 builtin and then its argument prototype would still apply. */
6164 #ifdef __cplusplus
6165 extern "C"
6166 #endif
6167 char _oss_ioctl ();
6169 main ()
6171 return _oss_ioctl ();
6173 return 0;
6175 _ACEOF
6176 if ac_fn_c_try_link "$LINENO"; then :
6177 ac_cv_lib_ossaudio__oss_ioctl=yes
6178 else
6179 ac_cv_lib_ossaudio__oss_ioctl=no
6181 rm -f core conftest.err conftest.$ac_objext \
6182 conftest$ac_exeext conftest.$ac_ext
6183 LIBS=$ac_check_lib_save_LIBS
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6186 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6187 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6188 cat >>confdefs.h <<_ACEOF
6189 #define HAVE_LIBOSSAUDIO 1
6190 _ACEOF
6192 LIBS="-lossaudio $LIBS"
6197 OPENGL_LIBS=""
6201 # Check whether --enable-largefile was given.
6202 if test "${enable_largefile+set}" = set; then :
6203 enableval=$enable_largefile;
6206 if test "$enable_largefile" != no; then
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6209 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6210 if ${ac_cv_sys_largefile_CC+:} false; then :
6211 $as_echo_n "(cached) " >&6
6212 else
6213 ac_cv_sys_largefile_CC=no
6214 if test "$GCC" != yes; then
6215 ac_save_CC=$CC
6216 while :; do
6217 # IRIX 6.2 and later do not support large files by default,
6218 # so use the C compiler's -n32 option if that helps.
6219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6220 /* end confdefs.h. */
6221 #include <sys/types.h>
6222 /* Check that off_t can represent 2**63 - 1 correctly.
6223 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6224 since some C++ compilers masquerading as C compilers
6225 incorrectly reject 9223372036854775807. */
6226 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6227 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6228 && LARGE_OFF_T % 2147483647 == 1)
6229 ? 1 : -1];
6231 main ()
6235 return 0;
6237 _ACEOF
6238 if ac_fn_c_try_compile "$LINENO"; then :
6239 break
6241 rm -f core conftest.err conftest.$ac_objext
6242 CC="$CC -n32"
6243 if ac_fn_c_try_compile "$LINENO"; then :
6244 ac_cv_sys_largefile_CC=' -n32'; break
6246 rm -f core conftest.err conftest.$ac_objext
6247 break
6248 done
6249 CC=$ac_save_CC
6250 rm -f conftest.$ac_ext
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6254 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6255 if test "$ac_cv_sys_largefile_CC" != no; then
6256 CC=$CC$ac_cv_sys_largefile_CC
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6260 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6261 if ${ac_cv_sys_file_offset_bits+:} false; then :
6262 $as_echo_n "(cached) " >&6
6263 else
6264 while :; do
6265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6266 /* end confdefs.h. */
6267 #include <sys/types.h>
6268 /* Check that off_t can represent 2**63 - 1 correctly.
6269 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6270 since some C++ compilers masquerading as C compilers
6271 incorrectly reject 9223372036854775807. */
6272 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6273 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6274 && LARGE_OFF_T % 2147483647 == 1)
6275 ? 1 : -1];
6277 main ()
6281 return 0;
6283 _ACEOF
6284 if ac_fn_c_try_compile "$LINENO"; then :
6285 ac_cv_sys_file_offset_bits=no; break
6287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6289 /* end confdefs.h. */
6290 #define _FILE_OFFSET_BITS 64
6291 #include <sys/types.h>
6292 /* Check that off_t can represent 2**63 - 1 correctly.
6293 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6294 since some C++ compilers masquerading as C compilers
6295 incorrectly reject 9223372036854775807. */
6296 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6297 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6298 && LARGE_OFF_T % 2147483647 == 1)
6299 ? 1 : -1];
6301 main ()
6305 return 0;
6307 _ACEOF
6308 if ac_fn_c_try_compile "$LINENO"; then :
6309 ac_cv_sys_file_offset_bits=64; break
6311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6312 ac_cv_sys_file_offset_bits=unknown
6313 break
6314 done
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6317 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6318 case $ac_cv_sys_file_offset_bits in #(
6319 no | unknown) ;;
6321 cat >>confdefs.h <<_ACEOF
6322 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6323 _ACEOF
6325 esac
6326 rm -rf conftest*
6327 if test $ac_cv_sys_file_offset_bits = unknown; then
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6329 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6330 if ${ac_cv_sys_large_files+:} false; then :
6331 $as_echo_n "(cached) " >&6
6332 else
6333 while :; do
6334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6335 /* end confdefs.h. */
6336 #include <sys/types.h>
6337 /* Check that off_t can represent 2**63 - 1 correctly.
6338 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6339 since some C++ compilers masquerading as C compilers
6340 incorrectly reject 9223372036854775807. */
6341 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6342 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6343 && LARGE_OFF_T % 2147483647 == 1)
6344 ? 1 : -1];
6346 main ()
6350 return 0;
6352 _ACEOF
6353 if ac_fn_c_try_compile "$LINENO"; then :
6354 ac_cv_sys_large_files=no; break
6356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6358 /* end confdefs.h. */
6359 #define _LARGE_FILES 1
6360 #include <sys/types.h>
6361 /* Check that off_t can represent 2**63 - 1 correctly.
6362 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6363 since some C++ compilers masquerading as C compilers
6364 incorrectly reject 9223372036854775807. */
6365 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6366 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6367 && LARGE_OFF_T % 2147483647 == 1)
6368 ? 1 : -1];
6370 main ()
6374 return 0;
6376 _ACEOF
6377 if ac_fn_c_try_compile "$LINENO"; then :
6378 ac_cv_sys_large_files=1; break
6380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6381 ac_cv_sys_large_files=unknown
6382 break
6383 done
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6386 $as_echo "$ac_cv_sys_large_files" >&6; }
6387 case $ac_cv_sys_large_files in #(
6388 no | unknown) ;;
6390 cat >>confdefs.h <<_ACEOF
6391 #define _LARGE_FILES $ac_cv_sys_large_files
6392 _ACEOF
6394 esac
6395 rm -rf conftest*
6402 ac_ext=c
6403 ac_cpp='$CPP $CPPFLAGS'
6404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6408 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6409 # On Suns, sometimes $CPP names a directory.
6410 if test -n "$CPP" && test -d "$CPP"; then
6411 CPP=
6413 if test -z "$CPP"; then
6414 if ${ac_cv_prog_CPP+:} false; then :
6415 $as_echo_n "(cached) " >&6
6416 else
6417 # Double quotes because CPP needs to be expanded
6418 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6420 ac_preproc_ok=false
6421 for ac_c_preproc_warn_flag in '' yes
6423 # Use a header file that comes with gcc, so configuring glibc
6424 # with a fresh cross-compiler works.
6425 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6426 # <limits.h> exists even on freestanding compilers.
6427 # On the NeXT, cc -E runs the code through the compiler's parser,
6428 # not just through cpp. "Syntax error" is here to catch this case.
6429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6430 /* end confdefs.h. */
6431 #ifdef __STDC__
6432 # include <limits.h>
6433 #else
6434 # include <assert.h>
6435 #endif
6436 Syntax error
6437 _ACEOF
6438 if ac_fn_c_try_cpp "$LINENO"; then :
6440 else
6441 # Broken: fails on valid input.
6442 continue
6444 rm -f conftest.err conftest.i conftest.$ac_ext
6446 # OK, works on sane cases. Now check whether nonexistent headers
6447 # can be detected and how.
6448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6449 /* end confdefs.h. */
6450 #include <ac_nonexistent.h>
6451 _ACEOF
6452 if ac_fn_c_try_cpp "$LINENO"; then :
6453 # Broken: success on invalid input.
6454 continue
6455 else
6456 # Passes both tests.
6457 ac_preproc_ok=:
6458 break
6460 rm -f conftest.err conftest.i conftest.$ac_ext
6462 done
6463 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6464 rm -f conftest.i conftest.err conftest.$ac_ext
6465 if $ac_preproc_ok; then :
6466 break
6469 done
6470 ac_cv_prog_CPP=$CPP
6473 CPP=$ac_cv_prog_CPP
6474 else
6475 ac_cv_prog_CPP=$CPP
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6478 $as_echo "$CPP" >&6; }
6479 ac_preproc_ok=false
6480 for ac_c_preproc_warn_flag in '' yes
6482 # Use a header file that comes with gcc, so configuring glibc
6483 # with a fresh cross-compiler works.
6484 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6485 # <limits.h> exists even on freestanding compilers.
6486 # On the NeXT, cc -E runs the code through the compiler's parser,
6487 # not just through cpp. "Syntax error" is here to catch this case.
6488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6489 /* end confdefs.h. */
6490 #ifdef __STDC__
6491 # include <limits.h>
6492 #else
6493 # include <assert.h>
6494 #endif
6495 Syntax error
6496 _ACEOF
6497 if ac_fn_c_try_cpp "$LINENO"; then :
6499 else
6500 # Broken: fails on valid input.
6501 continue
6503 rm -f conftest.err conftest.i conftest.$ac_ext
6505 # OK, works on sane cases. Now check whether nonexistent headers
6506 # can be detected and how.
6507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6508 /* end confdefs.h. */
6509 #include <ac_nonexistent.h>
6510 _ACEOF
6511 if ac_fn_c_try_cpp "$LINENO"; then :
6512 # Broken: success on invalid input.
6513 continue
6514 else
6515 # Passes both tests.
6516 ac_preproc_ok=:
6517 break
6519 rm -f conftest.err conftest.i conftest.$ac_ext
6521 done
6522 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6523 rm -f conftest.i conftest.err conftest.$ac_ext
6524 if $ac_preproc_ok; then :
6526 else
6527 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6529 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6530 See \`config.log' for more details" "$LINENO" 5; }
6533 ac_ext=c
6534 ac_cpp='$CPP $CPPFLAGS'
6535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6541 $as_echo_n "checking for ANSI C header files... " >&6; }
6542 if ${ac_cv_header_stdc+:} false; then :
6543 $as_echo_n "(cached) " >&6
6544 else
6545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6546 /* end confdefs.h. */
6547 #include <stdlib.h>
6548 #include <stdarg.h>
6549 #include <string.h>
6550 #include <float.h>
6553 main ()
6557 return 0;
6559 _ACEOF
6560 if ac_fn_c_try_compile "$LINENO"; then :
6561 ac_cv_header_stdc=yes
6562 else
6563 ac_cv_header_stdc=no
6565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6567 if test $ac_cv_header_stdc = yes; then
6568 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6570 /* end confdefs.h. */
6571 #include <string.h>
6573 _ACEOF
6574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6575 $EGREP "memchr" >/dev/null 2>&1; then :
6577 else
6578 ac_cv_header_stdc=no
6580 rm -f conftest*
6584 if test $ac_cv_header_stdc = yes; then
6585 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6587 /* end confdefs.h. */
6588 #include <stdlib.h>
6590 _ACEOF
6591 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6592 $EGREP "free" >/dev/null 2>&1; then :
6594 else
6595 ac_cv_header_stdc=no
6597 rm -f conftest*
6601 if test $ac_cv_header_stdc = yes; then
6602 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6603 if test "$cross_compiling" = yes; then :
6605 else
6606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6607 /* end confdefs.h. */
6608 #include <ctype.h>
6609 #include <stdlib.h>
6610 #if ((' ' & 0x0FF) == 0x020)
6611 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6612 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6613 #else
6614 # define ISLOWER(c) \
6615 (('a' <= (c) && (c) <= 'i') \
6616 || ('j' <= (c) && (c) <= 'r') \
6617 || ('s' <= (c) && (c) <= 'z'))
6618 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6619 #endif
6621 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6623 main ()
6625 int i;
6626 for (i = 0; i < 256; i++)
6627 if (XOR (islower (i), ISLOWER (i))
6628 || toupper (i) != TOUPPER (i))
6629 return 2;
6630 return 0;
6632 _ACEOF
6633 if ac_fn_c_try_run "$LINENO"; then :
6635 else
6636 ac_cv_header_stdc=no
6638 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6639 conftest.$ac_objext conftest.beam conftest.$ac_ext
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6645 $as_echo "$ac_cv_header_stdc" >&6; }
6646 if test $ac_cv_header_stdc = yes; then
6648 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6652 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6653 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6654 inttypes.h stdint.h unistd.h
6655 do :
6656 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6657 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6659 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6660 cat >>confdefs.h <<_ACEOF
6661 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6662 _ACEOF
6666 done
6669 for ac_header in \
6670 AL/al.h \
6671 ApplicationServices/ApplicationServices.h \
6672 AudioToolbox/AudioConverter.h \
6673 AudioUnit/AudioUnit.h \
6674 AudioUnit/AudioComponent.h \
6675 CL/cl.h \
6676 Carbon/Carbon.h \
6677 CoreAudio/CoreAudio.h \
6678 CoreServices/CoreServices.h \
6679 DiskArbitration/DiskArbitration.h \
6680 IOKit/IOKitLib.h \
6681 IOKit/hid/IOHIDLib.h \
6682 OpenAL/al.h \
6683 OpenCL/opencl.h \
6684 QuickTime/ImageCompression.h \
6685 Security/Security.h \
6686 alias.h \
6687 alsa/asoundlib.h \
6688 arpa/inet.h \
6689 arpa/nameser.h \
6690 asm/types.h \
6691 asm/user.h \
6692 curses.h \
6693 direct.h \
6694 dirent.h \
6695 dlfcn.h \
6696 elf.h \
6697 float.h \
6698 fnmatch.h \
6699 getopt.h \
6700 gettext-po.h \
6701 grp.h \
6702 gsm.h \
6703 gsm/gsm.h \
6704 ieeefp.h \
6705 inet/mib2.h \
6706 io.h \
6707 kstat.h \
6708 lber.h \
6709 ldap.h \
6710 libproc.h \
6711 link.h \
6712 linux/cdrom.h \
6713 linux/compiler.h \
6714 linux/filter.h \
6715 linux/hdreg.h \
6716 linux/input.h \
6717 linux/ioctl.h \
6718 linux/joystick.h \
6719 linux/major.h \
6720 linux/param.h \
6721 linux/serial.h \
6722 linux/types.h \
6723 linux/ucdrom.h \
6724 lwp.h \
6725 mach-o/nlist.h \
6726 mach-o/loader.h \
6727 mach/mach.h \
6728 mach/machine.h \
6729 machine/cpu.h \
6730 machine/limits.h \
6731 machine/sysarch.h \
6732 mntent.h \
6733 ncurses.h \
6734 netdb.h \
6735 netinet/in.h \
6736 netinet/in_systm.h \
6737 netinet/tcp.h \
6738 netinet/tcp_fsm.h \
6739 pcap/pcap.h \
6740 poll.h \
6741 port.h \
6742 process.h \
6743 pthread.h \
6744 pwd.h \
6745 sched.h \
6746 scsi/scsi.h \
6747 scsi/scsi_ioctl.h \
6748 scsi/sg.h \
6749 stdbool.h \
6750 stdint.h \
6751 stropts.h \
6752 sys/asoundlib.h \
6753 sys/attr.h \
6754 sys/cdio.h \
6755 sys/elf32.h \
6756 sys/epoll.h \
6757 sys/event.h \
6758 sys/exec_elf.h \
6759 sys/filio.h \
6760 sys/inotify.h \
6761 sys/ioctl.h \
6762 sys/ipc.h \
6763 sys/limits.h \
6764 sys/link.h \
6765 sys/mman.h \
6766 sys/modem.h \
6767 sys/msg.h \
6768 sys/mtio.h \
6769 sys/param.h \
6770 sys/poll.h \
6771 sys/prctl.h \
6772 sys/protosw.h \
6773 sys/ptrace.h \
6774 sys/queue.h \
6775 sys/resource.h \
6776 sys/scsiio.h \
6777 sys/shm.h \
6778 sys/signal.h \
6779 sys/socket.h \
6780 sys/socketvar.h \
6781 sys/sockio.h \
6782 sys/statvfs.h \
6783 sys/strtio.h \
6784 sys/syscall.h \
6785 sys/tihdr.h \
6786 sys/time.h \
6787 sys/timeout.h \
6788 sys/times.h \
6789 sys/uio.h \
6790 sys/user.h \
6791 sys/utsname.h \
6792 sys/vm86.h \
6793 sys/vnode.h \
6794 sys/wait.h \
6795 syscall.h \
6796 termios.h \
6797 unistd.h \
6798 utime.h \
6799 valgrind/memcheck.h \
6800 valgrind/valgrind.h \
6801 zlib.h
6803 do :
6804 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6805 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6806 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6807 cat >>confdefs.h <<_ACEOF
6808 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6809 _ACEOF
6813 done
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6816 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6817 if ${ac_cv_header_stat_broken+:} false; then :
6818 $as_echo_n "(cached) " >&6
6819 else
6820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6821 /* end confdefs.h. */
6822 #include <sys/types.h>
6823 #include <sys/stat.h>
6825 #if defined S_ISBLK && defined S_IFDIR
6826 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6827 #endif
6829 #if defined S_ISBLK && defined S_IFCHR
6830 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6831 #endif
6833 #if defined S_ISLNK && defined S_IFREG
6834 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6835 #endif
6837 #if defined S_ISSOCK && defined S_IFREG
6838 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6839 #endif
6841 _ACEOF
6842 if ac_fn_c_try_compile "$LINENO"; then :
6843 ac_cv_header_stat_broken=no
6844 else
6845 ac_cv_header_stat_broken=yes
6847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6850 $as_echo "$ac_cv_header_stat_broken" >&6; }
6851 if test $ac_cv_header_stat_broken = yes; then
6853 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6859 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6860 do :
6861 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6862 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6863 #ifdef HAVE_SYS_PARAM_H
6864 # include <sys/param.h>
6865 #endif
6867 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6868 cat >>confdefs.h <<_ACEOF
6869 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6870 _ACEOF
6874 done
6877 for ac_header in \
6878 netinet/ip.h \
6879 net/if.h \
6880 net/if_arp.h \
6881 net/if_dl.h \
6882 net/if_types.h \
6883 net/route.h \
6884 netinet/if_ether.h \
6885 netinet/if_inarp.h \
6886 netinet/in_pcb.h \
6887 netinet/ip_icmp.h \
6888 netinet/ip_var.h \
6889 netinet/udp.h \
6890 netipx/ipx.h \
6891 sys/un.h \
6893 do :
6894 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6895 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6896 #ifdef HAVE_SYS_SOCKET_H
6897 # include <sys/socket.h>
6898 #endif
6899 #ifdef HAVE_SYS_SOCKETVAR_H
6900 # include <sys/socketvar.h>
6901 #endif
6902 #ifdef HAVE_NET_ROUTE_H
6903 # include <net/route.h>
6904 #endif
6905 #ifdef HAVE_NETINET_IN_H
6906 # include <netinet/in.h>
6907 #endif
6908 #ifdef HAVE_NETINET_IN_SYSTM_H
6909 # include <netinet/in_systm.h>
6910 #endif
6911 #ifdef HAVE_NET_IF_H
6912 # include <net/if.h>
6913 #endif
6914 #ifdef HAVE_NETINET_IP_H
6915 # include <netinet/ip.h>
6916 #endif
6918 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6919 cat >>confdefs.h <<_ACEOF
6920 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6921 _ACEOF
6925 done
6928 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6929 do :
6930 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6931 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6932 #ifdef HAVE_ALIAS_H
6933 # include <alias.h>
6934 #endif
6935 #ifdef HAVE_SYS_SOCKET_H
6936 # include <sys/socket.h>
6937 #endif
6938 #ifdef HAVE_SYS_SOCKETVAR_H
6939 # include <sys/socketvar.h>
6940 #endif
6941 #ifdef HAVE_SYS_TIMEOUT_H
6942 # include <sys/timeout.h>
6943 #endif
6944 #ifdef HAVE_NETINET_IN_H
6945 # include <netinet/in.h>
6946 #endif
6947 #ifdef HAVE_NETINET_IN_SYSTM_H
6948 # include <netinet/in_systm.h>
6949 #endif
6950 #ifdef HAVE_NETINET_IP_H
6951 # include <netinet/ip.h>
6952 #endif
6953 #ifdef HAVE_NETINET_IP_VAR_H
6954 # include <netinet/ip_var.h>
6955 #endif
6956 #ifdef HAVE_NETINET_IP_ICMP_H
6957 # include <netinet/ip_icmp.h>
6958 #endif
6959 #ifdef HAVE_NETINET_UDP_H
6960 # include <netinet/udp.h>
6961 #endif
6962 #ifdef HAVE_NETINET_TCP_H
6963 # include <netinet/tcp.h>
6964 #endif
6965 #ifdef HAVE_NETINET_TCP_TIMER_H
6966 #include <netinet/tcp_timer.h>
6967 #endif
6969 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6970 cat >>confdefs.h <<_ACEOF
6971 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6972 _ACEOF
6976 done
6979 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6980 do :
6981 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6982 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6983 #ifdef HAVE_ASM_TYPES_H
6984 # include <asm/types.h>
6985 #endif
6986 #ifdef HAVE_SYS_SOCKET_H
6987 # include <sys/socket.h>
6988 #endif
6989 #ifdef HAVE_LINUX_TYPES_H
6990 # include <linux/types.h>
6991 #endif
6993 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6994 cat >>confdefs.h <<_ACEOF
6995 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6996 _ACEOF
7000 done
7003 for ac_header in mach-o/dyld_images.h
7004 do :
7005 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7006 # include <stdbool.h>
7007 #endif
7008 #ifdef HAVE_STDINT_H
7009 # include <stdint.h>
7010 #endif
7012 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7013 cat >>confdefs.h <<_ACEOF
7014 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7015 _ACEOF
7019 done
7022 for ac_header in resolv.h
7023 do :
7024 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7025 #ifdef HAVE_SYS_SOCKET_H
7026 # include <sys/socket.h>
7027 #endif
7028 #ifdef HAVE_NETINET_IN_H
7029 # include <netinet/in.h>
7030 #endif
7031 #ifdef HAVE_ARPA_NAMESER_H
7032 # include <arpa/nameser.h>
7033 #endif
7035 if test "x$ac_cv_header_resolv_h" = xyes; then :
7036 cat >>confdefs.h <<_ACEOF
7037 #define HAVE_RESOLV_H 1
7038 _ACEOF
7042 done
7045 for ac_header in ifaddrs.h
7046 do :
7047 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7049 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7050 cat >>confdefs.h <<_ACEOF
7051 #define HAVE_IFADDRS_H 1
7052 _ACEOF
7056 done
7059 for ac_header in sys/ucontext.h
7060 do :
7061 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7063 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7064 cat >>confdefs.h <<_ACEOF
7065 #define HAVE_SYS_UCONTEXT_H 1
7066 _ACEOF
7070 done
7073 for ac_header in sys/thr.h
7074 do :
7075 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7076 #ifdef HAVE_SYS_UCONTEXT_H
7077 #include <sys/ucontext.h>
7078 #endif
7080 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7081 cat >>confdefs.h <<_ACEOF
7082 #define HAVE_SYS_THR_H 1
7083 _ACEOF
7087 done
7090 for ac_header in pthread_np.h
7091 do :
7092 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7093 #include <pthread.h>
7094 #endif
7096 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7097 cat >>confdefs.h <<_ACEOF
7098 #define HAVE_PTHREAD_NP_H 1
7099 _ACEOF
7103 done
7106 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7107 do :
7108 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7109 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7110 #include <sys/time.h>
7111 #endif
7112 #include <sys/types.h>
7113 #ifdef HAVE_ASM_TYPES_H
7114 #include <asm/types.h>
7115 #endif
7117 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7118 cat >>confdefs.h <<_ACEOF
7119 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7120 _ACEOF
7124 done
7127 for ac_header in libprocstat.h
7128 do :
7129 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7130 #include <sys/param.h>
7131 #endif
7132 #ifdef HAVE_SYS_QUEUE_H
7133 #include <sys/queue.h>
7134 #endif
7135 #ifdef HAVE_SYS_SOCKET_H
7136 #include <sys/socket.h>
7137 #endif
7139 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7140 cat >>confdefs.h <<_ACEOF
7141 #define HAVE_LIBPROCSTAT_H 1
7142 _ACEOF
7146 done
7150 dlldir="\${libdir}/wine"
7152 DLLFLAGS="-D_REENTRANT"
7154 LDRPATH_INSTALL=""
7156 LDRPATH_LOCAL=""
7158 LDEXECFLAGS=""
7160 LIBEXT="so"
7161 DLLEXT=".so"
7162 IMPLIBEXT="def"
7163 STATIC_IMPLIBEXT="def.a"
7164 # Extract the first word of "ldd", so it can be a program name with args.
7165 set dummy ldd; ac_word=$2
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7167 $as_echo_n "checking for $ac_word... " >&6; }
7168 if ${ac_cv_path_LDD+:} false; then :
7169 $as_echo_n "(cached) " >&6
7170 else
7171 case $LDD in
7172 [\\/]* | ?:[\\/]*)
7173 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7177 as_dummy="/sbin:/usr/sbin:$PATH"
7178 for as_dir in $as_dummy
7180 IFS=$as_save_IFS
7181 test -z "$as_dir" && as_dir=.
7182 for ac_exec_ext in '' $ac_executable_extensions; do
7183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7184 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7186 break 2
7188 done
7189 done
7190 IFS=$as_save_IFS
7192 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7194 esac
7196 LDD=$ac_cv_path_LDD
7197 if test -n "$LDD"; then
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7199 $as_echo "$LDD" >&6; }
7200 else
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7202 $as_echo "no" >&6; }
7206 if test -n "$ac_tool_prefix"; then
7207 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7208 set dummy ${ac_tool_prefix}otool; ac_word=$2
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7210 $as_echo_n "checking for $ac_word... " >&6; }
7211 if ${ac_cv_prog_OTOOL+:} false; then :
7212 $as_echo_n "(cached) " >&6
7213 else
7214 if test -n "$OTOOL"; then
7215 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7216 else
7217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7218 for as_dir in $PATH
7220 IFS=$as_save_IFS
7221 test -z "$as_dir" && as_dir=.
7222 for ac_exec_ext in '' $ac_executable_extensions; do
7223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7224 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7226 break 2
7228 done
7229 done
7230 IFS=$as_save_IFS
7234 OTOOL=$ac_cv_prog_OTOOL
7235 if test -n "$OTOOL"; then
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7237 $as_echo "$OTOOL" >&6; }
7238 else
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7240 $as_echo "no" >&6; }
7245 if test -z "$ac_cv_prog_OTOOL"; then
7246 ac_ct_OTOOL=$OTOOL
7247 # Extract the first word of "otool", so it can be a program name with args.
7248 set dummy otool; ac_word=$2
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7250 $as_echo_n "checking for $ac_word... " >&6; }
7251 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7252 $as_echo_n "(cached) " >&6
7253 else
7254 if test -n "$ac_ct_OTOOL"; then
7255 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7256 else
7257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7258 for as_dir in $PATH
7260 IFS=$as_save_IFS
7261 test -z "$as_dir" && as_dir=.
7262 for ac_exec_ext in '' $ac_executable_extensions; do
7263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7264 ac_cv_prog_ac_ct_OTOOL="otool"
7265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7266 break 2
7268 done
7269 done
7270 IFS=$as_save_IFS
7274 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7275 if test -n "$ac_ct_OTOOL"; then
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7277 $as_echo "$ac_ct_OTOOL" >&6; }
7278 else
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7280 $as_echo "no" >&6; }
7283 if test "x$ac_ct_OTOOL" = x; then
7284 OTOOL="otool"
7285 else
7286 case $cross_compiling:$ac_tool_warned in
7287 yes:)
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7290 ac_tool_warned=yes ;;
7291 esac
7292 OTOOL=$ac_ct_OTOOL
7294 else
7295 OTOOL="$ac_cv_prog_OTOOL"
7298 if test -n "$ac_tool_prefix"; then
7299 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7300 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7302 $as_echo_n "checking for $ac_word... " >&6; }
7303 if ${ac_cv_prog_READELF+:} false; then :
7304 $as_echo_n "(cached) " >&6
7305 else
7306 if test -n "$READELF"; then
7307 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7308 else
7309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7310 for as_dir in $PATH
7312 IFS=$as_save_IFS
7313 test -z "$as_dir" && as_dir=.
7314 for ac_exec_ext in '' $ac_executable_extensions; do
7315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7316 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7318 break 2
7320 done
7321 done
7322 IFS=$as_save_IFS
7326 READELF=$ac_cv_prog_READELF
7327 if test -n "$READELF"; then
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7329 $as_echo "$READELF" >&6; }
7330 else
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7332 $as_echo "no" >&6; }
7337 if test -z "$ac_cv_prog_READELF"; then
7338 ac_ct_READELF=$READELF
7339 # Extract the first word of "readelf", so it can be a program name with args.
7340 set dummy readelf; ac_word=$2
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7342 $as_echo_n "checking for $ac_word... " >&6; }
7343 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7344 $as_echo_n "(cached) " >&6
7345 else
7346 if test -n "$ac_ct_READELF"; then
7347 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7348 else
7349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7350 for as_dir in $PATH
7352 IFS=$as_save_IFS
7353 test -z "$as_dir" && as_dir=.
7354 for ac_exec_ext in '' $ac_executable_extensions; do
7355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7356 ac_cv_prog_ac_ct_READELF="readelf"
7357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7358 break 2
7360 done
7361 done
7362 IFS=$as_save_IFS
7366 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7367 if test -n "$ac_ct_READELF"; then
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7369 $as_echo "$ac_ct_READELF" >&6; }
7370 else
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7372 $as_echo "no" >&6; }
7375 if test "x$ac_ct_READELF" = x; then
7376 READELF="true"
7377 else
7378 case $cross_compiling:$ac_tool_warned in
7379 yes:)
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7382 ac_tool_warned=yes ;;
7383 esac
7384 READELF=$ac_ct_READELF
7386 else
7387 READELF="$ac_cv_prog_READELF"
7390 wine_rules_file=conf$$rules.make
7391 rm -f $wine_rules_file
7392 ALL_POT_FILES=""
7393 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7394 ALL_TEST_RESOURCES=""
7397 wine_fn_append_file ()
7399 as_fn_append $1 " \\$as_nl $2"
7402 wine_fn_ignore_file ()
7404 case "$1" in
7405 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7406 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7407 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7408 esac
7411 wine_fn_append_rule ()
7413 $as_echo "$1" >>$wine_rules_file
7416 wine_fn_has_flag ()
7418 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7421 wine_fn_depend_rules ()
7423 wine_fn_append_rule \
7424 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in Makefile \$(MAKEDEP)
7425 \$(MAKEDEP) $ac_dir
7426 depend: $ac_dir/depend
7427 .PHONY: $ac_dir/depend
7428 $ac_dir/depend: \$(MAKEDEP) dummy
7429 \$(MAKEDEP) $ac_dir"
7432 wine_fn_pot_rules ()
7434 test "x$with_gettextpo" = xyes || return
7436 if wine_fn_has_flag mc
7437 then
7438 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7439 wine_fn_append_rule \
7440 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7441 @cd $ac_dir && \$(MAKE) msg.pot
7442 $ac_dir/msg.pot: tools/wmc include"
7444 if wine_fn_has_flag po
7445 then
7446 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7447 wine_fn_append_rule \
7448 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7449 @cd $ac_dir && \$(MAKE) rsrc.pot
7450 $ac_dir/rsrc.pot: tools/wrc include"
7454 wine_fn_all_rules ()
7456 wine_fn_depend_rules
7457 wine_fn_append_rule \
7458 "all: $ac_dir
7459 .PHONY: $ac_dir
7460 $ac_dir: $ac_dir/Makefile dummy
7461 @cd $ac_dir && \$(MAKE)"
7464 wine_fn_install_rules ()
7466 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7468 wine_fn_append_rule \
7469 ".PHONY: $ac_dir/install $ac_dir/uninstall
7470 $ac_dir/install:: $ac_dir
7471 @cd $ac_dir && \$(MAKE) install
7472 $ac_dir/uninstall:: $ac_dir/Makefile
7473 @cd $ac_dir && \$(MAKE) uninstall
7474 install:: $ac_dir/install
7475 __uninstall__: $ac_dir/uninstall"
7477 if wine_fn_has_flag install-lib
7478 then
7479 wine_fn_append_rule \
7480 ".PHONY: $ac_dir/install-lib
7481 $ac_dir/install-lib:: $ac_dir
7482 @cd $ac_dir && \$(MAKE) install-lib
7483 install-lib:: $ac_dir/install-lib"
7486 if wine_fn_has_flag install-dev
7487 then
7488 wine_fn_append_rule \
7489 ".PHONY: $ac_dir/install-dev
7490 $ac_dir/install-dev:: $ac_dir
7491 @cd $ac_dir && \$(MAKE) install-dev
7492 install-dev:: $ac_dir/install-dev"
7496 wine_fn_clean_rules ()
7498 ac_clean=$@
7499 ac_extraclean="$ac_dir/Makefile"
7500 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7501 case $ac_dir in
7502 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7503 esac
7505 if wine_fn_has_flag clean
7506 then
7507 wine_fn_append_rule \
7508 "__clean__: $ac_dir/clean
7509 .PHONY: $ac_dir/clean
7510 $ac_dir/clean: $ac_dir/Makefile
7511 @cd $ac_dir && \$(MAKE) clean
7512 \$(RM) $ac_extraclean"
7513 else
7514 wine_fn_append_rule \
7515 "__clean__: $ac_dir/clean
7516 .PHONY: $ac_dir/clean
7517 $ac_dir/clean: dummy
7518 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7522 wine_fn_disabled_rules ()
7524 ac_clean=$@
7525 ac_extraclean="$ac_dir/Makefile"
7526 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7528 wine_fn_append_rule \
7529 "__clean__: $ac_dir/clean
7530 .PHONY: $ac_dir/clean
7531 $ac_dir/clean: dummy
7532 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7535 wine_fn_config_makefile ()
7537 ac_dir=$1
7538 ac_enable=$2
7539 ac_flags=$3
7541 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7542 wine_fn_disabled_rules; return
7544 wine_fn_all_rules
7545 wine_fn_install_rules
7546 wine_fn_clean_rules
7549 wine_fn_config_lib ()
7551 ac_name=$1
7552 ac_flags=$2
7553 ac_dir=dlls/$ac_name
7554 ac_deps="include"
7556 if test "x$enable_tools" = xno; then :
7558 else
7559 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7561 wine_fn_all_rules
7562 wine_fn_clean_rules
7564 wine_fn_append_rule \
7565 ".PHONY: $ac_dir/install $ac_dir/uninstall
7566 $ac_dir/install:: $ac_dir
7567 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7568 $ac_dir/uninstall::
7569 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7570 install install-dev:: $ac_dir/install
7571 __uninstall__: $ac_dir/uninstall
7572 __builddeps__: $ac_dir
7573 $ac_dir: $ac_deps"
7576 wine_fn_config_dll ()
7578 ac_name=$1
7579 ac_dir=dlls/$ac_name
7580 ac_enable=$2
7581 ac_flags=$3
7582 ac_implib=${4:-$ac_name}
7583 ac_file=$ac_dir/lib$ac_implib
7584 ac_dll=$ac_name
7585 ac_deps="include"
7586 ac_implibflags=""
7588 if test "x$enable_tools" = xno; then :
7590 else
7591 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7593 case $ac_name in
7594 *16) ac_implibflags=" -m16" ;;
7595 *.*) ;;
7596 *) ac_dll=$ac_dll.dll ;;
7597 esac
7599 ac_clean=
7600 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7601 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7602 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7603 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7605 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7606 if test "$ac_enable" != enable_win16
7607 then
7608 wine_fn_depend_rules
7609 wine_fn_clean_rules $ac_clean
7610 wine_fn_pot_rules
7611 else
7612 wine_fn_disabled_rules $ac_clean
7613 return
7615 else
7616 wine_fn_all_rules
7617 wine_fn_clean_rules $ac_clean
7618 wine_fn_append_rule \
7619 "$ac_dir: __builddeps__
7620 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7621 @cd $ac_dir && \$(MAKE) \$@
7622 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7623 install install-lib:: $ac_dir/install-lib
7624 __uninstall__: $ac_dir/uninstall"
7625 if test -n "$DLLEXT"
7626 then
7627 wine_fn_append_rule \
7628 "$ac_dir/install-lib:: $ac_dir
7629 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7630 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7631 $ac_dir/uninstall::
7632 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7633 else
7634 wine_fn_append_rule \
7635 "$ac_dir/install-lib:: $ac_dir
7636 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7637 $ac_dir/uninstall::
7638 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7641 wine_fn_pot_rules
7644 if wine_fn_has_flag staticimplib
7645 then
7646 wine_fn_append_rule \
7647 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7648 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7649 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7650 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7651 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7652 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7653 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7654 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7655 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7656 $ac_dir/uninstall::
7657 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7658 install install-dev:: $ac_dir/install-dev
7659 __uninstall__: $ac_dir/uninstall"
7661 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7662 then
7663 wine_fn_append_rule \
7664 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7665 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7666 $ac_dir/uninstall::
7667 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7670 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7671 then
7672 wine_fn_append_rule \
7673 "__builddeps__: $ac_file.cross.a
7674 $ac_file.cross.a: $ac_dir/Makefile dummy
7675 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7678 elif wine_fn_has_flag implib
7679 then
7680 wine_fn_append_rule \
7681 "__builddeps__: $ac_file.$IMPLIBEXT
7682 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7683 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7684 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7685 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7686 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7687 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7688 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7689 $ac_dir/uninstall::
7690 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7691 install install-dev:: $ac_dir/install-dev
7692 __uninstall__: $ac_dir/uninstall"
7693 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7694 then
7695 wine_fn_append_rule \
7696 "__builddeps__: $ac_file.cross.a
7697 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7698 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7701 if test "$ac_name" != "$ac_implib"
7702 then
7703 wine_fn_append_rule \
7704 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7705 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7706 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7707 clean::
7708 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7709 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7710 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7711 then
7712 wine_fn_append_rule \
7713 "__builddeps__: dlls/lib$ac_implib.cross.a
7714 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7715 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7716 clean::
7717 \$(RM) dlls/lib$ac_implib.cross.a"
7718 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7724 wine_fn_config_program ()
7726 ac_name=$1
7727 ac_dir=programs/$ac_name
7728 ac_enable=$2
7729 ac_flags=$3
7730 ac_program=$ac_name
7732 case $ac_name in
7733 *.*) ;;
7734 *) ac_program=$ac_program.exe ;;
7735 esac
7737 ac_clean=
7738 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7739 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7740 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7741 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7743 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7744 wine_fn_disabled_rules $ac_clean; return
7747 wine_fn_all_rules
7748 wine_fn_clean_rules $ac_clean
7749 wine_fn_append_rule "$ac_dir: __builddeps__"
7750 wine_fn_pot_rules
7752 wine_fn_has_flag install || return
7753 wine_fn_append_rule \
7754 ".PHONY: $ac_dir/install $ac_dir/uninstall
7755 install install-lib:: $ac_dir/install
7756 __uninstall__: $ac_dir/uninstall"
7758 if test -n "$DLLEXT"
7759 then
7760 wine_fn_append_rule \
7761 "$ac_dir/install:: $ac_dir
7762 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7763 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7764 $ac_dir/uninstall::
7765 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7767 if test -z "$with_wine64" && wine_fn_has_flag installbin
7768 then
7769 wine_fn_append_rule \
7770 "$ac_dir/install:: __tooldeps__
7771 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7772 $ac_dir/uninstall::
7773 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7775 else
7776 wine_fn_append_rule \
7777 "$ac_dir/install:: $ac_dir
7778 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7779 $ac_dir/uninstall::
7780 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7783 if test -z "$with_wine64" && wine_fn_has_flag manpage
7784 then
7785 wine_fn_append_rule \
7786 "$ac_dir/install:: $ac_dir
7787 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7788 $ac_dir/uninstall::
7789 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7793 wine_fn_config_test ()
7795 ac_dir=$1
7796 ac_name=$2
7797 ac_flags=$3
7799 ac_clean=
7800 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7801 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7803 if test "x$enable_tests" = xno; then :
7804 wine_fn_disabled_rules $ac_clean; return
7807 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7808 wine_fn_all_rules
7809 wine_fn_clean_rules $ac_clean
7811 wine_fn_append_rule \
7812 "$ac_dir: programs/winetest/Makefile __builddeps__
7813 programs/winetest: $ac_dir
7814 check test: $ac_dir/test
7815 .PHONY: $ac_dir/test
7816 $ac_dir/test: dummy
7817 @cd $ac_dir && \$(MAKE) test
7818 testclean::
7819 \$(RM) $ac_dir/*.ok"
7821 if test -n "$CROSSTARGET"
7822 then
7823 wine_fn_append_rule \
7824 "crosstest: $ac_dir/crosstest
7825 .PHONY: $ac_dir/crosstest
7826 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7827 @cd $ac_dir && \$(MAKE) crosstest"
7831 wine_fn_config_tool ()
7833 ac_dir=$1
7834 ac_flags=$2
7835 if test "x$enable_tools" = xno; then :
7836 return
7839 wine_fn_all_rules
7840 wine_fn_install_rules
7841 wine_fn_clean_rules
7843 wine_fn_append_rule "__tooldeps__: $ac_dir"
7844 wine_fn_append_rule "$ac_dir: libs/port"
7845 case $ac_dir in
7846 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7847 esac
7850 wine_fn_config_symlink ()
7852 ac_linkdir=
7853 if test "x$1" = "x-d"
7854 then
7855 ac_linkdir=$2
7856 shift; shift
7858 ac_links=$@
7859 wine_fn_append_rule \
7860 "$ac_links:
7861 @./config.status \$@
7862 distclean::
7863 \$(RM) $ac_links"
7864 for f in $ac_links; do wine_fn_ignore_file $f; done
7865 test -n "$ac_linkdir" || return
7866 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7869 wine_binary="wine"
7870 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7871 WINELOADER_PROGRAMS="$wine_binary"
7873 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7875 case $host_os in
7876 cygwin*|mingw32*)
7877 if test -n "$ac_tool_prefix"; then
7878 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7879 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7881 $as_echo_n "checking for $ac_word... " >&6; }
7882 if ${ac_cv_prog_DLLTOOL+:} false; then :
7883 $as_echo_n "(cached) " >&6
7884 else
7885 if test -n "$DLLTOOL"; then
7886 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7887 else
7888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7889 for as_dir in $PATH
7891 IFS=$as_save_IFS
7892 test -z "$as_dir" && as_dir=.
7893 for ac_exec_ext in '' $ac_executable_extensions; do
7894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7895 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7897 break 2
7899 done
7900 done
7901 IFS=$as_save_IFS
7905 DLLTOOL=$ac_cv_prog_DLLTOOL
7906 if test -n "$DLLTOOL"; then
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7908 $as_echo "$DLLTOOL" >&6; }
7909 else
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7911 $as_echo "no" >&6; }
7916 if test -z "$ac_cv_prog_DLLTOOL"; then
7917 ac_ct_DLLTOOL=$DLLTOOL
7918 # Extract the first word of "dlltool", so it can be a program name with args.
7919 set dummy dlltool; ac_word=$2
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7921 $as_echo_n "checking for $ac_word... " >&6; }
7922 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7923 $as_echo_n "(cached) " >&6
7924 else
7925 if test -n "$ac_ct_DLLTOOL"; then
7926 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7927 else
7928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7929 for as_dir in $PATH
7931 IFS=$as_save_IFS
7932 test -z "$as_dir" && as_dir=.
7933 for ac_exec_ext in '' $ac_executable_extensions; do
7934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7935 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7937 break 2
7939 done
7940 done
7941 IFS=$as_save_IFS
7945 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7946 if test -n "$ac_ct_DLLTOOL"; then
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7948 $as_echo "$ac_ct_DLLTOOL" >&6; }
7949 else
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7951 $as_echo "no" >&6; }
7954 if test "x$ac_ct_DLLTOOL" = x; then
7955 DLLTOOL="false"
7956 else
7957 case $cross_compiling:$ac_tool_warned in
7958 yes:)
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7961 ac_tool_warned=yes ;;
7962 esac
7963 DLLTOOL=$ac_ct_DLLTOOL
7965 else
7966 DLLTOOL="$ac_cv_prog_DLLTOOL"
7969 LIBEXT="dll"
7970 DLLEXT=""
7971 IMPLIBEXT="a"
7972 STATIC_IMPLIBEXT="a"
7973 enable_iphlpapi=${enable_iphlpapi:-no}
7974 enable_kernel32=${enable_kernel32:-no}
7975 enable_msvcrt=${enable_msvcrt:-no}
7976 enable_ntdll=${enable_ntdll:-no}
7977 enable_ws2_32=${enable_ws2_32:-no}
7978 enable_loader=${enable_loader:-no}
7979 enable_server=${enable_server:-no}
7980 with_x=${with_x:-no}
7981 with_pthread=${with_pthread:-no}
7983 crtlibs=""
7984 case $host_os in
7985 mingw32*)
7986 crtlibs="-lmsvcrt"
7987 SOCKET_LIBS="-lws2_32"
7989 esac
7991 LIBWINE_SHAREDLIB="libwine.dll"
7993 LIBWINE_IMPORTLIB="libwine.a"
7995 LIBWINE_INSTALL_LIB="libwine.dll"
7997 LIBWINE_INSTALL_DEV="libwine.a"
7999 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8001 LIBWINE_DEPENDS="wine.def"
8005 darwin*|macosx*)
8006 for ac_header in libunwind.h
8007 do :
8008 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8009 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8010 cat >>confdefs.h <<_ACEOF
8011 #define HAVE_LIBUNWIND_H 1
8012 _ACEOF
8016 done
8018 LIBEXT="dylib"
8019 DLLFLAGS="$DLLFLAGS -fPIC"
8020 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8021 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8022 COREFOUNDATION_LIBS="-framework CoreFoundation"
8024 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8026 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8028 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8030 CORESERVICES_LIBS="-framework CoreServices"
8032 APPKIT_LIBS="-framework AppKit"
8034 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8036 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8037 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8038 $as_echo_n "(cached) " >&6
8039 else
8040 ac_wine_try_cflags_saved=$CFLAGS
8041 CFLAGS="$CFLAGS -Wl,-no_pie"
8042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8043 /* end confdefs.h. */
8044 int main(int argc, char **argv) { return 0; }
8045 _ACEOF
8046 if ac_fn_c_try_link "$LINENO"; then :
8047 ac_cv_cflags__Wl__no_pie=yes
8048 else
8049 ac_cv_cflags__Wl__no_pie=no
8051 rm -f core conftest.err conftest.$ac_objext \
8052 conftest$ac_exeext conftest.$ac_ext
8053 CFLAGS=$ac_wine_try_cflags_saved
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8056 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8057 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8058 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8060 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8061 then
8062 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8065 if test "$ac_cv_header_Security_Security_h" = "yes"
8066 then
8067 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8069 ac_save_LIBS="$LIBS"
8070 LIBS="$LIBS $SECURITY_LIBS"
8071 for ac_func in SSLCopyPeerCertificates
8072 do :
8073 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8074 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8075 cat >>confdefs.h <<_ACEOF
8076 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8077 _ACEOF
8080 done
8082 LIBS="$ac_save_LIBS"
8083 with_gnutls=${with_gnutls:-no}
8085 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8086 then
8087 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8088 then
8089 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8091 else
8092 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8095 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8096 ac_save_LIBS="$LIBS"
8097 LIBS="$LIBS $COREAUDIO_LIBS"
8098 for ac_func in AUGraphAddNode
8099 do :
8100 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8101 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8102 cat >>confdefs.h <<_ACEOF
8103 #define HAVE_AUGRAPHADDNODE 1
8104 _ACEOF
8107 done
8109 LIBS="$ac_save_LIBS"
8111 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8112 then
8113 OPENAL_LIBS="-framework OpenAL"
8116 cat >>confdefs.h <<_ACEOF
8117 #define HAVE_OPENAL 1
8118 _ACEOF
8120 ac_cv_lib_openal=yes
8122 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8123 then
8124 OPENCL_LIBS="-framework OpenCL"
8126 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8128 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8129 then
8130 ac_save_LIBS="$LIBS"
8131 LIBS="$LIBS $IOKIT_LIBS"
8132 for ac_func in IOHIDManagerCreate
8133 do :
8134 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8135 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8136 cat >>confdefs.h <<_ACEOF
8137 #define HAVE_IOHIDMANAGERCREATE 1
8138 _ACEOF
8141 done
8143 LIBS="$ac_save_LIBS"
8145 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8146 then
8147 ac_save_LIBS="$LIBS"
8148 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8150 $as_echo_n "checking for the QuickTime framework... " >&6; }
8151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8152 /* end confdefs.h. */
8153 #include <QuickTime/ImageCompression.h>
8155 main ()
8157 CodecManagerVersion(NULL);
8159 return 0;
8161 _ACEOF
8162 if ac_fn_c_try_link "$LINENO"; then :
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8164 $as_echo "yes" >&6; }
8165 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8167 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8168 else
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8170 $as_echo "no" >&6; }
8171 ac_cv_header_QuickTime_ImageCompression_h=no
8173 rm -f core conftest.err conftest.$ac_objext \
8174 conftest$ac_exeext conftest.$ac_ext
8175 LIBS="$ac_save_LIBS"
8177 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8178 then
8179 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8181 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8182 then
8183 CARBON_LIBS="-framework Carbon"
8187 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8188 then
8189 ac_save_LIBS="$LIBS"
8190 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8191 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8192 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8193 enable_winemac_drv=${enable_winemac_drv:-yes}
8196 LIBS="$ac_save_LIBS"
8199 if test "x$enable_win16" = "xyes"
8200 then
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8202 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8203 if test "$cross_compiling" = yes; then :
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8205 $as_echo "cross-compiling, assuming yes" >&6; }
8206 else
8207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8208 /* end confdefs.h. */
8209 asm(".text\n"
8210 "bad:\tnop;nop\n"
8211 "good:\tnop;nop\n\t"
8212 ".globl _testfunc\n"
8213 "_testfunc:\tcallw good");
8214 extern void testfunc();
8216 main ()
8218 unsigned short *p = (unsigned short *)testfunc;
8219 return p[0] != 0xe866 || p[1] != 0xfffa
8221 return 0;
8223 _ACEOF
8224 if ac_fn_c_try_run "$LINENO"; then :
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8226 $as_echo "yes" >&6; }
8227 else
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8229 $as_echo "no" >&6; }
8230 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
8232 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8233 conftest.$ac_objext conftest.beam conftest.$ac_ext
8238 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8240 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8242 LIBWINE_INSTALL_DEV="libwine.dylib"
8244 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8246 WINELOADER_DEPENDS="wine_info.plist"
8250 linux-android*)
8251 DLLFLAGS="$DLLFLAGS -fPIC"
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8253 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8254 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8255 $as_echo_n "(cached) " >&6
8256 else
8257 ac_wine_try_cflags_saved=$CFLAGS
8258 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8260 /* end confdefs.h. */
8261 int main(int argc, char **argv) { return 0; }
8262 _ACEOF
8263 if ac_fn_c_try_link "$LINENO"; then :
8264 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8265 else
8266 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8268 rm -f core conftest.err conftest.$ac_objext \
8269 conftest$ac_exeext conftest.$ac_ext
8270 CFLAGS=$ac_wine_try_cflags_saved
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8273 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8274 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8275 LDEXECFLAGS="-Wl,--export-dynamic"
8277 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8279 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8280 if eval \${$as_ac_var+:} false; then :
8281 $as_echo_n "(cached) " >&6
8282 else
8283 ac_wine_try_cflags_saved=$CFLAGS
8284 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8286 /* end confdefs.h. */
8287 int main(int argc, char **argv) { return 0; }
8288 _ACEOF
8289 if ac_fn_c_try_link "$LINENO"; then :
8290 eval "$as_ac_var=yes"
8291 else
8292 eval "$as_ac_var=no"
8294 rm -f core conftest.err conftest.$ac_objext \
8295 conftest$ac_exeext conftest.$ac_ext
8296 CFLAGS=$ac_wine_try_cflags_saved
8298 eval ac_res=\$$as_ac_var
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8300 $as_echo "$ac_res" >&6; }
8301 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8302 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8303 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8304 else
8305 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8307 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8308 if eval \${$as_ac_var+:} false; then :
8309 $as_echo_n "(cached) " >&6
8310 else
8311 ac_wine_try_cflags_saved=$CFLAGS
8312 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8314 /* end confdefs.h. */
8315 int main(int argc, char **argv) { return 0; }
8316 _ACEOF
8317 if ac_fn_c_try_link "$LINENO"; then :
8318 eval "$as_ac_var=yes"
8319 else
8320 eval "$as_ac_var=no"
8322 rm -f core conftest.err conftest.$ac_objext \
8323 conftest$ac_exeext conftest.$ac_ext
8324 CFLAGS=$ac_wine_try_cflags_saved
8326 eval ac_res=\$$as_ac_var
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8328 $as_echo "$ac_res" >&6; }
8329 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8330 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8331 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8336 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8337 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8338 $as_echo_n "(cached) " >&6
8339 else
8340 ac_wine_try_cflags_saved=$CFLAGS
8341 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8343 /* end confdefs.h. */
8344 int main(int argc, char **argv) { return 0; }
8345 _ACEOF
8346 if ac_fn_c_try_link "$LINENO"; then :
8347 ac_cv_cflags__Wl___enable_new_dtags=yes
8348 else
8349 ac_cv_cflags__Wl___enable_new_dtags=no
8351 rm -f core conftest.err conftest.$ac_objext \
8352 conftest$ac_exeext conftest.$ac_ext
8353 CFLAGS=$ac_wine_try_cflags_saved
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8356 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8357 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8358 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8361 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8362 if ${ac_cv_cflags__Wl__pie+:} false; then :
8363 $as_echo_n "(cached) " >&6
8364 else
8365 ac_wine_try_cflags_saved=$CFLAGS
8366 CFLAGS="$CFLAGS -Wl,-pie"
8367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8368 /* end confdefs.h. */
8369 int main(int argc, char **argv) { return 0; }
8370 _ACEOF
8371 if ac_fn_c_try_link "$LINENO"; then :
8372 ac_cv_cflags__Wl__pie=yes
8373 else
8374 ac_cv_cflags__Wl__pie=no
8376 rm -f core conftest.err conftest.$ac_objext \
8377 conftest$ac_exeext conftest.$ac_ext
8378 CFLAGS=$ac_wine_try_cflags_saved
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8381 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8382 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8383 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8386 LIBWINE_SHAREDLIB="libwine.so"
8388 LIBWINE_INSTALL_LIB="libwine.so"
8390 LIBWINE_LDFLAGS="-shared"
8395 DLLFLAGS="$DLLFLAGS -fPIC"
8396 LDEXECFLAGS=""
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8398 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8399 if ${ac_cv_c_dll_gnuelf+:} false; then :
8400 $as_echo_n "(cached) " >&6
8401 else
8402 ac_wine_try_cflags_saved=$CFLAGS
8403 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8405 /* end confdefs.h. */
8406 void myfunc() {}
8407 _ACEOF
8408 if ac_fn_c_try_link "$LINENO"; then :
8409 ac_cv_c_dll_gnuelf="yes"
8410 else
8411 ac_cv_c_dll_gnuelf="no"
8413 rm -f core conftest.err conftest.$ac_objext \
8414 conftest$ac_exeext conftest.$ac_ext
8415 CFLAGS=$ac_wine_try_cflags_saved
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8418 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8419 if test "$ac_cv_c_dll_gnuelf" = "yes"
8420 then
8421 LIBWINE_LDFLAGS="-shared"
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8423 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8424 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8425 $as_echo_n "(cached) " >&6
8426 else
8427 ac_wine_try_cflags_saved=$CFLAGS
8428 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8430 /* end confdefs.h. */
8431 int main(int argc, char **argv) { return 0; }
8432 _ACEOF
8433 if ac_fn_c_try_link "$LINENO"; then :
8434 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8435 else
8436 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8438 rm -f core conftest.err conftest.$ac_objext \
8439 conftest$ac_exeext conftest.$ac_ext
8440 CFLAGS=$ac_wine_try_cflags_saved
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8443 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8444 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8445 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8446 else
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8448 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8449 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8450 $as_echo_n "(cached) " >&6
8451 else
8452 ac_wine_try_cflags_saved=$CFLAGS
8453 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8455 /* end confdefs.h. */
8456 int main(int argc, char **argv) { return 0; }
8457 _ACEOF
8458 if ac_fn_c_try_link "$LINENO"; then :
8459 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8460 else
8461 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8463 rm -f core conftest.err conftest.$ac_objext \
8464 conftest$ac_exeext conftest.$ac_ext
8465 CFLAGS=$ac_wine_try_cflags_saved
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8468 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8469 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8470 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8474 echo '{ global: *; };' >conftest.map
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8476 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8477 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8478 $as_echo_n "(cached) " >&6
8479 else
8480 ac_wine_try_cflags_saved=$CFLAGS
8481 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8483 /* end confdefs.h. */
8484 int main(int argc, char **argv) { return 0; }
8485 _ACEOF
8486 if ac_fn_c_try_link "$LINENO"; then :
8487 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8488 else
8489 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8491 rm -f core conftest.err conftest.$ac_objext \
8492 conftest$ac_exeext conftest.$ac_ext
8493 CFLAGS=$ac_wine_try_cflags_saved
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8496 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8497 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8498 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8500 rm -f conftest.map
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8503 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8504 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8505 $as_echo_n "(cached) " >&6
8506 else
8507 ac_wine_try_cflags_saved=$CFLAGS
8508 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8510 /* end confdefs.h. */
8511 int main(int argc, char **argv) { return 0; }
8512 _ACEOF
8513 if ac_fn_c_try_link "$LINENO"; then :
8514 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8515 else
8516 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8518 rm -f core conftest.err conftest.$ac_objext \
8519 conftest$ac_exeext conftest.$ac_ext
8520 CFLAGS=$ac_wine_try_cflags_saved
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8523 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8524 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8525 LDEXECFLAGS="-Wl,--export-dynamic"
8528 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8530 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8531 if eval \${$as_ac_var+:} false; then :
8532 $as_echo_n "(cached) " >&6
8533 else
8534 ac_wine_try_cflags_saved=$CFLAGS
8535 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8537 /* end confdefs.h. */
8538 int main(int argc, char **argv) { return 0; }
8539 _ACEOF
8540 if ac_fn_c_try_link "$LINENO"; then :
8541 eval "$as_ac_var=yes"
8542 else
8543 eval "$as_ac_var=no"
8545 rm -f core conftest.err conftest.$ac_objext \
8546 conftest$ac_exeext conftest.$ac_ext
8547 CFLAGS=$ac_wine_try_cflags_saved
8549 eval ac_res=\$$as_ac_var
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8551 $as_echo "$ac_res" >&6; }
8552 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8553 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8554 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8555 else
8556 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8558 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8559 if eval \${$as_ac_var+:} false; then :
8560 $as_echo_n "(cached) " >&6
8561 else
8562 ac_wine_try_cflags_saved=$CFLAGS
8563 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8565 /* end confdefs.h. */
8566 int main(int argc, char **argv) { return 0; }
8567 _ACEOF
8568 if ac_fn_c_try_link "$LINENO"; then :
8569 eval "$as_ac_var=yes"
8570 else
8571 eval "$as_ac_var=no"
8573 rm -f core conftest.err conftest.$ac_objext \
8574 conftest$ac_exeext conftest.$ac_ext
8575 CFLAGS=$ac_wine_try_cflags_saved
8577 eval ac_res=\$$as_ac_var
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8579 $as_echo "$ac_res" >&6; }
8580 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8581 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8582 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8587 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8588 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8589 $as_echo_n "(cached) " >&6
8590 else
8591 ac_wine_try_cflags_saved=$CFLAGS
8592 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8594 /* end confdefs.h. */
8595 int main(int argc, char **argv) { return 0; }
8596 _ACEOF
8597 if ac_fn_c_try_link "$LINENO"; then :
8598 ac_cv_cflags__Wl___enable_new_dtags=yes
8599 else
8600 ac_cv_cflags__Wl___enable_new_dtags=no
8602 rm -f core conftest.err conftest.$ac_objext \
8603 conftest$ac_exeext conftest.$ac_ext
8604 CFLAGS=$ac_wine_try_cflags_saved
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8607 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8608 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8609 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8612 case $host_cpu in
8613 *i[3456789]86* | x86_64)
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8615 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8616 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8617 $as_echo_n "(cached) " >&6
8618 else
8619 ac_wine_try_cflags_saved=$CFLAGS
8620 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8622 /* end confdefs.h. */
8623 int main(int argc, char **argv) { return 0; }
8624 _ACEOF
8625 if ac_fn_c_try_link "$LINENO"; then :
8626 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8627 else
8628 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8630 rm -f core conftest.err conftest.$ac_objext \
8631 conftest$ac_exeext conftest.$ac_ext
8632 CFLAGS=$ac_wine_try_cflags_saved
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8635 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8636 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8637 case $host_os in
8638 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8639 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8640 esac
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8644 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8645 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8646 $as_echo_n "(cached) " >&6
8647 else
8648 ac_wine_try_cflags_saved=$CFLAGS
8649 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8651 /* end confdefs.h. */
8652 int main(int argc, char **argv) { return 0; }
8653 _ACEOF
8654 if ac_fn_c_try_link "$LINENO"; then :
8655 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8656 else
8657 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8659 rm -f core conftest.err conftest.$ac_objext \
8660 conftest$ac_exeext conftest.$ac_ext
8661 CFLAGS=$ac_wine_try_cflags_saved
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8664 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8665 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8667 else
8668 # Extract the first word of "prelink", so it can be a program name with args.
8669 set dummy prelink; ac_word=$2
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8671 $as_echo_n "checking for $ac_word... " >&6; }
8672 if ${ac_cv_path_PRELINK+:} false; then :
8673 $as_echo_n "(cached) " >&6
8674 else
8675 case $PRELINK in
8676 [\\/]* | ?:[\\/]*)
8677 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8681 for as_dir in /sbin /usr/sbin $PATH
8683 IFS=$as_save_IFS
8684 test -z "$as_dir" && as_dir=.
8685 for ac_exec_ext in '' $ac_executable_extensions; do
8686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8687 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8689 break 2
8691 done
8692 done
8693 IFS=$as_save_IFS
8695 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8697 esac
8699 PRELINK=$ac_cv_path_PRELINK
8700 if test -n "$PRELINK"; then
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8702 $as_echo "$PRELINK" >&6; }
8703 else
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8705 $as_echo "no" >&6; }
8709 if test "x$PRELINK" = xfalse
8710 then
8711 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8715 esac
8717 else
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8719 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8720 if ${ac_cv_c_dll_unixware+:} false; then :
8721 $as_echo_n "(cached) " >&6
8722 else
8723 ac_wine_try_cflags_saved=$CFLAGS
8724 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8726 /* end confdefs.h. */
8727 void myfunc() {}
8728 _ACEOF
8729 if ac_fn_c_try_link "$LINENO"; then :
8730 ac_cv_c_dll_unixware="yes"
8731 else
8732 ac_cv_c_dll_unixware="no"
8734 rm -f core conftest.err conftest.$ac_objext \
8735 conftest$ac_exeext conftest.$ac_ext
8736 CFLAGS=$ac_wine_try_cflags_saved
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8739 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8740 if test "$ac_cv_c_dll_unixware" = "yes"
8741 then
8742 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8745 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8747 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8749 LIBWINE_INSTALL_DEV="libwine.so"
8751 LIBWINE_DEPENDS="wine.map"
8754 esac
8756 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8757 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8758 enable_winemac_drv=${enable_winemac_drv:-no}
8759 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8761 CROSSTARGET=""
8763 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8764 then
8765 case "$host_cpu" in
8766 i[3456789]86*)
8767 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
8768 mingw32-gcc" ;;
8769 x86_64)
8770 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 " ;;
8772 ac_prefix_list="" ;;
8773 esac
8774 for ac_prog in $ac_prefix_list
8776 # Extract the first word of "$ac_prog", so it can be a program name with args.
8777 set dummy $ac_prog; ac_word=$2
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8779 $as_echo_n "checking for $ac_word... " >&6; }
8780 if ${ac_cv_prog_CROSSCC+:} false; then :
8781 $as_echo_n "(cached) " >&6
8782 else
8783 if test -n "$CROSSCC"; then
8784 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8785 else
8786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8787 for as_dir in $PATH
8789 IFS=$as_save_IFS
8790 test -z "$as_dir" && as_dir=.
8791 for ac_exec_ext in '' $ac_executable_extensions; do
8792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8793 ac_cv_prog_CROSSCC="$ac_prog"
8794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8795 break 2
8797 done
8798 done
8799 IFS=$as_save_IFS
8803 CROSSCC=$ac_cv_prog_CROSSCC
8804 if test -n "$CROSSCC"; then
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8806 $as_echo "$CROSSCC" >&6; }
8807 else
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8809 $as_echo "no" >&6; }
8813 test -n "$CROSSCC" && break
8814 done
8815 test -n "$CROSSCC" || CROSSCC="false"
8817 if test "$CROSSCC" != "false"
8818 then
8819 ac_save_CC="$CC"
8820 CC="$CROSSCC"
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8822 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8824 /* end confdefs.h. */
8827 main ()
8831 return 0;
8833 _ACEOF
8834 if ac_fn_c_try_compile "$LINENO"; then :
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8836 $as_echo "yes" >&6; }
8837 set x $CROSSCC
8838 shift
8839 while test $# -ge 1
8841 case "$1" in
8842 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8843 esac
8844 shift
8845 done
8846 else
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8848 $as_echo "no" >&6; }
8850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8851 CC="$ac_save_CC"
8856 if test "$ac_cv_header_pthread_h" = "yes"
8857 then
8858 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8859 if test "x$ac_cv_func_pthread_create" = xyes; then :
8861 else
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8863 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8864 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8865 $as_echo_n "(cached) " >&6
8866 else
8867 ac_check_lib_save_LIBS=$LIBS
8868 LIBS="-lpthread $LIBS"
8869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8870 /* end confdefs.h. */
8872 /* Override any GCC internal prototype to avoid an error.
8873 Use char because int might match the return type of a GCC
8874 builtin and then its argument prototype would still apply. */
8875 #ifdef __cplusplus
8876 extern "C"
8877 #endif
8878 char pthread_create ();
8880 main ()
8882 return pthread_create ();
8884 return 0;
8886 _ACEOF
8887 if ac_fn_c_try_link "$LINENO"; then :
8888 ac_cv_lib_pthread_pthread_create=yes
8889 else
8890 ac_cv_lib_pthread_pthread_create=no
8892 rm -f core conftest.err conftest.$ac_objext \
8893 conftest$ac_exeext conftest.$ac_ext
8894 LIBS=$ac_check_lib_save_LIBS
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8897 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8898 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8899 PTHREAD_LIBS="-lpthread"
8906 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8907 case "x$with_pthread" in
8908 xno) ;;
8909 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8910 Wine cannot support threads without libpthread.
8911 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8912 esac
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8917 $as_echo_n "checking for X... " >&6; }
8920 # Check whether --with-x was given.
8921 if test "${with_x+set}" = set; then :
8922 withval=$with_x;
8925 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8926 if test "x$with_x" = xno; then
8927 # The user explicitly disabled X.
8928 have_x=disabled
8929 else
8930 case $x_includes,$x_libraries in #(
8931 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8932 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8933 $as_echo_n "(cached) " >&6
8934 else
8935 # One or both of the vars are not set, and there is no cached value.
8936 ac_x_includes=no ac_x_libraries=no
8937 rm -f -r conftest.dir
8938 if mkdir conftest.dir; then
8939 cd conftest.dir
8940 cat >Imakefile <<'_ACEOF'
8941 incroot:
8942 @echo incroot='${INCROOT}'
8943 usrlibdir:
8944 @echo usrlibdir='${USRLIBDIR}'
8945 libdir:
8946 @echo libdir='${LIBDIR}'
8947 _ACEOF
8948 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8949 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8950 for ac_var in incroot usrlibdir libdir; do
8951 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8952 done
8953 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8954 for ac_extension in a so sl dylib la dll; do
8955 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8956 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8957 ac_im_usrlibdir=$ac_im_libdir; break
8959 done
8960 # Screen out bogus values from the imake configuration. They are
8961 # bogus both because they are the default anyway, and because
8962 # using them would break gcc on systems where it needs fixed includes.
8963 case $ac_im_incroot in
8964 /usr/include) ac_x_includes= ;;
8965 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8966 esac
8967 case $ac_im_usrlibdir in
8968 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8969 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8970 esac
8972 cd ..
8973 rm -f -r conftest.dir
8976 # Standard set of common directories for X headers.
8977 # Check X11 before X11Rn because it is often a symlink to the current release.
8978 ac_x_header_dirs='
8979 /usr/X11/include
8980 /usr/X11R7/include
8981 /usr/X11R6/include
8982 /usr/X11R5/include
8983 /usr/X11R4/include
8985 /usr/include/X11
8986 /usr/include/X11R7
8987 /usr/include/X11R6
8988 /usr/include/X11R5
8989 /usr/include/X11R4
8991 /usr/local/X11/include
8992 /usr/local/X11R7/include
8993 /usr/local/X11R6/include
8994 /usr/local/X11R5/include
8995 /usr/local/X11R4/include
8997 /usr/local/include/X11
8998 /usr/local/include/X11R7
8999 /usr/local/include/X11R6
9000 /usr/local/include/X11R5
9001 /usr/local/include/X11R4
9003 /usr/X386/include
9004 /usr/x386/include
9005 /usr/XFree86/include/X11
9007 /usr/include
9008 /usr/local/include
9009 /usr/unsupported/include
9010 /usr/athena/include
9011 /usr/local/x11r5/include
9012 /usr/lpp/Xamples/include
9014 /usr/openwin/include
9015 /usr/openwin/share/include'
9017 if test "$ac_x_includes" = no; then
9018 # Guess where to find include files, by looking for Xlib.h.
9019 # First, try using that file with no special directory specified.
9020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9021 /* end confdefs.h. */
9022 #include <X11/Xlib.h>
9023 _ACEOF
9024 if ac_fn_c_try_cpp "$LINENO"; then :
9025 # We can compile using X headers with no special include directory.
9026 ac_x_includes=
9027 else
9028 for ac_dir in $ac_x_header_dirs; do
9029 if test -r "$ac_dir/X11/Xlib.h"; then
9030 ac_x_includes=$ac_dir
9031 break
9033 done
9035 rm -f conftest.err conftest.i conftest.$ac_ext
9036 fi # $ac_x_includes = no
9038 if test "$ac_x_libraries" = no; then
9039 # Check for the libraries.
9040 # See if we find them without any special options.
9041 # Don't add to $LIBS permanently.
9042 ac_save_LIBS=$LIBS
9043 LIBS="-lX11 $LIBS"
9044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9045 /* end confdefs.h. */
9046 #include <X11/Xlib.h>
9048 main ()
9050 XrmInitialize ()
9052 return 0;
9054 _ACEOF
9055 if ac_fn_c_try_link "$LINENO"; then :
9056 LIBS=$ac_save_LIBS
9057 # We can link X programs with no special library path.
9058 ac_x_libraries=
9059 else
9060 LIBS=$ac_save_LIBS
9061 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9063 # Don't even attempt the hair of trying to link an X program!
9064 for ac_extension in a so sl dylib la dll; do
9065 if test -r "$ac_dir/libX11.$ac_extension"; then
9066 ac_x_libraries=$ac_dir
9067 break 2
9069 done
9070 done
9072 rm -f core conftest.err conftest.$ac_objext \
9073 conftest$ac_exeext conftest.$ac_ext
9074 fi # $ac_x_libraries = no
9076 case $ac_x_includes,$ac_x_libraries in #(
9077 no,* | *,no | *\'*)
9078 # Didn't find X, or a directory has "'" in its name.
9079 ac_cv_have_x="have_x=no";; #(
9081 # Record where we found X for the cache.
9082 ac_cv_have_x="have_x=yes\
9083 ac_x_includes='$ac_x_includes'\
9084 ac_x_libraries='$ac_x_libraries'"
9085 esac
9087 ;; #(
9088 *) have_x=yes;;
9089 esac
9090 eval "$ac_cv_have_x"
9091 fi # $with_x != no
9093 if test "$have_x" != yes; then
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9095 $as_echo "$have_x" >&6; }
9096 no_x=yes
9097 else
9098 # If each of the values was on the command line, it overrides each guess.
9099 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9100 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9101 # Update the cache value to reflect the command line values.
9102 ac_cv_have_x="have_x=yes\
9103 ac_x_includes='$x_includes'\
9104 ac_x_libraries='$x_libraries'"
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9106 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9109 if test "$no_x" = yes; then
9110 # Not all programs may use this symbol, but it does not hurt to define it.
9112 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9114 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9115 else
9116 if test -n "$x_includes"; then
9117 X_CFLAGS="$X_CFLAGS -I$x_includes"
9120 # It would also be nice to do this for all -L options, not just this one.
9121 if test -n "$x_libraries"; then
9122 X_LIBS="$X_LIBS -L$x_libraries"
9123 # For Solaris; some versions of Sun CC require a space after -R and
9124 # others require no space. Words are not sufficient . . . .
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9126 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9127 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9128 ac_xsave_c_werror_flag=$ac_c_werror_flag
9129 ac_c_werror_flag=yes
9130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9131 /* end confdefs.h. */
9134 main ()
9138 return 0;
9140 _ACEOF
9141 if ac_fn_c_try_link "$LINENO"; then :
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9143 $as_echo "no" >&6; }
9144 X_LIBS="$X_LIBS -R$x_libraries"
9145 else
9146 LIBS="$ac_xsave_LIBS -R $x_libraries"
9147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9148 /* end confdefs.h. */
9151 main ()
9155 return 0;
9157 _ACEOF
9158 if ac_fn_c_try_link "$LINENO"; then :
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9160 $as_echo "yes" >&6; }
9161 X_LIBS="$X_LIBS -R $x_libraries"
9162 else
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9164 $as_echo "neither works" >&6; }
9166 rm -f core conftest.err conftest.$ac_objext \
9167 conftest$ac_exeext conftest.$ac_ext
9169 rm -f core conftest.err conftest.$ac_objext \
9170 conftest$ac_exeext conftest.$ac_ext
9171 ac_c_werror_flag=$ac_xsave_c_werror_flag
9172 LIBS=$ac_xsave_LIBS
9175 # Check for system-dependent libraries X programs must link with.
9176 # Do this before checking for the system-independent R6 libraries
9177 # (-lICE), since we may need -lsocket or whatever for X linking.
9179 if test "$ISC" = yes; then
9180 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9181 else
9182 # Martyn Johnson says this is needed for Ultrix, if the X
9183 # libraries were built with DECnet support. And Karl Berry says
9184 # the Alpha needs dnet_stub (dnet does not exist).
9185 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9187 /* end confdefs.h. */
9189 /* Override any GCC internal prototype to avoid an error.
9190 Use char because int might match the return type of a GCC
9191 builtin and then its argument prototype would still apply. */
9192 #ifdef __cplusplus
9193 extern "C"
9194 #endif
9195 char XOpenDisplay ();
9197 main ()
9199 return XOpenDisplay ();
9201 return 0;
9203 _ACEOF
9204 if ac_fn_c_try_link "$LINENO"; then :
9206 else
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9208 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9209 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9210 $as_echo_n "(cached) " >&6
9211 else
9212 ac_check_lib_save_LIBS=$LIBS
9213 LIBS="-ldnet $LIBS"
9214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9215 /* end confdefs.h. */
9217 /* Override any GCC internal prototype to avoid an error.
9218 Use char because int might match the return type of a GCC
9219 builtin and then its argument prototype would still apply. */
9220 #ifdef __cplusplus
9221 extern "C"
9222 #endif
9223 char dnet_ntoa ();
9225 main ()
9227 return dnet_ntoa ();
9229 return 0;
9231 _ACEOF
9232 if ac_fn_c_try_link "$LINENO"; then :
9233 ac_cv_lib_dnet_dnet_ntoa=yes
9234 else
9235 ac_cv_lib_dnet_dnet_ntoa=no
9237 rm -f core conftest.err conftest.$ac_objext \
9238 conftest$ac_exeext conftest.$ac_ext
9239 LIBS=$ac_check_lib_save_LIBS
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9242 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9243 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9244 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9247 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9249 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9250 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9251 $as_echo_n "(cached) " >&6
9252 else
9253 ac_check_lib_save_LIBS=$LIBS
9254 LIBS="-ldnet_stub $LIBS"
9255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9256 /* end confdefs.h. */
9258 /* Override any GCC internal prototype to avoid an error.
9259 Use char because int might match the return type of a GCC
9260 builtin and then its argument prototype would still apply. */
9261 #ifdef __cplusplus
9262 extern "C"
9263 #endif
9264 char dnet_ntoa ();
9266 main ()
9268 return dnet_ntoa ();
9270 return 0;
9272 _ACEOF
9273 if ac_fn_c_try_link "$LINENO"; then :
9274 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9275 else
9276 ac_cv_lib_dnet_stub_dnet_ntoa=no
9278 rm -f core conftest.err conftest.$ac_objext \
9279 conftest$ac_exeext conftest.$ac_ext
9280 LIBS=$ac_check_lib_save_LIBS
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9283 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9284 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9285 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9290 rm -f core conftest.err conftest.$ac_objext \
9291 conftest$ac_exeext conftest.$ac_ext
9292 LIBS="$ac_xsave_LIBS"
9294 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9295 # to get the SysV transport functions.
9296 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9297 # needs -lnsl.
9298 # The nsl library prevents programs from opening the X display
9299 # on Irix 5.2, according to T.E. Dickey.
9300 # The functions gethostbyname, getservbyname, and inet_addr are
9301 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9302 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9303 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9307 if test $ac_cv_func_gethostbyname = no; then
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9309 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9310 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9311 $as_echo_n "(cached) " >&6
9312 else
9313 ac_check_lib_save_LIBS=$LIBS
9314 LIBS="-lnsl $LIBS"
9315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9316 /* end confdefs.h. */
9318 /* Override any GCC internal prototype to avoid an error.
9319 Use char because int might match the return type of a GCC
9320 builtin and then its argument prototype would still apply. */
9321 #ifdef __cplusplus
9322 extern "C"
9323 #endif
9324 char gethostbyname ();
9326 main ()
9328 return gethostbyname ();
9330 return 0;
9332 _ACEOF
9333 if ac_fn_c_try_link "$LINENO"; then :
9334 ac_cv_lib_nsl_gethostbyname=yes
9335 else
9336 ac_cv_lib_nsl_gethostbyname=no
9338 rm -f core conftest.err conftest.$ac_objext \
9339 conftest$ac_exeext conftest.$ac_ext
9340 LIBS=$ac_check_lib_save_LIBS
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9343 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9344 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9345 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9348 if test $ac_cv_lib_nsl_gethostbyname = no; then
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9350 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9351 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9352 $as_echo_n "(cached) " >&6
9353 else
9354 ac_check_lib_save_LIBS=$LIBS
9355 LIBS="-lbsd $LIBS"
9356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9357 /* end confdefs.h. */
9359 /* Override any GCC internal prototype to avoid an error.
9360 Use char because int might match the return type of a GCC
9361 builtin and then its argument prototype would still apply. */
9362 #ifdef __cplusplus
9363 extern "C"
9364 #endif
9365 char gethostbyname ();
9367 main ()
9369 return gethostbyname ();
9371 return 0;
9373 _ACEOF
9374 if ac_fn_c_try_link "$LINENO"; then :
9375 ac_cv_lib_bsd_gethostbyname=yes
9376 else
9377 ac_cv_lib_bsd_gethostbyname=no
9379 rm -f core conftest.err conftest.$ac_objext \
9380 conftest$ac_exeext conftest.$ac_ext
9381 LIBS=$ac_check_lib_save_LIBS
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9384 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9385 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9386 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9392 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9393 # socket/setsockopt and other routines are undefined under SCO ODT
9394 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9395 # on later versions), says Simon Leinen: it contains gethostby*
9396 # variants that don't use the name server (or something). -lsocket
9397 # must be given before -lnsl if both are needed. We assume that
9398 # if connect needs -lnsl, so does gethostbyname.
9399 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9400 if test "x$ac_cv_func_connect" = xyes; then :
9404 if test $ac_cv_func_connect = no; then
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9406 $as_echo_n "checking for connect in -lsocket... " >&6; }
9407 if ${ac_cv_lib_socket_connect+:} false; then :
9408 $as_echo_n "(cached) " >&6
9409 else
9410 ac_check_lib_save_LIBS=$LIBS
9411 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9413 /* end confdefs.h. */
9415 /* Override any GCC internal prototype to avoid an error.
9416 Use char because int might match the return type of a GCC
9417 builtin and then its argument prototype would still apply. */
9418 #ifdef __cplusplus
9419 extern "C"
9420 #endif
9421 char connect ();
9423 main ()
9425 return connect ();
9427 return 0;
9429 _ACEOF
9430 if ac_fn_c_try_link "$LINENO"; then :
9431 ac_cv_lib_socket_connect=yes
9432 else
9433 ac_cv_lib_socket_connect=no
9435 rm -f core conftest.err conftest.$ac_objext \
9436 conftest$ac_exeext conftest.$ac_ext
9437 LIBS=$ac_check_lib_save_LIBS
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9440 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9441 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9442 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9447 # Guillermo Gomez says -lposix is necessary on A/UX.
9448 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9449 if test "x$ac_cv_func_remove" = xyes; then :
9453 if test $ac_cv_func_remove = no; then
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9455 $as_echo_n "checking for remove in -lposix... " >&6; }
9456 if ${ac_cv_lib_posix_remove+:} false; then :
9457 $as_echo_n "(cached) " >&6
9458 else
9459 ac_check_lib_save_LIBS=$LIBS
9460 LIBS="-lposix $LIBS"
9461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9462 /* end confdefs.h. */
9464 /* Override any GCC internal prototype to avoid an error.
9465 Use char because int might match the return type of a GCC
9466 builtin and then its argument prototype would still apply. */
9467 #ifdef __cplusplus
9468 extern "C"
9469 #endif
9470 char remove ();
9472 main ()
9474 return remove ();
9476 return 0;
9478 _ACEOF
9479 if ac_fn_c_try_link "$LINENO"; then :
9480 ac_cv_lib_posix_remove=yes
9481 else
9482 ac_cv_lib_posix_remove=no
9484 rm -f core conftest.err conftest.$ac_objext \
9485 conftest$ac_exeext conftest.$ac_ext
9486 LIBS=$ac_check_lib_save_LIBS
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9489 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9490 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9491 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9496 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9497 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9498 if test "x$ac_cv_func_shmat" = xyes; then :
9502 if test $ac_cv_func_shmat = no; then
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9504 $as_echo_n "checking for shmat in -lipc... " >&6; }
9505 if ${ac_cv_lib_ipc_shmat+:} false; then :
9506 $as_echo_n "(cached) " >&6
9507 else
9508 ac_check_lib_save_LIBS=$LIBS
9509 LIBS="-lipc $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 shmat ();
9521 main ()
9523 return shmat ();
9525 return 0;
9527 _ACEOF
9528 if ac_fn_c_try_link "$LINENO"; then :
9529 ac_cv_lib_ipc_shmat=yes
9530 else
9531 ac_cv_lib_ipc_shmat=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_ipc_shmat" >&5
9538 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9539 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9540 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9546 # Check for libraries that X11R6 Xt/Xaw programs need.
9547 ac_save_LDFLAGS=$LDFLAGS
9548 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9549 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9550 # check for ICE first), but we must link in the order -lSM -lICE or
9551 # we get undefined symbols. So assume we have SM if we have ICE.
9552 # These have to be linked with before -lX11, unlike the other
9553 # libraries we check for below, so use a different variable.
9554 # John Interrante, Karl Berry
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9556 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9557 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9558 $as_echo_n "(cached) " >&6
9559 else
9560 ac_check_lib_save_LIBS=$LIBS
9561 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9563 /* end confdefs.h. */
9565 /* Override any GCC internal prototype to avoid an error.
9566 Use char because int might match the return type of a GCC
9567 builtin and then its argument prototype would still apply. */
9568 #ifdef __cplusplus
9569 extern "C"
9570 #endif
9571 char IceConnectionNumber ();
9573 main ()
9575 return IceConnectionNumber ();
9577 return 0;
9579 _ACEOF
9580 if ac_fn_c_try_link "$LINENO"; then :
9581 ac_cv_lib_ICE_IceConnectionNumber=yes
9582 else
9583 ac_cv_lib_ICE_IceConnectionNumber=no
9585 rm -f core conftest.err conftest.$ac_objext \
9586 conftest$ac_exeext conftest.$ac_ext
9587 LIBS=$ac_check_lib_save_LIBS
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9590 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9591 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9592 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9595 LDFLAGS=$ac_save_LDFLAGS
9600 if test "$have_x" = "yes"
9601 then
9602 ac_save_CPPFLAGS="$CPPFLAGS"
9603 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9606 $as_echo_n "checking for -lX11... " >&6; }
9607 if ${ac_cv_lib_soname_X11+:} false; then :
9608 $as_echo_n "(cached) " >&6
9609 else
9610 ac_check_soname_save_LIBS=$LIBS
9611 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9613 /* end confdefs.h. */
9615 /* Override any GCC internal prototype to avoid an error.
9616 Use char because int might match the return type of a GCC
9617 builtin and then its argument prototype would still apply. */
9618 #ifdef __cplusplus
9619 extern "C"
9620 #endif
9621 char XCreateWindow ();
9623 main ()
9625 return XCreateWindow ();
9627 return 0;
9629 _ACEOF
9630 if ac_fn_c_try_link "$LINENO"; then :
9631 case "$LIBEXT" in
9632 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9633 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'` ;;
9634 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9635 if ${ac_cv_lib_soname_X11:+false} :; then :
9636 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9637 fi ;;
9638 esac
9640 rm -f core conftest.err conftest.$ac_objext \
9641 conftest$ac_exeext conftest.$ac_ext
9642 LIBS=$ac_check_soname_save_LIBS
9644 if ${ac_cv_lib_soname_X11:+false} :; then :
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9646 $as_echo "not found" >&6; }
9648 else
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9650 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9652 cat >>confdefs.h <<_ACEOF
9653 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9654 _ACEOF
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9659 $as_echo_n "checking for -lXext... " >&6; }
9660 if ${ac_cv_lib_soname_Xext+:} false; then :
9661 $as_echo_n "(cached) " >&6
9662 else
9663 ac_check_soname_save_LIBS=$LIBS
9664 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9666 /* end confdefs.h. */
9668 /* Override any GCC internal prototype to avoid an error.
9669 Use char because int might match the return type of a GCC
9670 builtin and then its argument prototype would still apply. */
9671 #ifdef __cplusplus
9672 extern "C"
9673 #endif
9674 char XextCreateExtension ();
9676 main ()
9678 return XextCreateExtension ();
9680 return 0;
9682 _ACEOF
9683 if ac_fn_c_try_link "$LINENO"; then :
9684 case "$LIBEXT" in
9685 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9686 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'` ;;
9687 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9688 if ${ac_cv_lib_soname_Xext:+false} :; then :
9689 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9690 fi ;;
9691 esac
9693 rm -f core conftest.err conftest.$ac_objext \
9694 conftest$ac_exeext conftest.$ac_ext
9695 LIBS=$ac_check_soname_save_LIBS
9697 if ${ac_cv_lib_soname_Xext:+false} :; then :
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9699 $as_echo "not found" >&6; }
9701 else
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9703 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9705 cat >>confdefs.h <<_ACEOF
9706 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9707 _ACEOF
9709 X_LIBS="$X_LIBS -lXext"
9711 X_LIBS="$X_LIBS -lX11"
9713 for ac_header in X11/Xlib.h \
9714 X11/XKBlib.h \
9715 X11/Xutil.h \
9716 X11/Xcursor/Xcursor.h \
9717 X11/extensions/shape.h \
9718 X11/extensions/XInput.h \
9719 X11/extensions/XInput2.h \
9720 X11/extensions/XShm.h \
9721 X11/extensions/Xcomposite.h \
9722 X11/extensions/Xinerama.h \
9723 X11/extensions/Xrandr.h \
9724 X11/extensions/Xrender.h \
9725 X11/extensions/xf86vmode.h \
9726 X11/extensions/xf86vmproto.h
9727 do :
9728 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9729 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9730 # include <X11/Xlib.h>
9731 #endif
9732 #ifdef HAVE_X11_XUTIL_H
9733 # include <X11/Xutil.h>
9734 #endif
9736 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9737 cat >>confdefs.h <<_ACEOF
9738 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9739 _ACEOF
9743 done
9746 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9747 then
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9749 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9750 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9751 $as_echo_n "(cached) " >&6
9752 else
9753 ac_check_lib_save_LIBS=$LIBS
9754 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9756 /* end confdefs.h. */
9758 /* Override any GCC internal prototype to avoid an error.
9759 Use char because int might match the return type of a GCC
9760 builtin and then its argument prototype would still apply. */
9761 #ifdef __cplusplus
9762 extern "C"
9763 #endif
9764 char XkbQueryExtension ();
9766 main ()
9768 return XkbQueryExtension ();
9770 return 0;
9772 _ACEOF
9773 if ac_fn_c_try_link "$LINENO"; then :
9774 ac_cv_lib_X11_XkbQueryExtension=yes
9775 else
9776 ac_cv_lib_X11_XkbQueryExtension=no
9778 rm -f core conftest.err conftest.$ac_objext \
9779 conftest$ac_exeext conftest.$ac_ext
9780 LIBS=$ac_check_lib_save_LIBS
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9783 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9784 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9786 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9792 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9793 then
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9795 $as_echo_n "checking for -lXcursor... " >&6; }
9796 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9797 $as_echo_n "(cached) " >&6
9798 else
9799 ac_check_soname_save_LIBS=$LIBS
9800 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9802 /* end confdefs.h. */
9804 /* Override any GCC internal prototype to avoid an error.
9805 Use char because int might match the return type of a GCC
9806 builtin and then its argument prototype would still apply. */
9807 #ifdef __cplusplus
9808 extern "C"
9809 #endif
9810 char XcursorImageLoadCursor ();
9812 main ()
9814 return XcursorImageLoadCursor ();
9816 return 0;
9818 _ACEOF
9819 if ac_fn_c_try_link "$LINENO"; then :
9820 case "$LIBEXT" in
9821 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9822 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'` ;;
9823 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9824 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9825 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9826 fi ;;
9827 esac
9829 rm -f core conftest.err conftest.$ac_objext \
9830 conftest$ac_exeext conftest.$ac_ext
9831 LIBS=$ac_check_soname_save_LIBS
9833 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9835 $as_echo "not found" >&6; }
9837 else
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9839 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9841 cat >>confdefs.h <<_ACEOF
9842 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9843 _ACEOF
9848 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9849 case "x$with_xcursor" in
9850 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9851 xno) ;;
9852 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9853 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9854 esac
9857 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9858 then
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9860 $as_echo_n "checking for -lXi... " >&6; }
9861 if ${ac_cv_lib_soname_Xi+:} false; then :
9862 $as_echo_n "(cached) " >&6
9863 else
9864 ac_check_soname_save_LIBS=$LIBS
9865 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9867 /* end confdefs.h. */
9869 /* Override any GCC internal prototype to avoid an error.
9870 Use char because int might match the return type of a GCC
9871 builtin and then its argument prototype would still apply. */
9872 #ifdef __cplusplus
9873 extern "C"
9874 #endif
9875 char XOpenDevice ();
9877 main ()
9879 return XOpenDevice ();
9881 return 0;
9883 _ACEOF
9884 if ac_fn_c_try_link "$LINENO"; then :
9885 case "$LIBEXT" in
9886 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9887 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'` ;;
9888 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9889 if ${ac_cv_lib_soname_Xi:+false} :; then :
9890 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9891 fi ;;
9892 esac
9894 rm -f core conftest.err conftest.$ac_objext \
9895 conftest$ac_exeext conftest.$ac_ext
9896 LIBS=$ac_check_soname_save_LIBS
9898 if ${ac_cv_lib_soname_Xi:+false} :; then :
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9900 $as_echo "not found" >&6; }
9902 else
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9904 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9906 cat >>confdefs.h <<_ACEOF
9907 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9908 _ACEOF
9913 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9914 case "x$with_xinput" in
9915 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9916 xno) ;;
9917 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9918 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9919 esac
9922 if test "x$ac_cv_lib_soname_Xi" != x
9923 then
9924 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9925 case "x$with_xinput2" in
9926 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9927 xno) ;;
9928 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9929 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9930 esac
9934 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9935 then
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9937 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9938 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9939 $as_echo_n "(cached) " >&6
9940 else
9941 ac_check_lib_save_LIBS=$LIBS
9942 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9944 /* end confdefs.h. */
9946 /* Override any GCC internal prototype to avoid an error.
9947 Use char because int might match the return type of a GCC
9948 builtin and then its argument prototype would still apply. */
9949 #ifdef __cplusplus
9950 extern "C"
9951 #endif
9952 char XShmQueryExtension ();
9954 main ()
9956 return XShmQueryExtension ();
9958 return 0;
9960 _ACEOF
9961 if ac_fn_c_try_link "$LINENO"; then :
9962 ac_cv_lib_Xext_XShmQueryExtension=yes
9963 else
9964 ac_cv_lib_Xext_XShmQueryExtension=no
9966 rm -f core conftest.err conftest.$ac_objext \
9967 conftest$ac_exeext conftest.$ac_ext
9968 LIBS=$ac_check_lib_save_LIBS
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9971 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9972 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9974 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9979 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9980 case "x$with_xshm" in
9981 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9982 xno) ;;
9983 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9984 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9985 esac
9988 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9989 then
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9991 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9992 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9993 $as_echo_n "(cached) " >&6
9994 else
9995 ac_check_lib_save_LIBS=$LIBS
9996 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9998 /* end confdefs.h. */
10000 /* Override any GCC internal prototype to avoid an error.
10001 Use char because int might match the return type of a GCC
10002 builtin and then its argument prototype would still apply. */
10003 #ifdef __cplusplus
10004 extern "C"
10005 #endif
10006 char XShapeQueryExtension ();
10008 main ()
10010 return XShapeQueryExtension ();
10012 return 0;
10014 _ACEOF
10015 if ac_fn_c_try_link "$LINENO"; then :
10016 ac_cv_lib_Xext_XShapeQueryExtension=yes
10017 else
10018 ac_cv_lib_Xext_XShapeQueryExtension=no
10020 rm -f core conftest.err conftest.$ac_objext \
10021 conftest$ac_exeext conftest.$ac_ext
10022 LIBS=$ac_check_lib_save_LIBS
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10025 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10026 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10028 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10033 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10034 case "x$with_xshape" in
10035 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10036 xno) ;;
10037 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10038 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10039 esac
10042 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10043 then
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10045 $as_echo_n "checking for -lXxf86vm... " >&6; }
10046 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10047 $as_echo_n "(cached) " >&6
10048 else
10049 ac_check_soname_save_LIBS=$LIBS
10050 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10052 /* end confdefs.h. */
10054 /* Override any GCC internal prototype to avoid an error.
10055 Use char because int might match the return type of a GCC
10056 builtin and then its argument prototype would still apply. */
10057 #ifdef __cplusplus
10058 extern "C"
10059 #endif
10060 char XF86VidModeQueryExtension ();
10062 main ()
10064 return XF86VidModeQueryExtension ();
10066 return 0;
10068 _ACEOF
10069 if ac_fn_c_try_link "$LINENO"; then :
10070 case "$LIBEXT" in
10071 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10072 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'` ;;
10073 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10074 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10075 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10076 fi ;;
10077 esac
10079 rm -f core conftest.err conftest.$ac_objext \
10080 conftest$ac_exeext conftest.$ac_ext
10081 LIBS=$ac_check_soname_save_LIBS
10083 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10085 $as_echo "not found" >&6; }
10087 else
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10089 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10091 cat >>confdefs.h <<_ACEOF
10092 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10093 _ACEOF
10098 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10099 case "x$with_xxf86vm" in
10100 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10101 xno) ;;
10102 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10103 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10104 esac
10107 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10108 then
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10110 $as_echo_n "checking for -lXrender... " >&6; }
10111 if ${ac_cv_lib_soname_Xrender+:} false; then :
10112 $as_echo_n "(cached) " >&6
10113 else
10114 ac_check_soname_save_LIBS=$LIBS
10115 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10117 /* end confdefs.h. */
10119 /* Override any GCC internal prototype to avoid an error.
10120 Use char because int might match the return type of a GCC
10121 builtin and then its argument prototype would still apply. */
10122 #ifdef __cplusplus
10123 extern "C"
10124 #endif
10125 char XRenderQueryExtension ();
10127 main ()
10129 return XRenderQueryExtension ();
10131 return 0;
10133 _ACEOF
10134 if ac_fn_c_try_link "$LINENO"; then :
10135 case "$LIBEXT" in
10136 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10137 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'` ;;
10138 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10139 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10140 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10141 fi ;;
10142 esac
10144 rm -f core conftest.err conftest.$ac_objext \
10145 conftest$ac_exeext conftest.$ac_ext
10146 LIBS=$ac_check_soname_save_LIBS
10148 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10150 $as_echo "not found" >&6; }
10152 else
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10154 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10156 cat >>confdefs.h <<_ACEOF
10157 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10158 _ACEOF
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10161 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10162 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10163 $as_echo_n "(cached) " >&6
10164 else
10165 ac_check_lib_save_LIBS=$LIBS
10166 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10168 /* end confdefs.h. */
10170 /* Override any GCC internal prototype to avoid an error.
10171 Use char because int might match the return type of a GCC
10172 builtin and then its argument prototype would still apply. */
10173 #ifdef __cplusplus
10174 extern "C"
10175 #endif
10176 char XRenderSetPictureTransform ();
10178 main ()
10180 return XRenderSetPictureTransform ();
10182 return 0;
10184 _ACEOF
10185 if ac_fn_c_try_link "$LINENO"; then :
10186 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10187 else
10188 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10190 rm -f core conftest.err conftest.$ac_objext \
10191 conftest$ac_exeext conftest.$ac_ext
10192 LIBS=$ac_check_lib_save_LIBS
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10195 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10196 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10198 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10203 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10204 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10205 $as_echo_n "(cached) " >&6
10206 else
10207 ac_check_lib_save_LIBS=$LIBS
10208 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10210 /* end confdefs.h. */
10212 /* Override any GCC internal prototype to avoid an error.
10213 Use char because int might match the return type of a GCC
10214 builtin and then its argument prototype would still apply. */
10215 #ifdef __cplusplus
10216 extern "C"
10217 #endif
10218 char XRenderCreateLinearGradient ();
10220 main ()
10222 return XRenderCreateLinearGradient ();
10224 return 0;
10226 _ACEOF
10227 if ac_fn_c_try_link "$LINENO"; then :
10228 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10229 else
10230 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10232 rm -f core conftest.err conftest.$ac_objext \
10233 conftest$ac_exeext conftest.$ac_ext
10234 LIBS=$ac_check_lib_save_LIBS
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10237 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10238 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10240 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10247 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10248 case "x$with_xrender" in
10249 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10250 xno) ;;
10251 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10252 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10253 esac
10256 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10257 then
10258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10259 /* end confdefs.h. */
10260 #include <X11/Xlib.h>
10261 #include <X11/extensions/Xrandr.h>
10263 main ()
10265 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10267 return 0;
10269 _ACEOF
10270 if ac_fn_c_try_compile "$LINENO"; then :
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10272 $as_echo_n "checking for -lXrandr... " >&6; }
10273 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10274 $as_echo_n "(cached) " >&6
10275 else
10276 ac_check_soname_save_LIBS=$LIBS
10277 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10279 /* end confdefs.h. */
10281 /* Override any GCC internal prototype to avoid an error.
10282 Use char because int might match the return type of a GCC
10283 builtin and then its argument prototype would still apply. */
10284 #ifdef __cplusplus
10285 extern "C"
10286 #endif
10287 char XRRQueryExtension ();
10289 main ()
10291 return XRRQueryExtension ();
10293 return 0;
10295 _ACEOF
10296 if ac_fn_c_try_link "$LINENO"; then :
10297 case "$LIBEXT" in
10298 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10299 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'` ;;
10300 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10301 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10302 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10303 fi ;;
10304 esac
10306 rm -f core conftest.err conftest.$ac_objext \
10307 conftest$ac_exeext conftest.$ac_ext
10308 LIBS=$ac_check_soname_save_LIBS
10310 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10312 $as_echo "not found" >&6; }
10314 else
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10316 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10318 cat >>confdefs.h <<_ACEOF
10319 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10320 _ACEOF
10322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10323 /* end confdefs.h. */
10324 #include <X11/Xlib.h>
10325 #include <X11/extensions/Xrandr.h>
10327 main ()
10329 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10331 return 0;
10333 _ACEOF
10334 if ac_fn_c_try_compile "$LINENO"; then :
10336 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10344 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10345 case "x$with_xrandr" in
10346 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10347 xno) ;;
10348 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10349 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10350 esac
10353 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10354 then
10355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10356 /* end confdefs.h. */
10357 #include <X11/Xlib.h>
10358 #include <X11/extensions/Xinerama.h>
10360 main ()
10362 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10364 return 0;
10366 _ACEOF
10367 if ac_fn_c_try_compile "$LINENO"; then :
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10369 $as_echo_n "checking for -lXinerama... " >&6; }
10370 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10371 $as_echo_n "(cached) " >&6
10372 else
10373 ac_check_soname_save_LIBS=$LIBS
10374 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10376 /* end confdefs.h. */
10378 /* Override any GCC internal prototype to avoid an error.
10379 Use char because int might match the return type of a GCC
10380 builtin and then its argument prototype would still apply. */
10381 #ifdef __cplusplus
10382 extern "C"
10383 #endif
10384 char XineramaQueryScreens ();
10386 main ()
10388 return XineramaQueryScreens ();
10390 return 0;
10392 _ACEOF
10393 if ac_fn_c_try_link "$LINENO"; then :
10394 case "$LIBEXT" in
10395 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10396 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'` ;;
10397 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10398 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10399 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10400 fi ;;
10401 esac
10403 rm -f core conftest.err conftest.$ac_objext \
10404 conftest$ac_exeext conftest.$ac_ext
10405 LIBS=$ac_check_soname_save_LIBS
10407 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10409 $as_echo "not found" >&6; }
10411 else
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10413 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10415 cat >>confdefs.h <<_ACEOF
10416 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10417 _ACEOF
10422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10424 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10425 case "x$with_xinerama" in
10426 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10427 xno) ;;
10428 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10429 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10430 esac
10433 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10434 then
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10436 $as_echo_n "checking for -lXcomposite... " >&6; }
10437 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10438 $as_echo_n "(cached) " >&6
10439 else
10440 ac_check_soname_save_LIBS=$LIBS
10441 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10443 /* end confdefs.h. */
10445 /* Override any GCC internal prototype to avoid an error.
10446 Use char because int might match the return type of a GCC
10447 builtin and then its argument prototype would still apply. */
10448 #ifdef __cplusplus
10449 extern "C"
10450 #endif
10451 char XCompositeRedirectWindow ();
10453 main ()
10455 return XCompositeRedirectWindow ();
10457 return 0;
10459 _ACEOF
10460 if ac_fn_c_try_link "$LINENO"; then :
10461 case "$LIBEXT" in
10462 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10463 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'` ;;
10464 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10465 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10466 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10467 fi ;;
10468 esac
10470 rm -f core conftest.err conftest.$ac_objext \
10471 conftest$ac_exeext conftest.$ac_ext
10472 LIBS=$ac_check_soname_save_LIBS
10474 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10476 $as_echo "not found" >&6; }
10478 else
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10480 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10482 cat >>confdefs.h <<_ACEOF
10483 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10484 _ACEOF
10489 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10490 case "x$with_xcomposite" in
10491 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10492 xno) ;;
10493 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10494 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10495 esac
10498 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10499 #include <X11/Xlib.h>
10500 #endif
10502 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10504 cat >>confdefs.h <<_ACEOF
10505 #define HAVE_XICCALLBACK_CALLBACK 1
10506 _ACEOF
10510 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10511 #include <X11/Xlib.h>
10512 #endif
10514 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10516 cat >>confdefs.h <<_ACEOF
10517 #define HAVE_XEVENT_XCOOKIE 1
10518 _ACEOF
10525 opengl_msg=""
10526 if test "x$with_opengl" != "xno"
10527 then
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 $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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10571 $as_echo_n "checking for -lGL... " >&6; }
10572 if ${ac_cv_lib_soname_GL+:} false; then :
10573 $as_echo_n "(cached) " >&6
10574 else
10575 ac_check_soname_save_LIBS=$LIBS
10576 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"
10577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10578 /* end confdefs.h. */
10580 /* Override any GCC internal prototype to avoid an error.
10581 Use char because int might match the return type of a GCC
10582 builtin and then its argument prototype would still apply. */
10583 #ifdef __cplusplus
10584 extern "C"
10585 #endif
10586 char glXCreateContext ();
10588 main ()
10590 return glXCreateContext ();
10592 return 0;
10594 _ACEOF
10595 if ac_fn_c_try_link "$LINENO"; then :
10596 case "$LIBEXT" in
10597 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10598 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'` ;;
10599 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10600 if ${ac_cv_lib_soname_GL:+false} :; then :
10601 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10602 fi ;;
10603 esac
10605 rm -f core conftest.err conftest.$ac_objext \
10606 conftest$ac_exeext conftest.$ac_ext
10607 LIBS=$ac_check_soname_save_LIBS
10609 if ${ac_cv_lib_soname_GL:+false} :; then :
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10611 $as_echo "not found" >&6; }
10612 if test -f /usr/X11R6/lib/libGL.a
10613 then
10614 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10615 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10616 else
10617 opengl_msg="No OpenGL library found on this system."
10619 else
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10621 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10623 cat >>confdefs.h <<_ACEOF
10624 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10625 _ACEOF
10627 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"
10629 else
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10631 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10633 cat >>confdefs.h <<_ACEOF
10634 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10635 _ACEOF
10637 OPENGL_LIBS="-lGL"
10639 if test "x$with_glu" != "xno"
10640 then
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10642 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10643 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10644 $as_echo_n "(cached) " >&6
10645 else
10646 ac_check_lib_save_LIBS=$LIBS
10647 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10649 /* end confdefs.h. */
10651 /* Override any GCC internal prototype to avoid an error.
10652 Use char because int might match the return type of a GCC
10653 builtin and then its argument prototype would still apply. */
10654 #ifdef __cplusplus
10655 extern "C"
10656 #endif
10657 char gluLookAt ();
10659 main ()
10661 return gluLookAt ();
10663 return 0;
10665 _ACEOF
10666 if ac_fn_c_try_link "$LINENO"; then :
10667 ac_cv_lib_GLU_gluLookAt=yes
10668 else
10669 ac_cv_lib_GLU_gluLookAt=no
10671 rm -f core conftest.err conftest.$ac_objext \
10672 conftest$ac_exeext conftest.$ac_ext
10673 LIBS=$ac_check_lib_save_LIBS
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10676 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10677 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10681 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10682 case "x$with_glu" in
10683 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10684 xno) ;;
10685 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10686 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10687 esac
10691 if test "x$with_osmesa" != "xno"
10692 then
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10694 $as_echo_n "checking for -lOSMesa... " >&6; }
10695 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10696 $as_echo_n "(cached) " >&6
10697 else
10698 ac_check_soname_save_LIBS=$LIBS
10699 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10701 /* end confdefs.h. */
10703 /* Override any GCC internal prototype to avoid an error.
10704 Use char because int might match the return type of a GCC
10705 builtin and then its argument prototype would still apply. */
10706 #ifdef __cplusplus
10707 extern "C"
10708 #endif
10709 char glAccum ();
10711 main ()
10713 return glAccum ();
10715 return 0;
10717 _ACEOF
10718 if ac_fn_c_try_link "$LINENO"; then :
10719 case "$LIBEXT" in
10720 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10721 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'` ;;
10722 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10723 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10724 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10725 fi ;;
10726 esac
10728 rm -f core conftest.err conftest.$ac_objext \
10729 conftest$ac_exeext conftest.$ac_ext
10730 LIBS=$ac_check_soname_save_LIBS
10732 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10734 $as_echo "not found" >&6; }
10736 else
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10738 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10740 cat >>confdefs.h <<_ACEOF
10741 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10742 _ACEOF
10746 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10747 case "x$with_osmesa" in
10748 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10749 xno) ;;
10750 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10751 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10752 esac
10756 if test -n "$opengl_msg"; then :
10757 case "x$with_opengl" in
10758 x) as_fn_append wine_warnings "|$opengl_msg
10759 OpenGL and Direct3D won't be supported." ;;
10760 xno) ;;
10761 *) as_fn_error $? "$opengl_msg
10762 OpenGL and Direct3D won't be supported.
10763 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10764 esac
10767 CPPFLAGS="$ac_save_CPPFLAGS"
10768 else
10769 X_CFLAGS=""
10770 X_LIBS=""
10771 enable_winex11_drv=${enable_winex11_drv:-no}
10773 if test "x$X_LIBS" = "x"; then :
10774 case "x$with_x" in
10775 xno) ;;
10776 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10777 without X support, which probably isn't what you want. You will need
10778 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10779 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10780 esac
10783 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10785 if test "$ac_cv_header_CL_cl_h" = "yes"
10786 then
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10788 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10789 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10790 $as_echo_n "(cached) " >&6
10791 else
10792 ac_check_lib_save_LIBS=$LIBS
10793 LIBS="-lOpenCL $LIBS"
10794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10795 /* end confdefs.h. */
10797 /* Override any GCC internal prototype to avoid an error.
10798 Use char because int might match the return type of a GCC
10799 builtin and then its argument prototype would still apply. */
10800 #ifdef __cplusplus
10801 extern "C"
10802 #endif
10803 char clGetPlatformInfo ();
10805 main ()
10807 return clGetPlatformInfo ();
10809 return 0;
10811 _ACEOF
10812 if ac_fn_c_try_link "$LINENO"; then :
10813 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10814 else
10815 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10817 rm -f core conftest.err conftest.$ac_objext \
10818 conftest$ac_exeext conftest.$ac_ext
10819 LIBS=$ac_check_lib_save_LIBS
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10822 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10823 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10824 OPENCL_LIBS="-lOpenCL"
10829 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10830 case "x$with_opencl" in
10831 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10832 xno) ;;
10833 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10834 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10835 esac
10837 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10839 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10840 then
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10842 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10843 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10844 $as_echo_n "(cached) " >&6
10845 else
10846 ac_check_lib_save_LIBS=$LIBS
10847 LIBS="-lpcap $LIBS"
10848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10849 /* end confdefs.h. */
10851 /* Override any GCC internal prototype to avoid an error.
10852 Use char because int might match the return type of a GCC
10853 builtin and then its argument prototype would still apply. */
10854 #ifdef __cplusplus
10855 extern "C"
10856 #endif
10857 char pcap_create ();
10859 main ()
10861 return pcap_create ();
10863 return 0;
10865 _ACEOF
10866 if ac_fn_c_try_link "$LINENO"; then :
10867 ac_cv_lib_pcap_pcap_create=yes
10868 else
10869 ac_cv_lib_pcap_pcap_create=no
10871 rm -f core conftest.err conftest.$ac_objext \
10872 conftest$ac_exeext conftest.$ac_ext
10873 LIBS=$ac_check_lib_save_LIBS
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10876 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10877 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10878 PCAP_LIBS="-lpcap"
10883 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10884 case "x$with_pcap" in
10885 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10886 xno) ;;
10887 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10888 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10889 esac
10891 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10894 if test "x$with_xml" != "xno"
10895 then
10896 if ${XML2_CFLAGS:+false} :; then :
10897 if ${PKG_CONFIG+:} false; then :
10898 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10901 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10902 if ${XML2_LIBS:+false} :; then :
10903 if ${PKG_CONFIG+:} false; then :
10904 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10907 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10908 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10909 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10910 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10911 ac_save_CPPFLAGS=$CPPFLAGS
10912 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10913 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10914 do :
10915 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10916 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10917 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10918 cat >>confdefs.h <<_ACEOF
10919 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10920 _ACEOF
10924 done
10926 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"
10927 then
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10929 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10930 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10931 $as_echo_n "(cached) " >&6
10932 else
10933 ac_check_lib_save_LIBS=$LIBS
10934 LIBS="-lxml2 $XML2_LIBS $LIBS"
10935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10936 /* end confdefs.h. */
10938 /* Override any GCC internal prototype to avoid an error.
10939 Use char because int might match the return type of a GCC
10940 builtin and then its argument prototype would still apply. */
10941 #ifdef __cplusplus
10942 extern "C"
10943 #endif
10944 char xmlParseMemory ();
10946 main ()
10948 return xmlParseMemory ();
10950 return 0;
10952 _ACEOF
10953 if ac_fn_c_try_link "$LINENO"; then :
10954 ac_cv_lib_xml2_xmlParseMemory=yes
10955 else
10956 ac_cv_lib_xml2_xmlParseMemory=no
10958 rm -f core conftest.err conftest.$ac_objext \
10959 conftest$ac_exeext conftest.$ac_ext
10960 LIBS=$ac_check_lib_save_LIBS
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10963 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10964 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10966 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10968 else
10969 XML2_LIBS=""
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10973 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10974 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10975 $as_echo_n "(cached) " >&6
10976 else
10977 ac_check_lib_save_LIBS=$LIBS
10978 LIBS="-lxml2 $XML2_LIBS $LIBS"
10979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10980 /* end confdefs.h. */
10982 /* Override any GCC internal prototype to avoid an error.
10983 Use char because int might match the return type of a GCC
10984 builtin and then its argument prototype would still apply. */
10985 #ifdef __cplusplus
10986 extern "C"
10987 #endif
10988 char xmlReadMemory ();
10990 main ()
10992 return xmlReadMemory ();
10994 return 0;
10996 _ACEOF
10997 if ac_fn_c_try_link "$LINENO"; then :
10998 ac_cv_lib_xml2_xmlReadMemory=yes
10999 else
11000 ac_cv_lib_xml2_xmlReadMemory=no
11002 rm -f core conftest.err conftest.$ac_objext \
11003 conftest$ac_exeext conftest.$ac_ext
11004 LIBS=$ac_check_lib_save_LIBS
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11007 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11008 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11010 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11015 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11016 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11017 $as_echo_n "(cached) " >&6
11018 else
11019 ac_check_lib_save_LIBS=$LIBS
11020 LIBS="-lxml2 $XML2_LIBS $LIBS"
11021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11022 /* end confdefs.h. */
11024 /* Override any GCC internal prototype to avoid an error.
11025 Use char because int might match the return type of a GCC
11026 builtin and then its argument prototype would still apply. */
11027 #ifdef __cplusplus
11028 extern "C"
11029 #endif
11030 char xmlNewDocPI ();
11032 main ()
11034 return xmlNewDocPI ();
11036 return 0;
11038 _ACEOF
11039 if ac_fn_c_try_link "$LINENO"; then :
11040 ac_cv_lib_xml2_xmlNewDocPI=yes
11041 else
11042 ac_cv_lib_xml2_xmlNewDocPI=no
11044 rm -f core conftest.err conftest.$ac_objext \
11045 conftest$ac_exeext conftest.$ac_ext
11046 LIBS=$ac_check_lib_save_LIBS
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11049 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11050 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11052 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11057 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11058 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11059 $as_echo_n "(cached) " >&6
11060 else
11061 ac_check_lib_save_LIBS=$LIBS
11062 LIBS="-lxml2 $XML2_LIBS $LIBS"
11063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11064 /* end confdefs.h. */
11066 /* Override any GCC internal prototype to avoid an error.
11067 Use char because int might match the return type of a GCC
11068 builtin and then its argument prototype would still apply. */
11069 #ifdef __cplusplus
11070 extern "C"
11071 #endif
11072 char xmlSchemaSetParserStructuredErrors ();
11074 main ()
11076 return xmlSchemaSetParserStructuredErrors ();
11078 return 0;
11080 _ACEOF
11081 if ac_fn_c_try_link "$LINENO"; then :
11082 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11083 else
11084 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11086 rm -f core conftest.err conftest.$ac_objext \
11087 conftest$ac_exeext conftest.$ac_ext
11088 LIBS=$ac_check_lib_save_LIBS
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11091 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11092 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11094 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11099 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11100 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11101 $as_echo_n "(cached) " >&6
11102 else
11103 ac_check_lib_save_LIBS=$LIBS
11104 LIBS="-lxml2 $XML2_LIBS $LIBS"
11105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11106 /* end confdefs.h. */
11108 /* Override any GCC internal prototype to avoid an error.
11109 Use char because int might match the return type of a GCC
11110 builtin and then its argument prototype would still apply. */
11111 #ifdef __cplusplus
11112 extern "C"
11113 #endif
11114 char xmlSchemaSetValidStructuredErrors ();
11116 main ()
11118 return xmlSchemaSetValidStructuredErrors ();
11120 return 0;
11122 _ACEOF
11123 if ac_fn_c_try_link "$LINENO"; then :
11124 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11125 else
11126 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11128 rm -f core conftest.err conftest.$ac_objext \
11129 conftest$ac_exeext conftest.$ac_ext
11130 LIBS=$ac_check_lib_save_LIBS
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11133 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11134 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11136 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11141 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11142 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11143 $as_echo_n "(cached) " >&6
11144 else
11145 ac_check_lib_save_LIBS=$LIBS
11146 LIBS="-lxml2 $XML2_LIBS $LIBS"
11147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11148 /* end confdefs.h. */
11150 /* Override any GCC internal prototype to avoid an error.
11151 Use char because int might match the return type of a GCC
11152 builtin and then its argument prototype would still apply. */
11153 #ifdef __cplusplus
11154 extern "C"
11155 #endif
11156 char xmlFirstElementChild ();
11158 main ()
11160 return xmlFirstElementChild ();
11162 return 0;
11164 _ACEOF
11165 if ac_fn_c_try_link "$LINENO"; then :
11166 ac_cv_lib_xml2_xmlFirstElementChild=yes
11167 else
11168 ac_cv_lib_xml2_xmlFirstElementChild=no
11170 rm -f core conftest.err conftest.$ac_objext \
11171 conftest$ac_exeext conftest.$ac_ext
11172 LIBS=$ac_check_lib_save_LIBS
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11175 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11176 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11178 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11182 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11184 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11186 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11190 else
11191 XML2_CFLAGS=""
11192 XML2_LIBS=""
11194 CPPFLAGS=$ac_save_CPPFLAGS
11195 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11196 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11199 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11200 case "x$with_xml" in
11201 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11202 xno) ;;
11203 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11204 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11205 esac
11208 if test "x$with_xslt" != "xno"
11209 then
11210 if ${XSLT_CFLAGS:+false} :; then :
11211 if ${PKG_CONFIG+:} false; then :
11212 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11215 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11216 if ${XSLT_LIBS:+false} :; then :
11217 if ${PKG_CONFIG+:} false; then :
11218 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11221 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11222 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11223 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11224 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11225 ac_save_CPPFLAGS=$CPPFLAGS
11226 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11227 for ac_header in libxslt/pattern.h libxslt/transform.h
11228 do :
11229 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11230 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11231 # include <libxslt/pattern.h>
11232 #endif
11234 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11235 cat >>confdefs.h <<_ACEOF
11236 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11237 _ACEOF
11241 done
11243 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11244 then
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11246 $as_echo_n "checking for -lxslt... " >&6; }
11247 if ${ac_cv_lib_soname_xslt+:} false; then :
11248 $as_echo_n "(cached) " >&6
11249 else
11250 ac_check_soname_save_LIBS=$LIBS
11251 LIBS="-lxslt $XSLT_LIBS $LIBS"
11252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11253 /* end confdefs.h. */
11255 /* Override any GCC internal prototype to avoid an error.
11256 Use char because int might match the return type of a GCC
11257 builtin and then its argument prototype would still apply. */
11258 #ifdef __cplusplus
11259 extern "C"
11260 #endif
11261 char xsltCompilePattern ();
11263 main ()
11265 return xsltCompilePattern ();
11267 return 0;
11269 _ACEOF
11270 if ac_fn_c_try_link "$LINENO"; then :
11271 case "$LIBEXT" in
11272 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11273 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'` ;;
11274 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11275 if ${ac_cv_lib_soname_xslt:+false} :; then :
11276 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11277 fi ;;
11278 esac
11280 rm -f core conftest.err conftest.$ac_objext \
11281 conftest$ac_exeext conftest.$ac_ext
11282 LIBS=$ac_check_soname_save_LIBS
11284 if ${ac_cv_lib_soname_xslt:+false} :; then :
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11286 $as_echo "not found" >&6; }
11288 else
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11290 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11292 cat >>confdefs.h <<_ACEOF
11293 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11294 _ACEOF
11298 else
11299 XSLT_CFLAGS=""
11301 CPPFLAGS=$ac_save_CPPFLAGS
11302 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11303 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11306 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11307 case "x$with_xslt" in
11308 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11309 xno) ;;
11310 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11311 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11312 esac
11315 if test "x$with_dbus" != "xno"
11316 then
11317 if ${DBUS_CFLAGS:+false} :; then :
11318 if ${PKG_CONFIG+:} false; then :
11319 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11323 if ${DBUS_LIBS:+false} :; then :
11324 if ${PKG_CONFIG+:} false; then :
11325 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11330 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11331 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11332 ac_save_CPPFLAGS=$CPPFLAGS
11333 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11334 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11335 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11337 $as_echo_n "checking for -ldbus-1... " >&6; }
11338 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11339 $as_echo_n "(cached) " >&6
11340 else
11341 ac_check_soname_save_LIBS=$LIBS
11342 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11344 /* end confdefs.h. */
11346 /* Override any GCC internal prototype to avoid an error.
11347 Use char because int might match the return type of a GCC
11348 builtin and then its argument prototype would still apply. */
11349 #ifdef __cplusplus
11350 extern "C"
11351 #endif
11352 char dbus_connection_close ();
11354 main ()
11356 return dbus_connection_close ();
11358 return 0;
11360 _ACEOF
11361 if ac_fn_c_try_link "$LINENO"; then :
11362 case "$LIBEXT" in
11363 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11364 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'` ;;
11365 *) 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'`
11366 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11367 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11368 fi ;;
11369 esac
11371 rm -f core conftest.err conftest.$ac_objext \
11372 conftest$ac_exeext conftest.$ac_ext
11373 LIBS=$ac_check_soname_save_LIBS
11375 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11377 $as_echo "not found" >&6; }
11378 DBUS_CFLAGS=""
11379 else
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11381 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11383 cat >>confdefs.h <<_ACEOF
11384 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11385 _ACEOF
11389 else
11390 DBUS_CFLAGS=""
11394 CPPFLAGS=$ac_save_CPPFLAGS
11395 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11396 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11399 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11400 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11401 case "x$with_dbus" in
11402 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11403 xno) ;;
11404 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11405 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11406 esac
11409 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11410 then
11411 if ${HAL_CFLAGS:+false} :; then :
11412 if ${PKG_CONFIG+:} false; then :
11413 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11417 if ${HAL_LIBS:+false} :; then :
11418 if ${PKG_CONFIG+:} false; then :
11419 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11423 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11424 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11425 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11426 ac_save_CPPFLAGS=$CPPFLAGS
11427 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11428 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11429 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11431 $as_echo_n "checking for -lhal... " >&6; }
11432 if ${ac_cv_lib_soname_hal+:} false; then :
11433 $as_echo_n "(cached) " >&6
11434 else
11435 ac_check_soname_save_LIBS=$LIBS
11436 LIBS="-lhal $HAL_LIBS $LIBS"
11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11440 /* Override any GCC internal prototype to avoid an error.
11441 Use char because int might match the return type of a GCC
11442 builtin and then its argument prototype would still apply. */
11443 #ifdef __cplusplus
11444 extern "C"
11445 #endif
11446 char libhal_ctx_new ();
11448 main ()
11450 return libhal_ctx_new ();
11452 return 0;
11454 _ACEOF
11455 if ac_fn_c_try_link "$LINENO"; then :
11456 case "$LIBEXT" in
11457 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11458 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'` ;;
11459 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11460 if ${ac_cv_lib_soname_hal:+false} :; then :
11461 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11462 fi ;;
11463 esac
11465 rm -f core conftest.err conftest.$ac_objext \
11466 conftest$ac_exeext conftest.$ac_ext
11467 LIBS=$ac_check_soname_save_LIBS
11469 if ${ac_cv_lib_soname_hal:+false} :; then :
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11471 $as_echo "not found" >&6; }
11472 HAL_CFLAGS=""
11473 else
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11475 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11477 cat >>confdefs.h <<_ACEOF
11478 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11479 _ACEOF
11483 else
11484 HAL_CFLAGS=""
11488 CPPFLAGS=$ac_save_CPPFLAGS
11489 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11490 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11492 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11493 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11494 case "x$with_hal" in
11495 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11496 xno) ;;
11497 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11498 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11499 esac
11503 if test "x$with_gnutls" != "xno"
11504 then
11505 if ${GNUTLS_CFLAGS:+false} :; then :
11506 if ${PKG_CONFIG+:} false; then :
11507 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11511 if ${GNUTLS_LIBS:+false} :; then :
11512 if ${PKG_CONFIG+:} false; then :
11513 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11518 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11519 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11520 ac_save_CPPFLAGS=$CPPFLAGS
11521 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11522 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11523 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11525 /* end confdefs.h. */
11526 #include <gnutls/gnutls.h>
11527 #include <gnutls/crypto.h>
11529 main ()
11531 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11533 return 0;
11535 _ACEOF
11536 if ac_fn_c_try_compile "$LINENO"; then :
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11538 $as_echo_n "checking for -lgnutls... " >&6; }
11539 if ${ac_cv_lib_soname_gnutls+:} false; then :
11540 $as_echo_n "(cached) " >&6
11541 else
11542 ac_check_soname_save_LIBS=$LIBS
11543 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11545 /* end confdefs.h. */
11547 /* Override any GCC internal prototype to avoid an error.
11548 Use char because int might match the return type of a GCC
11549 builtin and then its argument prototype would still apply. */
11550 #ifdef __cplusplus
11551 extern "C"
11552 #endif
11553 char gnutls_global_init ();
11555 main ()
11557 return gnutls_global_init ();
11559 return 0;
11561 _ACEOF
11562 if ac_fn_c_try_link "$LINENO"; then :
11563 case "$LIBEXT" in
11564 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11565 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'` ;;
11566 *) 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'`
11567 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11568 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'`
11569 fi ;;
11570 esac
11572 rm -f core conftest.err conftest.$ac_objext \
11573 conftest$ac_exeext conftest.$ac_ext
11574 LIBS=$ac_check_soname_save_LIBS
11576 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11578 $as_echo "not found" >&6; }
11579 GNUTLS_CFLAGS=""
11580 else
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11582 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11584 cat >>confdefs.h <<_ACEOF
11585 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11586 _ACEOF
11591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11592 else
11593 GNUTLS_CFLAGS=""
11597 CPPFLAGS=$ac_save_CPPFLAGS
11598 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11599 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11602 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11603 case "x$with_gnutls" in
11604 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11605 xno) ;;
11606 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11607 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11608 esac
11611 CURSES_LIBS=""
11612 if test "$ac_cv_header_ncurses_h" = "yes"
11613 then
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11615 $as_echo_n "checking for -lncurses... " >&6; }
11616 if ${ac_cv_lib_soname_ncurses+:} false; then :
11617 $as_echo_n "(cached) " >&6
11618 else
11619 ac_check_soname_save_LIBS=$LIBS
11620 LIBS="-lncurses $LIBS"
11621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11622 /* end confdefs.h. */
11624 /* Override any GCC internal prototype to avoid an error.
11625 Use char because int might match the return type of a GCC
11626 builtin and then its argument prototype would still apply. */
11627 #ifdef __cplusplus
11628 extern "C"
11629 #endif
11630 char waddch ();
11632 main ()
11634 return waddch ();
11636 return 0;
11638 _ACEOF
11639 if ac_fn_c_try_link "$LINENO"; then :
11640 case "$LIBEXT" in
11641 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11642 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'` ;;
11643 *) 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'`
11644 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11645 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11646 fi ;;
11647 esac
11649 rm -f core conftest.err conftest.$ac_objext \
11650 conftest$ac_exeext conftest.$ac_ext
11651 LIBS=$ac_check_soname_save_LIBS
11653 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11655 $as_echo "not found" >&6; }
11657 else
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11659 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11661 cat >>confdefs.h <<_ACEOF
11662 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11663 _ACEOF
11665 CURSES_LIBS="-lncurses"
11667 elif test "$ac_cv_header_curses_h" = "yes"
11668 then
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11670 $as_echo_n "checking for -lcurses... " >&6; }
11671 if ${ac_cv_lib_soname_curses+:} false; then :
11672 $as_echo_n "(cached) " >&6
11673 else
11674 ac_check_soname_save_LIBS=$LIBS
11675 LIBS="-lcurses $LIBS"
11676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11677 /* end confdefs.h. */
11679 /* Override any GCC internal prototype to avoid an error.
11680 Use char because int might match the return type of a GCC
11681 builtin and then its argument prototype would still apply. */
11682 #ifdef __cplusplus
11683 extern "C"
11684 #endif
11685 char waddch ();
11687 main ()
11689 return waddch ();
11691 return 0;
11693 _ACEOF
11694 if ac_fn_c_try_link "$LINENO"; then :
11695 case "$LIBEXT" in
11696 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11697 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'` ;;
11698 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11699 if ${ac_cv_lib_soname_curses:+false} :; then :
11700 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11701 fi ;;
11702 esac
11704 rm -f core conftest.err conftest.$ac_objext \
11705 conftest$ac_exeext conftest.$ac_ext
11706 LIBS=$ac_check_soname_save_LIBS
11708 if ${ac_cv_lib_soname_curses:+false} :; then :
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11710 $as_echo "not found" >&6; }
11712 else
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11714 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11716 cat >>confdefs.h <<_ACEOF
11717 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11718 _ACEOF
11720 CURSES_LIBS="-lcurses"
11723 ac_save_LIBS="$LIBS"
11724 LIBS="$LIBS $CURSES_LIBS"
11725 for ac_func in mousemask
11726 do :
11727 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11728 if test "x$ac_cv_func_mousemask" = xyes; then :
11729 cat >>confdefs.h <<_ACEOF
11730 #define HAVE_MOUSEMASK 1
11731 _ACEOF
11734 done
11736 LIBS="$ac_save_LIBS"
11737 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11738 case "x$with_curses" in
11739 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11740 xno) ;;
11741 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11742 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11743 esac
11746 if test "x$with_sane" != "xno"
11747 then
11748 if ${SANE_CFLAGS:+false} :; then :
11749 if ${PKG_CONFIG+:} false; then :
11750 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11753 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11754 if ${SANE_LIBS:+false} :; then :
11755 if ${PKG_CONFIG+:} false; then :
11756 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11759 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11761 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11762 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11763 ac_save_CPPFLAGS=$CPPFLAGS
11764 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11765 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11766 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11768 $as_echo_n "checking for -lsane... " >&6; }
11769 if ${ac_cv_lib_soname_sane+:} false; then :
11770 $as_echo_n "(cached) " >&6
11771 else
11772 ac_check_soname_save_LIBS=$LIBS
11773 LIBS="-lsane $SANE_LIBS $LIBS"
11774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11775 /* end confdefs.h. */
11777 /* Override any GCC internal prototype to avoid an error.
11778 Use char because int might match the return type of a GCC
11779 builtin and then its argument prototype would still apply. */
11780 #ifdef __cplusplus
11781 extern "C"
11782 #endif
11783 char sane_init ();
11785 main ()
11787 return sane_init ();
11789 return 0;
11791 _ACEOF
11792 if ac_fn_c_try_link "$LINENO"; then :
11793 case "$LIBEXT" in
11794 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11795 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'` ;;
11796 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11797 if ${ac_cv_lib_soname_sane:+false} :; then :
11798 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11799 fi ;;
11800 esac
11802 rm -f core conftest.err conftest.$ac_objext \
11803 conftest$ac_exeext conftest.$ac_ext
11804 LIBS=$ac_check_soname_save_LIBS
11806 if ${ac_cv_lib_soname_sane:+false} :; then :
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11808 $as_echo "not found" >&6; }
11809 SANE_CFLAGS=""
11810 else
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11812 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11814 cat >>confdefs.h <<_ACEOF
11815 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11816 _ACEOF
11820 else
11821 SANE_CFLAGS=""
11825 CPPFLAGS=$ac_save_CPPFLAGS
11826 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11827 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11830 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11831 case "x$with_sane" in
11832 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11833 xno) ;;
11834 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11835 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11836 esac
11839 if test "x$with_v4l" != "xno"
11840 then
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11842 $as_echo_n "checking for -lv4l1... " >&6; }
11843 if ${ac_cv_lib_soname_v4l1+:} false; then :
11844 $as_echo_n "(cached) " >&6
11845 else
11846 ac_check_soname_save_LIBS=$LIBS
11847 LIBS="-lv4l1 $LIBS"
11848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11849 /* end confdefs.h. */
11851 /* Override any GCC internal prototype to avoid an error.
11852 Use char because int might match the return type of a GCC
11853 builtin and then its argument prototype would still apply. */
11854 #ifdef __cplusplus
11855 extern "C"
11856 #endif
11857 char v4l1_open ();
11859 main ()
11861 return v4l1_open ();
11863 return 0;
11865 _ACEOF
11866 if ac_fn_c_try_link "$LINENO"; then :
11867 case "$LIBEXT" in
11868 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11869 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'` ;;
11870 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11871 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11872 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11873 fi ;;
11874 esac
11876 rm -f core conftest.err conftest.$ac_objext \
11877 conftest$ac_exeext conftest.$ac_ext
11878 LIBS=$ac_check_soname_save_LIBS
11880 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11882 $as_echo "not found" >&6; }
11884 else
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11886 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11888 cat >>confdefs.h <<_ACEOF
11889 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11890 _ACEOF
11895 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11896 case "x$with_v4l" in
11897 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11898 xno) ;;
11899 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11900 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11901 esac
11904 if test "x$with_gphoto" != "xno"
11905 then
11906 if ${GPHOTO2_CFLAGS:+false} :; then :
11907 if ${PKG_CONFIG+:} false; then :
11908 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11911 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11912 if ${GPHOTO2_LIBS:+false} :; then :
11913 if ${PKG_CONFIG+:} false; then :
11914 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11917 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11918 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11919 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11920 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11921 ac_save_CPPFLAGS=$CPPFLAGS
11922 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11923 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11924 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11926 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11927 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11928 $as_echo_n "(cached) " >&6
11929 else
11930 ac_check_lib_save_LIBS=$LIBS
11931 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11933 /* end confdefs.h. */
11935 /* Override any GCC internal prototype to avoid an error.
11936 Use char because int might match the return type of a GCC
11937 builtin and then its argument prototype would still apply. */
11938 #ifdef __cplusplus
11939 extern "C"
11940 #endif
11941 char gp_camera_new ();
11943 main ()
11945 return gp_camera_new ();
11947 return 0;
11949 _ACEOF
11950 if ac_fn_c_try_link "$LINENO"; then :
11951 ac_cv_lib_gphoto2_gp_camera_new=yes
11952 else
11953 ac_cv_lib_gphoto2_gp_camera_new=no
11955 rm -f core conftest.err conftest.$ac_objext \
11956 conftest$ac_exeext conftest.$ac_ext
11957 LIBS=$ac_check_lib_save_LIBS
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11960 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11961 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11963 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11965 else
11966 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11969 else
11970 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11974 CPPFLAGS=$ac_save_CPPFLAGS
11975 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11976 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11978 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11979 if ${PKG_CONFIG+:} false; then :
11980 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11983 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
11984 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11985 if ${PKG_CONFIG+:} false; then :
11986 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11989 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
11990 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11991 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11992 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11993 ac_save_CPPFLAGS=$CPPFLAGS
11994 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11995 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11996 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11998 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11999 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12000 $as_echo_n "(cached) " >&6
12001 else
12002 ac_check_lib_save_LIBS=$LIBS
12003 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12005 /* end confdefs.h. */
12007 /* Override any GCC internal prototype to avoid an error.
12008 Use char because int might match the return type of a GCC
12009 builtin and then its argument prototype would still apply. */
12010 #ifdef __cplusplus
12011 extern "C"
12012 #endif
12013 char gp_port_info_list_new ();
12015 main ()
12017 return gp_port_info_list_new ();
12019 return 0;
12021 _ACEOF
12022 if ac_fn_c_try_link "$LINENO"; then :
12023 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12024 else
12025 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12027 rm -f core conftest.err conftest.$ac_objext \
12028 conftest$ac_exeext conftest.$ac_ext
12029 LIBS=$ac_check_lib_save_LIBS
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12032 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12033 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12035 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12037 else
12038 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12041 else
12042 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12046 CPPFLAGS=$ac_save_CPPFLAGS
12047 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12048 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12051 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12052 case "x$with_gphoto" in
12053 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12054 xno) ;;
12055 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12056 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12057 esac
12059 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12060 case "x$with_gphoto" in
12061 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12062 xno) ;;
12063 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12064 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12065 esac
12069 if test "$ac_cv_header_resolv_h" = "yes"
12070 then
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12072 $as_echo_n "checking for resolver library... " >&6; }
12073 if ${ac_cv_have_resolv+:} false; then :
12074 $as_echo_n "(cached) " >&6
12075 else
12076 ac_save_LIBS="$LIBS"
12077 for lib in '' -lresolv
12079 LIBS="$lib $ac_save_LIBS"
12080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12081 /* end confdefs.h. */
12082 #ifdef HAVE_NETINET_IN_H
12083 #include <netinet/in.h>
12084 #endif
12085 #include <resolv.h>
12087 main ()
12089 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12091 return 0;
12093 _ACEOF
12094 if ac_fn_c_try_link "$LINENO"; then :
12095 ac_cv_have_resolv=${lib:-"none required"}
12096 else
12097 ac_cv_have_resolv="not found"
12099 rm -f core conftest.err conftest.$ac_objext \
12100 conftest$ac_exeext conftest.$ac_ext
12101 test "x$ac_cv_have_resolv" = "xnot found" || break
12102 done
12103 LIBS="$ac_save_LIBS"
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12106 $as_echo "$ac_cv_have_resolv" >&6; }
12108 case "$ac_cv_have_resolv" in
12109 "not found") ;;
12110 "none required")
12112 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12115 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12117 RESOLV_LIBS=$ac_cv_have_resolv
12119 esac
12122 if test "x$with_cms" != "xno"
12123 then
12124 if ${LCMS2_CFLAGS:+false} :; then :
12125 if ${PKG_CONFIG+:} false; then :
12126 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12130 if ${LCMS2_LIBS:+false} :; then :
12131 if ${PKG_CONFIG+:} false; then :
12132 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12136 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12137 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12138 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12139 ac_save_CPPFLAGS=$CPPFLAGS
12140 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12141 for ac_header in lcms2.h
12142 do :
12143 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12144 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12145 cat >>confdefs.h <<_ACEOF
12146 #define HAVE_LCMS2_H 1
12147 _ACEOF
12151 done
12153 if test "$ac_cv_header_lcms2_h" = "yes"
12154 then
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12156 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12157 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12158 $as_echo_n "(cached) " >&6
12159 else
12160 ac_check_lib_save_LIBS=$LIBS
12161 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12163 /* end confdefs.h. */
12165 /* Override any GCC internal prototype to avoid an error.
12166 Use char because int might match the return type of a GCC
12167 builtin and then its argument prototype would still apply. */
12168 #ifdef __cplusplus
12169 extern "C"
12170 #endif
12171 char cmsOpenProfileFromFile ();
12173 main ()
12175 return cmsOpenProfileFromFile ();
12177 return 0;
12179 _ACEOF
12180 if ac_fn_c_try_link "$LINENO"; then :
12181 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12182 else
12183 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12185 rm -f core conftest.err conftest.$ac_objext \
12186 conftest$ac_exeext conftest.$ac_ext
12187 LIBS=$ac_check_lib_save_LIBS
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12190 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12191 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12193 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12195 else
12196 LCMS2_LIBS=""
12199 else
12200 LCMS2_CFLAGS=""
12201 LCMS2_LIBS=""
12203 CPPFLAGS=$ac_save_CPPFLAGS
12204 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12205 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12208 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12209 case "x$with_cms" in
12210 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12211 xno) ;;
12212 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12213 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12214 esac
12217 if test "x$with_freetype" != "xno"
12218 then
12219 if ${FREETYPE_CFLAGS:+false} :; then :
12220 if ${PKG_CONFIG+:} false; then :
12221 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12224 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12225 if ${FREETYPE_LIBS:+false} :; then :
12226 if ${PKG_CONFIG+:} false; then :
12227 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12230 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12231 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12232 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12233 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12234 ac_save_CPPFLAGS=$CPPFLAGS
12235 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12236 for ac_header in ft2build.h
12237 do :
12238 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12239 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12240 cat >>confdefs.h <<_ACEOF
12241 #define HAVE_FT2BUILD_H 1
12242 _ACEOF
12246 done
12248 if test "$ac_cv_header_ft2build_h" = "yes"
12249 then
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12251 $as_echo_n "checking for -lfreetype... " >&6; }
12252 if ${ac_cv_lib_soname_freetype+:} false; then :
12253 $as_echo_n "(cached) " >&6
12254 else
12255 ac_check_soname_save_LIBS=$LIBS
12256 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12258 /* end confdefs.h. */
12260 /* Override any GCC internal prototype to avoid an error.
12261 Use char because int might match the return type of a GCC
12262 builtin and then its argument prototype would still apply. */
12263 #ifdef __cplusplus
12264 extern "C"
12265 #endif
12266 char FT_Init_FreeType ();
12268 main ()
12270 return FT_Init_FreeType ();
12272 return 0;
12274 _ACEOF
12275 if ac_fn_c_try_link "$LINENO"; then :
12276 case "$LIBEXT" in
12277 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12278 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'` ;;
12279 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12280 if ${ac_cv_lib_soname_freetype:+false} :; then :
12281 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12282 fi ;;
12283 esac
12285 rm -f core conftest.err conftest.$ac_objext \
12286 conftest$ac_exeext conftest.$ac_ext
12287 LIBS=$ac_check_soname_save_LIBS
12289 if ${ac_cv_lib_soname_freetype:+false} :; then :
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12291 $as_echo "not found" >&6; }
12292 FREETYPE_LIBS=""
12293 else
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12295 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12297 cat >>confdefs.h <<_ACEOF
12298 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12299 _ACEOF
12302 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12304 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12305 #include FT_MODULE_H
12307 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12309 cat >>confdefs.h <<_ACEOF
12310 #define HAVE_FT_TRUETYPEENGINETYPE 1
12311 _ACEOF
12317 else
12318 FREETYPE_CFLAGS=""
12319 FREETYPE_LIBS=""
12321 CPPFLAGS=$ac_save_CPPFLAGS
12322 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12323 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12326 if test "x$ac_cv_lib_soname_freetype" = x; then :
12327 case "x$with_freetype" in
12328 xno) ;;
12329 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12330 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12331 esac
12333 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12336 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12337 if ${ac_cv_c_ppdev+:} false; then :
12338 $as_echo_n "(cached) " >&6
12339 else
12340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12341 /* end confdefs.h. */
12342 #ifdef HAVE_SYS_IOCTL_H
12343 # include <sys/ioctl.h>
12344 #endif
12345 #include <linux/ppdev.h>
12347 main ()
12349 ioctl (1,PPCLAIM,0)
12351 return 0;
12353 _ACEOF
12354 if ac_fn_c_try_compile "$LINENO"; then :
12355 ac_cv_c_ppdev="yes"
12356 else
12357 ac_cv_c_ppdev="no"
12359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12362 $as_echo "$ac_cv_c_ppdev" >&6; }
12363 if test "$ac_cv_c_ppdev" = "yes"
12364 then
12366 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12370 ac_wine_check_funcs_save_LIBS="$LIBS"
12371 LIBS="$LIBS $PTHREAD_LIBS"
12372 for ac_func in \
12373 pthread_attr_get_np \
12374 pthread_getattr_np \
12375 pthread_getthreadid_np \
12376 pthread_get_stackaddr_np \
12377 pthread_get_stacksize_np
12378 do :
12379 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12380 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12381 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12382 cat >>confdefs.h <<_ACEOF
12383 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12384 _ACEOF
12387 done
12389 LIBS="$ac_wine_check_funcs_save_LIBS"
12391 if test "$ac_cv_header_zlib_h" = "yes"
12392 then
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12394 $as_echo_n "checking for inflate in -lz... " >&6; }
12395 if ${ac_cv_lib_z_inflate+:} false; then :
12396 $as_echo_n "(cached) " >&6
12397 else
12398 ac_check_lib_save_LIBS=$LIBS
12399 LIBS="-lz $LIBS"
12400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12401 /* end confdefs.h. */
12403 /* Override any GCC internal prototype to avoid an error.
12404 Use char because int might match the return type of a GCC
12405 builtin and then its argument prototype would still apply. */
12406 #ifdef __cplusplus
12407 extern "C"
12408 #endif
12409 char inflate ();
12411 main ()
12413 return inflate ();
12415 return 0;
12417 _ACEOF
12418 if ac_fn_c_try_link "$LINENO"; then :
12419 ac_cv_lib_z_inflate=yes
12420 else
12421 ac_cv_lib_z_inflate=no
12423 rm -f core conftest.err conftest.$ac_objext \
12424 conftest$ac_exeext conftest.$ac_ext
12425 LIBS=$ac_check_lib_save_LIBS
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12428 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12429 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12431 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12433 Z_LIBS="-lz"
12438 if test "x$Z_LIBS" = "x"; then :
12439 case "x$with_zlib" in
12440 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12441 xno) ;;
12442 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12443 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12444 esac
12447 if test "x$enable_tools" != xno
12448 then
12449 if test "$ac_cv_header_gettext_po_h" = "yes"
12450 then
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12452 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12453 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12454 $as_echo_n "(cached) " >&6
12455 else
12456 ac_check_lib_save_LIBS=$LIBS
12457 LIBS="-lgettextpo $LIBS"
12458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12459 /* end confdefs.h. */
12461 /* Override any GCC internal prototype to avoid an error.
12462 Use char because int might match the return type of a GCC
12463 builtin and then its argument prototype would still apply. */
12464 #ifdef __cplusplus
12465 extern "C"
12466 #endif
12467 char po_message_msgctxt ();
12469 main ()
12471 return po_message_msgctxt ();
12473 return 0;
12475 _ACEOF
12476 if ac_fn_c_try_link "$LINENO"; then :
12477 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12478 else
12479 ac_cv_lib_gettextpo_po_message_msgctxt=no
12481 rm -f core conftest.err conftest.$ac_objext \
12482 conftest$ac_exeext conftest.$ac_ext
12483 LIBS=$ac_check_lib_save_LIBS
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12486 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12487 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12489 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12491 GETTEXTPO_LIBS="-lgettextpo"
12496 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12497 case "x$with_gettextpo" in
12498 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12499 xno) ;;
12500 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12501 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12502 esac
12506 if test "x$with_pulse" != "xno";
12507 then
12508 if ${PULSE_CFLAGS:+false} :; then :
12509 if ${PKG_CONFIG+:} false; then :
12510 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12514 if ${PULSE_LIBS:+false} :; then :
12515 if ${PKG_CONFIG+:} false; then :
12516 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12521 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12522 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12523 ac_save_CPPFLAGS=$CPPFLAGS
12524 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12525 for ac_header in pulse/pulseaudio.h
12526 do :
12527 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12528 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12529 cat >>confdefs.h <<_ACEOF
12530 #define HAVE_PULSE_PULSEAUDIO_H 1
12531 _ACEOF
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12533 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12534 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12535 $as_echo_n "(cached) " >&6
12536 else
12537 ac_check_lib_save_LIBS=$LIBS
12538 LIBS="-lpulse $PULSE_LIBS $LIBS"
12539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12542 /* Override any GCC internal prototype to avoid an error.
12543 Use char because int might match the return type of a GCC
12544 builtin and then its argument prototype would still apply. */
12545 #ifdef __cplusplus
12546 extern "C"
12547 #endif
12548 char pa_stream_is_corked ();
12550 main ()
12552 return pa_stream_is_corked ();
12554 return 0;
12556 _ACEOF
12557 if ac_fn_c_try_link "$LINENO"; then :
12558 ac_cv_lib_pulse_pa_stream_is_corked=yes
12559 else
12560 ac_cv_lib_pulse_pa_stream_is_corked=no
12562 rm -f core conftest.err conftest.$ac_objext \
12563 conftest$ac_exeext conftest.$ac_ext
12564 LIBS=$ac_check_lib_save_LIBS
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12567 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12568 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12570 else
12571 PULSE_LIBS=""
12574 else
12575 PULSE_LIBS=""
12578 done
12580 CPPFLAGS=$ac_save_CPPFLAGS
12581 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12582 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12585 if test -z "$PULSE_LIBS"; then :
12586 case "x$with_pulse" in
12587 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12588 xno) ;;
12589 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12590 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12591 esac
12593 test -n "$PULSE_LIBS" || enable_winepulse_drv=${enable_winepulse_drv:-no}
12595 if test "x$with_gstreamer" != "xno"
12596 then
12597 if ${GSTREAMER_CFLAGS:+false} :; then :
12598 if ${PKG_CONFIG+:} false; then :
12599 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12603 if ${GSTREAMER_LIBS:+false} :; then :
12604 if ${PKG_CONFIG+:} false; then :
12605 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12610 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12611 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12612 ac_save_CPPFLAGS=$CPPFLAGS
12613 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12614 ac_gst_incl=""
12615 for i in $GSTREAMER_CFLAGS
12617 case "$i" in
12618 -I*) ac_gst_incl="$ac_gst_incl $i";;
12619 esac
12620 done
12621 GSTREAMER_CFLAGS=$ac_gst_incl
12622 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12623 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12624 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12625 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12626 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12628 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12630 /* end confdefs.h. */
12631 #include <gst/app/gstappsink.h>
12633 main ()
12635 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12637 return 0;
12639 _ACEOF
12640 if ac_fn_c_try_compile "$LINENO"; then :
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12642 $as_echo "yes" >&6; }
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12644 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12645 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12646 $as_echo_n "(cached) " >&6
12647 else
12648 ac_check_lib_save_LIBS=$LIBS
12649 LIBS="-lgstreamer-0.10 $LIBS"
12650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12651 /* end confdefs.h. */
12653 /* Override any GCC internal prototype to avoid an error.
12654 Use char because int might match the return type of a GCC
12655 builtin and then its argument prototype would still apply. */
12656 #ifdef __cplusplus
12657 extern "C"
12658 #endif
12659 char gst_pad_get_caps_reffed ();
12661 main ()
12663 return gst_pad_get_caps_reffed ();
12665 return 0;
12667 _ACEOF
12668 if ac_fn_c_try_link "$LINENO"; then :
12669 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12670 else
12671 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12673 rm -f core conftest.err conftest.$ac_objext \
12674 conftest$ac_exeext conftest.$ac_ext
12675 LIBS=$ac_check_lib_save_LIBS
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12678 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12679 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12681 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12682 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12683 $as_echo_n "(cached) " >&6
12684 else
12685 ac_check_lib_save_LIBS=$LIBS
12686 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12688 /* end confdefs.h. */
12690 /* Override any GCC internal prototype to avoid an error.
12691 Use char because int might match the return type of a GCC
12692 builtin and then its argument prototype would still apply. */
12693 #ifdef __cplusplus
12694 extern "C"
12695 #endif
12696 char gst_app_buffer_new ();
12698 main ()
12700 return gst_app_buffer_new ();
12702 return 0;
12704 _ACEOF
12705 if ac_fn_c_try_link "$LINENO"; then :
12706 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12707 else
12708 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12710 rm -f core conftest.err conftest.$ac_objext \
12711 conftest$ac_exeext conftest.$ac_ext
12712 LIBS=$ac_check_lib_save_LIBS
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12715 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12716 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12722 else
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12724 $as_echo "no" >&6; }
12726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12730 else
12731 GSTREAMER_CFLAGS=""
12735 CPPFLAGS=$ac_save_CPPFLAGS
12736 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12737 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12740 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12741 case "x$with_gstreamer" in
12742 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12743 xno) ;;
12744 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12745 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12746 esac
12748 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12750 ALSA_LIBS=""
12752 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12753 then
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12755 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12756 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12757 $as_echo_n "(cached) " >&6
12758 else
12759 ac_check_lib_save_LIBS=$LIBS
12760 LIBS="-lasound $LIBS"
12761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12762 /* end confdefs.h. */
12764 /* Override any GCC internal prototype to avoid an error.
12765 Use char because int might match the return type of a GCC
12766 builtin and then its argument prototype would still apply. */
12767 #ifdef __cplusplus
12768 extern "C"
12769 #endif
12770 char snd_pcm_hw_params_get_access_mask ();
12772 main ()
12774 return snd_pcm_hw_params_get_access_mask ();
12776 return 0;
12778 _ACEOF
12779 if ac_fn_c_try_link "$LINENO"; then :
12780 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12781 else
12782 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12784 rm -f core conftest.err conftest.$ac_objext \
12785 conftest$ac_exeext conftest.$ac_ext
12786 LIBS=$ac_check_lib_save_LIBS
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12789 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12790 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12792 /* end confdefs.h. */
12793 #ifdef HAVE_ALSA_ASOUNDLIB_H
12794 #include <alsa/asoundlib.h>
12795 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12796 #include <sys/asoundlib.h>
12797 #endif
12799 main ()
12801 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12803 return 0;
12805 _ACEOF
12806 if ac_fn_c_try_compile "$LINENO"; then :
12807 ALSA_LIBS="-lasound"
12809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12813 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12815 if test "x$with_oss" != xno
12816 then
12817 ac_save_CPPFLAGS="$CPPFLAGS"
12818 if test -f /etc/oss.conf
12819 then
12820 . /etc/oss.conf
12822 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12823 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12824 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12825 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12826 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12828 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12830 cat >>confdefs.h <<_ACEOF
12831 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12832 _ACEOF
12834 OSS4_CFLAGS="$ac_oss_incl"
12841 CPPFLAGS="$ac_save_CPPFLAGS"
12842 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12843 then
12844 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12847 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12849 if test "x$with_capi" != "xno"
12850 then
12851 if ${CAPI20_CFLAGS:+false} :; then :
12852 if ${PKG_CONFIG+:} false; then :
12853 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12857 if ${CAPI20_LIBS:+false} :; then :
12858 if ${PKG_CONFIG+:} false; then :
12859 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12864 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12865 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12866 ac_save_CPPFLAGS=$CPPFLAGS
12867 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12868 for ac_header in capi20.h linux/capi.h
12869 do :
12870 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12871 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12873 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12874 cat >>confdefs.h <<_ACEOF
12875 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12876 _ACEOF
12880 done
12882 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12883 then
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12885 $as_echo_n "checking for -lcapi20... " >&6; }
12886 if ${ac_cv_lib_soname_capi20+:} false; then :
12887 $as_echo_n "(cached) " >&6
12888 else
12889 ac_check_soname_save_LIBS=$LIBS
12890 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12892 /* end confdefs.h. */
12894 /* Override any GCC internal prototype to avoid an error.
12895 Use char because int might match the return type of a GCC
12896 builtin and then its argument prototype would still apply. */
12897 #ifdef __cplusplus
12898 extern "C"
12899 #endif
12900 char capi20_register ();
12902 main ()
12904 return capi20_register ();
12906 return 0;
12908 _ACEOF
12909 if ac_fn_c_try_link "$LINENO"; then :
12910 case "$LIBEXT" in
12911 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12912 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'` ;;
12913 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12914 if ${ac_cv_lib_soname_capi20:+false} :; then :
12915 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12916 fi ;;
12917 esac
12919 rm -f core conftest.err conftest.$ac_objext \
12920 conftest$ac_exeext conftest.$ac_ext
12921 LIBS=$ac_check_soname_save_LIBS
12923 if ${ac_cv_lib_soname_capi20:+false} :; then :
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12925 $as_echo "not found" >&6; }
12927 else
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12929 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12931 cat >>confdefs.h <<_ACEOF
12932 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12933 _ACEOF
12938 CPPFLAGS=$ac_save_CPPFLAGS
12939 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12940 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12943 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12944 case "x$with_capi" in
12945 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12946 xno) ;;
12947 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12948 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12949 esac
12952 CUPS_CFLAGS=""
12954 if test "x$with_cups" != "xno"
12955 then
12956 ac_save_CPPFLAGS="$CPPFLAGS"
12957 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12958 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12959 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12960 for ac_header in cups/cups.h
12961 do :
12962 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12963 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12964 cat >>confdefs.h <<_ACEOF
12965 #define HAVE_CUPS_CUPS_H 1
12966 _ACEOF
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12968 $as_echo_n "checking for -lcups... " >&6; }
12969 if ${ac_cv_lib_soname_cups+:} false; then :
12970 $as_echo_n "(cached) " >&6
12971 else
12972 ac_check_soname_save_LIBS=$LIBS
12973 LIBS="-lcups $ac_cups_libs $LIBS"
12974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12975 /* end confdefs.h. */
12977 /* Override any GCC internal prototype to avoid an error.
12978 Use char because int might match the return type of a GCC
12979 builtin and then its argument prototype would still apply. */
12980 #ifdef __cplusplus
12981 extern "C"
12982 #endif
12983 char cupsGetDefault ();
12985 main ()
12987 return cupsGetDefault ();
12989 return 0;
12991 _ACEOF
12992 if ac_fn_c_try_link "$LINENO"; then :
12993 case "$LIBEXT" in
12994 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12995 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'` ;;
12996 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12997 if ${ac_cv_lib_soname_cups:+false} :; then :
12998 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12999 fi ;;
13000 esac
13002 rm -f core conftest.err conftest.$ac_objext \
13003 conftest$ac_exeext conftest.$ac_ext
13004 LIBS=$ac_check_soname_save_LIBS
13006 if ${ac_cv_lib_soname_cups:+false} :; then :
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13008 $as_echo "not found" >&6; }
13010 else
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13012 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13014 cat >>confdefs.h <<_ACEOF
13015 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13016 _ACEOF
13018 CUPS_CFLAGS="$ac_cups_cflags"
13022 done
13024 CPPFLAGS="$ac_save_CPPFLAGS"
13026 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13027 case "x$with_cups" in
13028 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13029 xno) ;;
13030 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13031 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13032 esac
13035 if test "x$with_fontconfig" != "xno"
13036 then
13037 if ${FONTCONFIG_CFLAGS:+false} :; then :
13038 if ${PKG_CONFIG+:} false; then :
13039 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13042 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13043 if ${FONTCONFIG_LIBS:+false} :; then :
13044 if ${PKG_CONFIG+:} false; then :
13045 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13048 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13050 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13051 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13052 ac_save_CPPFLAGS=$CPPFLAGS
13053 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13054 for ac_header in fontconfig/fontconfig.h
13055 do :
13056 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13057 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13058 cat >>confdefs.h <<_ACEOF
13059 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13060 _ACEOF
13064 done
13066 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13067 then
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13069 $as_echo_n "checking for -lfontconfig... " >&6; }
13070 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13071 $as_echo_n "(cached) " >&6
13072 else
13073 ac_check_soname_save_LIBS=$LIBS
13074 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13076 /* end confdefs.h. */
13078 /* Override any GCC internal prototype to avoid an error.
13079 Use char because int might match the return type of a GCC
13080 builtin and then its argument prototype would still apply. */
13081 #ifdef __cplusplus
13082 extern "C"
13083 #endif
13084 char FcInit ();
13086 main ()
13088 return FcInit ();
13090 return 0;
13092 _ACEOF
13093 if ac_fn_c_try_link "$LINENO"; then :
13094 case "$LIBEXT" in
13095 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13096 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'` ;;
13097 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13098 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13099 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13100 fi ;;
13101 esac
13103 rm -f core conftest.err conftest.$ac_objext \
13104 conftest$ac_exeext conftest.$ac_ext
13105 LIBS=$ac_check_soname_save_LIBS
13107 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13109 $as_echo "not found" >&6; }
13110 FONTCONFIG_CFLAGS=""
13111 else
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13113 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13115 cat >>confdefs.h <<_ACEOF
13116 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13117 _ACEOF
13121 else
13122 FONTCONFIG_CFLAGS=""
13124 CPPFLAGS=$ac_save_CPPFLAGS
13125 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13126 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13129 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13130 case "x$with_fontconfig" in
13131 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13132 xno) ;;
13133 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13134 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13135 esac
13138 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13139 then
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13141 $as_echo_n "checking for -lgsm... " >&6; }
13142 if ${ac_cv_lib_soname_gsm+:} false; then :
13143 $as_echo_n "(cached) " >&6
13144 else
13145 ac_check_soname_save_LIBS=$LIBS
13146 LIBS="-lgsm $LIBS"
13147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13148 /* end confdefs.h. */
13150 /* Override any GCC internal prototype to avoid an error.
13151 Use char because int might match the return type of a GCC
13152 builtin and then its argument prototype would still apply. */
13153 #ifdef __cplusplus
13154 extern "C"
13155 #endif
13156 char gsm_create ();
13158 main ()
13160 return gsm_create ();
13162 return 0;
13164 _ACEOF
13165 if ac_fn_c_try_link "$LINENO"; then :
13166 case "$LIBEXT" in
13167 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13168 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'` ;;
13169 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13170 if ${ac_cv_lib_soname_gsm:+false} :; then :
13171 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13172 fi ;;
13173 esac
13175 rm -f core conftest.err conftest.$ac_objext \
13176 conftest$ac_exeext conftest.$ac_ext
13177 LIBS=$ac_check_soname_save_LIBS
13179 if ${ac_cv_lib_soname_gsm:+false} :; then :
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13181 $as_echo "not found" >&6; }
13183 else
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13185 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13187 cat >>confdefs.h <<_ACEOF
13188 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13189 _ACEOF
13194 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13195 case "x$with_gsm" in
13196 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13197 xno) ;;
13198 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13199 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13200 esac
13203 if test "x$with_jpeg" != "xno"
13204 then
13205 if ${JPEG_CFLAGS:+false} :; then :
13206 if ${PKG_CONFIG+:} false; then :
13207 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13211 if ${JPEG_LIBS:+false} :; then :
13212 if ${PKG_CONFIG+:} false; then :
13213 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13218 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13219 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13220 ac_save_CPPFLAGS=$CPPFLAGS
13221 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13222 for ac_header in jpeglib.h
13223 do :
13224 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13225 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13226 cat >>confdefs.h <<_ACEOF
13227 #define HAVE_JPEGLIB_H 1
13228 _ACEOF
13232 done
13234 if test "$ac_cv_header_jpeglib_h" = "yes"
13235 then
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13237 $as_echo_n "checking for -ljpeg... " >&6; }
13238 if ${ac_cv_lib_soname_jpeg+:} false; then :
13239 $as_echo_n "(cached) " >&6
13240 else
13241 ac_check_soname_save_LIBS=$LIBS
13242 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13244 /* end confdefs.h. */
13246 /* Override any GCC internal prototype to avoid an error.
13247 Use char because int might match the return type of a GCC
13248 builtin and then its argument prototype would still apply. */
13249 #ifdef __cplusplus
13250 extern "C"
13251 #endif
13252 char jpeg_start_decompress ();
13254 main ()
13256 return jpeg_start_decompress ();
13258 return 0;
13260 _ACEOF
13261 if ac_fn_c_try_link "$LINENO"; then :
13262 case "$LIBEXT" in
13263 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13264 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'` ;;
13265 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13266 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13267 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13268 fi ;;
13269 esac
13271 rm -f core conftest.err conftest.$ac_objext \
13272 conftest$ac_exeext conftest.$ac_ext
13273 LIBS=$ac_check_soname_save_LIBS
13275 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13277 $as_echo "not found" >&6; }
13278 JPEG_CFLAGS=""
13279 else
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13281 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13283 cat >>confdefs.h <<_ACEOF
13284 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13285 _ACEOF
13289 else
13290 JPEG_CFLAGS=""
13292 CPPFLAGS=$ac_save_CPPFLAGS
13293 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13294 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13297 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13298 case "x$with_jpeg" in
13299 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13300 xno) ;;
13301 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13302 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13303 esac
13306 if test "x$with_png" != "xno"
13307 then
13308 if ${PNG_CFLAGS:+false} :; then :
13309 if ${PKG_CONFIG+:} false; then :
13310 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13313 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13314 if ${PNG_LIBS:+false} :; then :
13315 if ${PKG_CONFIG+:} false; then :
13316 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13319 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13321 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13322 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13323 ac_save_CPPFLAGS=$CPPFLAGS
13324 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13325 for ac_header in png.h
13326 do :
13327 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13328 if test "x$ac_cv_header_png_h" = xyes; then :
13329 cat >>confdefs.h <<_ACEOF
13330 #define HAVE_PNG_H 1
13331 _ACEOF
13335 done
13337 if test "$ac_cv_header_png_h" = "yes"
13338 then
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13340 $as_echo_n "checking for -lpng... " >&6; }
13341 if ${ac_cv_lib_soname_png+:} false; then :
13342 $as_echo_n "(cached) " >&6
13343 else
13344 ac_check_soname_save_LIBS=$LIBS
13345 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13347 /* end confdefs.h. */
13349 /* Override any GCC internal prototype to avoid an error.
13350 Use char because int might match the return type of a GCC
13351 builtin and then its argument prototype would still apply. */
13352 #ifdef __cplusplus
13353 extern "C"
13354 #endif
13355 char png_create_read_struct ();
13357 main ()
13359 return png_create_read_struct ();
13361 return 0;
13363 _ACEOF
13364 if ac_fn_c_try_link "$LINENO"; then :
13365 case "$LIBEXT" in
13366 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13367 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'` ;;
13368 *) 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'`
13369 if ${ac_cv_lib_soname_png:+false} :; then :
13370 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13371 fi ;;
13372 esac
13374 rm -f core conftest.err conftest.$ac_objext \
13375 conftest$ac_exeext conftest.$ac_ext
13376 LIBS=$ac_check_soname_save_LIBS
13378 if ${ac_cv_lib_soname_png:+false} :; then :
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13380 $as_echo "not found" >&6; }
13381 PNG_CFLAGS=""
13382 else
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13384 $as_echo "$ac_cv_lib_soname_png" >&6; }
13386 cat >>confdefs.h <<_ACEOF
13387 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13388 _ACEOF
13390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13391 /* end confdefs.h. */
13392 #include <png.h>
13394 main ()
13396 typeof(png_set_expand_gray_1_2_4_to_8) *p
13398 return 0;
13400 _ACEOF
13401 if ac_fn_c_try_compile "$LINENO"; then :
13403 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13408 else
13409 PNG_CFLAGS=""
13411 CPPFLAGS=$ac_save_CPPFLAGS
13412 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13413 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13416 if test "x$ac_cv_lib_soname_png" = "x"; then :
13417 case "x$with_png" in
13418 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13419 xno) ;;
13420 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13421 This is an error since --with-png was requested." "$LINENO" 5 ;;
13422 esac
13425 if test "x$with_tiff" != "xno"
13426 then
13427 if ${TIFF_CFLAGS:+false} :; then :
13428 if ${PKG_CONFIG+:} false; then :
13429 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13433 if ${TIFF_LIBS:+false} :; then :
13434 if ${PKG_CONFIG+:} false; then :
13435 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13440 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13441 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13442 ac_save_CPPFLAGS=$CPPFLAGS
13443 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13444 for ac_header in tiffio.h
13445 do :
13446 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13447 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13448 cat >>confdefs.h <<_ACEOF
13449 #define HAVE_TIFFIO_H 1
13450 _ACEOF
13454 done
13456 if test "$ac_cv_header_tiffio_h" = "yes"
13457 then
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13459 $as_echo_n "checking for -ltiff... " >&6; }
13460 if ${ac_cv_lib_soname_tiff+:} false; then :
13461 $as_echo_n "(cached) " >&6
13462 else
13463 ac_check_soname_save_LIBS=$LIBS
13464 LIBS="-ltiff $TIFF_LIBS $LIBS"
13465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13466 /* end confdefs.h. */
13468 /* Override any GCC internal prototype to avoid an error.
13469 Use char because int might match the return type of a GCC
13470 builtin and then its argument prototype would still apply. */
13471 #ifdef __cplusplus
13472 extern "C"
13473 #endif
13474 char TIFFClientOpen ();
13476 main ()
13478 return TIFFClientOpen ();
13480 return 0;
13482 _ACEOF
13483 if ac_fn_c_try_link "$LINENO"; then :
13484 case "$LIBEXT" in
13485 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13486 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'` ;;
13487 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13488 if ${ac_cv_lib_soname_tiff:+false} :; then :
13489 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13490 fi ;;
13491 esac
13493 rm -f core conftest.err conftest.$ac_objext \
13494 conftest$ac_exeext conftest.$ac_ext
13495 LIBS=$ac_check_soname_save_LIBS
13497 if ${ac_cv_lib_soname_tiff:+false} :; then :
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13499 $as_echo "not found" >&6; }
13501 else
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13503 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13505 cat >>confdefs.h <<_ACEOF
13506 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13507 _ACEOF
13512 CPPFLAGS=$ac_save_CPPFLAGS
13513 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13514 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13517 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13518 case "x$with_tiff" in
13519 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13520 xno) ;;
13521 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13522 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13523 esac
13526 if test "x$with_mpg123" != "xno"
13527 then
13528 if ${MPG123_CFLAGS:+false} :; then :
13529 if ${PKG_CONFIG+:} false; then :
13530 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13534 if ${MPG123_LIBS:+false} :; then :
13535 if ${PKG_CONFIG+:} false; then :
13536 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13540 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13541 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13542 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13543 ac_save_CPPFLAGS=$CPPFLAGS
13544 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13545 for ac_header in mpg123.h
13546 do :
13547 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13548 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13549 cat >>confdefs.h <<_ACEOF
13550 #define HAVE_MPG123_H 1
13551 _ACEOF
13555 done
13557 if test "$ac_cv_header_mpg123_h" = "yes"
13558 then
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13560 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13561 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13562 $as_echo_n "(cached) " >&6
13563 else
13564 ac_check_lib_save_LIBS=$LIBS
13565 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13567 /* end confdefs.h. */
13569 /* Override any GCC internal prototype to avoid an error.
13570 Use char because int might match the return type of a GCC
13571 builtin and then its argument prototype would still apply. */
13572 #ifdef __cplusplus
13573 extern "C"
13574 #endif
13575 char mpg123_feed ();
13577 main ()
13579 return mpg123_feed ();
13581 return 0;
13583 _ACEOF
13584 if ac_fn_c_try_link "$LINENO"; then :
13585 ac_cv_lib_mpg123_mpg123_feed=yes
13586 else
13587 ac_cv_lib_mpg123_mpg123_feed=no
13589 rm -f core conftest.err conftest.$ac_objext \
13590 conftest$ac_exeext conftest.$ac_ext
13591 LIBS=$ac_check_lib_save_LIBS
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13594 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13595 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13597 else
13598 MPG123_LIBS=""
13601 else
13602 MPG123_CFLAGS=""
13603 MPG123_LIBS=""
13605 CPPFLAGS=$ac_save_CPPFLAGS
13606 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13607 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13610 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13611 case "x$with_mpg123" in
13612 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13613 xno) ;;
13614 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13615 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13616 esac
13618 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes -o "x$ac_cv_header_AudioToolbox_AudioConverter_h" = xyes || enable_winemp3_acm=${enable_winemp3_acm:-no}
13620 if test "$ac_cv_header_AL_al_h" = "yes"
13621 then
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13623 $as_echo_n "checking for -lopenal... " >&6; }
13624 if ${ac_cv_lib_soname_openal+:} false; then :
13625 $as_echo_n "(cached) " >&6
13626 else
13627 ac_check_soname_save_LIBS=$LIBS
13628 LIBS="-lopenal $LIBS"
13629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13630 /* end confdefs.h. */
13632 /* Override any GCC internal prototype to avoid an error.
13633 Use char because int might match the return type of a GCC
13634 builtin and then its argument prototype would still apply. */
13635 #ifdef __cplusplus
13636 extern "C"
13637 #endif
13638 char alGetSource3i ();
13640 main ()
13642 return alGetSource3i ();
13644 return 0;
13646 _ACEOF
13647 if ac_fn_c_try_link "$LINENO"; then :
13648 case "$LIBEXT" in
13649 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13650 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'` ;;
13651 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13652 if ${ac_cv_lib_soname_openal:+false} :; then :
13653 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13654 fi ;;
13655 esac
13657 rm -f core conftest.err conftest.$ac_objext \
13658 conftest$ac_exeext conftest.$ac_ext
13659 LIBS=$ac_check_soname_save_LIBS
13661 if ${ac_cv_lib_soname_openal:+false} :; then :
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13663 $as_echo "not found" >&6; }
13665 else
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13667 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13669 cat >>confdefs.h <<_ACEOF
13670 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13671 _ACEOF
13673 OPENAL_LIBS="-lopenal"
13675 ac_cv_lib_openal=yes
13677 cat >>confdefs.h <<_ACEOF
13678 #define HAVE_OPENAL 1
13679 _ACEOF
13683 if test "x$ac_cv_lib_openal" != xyes; then :
13684 case "x$with_openal" in
13685 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13686 xno) ;;
13687 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13688 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13689 esac
13691 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13693 if test "x$ac_cv_lib_openal" = xyes
13694 then
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13696 $as_echo_n "checking for openal-soft... " >&6; }
13697 if ${ac_cv_have_openalsoft+:} false; then :
13698 $as_echo_n "(cached) " >&6
13699 else
13700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13701 /* end confdefs.h. */
13702 #include <AL/al.h>
13703 #include <AL/alc.h>
13704 #include <AL/alext.h>
13705 LPALCRENDERSAMPLESSOFT x;
13707 main ()
13711 return 0;
13713 _ACEOF
13714 if ac_fn_c_try_compile "$LINENO"; then :
13715 ac_cv_have_openalsoft=yes
13716 else
13717 ac_cv_have_openalsoft=no
13719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13722 $as_echo "$ac_cv_have_openalsoft" >&6; }
13724 if test "x$ac_cv_have_openalsoft" != xyes
13725 then
13726 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13727 enable_xaudio2_7=${enable_xaudio2_7:-no}
13730 if test "$ac_cv_header_kstat_h" = "yes"
13731 then
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13733 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13734 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13735 $as_echo_n "(cached) " >&6
13736 else
13737 ac_check_lib_save_LIBS=$LIBS
13738 LIBS="-lkstat $LIBS"
13739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13740 /* end confdefs.h. */
13742 /* Override any GCC internal prototype to avoid an error.
13743 Use char because int might match the return type of a GCC
13744 builtin and then its argument prototype would still apply. */
13745 #ifdef __cplusplus
13746 extern "C"
13747 #endif
13748 char kstat_open ();
13750 main ()
13752 return kstat_open ();
13754 return 0;
13756 _ACEOF
13757 if ac_fn_c_try_link "$LINENO"; then :
13758 ac_cv_lib_kstat_kstat_open=yes
13759 else
13760 ac_cv_lib_kstat_kstat_open=no
13762 rm -f core conftest.err conftest.$ac_objext \
13763 conftest$ac_exeext conftest.$ac_ext
13764 LIBS=$ac_check_lib_save_LIBS
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13767 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13768 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13770 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13772 KSTAT_LIBS="-lkstat"
13778 if test "$ac_cv_header_libprocstat_h" = "yes"
13779 then
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13781 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13782 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13783 $as_echo_n "(cached) " >&6
13784 else
13785 ac_check_lib_save_LIBS=$LIBS
13786 LIBS="-lprocstat $LIBS"
13787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13788 /* end confdefs.h. */
13790 /* Override any GCC internal prototype to avoid an error.
13791 Use char because int might match the return type of a GCC
13792 builtin and then its argument prototype would still apply. */
13793 #ifdef __cplusplus
13794 extern "C"
13795 #endif
13796 char procstat_open_sysctl ();
13798 main ()
13800 return procstat_open_sysctl ();
13802 return 0;
13804 _ACEOF
13805 if ac_fn_c_try_link "$LINENO"; then :
13806 ac_cv_lib_procstat_procstat_open_sysctl=yes
13807 else
13808 ac_cv_lib_procstat_procstat_open_sysctl=no
13810 rm -f core conftest.err conftest.$ac_objext \
13811 conftest$ac_exeext conftest.$ac_ext
13812 LIBS=$ac_check_lib_save_LIBS
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13815 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13816 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13818 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13820 PROCSTAT_LIBS="-lprocstat"
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13827 $as_echo_n "checking for -lodbc... " >&6; }
13828 if ${ac_cv_lib_soname_odbc+:} false; then :
13829 $as_echo_n "(cached) " >&6
13830 else
13831 ac_check_soname_save_LIBS=$LIBS
13832 LIBS="-lodbc $LIBS"
13833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13834 /* end confdefs.h. */
13836 /* Override any GCC internal prototype to avoid an error.
13837 Use char because int might match the return type of a GCC
13838 builtin and then its argument prototype would still apply. */
13839 #ifdef __cplusplus
13840 extern "C"
13841 #endif
13842 char SQLConnect ();
13844 main ()
13846 return SQLConnect ();
13848 return 0;
13850 _ACEOF
13851 if ac_fn_c_try_link "$LINENO"; then :
13852 case "$LIBEXT" in
13853 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13854 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'` ;;
13855 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13856 if ${ac_cv_lib_soname_odbc:+false} :; then :
13857 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13858 fi ;;
13859 esac
13861 rm -f core conftest.err conftest.$ac_objext \
13862 conftest$ac_exeext conftest.$ac_ext
13863 LIBS=$ac_check_soname_save_LIBS
13865 if ${ac_cv_lib_soname_odbc:+false} :; then :
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13867 $as_echo "not found" >&6; }
13868 cat >>confdefs.h <<_ACEOF
13869 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13870 _ACEOF
13872 else
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13874 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13876 cat >>confdefs.h <<_ACEOF
13877 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13878 _ACEOF
13883 if test "x$with_netapi" != "xno"
13884 then
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13886 $as_echo_n "checking for -lnetapi... " >&6; }
13887 if ${ac_cv_lib_soname_netapi+:} false; then :
13888 $as_echo_n "(cached) " >&6
13889 else
13890 ac_check_soname_save_LIBS=$LIBS
13891 LIBS="-lnetapi $LIBS"
13892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13893 /* end confdefs.h. */
13895 /* Override any GCC internal prototype to avoid an error.
13896 Use char because int might match the return type of a GCC
13897 builtin and then its argument prototype would still apply. */
13898 #ifdef __cplusplus
13899 extern "C"
13900 #endif
13901 char libnetapi_init ();
13903 main ()
13905 return libnetapi_init ();
13907 return 0;
13909 _ACEOF
13910 if ac_fn_c_try_link "$LINENO"; then :
13911 case "$LIBEXT" in
13912 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13913 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'` ;;
13914 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13915 if ${ac_cv_lib_soname_netapi:+false} :; then :
13916 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13917 fi ;;
13918 esac
13920 rm -f core conftest.err conftest.$ac_objext \
13921 conftest$ac_exeext conftest.$ac_ext
13922 LIBS=$ac_check_soname_save_LIBS
13924 if ${ac_cv_lib_soname_netapi:+false} :; then :
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13926 $as_echo "not found" >&6; }
13927 cat >>confdefs.h <<_ACEOF
13928 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13929 _ACEOF
13931 else
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13933 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13935 cat >>confdefs.h <<_ACEOF
13936 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13937 _ACEOF
13943 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
13944 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
13945 then
13946 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13950 EXTRACFLAGS=""
13952 if test "x${GCC}" = "xyes"
13953 then
13954 EXTRACFLAGS="-Wall -pipe"
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13957 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13958 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13959 $as_echo_n "(cached) " >&6
13960 else
13961 if test "$cross_compiling" = yes; then :
13962 ac_cv_c_gcc_strength_bug="no"
13963 else
13964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13965 /* end confdefs.h. */
13966 int L[4] = {0,1,2,3};
13968 main ()
13970 static int Array[3];
13971 unsigned int B = 3;
13972 int i;
13973 for(i=0; i<B; i++) Array[i] = i - 3;
13974 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13975 L[i] = 4;
13976 return (Array[1] != -2 || L[2] != 3)
13978 return 0;
13980 _ACEOF
13981 if ac_fn_c_try_run "$LINENO"; then :
13982 ac_cv_c_gcc_strength_bug="no"
13983 else
13984 ac_cv_c_gcc_strength_bug="yes"
13986 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13987 conftest.$ac_objext conftest.beam conftest.$ac_ext
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13992 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13993 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13994 then
13995 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13999 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14000 if ${ac_cv_cflags__fno_builtin+:} false; then :
14001 $as_echo_n "(cached) " >&6
14002 else
14003 ac_wine_try_cflags_saved=$CFLAGS
14004 CFLAGS="$CFLAGS -fno-builtin"
14005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14006 /* end confdefs.h. */
14007 int main(int argc, char **argv) { return 0; }
14008 _ACEOF
14009 if ac_fn_c_try_link "$LINENO"; then :
14010 ac_cv_cflags__fno_builtin=yes
14011 else
14012 ac_cv_cflags__fno_builtin=no
14014 rm -f core conftest.err conftest.$ac_objext \
14015 conftest$ac_exeext conftest.$ac_ext
14016 CFLAGS=$ac_wine_try_cflags_saved
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14019 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14020 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14021 BUILTINFLAG="-fno-builtin"
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14025 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14026 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14027 $as_echo_n "(cached) " >&6
14028 else
14029 ac_wine_try_cflags_saved=$CFLAGS
14030 CFLAGS="$CFLAGS -fno-strict-aliasing"
14031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14032 /* end confdefs.h. */
14033 int main(int argc, char **argv) { return 0; }
14034 _ACEOF
14035 if ac_fn_c_try_link "$LINENO"; then :
14036 ac_cv_cflags__fno_strict_aliasing=yes
14037 else
14038 ac_cv_cflags__fno_strict_aliasing=no
14040 rm -f core conftest.err conftest.$ac_objext \
14041 conftest$ac_exeext conftest.$ac_ext
14042 CFLAGS=$ac_wine_try_cflags_saved
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14045 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14046 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14047 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14050 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14051 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14052 $as_echo_n "(cached) " >&6
14053 else
14054 ac_wine_try_cflags_saved=$CFLAGS
14055 CFLAGS="$CFLAGS -fexcess-precision=standard"
14056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14057 /* end confdefs.h. */
14058 int main(int argc, char **argv) { return 0; }
14059 _ACEOF
14060 if ac_fn_c_try_link "$LINENO"; then :
14061 ac_cv_cflags__fexcess_precision_standard=yes
14062 else
14063 ac_cv_cflags__fexcess_precision_standard=no
14065 rm -f core conftest.err conftest.$ac_objext \
14066 conftest$ac_exeext conftest.$ac_ext
14067 CFLAGS=$ac_wine_try_cflags_saved
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14070 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14071 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14072 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14075 saved_CFLAGS=$CFLAGS
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14077 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14078 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14079 $as_echo_n "(cached) " >&6
14080 else
14081 ac_wine_try_cflags_saved=$CFLAGS
14082 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14084 /* end confdefs.h. */
14085 int main(int argc, char **argv) { return 0; }
14086 _ACEOF
14087 if ac_fn_c_try_link "$LINENO"; then :
14088 ac_cv_cflags__Werror_unknown_warning_option=yes
14089 else
14090 ac_cv_cflags__Werror_unknown_warning_option=no
14092 rm -f core conftest.err conftest.$ac_objext \
14093 conftest$ac_exeext conftest.$ac_ext
14094 CFLAGS=$ac_wine_try_cflags_saved
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14097 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14098 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14099 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14102 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14103 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14104 $as_echo_n "(cached) " >&6
14105 else
14106 ac_wine_try_cflags_saved=$CFLAGS
14107 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14109 /* end confdefs.h. */
14110 int main(int argc, char **argv) { return 0; }
14111 _ACEOF
14112 if ac_fn_c_try_link "$LINENO"; then :
14113 ac_cv_cflags__Wdeclaration_after_statement=yes
14114 else
14115 ac_cv_cflags__Wdeclaration_after_statement=no
14117 rm -f core conftest.err conftest.$ac_objext \
14118 conftest$ac_exeext conftest.$ac_ext
14119 CFLAGS=$ac_wine_try_cflags_saved
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14122 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14123 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14124 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14127 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14128 if ${ac_cv_cflags__Wempty_body+:} false; then :
14129 $as_echo_n "(cached) " >&6
14130 else
14131 ac_wine_try_cflags_saved=$CFLAGS
14132 CFLAGS="$CFLAGS -Wempty-body"
14133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14134 /* end confdefs.h. */
14135 int main(int argc, char **argv) { return 0; }
14136 _ACEOF
14137 if ac_fn_c_try_link "$LINENO"; then :
14138 ac_cv_cflags__Wempty_body=yes
14139 else
14140 ac_cv_cflags__Wempty_body=no
14142 rm -f core conftest.err conftest.$ac_objext \
14143 conftest$ac_exeext conftest.$ac_ext
14144 CFLAGS=$ac_wine_try_cflags_saved
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14147 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14148 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14149 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14152 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14153 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14154 $as_echo_n "(cached) " >&6
14155 else
14156 ac_wine_try_cflags_saved=$CFLAGS
14157 CFLAGS="$CFLAGS -Wignored-qualifiers"
14158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14159 /* end confdefs.h. */
14160 int main(int argc, char **argv) { return 0; }
14161 _ACEOF
14162 if ac_fn_c_try_link "$LINENO"; then :
14163 ac_cv_cflags__Wignored_qualifiers=yes
14164 else
14165 ac_cv_cflags__Wignored_qualifiers=no
14167 rm -f core conftest.err conftest.$ac_objext \
14168 conftest$ac_exeext conftest.$ac_ext
14169 CFLAGS=$ac_wine_try_cflags_saved
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14172 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14173 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14174 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14177 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14178 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14179 $as_echo_n "(cached) " >&6
14180 else
14181 ac_wine_try_cflags_saved=$CFLAGS
14182 CFLAGS="$CFLAGS -Wshift-overflow=2"
14183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14184 /* end confdefs.h. */
14185 int main(int argc, char **argv) { return 0; }
14186 _ACEOF
14187 if ac_fn_c_try_link "$LINENO"; then :
14188 ac_cv_cflags__Wshift_overflow_2=yes
14189 else
14190 ac_cv_cflags__Wshift_overflow_2=no
14192 rm -f core conftest.err conftest.$ac_objext \
14193 conftest$ac_exeext conftest.$ac_ext
14194 CFLAGS=$ac_wine_try_cflags_saved
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14197 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14198 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14199 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14202 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14203 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14204 $as_echo_n "(cached) " >&6
14205 else
14206 ac_wine_try_cflags_saved=$CFLAGS
14207 CFLAGS="$CFLAGS -Wstrict-prototypes"
14208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14210 int main(int argc, char **argv) { return 0; }
14211 _ACEOF
14212 if ac_fn_c_try_link "$LINENO"; then :
14213 ac_cv_cflags__Wstrict_prototypes=yes
14214 else
14215 ac_cv_cflags__Wstrict_prototypes=no
14217 rm -f core conftest.err conftest.$ac_objext \
14218 conftest$ac_exeext conftest.$ac_ext
14219 CFLAGS=$ac_wine_try_cflags_saved
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14222 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14223 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14224 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14227 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14228 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14229 $as_echo_n "(cached) " >&6
14230 else
14231 ac_wine_try_cflags_saved=$CFLAGS
14232 CFLAGS="$CFLAGS -Wtype-limits"
14233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14234 /* end confdefs.h. */
14235 int main(int argc, char **argv) { return 0; }
14236 _ACEOF
14237 if ac_fn_c_try_link "$LINENO"; then :
14238 ac_cv_cflags__Wtype_limits=yes
14239 else
14240 ac_cv_cflags__Wtype_limits=no
14242 rm -f core conftest.err conftest.$ac_objext \
14243 conftest$ac_exeext conftest.$ac_ext
14244 CFLAGS=$ac_wine_try_cflags_saved
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14247 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14248 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14249 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14252 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14253 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14254 $as_echo_n "(cached) " >&6
14255 else
14256 ac_wine_try_cflags_saved=$CFLAGS
14257 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14259 /* end confdefs.h. */
14260 int main(int argc, char **argv) { return 0; }
14261 _ACEOF
14262 if ac_fn_c_try_link "$LINENO"; then :
14263 ac_cv_cflags__Wunused_but_set_parameter=yes
14264 else
14265 ac_cv_cflags__Wunused_but_set_parameter=no
14267 rm -f core conftest.err conftest.$ac_objext \
14268 conftest$ac_exeext conftest.$ac_ext
14269 CFLAGS=$ac_wine_try_cflags_saved
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14272 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14273 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14274 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14277 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14278 if ${ac_cv_cflags__Wvla+:} false; then :
14279 $as_echo_n "(cached) " >&6
14280 else
14281 ac_wine_try_cflags_saved=$CFLAGS
14282 CFLAGS="$CFLAGS -Wvla"
14283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14284 /* end confdefs.h. */
14285 int main(int argc, char **argv) { return 0; }
14286 _ACEOF
14287 if ac_fn_c_try_link "$LINENO"; then :
14288 ac_cv_cflags__Wvla=yes
14289 else
14290 ac_cv_cflags__Wvla=no
14292 rm -f core conftest.err conftest.$ac_objext \
14293 conftest$ac_exeext conftest.$ac_ext
14294 CFLAGS=$ac_wine_try_cflags_saved
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14297 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14298 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14299 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14302 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14303 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14304 $as_echo_n "(cached) " >&6
14305 else
14306 ac_wine_try_cflags_saved=$CFLAGS
14307 CFLAGS="$CFLAGS -Wwrite-strings"
14308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14309 /* end confdefs.h. */
14310 int main(int argc, char **argv) { return 0; }
14311 _ACEOF
14312 if ac_fn_c_try_link "$LINENO"; then :
14313 ac_cv_cflags__Wwrite_strings=yes
14314 else
14315 ac_cv_cflags__Wwrite_strings=no
14317 rm -f core conftest.err conftest.$ac_objext \
14318 conftest$ac_exeext conftest.$ac_ext
14319 CFLAGS=$ac_wine_try_cflags_saved
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14322 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14323 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14324 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14328 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14329 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14330 $as_echo_n "(cached) " >&6
14331 else
14332 ac_wine_try_cflags_saved=$CFLAGS
14333 CFLAGS="$CFLAGS -Wpointer-arith"
14334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14335 /* end confdefs.h. */
14336 int main(int argc, char **argv) { return 0; }
14337 _ACEOF
14338 if ac_fn_c_try_link "$LINENO"; then :
14339 ac_cv_cflags__Wpointer_arith=yes
14340 else
14341 ac_cv_cflags__Wpointer_arith=no
14343 rm -f core conftest.err conftest.$ac_objext \
14344 conftest$ac_exeext conftest.$ac_ext
14345 CFLAGS=$ac_wine_try_cflags_saved
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14348 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14349 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14350 saved_string_h_CFLAGS=$CFLAGS
14351 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14353 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14354 if ${ac_cv_c_string_h_warnings+:} false; then :
14355 $as_echo_n "(cached) " >&6
14356 else
14357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14358 /* end confdefs.h. */
14359 #include <string.h>
14361 main ()
14365 return 0;
14367 _ACEOF
14368 if ac_fn_c_try_compile "$LINENO"; then :
14369 ac_cv_c_string_h_warnings=no
14370 else
14371 ac_cv_c_string_h_warnings=yes
14373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14376 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14377 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14378 CFLAGS=$saved_string_h_CFLAGS
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14382 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14383 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14384 $as_echo_n "(cached) " >&6
14385 else
14386 ac_wine_try_cflags_saved=$CFLAGS
14387 CFLAGS="$CFLAGS -Wlogical-op"
14388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14389 /* end confdefs.h. */
14390 int main(int argc, char **argv) { return 0; }
14391 _ACEOF
14392 if ac_fn_c_try_link "$LINENO"; then :
14393 ac_cv_cflags__Wlogical_op=yes
14394 else
14395 ac_cv_cflags__Wlogical_op=no
14397 rm -f core conftest.err conftest.$ac_objext \
14398 conftest$ac_exeext conftest.$ac_ext
14399 CFLAGS=$ac_wine_try_cflags_saved
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14402 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14403 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14404 saved_string_h_CFLAGS=$CFLAGS
14405 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14407 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14408 if ${ac_cv_c_logicalop_noisy+:} false; then :
14409 $as_echo_n "(cached) " >&6
14410 else
14411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14412 /* end confdefs.h. */
14413 #include <string.h>
14414 char*f(const char *h,char n) {return strchr(h,n);}
14416 main ()
14420 return 0;
14422 _ACEOF
14423 if ac_fn_c_try_compile "$LINENO"; then :
14424 ac_cv_c_logicalop_noisy=no
14425 else
14426 ac_cv_c_logicalop_noisy=yes
14428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14431 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14432 CFLAGS=$saved_string_h_CFLAGS
14433 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14436 CFLAGS=$saved_CFLAGS
14438 for ac_flag in $CFLAGS; do
14439 case $ac_flag in
14440 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14441 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14442 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14443 $as_echo_n "(cached) " >&6
14444 else
14445 ac_wine_try_cflags_saved=$CFLAGS
14446 CFLAGS="$CFLAGS -gdwarf-2"
14447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14448 /* end confdefs.h. */
14449 int main(int argc, char **argv) { return 0; }
14450 _ACEOF
14451 if ac_fn_c_try_link "$LINENO"; then :
14452 ac_cv_cflags__gdwarf_2=yes
14453 else
14454 ac_cv_cflags__gdwarf_2=no
14456 rm -f core conftest.err conftest.$ac_objext \
14457 conftest$ac_exeext conftest.$ac_ext
14458 CFLAGS=$ac_wine_try_cflags_saved
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14461 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14462 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14463 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14466 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14467 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14468 $as_echo_n "(cached) " >&6
14469 else
14470 ac_wine_try_cflags_saved=$CFLAGS
14471 CFLAGS="$CFLAGS -gstrict-dwarf"
14472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14473 /* end confdefs.h. */
14474 int main(int argc, char **argv) { return 0; }
14475 _ACEOF
14476 if ac_fn_c_try_link "$LINENO"; then :
14477 ac_cv_cflags__gstrict_dwarf=yes
14478 else
14479 ac_cv_cflags__gstrict_dwarf=no
14481 rm -f core conftest.err conftest.$ac_objext \
14482 conftest$ac_exeext conftest.$ac_ext
14483 CFLAGS=$ac_wine_try_cflags_saved
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14486 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14487 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14488 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14489 fi ;;
14490 esac
14491 done
14493 case $host_cpu in
14494 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14495 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14496 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14497 $as_echo_n "(cached) " >&6
14498 else
14499 ac_wine_try_cflags_saved=$CFLAGS
14500 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14502 /* end confdefs.h. */
14503 int main(int argc, char **argv) { return 0; }
14504 _ACEOF
14505 if ac_fn_c_try_link "$LINENO"; then :
14506 ac_cv_cflags__fno_omit_frame_pointer=yes
14507 else
14508 ac_cv_cflags__fno_omit_frame_pointer=no
14510 rm -f core conftest.err conftest.$ac_objext \
14511 conftest$ac_exeext conftest.$ac_ext
14512 CFLAGS=$ac_wine_try_cflags_saved
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14515 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14516 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14517 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14518 fi ;;
14519 esac
14521 case $host in
14522 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14523 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14524 if ${ac_cv_cflags__Wno_format+:} false; then :
14525 $as_echo_n "(cached) " >&6
14526 else
14527 ac_wine_try_cflags_saved=$CFLAGS
14528 CFLAGS="$CFLAGS -Wno-format"
14529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14530 /* end confdefs.h. */
14531 int main(int argc, char **argv) { return 0; }
14532 _ACEOF
14533 if ac_fn_c_try_link "$LINENO"; then :
14534 ac_cv_cflags__Wno_format=yes
14535 else
14536 ac_cv_cflags__Wno_format=no
14538 rm -f core conftest.err conftest.$ac_objext \
14539 conftest$ac_exeext conftest.$ac_ext
14540 CFLAGS=$ac_wine_try_cflags_saved
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14543 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14544 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14545 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14546 fi ;;
14547 esac
14549 if test "x$enable_maintainer_mode" = "xyes"
14550 then
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14552 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14553 if ${ac_cv_cflags__Werror+:} false; then :
14554 $as_echo_n "(cached) " >&6
14555 else
14556 ac_wine_try_cflags_saved=$CFLAGS
14557 CFLAGS="$CFLAGS -Werror"
14558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14559 /* end confdefs.h. */
14560 int main(int argc, char **argv) { return 0; }
14561 _ACEOF
14562 if ac_fn_c_try_link "$LINENO"; then :
14563 ac_cv_cflags__Werror=yes
14564 else
14565 ac_cv_cflags__Werror=no
14567 rm -f core conftest.err conftest.$ac_objext \
14568 conftest$ac_exeext conftest.$ac_ext
14569 CFLAGS=$ac_wine_try_cflags_saved
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14572 $as_echo "$ac_cv_cflags__Werror" >&6; }
14573 if test "x$ac_cv_cflags__Werror" = xyes; then :
14574 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14578 saved_CFLAGS="$CFLAGS"
14579 CFLAGS="$CFLAGS -Werror"
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14581 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14582 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14583 $as_echo_n "(cached) " >&6
14584 else
14585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14586 /* end confdefs.h. */
14587 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14589 main ()
14593 return 0;
14595 _ACEOF
14596 if ac_fn_c_try_compile "$LINENO"; then :
14597 ac_cv_have_ms_hook_prologue="yes"
14598 else
14599 ac_cv_have_ms_hook_prologue="no"
14601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14604 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14605 CFLAGS="$saved_CFLAGS"
14606 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14607 then
14609 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14611 else
14612 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14619 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14620 if ${ac_cv_c_fortify_enabled+:} false; then :
14621 $as_echo_n "(cached) " >&6
14622 else
14623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14624 /* end confdefs.h. */
14625 #include <string.h>
14627 main ()
14629 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14630 #error Fortify enabled
14631 #endif
14633 return 0;
14635 _ACEOF
14636 if ac_fn_c_try_compile "$LINENO"; then :
14637 ac_cv_c_fortify_enabled=no
14638 else
14639 ac_cv_c_fortify_enabled=yes
14641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14644 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14645 if test "$ac_cv_c_fortify_enabled" = yes
14646 then
14647 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14652 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14653 if ${ac_cv_c_extern_prefix+:} false; then :
14654 $as_echo_n "(cached) " >&6
14655 else
14656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14657 /* end confdefs.h. */
14658 extern int ac_test;
14660 main ()
14662 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14664 return 0;
14666 _ACEOF
14667 if ac_fn_c_try_link "$LINENO"; then :
14668 ac_cv_c_extern_prefix="yes"
14669 else
14670 ac_cv_c_extern_prefix="no"
14672 rm -f core conftest.err conftest.$ac_objext \
14673 conftest$ac_exeext conftest.$ac_ext
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14676 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14678 case $host_cpu in
14679 *i[3456789]86*)
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14681 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14682 if ${ac_cv_c_stdcall_suffix+:} false; then :
14683 $as_echo_n "(cached) " >&6
14684 else
14685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14686 /* end confdefs.h. */
14687 #ifndef _MSC_VER
14688 #define __stdcall __attribute__((__stdcall__))
14689 #endif
14690 int __stdcall ac_test(int i) { return i; }
14692 main ()
14694 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14696 return 0;
14698 _ACEOF
14699 if ac_fn_c_try_link "$LINENO"; then :
14700 ac_cv_c_stdcall_suffix="yes"
14701 else
14702 ac_cv_c_stdcall_suffix="no"
14704 rm -f core conftest.err conftest.$ac_objext \
14705 conftest$ac_exeext conftest.$ac_ext
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14708 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14709 *) ac_cv_c_stdcall_suffix="no" ;;
14710 esac
14713 if test "$ac_cv_c_extern_prefix" = "yes"
14714 then
14715 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14717 asm_name_prefix="_"
14718 else
14719 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14721 asm_name_prefix=""
14725 if test "$ac_cv_c_stdcall_suffix" = "yes"
14726 then
14727 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14729 else
14730 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14736 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14737 if ${ac_cv_asm_func_def+:} false; then :
14738 $as_echo_n "(cached) " >&6
14739 else
14740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14741 /* end confdefs.h. */
14744 main ()
14746 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14748 return 0;
14750 _ACEOF
14751 if ac_fn_c_try_link "$LINENO"; then :
14752 ac_cv_asm_func_def=".def"
14753 else
14754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14755 /* end confdefs.h. */
14758 main ()
14760 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14762 return 0;
14764 _ACEOF
14765 if ac_fn_c_try_link "$LINENO"; then :
14766 ac_cv_asm_func_def=".type @function"
14767 else
14768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14769 /* end confdefs.h. */
14772 main ()
14774 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14776 return 0;
14778 _ACEOF
14779 if ac_fn_c_try_link "$LINENO"; then :
14780 ac_cv_asm_func_def=".type 2"
14781 else
14782 ac_cv_asm_func_def="unknown"
14784 rm -f core conftest.err conftest.$ac_objext \
14785 conftest$ac_exeext conftest.$ac_ext
14787 rm -f core conftest.err conftest.$ac_objext \
14788 conftest$ac_exeext conftest.$ac_ext
14790 rm -f core conftest.err conftest.$ac_objext \
14791 conftest$ac_exeext conftest.$ac_ext
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14794 $as_echo "$ac_cv_asm_func_def" >&6; }
14797 case "$ac_cv_asm_func_def" in
14798 ".def")
14799 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14801 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14802 ".type @function")
14803 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14805 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14806 ".type 2")
14807 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14809 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14811 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14813 asm_func_header="" ;;
14814 esac
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14817 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14818 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14819 $as_echo_n "(cached) " >&6
14820 else
14821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14822 /* end confdefs.h. */
14823 asm(".text\n\t.long 0");
14825 main ()
14829 return 0;
14831 _ACEOF
14832 if ac_fn_c_try_compile "$LINENO"; then :
14833 ac_cv_c_asm_outside_funcs="yes"
14834 else
14835 ac_cv_c_asm_outside_funcs="no"
14837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14840 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14843 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14844 if ${ac_cv_c_dot_previous+:} false; then :
14845 $as_echo_n "(cached) " >&6
14846 else
14847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14848 /* end confdefs.h. */
14851 main ()
14853 asm(".text\nac_test:\t.long 0\n\t.previous");
14855 return 0;
14857 _ACEOF
14858 if ac_fn_c_try_link "$LINENO"; then :
14859 ac_cv_c_dot_previous="yes"
14860 else
14861 ac_cv_c_dot_previous="no"
14863 rm -f core conftest.err conftest.$ac_objext \
14864 conftest$ac_exeext conftest.$ac_ext
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14867 $as_echo "$ac_cv_c_dot_previous" >&6; }
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14870 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14871 if ${ac_cv_c_cfi_support+:} false; then :
14872 $as_echo_n "(cached) " >&6
14873 else
14874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14875 /* end confdefs.h. */
14876 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14878 main ()
14882 return 0;
14884 _ACEOF
14885 if ac_fn_c_try_compile "$LINENO"; then :
14886 ac_cv_c_cfi_support="yes"
14887 else
14888 ac_cv_c_cfi_support="no"
14890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14893 $as_echo "$ac_cv_c_cfi_support" >&6; }
14895 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14896 asm_func_trailer=""
14897 if test "$ac_cv_c_dot_previous" = "yes"
14898 then
14899 asm_func_trailer="\\n\\t.previous"
14901 if test "$ac_cv_c_cfi_support" = "yes"
14902 then
14903 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14904 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14906 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14908 UNWINDFLAGS=-fasynchronous-unwind-tables
14910 else
14911 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14913 if test "x$enable_win64" = "xyes"
14914 then
14915 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14919 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14922 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14923 then
14924 cat >>confdefs.h <<_ACEOF
14925 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14926 _ACEOF
14928 else
14929 cat >>confdefs.h <<_ACEOF
14930 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14931 _ACEOF
14935 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14938 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14942 case $build_os in
14943 cygwin*|mingw32*) TOOLSEXT=".exe"
14945 esac
14947 case $host_os in
14948 linux-android*) ;;
14949 linux*)
14950 case $host_cpu in
14951 *i[3456789]86*|x86_64*)
14952 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14953 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
14955 esac
14957 esac
14960 ac_save_CFLAGS="$CFLAGS"
14961 CFLAGS="$CFLAGS $BUILTINFLAG"
14962 for ac_func in \
14963 __res_get_state \
14964 __res_getservers \
14965 _finite \
14966 _isnan \
14967 _pclose \
14968 _popen \
14969 _snprintf \
14970 _spawnvp \
14971 _strdup \
14972 _stricmp \
14973 _strnicmp \
14974 _strtoi64 \
14975 _strtoui64 \
14976 _vsnprintf \
14977 asctime_r \
14978 chsize \
14979 dlopen \
14980 epoll_create \
14981 ffs \
14982 finitef \
14983 fnmatch \
14984 fork \
14985 fpclass \
14986 fstatfs \
14987 fstatvfs \
14988 ftruncate \
14989 futimens \
14990 futimes \
14991 futimesat \
14992 getattrlist \
14993 getdirentries \
14994 getopt_long_only \
14995 getpwuid \
14996 gettimeofday \
14997 getuid \
14998 if_nameindex \
14999 isnanf \
15000 kqueue \
15001 lstat \
15002 memmove \
15003 mmap \
15004 pclose \
15005 pipe2 \
15006 poll \
15007 popen \
15008 port_create \
15009 prctl \
15010 pread \
15011 proc_pidinfo \
15012 pwrite \
15013 readdir \
15014 readlink \
15015 sched_yield \
15016 select \
15017 setproctitle \
15018 setrlimit \
15019 settimeofday \
15020 sigaltstack \
15021 sigprocmask \
15022 snprintf \
15023 statfs \
15024 statvfs \
15025 strcasecmp \
15026 strdup \
15027 strerror \
15028 strncasecmp \
15029 strtold \
15030 strtoll \
15031 strtoull \
15032 symlink \
15033 tcdrain \
15034 thr_kill2 \
15035 timegm \
15036 usleep \
15037 vsnprintf
15039 do :
15040 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15041 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15042 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15043 cat >>confdefs.h <<_ACEOF
15044 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15045 _ACEOF
15048 done
15050 CFLAGS="$ac_save_CFLAGS"
15052 if test "$ac_cv_func_dlopen" = no
15053 then
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15055 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15056 if ${ac_cv_lib_dl_dlopen+:} false; then :
15057 $as_echo_n "(cached) " >&6
15058 else
15059 ac_check_lib_save_LIBS=$LIBS
15060 LIBS="-ldl $LIBS"
15061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15062 /* end confdefs.h. */
15064 /* Override any GCC internal prototype to avoid an error.
15065 Use char because int might match the return type of a GCC
15066 builtin and then its argument prototype would still apply. */
15067 #ifdef __cplusplus
15068 extern "C"
15069 #endif
15070 char dlopen ();
15072 main ()
15074 return dlopen ();
15076 return 0;
15078 _ACEOF
15079 if ac_fn_c_try_link "$LINENO"; then :
15080 ac_cv_lib_dl_dlopen=yes
15081 else
15082 ac_cv_lib_dl_dlopen=no
15084 rm -f core conftest.err conftest.$ac_objext \
15085 conftest$ac_exeext conftest.$ac_ext
15086 LIBS=$ac_check_lib_save_LIBS
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15089 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15090 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15091 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15092 DL_LIBS="-ldl"
15097 ac_wine_check_funcs_save_LIBS="$LIBS"
15098 LIBS="$LIBS $DL_LIBS"
15099 for ac_func in dladdr
15100 do :
15101 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15102 if test "x$ac_cv_func_dladdr" = xyes; then :
15103 cat >>confdefs.h <<_ACEOF
15104 #define HAVE_DLADDR 1
15105 _ACEOF
15108 done
15110 LIBS="$ac_wine_check_funcs_save_LIBS"
15112 if test "$ac_cv_func_poll" = no
15113 then
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15115 $as_echo_n "checking for poll in -lpoll... " >&6; }
15116 if ${ac_cv_lib_poll_poll+:} false; then :
15117 $as_echo_n "(cached) " >&6
15118 else
15119 ac_check_lib_save_LIBS=$LIBS
15120 LIBS="-lpoll $LIBS"
15121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15122 /* end confdefs.h. */
15124 /* Override any GCC internal prototype to avoid an error.
15125 Use char because int might match the return type of a GCC
15126 builtin and then its argument prototype would still apply. */
15127 #ifdef __cplusplus
15128 extern "C"
15129 #endif
15130 char poll ();
15132 main ()
15134 return poll ();
15136 return 0;
15138 _ACEOF
15139 if ac_fn_c_try_link "$LINENO"; then :
15140 ac_cv_lib_poll_poll=yes
15141 else
15142 ac_cv_lib_poll_poll=no
15144 rm -f core conftest.err conftest.$ac_objext \
15145 conftest$ac_exeext conftest.$ac_ext
15146 LIBS=$ac_check_lib_save_LIBS
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15149 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15150 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15151 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15152 POLL_LIBS="-lpoll"
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15159 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15160 if ${ac_cv_search_gethostbyname+:} false; then :
15161 $as_echo_n "(cached) " >&6
15162 else
15163 ac_func_search_save_LIBS=$LIBS
15164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15165 /* end confdefs.h. */
15167 /* Override any GCC internal prototype to avoid an error.
15168 Use char because int might match the return type of a GCC
15169 builtin and then its argument prototype would still apply. */
15170 #ifdef __cplusplus
15171 extern "C"
15172 #endif
15173 char gethostbyname ();
15175 main ()
15177 return gethostbyname ();
15179 return 0;
15181 _ACEOF
15182 for ac_lib in '' nsl; do
15183 if test -z "$ac_lib"; then
15184 ac_res="none required"
15185 else
15186 ac_res=-l$ac_lib
15187 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15189 if ac_fn_c_try_link "$LINENO"; then :
15190 ac_cv_search_gethostbyname=$ac_res
15192 rm -f core conftest.err conftest.$ac_objext \
15193 conftest$ac_exeext
15194 if ${ac_cv_search_gethostbyname+:} false; then :
15195 break
15197 done
15198 if ${ac_cv_search_gethostbyname+:} false; then :
15200 else
15201 ac_cv_search_gethostbyname=no
15203 rm conftest.$ac_ext
15204 LIBS=$ac_func_search_save_LIBS
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15207 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15208 ac_res=$ac_cv_search_gethostbyname
15209 if test "$ac_res" != no; then :
15210 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15216 $as_echo_n "checking for library containing connect... " >&6; }
15217 if ${ac_cv_search_connect+:} false; then :
15218 $as_echo_n "(cached) " >&6
15219 else
15220 ac_func_search_save_LIBS=$LIBS
15221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15222 /* end confdefs.h. */
15224 /* Override any GCC internal prototype to avoid an error.
15225 Use char because int might match the return type of a GCC
15226 builtin and then its argument prototype would still apply. */
15227 #ifdef __cplusplus
15228 extern "C"
15229 #endif
15230 char connect ();
15232 main ()
15234 return connect ();
15236 return 0;
15238 _ACEOF
15239 for ac_lib in '' socket; do
15240 if test -z "$ac_lib"; then
15241 ac_res="none required"
15242 else
15243 ac_res=-l$ac_lib
15244 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15246 if ac_fn_c_try_link "$LINENO"; then :
15247 ac_cv_search_connect=$ac_res
15249 rm -f core conftest.err conftest.$ac_objext \
15250 conftest$ac_exeext
15251 if ${ac_cv_search_connect+:} false; then :
15252 break
15254 done
15255 if ${ac_cv_search_connect+:} false; then :
15257 else
15258 ac_cv_search_connect=no
15260 rm conftest.$ac_ext
15261 LIBS=$ac_func_search_save_LIBS
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15264 $as_echo "$ac_cv_search_connect" >&6; }
15265 ac_res=$ac_cv_search_connect
15266 if test "$ac_res" != no; then :
15267 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15273 $as_echo_n "checking for library containing inet_aton... " >&6; }
15274 if ${ac_cv_search_inet_aton+:} false; then :
15275 $as_echo_n "(cached) " >&6
15276 else
15277 ac_func_search_save_LIBS=$LIBS
15278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15279 /* end confdefs.h. */
15281 /* Override any GCC internal prototype to avoid an error.
15282 Use char because int might match the return type of a GCC
15283 builtin and then its argument prototype would still apply. */
15284 #ifdef __cplusplus
15285 extern "C"
15286 #endif
15287 char inet_aton ();
15289 main ()
15291 return inet_aton ();
15293 return 0;
15295 _ACEOF
15296 for ac_lib in '' resolv; do
15297 if test -z "$ac_lib"; then
15298 ac_res="none required"
15299 else
15300 ac_res=-l$ac_lib
15301 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15303 if ac_fn_c_try_link "$LINENO"; then :
15304 ac_cv_search_inet_aton=$ac_res
15306 rm -f core conftest.err conftest.$ac_objext \
15307 conftest$ac_exeext
15308 if ${ac_cv_search_inet_aton+:} false; then :
15309 break
15311 done
15312 if ${ac_cv_search_inet_aton+:} false; then :
15314 else
15315 ac_cv_search_inet_aton=no
15317 rm conftest.$ac_ext
15318 LIBS=$ac_func_search_save_LIBS
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15321 $as_echo "$ac_cv_search_inet_aton" >&6; }
15322 ac_res=$ac_cv_search_inet_aton
15323 if test "$ac_res" != no; then :
15324 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15329 for ac_func in \
15330 getaddrinfo \
15331 getnameinfo \
15332 getnetbyname \
15333 getprotobyname \
15334 getprotobynumber \
15335 getservbyport \
15336 inet_addr \
15337 inet_network \
15338 inet_ntop \
15339 inet_pton \
15340 sendmsg \
15341 socketpair \
15343 do :
15344 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15345 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15346 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15347 cat >>confdefs.h <<_ACEOF
15348 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15349 _ACEOF
15352 done
15355 ac_save_LIBS=$LIBS
15356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15357 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15358 if ${ac_cv_search_clock_gettime+:} false; then :
15359 $as_echo_n "(cached) " >&6
15360 else
15361 ac_func_search_save_LIBS=$LIBS
15362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15363 /* end confdefs.h. */
15365 /* Override any GCC internal prototype to avoid an error.
15366 Use char because int might match the return type of a GCC
15367 builtin and then its argument prototype would still apply. */
15368 #ifdef __cplusplus
15369 extern "C"
15370 #endif
15371 char clock_gettime ();
15373 main ()
15375 return clock_gettime ();
15377 return 0;
15379 _ACEOF
15380 for ac_lib in '' rt; do
15381 if test -z "$ac_lib"; then
15382 ac_res="none required"
15383 else
15384 ac_res=-l$ac_lib
15385 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15387 if ac_fn_c_try_link "$LINENO"; then :
15388 ac_cv_search_clock_gettime=$ac_res
15390 rm -f core conftest.err conftest.$ac_objext \
15391 conftest$ac_exeext
15392 if ${ac_cv_search_clock_gettime+:} false; then :
15393 break
15395 done
15396 if ${ac_cv_search_clock_gettime+:} false; then :
15398 else
15399 ac_cv_search_clock_gettime=no
15401 rm conftest.$ac_ext
15402 LIBS=$ac_func_search_save_LIBS
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15405 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15406 ac_res=$ac_cv_search_clock_gettime
15407 if test "$ac_res" != no; then :
15408 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15410 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15412 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15416 LIBS=$ac_save_LIBS
15418 LDAP_LIBS=""
15420 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15421 then
15422 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15424 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15426 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15427 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15428 $as_echo_n "(cached) " >&6
15429 else
15430 ac_check_lib_save_LIBS=$LIBS
15431 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15433 /* end confdefs.h. */
15435 /* Override any GCC internal prototype to avoid an error.
15436 Use char because int might match the return type of a GCC
15437 builtin and then its argument prototype would still apply. */
15438 #ifdef __cplusplus
15439 extern "C"
15440 #endif
15441 char ldap_initialize ();
15443 main ()
15445 return ldap_initialize ();
15447 return 0;
15449 _ACEOF
15450 if ac_fn_c_try_link "$LINENO"; then :
15451 ac_cv_lib_ldap_r_ldap_initialize=yes
15452 else
15453 ac_cv_lib_ldap_r_ldap_initialize=no
15455 rm -f core conftest.err conftest.$ac_objext \
15456 conftest$ac_exeext conftest.$ac_ext
15457 LIBS=$ac_check_lib_save_LIBS
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15460 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15461 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15463 $as_echo_n "checking for ber_init in -llber... " >&6; }
15464 if ${ac_cv_lib_lber_ber_init+:} false; then :
15465 $as_echo_n "(cached) " >&6
15466 else
15467 ac_check_lib_save_LIBS=$LIBS
15468 LIBS="-llber $PTHREAD_LIBS $LIBS"
15469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15470 /* end confdefs.h. */
15472 /* Override any GCC internal prototype to avoid an error.
15473 Use char because int might match the return type of a GCC
15474 builtin and then its argument prototype would still apply. */
15475 #ifdef __cplusplus
15476 extern "C"
15477 #endif
15478 char ber_init ();
15480 main ()
15482 return ber_init ();
15484 return 0;
15486 _ACEOF
15487 if ac_fn_c_try_link "$LINENO"; then :
15488 ac_cv_lib_lber_ber_init=yes
15489 else
15490 ac_cv_lib_lber_ber_init=no
15492 rm -f core conftest.err conftest.$ac_objext \
15493 conftest$ac_exeext conftest.$ac_ext
15494 LIBS=$ac_check_lib_save_LIBS
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15497 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15498 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15500 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15502 LDAP_LIBS="-lldap_r -llber"
15509 ac_wine_check_funcs_save_LIBS="$LIBS"
15510 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15511 for ac_func in \
15512 ldap_count_references \
15513 ldap_first_reference \
15514 ldap_next_reference \
15515 ldap_parse_reference \
15516 ldap_parse_sort_control \
15517 ldap_parse_sortresponse_control \
15518 ldap_parse_vlv_control \
15519 ldap_parse_vlvresponse_control
15520 do :
15521 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15522 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15523 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15524 cat >>confdefs.h <<_ACEOF
15525 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15526 _ACEOF
15529 done
15531 LIBS="$ac_wine_check_funcs_save_LIBS"
15533 if test "x$LDAP_LIBS" = "x"; then :
15534 case "x$with_ldap" in
15535 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15536 xno) ;;
15537 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15538 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15539 esac
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15543 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15544 if ${wine_cv_one_arg_mkdir+:} false; then :
15545 $as_echo_n "(cached) " >&6
15546 else
15547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15548 /* end confdefs.h. */
15549 #include <sys/stat.h>
15551 main ()
15553 mkdir("foo");
15555 return 0;
15557 _ACEOF
15558 if ac_fn_c_try_compile "$LINENO"; then :
15559 wine_cv_one_arg_mkdir=yes
15560 else
15561 wine_cv_one_arg_mkdir=no
15563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15566 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15567 if test "$wine_cv_one_arg_mkdir" = "yes"
15568 then
15570 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15575 $as_echo_n "checking for sched_setaffinity... " >&6; }
15576 if ${wine_cv_have_sched_setaffinity+:} false; then :
15577 $as_echo_n "(cached) " >&6
15578 else
15579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15580 /* end confdefs.h. */
15581 #define _GNU_SOURCE
15582 #include <sched.h>
15584 main ()
15586 sched_setaffinity(0, 0, 0);
15588 return 0;
15590 _ACEOF
15591 if ac_fn_c_try_link "$LINENO"; then :
15592 wine_cv_have_sched_setaffinity=yes
15593 else
15594 wine_cv_have_sched_setaffinity=no
15596 rm -f core conftest.err conftest.$ac_objext \
15597 conftest$ac_exeext conftest.$ac_ext
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15600 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15601 if test "$wine_cv_have_sched_setaffinity" = "yes"
15602 then
15604 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15609 $as_echo_n "checking for fallocate... " >&6; }
15610 if ${wine_cv_have_fallocate+:} false; then :
15611 $as_echo_n "(cached) " >&6
15612 else
15613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15614 /* end confdefs.h. */
15615 #define _GNU_SOURCE
15616 #include <fcntl.h>
15618 main ()
15620 fallocate(-1, 0, 0, 0);
15622 return 0;
15624 _ACEOF
15625 if ac_fn_c_try_link "$LINENO"; then :
15626 wine_cv_have_fallocate=yes
15627 else
15628 wine_cv_have_fallocate=no
15630 rm -f core conftest.err conftest.$ac_objext \
15631 conftest$ac_exeext conftest.$ac_ext
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15634 $as_echo "$wine_cv_have_fallocate" >&6; }
15635 if test "$wine_cv_have_fallocate" = "yes"
15636 then
15638 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15644 $as_echo_n "checking for inline... " >&6; }
15645 if ${ac_cv_c_inline+:} false; then :
15646 $as_echo_n "(cached) " >&6
15647 else
15648 ac_cv_c_inline=no
15649 for ac_kw in inline __inline__ __inline; do
15650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15651 /* end confdefs.h. */
15652 #ifndef __cplusplus
15653 typedef int foo_t;
15654 static $ac_kw foo_t static_foo () {return 0; }
15655 $ac_kw foo_t foo () {return 0; }
15656 #endif
15658 _ACEOF
15659 if ac_fn_c_try_compile "$LINENO"; then :
15660 ac_cv_c_inline=$ac_kw
15662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15663 test "$ac_cv_c_inline" != no && break
15664 done
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15668 $as_echo "$ac_cv_c_inline" >&6; }
15670 case $ac_cv_c_inline in
15671 inline | yes) ;;
15673 case $ac_cv_c_inline in
15674 no) ac_val=;;
15675 *) ac_val=$ac_cv_c_inline;;
15676 esac
15677 cat >>confdefs.h <<_ACEOF
15678 #ifndef __cplusplus
15679 #define inline $ac_val
15680 #endif
15681 _ACEOF
15683 esac
15685 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15686 if test "x$ac_cv_type_mode_t" = xyes; then :
15688 cat >>confdefs.h <<_ACEOF
15689 #define HAVE_MODE_T 1
15690 _ACEOF
15694 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15695 if test "x$ac_cv_type_off_t" = xyes; then :
15697 cat >>confdefs.h <<_ACEOF
15698 #define HAVE_OFF_T 1
15699 _ACEOF
15703 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15704 if test "x$ac_cv_type_pid_t" = xyes; then :
15706 cat >>confdefs.h <<_ACEOF
15707 #define HAVE_PID_T 1
15708 _ACEOF
15712 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15713 if test "x$ac_cv_type_size_t" = xyes; then :
15715 cat >>confdefs.h <<_ACEOF
15716 #define HAVE_SIZE_T 1
15717 _ACEOF
15721 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15722 if test "x$ac_cv_type_ssize_t" = xyes; then :
15724 cat >>confdefs.h <<_ACEOF
15725 #define HAVE_SSIZE_T 1
15726 _ACEOF
15730 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15731 if test "x$ac_cv_type_long_long" = xyes; then :
15733 cat >>confdefs.h <<_ACEOF
15734 #define HAVE_LONG_LONG 1
15735 _ACEOF
15739 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15740 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15742 cat >>confdefs.h <<_ACEOF
15743 #define HAVE_FSBLKCNT_T 1
15744 _ACEOF
15748 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15749 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15751 cat >>confdefs.h <<_ACEOF
15752 #define HAVE_FSFILCNT_T 1
15753 _ACEOF
15758 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15759 #include <signal.h>
15761 if test "x$ac_cv_type_sigset_t" = xyes; then :
15763 cat >>confdefs.h <<_ACEOF
15764 #define HAVE_SIGSET_T 1
15765 _ACEOF
15770 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15772 if test "x$ac_cv_type_request_sense" = xyes; then :
15774 cat >>confdefs.h <<_ACEOF
15775 #define HAVE_REQUEST_SENSE 1
15776 _ACEOF
15782 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15783 #ifdef HAVE_SYS_SOCKET_H
15784 #include <sys/socket.h>
15785 #endif
15786 #ifdef HAVE_SYS_SOCKETVAR_H
15787 #include <sys/socketvar.h>
15788 #endif
15789 #ifdef HAVE_NET_ROUTE_H
15790 #include <net/route.h>
15791 #endif
15792 #ifdef HAVE_NETINET_IN_H
15793 #include <netinet/in.h>
15794 #endif
15795 #ifdef HAVE_NETINET_IN_SYSTM_H
15796 #include <netinet/in_systm.h>
15797 #endif
15798 #ifdef HAVE_NETINET_IP_H
15799 #include <netinet/ip.h>
15800 #endif
15801 #ifdef HAVE_NETINET_IN_PCB_H
15802 #include <netinet/in_pcb.h>
15803 #endif
15805 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15807 cat >>confdefs.h <<_ACEOF
15808 #define HAVE_STRUCT_XINPGEN 1
15809 _ACEOF
15815 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15816 #include <link.h>
15817 #endif
15818 #ifdef HAVE_SYS_LINK_H
15819 #include <sys/link.h>
15820 #endif
15822 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15824 cat >>confdefs.h <<_ACEOF
15825 #define HAVE_STRUCT_R_DEBUG 1
15826 _ACEOF
15830 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15831 #include <link.h>
15832 #endif
15833 #ifdef HAVE_SYS_LINK_H
15834 #include <sys/link.h>
15835 #endif
15837 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15839 cat >>confdefs.h <<_ACEOF
15840 #define HAVE_STRUCT_LINK_MAP 1
15841 _ACEOF
15847 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15848 #include <linux/input.h>
15849 #endif
15851 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15853 cat >>confdefs.h <<_ACEOF
15854 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15855 _ACEOF
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15862 $as_echo_n "checking for sigaddset... " >&6; }
15863 if ${wine_cv_have_sigaddset+:} false; then :
15864 $as_echo_n "(cached) " >&6
15865 else
15866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15867 /* end confdefs.h. */
15868 #include <signal.h>
15870 main ()
15872 sigset_t set; sigaddset(&set,SIGTERM);
15874 return 0;
15876 _ACEOF
15877 if ac_fn_c_try_link "$LINENO"; then :
15878 wine_cv_have_sigaddset=yes
15879 else
15880 wine_cv_have_sigaddset=no
15882 rm -f core conftest.err conftest.$ac_objext \
15883 conftest$ac_exeext conftest.$ac_ext
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15886 $as_echo "$wine_cv_have_sigaddset" >&6; }
15887 if test "$wine_cv_have_sigaddset" = "yes"
15888 then
15890 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15896 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15897 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15898 $as_echo_n "(cached) " >&6
15899 else
15900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15901 /* end confdefs.h. */
15902 #include <netdb.h>
15904 main ()
15907 char *name=0;
15908 struct hostent he;
15909 struct hostent *result;
15910 char *buf=0;
15911 int bufsize=0;
15912 int errnr;
15913 char *addr=0;
15914 int addrlen=0;
15915 int addrtype=0;
15916 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15917 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15920 return 0;
15922 _ACEOF
15923 if ac_fn_c_try_link "$LINENO"; then :
15924 wine_cv_linux_gethostbyname_r_6=yes
15925 else
15926 wine_cv_linux_gethostbyname_r_6=no
15929 rm -f core conftest.err conftest.$ac_objext \
15930 conftest$ac_exeext conftest.$ac_ext
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15934 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15935 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15936 then
15938 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15942 if test "$ac_cv_header_linux_joystick_h" = "yes"
15943 then
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15945 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15946 if ${wine_cv_linux_joystick_22_api+:} false; then :
15947 $as_echo_n "(cached) " >&6
15948 else
15949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15950 /* end confdefs.h. */
15952 #include <sys/ioctl.h>
15953 #include <sys/types.h>
15954 #include <linux/joystick.h>
15956 struct js_event blub;
15957 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15958 #error "no 2.2 header"
15959 #endif
15962 main ()
15964 /*empty*/
15966 return 0;
15968 _ACEOF
15969 if ac_fn_c_try_compile "$LINENO"; then :
15970 wine_cv_linux_joystick_22_api=yes
15971 else
15972 wine_cv_linux_joystick_22_api=no
15974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15978 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15979 if test "$wine_cv_linux_joystick_22_api" = "yes"
15980 then
15982 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15988 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15989 #ifdef HAVE_SYS_PARAM_H
15990 # include <sys/param.h>
15991 #endif
15992 #ifdef HAVE_SYS_MOUNT_H
15993 # include <sys/mount.h>
15994 #endif
15995 #ifdef HAVE_SYS_VFS_H
15996 # include <sys/vfs.h>
15997 #endif
15998 #ifdef HAVE_SYS_STATFS_H
15999 # include <sys/statfs.h>
16000 #endif
16002 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16004 cat >>confdefs.h <<_ACEOF
16005 #define HAVE_STRUCT_STATFS_F_BFREE 1
16006 _ACEOF
16010 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16011 #ifdef HAVE_SYS_PARAM_H
16012 # include <sys/param.h>
16013 #endif
16014 #ifdef HAVE_SYS_MOUNT_H
16015 # include <sys/mount.h>
16016 #endif
16017 #ifdef HAVE_SYS_VFS_H
16018 # include <sys/vfs.h>
16019 #endif
16020 #ifdef HAVE_SYS_STATFS_H
16021 # include <sys/statfs.h>
16022 #endif
16024 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16026 cat >>confdefs.h <<_ACEOF
16027 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16028 _ACEOF
16032 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16033 #ifdef HAVE_SYS_PARAM_H
16034 # include <sys/param.h>
16035 #endif
16036 #ifdef HAVE_SYS_MOUNT_H
16037 # include <sys/mount.h>
16038 #endif
16039 #ifdef HAVE_SYS_VFS_H
16040 # include <sys/vfs.h>
16041 #endif
16042 #ifdef HAVE_SYS_STATFS_H
16043 # include <sys/statfs.h>
16044 #endif
16046 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16048 cat >>confdefs.h <<_ACEOF
16049 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16050 _ACEOF
16054 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16055 #ifdef HAVE_SYS_PARAM_H
16056 # include <sys/param.h>
16057 #endif
16058 #ifdef HAVE_SYS_MOUNT_H
16059 # include <sys/mount.h>
16060 #endif
16061 #ifdef HAVE_SYS_VFS_H
16062 # include <sys/vfs.h>
16063 #endif
16064 #ifdef HAVE_SYS_STATFS_H
16065 # include <sys/statfs.h>
16066 #endif
16068 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16070 cat >>confdefs.h <<_ACEOF
16071 #define HAVE_STRUCT_STATFS_F_FFREE 1
16072 _ACEOF
16076 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16077 #ifdef HAVE_SYS_PARAM_H
16078 # include <sys/param.h>
16079 #endif
16080 #ifdef HAVE_SYS_MOUNT_H
16081 # include <sys/mount.h>
16082 #endif
16083 #ifdef HAVE_SYS_VFS_H
16084 # include <sys/vfs.h>
16085 #endif
16086 #ifdef HAVE_SYS_STATFS_H
16087 # include <sys/statfs.h>
16088 #endif
16090 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16092 cat >>confdefs.h <<_ACEOF
16093 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16094 _ACEOF
16098 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16099 #ifdef HAVE_SYS_PARAM_H
16100 # include <sys/param.h>
16101 #endif
16102 #ifdef HAVE_SYS_MOUNT_H
16103 # include <sys/mount.h>
16104 #endif
16105 #ifdef HAVE_SYS_VFS_H
16106 # include <sys/vfs.h>
16107 #endif
16108 #ifdef HAVE_SYS_STATFS_H
16109 # include <sys/statfs.h>
16110 #endif
16112 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16114 cat >>confdefs.h <<_ACEOF
16115 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16116 _ACEOF
16122 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16123 #include <sys/statvfs.h>
16124 #endif
16126 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16128 cat >>confdefs.h <<_ACEOF
16129 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16130 _ACEOF
16136 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16137 #include <dirent.h>
16138 #endif
16140 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16142 cat >>confdefs.h <<_ACEOF
16143 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16144 _ACEOF
16150 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16151 #ifdef HAVE_SYS_SOCKET_H
16152 # include <sys/socket.h>
16153 #endif
16154 #ifdef HAVE_SYS_UN_H
16155 # include <sys/un.h>
16156 #endif
16158 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16160 cat >>confdefs.h <<_ACEOF
16161 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16162 _ACEOF
16166 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16167 #ifdef HAVE_SYS_SOCKET_H
16168 # include <sys/socket.h>
16169 #endif
16170 #ifdef HAVE_SYS_UN_H
16171 # include <sys/un.h>
16172 #endif
16174 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16176 cat >>confdefs.h <<_ACEOF
16177 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16178 _ACEOF
16182 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16183 #ifdef HAVE_SYS_SOCKET_H
16184 # include <sys/socket.h>
16185 #endif
16186 #ifdef HAVE_SYS_UN_H
16187 # include <sys/un.h>
16188 #endif
16190 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16192 cat >>confdefs.h <<_ACEOF
16193 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16194 _ACEOF
16200 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16201 #ifdef HAVE_SCSI_SG_H
16202 #include <scsi/sg.h>
16203 #endif
16205 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16207 cat >>confdefs.h <<_ACEOF
16208 #define HAVE_SCSIREQ_T_CMD 1
16209 _ACEOF
16213 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>
16214 #ifdef HAVE_SCSI_SG_H
16215 #include <scsi/sg.h>
16216 #endif
16218 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16220 cat >>confdefs.h <<_ACEOF
16221 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16222 _ACEOF
16228 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16230 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16232 cat >>confdefs.h <<_ACEOF
16233 #define HAVE_SIGINFO_T_SI_FD 1
16234 _ACEOF
16240 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16241 #ifdef HAVE_SYS_MTIO_H
16242 #include <sys/mtio.h>
16243 #endif
16245 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16247 cat >>confdefs.h <<_ACEOF
16248 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16249 _ACEOF
16253 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16254 #ifdef HAVE_SYS_MTIO_H
16255 #include <sys/mtio.h>
16256 #endif
16258 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16260 cat >>confdefs.h <<_ACEOF
16261 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16262 _ACEOF
16266 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16267 #ifdef HAVE_SYS_MTIO_H
16268 #include <sys/mtio.h>
16269 #endif
16271 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16273 cat >>confdefs.h <<_ACEOF
16274 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16275 _ACEOF
16281 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16282 #include <getopt.h>
16283 #endif
16285 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16287 cat >>confdefs.h <<_ACEOF
16288 #define HAVE_STRUCT_OPTION_NAME 1
16289 _ACEOF
16295 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16296 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16298 cat >>confdefs.h <<_ACEOF
16299 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16300 _ACEOF
16304 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16305 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16307 cat >>confdefs.h <<_ACEOF
16308 #define HAVE_STRUCT_STAT_ST_MTIM 1
16309 _ACEOF
16313 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16314 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16316 cat >>confdefs.h <<_ACEOF
16317 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16318 _ACEOF
16322 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16323 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16325 cat >>confdefs.h <<_ACEOF
16326 #define HAVE_STRUCT_STAT_ST_CTIM 1
16327 _ACEOF
16331 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16332 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16334 cat >>confdefs.h <<_ACEOF
16335 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16336 _ACEOF
16340 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16341 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16343 cat >>confdefs.h <<_ACEOF
16344 #define HAVE_STRUCT_STAT_ST_ATIM 1
16345 _ACEOF
16349 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16350 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16352 cat >>confdefs.h <<_ACEOF
16353 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16354 _ACEOF
16358 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16359 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16361 cat >>confdefs.h <<_ACEOF
16362 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16363 _ACEOF
16367 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16368 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16370 cat >>confdefs.h <<_ACEOF
16371 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16372 _ACEOF
16376 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16377 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16379 cat >>confdefs.h <<_ACEOF
16380 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16381 _ACEOF
16385 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16386 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16388 cat >>confdefs.h <<_ACEOF
16389 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16390 _ACEOF
16394 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16395 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16397 cat >>confdefs.h <<_ACEOF
16398 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16399 _ACEOF
16405 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
16406 #include <sys/types.h>
16407 #endif
16408 #ifdef HAVE_NETINET_IN_H
16409 #include <netinet/in.h>
16410 #endif
16412 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16414 cat >>confdefs.h <<_ACEOF
16415 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16416 _ACEOF
16422 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16423 #include <resolv.h>
16424 #endif
16426 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16428 cat >>confdefs.h <<_ACEOF
16429 #define HAVE_STRUCT___RES_STATE 1
16430 _ACEOF
16436 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
16437 #include <resolv.h>
16438 #endif
16440 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16442 cat >>confdefs.h <<_ACEOF
16443 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16444 _ACEOF
16450 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16451 #include <sys/types.h>
16452 #endif
16453 #ifdef HAVE_NETINET_IN_H
16454 # include <netinet/in.h>
16455 #endif
16456 #ifdef HAVE_ARPA_NAMESER_H
16457 # include <arpa/nameser.h>
16458 #endif
16460 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16462 cat >>confdefs.h <<_ACEOF
16463 #define HAVE_NS_MSG__MSG_PTR 1
16464 _ACEOF
16470 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16471 #include <sys/types.h>
16472 #endif
16473 #ifdef HAVE_NETINET_IP_H
16474 #include <netinet/ip.h>
16475 #endif
16476 #ifdef HAVE_NETINET_IP_ICMP_H
16477 #include <netinet/ip_icmp.h>
16478 #endif
16479 #ifdef HAVE_NETINET_ICMP_VAR_H
16480 #include <netinet/icmp_var.h>
16481 #endif
16483 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16485 cat >>confdefs.h <<_ACEOF
16486 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16487 _ACEOF
16493 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16494 #include <sys/types.h>
16495 #endif
16496 #ifdef HAVE_ALIAS_H
16497 #include <alias.h>
16498 #endif
16499 #ifdef HAVE_SYS_SOCKET_H
16500 #include <sys/socket.h>
16501 #endif
16502 #ifdef HAVE_SYS_SOCKETVAR_H
16503 #include <sys/socketvar.h>
16504 #endif
16505 #ifdef HAVE_SYS_TIMEOUT_H
16506 #include <sys/timeout.h>
16507 #endif
16508 #ifdef HAVE_NETINET_IN_H
16509 #include <netinet/in.h>
16510 #endif
16511 #ifdef HAVE_NETINET_IN_SYSTM_H
16512 #include <netinet/in_systm.h>
16513 #endif
16514 #ifdef HAVE_NETINET_IP_H
16515 #include <netinet/ip.h>
16516 #endif
16517 #ifdef HAVE_NETINET_IP_VAR_H
16518 #include <netinet/ip_var.h>
16519 #endif
16520 #ifdef HAVE_NETINET_IP_ICMP_H
16521 #include <netinet/ip_icmp.h>
16522 #endif
16523 #ifdef HAVE_NETINET_ICMP_VAR_H
16524 #include <netinet/icmp_var.h>
16525 #endif
16527 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16529 cat >>confdefs.h <<_ACEOF
16530 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16531 _ACEOF
16537 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16538 #include <sys/types.h>
16539 #endif
16540 #ifdef HAVE_SYS_SOCKETVAR_H
16541 #include <sys/socketvar.h>
16542 #endif
16543 #ifdef HAVE_NETINET_IN_H
16544 #include <netinet/in.h>
16545 #endif
16546 #ifdef HAVE_NETINET_IP_VAR_H
16547 #include <netinet/ip_var.h>
16548 #endif
16550 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16552 cat >>confdefs.h <<_ACEOF
16553 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16554 _ACEOF
16560 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
16561 #include <netinet/ip_var.h>
16562 #endif
16564 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16566 cat >>confdefs.h <<_ACEOF
16567 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16568 _ACEOF
16574 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16575 #include <sys/types.h>
16576 #endif
16577 #ifdef HAVE_SYS_SOCKETVAR_H
16578 #include <sys/socketvar.h>
16579 #endif
16580 #ifdef HAVE_NETINET_IN_H
16581 #include <netinet/in.h>
16582 #endif
16583 #ifdef HAVE_NETINET_TCP_H
16584 #include <netinet/tcp.h>
16585 #endif
16586 #ifdef HAVE_NETINET_TCP_VAR_H
16587 #include <netinet/tcp_var.h>
16588 #endif
16590 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16592 cat >>confdefs.h <<_ACEOF
16593 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16594 _ACEOF
16600 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
16601 #include <netinet/tcp_var.h>
16602 #endif
16604 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16606 cat >>confdefs.h <<_ACEOF
16607 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16608 _ACEOF
16614 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16615 #include <sys/types.h>
16616 #endif
16617 #ifdef HAVE_NETINET_IN_H
16618 #include <netinet/in.h>
16619 #endif
16620 #ifdef HAVE_NETINET_IP_VAR_H
16621 #include <netinet/ip_var.h>
16622 #endif
16623 #ifdef HAVE_NETINET_UDP_H
16624 #include <netinet/udp.h>
16625 #endif
16626 #ifdef HAVE_NETINET_UDP_VAR_H
16627 #include <netinet/udp_var.h>
16628 #endif
16630 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16632 cat >>confdefs.h <<_ACEOF
16633 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16634 _ACEOF
16640 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16641 #include <sys/types.h>
16642 #endif
16643 #ifdef HAVE_NET_IF_H
16644 # include <net/if.h>
16645 #endif
16647 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16649 cat >>confdefs.h <<_ACEOF
16650 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16651 _ACEOF
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16658 $as_echo_n "checking for timezone variable... " >&6; }
16659 if ${ac_cv_have_timezone+:} false; then :
16660 $as_echo_n "(cached) " >&6
16661 else
16662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16663 /* end confdefs.h. */
16664 #include <time.h>
16666 main ()
16668 timezone = 1
16670 return 0;
16672 _ACEOF
16673 if ac_fn_c_try_link "$LINENO"; then :
16674 ac_cv_have_timezone="yes"
16675 else
16676 ac_cv_have_timezone="no"
16678 rm -f core conftest.err conftest.$ac_objext \
16679 conftest$ac_exeext conftest.$ac_ext
16681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16682 $as_echo "$ac_cv_have_timezone" >&6; }
16683 if test "$ac_cv_have_timezone" = "yes"
16684 then
16686 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16690 $as_echo_n "checking for daylight variable... " >&6; }
16691 if ${ac_cv_have_daylight+:} false; then :
16692 $as_echo_n "(cached) " >&6
16693 else
16694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16695 /* end confdefs.h. */
16696 #include <time.h>
16698 main ()
16700 daylight = 1
16702 return 0;
16704 _ACEOF
16705 if ac_fn_c_try_link "$LINENO"; then :
16706 ac_cv_have_daylight="yes"
16707 else
16708 ac_cv_have_daylight="no"
16710 rm -f core conftest.err conftest.$ac_objext \
16711 conftest$ac_exeext conftest.$ac_ext
16713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16714 $as_echo "$ac_cv_have_daylight" >&6; }
16715 if test "$ac_cv_have_daylight" = "yes"
16716 then
16718 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16722 ac_save_LIBS="$LIBS"
16723 LIBS="$LIBS -lm"
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16725 $as_echo_n "checking for isfinite... " >&6; }
16726 if ${ac_cv_have_isfinite+:} false; then :
16727 $as_echo_n "(cached) " >&6
16728 else
16729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16730 /* end confdefs.h. */
16731 #define _GNU_SOURCE
16732 #include <math.h>
16734 main ()
16736 float f = 0.0; return isfinite(f)
16738 return 0;
16740 _ACEOF
16741 if ac_fn_c_try_link "$LINENO"; then :
16742 ac_cv_have_isfinite="yes"
16743 else
16744 ac_cv_have_isfinite="no"
16746 rm -f core conftest.err conftest.$ac_objext \
16747 conftest$ac_exeext conftest.$ac_ext
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16750 $as_echo "$ac_cv_have_isfinite" >&6; }
16751 if test "$ac_cv_have_isfinite" = "yes"
16752 then
16754 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16759 $as_echo_n "checking for isinf... " >&6; }
16760 if ${ac_cv_have_isinf+:} false; then :
16761 $as_echo_n "(cached) " >&6
16762 else
16763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16764 /* end confdefs.h. */
16765 #include <math.h>
16767 main ()
16769 float f = 0.0; return isinf(f)
16771 return 0;
16773 _ACEOF
16774 if ac_fn_c_try_link "$LINENO"; then :
16775 ac_cv_have_isinf="yes"
16776 else
16777 ac_cv_have_isinf="no"
16779 rm -f core conftest.err conftest.$ac_objext \
16780 conftest$ac_exeext conftest.$ac_ext
16782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16783 $as_echo "$ac_cv_have_isinf" >&6; }
16784 if test "$ac_cv_have_isinf" = "yes"
16785 then
16787 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16792 $as_echo_n "checking for isnan... " >&6; }
16793 if ${ac_cv_have_isnan+:} false; then :
16794 $as_echo_n "(cached) " >&6
16795 else
16796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16797 /* end confdefs.h. */
16798 #include <math.h>
16800 main ()
16802 float f = 0.0; return isnan(f)
16804 return 0;
16806 _ACEOF
16807 if ac_fn_c_try_link "$LINENO"; then :
16808 ac_cv_have_isnan="yes"
16809 else
16810 ac_cv_have_isnan="no"
16812 rm -f core conftest.err conftest.$ac_objext \
16813 conftest$ac_exeext conftest.$ac_ext
16815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16816 $as_echo "$ac_cv_have_isnan" >&6; }
16817 if test "$ac_cv_have_isnan" = "yes"
16818 then
16820 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16824 for ac_func in \
16825 cbrt \
16826 cbrtf \
16827 erf \
16828 erff \
16829 exp2 \
16830 exp2f \
16831 llrint \
16832 llrintf \
16833 llround \
16834 llroundf \
16835 log2 \
16836 log2f \
16837 lrint \
16838 lrintf \
16839 lround \
16840 lroundf \
16841 rint \
16842 rintf \
16843 round \
16844 roundf \
16845 trunc \
16846 truncf
16848 do :
16849 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16850 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16851 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16852 cat >>confdefs.h <<_ACEOF
16853 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16854 _ACEOF
16857 done
16859 LIBS="$ac_save_LIBS"
16861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16862 $as_echo_n "checking for __builtin_clz... " >&6; }
16863 if ${ac_cv_have___builtin_clz+:} false; then :
16864 $as_echo_n "(cached) " >&6
16865 else
16866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16867 /* end confdefs.h. */
16870 main ()
16872 return __builtin_clz(1)
16874 return 0;
16876 _ACEOF
16877 if ac_fn_c_try_link "$LINENO"; then :
16878 ac_cv_have___builtin_clz="yes"
16879 else
16880 ac_cv_have___builtin_clz="no"
16882 rm -f core conftest.err conftest.$ac_objext \
16883 conftest$ac_exeext conftest.$ac_ext
16885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16886 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16887 if test "$ac_cv_have___builtin_clz" = "yes"
16888 then
16890 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16895 case $host_cpu in
16896 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16897 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16898 if ${ac_cv_cpp_def___i386__+:} false; then :
16899 $as_echo_n "(cached) " >&6
16900 else
16901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h. */
16903 #ifndef __i386__
16905 #endif
16906 _ACEOF
16907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16908 $EGREP "yes" >/dev/null 2>&1; then :
16909 ac_cv_cpp_def___i386__=yes
16910 else
16911 ac_cv_cpp_def___i386__=no
16913 rm -f conftest*
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16917 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16918 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16919 CFLAGS="$CFLAGS -D__i386__"
16920 LINTFLAGS="$LINTFLAGS -D__i386__"
16921 fi ;;
16922 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16923 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16924 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16925 $as_echo_n "(cached) " >&6
16926 else
16927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16928 /* end confdefs.h. */
16929 #ifndef __x86_64__
16931 #endif
16932 _ACEOF
16933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16934 $EGREP "yes" >/dev/null 2>&1; then :
16935 ac_cv_cpp_def___x86_64__=yes
16936 else
16937 ac_cv_cpp_def___x86_64__=no
16939 rm -f conftest*
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16943 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16944 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16945 CFLAGS="$CFLAGS -D__x86_64__"
16946 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16947 fi ;;
16948 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16949 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16950 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16951 $as_echo_n "(cached) " >&6
16952 else
16953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16954 /* end confdefs.h. */
16955 #ifndef __sparc64__
16957 #endif
16958 _ACEOF
16959 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16960 $EGREP "yes" >/dev/null 2>&1; then :
16961 ac_cv_cpp_def___sparc64__=yes
16962 else
16963 ac_cv_cpp_def___sparc64__=no
16965 rm -f conftest*
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16969 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16970 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16971 CFLAGS="$CFLAGS -D__sparc64__"
16972 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16973 fi ;;
16974 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16975 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16976 if ${ac_cv_cpp_def___sparc__+:} false; then :
16977 $as_echo_n "(cached) " >&6
16978 else
16979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16980 /* end confdefs.h. */
16981 #ifndef __sparc__
16983 #endif
16984 _ACEOF
16985 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16986 $EGREP "yes" >/dev/null 2>&1; then :
16987 ac_cv_cpp_def___sparc__=yes
16988 else
16989 ac_cv_cpp_def___sparc__=no
16991 rm -f conftest*
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16995 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16996 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16997 CFLAGS="$CFLAGS -D__sparc__"
16998 LINTFLAGS="$LINTFLAGS -D__sparc__"
16999 fi ;;
17000 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17001 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17002 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17003 $as_echo_n "(cached) " >&6
17004 else
17005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17006 /* end confdefs.h. */
17007 #ifndef __powerpc64__
17009 #endif
17010 _ACEOF
17011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17012 $EGREP "yes" >/dev/null 2>&1; then :
17013 ac_cv_cpp_def___powerpc64__=yes
17014 else
17015 ac_cv_cpp_def___powerpc64__=no
17017 rm -f conftest*
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17021 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17022 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17023 CFLAGS="$CFLAGS -D__powerpc64__"
17024 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17025 fi ;;
17026 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17027 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17028 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17029 $as_echo_n "(cached) " >&6
17030 else
17031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17033 #ifndef __powerpc__
17035 #endif
17036 _ACEOF
17037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17038 $EGREP "yes" >/dev/null 2>&1; then :
17039 ac_cv_cpp_def___powerpc__=yes
17040 else
17041 ac_cv_cpp_def___powerpc__=no
17043 rm -f conftest*
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17047 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17048 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17049 CFLAGS="$CFLAGS -D__powerpc__"
17050 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17051 fi ;;
17052 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17053 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17054 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17055 $as_echo_n "(cached) " >&6
17056 else
17057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17058 /* end confdefs.h. */
17059 #ifndef __aarch64__
17061 #endif
17062 _ACEOF
17063 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17064 $EGREP "yes" >/dev/null 2>&1; then :
17065 ac_cv_cpp_def___aarch64__=yes
17066 else
17067 ac_cv_cpp_def___aarch64__=no
17069 rm -f conftest*
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17073 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17074 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17075 CFLAGS="$CFLAGS -D__aarch64__"
17076 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17077 fi ;;
17078 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17079 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17080 if ${ac_cv_cpp_def___arm__+:} false; then :
17081 $as_echo_n "(cached) " >&6
17082 else
17083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17084 /* end confdefs.h. */
17085 #ifndef __arm__
17087 #endif
17088 _ACEOF
17089 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17090 $EGREP "yes" >/dev/null 2>&1; then :
17091 ac_cv_cpp_def___arm__=yes
17092 else
17093 ac_cv_cpp_def___arm__=no
17095 rm -f conftest*
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17099 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17100 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17101 CFLAGS="$CFLAGS -D__arm__"
17102 LINTFLAGS="$LINTFLAGS -D__arm__"
17103 fi ;;
17104 esac
17106 case $host_vendor in
17107 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17108 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17109 if ${ac_cv_cpp_def___sun__+:} false; then :
17110 $as_echo_n "(cached) " >&6
17111 else
17112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17113 /* end confdefs.h. */
17114 #ifndef __sun__
17116 #endif
17117 _ACEOF
17118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17119 $EGREP "yes" >/dev/null 2>&1; then :
17120 ac_cv_cpp_def___sun__=yes
17121 else
17122 ac_cv_cpp_def___sun__=no
17124 rm -f conftest*
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17128 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17129 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17130 CFLAGS="$CFLAGS -D__sun__"
17131 LINTFLAGS="$LINTFLAGS -D__sun__"
17132 fi ;;
17133 esac
17139 ac_config_commands="$ac_config_commands include/stamp-h"
17141 $as_echo_n "creating Makefile rules..." >&6
17143 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17144 SOCKET_LIBS = $SOCKET_LIBS
17145 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17146 IOKIT_LIBS = $IOKIT_LIBS
17147 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17148 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17149 CORESERVICES_LIBS = $CORESERVICES_LIBS
17150 APPKIT_LIBS = $APPKIT_LIBS
17151 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17152 SECURITY_LIBS = $SECURITY_LIBS
17153 COREAUDIO_LIBS = $COREAUDIO_LIBS
17154 OPENAL_LIBS = $OPENAL_LIBS
17155 OPENCL_LIBS = $OPENCL_LIBS
17156 QUICKTIME_LIBS = $QUICKTIME_LIBS
17157 CARBON_LIBS = $CARBON_LIBS
17158 PTHREAD_LIBS = $PTHREAD_LIBS
17159 X_CFLAGS = $X_CFLAGS
17160 X_PRE_LIBS = $X_PRE_LIBS
17161 X_LIBS = $X_LIBS
17162 X_EXTRA_LIBS = $X_EXTRA_LIBS
17163 PCAP_LIBS = $PCAP_LIBS
17164 XML2_CFLAGS = $XML2_CFLAGS
17165 XML2_LIBS = $XML2_LIBS
17166 XSLT_CFLAGS = $XSLT_CFLAGS
17167 XSLT_LIBS = $XSLT_LIBS
17168 DBUS_CFLAGS = $DBUS_CFLAGS
17169 DBUS_LIBS = $DBUS_LIBS
17170 HAL_CFLAGS = $HAL_CFLAGS
17171 HAL_LIBS = $HAL_LIBS
17172 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17173 GNUTLS_LIBS = $GNUTLS_LIBS
17174 SANE_CFLAGS = $SANE_CFLAGS
17175 SANE_LIBS = $SANE_LIBS
17176 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17177 GPHOTO2_LIBS = $GPHOTO2_LIBS
17178 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17179 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17180 RESOLV_LIBS = $RESOLV_LIBS
17181 LCMS2_CFLAGS = $LCMS2_CFLAGS
17182 LCMS2_LIBS = $LCMS2_LIBS
17183 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17184 FREETYPE_LIBS = $FREETYPE_LIBS
17185 Z_LIBS = $Z_LIBS
17186 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17187 PULSE_CFLAGS = $PULSE_CFLAGS
17188 PULSE_LIBS = $PULSE_LIBS
17189 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17190 GSTREAMER_LIBS = $GSTREAMER_LIBS
17191 ALSA_LIBS = $ALSA_LIBS
17192 OSS4_CFLAGS = $OSS4_CFLAGS
17193 CAPI20_CFLAGS = $CAPI20_CFLAGS
17194 CAPI20_LIBS = $CAPI20_LIBS
17195 CUPS_CFLAGS = $CUPS_CFLAGS
17196 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17197 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17198 JPEG_CFLAGS = $JPEG_CFLAGS
17199 JPEG_LIBS = $JPEG_LIBS
17200 PNG_CFLAGS = $PNG_CFLAGS
17201 PNG_LIBS = $PNG_LIBS
17202 TIFF_CFLAGS = $TIFF_CFLAGS
17203 TIFF_LIBS = $TIFF_LIBS
17204 MPG123_CFLAGS = $MPG123_CFLAGS
17205 MPG123_LIBS = $MPG123_LIBS
17206 KSTAT_LIBS = $KSTAT_LIBS
17207 PROCSTAT_LIBS = $PROCSTAT_LIBS
17208 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17209 DL_LIBS = $DL_LIBS
17210 POLL_LIBS = $POLL_LIBS
17211 RT_LIBS = $RT_LIBS
17212 LDAP_LIBS = $LDAP_LIBS
17217 wine_fn_append_rule "
17218 # Rules automatically generated by configure
17220 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17222 .INIT: Makefile
17223 .MAKEFILEDEPS:
17224 all: Makefile
17225 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17226 @./config.status Make.tmp Makefile"
17228 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
17229 .gitignore: config.status
17230 @./config.status .gitignore"
17232 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17233 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17235 if test "x$enable_fonts" != xno; then
17236 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17237 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17238 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17239 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17240 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17241 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17243 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17244 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17245 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17246 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17247 ac_config_links="$ac_config_links wine:tools/winewrapper"
17248 wine_fn_config_symlink wine
17249 if test "x$enable_win64" != xno; then
17250 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17251 wine_fn_config_symlink wine64
17254 wine_fn_config_dll acledit enable_acledit
17255 wine_fn_config_dll aclui enable_aclui implib
17256 wine_fn_config_dll activeds enable_activeds implib
17257 wine_fn_config_dll actxprxy enable_actxprxy clean
17258 wine_fn_config_lib adsiid
17259 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17260 wine_fn_config_test dlls/advapi32/tests advapi32_test
17261 wine_fn_config_dll advpack enable_advpack implib
17262 wine_fn_config_test dlls/advpack/tests advpack_test
17263 wine_fn_config_dll amstream enable_amstream clean
17264 wine_fn_config_test dlls/amstream/tests amstream_test
17265 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17266 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17267 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17268 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17269 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17270 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17271 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17272 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17273 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17274 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17275 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17276 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17277 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17278 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17279 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17280 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17281 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17282 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17283 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17284 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17285 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17286 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17287 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17288 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17289 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17290 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17291 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17292 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17293 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17294 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17295 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17296 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17297 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17298 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17299 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17300 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17301 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17302 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17303 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17304 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17305 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17306 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17307 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17308 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17309 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17310 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17311 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17312 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17313 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17314 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17315 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17316 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17317 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17318 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17319 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17320 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17321 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17322 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17323 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17324 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17325 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17326 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17327 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17328 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17329 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17330 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17331 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17332 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17333 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17334 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17335 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17336 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17337 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17338 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17339 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17340 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17341 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17342 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17343 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17344 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17345 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17346 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17347 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17348 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17349 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17350 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17351 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17352 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17353 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17354 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17355 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17356 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17357 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17358 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17359 wine_fn_config_dll apphelp enable_apphelp
17360 wine_fn_config_test dlls/apphelp/tests apphelp_test
17361 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17362 wine_fn_config_dll atl enable_atl clean,implib
17363 wine_fn_config_test dlls/atl/tests atl_test
17364 wine_fn_config_dll atl100 enable_atl100 clean,implib
17365 wine_fn_config_test dlls/atl100/tests atl100_test
17366 wine_fn_config_dll atl110 enable_atl110 clean
17367 wine_fn_config_dll atl80 enable_atl80 clean,implib
17368 wine_fn_config_test dlls/atl80/tests atl80_test
17369 wine_fn_config_dll atl90 enable_atl90 clean
17370 wine_fn_config_dll authz enable_authz
17371 wine_fn_config_dll avicap32 enable_avicap32 implib
17372 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17373 wine_fn_config_test dlls/avifil32/tests avifil32_test
17374 wine_fn_config_dll avifile.dll16 enable_win16
17375 wine_fn_config_dll avrt enable_avrt implib
17376 wine_fn_config_dll bcrypt enable_bcrypt
17377 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17378 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17379 wine_fn_config_dll browseui enable_browseui clean,po
17380 wine_fn_config_test dlls/browseui/tests browseui_test
17381 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17382 wine_fn_config_dll cabinet enable_cabinet implib
17383 wine_fn_config_test dlls/cabinet/tests cabinet_test
17384 wine_fn_config_dll capi2032 enable_capi2032 implib
17385 wine_fn_config_dll cards enable_cards implib
17386 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17387 wine_fn_config_dll clusapi enable_clusapi implib
17388 wine_fn_config_dll combase enable_combase
17389 wine_fn_config_test dlls/combase/tests combase_test
17390 wine_fn_config_dll comcat enable_comcat
17391 wine_fn_config_test dlls/comcat/tests comcat_test
17392 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17393 wine_fn_config_test dlls/comctl32/tests comctl32_test
17394 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17395 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17396 wine_fn_config_dll comm.drv16 enable_win16
17397 wine_fn_config_dll commdlg.dll16 enable_win16
17398 wine_fn_config_dll compobj.dll16 enable_win16
17399 wine_fn_config_dll compstui enable_compstui implib
17400 wine_fn_config_dll comsvcs enable_comsvcs implib
17401 wine_fn_config_dll connect enable_connect
17402 wine_fn_config_dll credui enable_credui implib,po
17403 wine_fn_config_test dlls/credui/tests credui_test
17404 wine_fn_config_dll crtdll enable_crtdll implib
17405 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17406 wine_fn_config_test dlls/crypt32/tests crypt32_test
17407 wine_fn_config_dll cryptdlg enable_cryptdlg po
17408 wine_fn_config_dll cryptdll enable_cryptdll implib
17409 wine_fn_config_dll cryptext enable_cryptext
17410 wine_fn_config_dll cryptnet enable_cryptnet implib
17411 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17412 wine_fn_config_dll cryptui enable_cryptui implib,po
17413 wine_fn_config_test dlls/cryptui/tests cryptui_test
17414 wine_fn_config_dll ctapi32 enable_ctapi32
17415 wine_fn_config_dll ctl3d.dll16 enable_win16
17416 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17417 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17418 wine_fn_config_dll d2d1 enable_d2d1 implib
17419 wine_fn_config_test dlls/d2d1/tests d2d1_test
17420 wine_fn_config_dll d3d10 enable_d3d10 implib
17421 wine_fn_config_test dlls/d3d10/tests d3d10_test
17422 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17423 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17424 wine_fn_config_dll d3d10core enable_d3d10core implib
17425 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17426 wine_fn_config_dll d3d11 enable_d3d11 implib
17427 wine_fn_config_test dlls/d3d11/tests d3d11_test
17428 wine_fn_config_dll d3d8 enable_d3d8 implib
17429 wine_fn_config_test dlls/d3d8/tests d3d8_test
17430 wine_fn_config_dll d3d9 enable_d3d9 implib
17431 wine_fn_config_test dlls/d3d9/tests d3d9_test
17432 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17433 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17434 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17435 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17436 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17437 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17438 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17439 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17440 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17441 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17442 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17443 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17444 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17445 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17446 wine_fn_config_dll d3dim enable_d3dim implib
17447 wine_fn_config_dll d3drm enable_d3drm implib
17448 wine_fn_config_test dlls/d3drm/tests d3drm_test
17449 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17450 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17451 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17452 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17453 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17454 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17455 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17456 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17457 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17458 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17459 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17460 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17461 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17462 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17463 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17464 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17465 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17466 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17467 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17468 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17469 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17470 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17471 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17472 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17473 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17474 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17475 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17476 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17477 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17478 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17479 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17480 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17481 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17482 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17483 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17484 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17485 wine_fn_config_dll davclnt enable_davclnt
17486 wine_fn_config_dll dbgeng enable_dbgeng implib
17487 wine_fn_config_dll dbghelp enable_dbghelp implib
17488 wine_fn_config_dll dciman32 enable_dciman32 implib
17489 wine_fn_config_dll ddeml.dll16 enable_win16
17490 wine_fn_config_dll ddraw enable_ddraw clean,implib
17491 wine_fn_config_test dlls/ddraw/tests ddraw_test
17492 wine_fn_config_dll ddrawex enable_ddrawex clean
17493 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17494 wine_fn_config_dll devenum enable_devenum clean,po
17495 wine_fn_config_test dlls/devenum/tests devenum_test
17496 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17497 wine_fn_config_dll difxapi enable_difxapi
17498 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17499 wine_fn_config_test dlls/dinput/tests dinput_test
17500 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17501 wine_fn_config_test dlls/dinput8/tests dinput8_test
17502 wine_fn_config_dll dispdib.dll16 enable_win16
17503 wine_fn_config_dll dispex enable_dispex clean
17504 wine_fn_config_test dlls/dispex/tests dispex_test
17505 wine_fn_config_dll display.drv16 enable_win16
17506 wine_fn_config_dll dmband enable_dmband clean
17507 wine_fn_config_test dlls/dmband/tests dmband_test
17508 wine_fn_config_dll dmcompos enable_dmcompos clean
17509 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17510 wine_fn_config_dll dmime enable_dmime clean
17511 wine_fn_config_test dlls/dmime/tests dmime_test
17512 wine_fn_config_dll dmloader enable_dmloader clean
17513 wine_fn_config_test dlls/dmloader/tests dmloader_test
17514 wine_fn_config_dll dmscript enable_dmscript clean
17515 wine_fn_config_test dlls/dmscript/tests dmscript_test
17516 wine_fn_config_dll dmstyle enable_dmstyle clean
17517 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17518 wine_fn_config_dll dmsynth enable_dmsynth clean
17519 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17520 wine_fn_config_dll dmusic enable_dmusic clean
17521 wine_fn_config_test dlls/dmusic/tests dmusic_test
17522 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17523 wine_fn_config_dll dnsapi enable_dnsapi implib
17524 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17525 wine_fn_config_dll dplay enable_dplay implib
17526 wine_fn_config_dll dplayx enable_dplayx clean,implib
17527 wine_fn_config_test dlls/dplayx/tests dplayx_test
17528 wine_fn_config_dll dpnaddr enable_dpnaddr
17529 wine_fn_config_dll dpnet enable_dpnet clean,implib
17530 wine_fn_config_test dlls/dpnet/tests dpnet_test
17531 wine_fn_config_dll dpnhpast enable_dpnhpast
17532 wine_fn_config_dll dpnlobby enable_dpnlobby
17533 wine_fn_config_dll dpvoice enable_dpvoice clean
17534 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17535 wine_fn_config_dll dpwsockx enable_dpwsockx
17536 wine_fn_config_dll drmclien enable_drmclien
17537 wine_fn_config_dll dsound enable_dsound clean,implib
17538 wine_fn_config_test dlls/dsound/tests dsound_test
17539 wine_fn_config_dll dssenh enable_dssenh
17540 wine_fn_config_test dlls/dssenh/tests dssenh_test
17541 wine_fn_config_dll dswave enable_dswave clean
17542 wine_fn_config_test dlls/dswave/tests dswave_test
17543 wine_fn_config_dll dwmapi enable_dwmapi implib
17544 wine_fn_config_dll dwrite enable_dwrite implib
17545 wine_fn_config_test dlls/dwrite/tests dwrite_test
17546 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17547 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17548 wine_fn_config_lib dxerr8
17549 wine_fn_config_lib dxerr9
17550 wine_fn_config_dll dxgi enable_dxgi implib
17551 wine_fn_config_test dlls/dxgi/tests dxgi_test
17552 wine_fn_config_lib dxguid
17553 wine_fn_config_dll dxva2 enable_dxva2
17554 wine_fn_config_dll esent enable_esent
17555 wine_fn_config_dll evr enable_evr
17556 wine_fn_config_dll explorerframe enable_explorerframe clean
17557 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17558 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17559 wine_fn_config_dll faultrep enable_faultrep implib
17560 wine_fn_config_test dlls/faultrep/tests faultrep_test
17561 wine_fn_config_dll fltlib enable_fltlib
17562 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17563 wine_fn_config_dll fntcache enable_fntcache
17564 wine_fn_config_dll fontsub enable_fontsub
17565 wine_fn_config_dll fusion enable_fusion
17566 wine_fn_config_test dlls/fusion/tests fusion_test
17567 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17568 wine_fn_config_dll gameux enable_gameux clean
17569 wine_fn_config_test dlls/gameux/tests gameux_test
17570 wine_fn_config_dll gdi.exe16 enable_win16
17571 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17572 wine_fn_config_test dlls/gdi32/tests gdi32_test
17573 wine_fn_config_dll gdiplus enable_gdiplus implib
17574 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17575 wine_fn_config_dll glu32 enable_glu32 implib
17576 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17577 wine_fn_config_dll gpkcsp enable_gpkcsp
17578 wine_fn_config_dll hal enable_hal
17579 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17580 wine_fn_config_dll hid enable_hid implib
17581 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17582 wine_fn_config_dll hlink enable_hlink clean,implib
17583 wine_fn_config_test dlls/hlink/tests hlink_test
17584 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17585 wine_fn_config_dll httpapi enable_httpapi
17586 wine_fn_config_dll iccvid enable_iccvid po
17587 wine_fn_config_dll icmp enable_icmp
17588 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17589 wine_fn_config_test dlls/ieframe/tests ieframe_test
17590 wine_fn_config_dll ifsmgr.vxd enable_win16
17591 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17592 wine_fn_config_dll imagehlp enable_imagehlp implib
17593 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17594 wine_fn_config_dll imm.dll16 enable_win16
17595 wine_fn_config_dll imm32 enable_imm32 implib
17596 wine_fn_config_test dlls/imm32/tests imm32_test
17597 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17598 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17599 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17600 wine_fn_config_dll inetmib1 enable_inetmib1
17601 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17602 wine_fn_config_dll infosoft enable_infosoft clean
17603 wine_fn_config_test dlls/infosoft/tests infosoft_test
17604 wine_fn_config_dll initpki enable_initpki
17605 wine_fn_config_dll inkobj enable_inkobj
17606 wine_fn_config_dll inseng enable_inseng clean
17607 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17608 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17609 wine_fn_config_dll itircl enable_itircl
17610 wine_fn_config_dll itss enable_itss clean
17611 wine_fn_config_test dlls/itss/tests itss_test
17612 wine_fn_config_dll joy.cpl enable_joy_cpl po
17613 wine_fn_config_dll jscript enable_jscript clean,po
17614 wine_fn_config_test dlls/jscript/tests jscript_test
17615 wine_fn_config_dll jsproxy enable_jsproxy implib
17616 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17617 wine_fn_config_test dlls/kernel32/tests kernel32_test
17618 wine_fn_config_dll keyboard.drv16 enable_win16
17619 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17620 wine_fn_config_dll ksuser enable_ksuser
17621 wine_fn_config_dll ktmw32 enable_ktmw32
17622 wine_fn_config_dll loadperf enable_loadperf implib
17623 wine_fn_config_dll localspl enable_localspl po
17624 wine_fn_config_test dlls/localspl/tests localspl_test
17625 wine_fn_config_dll localui enable_localui po
17626 wine_fn_config_test dlls/localui/tests localui_test
17627 wine_fn_config_dll lz32 enable_lz32 implib
17628 wine_fn_config_test dlls/lz32/tests lz32_test
17629 wine_fn_config_dll lzexpand.dll16 enable_win16
17630 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17631 wine_fn_config_test dlls/mapi32/tests mapi32_test
17632 wine_fn_config_dll mapistub enable_mapistub
17633 wine_fn_config_dll mciavi32 enable_mciavi32
17634 wine_fn_config_dll mcicda enable_mcicda
17635 wine_fn_config_dll mciqtz32 enable_mciqtz32
17636 wine_fn_config_dll mciseq enable_mciseq
17637 wine_fn_config_dll mciwave enable_mciwave
17638 wine_fn_config_dll mf enable_mf
17639 wine_fn_config_dll mfplat enable_mfplat
17640 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17641 wine_fn_config_dll mgmtapi enable_mgmtapi
17642 wine_fn_config_dll midimap enable_midimap
17643 wine_fn_config_dll mlang enable_mlang clean,implib
17644 wine_fn_config_test dlls/mlang/tests mlang_test
17645 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17646 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17647 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17648 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17649 wine_fn_config_dll mmdevldr.vxd enable_win16
17650 wine_fn_config_dll mmsystem.dll16 enable_win16
17651 wine_fn_config_dll monodebg.vxd enable_win16
17652 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17653 wine_fn_config_dll mouse.drv16 enable_win16
17654 wine_fn_config_dll mpr enable_mpr implib,po
17655 wine_fn_config_test dlls/mpr/tests mpr_test
17656 wine_fn_config_dll mprapi enable_mprapi implib
17657 wine_fn_config_dll msacm.dll16 enable_win16
17658 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17659 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17660 wine_fn_config_test dlls/msacm32/tests msacm32_test
17661 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17662 wine_fn_config_dll msasn1 enable_msasn1 implib
17663 wine_fn_config_dll mscat32 enable_mscat32
17664 wine_fn_config_dll mscms enable_mscms implib
17665 wine_fn_config_test dlls/mscms/tests mscms_test
17666 wine_fn_config_dll mscoree enable_mscoree clean
17667 wine_fn_config_test dlls/mscoree/tests mscoree_test
17668 wine_fn_config_dll msctf enable_msctf clean
17669 wine_fn_config_test dlls/msctf/tests msctf_test
17670 wine_fn_config_dll msctfp enable_msctfp clean
17671 wine_fn_config_dll msdaps enable_msdaps clean
17672 wine_fn_config_dll msdelta enable_msdelta
17673 wine_fn_config_dll msdmo enable_msdmo implib
17674 wine_fn_config_test dlls/msdmo/tests msdmo_test
17675 wine_fn_config_dll msftedit enable_msftedit
17676 wine_fn_config_dll msg711.acm enable_msg711_acm
17677 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17678 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17679 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17680 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17681 wine_fn_config_dll msi enable_msi clean,implib,po
17682 wine_fn_config_test dlls/msi/tests msi_test
17683 wine_fn_config_dll msident enable_msident clean
17684 wine_fn_config_dll msimg32 enable_msimg32 implib
17685 wine_fn_config_dll msimsg enable_msimsg
17686 wine_fn_config_dll msimtf enable_msimtf clean
17687 wine_fn_config_dll msisip enable_msisip
17688 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17689 wine_fn_config_dll msls31 enable_msls31
17690 wine_fn_config_dll msnet32 enable_msnet32
17691 wine_fn_config_dll mspatcha enable_mspatcha implib
17692 wine_fn_config_dll msrle32 enable_msrle32 po
17693 wine_fn_config_test dlls/msrle32/tests msrle32_test
17694 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17695 wine_fn_config_dll mssign32 enable_mssign32
17696 wine_fn_config_dll mssip32 enable_mssip32
17697 wine_fn_config_dll mstask enable_mstask clean
17698 wine_fn_config_test dlls/mstask/tests mstask_test
17699 wine_fn_config_dll msvcirt enable_msvcirt
17700 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17701 wine_fn_config_dll msvcm80 enable_msvcm80
17702 wine_fn_config_dll msvcm90 enable_msvcm90
17703 wine_fn_config_dll msvcp100 enable_msvcp100
17704 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17705 wine_fn_config_dll msvcp110 enable_msvcp110
17706 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17707 wine_fn_config_dll msvcp120 enable_msvcp120
17708 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17709 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17710 wine_fn_config_dll msvcp60 enable_msvcp60
17711 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17712 wine_fn_config_dll msvcp70 enable_msvcp70
17713 wine_fn_config_dll msvcp71 enable_msvcp71
17714 wine_fn_config_dll msvcp80 enable_msvcp80
17715 wine_fn_config_dll msvcp90 enable_msvcp90
17716 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17717 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17718 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17719 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17720 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17721 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17722 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17723 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17724 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17725 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17726 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17727 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17728 wine_fn_config_dll msvcrt enable_msvcrt implib
17729 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17730 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17731 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17732 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17733 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17734 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17735 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17736 wine_fn_config_dll msvidc32 enable_msvidc32 po
17737 wine_fn_config_dll msvideo.dll16 enable_win16
17738 wine_fn_config_dll mswsock enable_mswsock implib
17739 wine_fn_config_dll msxml enable_msxml clean
17740 wine_fn_config_dll msxml2 enable_msxml2 clean
17741 wine_fn_config_dll msxml3 enable_msxml3 clean
17742 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17743 wine_fn_config_dll msxml4 enable_msxml4 clean
17744 wine_fn_config_dll msxml6 enable_msxml6 clean
17745 wine_fn_config_dll nddeapi enable_nddeapi implib
17746 wine_fn_config_dll ndis.sys enable_ndis_sys
17747 wine_fn_config_dll netapi32 enable_netapi32 implib
17748 wine_fn_config_test dlls/netapi32/tests netapi32_test
17749 wine_fn_config_dll netcfgx enable_netcfgx clean
17750 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17751 wine_fn_config_dll netprofm enable_netprofm clean
17752 wine_fn_config_test dlls/netprofm/tests netprofm_test
17753 wine_fn_config_dll newdev enable_newdev implib
17754 wine_fn_config_dll normaliz enable_normaliz implib
17755 wine_fn_config_dll npmshtml enable_npmshtml
17756 wine_fn_config_dll npptools enable_npptools
17757 wine_fn_config_dll ntdll enable_ntdll implib
17758 wine_fn_config_test dlls/ntdll/tests ntdll_test
17759 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17760 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17761 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17762 wine_fn_config_dll ntprint enable_ntprint
17763 wine_fn_config_test dlls/ntprint/tests ntprint_test
17764 wine_fn_config_dll objsel enable_objsel clean
17765 wine_fn_config_dll odbc32 enable_odbc32 implib
17766 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17767 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17768 wine_fn_config_dll odbccu32 enable_odbccu32
17769 wine_fn_config_dll ole2.dll16 enable_win16
17770 wine_fn_config_dll ole2conv.dll16 enable_win16
17771 wine_fn_config_dll ole2disp.dll16 enable_win16
17772 wine_fn_config_dll ole2nls.dll16 enable_win16
17773 wine_fn_config_dll ole2prox.dll16 enable_win16
17774 wine_fn_config_dll ole2thk.dll16 enable_win16
17775 wine_fn_config_dll ole32 enable_ole32 clean,implib
17776 wine_fn_config_test dlls/ole32/tests ole32_test
17777 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17778 wine_fn_config_test dlls/oleacc/tests oleacc_test
17779 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17780 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17781 wine_fn_config_dll olecli.dll16 enable_win16
17782 wine_fn_config_dll olecli32 enable_olecli32 implib
17783 wine_fn_config_dll oledb32 enable_oledb32 clean
17784 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17785 wine_fn_config_dll oledlg enable_oledlg implib,po
17786 wine_fn_config_test dlls/oledlg/tests oledlg_test
17787 wine_fn_config_dll olepro32 enable_olepro32 implib
17788 wine_fn_config_dll olesvr.dll16 enable_win16
17789 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17790 wine_fn_config_dll olethk32 enable_olethk32
17791 wine_fn_config_dll openal32 enable_openal32
17792 wine_fn_config_dll opencl enable_opencl
17793 wine_fn_config_dll opengl32 enable_opengl32 implib
17794 wine_fn_config_test dlls/opengl32/tests opengl32_test
17795 wine_fn_config_dll packager enable_packager clean
17796 wine_fn_config_test dlls/packager/tests packager_test
17797 wine_fn_config_dll pdh enable_pdh implib
17798 wine_fn_config_test dlls/pdh/tests pdh_test
17799 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17800 wine_fn_config_dll pidgen enable_pidgen
17801 wine_fn_config_dll powrprof enable_powrprof implib
17802 wine_fn_config_dll printui enable_printui
17803 wine_fn_config_dll prntvpt enable_prntvpt
17804 wine_fn_config_dll propsys enable_propsys clean,implib
17805 wine_fn_config_test dlls/propsys/tests propsys_test
17806 wine_fn_config_dll psapi enable_psapi implib
17807 wine_fn_config_test dlls/psapi/tests psapi_test
17808 wine_fn_config_dll pstorec enable_pstorec clean
17809 wine_fn_config_dll qcap enable_qcap
17810 wine_fn_config_test dlls/qcap/tests qcap_test
17811 wine_fn_config_dll qedit enable_qedit clean
17812 wine_fn_config_test dlls/qedit/tests qedit_test
17813 wine_fn_config_dll qmgr enable_qmgr clean
17814 wine_fn_config_test dlls/qmgr/tests qmgr_test
17815 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17816 wine_fn_config_dll quartz enable_quartz clean,implib
17817 wine_fn_config_test dlls/quartz/tests quartz_test clean
17818 wine_fn_config_dll query enable_query
17819 wine_fn_config_dll rasapi16.dll16 enable_win16
17820 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17821 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17822 wine_fn_config_dll rasdlg enable_rasdlg implib
17823 wine_fn_config_dll regapi enable_regapi
17824 wine_fn_config_dll resutils enable_resutils implib
17825 wine_fn_config_dll riched20 enable_riched20 clean,implib
17826 wine_fn_config_test dlls/riched20/tests riched20_test
17827 wine_fn_config_dll riched32 enable_riched32
17828 wine_fn_config_test dlls/riched32/tests riched32_test
17829 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17830 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17831 wine_fn_config_dll rsabase enable_rsabase
17832 wine_fn_config_dll rsaenh enable_rsaenh implib
17833 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17834 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17835 wine_fn_config_dll rtutils enable_rtutils implib
17836 wine_fn_config_dll samlib enable_samlib
17837 wine_fn_config_dll sane.ds enable_sane_ds po
17838 wine_fn_config_dll scarddlg enable_scarddlg
17839 wine_fn_config_dll sccbase enable_sccbase
17840 wine_fn_config_dll schannel enable_schannel
17841 wine_fn_config_test dlls/schannel/tests schannel_test
17842 wine_fn_config_dll schedsvc enable_schedsvc clean
17843 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17844 wine_fn_config_dll scrrun enable_scrrun clean
17845 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17846 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17847 wine_fn_config_dll secur32 enable_secur32 implib
17848 wine_fn_config_test dlls/secur32/tests secur32_test
17849 wine_fn_config_dll security enable_security
17850 wine_fn_config_dll sensapi enable_sensapi implib
17851 wine_fn_config_dll serialui enable_serialui implib,po
17852 wine_fn_config_test dlls/serialui/tests serialui_test
17853 wine_fn_config_dll setupapi enable_setupapi implib,po
17854 wine_fn_config_test dlls/setupapi/tests setupapi_test
17855 wine_fn_config_dll setupx.dll16 enable_win16
17856 wine_fn_config_dll sfc enable_sfc implib
17857 wine_fn_config_dll sfc_os enable_sfc_os implib
17858 wine_fn_config_dll shdoclc enable_shdoclc po
17859 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17860 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17861 wine_fn_config_dll shell.dll16 enable_win16
17862 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17863 wine_fn_config_test dlls/shell32/tests shell32_test
17864 wine_fn_config_dll shfolder enable_shfolder implib
17865 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17866 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17867 wine_fn_config_dll slbcsp enable_slbcsp
17868 wine_fn_config_dll slc enable_slc implib
17869 wine_fn_config_test dlls/slc/tests slc_test
17870 wine_fn_config_dll snmpapi enable_snmpapi implib
17871 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17872 wine_fn_config_dll softpub enable_softpub
17873 wine_fn_config_dll sound.drv16 enable_win16
17874 wine_fn_config_dll spoolss enable_spoolss implib
17875 wine_fn_config_test dlls/spoolss/tests spoolss_test
17876 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17877 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17878 wine_fn_config_dll sti enable_sti clean,implib
17879 wine_fn_config_test dlls/sti/tests sti_test
17880 wine_fn_config_dll storage.dll16 enable_win16
17881 wine_fn_config_dll stress.dll16 enable_win16
17882 wine_fn_config_lib strmbase
17883 wine_fn_config_lib strmiids
17884 wine_fn_config_dll svrapi enable_svrapi
17885 wine_fn_config_dll sxs enable_sxs implib
17886 wine_fn_config_test dlls/sxs/tests sxs_test
17887 wine_fn_config_dll system.drv16 enable_win16
17888 wine_fn_config_dll t2embed enable_t2embed
17889 wine_fn_config_dll tapi32 enable_tapi32 implib
17890 wine_fn_config_dll taskschd enable_taskschd clean
17891 wine_fn_config_test dlls/taskschd/tests taskschd_test
17892 wine_fn_config_dll tdi.sys enable_tdi_sys
17893 wine_fn_config_dll toolhelp.dll16 enable_win16
17894 wine_fn_config_dll traffic enable_traffic
17895 wine_fn_config_dll twain.dll16 enable_win16
17896 wine_fn_config_dll twain_32 enable_twain_32
17897 wine_fn_config_test dlls/twain_32/tests twain_32_test
17898 wine_fn_config_dll typelib.dll16 enable_win16
17899 wine_fn_config_dll ucrtbase enable_ucrtbase
17900 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17901 wine_fn_config_dll unicows enable_unicows implib
17902 wine_fn_config_dll updspapi enable_updspapi
17903 wine_fn_config_dll url enable_url implib
17904 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17905 wine_fn_config_test dlls/urlmon/tests urlmon_test
17906 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17907 wine_fn_config_dll user.exe16 enable_win16
17908 wine_fn_config_dll user32 enable_user32 clean,implib,po
17909 wine_fn_config_test dlls/user32/tests user32_test
17910 wine_fn_config_dll userenv enable_userenv implib
17911 wine_fn_config_test dlls/userenv/tests userenv_test
17912 wine_fn_config_dll usp10 enable_usp10 implib
17913 wine_fn_config_test dlls/usp10/tests usp10_test
17914 wine_fn_config_lib uuid
17915 wine_fn_config_dll uxtheme enable_uxtheme implib
17916 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17917 wine_fn_config_dll vbscript enable_vbscript clean
17918 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17919 wine_fn_config_dll vcomp enable_vcomp
17920 wine_fn_config_test dlls/vcomp/tests vcomp_test
17921 wine_fn_config_dll vcomp100 enable_vcomp100
17922 wine_fn_config_dll vcomp110 enable_vcomp110
17923 wine_fn_config_dll vcomp120 enable_vcomp120
17924 wine_fn_config_dll vcomp90 enable_vcomp90
17925 wine_fn_config_dll vcruntime140 enable_vcruntime140
17926 wine_fn_config_dll vdhcp.vxd enable_win16
17927 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17928 wine_fn_config_dll ver.dll16 enable_win16
17929 wine_fn_config_dll version enable_version implib
17930 wine_fn_config_test dlls/version/tests version_test
17931 wine_fn_config_dll vmm.vxd enable_win16
17932 wine_fn_config_dll vnbt.vxd enable_win16
17933 wine_fn_config_dll vnetbios.vxd enable_win16
17934 wine_fn_config_dll vssapi enable_vssapi
17935 wine_fn_config_dll vtdapi.vxd enable_win16
17936 wine_fn_config_dll vwin32.vxd enable_win16
17937 wine_fn_config_dll w32skrnl enable_win16
17938 wine_fn_config_dll w32sys.dll16 enable_win16
17939 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17940 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17941 wine_fn_config_dll wbemprox enable_wbemprox clean
17942 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17943 wine_fn_config_dll webservices enable_webservices implib
17944 wine_fn_config_test dlls/webservices/tests webservices_test
17945 wine_fn_config_dll wer enable_wer implib
17946 wine_fn_config_test dlls/wer/tests wer_test
17947 wine_fn_config_dll wevtapi enable_wevtapi
17948 wine_fn_config_dll wiaservc enable_wiaservc clean
17949 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
17950 wine_fn_config_dll wimgapi enable_wimgapi
17951 wine_fn_config_dll win32s16.dll16 enable_win16
17952 wine_fn_config_dll win87em.dll16 enable_win16
17953 wine_fn_config_dll winaspi.dll16 enable_win16
17954 wine_fn_config_dll windebug.dll16 enable_win16
17955 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17956 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17957 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17958 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17959 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17960 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17961 wine_fn_config_lib winecrt0
17962 wine_fn_config_dll wined3d enable_wined3d implib
17963 wine_fn_config_dll winegstreamer enable_winegstreamer
17964 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17965 wine_fn_config_dll winemac.drv enable_winemac_drv po
17966 wine_fn_config_dll winemapi enable_winemapi
17967 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17968 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17969 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17970 wine_fn_config_dll wineps16.drv16 enable_win16
17971 wine_fn_config_dll winepulse.drv enable_winepulse_drv
17972 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17973 wine_fn_config_dll winex11.drv enable_winex11_drv
17974 wine_fn_config_dll wing.dll16 enable_win16
17975 wine_fn_config_dll wing32 enable_wing32
17976 wine_fn_config_dll winhttp enable_winhttp clean,implib
17977 wine_fn_config_test dlls/winhttp/tests winhttp_test
17978 wine_fn_config_dll wininet enable_wininet implib,po
17979 wine_fn_config_test dlls/wininet/tests wininet_test
17980 wine_fn_config_dll winmm enable_winmm implib,po
17981 wine_fn_config_test dlls/winmm/tests winmm_test
17982 wine_fn_config_dll winnls.dll16 enable_win16
17983 wine_fn_config_dll winnls32 enable_winnls32 implib
17984 wine_fn_config_dll winscard enable_winscard implib
17985 wine_fn_config_dll winsock.dll16 enable_win16
17986 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17987 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17988 wine_fn_config_dll winsta enable_winsta
17989 wine_fn_config_dll wintab.dll16 enable_win16
17990 wine_fn_config_dll wintab32 enable_wintab32 implib
17991 wine_fn_config_test dlls/wintab32/tests wintab32_test
17992 wine_fn_config_dll wintrust enable_wintrust implib
17993 wine_fn_config_test dlls/wintrust/tests wintrust_test
17994 wine_fn_config_dll wlanapi enable_wlanapi
17995 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17996 wine_fn_config_test dlls/wldap32/tests wldap32_test
17997 wine_fn_config_dll wmi enable_wmi
17998 wine_fn_config_dll wmiutils enable_wmiutils clean
17999 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18000 wine_fn_config_dll wmp enable_wmp clean
18001 wine_fn_config_test dlls/wmp/tests wmp_test
18002 wine_fn_config_dll wmvcore enable_wmvcore
18003 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18004 wine_fn_config_dll wow32 enable_win16 implib
18005 wine_fn_config_dll wpcap enable_wpcap
18006 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18007 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18008 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18009 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18010 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18011 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18012 wine_fn_config_dll wsock32 enable_wsock32 implib
18013 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18014 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18015 wine_fn_config_dll wuapi enable_wuapi clean
18016 wine_fn_config_dll wuaueng enable_wuaueng
18017 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18018 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18019 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18020 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18021 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18022 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18023 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18024 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18025 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18026 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18027 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18028 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18029 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18030 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18031 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18032 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18033 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18034 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18035 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18036 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18037 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18038 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18039 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 implib
18040 wine_fn_config_dll xinput1_1 enable_xinput1_1
18041 wine_fn_config_dll xinput1_2 enable_xinput1_2
18042 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18043 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18044 wine_fn_config_dll xinput1_4 enable_xinput1_4
18045 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18046 wine_fn_config_dll xmllite enable_xmllite implib
18047 wine_fn_config_test dlls/xmllite/tests xmllite_test
18048 wine_fn_config_dll xolehlp enable_xolehlp
18049 wine_fn_config_dll xpsprint enable_xpsprint
18050 wine_fn_config_dll xpssvcs enable_xpssvcs
18051 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18052 wine_fn_config_makefile include enable_include clean,install-dev
18053 wine_fn_config_makefile libs/port enable_libs_port
18054 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18055 wine_fn_config_makefile libs/wpp enable_libs_wpp
18056 wine_fn_config_makefile loader enable_loader clean,install-lib
18057 wine_fn_config_program arp enable_arp install
18058 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18059 wine_fn_config_program attrib enable_attrib install,po
18060 wine_fn_config_program cabarc enable_cabarc install
18061 wine_fn_config_program cacls enable_cacls install
18062 wine_fn_config_program clock enable_clock install,po
18063 wine_fn_config_program cmd enable_cmd install,po
18064 wine_fn_config_test programs/cmd/tests cmd.exe_test
18065 wine_fn_config_program conhost enable_conhost install
18066 wine_fn_config_program control enable_control install
18067 wine_fn_config_program cscript enable_cscript clean,install
18068 wine_fn_config_program dpnsvr enable_dpnsvr install
18069 wine_fn_config_program dxdiag enable_dxdiag install,po
18070 wine_fn_config_program eject enable_eject install
18071 wine_fn_config_program expand enable_expand install
18072 wine_fn_config_program explorer enable_explorer install,po
18073 wine_fn_config_program extrac32 enable_extrac32 install
18074 wine_fn_config_program findstr enable_findstr install
18075 wine_fn_config_program hh enable_hh install
18076 wine_fn_config_program hostname enable_hostname install,po
18077 wine_fn_config_program icinfo enable_icinfo install
18078 wine_fn_config_program iexplore enable_iexplore install
18079 wine_fn_config_program ipconfig enable_ipconfig install,po
18080 wine_fn_config_program lodctr enable_lodctr install
18081 wine_fn_config_program mofcomp enable_mofcomp install
18082 wine_fn_config_program mshta enable_mshta install
18083 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18084 wine_fn_config_program net enable_net install,po
18085 wine_fn_config_program netsh enable_netsh install
18086 wine_fn_config_program netstat enable_netstat install,po
18087 wine_fn_config_program ngen enable_ngen install
18088 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
18089 wine_fn_config_program oleview enable_oleview install,po
18090 wine_fn_config_program ping enable_ping install
18091 wine_fn_config_program plugplay enable_plugplay install
18092 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18093 wine_fn_config_program progman enable_progman install,po
18094 wine_fn_config_program reg enable_reg install,po
18095 wine_fn_config_test programs/reg/tests reg.exe_test
18096 wine_fn_config_program regasm enable_regasm install
18097 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
18098 wine_fn_config_test programs/regedit/tests regedit.exe_test
18099 wine_fn_config_program regsvcs enable_regsvcs install
18100 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
18101 wine_fn_config_program rpcss enable_rpcss clean,install
18102 wine_fn_config_program rundll.exe16 enable_win16 install
18103 wine_fn_config_program rundll32 enable_rundll32 install
18104 wine_fn_config_program sc enable_sc install
18105 wine_fn_config_program schtasks enable_schtasks install
18106 wine_fn_config_program sdbinst enable_sdbinst install
18107 wine_fn_config_program secedit enable_secedit install
18108 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18109 wine_fn_config_program services enable_services clean,install
18110 wine_fn_config_test programs/services/tests services.exe_test
18111 wine_fn_config_program spoolsv enable_spoolsv install
18112 wine_fn_config_program start enable_start install,po
18113 wine_fn_config_program svchost enable_svchost install
18114 wine_fn_config_program systeminfo enable_systeminfo install
18115 wine_fn_config_program taskkill enable_taskkill install,po
18116 wine_fn_config_program tasklist enable_tasklist install
18117 wine_fn_config_program taskmgr enable_taskmgr install,po
18118 wine_fn_config_program termsv enable_termsv install
18119 wine_fn_config_program uninstaller enable_uninstaller install,po
18120 wine_fn_config_program unlodctr enable_unlodctr install
18121 wine_fn_config_program view enable_view install,po
18122 wine_fn_config_program wevtutil enable_wevtutil install
18123 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
18124 wine_fn_config_program winebrowser enable_winebrowser install
18125 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
18126 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
18127 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
18128 wine_fn_config_program winedevice enable_winedevice install
18129 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
18130 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18131 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
18132 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18133 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18134 wine_fn_config_program winetest enable_winetest clean
18135 wine_fn_config_program winevdm enable_win16 install
18136 wine_fn_config_program winhelp.exe16 enable_win16 install
18137 wine_fn_config_program winhlp32 enable_winhlp32 install,po
18138 wine_fn_config_program winoldap.mod16 enable_win16 install
18139 wine_fn_config_program winver enable_winver install
18140 wine_fn_config_program wmic enable_wmic install,po
18141 wine_fn_config_program wmplayer enable_wmplayer install
18142 wine_fn_config_program wordpad enable_wordpad install,po
18143 wine_fn_config_program write enable_write install,po
18144 wine_fn_config_program wscript enable_wscript clean,install
18145 wine_fn_config_test programs/wscript/tests wscript.exe_test
18146 wine_fn_config_program wusa enable_wusa install
18147 wine_fn_config_program xcopy enable_xcopy install,po
18148 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18149 wine_fn_config_makefile server enable_server clean,install-lib
18150 wine_fn_config_tool tools clean
18151 wine_fn_config_tool tools/sfnt2fon clean
18152 wine_fn_config_tool tools/widl clean,install-dev
18153 wine_fn_config_tool tools/winebuild clean,install-dev
18154 wine_fn_config_tool tools/winedump clean,install-dev
18155 wine_fn_config_tool tools/winegcc clean,install-dev
18156 wine_fn_config_tool tools/winemaker clean,install-dev
18157 wine_fn_config_tool tools/wmc clean,install-dev
18158 wine_fn_config_tool tools/wrc clean,install-dev
18160 LINGUAS="\
18161 ar \
18162 bg \
18163 ca \
18164 cs \
18165 da \
18166 de \
18167 el \
18168 en \
18169 en_US \
18170 eo \
18171 es \
18172 fa \
18173 fi \
18174 fr \
18175 he \
18176 hi \
18177 hr \
18178 hu \
18179 it \
18180 ja \
18181 ko \
18182 lt \
18183 ml \
18184 nb_NO \
18185 nl \
18186 or \
18187 pa \
18188 pl \
18189 pt_BR \
18190 pt_PT \
18191 rm \
18192 ro \
18193 ru \
18194 sk \
18195 sl \
18196 sr_RS@cyrillic \
18197 sr_RS@latin \
18198 sv \
18199 te \
18200 th \
18201 tr \
18202 uk \
18203 wa \
18204 zh_CN \
18205 zh_TW"
18210 wine_fn_ignore_file ".gitignore"
18211 wine_fn_ignore_file "Makefile"
18212 wine_fn_ignore_file "TAGS"
18213 wine_fn_ignore_file "tags"
18214 wine_fn_ignore_file "autom4te.cache"
18215 wine_fn_ignore_file "config.cache"
18216 wine_fn_ignore_file "config.log"
18217 wine_fn_ignore_file "config.status"
18218 wine_fn_ignore_file "configure.lineno"
18219 wine_fn_ignore_file "include/config.h"
18220 wine_fn_ignore_file "include/stamp-h"
18221 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
18223 if test "x$enable_tools" != xno
18224 then
18225 wine_fn_ignore_file "tools/makedep$ac_exeext"
18226 ac_config_commands="$ac_config_commands tools/makedep"
18230 ac_config_commands="$ac_config_commands Makefile"
18233 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18237 if test "x$enable_maintainer_mode" = xyes
18238 then
18239 wine_fn_append_rule "configure: configure.ac aclocal.m4
18240 autoconf --warnings=all
18241 include/config.h.in: include/stamp-h.in
18242 include/stamp-h.in: configure.ac aclocal.m4
18243 autoheader --warnings=all
18244 @echo timestamp > \$@"
18247 if test "x$with_gettextpo" = xyes
18248 then
18249 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18250 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
18251 \$(LINGUAS:%=po/%.po): po/wine.pot
18252 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18253 po/wine.pot: \$(ALL_POT_FILES)
18254 msgcat -o \$@ \$(ALL_POT_FILES)"
18257 if test "$MSGFMT" != false
18258 then
18259 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
18260 clean::
18261 \$(RM) \$(LINGUAS:%=po/%.mo)"
18263 posrc="po"
18264 test "$srcdir" = . || posrc="$srcdir/po"
18265 for i in $LINGUAS
18267 wine_fn_ignore_file "po/$i.mo"
18268 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
18269 \$(MSGFMT) -o \$@ $posrc/$i.po"
18270 done
18271 else
18272 LINGUAS=
18275 if test "x$enable_tools" != xno
18276 then
18277 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18278 @./config.status tools/makedep
18279 Makefile: tools/makedep$ac_exeext
18280 distclean:: clean
18281 \$(RM) tools/makedep$ac_exeext"
18282 else
18283 wine_fn_append_rule "\$(MAKEDEP):
18284 @echo \"You need to run make in $TOOLSDIR first\" && false"
18287 if test -n "$with_wine64"
18288 then
18289 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18290 fonts server tools:
18291 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18292 $with_wine64/loader/wine:
18293 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18294 $with_wine64/loader/wine-preloader:
18295 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18296 clean::
18297 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18298 else
18299 WINELOADER_INSTALL="wine.inf"
18301 wine_fn_append_rule "install install-lib::
18302 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18303 uninstall::
18304 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18305 case $host_os in
18306 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18307 *) wine_fn_append_rule "install install-lib::
18308 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18309 uninstall::
18310 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18311 esac
18314 if test "$srcdir" = .
18315 then
18316 ac_config_commands="$ac_config_commands .gitignore"
18320 $as_echo " done" >&6
18321 cat >confcache <<\_ACEOF
18322 # This file is a shell script that caches the results of configure
18323 # tests run on this system so they can be shared between configure
18324 # scripts and configure runs, see configure's option --config-cache.
18325 # It is not useful on other systems. If it contains results you don't
18326 # want to keep, you may remove or edit it.
18328 # config.status only pays attention to the cache file if you give it
18329 # the --recheck option to rerun configure.
18331 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18332 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18333 # following values.
18335 _ACEOF
18337 # The following way of writing the cache mishandles newlines in values,
18338 # but we know of no workaround that is simple, portable, and efficient.
18339 # So, we kill variables containing newlines.
18340 # Ultrix sh set writes to stderr and can't be redirected directly,
18341 # and sets the high bit in the cache file unless we assign to the vars.
18343 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18344 eval ac_val=\$$ac_var
18345 case $ac_val in #(
18346 *${as_nl}*)
18347 case $ac_var in #(
18348 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18349 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18350 esac
18351 case $ac_var in #(
18352 _ | IFS | as_nl) ;; #(
18353 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18354 *) { eval $ac_var=; unset $ac_var;} ;;
18355 esac ;;
18356 esac
18357 done
18359 (set) 2>&1 |
18360 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18361 *${as_nl}ac_space=\ *)
18362 # `set' does not quote correctly, so add quotes: double-quote
18363 # substitution turns \\\\ into \\, and sed turns \\ into \.
18364 sed -n \
18365 "s/'/'\\\\''/g;
18366 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18367 ;; #(
18369 # `set' quotes correctly as required by POSIX, so do not add quotes.
18370 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18372 esac |
18373 sort
18375 sed '
18376 /^ac_cv_env_/b end
18377 t clear
18378 :clear
18379 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18380 t end
18381 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18382 :end' >>confcache
18383 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18384 if test -w "$cache_file"; then
18385 if test "x$cache_file" != "x/dev/null"; then
18386 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18387 $as_echo "$as_me: updating cache $cache_file" >&6;}
18388 if test ! -f "$cache_file" || test -h "$cache_file"; then
18389 cat confcache >"$cache_file"
18390 else
18391 case $cache_file in #(
18392 */* | ?:*)
18393 mv -f confcache "$cache_file"$$ &&
18394 mv -f "$cache_file"$$ "$cache_file" ;; #(
18396 mv -f confcache "$cache_file" ;;
18397 esac
18400 else
18401 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18402 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18405 rm -f confcache
18407 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18408 # Let make expand exec_prefix.
18409 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18411 DEFS=-DHAVE_CONFIG_H
18413 ac_libobjs=
18414 ac_ltlibobjs=
18416 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18417 # 1. Remove the extension, and $U if already installed.
18418 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18419 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18420 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18421 # will be set to the directory where LIBOBJS objects are built.
18422 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18423 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18424 done
18425 LIBOBJS=$ac_libobjs
18427 LTLIBOBJS=$ac_ltlibobjs
18431 : "${CONFIG_STATUS=./config.status}"
18432 ac_write_fail=0
18433 ac_clean_files_save=$ac_clean_files
18434 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18435 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18436 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18437 as_write_fail=0
18438 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18439 #! $SHELL
18440 # Generated by $as_me.
18441 # Run this file to recreate the current configuration.
18442 # Compiler output produced by configure, useful for debugging
18443 # configure, is in config.log if it exists.
18445 debug=false
18446 ac_cs_recheck=false
18447 ac_cs_silent=false
18449 SHELL=\${CONFIG_SHELL-$SHELL}
18450 export SHELL
18451 _ASEOF
18452 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18453 ## -------------------- ##
18454 ## M4sh Initialization. ##
18455 ## -------------------- ##
18457 # Be more Bourne compatible
18458 DUALCASE=1; export DUALCASE # for MKS sh
18459 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18460 emulate sh
18461 NULLCMD=:
18462 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18463 # is contrary to our usage. Disable this feature.
18464 alias -g '${1+"$@"}'='"$@"'
18465 setopt NO_GLOB_SUBST
18466 else
18467 case `(set -o) 2>/dev/null` in #(
18468 *posix*) :
18469 set -o posix ;; #(
18470 *) :
18472 esac
18476 as_nl='
18478 export as_nl
18479 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18480 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18481 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18482 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18483 # Prefer a ksh shell builtin over an external printf program on Solaris,
18484 # but without wasting forks for bash or zsh.
18485 if test -z "$BASH_VERSION$ZSH_VERSION" \
18486 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18487 as_echo='print -r --'
18488 as_echo_n='print -rn --'
18489 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18490 as_echo='printf %s\n'
18491 as_echo_n='printf %s'
18492 else
18493 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18494 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18495 as_echo_n='/usr/ucb/echo -n'
18496 else
18497 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18498 as_echo_n_body='eval
18499 arg=$1;
18500 case $arg in #(
18501 *"$as_nl"*)
18502 expr "X$arg" : "X\\(.*\\)$as_nl";
18503 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18504 esac;
18505 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18507 export as_echo_n_body
18508 as_echo_n='sh -c $as_echo_n_body as_echo'
18510 export as_echo_body
18511 as_echo='sh -c $as_echo_body as_echo'
18514 # The user is always right.
18515 if test "${PATH_SEPARATOR+set}" != set; then
18516 PATH_SEPARATOR=:
18517 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18518 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18519 PATH_SEPARATOR=';'
18524 # IFS
18525 # We need space, tab and new line, in precisely that order. Quoting is
18526 # there to prevent editors from complaining about space-tab.
18527 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18528 # splitting by setting IFS to empty value.)
18529 IFS=" "" $as_nl"
18531 # Find who we are. Look in the path if we contain no directory separator.
18532 as_myself=
18533 case $0 in #((
18534 *[\\/]* ) as_myself=$0 ;;
18535 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18536 for as_dir in $PATH
18538 IFS=$as_save_IFS
18539 test -z "$as_dir" && as_dir=.
18540 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18541 done
18542 IFS=$as_save_IFS
18545 esac
18546 # We did not find ourselves, most probably we were run as `sh COMMAND'
18547 # in which case we are not to be found in the path.
18548 if test "x$as_myself" = x; then
18549 as_myself=$0
18551 if test ! -f "$as_myself"; then
18552 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18553 exit 1
18556 # Unset variables that we do not need and which cause bugs (e.g. in
18557 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18558 # suppresses any "Segmentation fault" message there. '((' could
18559 # trigger a bug in pdksh 5.2.14.
18560 for as_var in BASH_ENV ENV MAIL MAILPATH
18561 do eval test x\${$as_var+set} = xset \
18562 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18563 done
18564 PS1='$ '
18565 PS2='> '
18566 PS4='+ '
18568 # NLS nuisances.
18569 LC_ALL=C
18570 export LC_ALL
18571 LANGUAGE=C
18572 export LANGUAGE
18574 # CDPATH.
18575 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18578 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18579 # ----------------------------------------
18580 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18581 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18582 # script with STATUS, using 1 if that was 0.
18583 as_fn_error ()
18585 as_status=$1; test $as_status -eq 0 && as_status=1
18586 if test "$4"; then
18587 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18588 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18590 $as_echo "$as_me: error: $2" >&2
18591 as_fn_exit $as_status
18592 } # as_fn_error
18595 # as_fn_set_status STATUS
18596 # -----------------------
18597 # Set $? to STATUS, without forking.
18598 as_fn_set_status ()
18600 return $1
18601 } # as_fn_set_status
18603 # as_fn_exit STATUS
18604 # -----------------
18605 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18606 as_fn_exit ()
18608 set +e
18609 as_fn_set_status $1
18610 exit $1
18611 } # as_fn_exit
18613 # as_fn_unset VAR
18614 # ---------------
18615 # Portably unset VAR.
18616 as_fn_unset ()
18618 { eval $1=; unset $1;}
18620 as_unset=as_fn_unset
18621 # as_fn_append VAR VALUE
18622 # ----------------------
18623 # Append the text in VALUE to the end of the definition contained in VAR. Take
18624 # advantage of any shell optimizations that allow amortized linear growth over
18625 # repeated appends, instead of the typical quadratic growth present in naive
18626 # implementations.
18627 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18628 eval 'as_fn_append ()
18630 eval $1+=\$2
18632 else
18633 as_fn_append ()
18635 eval $1=\$$1\$2
18637 fi # as_fn_append
18639 # as_fn_arith ARG...
18640 # ------------------
18641 # Perform arithmetic evaluation on the ARGs, and store the result in the
18642 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18643 # must be portable across $(()) and expr.
18644 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18645 eval 'as_fn_arith ()
18647 as_val=$(( $* ))
18649 else
18650 as_fn_arith ()
18652 as_val=`expr "$@" || test $? -eq 1`
18654 fi # as_fn_arith
18657 if expr a : '\(a\)' >/dev/null 2>&1 &&
18658 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18659 as_expr=expr
18660 else
18661 as_expr=false
18664 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18665 as_basename=basename
18666 else
18667 as_basename=false
18670 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18671 as_dirname=dirname
18672 else
18673 as_dirname=false
18676 as_me=`$as_basename -- "$0" ||
18677 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18678 X"$0" : 'X\(//\)$' \| \
18679 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18680 $as_echo X/"$0" |
18681 sed '/^.*\/\([^/][^/]*\)\/*$/{
18682 s//\1/
18685 /^X\/\(\/\/\)$/{
18686 s//\1/
18689 /^X\/\(\/\).*/{
18690 s//\1/
18693 s/.*/./; q'`
18695 # Avoid depending upon Character Ranges.
18696 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18697 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18698 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18699 as_cr_digits='0123456789'
18700 as_cr_alnum=$as_cr_Letters$as_cr_digits
18702 ECHO_C= ECHO_N= ECHO_T=
18703 case `echo -n x` in #(((((
18704 -n*)
18705 case `echo 'xy\c'` in
18706 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18707 xy) ECHO_C='\c';;
18708 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18709 ECHO_T=' ';;
18710 esac;;
18712 ECHO_N='-n';;
18713 esac
18715 rm -f conf$$ conf$$.exe conf$$.file
18716 if test -d conf$$.dir; then
18717 rm -f conf$$.dir/conf$$.file
18718 else
18719 rm -f conf$$.dir
18720 mkdir conf$$.dir 2>/dev/null
18722 if (echo >conf$$.file) 2>/dev/null; then
18723 if ln -s conf$$.file conf$$ 2>/dev/null; then
18724 as_ln_s='ln -s'
18725 # ... but there are two gotchas:
18726 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18727 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18728 # In both cases, we have to default to `cp -pR'.
18729 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18730 as_ln_s='cp -pR'
18731 elif ln conf$$.file conf$$ 2>/dev/null; then
18732 as_ln_s=ln
18733 else
18734 as_ln_s='cp -pR'
18736 else
18737 as_ln_s='cp -pR'
18739 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18740 rmdir conf$$.dir 2>/dev/null
18743 # as_fn_mkdir_p
18744 # -------------
18745 # Create "$as_dir" as a directory, including parents if necessary.
18746 as_fn_mkdir_p ()
18749 case $as_dir in #(
18750 -*) as_dir=./$as_dir;;
18751 esac
18752 test -d "$as_dir" || eval $as_mkdir_p || {
18753 as_dirs=
18754 while :; do
18755 case $as_dir in #(
18756 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18757 *) as_qdir=$as_dir;;
18758 esac
18759 as_dirs="'$as_qdir' $as_dirs"
18760 as_dir=`$as_dirname -- "$as_dir" ||
18761 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18762 X"$as_dir" : 'X\(//\)[^/]' \| \
18763 X"$as_dir" : 'X\(//\)$' \| \
18764 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18765 $as_echo X"$as_dir" |
18766 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18767 s//\1/
18770 /^X\(\/\/\)[^/].*/{
18771 s//\1/
18774 /^X\(\/\/\)$/{
18775 s//\1/
18778 /^X\(\/\).*/{
18779 s//\1/
18782 s/.*/./; q'`
18783 test -d "$as_dir" && break
18784 done
18785 test -z "$as_dirs" || eval "mkdir $as_dirs"
18786 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18789 } # as_fn_mkdir_p
18790 if mkdir -p . 2>/dev/null; then
18791 as_mkdir_p='mkdir -p "$as_dir"'
18792 else
18793 test -d ./-p && rmdir ./-p
18794 as_mkdir_p=false
18798 # as_fn_executable_p FILE
18799 # -----------------------
18800 # Test if FILE is an executable regular file.
18801 as_fn_executable_p ()
18803 test -f "$1" && test -x "$1"
18804 } # as_fn_executable_p
18805 as_test_x='test -x'
18806 as_executable_p=as_fn_executable_p
18808 # Sed expression to map a string onto a valid CPP name.
18809 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18811 # Sed expression to map a string onto a valid variable name.
18812 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18815 exec 6>&1
18816 ## ----------------------------------- ##
18817 ## Main body of $CONFIG_STATUS script. ##
18818 ## ----------------------------------- ##
18819 _ASEOF
18820 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18823 # Save the log message, to keep $0 and so on meaningful, and to
18824 # report actual input values of CONFIG_FILES etc. instead of their
18825 # values after options handling.
18826 ac_log="
18827 This file was extended by Wine $as_me 1.8, which was
18828 generated by GNU Autoconf 2.69. Invocation command line was
18830 CONFIG_FILES = $CONFIG_FILES
18831 CONFIG_HEADERS = $CONFIG_HEADERS
18832 CONFIG_LINKS = $CONFIG_LINKS
18833 CONFIG_COMMANDS = $CONFIG_COMMANDS
18834 $ $0 $@
18836 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18839 _ACEOF
18841 case $ac_config_files in *"
18842 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18843 esac
18845 case $ac_config_headers in *"
18846 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18847 esac
18850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18851 # Files that config.status was made for.
18852 config_files="$ac_config_files"
18853 config_headers="$ac_config_headers"
18854 config_links="$ac_config_links"
18855 config_commands="$ac_config_commands"
18857 _ACEOF
18859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18860 ac_cs_usage="\
18861 \`$as_me' instantiates files and other configuration actions
18862 from templates according to the current configuration. Unless the files
18863 and actions are specified as TAGs, all are instantiated by default.
18865 Usage: $0 [OPTION]... [TAG]...
18867 -h, --help print this help, then exit
18868 -V, --version print version number and configuration settings, then exit
18869 --config print configuration, then exit
18870 -q, --quiet, --silent
18871 do not print progress messages
18872 -d, --debug don't remove temporary files
18873 --recheck update $as_me by reconfiguring in the same conditions
18874 --file=FILE[:TEMPLATE]
18875 instantiate the configuration file FILE
18876 --header=FILE[:TEMPLATE]
18877 instantiate the configuration header FILE
18879 Configuration files:
18880 $config_files
18882 Configuration headers:
18883 $config_headers
18885 Configuration links:
18886 $config_links
18888 Configuration commands:
18889 $config_commands
18891 Report bugs to <wine-devel@winehq.org>.
18892 Wine home page: <http://www.winehq.org>."
18894 _ACEOF
18895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18896 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18897 ac_cs_version="\\
18898 Wine config.status 1.8
18899 configured by $0, generated by GNU Autoconf 2.69,
18900 with options \\"\$ac_cs_config\\"
18902 Copyright (C) 2012 Free Software Foundation, Inc.
18903 This config.status script is free software; the Free Software Foundation
18904 gives unlimited permission to copy, distribute and modify it."
18906 ac_pwd='$ac_pwd'
18907 srcdir='$srcdir'
18908 test -n "\$AWK" || AWK=awk
18909 _ACEOF
18911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18912 # The default lists apply if the user does not specify any file.
18913 ac_need_defaults=:
18914 while test $# != 0
18916 case $1 in
18917 --*=?*)
18918 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18919 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18920 ac_shift=:
18922 --*=)
18923 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18924 ac_optarg=
18925 ac_shift=:
18928 ac_option=$1
18929 ac_optarg=$2
18930 ac_shift=shift
18932 esac
18934 case $ac_option in
18935 # Handling of the options.
18936 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18937 ac_cs_recheck=: ;;
18938 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18939 $as_echo "$ac_cs_version"; exit ;;
18940 --config | --confi | --conf | --con | --co | --c )
18941 $as_echo "$ac_cs_config"; exit ;;
18942 --debug | --debu | --deb | --de | --d | -d )
18943 debug=: ;;
18944 --file | --fil | --fi | --f )
18945 $ac_shift
18946 case $ac_optarg in
18947 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18948 '') as_fn_error $? "missing file argument" ;;
18949 esac
18950 as_fn_append CONFIG_FILES " '$ac_optarg'"
18951 ac_need_defaults=false;;
18952 --header | --heade | --head | --hea )
18953 $ac_shift
18954 case $ac_optarg in
18955 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18956 esac
18957 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18958 ac_need_defaults=false;;
18959 --he | --h)
18960 # Conflict between --help and --header
18961 as_fn_error $? "ambiguous option: \`$1'
18962 Try \`$0 --help' for more information.";;
18963 --help | --hel | -h )
18964 $as_echo "$ac_cs_usage"; exit ;;
18965 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18966 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18967 ac_cs_silent=: ;;
18969 # This is an error.
18970 -*) as_fn_error $? "unrecognized option: \`$1'
18971 Try \`$0 --help' for more information." ;;
18973 *) as_fn_append ac_config_targets " $1"
18974 ac_need_defaults=false ;;
18976 esac
18977 shift
18978 done
18980 ac_configure_extra_args=
18982 if $ac_cs_silent; then
18983 exec 6>/dev/null
18984 ac_configure_extra_args="$ac_configure_extra_args --silent"
18987 _ACEOF
18988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18989 if \$ac_cs_recheck; then
18990 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18991 shift
18992 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18993 CONFIG_SHELL='$SHELL'
18994 export CONFIG_SHELL
18995 exec "\$@"
18998 _ACEOF
18999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19000 exec 5>>config.log
19002 echo
19003 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19004 ## Running $as_me. ##
19005 _ASBOX
19006 $as_echo "$ac_log"
19007 } >&5
19009 _ACEOF
19010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19012 # INIT-COMMANDS
19014 wine_fn_output_makedep ()
19016 as_dir=tools; as_fn_mkdir_p
19017 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19019 wine_fn_output_makefile ()
19021 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
19022 `cat $wine_rules_file`
19023 _WINE_EOF
19024 as_fn_error $? "could not create Makefile" "$LINENO" 5
19026 wine_fn_output_gitignore ()
19028 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
19029 $GITIGNORE
19030 _WINE_EOF
19031 as_fn_error $? "could not create .gitignore" "$LINENO" 5
19034 _ACEOF
19036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19038 # Handling of arguments.
19039 for ac_config_target in $ac_config_targets
19041 case $ac_config_target in
19042 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19043 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19044 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19045 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19046 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19047 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19048 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19049 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19050 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
19051 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19052 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19053 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19054 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19055 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19056 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
19058 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19059 esac
19060 done
19063 # If the user did not use the arguments to specify the items to instantiate,
19064 # then the envvar interface is used. Set only those that are not.
19065 # We use the long form for the default assignment because of an extremely
19066 # bizarre bug on SunOS 4.1.3.
19067 if $ac_need_defaults; then
19068 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19069 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19070 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19071 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19074 # Have a temporary directory for convenience. Make it in the build tree
19075 # simply because there is no reason against having it here, and in addition,
19076 # creating and moving files from /tmp can sometimes cause problems.
19077 # Hook for its removal unless debugging.
19078 # Note that there is a small window in which the directory will not be cleaned:
19079 # after its creation but before its name has been assigned to `$tmp'.
19080 $debug ||
19082 tmp= ac_tmp=
19083 trap 'exit_status=$?
19084 : "${ac_tmp:=$tmp}"
19085 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19087 trap 'as_fn_exit 1' 1 2 13 15
19089 # Create a (secure) tmp directory for tmp files.
19092 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19093 test -d "$tmp"
19094 } ||
19096 tmp=./conf$$-$RANDOM
19097 (umask 077 && mkdir "$tmp")
19098 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19099 ac_tmp=$tmp
19101 # Set up the scripts for CONFIG_FILES section.
19102 # No need to generate them if there are no CONFIG_FILES.
19103 # This happens for instance with `./config.status config.h'.
19104 if test -n "$CONFIG_FILES"; then
19107 ac_cr=`echo X | tr X '\015'`
19108 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19109 # But we know of no other shell where ac_cr would be empty at this
19110 # point, so we can use a bashism as a fallback.
19111 if test "x$ac_cr" = x; then
19112 eval ac_cr=\$\'\\r\'
19114 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19115 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19116 ac_cs_awk_cr='\\r'
19117 else
19118 ac_cs_awk_cr=$ac_cr
19121 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19122 _ACEOF
19126 echo "cat >conf$$subs.awk <<_ACEOF" &&
19127 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19128 echo "_ACEOF"
19129 } >conf$$subs.sh ||
19130 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19131 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19132 ac_delim='%!_!# '
19133 for ac_last_try in false false false false false :; do
19134 . ./conf$$subs.sh ||
19135 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19137 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19138 if test $ac_delim_n = $ac_delim_num; then
19139 break
19140 elif $ac_last_try; then
19141 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19142 else
19143 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19145 done
19146 rm -f conf$$subs.sh
19148 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19149 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19150 _ACEOF
19151 sed -n '
19153 s/^/S["/; s/!.*/"]=/
19156 s/^[^!]*!//
19157 :repl
19158 t repl
19159 s/'"$ac_delim"'$//
19160 t delim
19163 s/\(.\{148\}\)..*/\1/
19164 t more1
19165 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19168 b repl
19169 :more1
19170 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19173 s/.\{148\}//
19174 t nl
19175 :delim
19177 s/\(.\{148\}\)..*/\1/
19178 t more2
19179 s/["\\]/\\&/g; s/^/"/; s/$/"/
19182 :more2
19183 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19186 s/.\{148\}//
19187 t delim
19188 ' <conf$$subs.awk | sed '
19189 /^[^""]/{
19191 s/\n//
19193 ' >>$CONFIG_STATUS || ac_write_fail=1
19194 rm -f conf$$subs.awk
19195 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19196 _ACAWK
19197 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19198 for (key in S) S_is_set[key] = 1
19199 FS = "\a"
19203 line = $ 0
19204 nfields = split(line, field, "@")
19205 substed = 0
19206 len = length(field[1])
19207 for (i = 2; i < nfields; i++) {
19208 key = field[i]
19209 keylen = length(key)
19210 if (S_is_set[key]) {
19211 value = S[key]
19212 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19213 len += length(value) + length(field[++i])
19214 substed = 1
19215 } else
19216 len += 1 + keylen
19219 print line
19222 _ACAWK
19223 _ACEOF
19224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19225 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19226 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19227 else
19229 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19230 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19231 _ACEOF
19233 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19234 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19235 # trailing colons and then remove the whole line if VPATH becomes empty
19236 # (actually we leave an empty line to preserve line numbers).
19237 if test "x$srcdir" = x.; then
19238 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19240 s///
19241 s/^/:/
19242 s/[ ]*$/:/
19243 s/:\$(srcdir):/:/g
19244 s/:\${srcdir}:/:/g
19245 s/:@srcdir@:/:/g
19246 s/^:*//
19247 s/:*$//
19249 s/\(=[ ]*\).*/\1/
19251 s/\n//
19252 s/^[^=]*=[ ]*$//
19256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19257 fi # test -n "$CONFIG_FILES"
19259 # Set up the scripts for CONFIG_HEADERS section.
19260 # No need to generate them if there are no CONFIG_HEADERS.
19261 # This happens for instance with `./config.status Makefile'.
19262 if test -n "$CONFIG_HEADERS"; then
19263 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19264 BEGIN {
19265 _ACEOF
19267 # Transform confdefs.h into an awk script `defines.awk', embedded as
19268 # here-document in config.status, that substitutes the proper values into
19269 # config.h.in to produce config.h.
19271 # Create a delimiter string that does not exist in confdefs.h, to ease
19272 # handling of long lines.
19273 ac_delim='%!_!# '
19274 for ac_last_try in false false :; do
19275 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19276 if test -z "$ac_tt"; then
19277 break
19278 elif $ac_last_try; then
19279 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19280 else
19281 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19283 done
19285 # For the awk script, D is an array of macro values keyed by name,
19286 # likewise P contains macro parameters if any. Preserve backslash
19287 # newline sequences.
19289 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19290 sed -n '
19291 s/.\{148\}/&'"$ac_delim"'/g
19292 t rset
19293 :rset
19294 s/^[ ]*#[ ]*define[ ][ ]*/ /
19295 t def
19297 :def
19298 s/\\$//
19299 t bsnl
19300 s/["\\]/\\&/g
19301 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19302 D["\1"]=" \3"/p
19303 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19305 :bsnl
19306 s/["\\]/\\&/g
19307 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19308 D["\1"]=" \3\\\\\\n"\\/p
19309 t cont
19310 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19311 t cont
19313 :cont
19315 s/.\{148\}/&'"$ac_delim"'/g
19316 t clear
19317 :clear
19318 s/\\$//
19319 t bsnlc
19320 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19322 :bsnlc
19323 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19324 b cont
19325 ' <confdefs.h | sed '
19326 s/'"$ac_delim"'/"\\\
19327 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19330 for (key in D) D_is_set[key] = 1
19331 FS = "\a"
19333 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19334 line = \$ 0
19335 split(line, arg, " ")
19336 if (arg[1] == "#") {
19337 defundef = arg[2]
19338 mac1 = arg[3]
19339 } else {
19340 defundef = substr(arg[1], 2)
19341 mac1 = arg[2]
19343 split(mac1, mac2, "(") #)
19344 macro = mac2[1]
19345 prefix = substr(line, 1, index(line, defundef) - 1)
19346 if (D_is_set[macro]) {
19347 # Preserve the white space surrounding the "#".
19348 print prefix "define", macro P[macro] D[macro]
19349 next
19350 } else {
19351 # Replace #undef with comments. This is necessary, for example,
19352 # in the case of _POSIX_SOURCE, which is predefined and required
19353 # on some systems where configure will not decide to define it.
19354 if (defundef == "undef") {
19355 print "/*", prefix defundef, macro, "*/"
19356 next
19360 { print }
19361 _ACAWK
19362 _ACEOF
19363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19364 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19365 fi # test -n "$CONFIG_HEADERS"
19368 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19369 shift
19370 for ac_tag
19372 case $ac_tag in
19373 :[FHLC]) ac_mode=$ac_tag; continue;;
19374 esac
19375 case $ac_mode$ac_tag in
19376 :[FHL]*:*);;
19377 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19378 :[FH]-) ac_tag=-:-;;
19379 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19380 esac
19381 ac_save_IFS=$IFS
19382 IFS=:
19383 set x $ac_tag
19384 IFS=$ac_save_IFS
19385 shift
19386 ac_file=$1
19387 shift
19389 case $ac_mode in
19390 :L) ac_source=$1;;
19391 :[FH])
19392 ac_file_inputs=
19393 for ac_f
19395 case $ac_f in
19396 -) ac_f="$ac_tmp/stdin";;
19397 *) # Look for the file first in the build tree, then in the source tree
19398 # (if the path is not absolute). The absolute path cannot be DOS-style,
19399 # because $ac_f cannot contain `:'.
19400 test -f "$ac_f" ||
19401 case $ac_f in
19402 [\\/$]*) false;;
19403 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19404 esac ||
19405 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19406 esac
19407 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19408 as_fn_append ac_file_inputs " '$ac_f'"
19409 done
19411 # Let's still pretend it is `configure' which instantiates (i.e., don't
19412 # use $as_me), people would be surprised to read:
19413 # /* config.h. Generated by config.status. */
19414 configure_input='Generated from '`
19415 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19416 `' by configure.'
19417 if test x"$ac_file" != x-; then
19418 configure_input="$ac_file. $configure_input"
19419 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19420 $as_echo "$as_me: creating $ac_file" >&6;}
19422 # Neutralize special characters interpreted by sed in replacement strings.
19423 case $configure_input in #(
19424 *\&* | *\|* | *\\* )
19425 ac_sed_conf_input=`$as_echo "$configure_input" |
19426 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19427 *) ac_sed_conf_input=$configure_input;;
19428 esac
19430 case $ac_tag in
19431 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19432 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19433 esac
19435 esac
19437 ac_dir=`$as_dirname -- "$ac_file" ||
19438 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19439 X"$ac_file" : 'X\(//\)[^/]' \| \
19440 X"$ac_file" : 'X\(//\)$' \| \
19441 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19442 $as_echo X"$ac_file" |
19443 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19444 s//\1/
19447 /^X\(\/\/\)[^/].*/{
19448 s//\1/
19451 /^X\(\/\/\)$/{
19452 s//\1/
19455 /^X\(\/\).*/{
19456 s//\1/
19459 s/.*/./; q'`
19460 as_dir="$ac_dir"; as_fn_mkdir_p
19461 ac_builddir=.
19463 case "$ac_dir" in
19464 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19466 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19467 # A ".." for each directory in $ac_dir_suffix.
19468 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19469 case $ac_top_builddir_sub in
19470 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19471 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19472 esac ;;
19473 esac
19474 ac_abs_top_builddir=$ac_pwd
19475 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19476 # for backward compatibility:
19477 ac_top_builddir=$ac_top_build_prefix
19479 case $srcdir in
19480 .) # We are building in place.
19481 ac_srcdir=.
19482 ac_top_srcdir=$ac_top_builddir_sub
19483 ac_abs_top_srcdir=$ac_pwd ;;
19484 [\\/]* | ?:[\\/]* ) # Absolute name.
19485 ac_srcdir=$srcdir$ac_dir_suffix;
19486 ac_top_srcdir=$srcdir
19487 ac_abs_top_srcdir=$srcdir ;;
19488 *) # Relative name.
19489 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19490 ac_top_srcdir=$ac_top_build_prefix$srcdir
19491 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19492 esac
19493 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19496 case $ac_mode in
19499 # CONFIG_FILE
19502 _ACEOF
19504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19505 # If the template does not know about datarootdir, expand it.
19506 # FIXME: This hack should be removed a few years after 2.60.
19507 ac_datarootdir_hack=; ac_datarootdir_seen=
19508 ac_sed_dataroot='
19509 /datarootdir/ {
19513 /@datadir@/p
19514 /@docdir@/p
19515 /@infodir@/p
19516 /@localedir@/p
19517 /@mandir@/p'
19518 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19519 *datarootdir*) ac_datarootdir_seen=yes;;
19520 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19522 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19523 _ACEOF
19524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19525 ac_datarootdir_hack='
19526 s&@datadir@&$datadir&g
19527 s&@docdir@&$docdir&g
19528 s&@infodir@&$infodir&g
19529 s&@localedir@&$localedir&g
19530 s&@mandir@&$mandir&g
19531 s&\\\${datarootdir}&$datarootdir&g' ;;
19532 esac
19533 _ACEOF
19535 # Neutralize VPATH when `$srcdir' = `.'.
19536 # Shell code in configure.ac might set extrasub.
19537 # FIXME: do we really want to maintain this feature?
19538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19539 ac_sed_extra="$ac_vpsub
19540 $extrasub
19541 _ACEOF
19542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19544 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19545 s|@configure_input@|$ac_sed_conf_input|;t t
19546 s&@top_builddir@&$ac_top_builddir_sub&;t t
19547 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19548 s&@srcdir@&$ac_srcdir&;t t
19549 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19550 s&@top_srcdir@&$ac_top_srcdir&;t t
19551 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19552 s&@builddir@&$ac_builddir&;t t
19553 s&@abs_builddir@&$ac_abs_builddir&;t t
19554 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19555 $ac_datarootdir_hack
19557 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19558 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19560 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19561 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19562 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19563 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19565 which seems to be undefined. Please make sure it is defined" >&5
19566 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19567 which seems to be undefined. Please make sure it is defined" >&2;}
19569 rm -f "$ac_tmp/stdin"
19570 case $ac_file in
19571 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19572 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19573 esac \
19574 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19578 # CONFIG_HEADER
19580 if test x"$ac_file" != x-; then
19582 $as_echo "/* $configure_input */" \
19583 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19584 } >"$ac_tmp/config.h" \
19585 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19586 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19587 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19588 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19589 else
19590 rm -f "$ac_file"
19591 mv "$ac_tmp/config.h" "$ac_file" \
19592 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19594 else
19595 $as_echo "/* $configure_input */" \
19596 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19597 || as_fn_error $? "could not create -" "$LINENO" 5
19602 # CONFIG_LINK
19605 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19607 else
19608 # Prefer the file from the source tree if names are identical.
19609 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19610 ac_source=$srcdir/$ac_source
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19614 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19616 if test ! -r "$ac_source"; then
19617 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19619 rm -f "$ac_file"
19621 # Try a relative symlink, then a hard link, then a copy.
19622 case $ac_source in
19623 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19624 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19625 esac
19626 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19627 ln "$ac_source" "$ac_file" 2>/dev/null ||
19628 cp -p "$ac_source" "$ac_file" ||
19629 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19632 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19633 $as_echo "$as_me: executing $ac_file commands" >&6;}
19635 esac
19638 case $ac_file$ac_mode in
19639 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19640 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19641 "Makefile":C) wine_fn_output_makefile Makefile ;;
19642 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19644 esac
19645 done # for ac_tag
19648 as_fn_exit 0
19649 _ACEOF
19650 ac_clean_files=$ac_clean_files_save
19652 test $ac_write_fail = 0 ||
19653 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19656 # configure is writing to config.log, and then calls config.status.
19657 # config.status does its own redirection, appending to config.log.
19658 # Unfortunately, on DOS this fails, as config.log is still kept open
19659 # by configure, so config.status won't be able to write to it; its
19660 # output is simply discarded. So we exec the FD to /dev/null,
19661 # effectively closing config.log, so it can be properly (re)opened and
19662 # appended to by config.status. When coming back to configure, we
19663 # need to make the FD available again.
19664 if test "$no_create" != yes; then
19665 ac_cs_success=:
19666 ac_config_status_args=
19667 test "$silent" = yes &&
19668 ac_config_status_args="$ac_config_status_args --quiet"
19669 exec 5>/dev/null
19670 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19671 exec 5>>config.log
19672 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19673 # would make configure fail if this is the last instruction.
19674 $ac_cs_success || as_fn_exit 1
19676 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19678 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19682 if test "$no_create" = "yes"
19683 then
19684 exit 0
19687 ac_save_IFS="$IFS"
19688 if test "x$wine_notices" != x; then
19689 echo >&6
19690 IFS="|"
19691 for msg in $wine_notices; do
19692 IFS="$ac_save_IFS"
19693 if ${msg:+false} :; then :
19695 else
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19697 $as_echo "$as_me: $msg" >&6;}
19699 done
19701 IFS="|"
19702 for msg in $wine_warnings; do
19703 IFS="$ac_save_IFS"
19704 if ${msg:+false} :; then :
19706 else
19707 echo >&2
19708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19709 $as_echo "$as_me: WARNING: $msg" >&2;}
19711 done
19712 IFS="$ac_save_IFS"
19714 $as_echo "
19715 $as_me: Finished. Do '${ac_make}' to compile Wine.
19716 " >&6