xaudio2: Use an HRESULT return code.
[wine.git] / configure
blobe422437a941c5dd7f87f12a8ad192ec894d56530
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.1.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.9.1'
584 PACKAGE_STRING='Wine 1.9.1'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 LINGUAS
629 ALL_VARS_RULES
630 LDAP_LIBS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 PROCSTAT_LIBS
640 KSTAT_LIBS
641 MPG123_LIBS
642 MPG123_CFLAGS
643 TIFF_LIBS
644 TIFF_CFLAGS
645 PNG_LIBS
646 PNG_CFLAGS
647 JPEG_LIBS
648 JPEG_CFLAGS
649 FONTCONFIG_LIBS
650 FONTCONFIG_CFLAGS
651 CUPS_CFLAGS
652 CAPI20_LIBS
653 CAPI20_CFLAGS
654 OSS4_CFLAGS
655 ALSA_LIBS
656 GSTREAMER_LIBS
657 GSTREAMER_CFLAGS
658 PULSE_LIBS
659 PULSE_CFLAGS
660 GETTEXTPO_LIBS
661 Z_LIBS
662 FREETYPE_LIBS
663 FREETYPE_CFLAGS
664 LCMS2_LIBS
665 LCMS2_CFLAGS
666 RESOLV_LIBS
667 GPHOTO2_PORT_LIBS
668 GPHOTO2_PORT_CFLAGS
669 GPHOTO2_LIBS
670 GPHOTO2_CFLAGS
671 SANE_LIBS
672 SANE_CFLAGS
673 GNUTLS_LIBS
674 GNUTLS_CFLAGS
675 HAL_LIBS
676 HAL_CFLAGS
677 DBUS_LIBS
678 DBUS_CFLAGS
679 XSLT_LIBS
680 XSLT_CFLAGS
681 XML2_LIBS
682 XML2_CFLAGS
683 PCAP_LIBS
684 X_EXTRA_LIBS
685 X_LIBS
686 X_PRE_LIBS
687 X_CFLAGS
688 XMKMF
689 PTHREAD_LIBS
690 CROSSCC
691 CROSSTARGET
692 PRELINK
693 WINELOADER_DEPENDS
694 CARBON_LIBS
695 QUICKTIME_LIBS
696 OPENCL_LIBS
697 OPENAL_LIBS
698 COREAUDIO_LIBS
699 SECURITY_LIBS
700 DISKARBITRATION_LIBS
701 APPKIT_LIBS
702 CORESERVICES_LIBS
703 APPLICATIONSERVICES_LIBS
704 FORCEFEEDBACK_LIBS
705 IOKIT_LIBS
706 COREFOUNDATION_LIBS
707 LIBWINE_DEPENDS
708 LIBWINE_LDFLAGS
709 LIBWINE_INSTALL_DEV
710 LIBWINE_INSTALL_LIB
711 LIBWINE_IMPORTLIB
712 LIBWINE_SHAREDLIB
713 SOCKET_LIBS
714 DLLTOOL
715 WINELOADER_PROGRAMS
716 ALL_TEST_RESOURCES
717 SUBDIRS
718 READELF
719 OTOOL
721 LDEXECFLAGS
722 LDRPATH_LOCAL
723 LDRPATH_INSTALL
724 DLLFLAGS
725 dlldir
727 OPENGL_LIBS
728 ICOTOOL
729 CONVERT
730 RSVG
731 FONTFORGE
732 PKG_CONFIG
733 MSGFMT
734 LDCONFIG
735 EGREP
736 GREP
737 LN_S
738 RANLIB
739 ARFLAGS
740 STRIP
741 ac_ct_AR
743 BISON
744 FLEX
745 TOOLSDIR
746 TARGETFLAGS
748 CPPBIN
749 ac_ct_CXX
750 CXXFLAGS
752 OBJEXT
753 EXEEXT
754 ac_ct_CC
755 CPPFLAGS
756 LDFLAGS
757 CFLAGS
759 SET_MAKE
760 host_os
761 host_vendor
762 host_cpu
763 host
764 build_os
765 build_vendor
766 build_cpu
767 build
768 target_alias
769 host_alias
770 build_alias
771 LIBS
772 ECHO_T
773 ECHO_N
774 ECHO_C
775 DEFS
776 mandir
777 localedir
778 libdir
779 psdir
780 pdfdir
781 dvidir
782 htmldir
783 infodir
784 docdir
785 oldincludedir
786 includedir
787 runstatedir
788 localstatedir
789 sharedstatedir
790 sysconfdir
791 datadir
792 datarootdir
793 libexecdir
794 sbindir
795 bindir
796 program_transform_name
797 prefix
798 exec_prefix
799 PACKAGE_URL
800 PACKAGE_BUGREPORT
801 PACKAGE_STRING
802 PACKAGE_VERSION
803 PACKAGE_TARNAME
804 PACKAGE_NAME
805 PATH_SEPARATOR
806 SHELL'
807 ac_subst_files=''
808 ac_user_opts='
809 enable_option_checking
810 enable_win16
811 enable_win64
812 enable_tests
813 enable_maintainer_mode
814 with_alsa
815 with_capi
816 with_cms
817 with_coreaudio
818 with_cups
819 with_curses
820 with_dbus
821 with_fontconfig
822 with_freetype
823 with_gettext
824 with_gettextpo
825 with_gphoto
826 with_glu
827 with_gnutls
828 with_gsm
829 with_gstreamer
830 with_hal
831 with_jpeg
832 with_ldap
833 with_mpg123
834 with_netapi
835 with_openal
836 with_opencl
837 with_opengl
838 with_osmesa
839 with_oss
840 with_pcap
841 with_png
842 with_pthread
843 with_pulse
844 with_sane
845 with_tiff
846 with_v4l
847 with_xcomposite
848 with_xcursor
849 with_xinerama
850 with_xinput
851 with_xinput2
852 with_xml
853 with_xrandr
854 with_xrender
855 with_xshape
856 with_xshm
857 with_xslt
858 with_xxf86vm
859 with_zlib
860 with_wine_tools
861 with_wine64
862 enable_largefile
863 with_x
864 enable_acledit
865 enable_aclui
866 enable_activeds
867 enable_actxprxy
868 enable_advapi32
869 enable_advpack
870 enable_amstream
871 enable_api_ms_win_core_com_l1_1_0
872 enable_api_ms_win_core_console_l1_1_0
873 enable_api_ms_win_core_datetime_l1_1_0
874 enable_api_ms_win_core_datetime_l1_1_1
875 enable_api_ms_win_core_debug_l1_1_0
876 enable_api_ms_win_core_debug_l1_1_1
877 enable_api_ms_win_core_errorhandling_l1_1_0
878 enable_api_ms_win_core_errorhandling_l1_1_1
879 enable_api_ms_win_core_errorhandling_l1_1_2
880 enable_api_ms_win_core_fibers_l1_1_0
881 enable_api_ms_win_core_fibers_l1_1_1
882 enable_api_ms_win_core_file_l1_1_0
883 enable_api_ms_win_core_file_l1_2_0
884 enable_api_ms_win_core_file_l2_1_0
885 enable_api_ms_win_core_file_l2_1_1
886 enable_api_ms_win_core_handle_l1_1_0
887 enable_api_ms_win_core_heap_l1_1_0
888 enable_api_ms_win_core_heap_l1_2_0
889 enable_api_ms_win_core_heap_obsolete_l1_1_0
890 enable_api_ms_win_core_interlocked_l1_1_0
891 enable_api_ms_win_core_interlocked_l1_2_0
892 enable_api_ms_win_core_io_l1_1_1
893 enable_api_ms_win_core_kernel32_legacy_l1_1_0
894 enable_api_ms_win_core_libraryloader_l1_1_0
895 enable_api_ms_win_core_libraryloader_l1_1_1
896 enable_api_ms_win_core_localization_l1_2_0
897 enable_api_ms_win_core_localization_l1_2_1
898 enable_api_ms_win_core_localization_obsolete_l1_1_0
899 enable_api_ms_win_core_localregistry_l1_1_0
900 enable_api_ms_win_core_memory_l1_1_0
901 enable_api_ms_win_core_memory_l1_1_1
902 enable_api_ms_win_core_misc_l1_1_0
903 enable_api_ms_win_core_namedpipe_l1_1_0
904 enable_api_ms_win_core_namedpipe_l1_2_0
905 enable_api_ms_win_core_path_l1_1_0
906 enable_api_ms_win_core_processenvironment_l1_1_0
907 enable_api_ms_win_core_processenvironment_l1_2_0
908 enable_api_ms_win_core_processthreads_l1_1_0
909 enable_api_ms_win_core_processthreads_l1_1_1
910 enable_api_ms_win_core_processthreads_l1_1_2
911 enable_api_ms_win_core_profile_l1_1_0
912 enable_api_ms_win_core_psapi_l1_1_0
913 enable_api_ms_win_core_registry_l1_1_0
914 enable_api_ms_win_core_rtlsupport_l1_1_0
915 enable_api_ms_win_core_rtlsupport_l1_2_0
916 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
917 enable_api_ms_win_core_string_l1_1_0
918 enable_api_ms_win_core_synch_l1_1_0
919 enable_api_ms_win_core_synch_l1_2_0
920 enable_api_ms_win_core_sysinfo_l1_1_0
921 enable_api_ms_win_core_sysinfo_l1_2_0
922 enable_api_ms_win_core_sysinfo_l1_2_1
923 enable_api_ms_win_core_threadpool_legacy_l1_1_0
924 enable_api_ms_win_core_timezone_l1_1_0
925 enable_api_ms_win_core_url_l1_1_0
926 enable_api_ms_win_core_util_l1_1_0
927 enable_api_ms_win_core_winrt_error_l1_1_0
928 enable_api_ms_win_core_winrt_error_l1_1_1
929 enable_api_ms_win_core_winrt_l1_1_0
930 enable_api_ms_win_core_winrt_string_l1_1_0
931 enable_api_ms_win_core_xstate_l2_1_0
932 enable_api_ms_win_crt_conio_l1_1_0
933 enable_api_ms_win_crt_convert_l1_1_0
934 enable_api_ms_win_crt_environment_l1_1_0
935 enable_api_ms_win_crt_filesystem_l1_1_0
936 enable_api_ms_win_crt_heap_l1_1_0
937 enable_api_ms_win_crt_locale_l1_1_0
938 enable_api_ms_win_crt_math_l1_1_0
939 enable_api_ms_win_crt_multibyte_l1_1_0
940 enable_api_ms_win_crt_private_l1_1_0
941 enable_api_ms_win_crt_process_l1_1_0
942 enable_api_ms_win_crt_runtime_l1_1_0
943 enable_api_ms_win_crt_stdio_l1_1_0
944 enable_api_ms_win_crt_string_l1_1_0
945 enable_api_ms_win_crt_time_l1_1_0
946 enable_api_ms_win_crt_utility_l1_1_0
947 enable_api_ms_win_downlevel_advapi32_l1_1_0
948 enable_api_ms_win_downlevel_advapi32_l2_1_0
949 enable_api_ms_win_downlevel_normaliz_l1_1_0
950 enable_api_ms_win_downlevel_ole32_l1_1_0
951 enable_api_ms_win_downlevel_shell32_l1_1_0
952 enable_api_ms_win_downlevel_shlwapi_l1_1_0
953 enable_api_ms_win_downlevel_shlwapi_l2_1_0
954 enable_api_ms_win_downlevel_user32_l1_1_0
955 enable_api_ms_win_downlevel_version_l1_1_0
956 enable_api_ms_win_eventing_provider_l1_1_0
957 enable_api_ms_win_ntuser_dc_access_l1_1_0
958 enable_api_ms_win_security_base_l1_1_0
959 enable_api_ms_win_security_base_l1_2_0
960 enable_api_ms_win_security_lsalookup_l1_1_0
961 enable_api_ms_win_security_lsalookup_l1_1_1
962 enable_api_ms_win_security_sddl_l1_1_0
963 enable_api_ms_win_service_core_l1_1_1
964 enable_api_ms_win_service_management_l1_1_0
965 enable_api_ms_win_service_winsvc_l1_2_0
966 enable_apphelp
967 enable_appwiz_cpl
968 enable_atl
969 enable_atl100
970 enable_atl110
971 enable_atl80
972 enable_atl90
973 enable_authz
974 enable_avicap32
975 enable_avifil32
976 enable_avrt
977 enable_bcrypt
978 enable_bluetoothapis
979 enable_browseui
980 enable_bthprops_cpl
981 enable_cabinet
982 enable_capi2032
983 enable_cards
984 enable_cfgmgr32
985 enable_clusapi
986 enable_combase
987 enable_comcat
988 enable_comctl32
989 enable_comdlg32
990 enable_compstui
991 enable_comsvcs
992 enable_connect
993 enable_credui
994 enable_crtdll
995 enable_crypt32
996 enable_cryptdlg
997 enable_cryptdll
998 enable_cryptext
999 enable_cryptnet
1000 enable_cryptui
1001 enable_ctapi32
1002 enable_ctl3d32
1003 enable_d2d1
1004 enable_d3d10
1005 enable_d3d10_1
1006 enable_d3d10core
1007 enable_d3d11
1008 enable_d3d8
1009 enable_d3d9
1010 enable_d3dcompiler_33
1011 enable_d3dcompiler_34
1012 enable_d3dcompiler_35
1013 enable_d3dcompiler_36
1014 enable_d3dcompiler_37
1015 enable_d3dcompiler_38
1016 enable_d3dcompiler_39
1017 enable_d3dcompiler_40
1018 enable_d3dcompiler_41
1019 enable_d3dcompiler_42
1020 enable_d3dcompiler_43
1021 enable_d3dcompiler_46
1022 enable_d3dcompiler_47
1023 enable_d3dim
1024 enable_d3drm
1025 enable_d3dx10_33
1026 enable_d3dx10_34
1027 enable_d3dx10_35
1028 enable_d3dx10_36
1029 enable_d3dx10_37
1030 enable_d3dx10_38
1031 enable_d3dx10_39
1032 enable_d3dx10_40
1033 enable_d3dx10_41
1034 enable_d3dx10_42
1035 enable_d3dx10_43
1036 enable_d3dx11_42
1037 enable_d3dx11_43
1038 enable_d3dx9_24
1039 enable_d3dx9_25
1040 enable_d3dx9_26
1041 enable_d3dx9_27
1042 enable_d3dx9_28
1043 enable_d3dx9_29
1044 enable_d3dx9_30
1045 enable_d3dx9_31
1046 enable_d3dx9_32
1047 enable_d3dx9_33
1048 enable_d3dx9_34
1049 enable_d3dx9_35
1050 enable_d3dx9_36
1051 enable_d3dx9_37
1052 enable_d3dx9_38
1053 enable_d3dx9_39
1054 enable_d3dx9_40
1055 enable_d3dx9_41
1056 enable_d3dx9_42
1057 enable_d3dx9_43
1058 enable_d3dxof
1059 enable_davclnt
1060 enable_dbgeng
1061 enable_dbghelp
1062 enable_dciman32
1063 enable_ddraw
1064 enable_ddrawex
1065 enable_devenum
1066 enable_dhcpcsvc
1067 enable_difxapi
1068 enable_dinput
1069 enable_dinput8
1070 enable_dispex
1071 enable_dmband
1072 enable_dmcompos
1073 enable_dmime
1074 enable_dmloader
1075 enable_dmscript
1076 enable_dmstyle
1077 enable_dmsynth
1078 enable_dmusic
1079 enable_dmusic32
1080 enable_dnsapi
1081 enable_dplay
1082 enable_dplayx
1083 enable_dpnaddr
1084 enable_dpnet
1085 enable_dpnhpast
1086 enable_dpnlobby
1087 enable_dpvoice
1088 enable_dpwsockx
1089 enable_drmclien
1090 enable_dsound
1091 enable_dssenh
1092 enable_dswave
1093 enable_dwmapi
1094 enable_dwrite
1095 enable_dxdiagn
1096 enable_dxgi
1097 enable_dxva2
1098 enable_esent
1099 enable_evr
1100 enable_explorerframe
1101 enable_ext_ms_win_gdi_devcaps_l1_1_0
1102 enable_faultrep
1103 enable_fltlib
1104 enable_fltmgr_sys
1105 enable_fntcache
1106 enable_fontsub
1107 enable_fusion
1108 enable_fwpuclnt
1109 enable_gameux
1110 enable_gdi32
1111 enable_gdiplus
1112 enable_glu32
1113 enable_gphoto2_ds
1114 enable_gpkcsp
1115 enable_hal
1116 enable_hhctrl_ocx
1117 enable_hid
1118 enable_hidclass_sys
1119 enable_hlink
1120 enable_hnetcfg
1121 enable_httpapi
1122 enable_iccvid
1123 enable_icmp
1124 enable_ieframe
1125 enable_imaadp32_acm
1126 enable_imagehlp
1127 enable_imm32
1128 enable_inetcomm
1129 enable_inetcpl_cpl
1130 enable_inetmib1
1131 enable_infosoft
1132 enable_initpki
1133 enable_inkobj
1134 enable_inseng
1135 enable_iphlpapi
1136 enable_itircl
1137 enable_itss
1138 enable_joy_cpl
1139 enable_jscript
1140 enable_jsproxy
1141 enable_kernel32
1142 enable_ksuser
1143 enable_ktmw32
1144 enable_loadperf
1145 enable_localspl
1146 enable_localui
1147 enable_lz32
1148 enable_mapi32
1149 enable_mapistub
1150 enable_mciavi32
1151 enable_mcicda
1152 enable_mciqtz32
1153 enable_mciseq
1154 enable_mciwave
1155 enable_mf
1156 enable_mfplat
1157 enable_mfreadwrite
1158 enable_mgmtapi
1159 enable_midimap
1160 enable_mlang
1161 enable_mmcndmgr
1162 enable_mmdevapi
1163 enable_mountmgr_sys
1164 enable_mpr
1165 enable_mprapi
1166 enable_msacm32_drv
1167 enable_msacm32
1168 enable_msadp32_acm
1169 enable_msasn1
1170 enable_mscat32
1171 enable_mscms
1172 enable_mscoree
1173 enable_msctf
1174 enable_msctfp
1175 enable_msdaps
1176 enable_msdelta
1177 enable_msdmo
1178 enable_msftedit
1179 enable_msg711_acm
1180 enable_msgsm32_acm
1181 enable_mshtml_tlb
1182 enable_mshtml
1183 enable_msi
1184 enable_msident
1185 enable_msimg32
1186 enable_msimsg
1187 enable_msimtf
1188 enable_msisip
1189 enable_msisys_ocx
1190 enable_msls31
1191 enable_msnet32
1192 enable_mspatcha
1193 enable_msrle32
1194 enable_msscript_ocx
1195 enable_mssign32
1196 enable_mssip32
1197 enable_mstask
1198 enable_msvcirt
1199 enable_msvcm80
1200 enable_msvcm90
1201 enable_msvcp100
1202 enable_msvcp110
1203 enable_msvcp120
1204 enable_msvcp120_app
1205 enable_msvcp60
1206 enable_msvcp70
1207 enable_msvcp71
1208 enable_msvcp80
1209 enable_msvcp90
1210 enable_msvcr100
1211 enable_msvcr110
1212 enable_msvcr120
1213 enable_msvcr120_app
1214 enable_msvcr70
1215 enable_msvcr71
1216 enable_msvcr80
1217 enable_msvcr90
1218 enable_msvcrt
1219 enable_msvcrt20
1220 enable_msvcrt40
1221 enable_msvcrtd
1222 enable_msvfw32
1223 enable_msvidc32
1224 enable_mswsock
1225 enable_msxml
1226 enable_msxml2
1227 enable_msxml3
1228 enable_msxml4
1229 enable_msxml6
1230 enable_nddeapi
1231 enable_ndis_sys
1232 enable_netapi32
1233 enable_netcfgx
1234 enable_netprofm
1235 enable_newdev
1236 enable_normaliz
1237 enable_npmshtml
1238 enable_npptools
1239 enable_ntdll
1240 enable_ntdsapi
1241 enable_ntoskrnl_exe
1242 enable_ntprint
1243 enable_objsel
1244 enable_odbc32
1245 enable_odbccp32
1246 enable_odbccu32
1247 enable_ole32
1248 enable_oleacc
1249 enable_oleaut32
1250 enable_olecli32
1251 enable_oledb32
1252 enable_oledlg
1253 enable_olepro32
1254 enable_olesvr32
1255 enable_olethk32
1256 enable_openal32
1257 enable_opencl
1258 enable_opengl32
1259 enable_packager
1260 enable_pdh
1261 enable_photometadatahandler
1262 enable_pidgen
1263 enable_powrprof
1264 enable_printui
1265 enable_prntvpt
1266 enable_propsys
1267 enable_psapi
1268 enable_pstorec
1269 enable_qcap
1270 enable_qedit
1271 enable_qmgr
1272 enable_qmgrprxy
1273 enable_quartz
1274 enable_query
1275 enable_rasapi32
1276 enable_rasdlg
1277 enable_regapi
1278 enable_resutils
1279 enable_riched20
1280 enable_riched32
1281 enable_rpcrt4
1282 enable_rsabase
1283 enable_rsaenh
1284 enable_rstrtmgr
1285 enable_rtutils
1286 enable_samlib
1287 enable_sane_ds
1288 enable_scarddlg
1289 enable_sccbase
1290 enable_schannel
1291 enable_schedsvc
1292 enable_scrrun
1293 enable_scsiport_sys
1294 enable_secur32
1295 enable_security
1296 enable_sensapi
1297 enable_serialui
1298 enable_setupapi
1299 enable_sfc
1300 enable_sfc_os
1301 enable_shdoclc
1302 enable_shdocvw
1303 enable_shell32
1304 enable_shfolder
1305 enable_shlwapi
1306 enable_slbcsp
1307 enable_slc
1308 enable_snmpapi
1309 enable_softpub
1310 enable_spoolss
1311 enable_stdole2_tlb
1312 enable_stdole32_tlb
1313 enable_sti
1314 enable_svrapi
1315 enable_sxs
1316 enable_t2embed
1317 enable_tapi32
1318 enable_taskschd
1319 enable_tdi_sys
1320 enable_traffic
1321 enable_twain_32
1322 enable_ucrtbase
1323 enable_unicows
1324 enable_updspapi
1325 enable_url
1326 enable_urlmon
1327 enable_usbd_sys
1328 enable_user32
1329 enable_userenv
1330 enable_usp10
1331 enable_uxtheme
1332 enable_vbscript
1333 enable_vcomp
1334 enable_vcomp100
1335 enable_vcomp110
1336 enable_vcomp120
1337 enable_vcomp90
1338 enable_vcruntime140
1339 enable_vdmdbg
1340 enable_version
1341 enable_vssapi
1342 enable_wbemdisp
1343 enable_wbemprox
1344 enable_webservices
1345 enable_wer
1346 enable_wevtapi
1347 enable_wiaservc
1348 enable_wimgapi
1349 enable_windowscodecs
1350 enable_windowscodecsext
1351 enable_winealsa_drv
1352 enable_winecoreaudio_drv
1353 enable_wined3d
1354 enable_winegstreamer
1355 enable_winejoystick_drv
1356 enable_winemac_drv
1357 enable_winemapi
1358 enable_winemp3_acm
1359 enable_wineoss_drv
1360 enable_wineps_drv
1361 enable_winepulse_drv
1362 enable_wineqtdecoder
1363 enable_winex11_drv
1364 enable_wing32
1365 enable_winhttp
1366 enable_wininet
1367 enable_winmm
1368 enable_winnls32
1369 enable_winscard
1370 enable_winspool_drv
1371 enable_winsta
1372 enable_wintab32
1373 enable_wintrust
1374 enable_wlanapi
1375 enable_wldap32
1376 enable_wmi
1377 enable_wmiutils
1378 enable_wmp
1379 enable_wmvcore
1380 enable_wnaspi32
1381 enable_wpcap
1382 enable_ws2_32
1383 enable_wshom_ocx
1384 enable_wsnmp32
1385 enable_wsock32
1386 enable_wtsapi32
1387 enable_wuapi
1388 enable_wuaueng
1389 enable_x3daudio1_0
1390 enable_x3daudio1_1
1391 enable_x3daudio1_2
1392 enable_x3daudio1_3
1393 enable_x3daudio1_4
1394 enable_x3daudio1_5
1395 enable_x3daudio1_6
1396 enable_x3daudio1_7
1397 enable_xapofx1_1
1398 enable_xapofx1_2
1399 enable_xapofx1_3
1400 enable_xapofx1_4
1401 enable_xapofx1_5
1402 enable_xaudio2_0
1403 enable_xaudio2_1
1404 enable_xaudio2_2
1405 enable_xaudio2_3
1406 enable_xaudio2_4
1407 enable_xaudio2_5
1408 enable_xaudio2_6
1409 enable_xaudio2_7
1410 enable_xaudio2_8
1411 enable_xaudio2_9
1412 enable_xinput1_1
1413 enable_xinput1_2
1414 enable_xinput1_3
1415 enable_xinput1_4
1416 enable_xinput9_1_0
1417 enable_xmllite
1418 enable_xolehlp
1419 enable_xpsprint
1420 enable_xpssvcs
1421 enable_fonts
1422 enable_include
1423 enable_libs_port
1424 enable_libs_wine
1425 enable_libs_wpp
1426 enable_loader
1427 enable_arp
1428 enable_aspnet_regiis
1429 enable_attrib
1430 enable_cabarc
1431 enable_cacls
1432 enable_clock
1433 enable_cmd
1434 enable_conhost
1435 enable_control
1436 enable_cscript
1437 enable_dpnsvr
1438 enable_dxdiag
1439 enable_eject
1440 enable_expand
1441 enable_explorer
1442 enable_extrac32
1443 enable_findstr
1444 enable_hh
1445 enable_hostname
1446 enable_icinfo
1447 enable_iexplore
1448 enable_ipconfig
1449 enable_lodctr
1450 enable_mofcomp
1451 enable_mshta
1452 enable_msiexec
1453 enable_net
1454 enable_netsh
1455 enable_netstat
1456 enable_ngen
1457 enable_notepad
1458 enable_oleview
1459 enable_ping
1460 enable_plugplay
1461 enable_presentationfontcache
1462 enable_progman
1463 enable_reg
1464 enable_regasm
1465 enable_regedit
1466 enable_regsvcs
1467 enable_regsvr32
1468 enable_rpcss
1469 enable_rundll32
1470 enable_sc
1471 enable_schtasks
1472 enable_sdbinst
1473 enable_secedit
1474 enable_servicemodelreg
1475 enable_services
1476 enable_spoolsv
1477 enable_start
1478 enable_svchost
1479 enable_systeminfo
1480 enable_taskkill
1481 enable_tasklist
1482 enable_taskmgr
1483 enable_termsv
1484 enable_uninstaller
1485 enable_unlodctr
1486 enable_view
1487 enable_wevtutil
1488 enable_wineboot
1489 enable_winebrowser
1490 enable_winecfg
1491 enable_wineconsole
1492 enable_winedbg
1493 enable_winedevice
1494 enable_winefile
1495 enable_winemenubuilder
1496 enable_winemine
1497 enable_winemsibuilder
1498 enable_winepath
1499 enable_winetest
1500 enable_winhlp32
1501 enable_winver
1502 enable_wmic
1503 enable_wmplayer
1504 enable_wordpad
1505 enable_write
1506 enable_wscript
1507 enable_wusa
1508 enable_xcopy
1509 enable_server
1510 enable_tools
1512 ac_precious_vars='build_alias
1513 host_alias
1514 target_alias
1516 CFLAGS
1517 LDFLAGS
1518 LIBS
1519 CPPFLAGS
1521 CXXFLAGS
1524 XMKMF
1525 XML2_CFLAGS
1526 XML2_LIBS
1527 XSLT_CFLAGS
1528 XSLT_LIBS
1529 DBUS_CFLAGS
1530 DBUS_LIBS
1531 HAL_CFLAGS
1532 HAL_LIBS
1533 GNUTLS_CFLAGS
1534 GNUTLS_LIBS
1535 SANE_CFLAGS
1536 SANE_LIBS
1537 GPHOTO2_CFLAGS
1538 GPHOTO2_LIBS
1539 GPHOTO2_PORT_CFLAGS
1540 GPHOTO2_PORT_LIBS
1541 LCMS2_CFLAGS
1542 LCMS2_LIBS
1543 FREETYPE_CFLAGS
1544 FREETYPE_LIBS
1545 PULSE_CFLAGS
1546 PULSE_LIBS
1547 GSTREAMER_CFLAGS
1548 GSTREAMER_LIBS
1549 CAPI20_CFLAGS
1550 CAPI20_LIBS
1551 FONTCONFIG_CFLAGS
1552 FONTCONFIG_LIBS
1553 JPEG_CFLAGS
1554 JPEG_LIBS
1555 PNG_CFLAGS
1556 PNG_LIBS
1557 TIFF_CFLAGS
1558 TIFF_LIBS
1559 MPG123_CFLAGS
1560 MPG123_LIBS'
1563 # Initialize some variables set by options.
1564 ac_init_help=
1565 ac_init_version=false
1566 ac_unrecognized_opts=
1567 ac_unrecognized_sep=
1568 # The variables have the same names as the options, with
1569 # dashes changed to underlines.
1570 cache_file=/dev/null
1571 exec_prefix=NONE
1572 no_create=
1573 no_recursion=
1574 prefix=NONE
1575 program_prefix=NONE
1576 program_suffix=NONE
1577 program_transform_name=s,x,x,
1578 silent=
1579 site=
1580 srcdir=
1581 verbose=
1582 x_includes=NONE
1583 x_libraries=NONE
1585 # Installation directory options.
1586 # These are left unexpanded so users can "make install exec_prefix=/foo"
1587 # and all the variables that are supposed to be based on exec_prefix
1588 # by default will actually change.
1589 # Use braces instead of parens because sh, perl, etc. also accept them.
1590 # (The list follows the same order as the GNU Coding Standards.)
1591 bindir='${exec_prefix}/bin'
1592 sbindir='${exec_prefix}/sbin'
1593 libexecdir='${exec_prefix}/libexec'
1594 datarootdir='${prefix}/share'
1595 datadir='${datarootdir}'
1596 sysconfdir='${prefix}/etc'
1597 sharedstatedir='${prefix}/com'
1598 localstatedir='${prefix}/var'
1599 runstatedir='${localstatedir}/run'
1600 includedir='${prefix}/include'
1601 oldincludedir='/usr/include'
1602 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1603 infodir='${datarootdir}/info'
1604 htmldir='${docdir}'
1605 dvidir='${docdir}'
1606 pdfdir='${docdir}'
1607 psdir='${docdir}'
1608 libdir='${exec_prefix}/lib'
1609 localedir='${datarootdir}/locale'
1610 mandir='${datarootdir}/man'
1612 ac_prev=
1613 ac_dashdash=
1614 for ac_option
1616 # If the previous option needs an argument, assign it.
1617 if test -n "$ac_prev"; then
1618 eval $ac_prev=\$ac_option
1619 ac_prev=
1620 continue
1623 case $ac_option in
1624 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1625 *=) ac_optarg= ;;
1626 *) ac_optarg=yes ;;
1627 esac
1629 # Accept the important Cygnus configure options, so we can diagnose typos.
1631 case $ac_dashdash$ac_option in
1633 ac_dashdash=yes ;;
1635 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1636 ac_prev=bindir ;;
1637 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1638 bindir=$ac_optarg ;;
1640 -build | --build | --buil | --bui | --bu)
1641 ac_prev=build_alias ;;
1642 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1643 build_alias=$ac_optarg ;;
1645 -cache-file | --cache-file | --cache-fil | --cache-fi \
1646 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1647 ac_prev=cache_file ;;
1648 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1649 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1650 cache_file=$ac_optarg ;;
1652 --config-cache | -C)
1653 cache_file=config.cache ;;
1655 -datadir | --datadir | --datadi | --datad)
1656 ac_prev=datadir ;;
1657 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1658 datadir=$ac_optarg ;;
1660 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1661 | --dataroo | --dataro | --datar)
1662 ac_prev=datarootdir ;;
1663 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1664 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1665 datarootdir=$ac_optarg ;;
1667 -disable-* | --disable-*)
1668 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1669 # Reject names that are not valid shell variable names.
1670 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1671 as_fn_error $? "invalid feature name: $ac_useropt"
1672 ac_useropt_orig=$ac_useropt
1673 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1674 case $ac_user_opts in
1676 "enable_$ac_useropt"
1677 "*) ;;
1678 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1679 ac_unrecognized_sep=', ';;
1680 esac
1681 eval enable_$ac_useropt=no ;;
1683 -docdir | --docdir | --docdi | --doc | --do)
1684 ac_prev=docdir ;;
1685 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1686 docdir=$ac_optarg ;;
1688 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1689 ac_prev=dvidir ;;
1690 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1691 dvidir=$ac_optarg ;;
1693 -enable-* | --enable-*)
1694 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1695 # Reject names that are not valid shell variable names.
1696 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1697 as_fn_error $? "invalid feature name: $ac_useropt"
1698 ac_useropt_orig=$ac_useropt
1699 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1700 case $ac_user_opts in
1702 "enable_$ac_useropt"
1703 "*) ;;
1704 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1705 ac_unrecognized_sep=', ';;
1706 esac
1707 eval enable_$ac_useropt=\$ac_optarg ;;
1709 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1710 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1711 | --exec | --exe | --ex)
1712 ac_prev=exec_prefix ;;
1713 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1714 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1715 | --exec=* | --exe=* | --ex=*)
1716 exec_prefix=$ac_optarg ;;
1718 -gas | --gas | --ga | --g)
1719 # Obsolete; use --with-gas.
1720 with_gas=yes ;;
1722 -help | --help | --hel | --he | -h)
1723 ac_init_help=long ;;
1724 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1725 ac_init_help=recursive ;;
1726 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1727 ac_init_help=short ;;
1729 -host | --host | --hos | --ho)
1730 ac_prev=host_alias ;;
1731 -host=* | --host=* | --hos=* | --ho=*)
1732 host_alias=$ac_optarg ;;
1734 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1735 ac_prev=htmldir ;;
1736 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1737 | --ht=*)
1738 htmldir=$ac_optarg ;;
1740 -includedir | --includedir | --includedi | --included | --include \
1741 | --includ | --inclu | --incl | --inc)
1742 ac_prev=includedir ;;
1743 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1744 | --includ=* | --inclu=* | --incl=* | --inc=*)
1745 includedir=$ac_optarg ;;
1747 -infodir | --infodir | --infodi | --infod | --info | --inf)
1748 ac_prev=infodir ;;
1749 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1750 infodir=$ac_optarg ;;
1752 -libdir | --libdir | --libdi | --libd)
1753 ac_prev=libdir ;;
1754 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1755 libdir=$ac_optarg ;;
1757 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1758 | --libexe | --libex | --libe)
1759 ac_prev=libexecdir ;;
1760 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1761 | --libexe=* | --libex=* | --libe=*)
1762 libexecdir=$ac_optarg ;;
1764 -localedir | --localedir | --localedi | --localed | --locale)
1765 ac_prev=localedir ;;
1766 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1767 localedir=$ac_optarg ;;
1769 -localstatedir | --localstatedir | --localstatedi | --localstated \
1770 | --localstate | --localstat | --localsta | --localst | --locals)
1771 ac_prev=localstatedir ;;
1772 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1773 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1774 localstatedir=$ac_optarg ;;
1776 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1777 ac_prev=mandir ;;
1778 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1779 mandir=$ac_optarg ;;
1781 -nfp | --nfp | --nf)
1782 # Obsolete; use --without-fp.
1783 with_fp=no ;;
1785 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1786 | --no-cr | --no-c | -n)
1787 no_create=yes ;;
1789 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1790 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1791 no_recursion=yes ;;
1793 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1794 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1795 | --oldin | --oldi | --old | --ol | --o)
1796 ac_prev=oldincludedir ;;
1797 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1798 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1799 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1800 oldincludedir=$ac_optarg ;;
1802 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1803 ac_prev=prefix ;;
1804 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1805 prefix=$ac_optarg ;;
1807 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1808 | --program-pre | --program-pr | --program-p)
1809 ac_prev=program_prefix ;;
1810 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1811 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1812 program_prefix=$ac_optarg ;;
1814 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1815 | --program-suf | --program-su | --program-s)
1816 ac_prev=program_suffix ;;
1817 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1818 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1819 program_suffix=$ac_optarg ;;
1821 -program-transform-name | --program-transform-name \
1822 | --program-transform-nam | --program-transform-na \
1823 | --program-transform-n | --program-transform- \
1824 | --program-transform | --program-transfor \
1825 | --program-transfo | --program-transf \
1826 | --program-trans | --program-tran \
1827 | --progr-tra | --program-tr | --program-t)
1828 ac_prev=program_transform_name ;;
1829 -program-transform-name=* | --program-transform-name=* \
1830 | --program-transform-nam=* | --program-transform-na=* \
1831 | --program-transform-n=* | --program-transform-=* \
1832 | --program-transform=* | --program-transfor=* \
1833 | --program-transfo=* | --program-transf=* \
1834 | --program-trans=* | --program-tran=* \
1835 | --progr-tra=* | --program-tr=* | --program-t=*)
1836 program_transform_name=$ac_optarg ;;
1838 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1839 ac_prev=pdfdir ;;
1840 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1841 pdfdir=$ac_optarg ;;
1843 -psdir | --psdir | --psdi | --psd | --ps)
1844 ac_prev=psdir ;;
1845 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1846 psdir=$ac_optarg ;;
1848 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1849 | -silent | --silent | --silen | --sile | --sil)
1850 silent=yes ;;
1852 -runstatedir | --runstatedir | --runstatedi | --runstated \
1853 | --runstate | --runstat | --runsta | --runst | --runs \
1854 | --run | --ru | --r)
1855 ac_prev=runstatedir ;;
1856 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1857 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1858 | --run=* | --ru=* | --r=*)
1859 runstatedir=$ac_optarg ;;
1861 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1862 ac_prev=sbindir ;;
1863 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1864 | --sbi=* | --sb=*)
1865 sbindir=$ac_optarg ;;
1867 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1868 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1869 | --sharedst | --shareds | --shared | --share | --shar \
1870 | --sha | --sh)
1871 ac_prev=sharedstatedir ;;
1872 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1873 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1874 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1875 | --sha=* | --sh=*)
1876 sharedstatedir=$ac_optarg ;;
1878 -site | --site | --sit)
1879 ac_prev=site ;;
1880 -site=* | --site=* | --sit=*)
1881 site=$ac_optarg ;;
1883 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1884 ac_prev=srcdir ;;
1885 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1886 srcdir=$ac_optarg ;;
1888 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1889 | --syscon | --sysco | --sysc | --sys | --sy)
1890 ac_prev=sysconfdir ;;
1891 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1892 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1893 sysconfdir=$ac_optarg ;;
1895 -target | --target | --targe | --targ | --tar | --ta | --t)
1896 ac_prev=target_alias ;;
1897 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1898 target_alias=$ac_optarg ;;
1900 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1901 verbose=yes ;;
1903 -version | --version | --versio | --versi | --vers | -V)
1904 ac_init_version=: ;;
1906 -with-* | --with-*)
1907 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1908 # Reject names that are not valid shell variable names.
1909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1910 as_fn_error $? "invalid package name: $ac_useropt"
1911 ac_useropt_orig=$ac_useropt
1912 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1913 case $ac_user_opts in
1915 "with_$ac_useropt"
1916 "*) ;;
1917 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1918 ac_unrecognized_sep=', ';;
1919 esac
1920 eval with_$ac_useropt=\$ac_optarg ;;
1922 -without-* | --without-*)
1923 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1924 # Reject names that are not valid shell variable names.
1925 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1926 as_fn_error $? "invalid package name: $ac_useropt"
1927 ac_useropt_orig=$ac_useropt
1928 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1929 case $ac_user_opts in
1931 "with_$ac_useropt"
1932 "*) ;;
1933 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1934 ac_unrecognized_sep=', ';;
1935 esac
1936 eval with_$ac_useropt=no ;;
1938 --x)
1939 # Obsolete; use --with-x.
1940 with_x=yes ;;
1942 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1943 | --x-incl | --x-inc | --x-in | --x-i)
1944 ac_prev=x_includes ;;
1945 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1946 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1947 x_includes=$ac_optarg ;;
1949 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1950 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1951 ac_prev=x_libraries ;;
1952 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1953 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1954 x_libraries=$ac_optarg ;;
1956 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1957 Try \`$0 --help' for more information"
1960 *=*)
1961 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1962 # Reject names that are not valid shell variable names.
1963 case $ac_envvar in #(
1964 '' | [0-9]* | *[!_$as_cr_alnum]* )
1965 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1966 esac
1967 eval $ac_envvar=\$ac_optarg
1968 export $ac_envvar ;;
1971 # FIXME: should be removed in autoconf 3.0.
1972 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1973 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1974 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1975 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1978 esac
1979 done
1981 if test -n "$ac_prev"; then
1982 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1983 as_fn_error $? "missing argument to $ac_option"
1986 if test -n "$ac_unrecognized_opts"; then
1987 case $enable_option_checking in
1988 no) ;;
1989 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1990 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1991 esac
1994 # Check all directory arguments for consistency.
1995 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1996 datadir sysconfdir sharedstatedir localstatedir includedir \
1997 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1998 libdir localedir mandir runstatedir
2000 eval ac_val=\$$ac_var
2001 # Remove trailing slashes.
2002 case $ac_val in
2003 */ )
2004 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2005 eval $ac_var=\$ac_val;;
2006 esac
2007 # Be sure to have absolute directory names.
2008 case $ac_val in
2009 [\\/$]* | ?:[\\/]* ) continue;;
2010 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2011 esac
2012 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2013 done
2015 # There might be people who depend on the old broken behavior: `$host'
2016 # used to hold the argument of --host etc.
2017 # FIXME: To remove some day.
2018 build=$build_alias
2019 host=$host_alias
2020 target=$target_alias
2022 # FIXME: To remove some day.
2023 if test "x$host_alias" != x; then
2024 if test "x$build_alias" = x; then
2025 cross_compiling=maybe
2026 elif test "x$build_alias" != "x$host_alias"; then
2027 cross_compiling=yes
2031 ac_tool_prefix=
2032 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2034 test "$silent" = yes && exec 6>/dev/null
2037 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2038 ac_ls_di=`ls -di .` &&
2039 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2040 as_fn_error $? "working directory cannot be determined"
2041 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2042 as_fn_error $? "pwd does not report name of working directory"
2045 # Find the source files, if location was not specified.
2046 if test -z "$srcdir"; then
2047 ac_srcdir_defaulted=yes
2048 # Try the directory containing this script, then the parent directory.
2049 ac_confdir=`$as_dirname -- "$as_myself" ||
2050 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2051 X"$as_myself" : 'X\(//\)[^/]' \| \
2052 X"$as_myself" : 'X\(//\)$' \| \
2053 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2054 $as_echo X"$as_myself" |
2055 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2056 s//\1/
2059 /^X\(\/\/\)[^/].*/{
2060 s//\1/
2063 /^X\(\/\/\)$/{
2064 s//\1/
2067 /^X\(\/\).*/{
2068 s//\1/
2071 s/.*/./; q'`
2072 srcdir=$ac_confdir
2073 if test ! -r "$srcdir/$ac_unique_file"; then
2074 srcdir=..
2076 else
2077 ac_srcdir_defaulted=no
2079 if test ! -r "$srcdir/$ac_unique_file"; then
2080 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2081 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2083 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2084 ac_abs_confdir=`(
2085 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2086 pwd)`
2087 # When building in place, set srcdir=.
2088 if test "$ac_abs_confdir" = "$ac_pwd"; then
2089 srcdir=.
2091 # Remove unnecessary trailing slashes from srcdir.
2092 # Double slashes in file names in object file debugging info
2093 # mess up M-x gdb in Emacs.
2094 case $srcdir in
2095 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2096 esac
2097 for ac_var in $ac_precious_vars; do
2098 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2099 eval ac_env_${ac_var}_value=\$${ac_var}
2100 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2101 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2102 done
2105 # Report the --help message.
2107 if test "$ac_init_help" = "long"; then
2108 # Omit some internal or obsolete options to make the list less imposing.
2109 # This message is too long to be a string in the A/UX 3.1 sh.
2110 cat <<_ACEOF
2111 \`configure' configures Wine 1.9.1 to adapt to many kinds of systems.
2113 Usage: $0 [OPTION]... [VAR=VALUE]...
2115 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2116 VAR=VALUE. See below for descriptions of some of the useful variables.
2118 Defaults for the options are specified in brackets.
2120 Configuration:
2121 -h, --help display this help and exit
2122 --help=short display options specific to this package
2123 --help=recursive display the short help of all the included packages
2124 -V, --version display version information and exit
2125 -q, --quiet, --silent do not print \`checking ...' messages
2126 --cache-file=FILE cache test results in FILE [disabled]
2127 -C, --config-cache alias for \`--cache-file=config.cache'
2128 -n, --no-create do not create output files
2129 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2131 Installation directories:
2132 --prefix=PREFIX install architecture-independent files in PREFIX
2133 [$ac_default_prefix]
2134 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2135 [PREFIX]
2137 By default, \`make install' will install all the files in
2138 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2139 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2140 for instance \`--prefix=\$HOME'.
2142 For better control, use the options below.
2144 Fine tuning of the installation directories:
2145 --bindir=DIR user executables [EPREFIX/bin]
2146 --sbindir=DIR system admin executables [EPREFIX/sbin]
2147 --libexecdir=DIR program executables [EPREFIX/libexec]
2148 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2149 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2150 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2151 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2152 --libdir=DIR object code libraries [EPREFIX/lib]
2153 --includedir=DIR C header files [PREFIX/include]
2154 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2155 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2156 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2157 --infodir=DIR info documentation [DATAROOTDIR/info]
2158 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2159 --mandir=DIR man documentation [DATAROOTDIR/man]
2160 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2161 --htmldir=DIR html documentation [DOCDIR]
2162 --dvidir=DIR dvi documentation [DOCDIR]
2163 --pdfdir=DIR pdf documentation [DOCDIR]
2164 --psdir=DIR ps documentation [DOCDIR]
2165 _ACEOF
2167 cat <<\_ACEOF
2169 X features:
2170 --x-includes=DIR X include files are in DIR
2171 --x-libraries=DIR X library files are in DIR
2173 System types:
2174 --build=BUILD configure for building on BUILD [guessed]
2175 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2176 _ACEOF
2179 if test -n "$ac_init_help"; then
2180 case $ac_init_help in
2181 short | recursive ) echo "Configuration of Wine 1.9.1:";;
2182 esac
2183 cat <<\_ACEOF
2185 Optional Features:
2186 --disable-option-checking ignore unrecognized --enable/--with options
2187 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2188 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2189 --disable-win16 do not include Win16 support
2190 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2191 binaries)
2192 --disable-tests do not build the regression tests
2193 --enable-maintainer-mode
2194 enable maintainer-specific build rules
2195 --disable-largefile omit support for large files
2197 Optional Packages:
2198 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2199 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2200 --without-alsa do not use the Alsa sound support
2201 --without-capi do not use CAPI (ISDN support)
2202 --without-cms do not use CMS (color management support)
2203 --without-coreaudio do not use the CoreAudio sound support
2204 --without-cups do not use CUPS
2205 --without-curses do not use (n)curses
2206 --without-dbus do not use DBus (dynamic device support)
2207 --without-fontconfig do not use fontconfig
2208 --without-freetype do not use the FreeType library
2209 --without-gettext do not use gettext
2210 --with-gettextpo use the GetTextPO library to rebuild po files
2211 --without-gphoto do not use gphoto (Digital Camera support)
2212 --without-glu do not use the GLU library
2213 --without-gnutls do not use GnuTLS (schannel support)
2214 --without-gsm do not use libgsm (GSM 06.10 codec support)
2215 --without-gstreamer do not use GStreamer (codecs support)
2216 --without-hal do not use HAL (dynamic device support)
2217 --without-jpeg do not use JPEG
2218 --without-ldap do not use LDAP
2219 --without-mpg123 do not use the mpg123 library
2220 --without-netapi do not use the Samba NetAPI library
2221 --without-openal do not use OpenAL
2222 --without-opencl do not use OpenCL
2223 --without-opengl do not use OpenGL
2224 --without-osmesa do not use the OSMesa library
2225 --without-oss do not use the OSS sound support
2226 --without-pcap do not use the Packet Capture library
2227 --without-png do not use PNG
2228 --without-pthread do not use the pthread library
2229 --without-pulse do not use PulseAudio sound support
2230 --without-sane do not use SANE (scanner support)
2231 --without-tiff do not use TIFF
2232 --without-v4l do not use v4l1 (v4l support)
2233 --without-xcomposite do not use the Xcomposite extension
2234 --without-xcursor do not use the Xcursor extension
2235 --without-xinerama do not use Xinerama (multi-monitor support)
2236 --without-xinput do not use the Xinput extension
2237 --without-xinput2 do not use the Xinput 2 extension
2238 --without-xml do not use XML
2239 --without-xrandr do not use Xrandr (resolution changes)
2240 --without-xrender do not use the Xrender extension
2241 --without-xshape do not use the Xshape extension
2242 --without-xshm do not use XShm (shared memory extension)
2243 --without-xslt do not use XSLT
2244 --without-xxf86vm do not use XFree video mode extension
2245 --without-zlib do not use Zlib (data compression)
2246 --with-wine-tools=DIR use Wine tools from directory DIR
2247 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2248 --with-x use the X Window System
2250 Some influential environment variables:
2251 CC C compiler command
2252 CFLAGS C compiler flags
2253 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2254 nonstandard directory <lib dir>
2255 LIBS libraries to pass to the linker, e.g. -l<library>
2256 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2257 you have headers in a nonstandard directory <include dir>
2258 CXX C++ compiler command
2259 CXXFLAGS C++ compiler flags
2260 CPP C preprocessor
2261 XMKMF Path to xmkmf, Makefile generator for X Window System
2262 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2263 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2264 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2265 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2266 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2267 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2268 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2269 HAL_LIBS Linker flags for hal, overriding pkg-config
2270 GNUTLS_CFLAGS
2271 C compiler flags for gnutls, overriding pkg-config
2272 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2273 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2274 SANE_LIBS Linker flags for libsane, overriding pkg-config
2275 GPHOTO2_CFLAGS
2276 C compiler flags for libgphoto2, overriding pkg-config
2277 GPHOTO2_LIBS
2278 Linker flags for libgphoto2, overriding pkg-config
2279 GPHOTO2_PORT_CFLAGS
2280 C compiler flags for libgphoto2_port, overriding pkg-config
2281 GPHOTO2_PORT_LIBS
2282 Linker flags for libgphoto2_port, overriding pkg-config
2283 LCMS2_CFLAGS
2284 C compiler flags for lcms2, overriding pkg-config
2285 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2286 FREETYPE_CFLAGS
2287 C compiler flags for freetype2, overriding pkg-config
2288 FREETYPE_LIBS
2289 Linker flags for freetype2, overriding pkg-config
2290 PULSE_CFLAGS
2291 C compiler flags for libpulse, overriding pkg-config
2292 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2293 GSTREAMER_CFLAGS
2294 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2295 gstreamer-audio-1.0, overriding pkg-config
2296 GSTREAMER_LIBS
2297 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2298 gstreamer-audio-1.0, overriding pkg-config
2299 CAPI20_CFLAGS
2300 C compiler flags for capi20, overriding pkg-config
2301 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2302 FONTCONFIG_CFLAGS
2303 C compiler flags for fontconfig, overriding pkg-config
2304 FONTCONFIG_LIBS
2305 Linker flags for fontconfig, overriding pkg-config
2306 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2307 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2308 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2309 PNG_LIBS Linker flags for libpng, overriding pkg-config
2310 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2311 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2312 MPG123_CFLAGS
2313 C compiler flags for libmpg123, overriding pkg-config
2314 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2316 Use these variables to override the choices made by `configure' or to help
2317 it to find libraries and programs with nonstandard names/locations.
2319 Report bugs to <wine-devel@winehq.org>.
2320 Wine home page: <http://www.winehq.org>.
2321 _ACEOF
2322 ac_status=$?
2325 if test "$ac_init_help" = "recursive"; then
2326 # If there are subdirs, report their specific --help.
2327 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2328 test -d "$ac_dir" ||
2329 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2330 continue
2331 ac_builddir=.
2333 case "$ac_dir" in
2334 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2336 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2337 # A ".." for each directory in $ac_dir_suffix.
2338 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2339 case $ac_top_builddir_sub in
2340 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2341 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2342 esac ;;
2343 esac
2344 ac_abs_top_builddir=$ac_pwd
2345 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2346 # for backward compatibility:
2347 ac_top_builddir=$ac_top_build_prefix
2349 case $srcdir in
2350 .) # We are building in place.
2351 ac_srcdir=.
2352 ac_top_srcdir=$ac_top_builddir_sub
2353 ac_abs_top_srcdir=$ac_pwd ;;
2354 [\\/]* | ?:[\\/]* ) # Absolute name.
2355 ac_srcdir=$srcdir$ac_dir_suffix;
2356 ac_top_srcdir=$srcdir
2357 ac_abs_top_srcdir=$srcdir ;;
2358 *) # Relative name.
2359 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2360 ac_top_srcdir=$ac_top_build_prefix$srcdir
2361 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2362 esac
2363 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2365 cd "$ac_dir" || { ac_status=$?; continue; }
2366 # Check for guested configure.
2367 if test -f "$ac_srcdir/configure.gnu"; then
2368 echo &&
2369 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2370 elif test -f "$ac_srcdir/configure"; then
2371 echo &&
2372 $SHELL "$ac_srcdir/configure" --help=recursive
2373 else
2374 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2375 fi || ac_status=$?
2376 cd "$ac_pwd" || { ac_status=$?; break; }
2377 done
2380 test -n "$ac_init_help" && exit $ac_status
2381 if $ac_init_version; then
2382 cat <<\_ACEOF
2383 Wine configure 1.9.1
2384 generated by GNU Autoconf 2.69
2386 Copyright (C) 2012 Free Software Foundation, Inc.
2387 This configure script is free software; the Free Software Foundation
2388 gives unlimited permission to copy, distribute and modify it.
2389 _ACEOF
2390 exit
2393 ## ------------------------ ##
2394 ## Autoconf initialization. ##
2395 ## ------------------------ ##
2397 # ac_fn_c_try_compile LINENO
2398 # --------------------------
2399 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2400 ac_fn_c_try_compile ()
2402 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2403 rm -f conftest.$ac_objext
2404 if { { ac_try="$ac_compile"
2405 case "(($ac_try" in
2406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2407 *) ac_try_echo=$ac_try;;
2408 esac
2409 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2410 $as_echo "$ac_try_echo"; } >&5
2411 (eval "$ac_compile") 2>conftest.err
2412 ac_status=$?
2413 if test -s conftest.err; then
2414 grep -v '^ *+' conftest.err >conftest.er1
2415 cat conftest.er1 >&5
2416 mv -f conftest.er1 conftest.err
2418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2419 test $ac_status = 0; } && {
2420 test -z "$ac_c_werror_flag" ||
2421 test ! -s conftest.err
2422 } && test -s conftest.$ac_objext; then :
2423 ac_retval=0
2424 else
2425 $as_echo "$as_me: failed program was:" >&5
2426 sed 's/^/| /' conftest.$ac_ext >&5
2428 ac_retval=1
2430 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2431 as_fn_set_status $ac_retval
2433 } # ac_fn_c_try_compile
2435 # ac_fn_cxx_try_compile LINENO
2436 # ----------------------------
2437 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2438 ac_fn_cxx_try_compile ()
2440 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2441 rm -f conftest.$ac_objext
2442 if { { ac_try="$ac_compile"
2443 case "(($ac_try" in
2444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2445 *) ac_try_echo=$ac_try;;
2446 esac
2447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2448 $as_echo "$ac_try_echo"; } >&5
2449 (eval "$ac_compile") 2>conftest.err
2450 ac_status=$?
2451 if test -s conftest.err; then
2452 grep -v '^ *+' conftest.err >conftest.er1
2453 cat conftest.er1 >&5
2454 mv -f conftest.er1 conftest.err
2456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2457 test $ac_status = 0; } && {
2458 test -z "$ac_cxx_werror_flag" ||
2459 test ! -s conftest.err
2460 } && test -s conftest.$ac_objext; then :
2461 ac_retval=0
2462 else
2463 $as_echo "$as_me: failed program was:" >&5
2464 sed 's/^/| /' conftest.$ac_ext >&5
2466 ac_retval=1
2468 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2469 as_fn_set_status $ac_retval
2471 } # ac_fn_cxx_try_compile
2473 # ac_fn_c_try_link LINENO
2474 # -----------------------
2475 # Try to link conftest.$ac_ext, and return whether this succeeded.
2476 ac_fn_c_try_link ()
2478 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2479 rm -f conftest.$ac_objext conftest$ac_exeext
2480 if { { ac_try="$ac_link"
2481 case "(($ac_try" in
2482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2483 *) ac_try_echo=$ac_try;;
2484 esac
2485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2486 $as_echo "$ac_try_echo"; } >&5
2487 (eval "$ac_link") 2>conftest.err
2488 ac_status=$?
2489 if test -s conftest.err; then
2490 grep -v '^ *+' conftest.err >conftest.er1
2491 cat conftest.er1 >&5
2492 mv -f conftest.er1 conftest.err
2494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2495 test $ac_status = 0; } && {
2496 test -z "$ac_c_werror_flag" ||
2497 test ! -s conftest.err
2498 } && test -s conftest$ac_exeext && {
2499 test "$cross_compiling" = yes ||
2500 test -x conftest$ac_exeext
2501 }; then :
2502 ac_retval=0
2503 else
2504 $as_echo "$as_me: failed program was:" >&5
2505 sed 's/^/| /' conftest.$ac_ext >&5
2507 ac_retval=1
2509 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2510 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2511 # interfere with the next link command; also delete a directory that is
2512 # left behind by Apple's compiler. We do this before executing the actions.
2513 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2514 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2515 as_fn_set_status $ac_retval
2517 } # ac_fn_c_try_link
2519 # ac_fn_c_try_cpp LINENO
2520 # ----------------------
2521 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2522 ac_fn_c_try_cpp ()
2524 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2525 if { { ac_try="$ac_cpp conftest.$ac_ext"
2526 case "(($ac_try" in
2527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2528 *) ac_try_echo=$ac_try;;
2529 esac
2530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2531 $as_echo "$ac_try_echo"; } >&5
2532 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2533 ac_status=$?
2534 if test -s conftest.err; then
2535 grep -v '^ *+' conftest.err >conftest.er1
2536 cat conftest.er1 >&5
2537 mv -f conftest.er1 conftest.err
2539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2540 test $ac_status = 0; } > conftest.i && {
2541 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2542 test ! -s conftest.err
2543 }; then :
2544 ac_retval=0
2545 else
2546 $as_echo "$as_me: failed program was:" >&5
2547 sed 's/^/| /' conftest.$ac_ext >&5
2549 ac_retval=1
2551 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2552 as_fn_set_status $ac_retval
2554 } # ac_fn_c_try_cpp
2556 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2557 # -------------------------------------------------------
2558 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2559 # the include files in INCLUDES and setting the cache variable VAR
2560 # accordingly.
2561 ac_fn_c_check_header_mongrel ()
2563 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2564 if eval \${$3+:} false; then :
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2566 $as_echo_n "checking for $2... " >&6; }
2567 if eval \${$3+:} false; then :
2568 $as_echo_n "(cached) " >&6
2570 eval ac_res=\$$3
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2572 $as_echo "$ac_res" >&6; }
2573 else
2574 # Is the header compilable?
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2576 $as_echo_n "checking $2 usability... " >&6; }
2577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2578 /* end confdefs.h. */
2580 #include <$2>
2581 _ACEOF
2582 if ac_fn_c_try_compile "$LINENO"; then :
2583 ac_header_compiler=yes
2584 else
2585 ac_header_compiler=no
2587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2589 $as_echo "$ac_header_compiler" >&6; }
2591 # Is the header present?
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2593 $as_echo_n "checking $2 presence... " >&6; }
2594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2595 /* end confdefs.h. */
2596 #include <$2>
2597 _ACEOF
2598 if ac_fn_c_try_cpp "$LINENO"; then :
2599 ac_header_preproc=yes
2600 else
2601 ac_header_preproc=no
2603 rm -f conftest.err conftest.i conftest.$ac_ext
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2605 $as_echo "$ac_header_preproc" >&6; }
2607 # So? What about this header?
2608 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2609 yes:no: )
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2611 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2613 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2615 no:yes:* )
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2617 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2619 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2621 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2623 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2625 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2626 ( $as_echo "## ------------------------------------ ##
2627 ## Report this to wine-devel@winehq.org ##
2628 ## ------------------------------------ ##"
2629 ) | sed "s/^/$as_me: WARNING: /" >&2
2631 esac
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2633 $as_echo_n "checking for $2... " >&6; }
2634 if eval \${$3+:} false; then :
2635 $as_echo_n "(cached) " >&6
2636 else
2637 eval "$3=\$ac_header_compiler"
2639 eval ac_res=\$$3
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2641 $as_echo "$ac_res" >&6; }
2643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2645 } # ac_fn_c_check_header_mongrel
2647 # ac_fn_c_try_run LINENO
2648 # ----------------------
2649 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2650 # that executables *can* be run.
2651 ac_fn_c_try_run ()
2653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2654 if { { ac_try="$ac_link"
2655 case "(($ac_try" in
2656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2657 *) ac_try_echo=$ac_try;;
2658 esac
2659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2660 $as_echo "$ac_try_echo"; } >&5
2661 (eval "$ac_link") 2>&5
2662 ac_status=$?
2663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2664 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2665 { { case "(($ac_try" in
2666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2667 *) ac_try_echo=$ac_try;;
2668 esac
2669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2670 $as_echo "$ac_try_echo"; } >&5
2671 (eval "$ac_try") 2>&5
2672 ac_status=$?
2673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2674 test $ac_status = 0; }; }; then :
2675 ac_retval=0
2676 else
2677 $as_echo "$as_me: program exited with status $ac_status" >&5
2678 $as_echo "$as_me: failed program was:" >&5
2679 sed 's/^/| /' conftest.$ac_ext >&5
2681 ac_retval=$ac_status
2683 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2684 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2685 as_fn_set_status $ac_retval
2687 } # ac_fn_c_try_run
2689 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2690 # -------------------------------------------------------
2691 # Tests whether HEADER exists and can be compiled using the include files in
2692 # INCLUDES, setting the cache variable VAR accordingly.
2693 ac_fn_c_check_header_compile ()
2695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2697 $as_echo_n "checking for $2... " >&6; }
2698 if eval \${$3+:} false; then :
2699 $as_echo_n "(cached) " >&6
2700 else
2701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2702 /* end confdefs.h. */
2704 #include <$2>
2705 _ACEOF
2706 if ac_fn_c_try_compile "$LINENO"; then :
2707 eval "$3=yes"
2708 else
2709 eval "$3=no"
2711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2713 eval ac_res=\$$3
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2715 $as_echo "$ac_res" >&6; }
2716 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2718 } # ac_fn_c_check_header_compile
2720 # ac_fn_c_check_func LINENO FUNC VAR
2721 # ----------------------------------
2722 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2723 ac_fn_c_check_func ()
2725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2727 $as_echo_n "checking for $2... " >&6; }
2728 if eval \${$3+:} false; then :
2729 $as_echo_n "(cached) " >&6
2730 else
2731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2732 /* end confdefs.h. */
2733 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2735 #define $2 innocuous_$2
2737 /* System header to define __stub macros and hopefully few prototypes,
2738 which can conflict with char $2 (); below.
2739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2740 <limits.h> exists even on freestanding compilers. */
2742 #ifdef __STDC__
2743 # include <limits.h>
2744 #else
2745 # include <assert.h>
2746 #endif
2748 #undef $2
2750 /* Override any GCC internal prototype to avoid an error.
2751 Use char because int might match the return type of a GCC
2752 builtin and then its argument prototype would still apply. */
2753 #ifdef __cplusplus
2754 extern "C"
2755 #endif
2756 char $2 ();
2757 /* The GNU C library defines this for functions which it implements
2758 to always fail with ENOSYS. Some functions are actually named
2759 something starting with __ and the normal name is an alias. */
2760 #if defined __stub_$2 || defined __stub___$2
2761 choke me
2762 #endif
2765 main ()
2767 return $2 ();
2769 return 0;
2771 _ACEOF
2772 if ac_fn_c_try_link "$LINENO"; then :
2773 eval "$3=yes"
2774 else
2775 eval "$3=no"
2777 rm -f core conftest.err conftest.$ac_objext \
2778 conftest$ac_exeext conftest.$ac_ext
2780 eval ac_res=\$$3
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2782 $as_echo "$ac_res" >&6; }
2783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2785 } # ac_fn_c_check_func
2787 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2788 # ----------------------------------------------------
2789 # Tries to find if the field MEMBER exists in type AGGR, after including
2790 # INCLUDES, setting cache variable VAR accordingly.
2791 ac_fn_c_check_member ()
2793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2795 $as_echo_n "checking for $2.$3... " >&6; }
2796 if eval \${$4+:} false; then :
2797 $as_echo_n "(cached) " >&6
2798 else
2799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2800 /* end confdefs.h. */
2803 main ()
2805 static $2 ac_aggr;
2806 if (ac_aggr.$3)
2807 return 0;
2809 return 0;
2811 _ACEOF
2812 if ac_fn_c_try_compile "$LINENO"; then :
2813 eval "$4=yes"
2814 else
2815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2816 /* end confdefs.h. */
2819 main ()
2821 static $2 ac_aggr;
2822 if (sizeof ac_aggr.$3)
2823 return 0;
2825 return 0;
2827 _ACEOF
2828 if ac_fn_c_try_compile "$LINENO"; then :
2829 eval "$4=yes"
2830 else
2831 eval "$4=no"
2833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2837 eval ac_res=\$$4
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2839 $as_echo "$ac_res" >&6; }
2840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2842 } # ac_fn_c_check_member
2844 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2845 # -------------------------------------------
2846 # Tests whether TYPE exists after having included INCLUDES, setting cache
2847 # variable VAR accordingly.
2848 ac_fn_c_check_type ()
2850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2852 $as_echo_n "checking for $2... " >&6; }
2853 if eval \${$3+:} false; then :
2854 $as_echo_n "(cached) " >&6
2855 else
2856 eval "$3=no"
2857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2858 /* end confdefs.h. */
2861 main ()
2863 if (sizeof ($2))
2864 return 0;
2866 return 0;
2868 _ACEOF
2869 if ac_fn_c_try_compile "$LINENO"; then :
2870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2871 /* end confdefs.h. */
2874 main ()
2876 if (sizeof (($2)))
2877 return 0;
2879 return 0;
2881 _ACEOF
2882 if ac_fn_c_try_compile "$LINENO"; then :
2884 else
2885 eval "$3=yes"
2887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2891 eval ac_res=\$$3
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2893 $as_echo "$ac_res" >&6; }
2894 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2896 } # ac_fn_c_check_type
2897 cat >config.log <<_ACEOF
2898 This file contains any messages produced by compilers while
2899 running configure, to aid debugging if configure makes a mistake.
2901 It was created by Wine $as_me 1.9.1, which was
2902 generated by GNU Autoconf 2.69. Invocation command line was
2904 $ $0 $@
2906 _ACEOF
2907 exec 5>>config.log
2909 cat <<_ASUNAME
2910 ## --------- ##
2911 ## Platform. ##
2912 ## --------- ##
2914 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2915 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2916 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2917 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2918 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2920 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2921 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2923 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2924 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2925 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2926 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2927 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2928 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2929 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2931 _ASUNAME
2933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2934 for as_dir in $PATH
2936 IFS=$as_save_IFS
2937 test -z "$as_dir" && as_dir=.
2938 $as_echo "PATH: $as_dir"
2939 done
2940 IFS=$as_save_IFS
2942 } >&5
2944 cat >&5 <<_ACEOF
2947 ## ----------- ##
2948 ## Core tests. ##
2949 ## ----------- ##
2951 _ACEOF
2954 # Keep a trace of the command line.
2955 # Strip out --no-create and --no-recursion so they do not pile up.
2956 # Strip out --silent because we don't want to record it for future runs.
2957 # Also quote any args containing shell meta-characters.
2958 # Make two passes to allow for proper duplicate-argument suppression.
2959 ac_configure_args=
2960 ac_configure_args0=
2961 ac_configure_args1=
2962 ac_must_keep_next=false
2963 for ac_pass in 1 2
2965 for ac_arg
2967 case $ac_arg in
2968 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2969 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2970 | -silent | --silent | --silen | --sile | --sil)
2971 continue ;;
2972 *\'*)
2973 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2974 esac
2975 case $ac_pass in
2976 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2978 as_fn_append ac_configure_args1 " '$ac_arg'"
2979 if test $ac_must_keep_next = true; then
2980 ac_must_keep_next=false # Got value, back to normal.
2981 else
2982 case $ac_arg in
2983 *=* | --config-cache | -C | -disable-* | --disable-* \
2984 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2985 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2986 | -with-* | --with-* | -without-* | --without-* | --x)
2987 case "$ac_configure_args0 " in
2988 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2989 esac
2991 -* ) ac_must_keep_next=true ;;
2992 esac
2994 as_fn_append ac_configure_args " '$ac_arg'"
2996 esac
2997 done
2998 done
2999 { ac_configure_args0=; unset ac_configure_args0;}
3000 { ac_configure_args1=; unset ac_configure_args1;}
3002 # When interrupted or exit'd, cleanup temporary files, and complete
3003 # config.log. We remove comments because anyway the quotes in there
3004 # would cause problems or look ugly.
3005 # WARNING: Use '\'' to represent an apostrophe within the trap.
3006 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3007 trap 'exit_status=$?
3008 # Save into config.log some information that might help in debugging.
3010 echo
3012 $as_echo "## ---------------- ##
3013 ## Cache variables. ##
3014 ## ---------------- ##"
3015 echo
3016 # The following way of writing the cache mishandles newlines in values,
3018 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3019 eval ac_val=\$$ac_var
3020 case $ac_val in #(
3021 *${as_nl}*)
3022 case $ac_var in #(
3023 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3024 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3025 esac
3026 case $ac_var in #(
3027 _ | IFS | as_nl) ;; #(
3028 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3029 *) { eval $ac_var=; unset $ac_var;} ;;
3030 esac ;;
3031 esac
3032 done
3033 (set) 2>&1 |
3034 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3035 *${as_nl}ac_space=\ *)
3036 sed -n \
3037 "s/'\''/'\''\\\\'\'''\''/g;
3038 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3039 ;; #(
3041 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3043 esac |
3044 sort
3046 echo
3048 $as_echo "## ----------------- ##
3049 ## Output variables. ##
3050 ## ----------------- ##"
3051 echo
3052 for ac_var in $ac_subst_vars
3054 eval ac_val=\$$ac_var
3055 case $ac_val in
3056 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3057 esac
3058 $as_echo "$ac_var='\''$ac_val'\''"
3059 done | sort
3060 echo
3062 if test -n "$ac_subst_files"; then
3063 $as_echo "## ------------------- ##
3064 ## File substitutions. ##
3065 ## ------------------- ##"
3066 echo
3067 for ac_var in $ac_subst_files
3069 eval ac_val=\$$ac_var
3070 case $ac_val in
3071 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3072 esac
3073 $as_echo "$ac_var='\''$ac_val'\''"
3074 done | sort
3075 echo
3078 if test -s confdefs.h; then
3079 $as_echo "## ----------- ##
3080 ## confdefs.h. ##
3081 ## ----------- ##"
3082 echo
3083 cat confdefs.h
3084 echo
3086 test "$ac_signal" != 0 &&
3087 $as_echo "$as_me: caught signal $ac_signal"
3088 $as_echo "$as_me: exit $exit_status"
3089 } >&5
3090 rm -f core *.core core.conftest.* &&
3091 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3092 exit $exit_status
3094 for ac_signal in 1 2 13 15; do
3095 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3096 done
3097 ac_signal=0
3099 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3100 rm -f -r conftest* confdefs.h
3102 $as_echo "/* confdefs.h */" > confdefs.h
3104 # Predefined preprocessor variables.
3106 cat >>confdefs.h <<_ACEOF
3107 #define PACKAGE_NAME "$PACKAGE_NAME"
3108 _ACEOF
3110 cat >>confdefs.h <<_ACEOF
3111 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3112 _ACEOF
3114 cat >>confdefs.h <<_ACEOF
3115 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3116 _ACEOF
3118 cat >>confdefs.h <<_ACEOF
3119 #define PACKAGE_STRING "$PACKAGE_STRING"
3120 _ACEOF
3122 cat >>confdefs.h <<_ACEOF
3123 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3124 _ACEOF
3126 cat >>confdefs.h <<_ACEOF
3127 #define PACKAGE_URL "$PACKAGE_URL"
3128 _ACEOF
3131 # Let the site file select an alternate cache file if it wants to.
3132 # Prefer an explicitly selected file to automatically selected ones.
3133 ac_site_file1=NONE
3134 ac_site_file2=NONE
3135 if test -n "$CONFIG_SITE"; then
3136 # We do not want a PATH search for config.site.
3137 case $CONFIG_SITE in #((
3138 -*) ac_site_file1=./$CONFIG_SITE;;
3139 */*) ac_site_file1=$CONFIG_SITE;;
3140 *) ac_site_file1=./$CONFIG_SITE;;
3141 esac
3142 elif test "x$prefix" != xNONE; then
3143 ac_site_file1=$prefix/share/config.site
3144 ac_site_file2=$prefix/etc/config.site
3145 else
3146 ac_site_file1=$ac_default_prefix/share/config.site
3147 ac_site_file2=$ac_default_prefix/etc/config.site
3149 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3151 test "x$ac_site_file" = xNONE && continue
3152 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3154 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3155 sed 's/^/| /' "$ac_site_file" >&5
3156 . "$ac_site_file" \
3157 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3159 as_fn_error $? "failed to load site script $ac_site_file
3160 See \`config.log' for more details" "$LINENO" 5; }
3162 done
3164 if test -r "$cache_file"; then
3165 # Some versions of bash will fail to source /dev/null (special files
3166 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3167 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3169 $as_echo "$as_me: loading cache $cache_file" >&6;}
3170 case $cache_file in
3171 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3172 *) . "./$cache_file";;
3173 esac
3175 else
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3177 $as_echo "$as_me: creating cache $cache_file" >&6;}
3178 >$cache_file
3181 # Check that the precious variables saved in the cache have kept the same
3182 # value.
3183 ac_cache_corrupted=false
3184 for ac_var in $ac_precious_vars; do
3185 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3186 eval ac_new_set=\$ac_env_${ac_var}_set
3187 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3188 eval ac_new_val=\$ac_env_${ac_var}_value
3189 case $ac_old_set,$ac_new_set in
3190 set,)
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3192 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3193 ac_cache_corrupted=: ;;
3194 ,set)
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3196 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3197 ac_cache_corrupted=: ;;
3198 ,);;
3200 if test "x$ac_old_val" != "x$ac_new_val"; then
3201 # differences in whitespace do not lead to failure.
3202 ac_old_val_w=`echo x $ac_old_val`
3203 ac_new_val_w=`echo x $ac_new_val`
3204 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3206 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3207 ac_cache_corrupted=:
3208 else
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3210 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3211 eval $ac_var=\$ac_old_val
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3214 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3216 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3217 fi;;
3218 esac
3219 # Pass precious variables to config.status.
3220 if test "$ac_new_set" = set; then
3221 case $ac_new_val in
3222 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3223 *) ac_arg=$ac_var=$ac_new_val ;;
3224 esac
3225 case " $ac_configure_args " in
3226 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3227 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3228 esac
3230 done
3231 if $ac_cache_corrupted; then
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3235 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3236 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3238 ## -------------------- ##
3239 ## Main body of script. ##
3240 ## -------------------- ##
3242 ac_ext=c
3243 ac_cpp='$CPP $CPPFLAGS'
3244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3250 ac_config_headers="$ac_config_headers include/config.h"
3252 ac_aux_dir=
3253 for ac_dir in tools "$srcdir"/tools; do
3254 if test -f "$ac_dir/install-sh"; then
3255 ac_aux_dir=$ac_dir
3256 ac_install_sh="$ac_aux_dir/install-sh -c"
3257 break
3258 elif test -f "$ac_dir/install.sh"; then
3259 ac_aux_dir=$ac_dir
3260 ac_install_sh="$ac_aux_dir/install.sh -c"
3261 break
3262 elif test -f "$ac_dir/shtool"; then
3263 ac_aux_dir=$ac_dir
3264 ac_install_sh="$ac_aux_dir/shtool install -c"
3265 break
3267 done
3268 if test -z "$ac_aux_dir"; then
3269 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3272 # These three variables are undocumented and unsupported,
3273 # and are intended to be withdrawn in a future Autoconf release.
3274 # They can cause serious problems if a builder's source tree is in a directory
3275 # whose full name contains unusual characters.
3276 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3277 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3278 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3282 libwine_version="1.0"
3286 # Check whether --enable-win16 was given.
3287 if test "${enable_win16+set}" = set; then :
3288 enableval=$enable_win16;
3291 # Check whether --enable-win64 was given.
3292 if test "${enable_win64+set}" = set; then :
3293 enableval=$enable_win64;
3296 # Check whether --enable-tests was given.
3297 if test "${enable_tests+set}" = set; then :
3298 enableval=$enable_tests;
3301 # Check whether --enable-maintainer-mode was given.
3302 if test "${enable_maintainer_mode+set}" = set; then :
3303 enableval=$enable_maintainer_mode;
3308 # Check whether --with-alsa was given.
3309 if test "${with_alsa+set}" = set; then :
3310 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3314 # Check whether --with-capi was given.
3315 if test "${with_capi+set}" = set; then :
3316 withval=$with_capi;
3320 # Check whether --with-cms was given.
3321 if test "${with_cms+set}" = set; then :
3322 withval=$with_cms;
3326 # Check whether --with-coreaudio was given.
3327 if test "${with_coreaudio+set}" = set; then :
3328 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3332 # Check whether --with-cups was given.
3333 if test "${with_cups+set}" = set; then :
3334 withval=$with_cups;
3338 # Check whether --with-curses was given.
3339 if test "${with_curses+set}" = set; then :
3340 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3344 # Check whether --with-dbus was given.
3345 if test "${with_dbus+set}" = set; then :
3346 withval=$with_dbus;
3350 # Check whether --with-fontconfig was given.
3351 if test "${with_fontconfig+set}" = set; then :
3352 withval=$with_fontconfig;
3356 # Check whether --with-freetype was given.
3357 if test "${with_freetype+set}" = set; then :
3358 withval=$with_freetype;
3362 # Check whether --with-gettext was given.
3363 if test "${with_gettext+set}" = set; then :
3364 withval=$with_gettext;
3368 # Check whether --with-gettextpo was given.
3369 if test "${with_gettextpo+set}" = set; then :
3370 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3374 # Check whether --with-gphoto was given.
3375 if test "${with_gphoto+set}" = set; then :
3376 withval=$with_gphoto;
3380 # Check whether --with-glu was given.
3381 if test "${with_glu+set}" = set; then :
3382 withval=$with_glu;
3386 # Check whether --with-gnutls was given.
3387 if test "${with_gnutls+set}" = set; then :
3388 withval=$with_gnutls;
3392 # Check whether --with-gsm was given.
3393 if test "${with_gsm+set}" = set; then :
3394 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3398 # Check whether --with-gstreamer was given.
3399 if test "${with_gstreamer+set}" = set; then :
3400 withval=$with_gstreamer;
3404 # Check whether --with-hal was given.
3405 if test "${with_hal+set}" = set; then :
3406 withval=$with_hal;
3410 # Check whether --with-jpeg was given.
3411 if test "${with_jpeg+set}" = set; then :
3412 withval=$with_jpeg;
3416 # Check whether --with-ldap was given.
3417 if test "${with_ldap+set}" = set; then :
3418 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3422 # Check whether --with-mpg123 was given.
3423 if test "${with_mpg123+set}" = set; then :
3424 withval=$with_mpg123;
3428 # Check whether --with-netapi was given.
3429 if test "${with_netapi+set}" = set; then :
3430 withval=$with_netapi;
3434 # Check whether --with-openal was given.
3435 if test "${with_openal+set}" = set; then :
3436 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3440 # Check whether --with-opencl was given.
3441 if test "${with_opencl+set}" = set; then :
3442 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3446 # Check whether --with-opengl was given.
3447 if test "${with_opengl+set}" = set; then :
3448 withval=$with_opengl;
3452 # Check whether --with-osmesa was given.
3453 if test "${with_osmesa+set}" = set; then :
3454 withval=$with_osmesa;
3458 # Check whether --with-oss was given.
3459 if test "${with_oss+set}" = set; then :
3460 withval=$with_oss;
3464 # Check whether --with-pcap was given.
3465 if test "${with_pcap+set}" = set; then :
3466 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3470 # Check whether --with-png was given.
3471 if test "${with_png+set}" = set; then :
3472 withval=$with_png;
3476 # Check whether --with-pthread was given.
3477 if test "${with_pthread+set}" = set; then :
3478 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3482 # Check whether --with-pulse was given.
3483 if test "${with_pulse+set}" = set; then :
3484 withval=$with_pulse;
3488 # Check whether --with-sane was given.
3489 if test "${with_sane+set}" = set; then :
3490 withval=$with_sane;
3494 # Check whether --with-tiff was given.
3495 if test "${with_tiff+set}" = set; then :
3496 withval=$with_tiff;
3500 # Check whether --with-v4l was given.
3501 if test "${with_v4l+set}" = set; then :
3502 withval=$with_v4l;
3506 # Check whether --with-xcomposite was given.
3507 if test "${with_xcomposite+set}" = set; then :
3508 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3512 # Check whether --with-xcursor was given.
3513 if test "${with_xcursor+set}" = set; then :
3514 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3518 # Check whether --with-xinerama was given.
3519 if test "${with_xinerama+set}" = set; then :
3520 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3524 # Check whether --with-xinput was given.
3525 if test "${with_xinput+set}" = set; then :
3526 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3530 # Check whether --with-xinput2 was given.
3531 if test "${with_xinput2+set}" = set; then :
3532 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3536 # Check whether --with-xml was given.
3537 if test "${with_xml+set}" = set; then :
3538 withval=$with_xml;
3542 # Check whether --with-xrandr was given.
3543 if test "${with_xrandr+set}" = set; then :
3544 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3548 # Check whether --with-xrender was given.
3549 if test "${with_xrender+set}" = set; then :
3550 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3554 # Check whether --with-xshape was given.
3555 if test "${with_xshape+set}" = set; then :
3556 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3560 # Check whether --with-xshm was given.
3561 if test "${with_xshm+set}" = set; then :
3562 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3566 # Check whether --with-xslt was given.
3567 if test "${with_xslt+set}" = set; then :
3568 withval=$with_xslt;
3572 # Check whether --with-xxf86vm was given.
3573 if test "${with_xxf86vm+set}" = set; then :
3574 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
3578 # Check whether --with-zlib was given.
3579 if test "${with_zlib+set}" = set; then :
3580 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3585 # Check whether --with-wine-tools was given.
3586 if test "${with_wine_tools+set}" = set; then :
3587 withval=$with_wine_tools;
3591 # Check whether --with-wine64 was given.
3592 if test "${with_wine64+set}" = set; then :
3593 withval=$with_wine64;
3597 # Make sure we can run config.sub.
3598 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3599 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3602 $as_echo_n "checking build system type... " >&6; }
3603 if ${ac_cv_build+:} false; then :
3604 $as_echo_n "(cached) " >&6
3605 else
3606 ac_build_alias=$build_alias
3607 test "x$ac_build_alias" = x &&
3608 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3609 test "x$ac_build_alias" = x &&
3610 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3611 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3612 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3616 $as_echo "$ac_cv_build" >&6; }
3617 case $ac_cv_build in
3618 *-*-*) ;;
3619 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3620 esac
3621 build=$ac_cv_build
3622 ac_save_IFS=$IFS; IFS='-'
3623 set x $ac_cv_build
3624 shift
3625 build_cpu=$1
3626 build_vendor=$2
3627 shift; shift
3628 # Remember, the first character of IFS is used to create $*,
3629 # except with old shells:
3630 build_os=$*
3631 IFS=$ac_save_IFS
3632 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3636 $as_echo_n "checking host system type... " >&6; }
3637 if ${ac_cv_host+:} false; then :
3638 $as_echo_n "(cached) " >&6
3639 else
3640 if test "x$host_alias" = x; then
3641 ac_cv_host=$ac_cv_build
3642 else
3643 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3644 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3649 $as_echo "$ac_cv_host" >&6; }
3650 case $ac_cv_host in
3651 *-*-*) ;;
3652 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3653 esac
3654 host=$ac_cv_host
3655 ac_save_IFS=$IFS; IFS='-'
3656 set x $ac_cv_host
3657 shift
3658 host_cpu=$1
3659 host_vendor=$2
3660 shift; shift
3661 # Remember, the first character of IFS is used to create $*,
3662 # except with old shells:
3663 host_os=$*
3664 IFS=$ac_save_IFS
3665 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3669 case "$srcdir" in
3670 .) ;;
3671 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3672 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3673 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3674 fi ;;
3675 esac
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3679 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3680 set x ${MAKE-make}
3681 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3682 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3683 $as_echo_n "(cached) " >&6
3684 else
3685 cat >conftest.make <<\_ACEOF
3686 SHELL = /bin/sh
3687 all:
3688 @echo '@@@%%%=$(MAKE)=@@@%%%'
3689 _ACEOF
3690 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3691 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3692 *@@@%%%=?*=@@@%%%*)
3693 eval ac_cv_prog_make_${ac_make}_set=yes;;
3695 eval ac_cv_prog_make_${ac_make}_set=no;;
3696 esac
3697 rm -f conftest.make
3699 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3701 $as_echo "yes" >&6; }
3702 SET_MAKE=
3703 else
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3705 $as_echo "no" >&6; }
3706 SET_MAKE="MAKE=${MAKE-make}"
3709 ac_ext=c
3710 ac_cpp='$CPP $CPPFLAGS'
3711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3714 if test -n "$ac_tool_prefix"; then
3715 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3716 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3718 $as_echo_n "checking for $ac_word... " >&6; }
3719 if ${ac_cv_prog_CC+:} false; then :
3720 $as_echo_n "(cached) " >&6
3721 else
3722 if test -n "$CC"; then
3723 ac_cv_prog_CC="$CC" # Let the user override the test.
3724 else
3725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3726 for as_dir in $PATH
3728 IFS=$as_save_IFS
3729 test -z "$as_dir" && as_dir=.
3730 for ac_exec_ext in '' $ac_executable_extensions; do
3731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3732 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3734 break 2
3736 done
3737 done
3738 IFS=$as_save_IFS
3742 CC=$ac_cv_prog_CC
3743 if test -n "$CC"; then
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3745 $as_echo "$CC" >&6; }
3746 else
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3748 $as_echo "no" >&6; }
3753 if test -z "$ac_cv_prog_CC"; then
3754 ac_ct_CC=$CC
3755 # Extract the first word of "gcc", so it can be a program name with args.
3756 set dummy gcc; ac_word=$2
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3758 $as_echo_n "checking for $ac_word... " >&6; }
3759 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3760 $as_echo_n "(cached) " >&6
3761 else
3762 if test -n "$ac_ct_CC"; then
3763 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3764 else
3765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3766 for as_dir in $PATH
3768 IFS=$as_save_IFS
3769 test -z "$as_dir" && as_dir=.
3770 for ac_exec_ext in '' $ac_executable_extensions; do
3771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3772 ac_cv_prog_ac_ct_CC="gcc"
3773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3774 break 2
3776 done
3777 done
3778 IFS=$as_save_IFS
3782 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3783 if test -n "$ac_ct_CC"; then
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3785 $as_echo "$ac_ct_CC" >&6; }
3786 else
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3788 $as_echo "no" >&6; }
3791 if test "x$ac_ct_CC" = x; then
3792 CC=""
3793 else
3794 case $cross_compiling:$ac_tool_warned in
3795 yes:)
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3798 ac_tool_warned=yes ;;
3799 esac
3800 CC=$ac_ct_CC
3802 else
3803 CC="$ac_cv_prog_CC"
3806 if test -z "$CC"; then
3807 if test -n "$ac_tool_prefix"; then
3808 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3809 set dummy ${ac_tool_prefix}cc; ac_word=$2
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3811 $as_echo_n "checking for $ac_word... " >&6; }
3812 if ${ac_cv_prog_CC+:} false; then :
3813 $as_echo_n "(cached) " >&6
3814 else
3815 if test -n "$CC"; then
3816 ac_cv_prog_CC="$CC" # Let the user override the test.
3817 else
3818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3819 for as_dir in $PATH
3821 IFS=$as_save_IFS
3822 test -z "$as_dir" && as_dir=.
3823 for ac_exec_ext in '' $ac_executable_extensions; do
3824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3825 ac_cv_prog_CC="${ac_tool_prefix}cc"
3826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3827 break 2
3829 done
3830 done
3831 IFS=$as_save_IFS
3835 CC=$ac_cv_prog_CC
3836 if test -n "$CC"; then
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3838 $as_echo "$CC" >&6; }
3839 else
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3841 $as_echo "no" >&6; }
3847 if test -z "$CC"; then
3848 # Extract the first word of "cc", so it can be a program name with args.
3849 set dummy cc; ac_word=$2
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3851 $as_echo_n "checking for $ac_word... " >&6; }
3852 if ${ac_cv_prog_CC+:} false; then :
3853 $as_echo_n "(cached) " >&6
3854 else
3855 if test -n "$CC"; then
3856 ac_cv_prog_CC="$CC" # Let the user override the test.
3857 else
3858 ac_prog_rejected=no
3859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3860 for as_dir in $PATH
3862 IFS=$as_save_IFS
3863 test -z "$as_dir" && as_dir=.
3864 for ac_exec_ext in '' $ac_executable_extensions; do
3865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3866 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3867 ac_prog_rejected=yes
3868 continue
3870 ac_cv_prog_CC="cc"
3871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3872 break 2
3874 done
3875 done
3876 IFS=$as_save_IFS
3878 if test $ac_prog_rejected = yes; then
3879 # We found a bogon in the path, so make sure we never use it.
3880 set dummy $ac_cv_prog_CC
3881 shift
3882 if test $# != 0; then
3883 # We chose a different compiler from the bogus one.
3884 # However, it has the same basename, so the bogon will be chosen
3885 # first if we set CC to just the basename; use the full file name.
3886 shift
3887 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3892 CC=$ac_cv_prog_CC
3893 if test -n "$CC"; then
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3895 $as_echo "$CC" >&6; }
3896 else
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3898 $as_echo "no" >&6; }
3903 if test -z "$CC"; then
3904 if test -n "$ac_tool_prefix"; then
3905 for ac_prog in cl.exe
3907 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3908 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3910 $as_echo_n "checking for $ac_word... " >&6; }
3911 if ${ac_cv_prog_CC+:} false; then :
3912 $as_echo_n "(cached) " >&6
3913 else
3914 if test -n "$CC"; then
3915 ac_cv_prog_CC="$CC" # Let the user override the test.
3916 else
3917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3918 for as_dir in $PATH
3920 IFS=$as_save_IFS
3921 test -z "$as_dir" && as_dir=.
3922 for ac_exec_ext in '' $ac_executable_extensions; do
3923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3924 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3926 break 2
3928 done
3929 done
3930 IFS=$as_save_IFS
3934 CC=$ac_cv_prog_CC
3935 if test -n "$CC"; then
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3937 $as_echo "$CC" >&6; }
3938 else
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3940 $as_echo "no" >&6; }
3944 test -n "$CC" && break
3945 done
3947 if test -z "$CC"; then
3948 ac_ct_CC=$CC
3949 for ac_prog in cl.exe
3951 # Extract the first word of "$ac_prog", so it can be a program name with args.
3952 set dummy $ac_prog; ac_word=$2
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3954 $as_echo_n "checking for $ac_word... " >&6; }
3955 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3956 $as_echo_n "(cached) " >&6
3957 else
3958 if test -n "$ac_ct_CC"; then
3959 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3960 else
3961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3962 for as_dir in $PATH
3964 IFS=$as_save_IFS
3965 test -z "$as_dir" && as_dir=.
3966 for ac_exec_ext in '' $ac_executable_extensions; do
3967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3968 ac_cv_prog_ac_ct_CC="$ac_prog"
3969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3970 break 2
3972 done
3973 done
3974 IFS=$as_save_IFS
3978 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3979 if test -n "$ac_ct_CC"; then
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3981 $as_echo "$ac_ct_CC" >&6; }
3982 else
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3984 $as_echo "no" >&6; }
3988 test -n "$ac_ct_CC" && break
3989 done
3991 if test "x$ac_ct_CC" = x; then
3992 CC=""
3993 else
3994 case $cross_compiling:$ac_tool_warned in
3995 yes:)
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3998 ac_tool_warned=yes ;;
3999 esac
4000 CC=$ac_ct_CC
4007 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4009 as_fn_error $? "no acceptable C compiler found in \$PATH
4010 See \`config.log' for more details" "$LINENO" 5; }
4012 # Provide some information about the compiler.
4013 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4014 set X $ac_compile
4015 ac_compiler=$2
4016 for ac_option in --version -v -V -qversion; do
4017 { { ac_try="$ac_compiler $ac_option >&5"
4018 case "(($ac_try" in
4019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4020 *) ac_try_echo=$ac_try;;
4021 esac
4022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4023 $as_echo "$ac_try_echo"; } >&5
4024 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4025 ac_status=$?
4026 if test -s conftest.err; then
4027 sed '10a\
4028 ... rest of stderr output deleted ...
4029 10q' conftest.err >conftest.er1
4030 cat conftest.er1 >&5
4032 rm -f conftest.er1 conftest.err
4033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4034 test $ac_status = 0; }
4035 done
4037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4038 /* end confdefs.h. */
4041 main ()
4045 return 0;
4047 _ACEOF
4048 ac_clean_files_save=$ac_clean_files
4049 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4050 # Try to create an executable without -o first, disregard a.out.
4051 # It will help us diagnose broken compilers, and finding out an intuition
4052 # of exeext.
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4054 $as_echo_n "checking whether the C compiler works... " >&6; }
4055 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4057 # The possible output files:
4058 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4060 ac_rmfiles=
4061 for ac_file in $ac_files
4063 case $ac_file in
4064 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4065 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4066 esac
4067 done
4068 rm -f $ac_rmfiles
4070 if { { ac_try="$ac_link_default"
4071 case "(($ac_try" in
4072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4073 *) ac_try_echo=$ac_try;;
4074 esac
4075 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4076 $as_echo "$ac_try_echo"; } >&5
4077 (eval "$ac_link_default") 2>&5
4078 ac_status=$?
4079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4080 test $ac_status = 0; }; then :
4081 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4082 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4083 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4084 # so that the user can short-circuit this test for compilers unknown to
4085 # Autoconf.
4086 for ac_file in $ac_files ''
4088 test -f "$ac_file" || continue
4089 case $ac_file in
4090 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4092 [ab].out )
4093 # We found the default executable, but exeext='' is most
4094 # certainly right.
4095 break;;
4096 *.* )
4097 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4098 then :; else
4099 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4101 # We set ac_cv_exeext here because the later test for it is not
4102 # safe: cross compilers may not add the suffix if given an `-o'
4103 # argument, so we may need to know it at that point already.
4104 # Even if this section looks crufty: it has the advantage of
4105 # actually working.
4106 break;;
4108 break;;
4109 esac
4110 done
4111 test "$ac_cv_exeext" = no && ac_cv_exeext=
4113 else
4114 ac_file=''
4116 if test -z "$ac_file"; then :
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4118 $as_echo "no" >&6; }
4119 $as_echo "$as_me: failed program was:" >&5
4120 sed 's/^/| /' conftest.$ac_ext >&5
4122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4124 as_fn_error 77 "C compiler cannot create executables
4125 See \`config.log' for more details" "$LINENO" 5; }
4126 else
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4128 $as_echo "yes" >&6; }
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4131 $as_echo_n "checking for C compiler default output file name... " >&6; }
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4133 $as_echo "$ac_file" >&6; }
4134 ac_exeext=$ac_cv_exeext
4136 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4137 ac_clean_files=$ac_clean_files_save
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4139 $as_echo_n "checking for suffix of executables... " >&6; }
4140 if { { ac_try="$ac_link"
4141 case "(($ac_try" in
4142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4143 *) ac_try_echo=$ac_try;;
4144 esac
4145 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4146 $as_echo "$ac_try_echo"; } >&5
4147 (eval "$ac_link") 2>&5
4148 ac_status=$?
4149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4150 test $ac_status = 0; }; then :
4151 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4152 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4153 # work properly (i.e., refer to `conftest.exe'), while it won't with
4154 # `rm'.
4155 for ac_file in conftest.exe conftest conftest.*; do
4156 test -f "$ac_file" || continue
4157 case $ac_file in
4158 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4159 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4160 break;;
4161 * ) break;;
4162 esac
4163 done
4164 else
4165 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4167 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4168 See \`config.log' for more details" "$LINENO" 5; }
4170 rm -f conftest conftest$ac_cv_exeext
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4172 $as_echo "$ac_cv_exeext" >&6; }
4174 rm -f conftest.$ac_ext
4175 EXEEXT=$ac_cv_exeext
4176 ac_exeext=$EXEEXT
4177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4178 /* end confdefs.h. */
4179 #include <stdio.h>
4181 main ()
4183 FILE *f = fopen ("conftest.out", "w");
4184 return ferror (f) || fclose (f) != 0;
4187 return 0;
4189 _ACEOF
4190 ac_clean_files="$ac_clean_files conftest.out"
4191 # Check that the compiler produces executables we can run. If not, either
4192 # the compiler is broken, or we cross compile.
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4194 $as_echo_n "checking whether we are cross compiling... " >&6; }
4195 if test "$cross_compiling" != yes; then
4196 { { ac_try="$ac_link"
4197 case "(($ac_try" in
4198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4199 *) ac_try_echo=$ac_try;;
4200 esac
4201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4202 $as_echo "$ac_try_echo"; } >&5
4203 (eval "$ac_link") 2>&5
4204 ac_status=$?
4205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4206 test $ac_status = 0; }
4207 if { ac_try='./conftest$ac_cv_exeext'
4208 { { case "(($ac_try" in
4209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4210 *) ac_try_echo=$ac_try;;
4211 esac
4212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4213 $as_echo "$ac_try_echo"; } >&5
4214 (eval "$ac_try") 2>&5
4215 ac_status=$?
4216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4217 test $ac_status = 0; }; }; then
4218 cross_compiling=no
4219 else
4220 if test "$cross_compiling" = maybe; then
4221 cross_compiling=yes
4222 else
4223 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4225 as_fn_error $? "cannot run C compiled programs.
4226 If you meant to cross compile, use \`--host'.
4227 See \`config.log' for more details" "$LINENO" 5; }
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4232 $as_echo "$cross_compiling" >&6; }
4234 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4235 ac_clean_files=$ac_clean_files_save
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4237 $as_echo_n "checking for suffix of object files... " >&6; }
4238 if ${ac_cv_objext+:} false; then :
4239 $as_echo_n "(cached) " >&6
4240 else
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4245 main ()
4249 return 0;
4251 _ACEOF
4252 rm -f conftest.o conftest.obj
4253 if { { ac_try="$ac_compile"
4254 case "(($ac_try" in
4255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4256 *) ac_try_echo=$ac_try;;
4257 esac
4258 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4259 $as_echo "$ac_try_echo"; } >&5
4260 (eval "$ac_compile") 2>&5
4261 ac_status=$?
4262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4263 test $ac_status = 0; }; then :
4264 for ac_file in conftest.o conftest.obj conftest.*; do
4265 test -f "$ac_file" || continue;
4266 case $ac_file in
4267 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4268 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4269 break;;
4270 esac
4271 done
4272 else
4273 $as_echo "$as_me: failed program was:" >&5
4274 sed 's/^/| /' conftest.$ac_ext >&5
4276 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4278 as_fn_error $? "cannot compute suffix of object files: cannot compile
4279 See \`config.log' for more details" "$LINENO" 5; }
4281 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4284 $as_echo "$ac_cv_objext" >&6; }
4285 OBJEXT=$ac_cv_objext
4286 ac_objext=$OBJEXT
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4288 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4289 if ${ac_cv_c_compiler_gnu+:} false; then :
4290 $as_echo_n "(cached) " >&6
4291 else
4292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4293 /* end confdefs.h. */
4296 main ()
4298 #ifndef __GNUC__
4299 choke me
4300 #endif
4303 return 0;
4305 _ACEOF
4306 if ac_fn_c_try_compile "$LINENO"; then :
4307 ac_compiler_gnu=yes
4308 else
4309 ac_compiler_gnu=no
4311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4312 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4316 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4317 if test $ac_compiler_gnu = yes; then
4318 GCC=yes
4319 else
4320 GCC=
4322 ac_test_CFLAGS=${CFLAGS+set}
4323 ac_save_CFLAGS=$CFLAGS
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4325 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4326 if ${ac_cv_prog_cc_g+:} false; then :
4327 $as_echo_n "(cached) " >&6
4328 else
4329 ac_save_c_werror_flag=$ac_c_werror_flag
4330 ac_c_werror_flag=yes
4331 ac_cv_prog_cc_g=no
4332 CFLAGS="-g"
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4337 main ()
4341 return 0;
4343 _ACEOF
4344 if ac_fn_c_try_compile "$LINENO"; then :
4345 ac_cv_prog_cc_g=yes
4346 else
4347 CFLAGS=""
4348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h. */
4352 main ()
4356 return 0;
4358 _ACEOF
4359 if ac_fn_c_try_compile "$LINENO"; then :
4361 else
4362 ac_c_werror_flag=$ac_save_c_werror_flag
4363 CFLAGS="-g"
4364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4365 /* end confdefs.h. */
4368 main ()
4372 return 0;
4374 _ACEOF
4375 if ac_fn_c_try_compile "$LINENO"; then :
4376 ac_cv_prog_cc_g=yes
4378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4383 ac_c_werror_flag=$ac_save_c_werror_flag
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4386 $as_echo "$ac_cv_prog_cc_g" >&6; }
4387 if test "$ac_test_CFLAGS" = set; then
4388 CFLAGS=$ac_save_CFLAGS
4389 elif test $ac_cv_prog_cc_g = yes; then
4390 if test "$GCC" = yes; then
4391 CFLAGS="-g -O2"
4392 else
4393 CFLAGS="-g"
4395 else
4396 if test "$GCC" = yes; then
4397 CFLAGS="-O2"
4398 else
4399 CFLAGS=
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4403 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4404 if ${ac_cv_prog_cc_c89+:} false; then :
4405 $as_echo_n "(cached) " >&6
4406 else
4407 ac_cv_prog_cc_c89=no
4408 ac_save_CC=$CC
4409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4411 #include <stdarg.h>
4412 #include <stdio.h>
4413 struct stat;
4414 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4415 struct buf { int x; };
4416 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4417 static char *e (p, i)
4418 char **p;
4419 int i;
4421 return p[i];
4423 static char *f (char * (*g) (char **, int), char **p, ...)
4425 char *s;
4426 va_list v;
4427 va_start (v,p);
4428 s = g (p, va_arg (v,int));
4429 va_end (v);
4430 return s;
4433 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4434 function prototypes and stuff, but not '\xHH' hex character constants.
4435 These don't provoke an error unfortunately, instead are silently treated
4436 as 'x'. The following induces an error, until -std is added to get
4437 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4438 array size at least. It's necessary to write '\x00'==0 to get something
4439 that's true only with -std. */
4440 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4442 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4443 inside strings and character constants. */
4444 #define FOO(x) 'x'
4445 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4447 int test (int i, double x);
4448 struct s1 {int (*f) (int a);};
4449 struct s2 {int (*f) (double a);};
4450 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4451 int argc;
4452 char **argv;
4454 main ()
4456 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4458 return 0;
4460 _ACEOF
4461 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4462 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4464 CC="$ac_save_CC $ac_arg"
4465 if ac_fn_c_try_compile "$LINENO"; then :
4466 ac_cv_prog_cc_c89=$ac_arg
4468 rm -f core conftest.err conftest.$ac_objext
4469 test "x$ac_cv_prog_cc_c89" != "xno" && break
4470 done
4471 rm -f conftest.$ac_ext
4472 CC=$ac_save_CC
4475 # AC_CACHE_VAL
4476 case "x$ac_cv_prog_cc_c89" in
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4479 $as_echo "none needed" >&6; } ;;
4480 xno)
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4482 $as_echo "unsupported" >&6; } ;;
4484 CC="$CC $ac_cv_prog_cc_c89"
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4486 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4487 esac
4488 if test "x$ac_cv_prog_cc_c89" != xno; then :
4492 ac_ext=c
4493 ac_cpp='$CPP $CPPFLAGS'
4494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4498 ac_ext=cpp
4499 ac_cpp='$CXXCPP $CPPFLAGS'
4500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4503 if test -z "$CXX"; then
4504 if test -n "$CCC"; then
4505 CXX=$CCC
4506 else
4507 if test -n "$ac_tool_prefix"; then
4508 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4510 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4511 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4513 $as_echo_n "checking for $ac_word... " >&6; }
4514 if ${ac_cv_prog_CXX+:} false; then :
4515 $as_echo_n "(cached) " >&6
4516 else
4517 if test -n "$CXX"; then
4518 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4519 else
4520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4521 for as_dir in $PATH
4523 IFS=$as_save_IFS
4524 test -z "$as_dir" && as_dir=.
4525 for ac_exec_ext in '' $ac_executable_extensions; do
4526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4527 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4529 break 2
4531 done
4532 done
4533 IFS=$as_save_IFS
4537 CXX=$ac_cv_prog_CXX
4538 if test -n "$CXX"; then
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4540 $as_echo "$CXX" >&6; }
4541 else
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4543 $as_echo "no" >&6; }
4547 test -n "$CXX" && break
4548 done
4550 if test -z "$CXX"; then
4551 ac_ct_CXX=$CXX
4552 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4554 # Extract the first word of "$ac_prog", so it can be a program name with args.
4555 set dummy $ac_prog; ac_word=$2
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4557 $as_echo_n "checking for $ac_word... " >&6; }
4558 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4559 $as_echo_n "(cached) " >&6
4560 else
4561 if test -n "$ac_ct_CXX"; then
4562 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4563 else
4564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4565 for as_dir in $PATH
4567 IFS=$as_save_IFS
4568 test -z "$as_dir" && as_dir=.
4569 for ac_exec_ext in '' $ac_executable_extensions; do
4570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4571 ac_cv_prog_ac_ct_CXX="$ac_prog"
4572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4573 break 2
4575 done
4576 done
4577 IFS=$as_save_IFS
4581 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4582 if test -n "$ac_ct_CXX"; then
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4584 $as_echo "$ac_ct_CXX" >&6; }
4585 else
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4587 $as_echo "no" >&6; }
4591 test -n "$ac_ct_CXX" && break
4592 done
4594 if test "x$ac_ct_CXX" = x; then
4595 CXX="g++"
4596 else
4597 case $cross_compiling:$ac_tool_warned in
4598 yes:)
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4601 ac_tool_warned=yes ;;
4602 esac
4603 CXX=$ac_ct_CXX
4609 # Provide some information about the compiler.
4610 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4611 set X $ac_compile
4612 ac_compiler=$2
4613 for ac_option in --version -v -V -qversion; do
4614 { { ac_try="$ac_compiler $ac_option >&5"
4615 case "(($ac_try" in
4616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4617 *) ac_try_echo=$ac_try;;
4618 esac
4619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4620 $as_echo "$ac_try_echo"; } >&5
4621 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4622 ac_status=$?
4623 if test -s conftest.err; then
4624 sed '10a\
4625 ... rest of stderr output deleted ...
4626 10q' conftest.err >conftest.er1
4627 cat conftest.er1 >&5
4629 rm -f conftest.er1 conftest.err
4630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4631 test $ac_status = 0; }
4632 done
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4635 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4636 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4637 $as_echo_n "(cached) " >&6
4638 else
4639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4640 /* end confdefs.h. */
4643 main ()
4645 #ifndef __GNUC__
4646 choke me
4647 #endif
4650 return 0;
4652 _ACEOF
4653 if ac_fn_cxx_try_compile "$LINENO"; then :
4654 ac_compiler_gnu=yes
4655 else
4656 ac_compiler_gnu=no
4658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4659 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4663 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4664 if test $ac_compiler_gnu = yes; then
4665 GXX=yes
4666 else
4667 GXX=
4669 ac_test_CXXFLAGS=${CXXFLAGS+set}
4670 ac_save_CXXFLAGS=$CXXFLAGS
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4672 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4673 if ${ac_cv_prog_cxx_g+:} false; then :
4674 $as_echo_n "(cached) " >&6
4675 else
4676 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4677 ac_cxx_werror_flag=yes
4678 ac_cv_prog_cxx_g=no
4679 CXXFLAGS="-g"
4680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4681 /* end confdefs.h. */
4684 main ()
4688 return 0;
4690 _ACEOF
4691 if ac_fn_cxx_try_compile "$LINENO"; then :
4692 ac_cv_prog_cxx_g=yes
4693 else
4694 CXXFLAGS=""
4695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4696 /* end confdefs.h. */
4699 main ()
4703 return 0;
4705 _ACEOF
4706 if ac_fn_cxx_try_compile "$LINENO"; then :
4708 else
4709 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4710 CXXFLAGS="-g"
4711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4712 /* end confdefs.h. */
4715 main ()
4719 return 0;
4721 _ACEOF
4722 if ac_fn_cxx_try_compile "$LINENO"; then :
4723 ac_cv_prog_cxx_g=yes
4725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4730 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4733 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4734 if test "$ac_test_CXXFLAGS" = set; then
4735 CXXFLAGS=$ac_save_CXXFLAGS
4736 elif test $ac_cv_prog_cxx_g = yes; then
4737 if test "$GXX" = yes; then
4738 CXXFLAGS="-g -O2"
4739 else
4740 CXXFLAGS="-g"
4742 else
4743 if test "$GXX" = yes; then
4744 CXXFLAGS="-O2"
4745 else
4746 CXXFLAGS=
4749 ac_ext=c
4750 ac_cpp='$CPP $CPPFLAGS'
4751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4755 if test -n "$ac_tool_prefix"; then
4756 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4757 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4759 $as_echo_n "checking for $ac_word... " >&6; }
4760 if ${ac_cv_prog_CPPBIN+:} false; then :
4761 $as_echo_n "(cached) " >&6
4762 else
4763 if test -n "$CPPBIN"; then
4764 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4765 else
4766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4767 for as_dir in $PATH
4769 IFS=$as_save_IFS
4770 test -z "$as_dir" && as_dir=.
4771 for ac_exec_ext in '' $ac_executable_extensions; do
4772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4773 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4775 break 2
4777 done
4778 done
4779 IFS=$as_save_IFS
4783 CPPBIN=$ac_cv_prog_CPPBIN
4784 if test -n "$CPPBIN"; then
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4786 $as_echo "$CPPBIN" >&6; }
4787 else
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4789 $as_echo "no" >&6; }
4794 if test -z "$ac_cv_prog_CPPBIN"; then
4795 ac_ct_CPPBIN=$CPPBIN
4796 # Extract the first word of "cpp", so it can be a program name with args.
4797 set dummy cpp; ac_word=$2
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4799 $as_echo_n "checking for $ac_word... " >&6; }
4800 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4801 $as_echo_n "(cached) " >&6
4802 else
4803 if test -n "$ac_ct_CPPBIN"; then
4804 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4805 else
4806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4807 for as_dir in $PATH
4809 IFS=$as_save_IFS
4810 test -z "$as_dir" && as_dir=.
4811 for ac_exec_ext in '' $ac_executable_extensions; do
4812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4813 ac_cv_prog_ac_ct_CPPBIN="cpp"
4814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4815 break 2
4817 done
4818 done
4819 IFS=$as_save_IFS
4823 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4824 if test -n "$ac_ct_CPPBIN"; then
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4826 $as_echo "$ac_ct_CPPBIN" >&6; }
4827 else
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4829 $as_echo "no" >&6; }
4832 if test "x$ac_ct_CPPBIN" = x; then
4833 CPPBIN="cpp"
4834 else
4835 case $cross_compiling:$ac_tool_warned in
4836 yes:)
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4838 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4839 ac_tool_warned=yes ;;
4840 esac
4841 CPPBIN=$ac_ct_CPPBIN
4843 else
4844 CPPBIN="$ac_cv_prog_CPPBIN"
4848 cat >>confdefs.h <<_ACEOF
4849 #define EXEEXT "$ac_exeext"
4850 _ACEOF
4852 if test -n "$ac_tool_prefix"; then
4853 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4854 set dummy ${ac_tool_prefix}ld; ac_word=$2
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4856 $as_echo_n "checking for $ac_word... " >&6; }
4857 if ${ac_cv_prog_LD+:} false; then :
4858 $as_echo_n "(cached) " >&6
4859 else
4860 if test -n "$LD"; then
4861 ac_cv_prog_LD="$LD" # Let the user override the test.
4862 else
4863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4864 for as_dir in $PATH
4866 IFS=$as_save_IFS
4867 test -z "$as_dir" && as_dir=.
4868 for ac_exec_ext in '' $ac_executable_extensions; do
4869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4870 ac_cv_prog_LD="${ac_tool_prefix}ld"
4871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4872 break 2
4874 done
4875 done
4876 IFS=$as_save_IFS
4880 LD=$ac_cv_prog_LD
4881 if test -n "$LD"; then
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4883 $as_echo "$LD" >&6; }
4884 else
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4886 $as_echo "no" >&6; }
4891 if test -z "$ac_cv_prog_LD"; then
4892 ac_ct_LD=$LD
4893 # Extract the first word of "ld", so it can be a program name with args.
4894 set dummy ld; ac_word=$2
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4896 $as_echo_n "checking for $ac_word... " >&6; }
4897 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4898 $as_echo_n "(cached) " >&6
4899 else
4900 if test -n "$ac_ct_LD"; then
4901 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4902 else
4903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4904 for as_dir in $PATH
4906 IFS=$as_save_IFS
4907 test -z "$as_dir" && as_dir=.
4908 for ac_exec_ext in '' $ac_executable_extensions; do
4909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4910 ac_cv_prog_ac_ct_LD="ld"
4911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4912 break 2
4914 done
4915 done
4916 IFS=$as_save_IFS
4920 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4921 if test -n "$ac_ct_LD"; then
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4923 $as_echo "$ac_ct_LD" >&6; }
4924 else
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4926 $as_echo "no" >&6; }
4929 if test "x$ac_ct_LD" = x; then
4930 LD=""
4931 else
4932 case $cross_compiling:$ac_tool_warned in
4933 yes:)
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4935 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4936 ac_tool_warned=yes ;;
4937 esac
4938 LD=$ac_ct_LD
4940 else
4941 LD="$ac_cv_prog_LD"
4945 case $host in
4946 *-darwin*)
4947 if test "x$enable_win64" = "xyes"
4948 then
4949 CC="$CC -m64"
4950 CXX="$CXX -m64"
4951 host_cpu="x86_64"
4952 notice_platform="64-bit "
4953 TARGETFLAGS="-m64"
4955 else
4956 CC="$CC -m32"
4957 CXX="$CXX -m32"
4958 host_cpu="i386"
4959 notice_platform="32-bit "
4960 TARGETFLAGS="-m32"
4962 enable_win16=${enable_win16:-yes}
4964 with_fontconfig=${with_fontconfig:-no}
4966 x86_64*|amd64*)
4967 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4968 then
4969 CC="$CC -m32"
4970 CXX="$CXX -m32"
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4972 $as_echo_n "checking whether $CC works... " >&6; }
4974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4975 /* end confdefs.h. */
4978 main ()
4982 return 0;
4984 _ACEOF
4985 if ac_fn_c_try_link "$LINENO"; then :
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4987 $as_echo "yes" >&6; }
4988 else
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4990 $as_echo "no" >&6; }
4991 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4993 rm -f core conftest.err conftest.$ac_objext \
4994 conftest$ac_exeext conftest.$ac_ext
4995 host_cpu="i386"
4996 notice_platform="32-bit "
4997 TARGETFLAGS="-m32"
4999 enable_win16=${enable_win16:-yes}
5000 else
5001 if test "x${GCC}" = "xyes"
5002 then
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5004 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5006 /* end confdefs.h. */
5007 #include <stdarg.h>
5009 main ()
5011 void func(__builtin_ms_va_list *args);
5013 return 0;
5015 _ACEOF
5016 if ac_fn_c_try_compile "$LINENO"; then :
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5018 $as_echo "yes" >&6; }
5019 else
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5021 $as_echo "no" >&6; }
5022 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
5024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5026 host_cpu="x86_64"
5027 TARGETFLAGS="-m64"
5031 arm*)
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5033 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5035 /* end confdefs.h. */
5036 int ac_test(int i) { return i; }
5038 main ()
5040 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5042 return 0;
5044 _ACEOF
5045 if ac_fn_c_try_link "$LINENO"; then :
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5047 $as_echo "yes" >&6; }
5048 else
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5050 $as_echo "no" >&6; }
5051 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5053 rm -f core conftest.err conftest.$ac_objext \
5054 conftest$ac_exeext conftest.$ac_ext
5055 CFLAGS="$CFLAGS -marm"
5056 TARGETFLAGS="-marm"
5059 *-mingw32*|*-cygwin*)
5060 enable_win16=${enable_win16:-no}
5061 CFLAGS="$CFLAGS -D_WIN32"
5063 i[3456789]86*)
5064 enable_win16=${enable_win16:-yes}
5066 esac
5068 enable_win16=${enable_win16:-no}
5069 enable_win64=${enable_win64:-no}
5071 enable_winetest=${enable_winetest:-$enable_tests}
5073 if test -n "$with_wine64"
5074 then
5075 if test "x$enable_win64" = "xyes"
5076 then
5077 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5078 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5080 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5081 You should create a separate build directory and run configure from there." "$LINENO" 5
5082 enable_fonts=${enable_fonts:-no}
5083 enable_server=${enable_server:-no}
5084 elif test "x$enable_win64" = "xyes"
5085 then
5086 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5090 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5091 if ${wine_cv_toolsdir+:} false; then :
5092 $as_echo_n "(cached) " >&6
5093 else
5094 wine_cv_toolsdir="$with_wine_tools"
5095 if test -z "$with_wine_tools"; then
5096 if test "$cross_compiling" = "yes"; then
5097 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5098 elif test -n "$with_wine64"; then
5099 wine_cv_toolsdir="$with_wine64"
5102 if test -z "$wine_cv_toolsdir"; then
5103 wine_makedep=tools/makedep
5104 wine_cv_toolsdir="\$(top_builddir)"
5105 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5106 wine_makedep=$wine_cv_toolsdir/tools/makedep
5107 case "$wine_cv_toolsdir" in
5108 /*) ;;
5109 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5110 esac
5111 enable_tools=${enable_tools:-no}
5112 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5113 else
5114 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5118 $as_echo "$wine_cv_toolsdir" >&6; }
5119 TOOLSDIR=$wine_cv_toolsdir
5121 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5122 then
5123 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5127 for ac_prog in flex
5129 # Extract the first word of "$ac_prog", so it can be a program name with args.
5130 set dummy $ac_prog; ac_word=$2
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5132 $as_echo_n "checking for $ac_word... " >&6; }
5133 if ${ac_cv_prog_FLEX+:} false; then :
5134 $as_echo_n "(cached) " >&6
5135 else
5136 if test -n "$FLEX"; then
5137 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5138 else
5139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5140 for as_dir in $PATH
5142 IFS=$as_save_IFS
5143 test -z "$as_dir" && as_dir=.
5144 for ac_exec_ext in '' $ac_executable_extensions; do
5145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5146 ac_cv_prog_FLEX="$ac_prog"
5147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5148 break 2
5150 done
5151 done
5152 IFS=$as_save_IFS
5156 FLEX=$ac_cv_prog_FLEX
5157 if test -n "$FLEX"; then
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5159 $as_echo "$FLEX" >&6; }
5160 else
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }
5166 test -n "$FLEX" && break
5167 done
5168 test -n "$FLEX" || FLEX="none"
5170 if test "$FLEX" = "none"
5171 then
5172 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5175 $as_echo_n "checking whether flex is recent enough... " >&6; }
5176 cat >conftest.l <<EOF
5177 %top{
5178 #include "prediluvian.h"
5182 if $FLEX -t conftest.l >/dev/null 2>&5
5183 then
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5185 $as_echo "yes" >&6; }
5186 else
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5188 $as_echo "no" >&6; }
5189 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5192 for ac_prog in bison
5194 # Extract the first word of "$ac_prog", so it can be a program name with args.
5195 set dummy $ac_prog; ac_word=$2
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5197 $as_echo_n "checking for $ac_word... " >&6; }
5198 if ${ac_cv_prog_BISON+:} false; then :
5199 $as_echo_n "(cached) " >&6
5200 else
5201 if test -n "$BISON"; then
5202 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5203 else
5204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5205 for as_dir in $PATH
5207 IFS=$as_save_IFS
5208 test -z "$as_dir" && as_dir=.
5209 for ac_exec_ext in '' $ac_executable_extensions; do
5210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5211 ac_cv_prog_BISON="$ac_prog"
5212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5213 break 2
5215 done
5216 done
5217 IFS=$as_save_IFS
5221 BISON=$ac_cv_prog_BISON
5222 if test -n "$BISON"; then
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5224 $as_echo "$BISON" >&6; }
5225 else
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5227 $as_echo "no" >&6; }
5231 test -n "$BISON" && break
5232 done
5233 test -n "$BISON" || BISON="none"
5235 if test "$BISON" = "none"
5236 then
5237 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5240 if test -n "$ac_tool_prefix"; then
5241 for ac_prog in ar gar
5243 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5244 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5246 $as_echo_n "checking for $ac_word... " >&6; }
5247 if ${ac_cv_prog_AR+:} false; then :
5248 $as_echo_n "(cached) " >&6
5249 else
5250 if test -n "$AR"; then
5251 ac_cv_prog_AR="$AR" # Let the user override the test.
5252 else
5253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5254 for as_dir in $PATH
5256 IFS=$as_save_IFS
5257 test -z "$as_dir" && as_dir=.
5258 for ac_exec_ext in '' $ac_executable_extensions; do
5259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5260 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5262 break 2
5264 done
5265 done
5266 IFS=$as_save_IFS
5270 AR=$ac_cv_prog_AR
5271 if test -n "$AR"; then
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5273 $as_echo "$AR" >&6; }
5274 else
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5276 $as_echo "no" >&6; }
5280 test -n "$AR" && break
5281 done
5283 if test -z "$AR"; then
5284 ac_ct_AR=$AR
5285 for ac_prog in ar gar
5287 # Extract the first word of "$ac_prog", so it can be a program name with args.
5288 set dummy $ac_prog; ac_word=$2
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5290 $as_echo_n "checking for $ac_word... " >&6; }
5291 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5292 $as_echo_n "(cached) " >&6
5293 else
5294 if test -n "$ac_ct_AR"; then
5295 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5296 else
5297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5298 for as_dir in $PATH
5300 IFS=$as_save_IFS
5301 test -z "$as_dir" && as_dir=.
5302 for ac_exec_ext in '' $ac_executable_extensions; do
5303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5304 ac_cv_prog_ac_ct_AR="$ac_prog"
5305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5306 break 2
5308 done
5309 done
5310 IFS=$as_save_IFS
5314 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5315 if test -n "$ac_ct_AR"; then
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5317 $as_echo "$ac_ct_AR" >&6; }
5318 else
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5320 $as_echo "no" >&6; }
5324 test -n "$ac_ct_AR" && break
5325 done
5327 if test "x$ac_ct_AR" = x; then
5328 AR="ar"
5329 else
5330 case $cross_compiling:$ac_tool_warned in
5331 yes:)
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5333 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5334 ac_tool_warned=yes ;;
5335 esac
5336 AR=$ac_ct_AR
5340 if test -n "$ac_tool_prefix"; then
5341 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5342 set dummy ${ac_tool_prefix}strip; ac_word=$2
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5344 $as_echo_n "checking for $ac_word... " >&6; }
5345 if ${ac_cv_prog_STRIP+:} false; then :
5346 $as_echo_n "(cached) " >&6
5347 else
5348 if test -n "$STRIP"; then
5349 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5350 else
5351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5352 for as_dir in $PATH
5354 IFS=$as_save_IFS
5355 test -z "$as_dir" && as_dir=.
5356 for ac_exec_ext in '' $ac_executable_extensions; do
5357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5358 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5360 break 2
5362 done
5363 done
5364 IFS=$as_save_IFS
5368 STRIP=$ac_cv_prog_STRIP
5369 if test -n "$STRIP"; then
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5371 $as_echo "$STRIP" >&6; }
5372 else
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5374 $as_echo "no" >&6; }
5379 if test -z "$ac_cv_prog_STRIP"; then
5380 ac_ct_STRIP=$STRIP
5381 # Extract the first word of "strip", so it can be a program name with args.
5382 set dummy strip; ac_word=$2
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5384 $as_echo_n "checking for $ac_word... " >&6; }
5385 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5386 $as_echo_n "(cached) " >&6
5387 else
5388 if test -n "$ac_ct_STRIP"; then
5389 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5390 else
5391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5392 for as_dir in $PATH
5394 IFS=$as_save_IFS
5395 test -z "$as_dir" && as_dir=.
5396 for ac_exec_ext in '' $ac_executable_extensions; do
5397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5398 ac_cv_prog_ac_ct_STRIP="strip"
5399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5400 break 2
5402 done
5403 done
5404 IFS=$as_save_IFS
5408 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5409 if test -n "$ac_ct_STRIP"; then
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5411 $as_echo "$ac_ct_STRIP" >&6; }
5412 else
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5414 $as_echo "no" >&6; }
5417 if test "x$ac_ct_STRIP" = x; then
5418 STRIP="strip"
5419 else
5420 case $cross_compiling:$ac_tool_warned in
5421 yes:)
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5424 ac_tool_warned=yes ;;
5425 esac
5426 STRIP=$ac_ct_STRIP
5428 else
5429 STRIP="$ac_cv_prog_STRIP"
5432 ARFLAGS=rc
5434 if test -n "$ac_tool_prefix"; then
5435 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5436 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5438 $as_echo_n "checking for $ac_word... " >&6; }
5439 if ${ac_cv_prog_RANLIB+:} false; then :
5440 $as_echo_n "(cached) " >&6
5441 else
5442 if test -n "$RANLIB"; then
5443 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5444 else
5445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5446 for as_dir in $PATH
5448 IFS=$as_save_IFS
5449 test -z "$as_dir" && as_dir=.
5450 for ac_exec_ext in '' $ac_executable_extensions; do
5451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5452 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5454 break 2
5456 done
5457 done
5458 IFS=$as_save_IFS
5462 RANLIB=$ac_cv_prog_RANLIB
5463 if test -n "$RANLIB"; then
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5465 $as_echo "$RANLIB" >&6; }
5466 else
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5468 $as_echo "no" >&6; }
5473 if test -z "$ac_cv_prog_RANLIB"; then
5474 ac_ct_RANLIB=$RANLIB
5475 # Extract the first word of "ranlib", so it can be a program name with args.
5476 set dummy ranlib; ac_word=$2
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5478 $as_echo_n "checking for $ac_word... " >&6; }
5479 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5480 $as_echo_n "(cached) " >&6
5481 else
5482 if test -n "$ac_ct_RANLIB"; then
5483 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5484 else
5485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5486 for as_dir in $PATH
5488 IFS=$as_save_IFS
5489 test -z "$as_dir" && as_dir=.
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5492 ac_cv_prog_ac_ct_RANLIB="ranlib"
5493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5494 break 2
5496 done
5497 done
5498 IFS=$as_save_IFS
5502 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5503 if test -n "$ac_ct_RANLIB"; then
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5505 $as_echo "$ac_ct_RANLIB" >&6; }
5506 else
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5508 $as_echo "no" >&6; }
5511 if test "x$ac_ct_RANLIB" = x; then
5512 RANLIB=":"
5513 else
5514 case $cross_compiling:$ac_tool_warned in
5515 yes:)
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5518 ac_tool_warned=yes ;;
5519 esac
5520 RANLIB=$ac_ct_RANLIB
5522 else
5523 RANLIB="$ac_cv_prog_RANLIB"
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5527 $as_echo_n "checking whether ln -s works... " >&6; }
5528 LN_S=$as_ln_s
5529 if test "$LN_S" = "ln -s"; then
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5531 $as_echo "yes" >&6; }
5532 else
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5534 $as_echo "no, using $LN_S" >&6; }
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5538 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5539 if ${ac_cv_path_GREP+:} false; then :
5540 $as_echo_n "(cached) " >&6
5541 else
5542 if test -z "$GREP"; then
5543 ac_path_GREP_found=false
5544 # Loop through the user's path and test for each of PROGNAME-LIST
5545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5546 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5548 IFS=$as_save_IFS
5549 test -z "$as_dir" && as_dir=.
5550 for ac_prog in grep ggrep; do
5551 for ac_exec_ext in '' $ac_executable_extensions; do
5552 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5553 as_fn_executable_p "$ac_path_GREP" || continue
5554 # Check for GNU ac_path_GREP and select it if it is found.
5555 # Check for GNU $ac_path_GREP
5556 case `"$ac_path_GREP" --version 2>&1` in
5557 *GNU*)
5558 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5560 ac_count=0
5561 $as_echo_n 0123456789 >"conftest.in"
5562 while :
5564 cat "conftest.in" "conftest.in" >"conftest.tmp"
5565 mv "conftest.tmp" "conftest.in"
5566 cp "conftest.in" "conftest.nl"
5567 $as_echo 'GREP' >> "conftest.nl"
5568 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5569 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5570 as_fn_arith $ac_count + 1 && ac_count=$as_val
5571 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5572 # Best one so far, save it but keep looking for a better one
5573 ac_cv_path_GREP="$ac_path_GREP"
5574 ac_path_GREP_max=$ac_count
5576 # 10*(2^10) chars as input seems more than enough
5577 test $ac_count -gt 10 && break
5578 done
5579 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5580 esac
5582 $ac_path_GREP_found && break 3
5583 done
5584 done
5585 done
5586 IFS=$as_save_IFS
5587 if test -z "$ac_cv_path_GREP"; then
5588 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5590 else
5591 ac_cv_path_GREP=$GREP
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5596 $as_echo "$ac_cv_path_GREP" >&6; }
5597 GREP="$ac_cv_path_GREP"
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5601 $as_echo_n "checking for egrep... " >&6; }
5602 if ${ac_cv_path_EGREP+:} false; then :
5603 $as_echo_n "(cached) " >&6
5604 else
5605 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5606 then ac_cv_path_EGREP="$GREP -E"
5607 else
5608 if test -z "$EGREP"; then
5609 ac_path_EGREP_found=false
5610 # Loop through the user's path and test for each of PROGNAME-LIST
5611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5612 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5614 IFS=$as_save_IFS
5615 test -z "$as_dir" && as_dir=.
5616 for ac_prog in egrep; do
5617 for ac_exec_ext in '' $ac_executable_extensions; do
5618 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5619 as_fn_executable_p "$ac_path_EGREP" || continue
5620 # Check for GNU ac_path_EGREP and select it if it is found.
5621 # Check for GNU $ac_path_EGREP
5622 case `"$ac_path_EGREP" --version 2>&1` in
5623 *GNU*)
5624 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5626 ac_count=0
5627 $as_echo_n 0123456789 >"conftest.in"
5628 while :
5630 cat "conftest.in" "conftest.in" >"conftest.tmp"
5631 mv "conftest.tmp" "conftest.in"
5632 cp "conftest.in" "conftest.nl"
5633 $as_echo 'EGREP' >> "conftest.nl"
5634 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5635 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5636 as_fn_arith $ac_count + 1 && ac_count=$as_val
5637 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5638 # Best one so far, save it but keep looking for a better one
5639 ac_cv_path_EGREP="$ac_path_EGREP"
5640 ac_path_EGREP_max=$ac_count
5642 # 10*(2^10) chars as input seems more than enough
5643 test $ac_count -gt 10 && break
5644 done
5645 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5646 esac
5648 $ac_path_EGREP_found && break 3
5649 done
5650 done
5651 done
5652 IFS=$as_save_IFS
5653 if test -z "$ac_cv_path_EGREP"; then
5654 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5656 else
5657 ac_cv_path_EGREP=$EGREP
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5663 $as_echo "$ac_cv_path_EGREP" >&6; }
5664 EGREP="$ac_cv_path_EGREP"
5667 # Extract the first word of "ldconfig", so it can be a program name with args.
5668 set dummy ldconfig; ac_word=$2
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5670 $as_echo_n "checking for $ac_word... " >&6; }
5671 if ${ac_cv_path_LDCONFIG+:} false; then :
5672 $as_echo_n "(cached) " >&6
5673 else
5674 case $LDCONFIG in
5675 [\\/]* | ?:[\\/]*)
5676 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5680 for as_dir in /sbin /usr/sbin $PATH
5682 IFS=$as_save_IFS
5683 test -z "$as_dir" && as_dir=.
5684 for ac_exec_ext in '' $ac_executable_extensions; do
5685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5686 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5688 break 2
5690 done
5691 done
5692 IFS=$as_save_IFS
5694 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5696 esac
5698 LDCONFIG=$ac_cv_path_LDCONFIG
5699 if test -n "$LDCONFIG"; then
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5701 $as_echo "$LDCONFIG" >&6; }
5702 else
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5704 $as_echo "no" >&6; }
5708 for ac_prog in msgfmt
5710 # Extract the first word of "$ac_prog", so it can be a program name with args.
5711 set dummy $ac_prog; ac_word=$2
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5713 $as_echo_n "checking for $ac_word... " >&6; }
5714 if ${ac_cv_prog_MSGFMT+:} false; then :
5715 $as_echo_n "(cached) " >&6
5716 else
5717 if test -n "$MSGFMT"; then
5718 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5719 else
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 for as_dir in $PATH
5723 IFS=$as_save_IFS
5724 test -z "$as_dir" && as_dir=.
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5727 ac_cv_prog_MSGFMT="$ac_prog"
5728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5729 break 2
5731 done
5732 done
5733 IFS=$as_save_IFS
5737 MSGFMT=$ac_cv_prog_MSGFMT
5738 if test -n "$MSGFMT"; then
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5740 $as_echo "$MSGFMT" >&6; }
5741 else
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743 $as_echo "no" >&6; }
5747 test -n "$MSGFMT" && break
5748 done
5749 test -n "$MSGFMT" || MSGFMT="false"
5751 if ${ac_tool_prefix+:} false; then :
5752 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5753 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5755 $as_echo_n "checking for $ac_word... " >&6; }
5756 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5757 $as_echo_n "(cached) " >&6
5758 else
5759 if test -n "$PKG_CONFIG"; then
5760 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5761 else
5762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5763 for as_dir in $PATH
5765 IFS=$as_save_IFS
5766 test -z "$as_dir" && as_dir=.
5767 for ac_exec_ext in '' $ac_executable_extensions; do
5768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5769 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5771 break 2
5773 done
5774 done
5775 IFS=$as_save_IFS
5779 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5780 if test -n "$PKG_CONFIG"; then
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5782 $as_echo "$PKG_CONFIG" >&6; }
5783 else
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5785 $as_echo "no" >&6; }
5790 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5791 if test "x$cross_compiling" = xyes; then :
5793 else
5794 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5795 # Extract the first word of "pkg-config", so it can be a program name with args.
5796 set dummy pkg-config; ac_word=$2
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5798 $as_echo_n "checking for $ac_word... " >&6; }
5799 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5800 $as_echo_n "(cached) " >&6
5801 else
5802 if test -n "$PKG_CONFIG"; then
5803 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5804 else
5805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5806 for as_dir in $PATH
5808 IFS=$as_save_IFS
5809 test -z "$as_dir" && as_dir=.
5810 for ac_exec_ext in '' $ac_executable_extensions; do
5811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5812 ac_cv_prog_PKG_CONFIG="pkg-config"
5813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5814 break 2
5816 done
5817 done
5818 IFS=$as_save_IFS
5822 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5823 if test -n "$PKG_CONFIG"; then
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5825 $as_echo "$PKG_CONFIG" >&6; }
5826 else
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5828 $as_echo "no" >&6; }
5833 else
5834 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5837 if test "x$enable_maintainer_mode" != "xyes"
5838 then
5839 FONTFORGE=""
5840 RSVG=""
5841 CONVERT=""
5842 ICOTOOL=""
5843 else
5844 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5845 for ac_prog in fontforge
5847 # Extract the first word of "$ac_prog", so it can be a program name with args.
5848 set dummy $ac_prog; ac_word=$2
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5850 $as_echo_n "checking for $ac_word... " >&6; }
5851 if ${ac_cv_prog_FONTFORGE+:} false; then :
5852 $as_echo_n "(cached) " >&6
5853 else
5854 if test -n "$FONTFORGE"; then
5855 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5856 else
5857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5858 for as_dir in $PATH
5860 IFS=$as_save_IFS
5861 test -z "$as_dir" && as_dir=.
5862 for ac_exec_ext in '' $ac_executable_extensions; do
5863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5864 ac_cv_prog_FONTFORGE="$ac_prog"
5865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5866 break 2
5868 done
5869 done
5870 IFS=$as_save_IFS
5874 FONTFORGE=$ac_cv_prog_FONTFORGE
5875 if test -n "$FONTFORGE"; then
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5877 $as_echo "$FONTFORGE" >&6; }
5878 else
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5880 $as_echo "no" >&6; }
5884 test -n "$FONTFORGE" && break
5885 done
5886 test -n "$FONTFORGE" || FONTFORGE="false"
5888 for ac_prog in rsvg-convert rsvg
5890 # Extract the first word of "$ac_prog", so it can be a program name with args.
5891 set dummy $ac_prog; ac_word=$2
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5893 $as_echo_n "checking for $ac_word... " >&6; }
5894 if ${ac_cv_prog_RSVG+:} false; then :
5895 $as_echo_n "(cached) " >&6
5896 else
5897 if test -n "$RSVG"; then
5898 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5899 else
5900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901 for as_dir in $PATH
5903 IFS=$as_save_IFS
5904 test -z "$as_dir" && as_dir=.
5905 for ac_exec_ext in '' $ac_executable_extensions; do
5906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5907 ac_cv_prog_RSVG="$ac_prog"
5908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5909 break 2
5911 done
5912 done
5913 IFS=$as_save_IFS
5917 RSVG=$ac_cv_prog_RSVG
5918 if test -n "$RSVG"; then
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5920 $as_echo "$RSVG" >&6; }
5921 else
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5923 $as_echo "no" >&6; }
5927 test -n "$RSVG" && break
5928 done
5929 test -n "$RSVG" || RSVG="false"
5931 for ac_prog in convert
5933 # Extract the first word of "$ac_prog", so it can be a program name with args.
5934 set dummy $ac_prog; ac_word=$2
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5936 $as_echo_n "checking for $ac_word... " >&6; }
5937 if ${ac_cv_prog_CONVERT+:} false; then :
5938 $as_echo_n "(cached) " >&6
5939 else
5940 if test -n "$CONVERT"; then
5941 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5942 else
5943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5944 for as_dir in $PATH
5946 IFS=$as_save_IFS
5947 test -z "$as_dir" && as_dir=.
5948 for ac_exec_ext in '' $ac_executable_extensions; do
5949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5950 ac_cv_prog_CONVERT="$ac_prog"
5951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5952 break 2
5954 done
5955 done
5956 IFS=$as_save_IFS
5960 CONVERT=$ac_cv_prog_CONVERT
5961 if test -n "$CONVERT"; then
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5963 $as_echo "$CONVERT" >&6; }
5964 else
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5966 $as_echo "no" >&6; }
5970 test -n "$CONVERT" && break
5971 done
5972 test -n "$CONVERT" || CONVERT="false"
5974 for ac_prog in icotool
5976 # Extract the first word of "$ac_prog", so it can be a program name with args.
5977 set dummy $ac_prog; ac_word=$2
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5979 $as_echo_n "checking for $ac_word... " >&6; }
5980 if ${ac_cv_prog_ICOTOOL+:} false; then :
5981 $as_echo_n "(cached) " >&6
5982 else
5983 if test -n "$ICOTOOL"; then
5984 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5985 else
5986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5987 for as_dir in $PATH
5989 IFS=$as_save_IFS
5990 test -z "$as_dir" && as_dir=.
5991 for ac_exec_ext in '' $ac_executable_extensions; do
5992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5993 ac_cv_prog_ICOTOOL="$ac_prog"
5994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5995 break 2
5997 done
5998 done
5999 IFS=$as_save_IFS
6003 ICOTOOL=$ac_cv_prog_ICOTOOL
6004 if test -n "$ICOTOOL"; then
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6006 $as_echo "$ICOTOOL" >&6; }
6007 else
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6009 $as_echo "no" >&6; }
6013 test -n "$ICOTOOL" && break
6014 done
6015 test -n "$ICOTOOL" || ICOTOOL="false"
6017 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6018 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6020 if test "$CONVERT" = false
6021 then
6022 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6023 else
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6025 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6026 convert_version=`convert --version | head -n1`
6027 if test "x$convert_version" != "x"
6028 then
6029 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6030 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6031 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6032 then
6033 CONVERT=false
6036 if test "$CONVERT" = false
6037 then
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6039 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6040 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6041 else
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6043 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6047 if test "$ICOTOOL" = false
6048 then
6049 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6050 else
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6052 $as_echo_n "checking for recent enough icotool... " >&6; }
6053 icotool_version=`icotool --version | head -n1`
6054 if test "x$icotool_version" != "x"
6055 then
6056 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6057 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6058 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6059 then
6060 ICOTOOL=false
6061 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6064 if test "$ICOTOOL" = false
6065 then
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6067 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6068 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6069 else
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6071 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6075 with_gettext=yes
6076 with_gettextpo=yes
6077 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6080 test "x$with_gettext" != xno || MSGFMT=false
6081 if test "$MSGFMT" != "false"
6082 then
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6084 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6085 cat >conftest.po <<EOF
6086 # comment
6087 msgctxt "ctxt"
6088 msgid "id"
6089 msgstr "str"
6091 if $MSGFMT -o /dev/null conftest.po 2>&5
6092 then
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6094 $as_echo "yes" >&6; }
6095 else
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6097 $as_echo "no" >&6; }
6098 MSGFMT=false
6101 if test "$MSGFMT" = false; then :
6102 case "x$with_gettext" in
6103 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6104 xno) ;;
6105 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6106 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6107 esac
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6112 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6113 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6114 $as_echo_n "(cached) " >&6
6115 else
6116 ac_check_lib_save_LIBS=$LIBS
6117 LIBS="-li386 $LIBS"
6118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6119 /* end confdefs.h. */
6121 /* Override any GCC internal prototype to avoid an error.
6122 Use char because int might match the return type of a GCC
6123 builtin and then its argument prototype would still apply. */
6124 #ifdef __cplusplus
6125 extern "C"
6126 #endif
6127 char i386_set_ldt ();
6129 main ()
6131 return i386_set_ldt ();
6133 return 0;
6135 _ACEOF
6136 if ac_fn_c_try_link "$LINENO"; then :
6137 ac_cv_lib_i386_i386_set_ldt=yes
6138 else
6139 ac_cv_lib_i386_i386_set_ldt=no
6141 rm -f core conftest.err conftest.$ac_objext \
6142 conftest$ac_exeext conftest.$ac_ext
6143 LIBS=$ac_check_lib_save_LIBS
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6146 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6147 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6148 cat >>confdefs.h <<_ACEOF
6149 #define HAVE_LIBI386 1
6150 _ACEOF
6152 LIBS="-li386 $LIBS"
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6157 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6158 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6159 $as_echo_n "(cached) " >&6
6160 else
6161 ac_check_lib_save_LIBS=$LIBS
6162 LIBS="-lossaudio $LIBS"
6163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6164 /* end confdefs.h. */
6166 /* Override any GCC internal prototype to avoid an error.
6167 Use char because int might match the return type of a GCC
6168 builtin and then its argument prototype would still apply. */
6169 #ifdef __cplusplus
6170 extern "C"
6171 #endif
6172 char _oss_ioctl ();
6174 main ()
6176 return _oss_ioctl ();
6178 return 0;
6180 _ACEOF
6181 if ac_fn_c_try_link "$LINENO"; then :
6182 ac_cv_lib_ossaudio__oss_ioctl=yes
6183 else
6184 ac_cv_lib_ossaudio__oss_ioctl=no
6186 rm -f core conftest.err conftest.$ac_objext \
6187 conftest$ac_exeext conftest.$ac_ext
6188 LIBS=$ac_check_lib_save_LIBS
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6191 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6192 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6193 cat >>confdefs.h <<_ACEOF
6194 #define HAVE_LIBOSSAUDIO 1
6195 _ACEOF
6197 LIBS="-lossaudio $LIBS"
6202 OPENGL_LIBS=""
6206 # Check whether --enable-largefile was given.
6207 if test "${enable_largefile+set}" = set; then :
6208 enableval=$enable_largefile;
6211 if test "$enable_largefile" != no; then
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6214 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6215 if ${ac_cv_sys_largefile_CC+:} false; then :
6216 $as_echo_n "(cached) " >&6
6217 else
6218 ac_cv_sys_largefile_CC=no
6219 if test "$GCC" != yes; then
6220 ac_save_CC=$CC
6221 while :; do
6222 # IRIX 6.2 and later do not support large files by default,
6223 # so use the C compiler's -n32 option if that helps.
6224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6225 /* end confdefs.h. */
6226 #include <sys/types.h>
6227 /* Check that off_t can represent 2**63 - 1 correctly.
6228 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6229 since some C++ compilers masquerading as C compilers
6230 incorrectly reject 9223372036854775807. */
6231 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6232 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6233 && LARGE_OFF_T % 2147483647 == 1)
6234 ? 1 : -1];
6236 main ()
6240 return 0;
6242 _ACEOF
6243 if ac_fn_c_try_compile "$LINENO"; then :
6244 break
6246 rm -f core conftest.err conftest.$ac_objext
6247 CC="$CC -n32"
6248 if ac_fn_c_try_compile "$LINENO"; then :
6249 ac_cv_sys_largefile_CC=' -n32'; break
6251 rm -f core conftest.err conftest.$ac_objext
6252 break
6253 done
6254 CC=$ac_save_CC
6255 rm -f conftest.$ac_ext
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6259 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6260 if test "$ac_cv_sys_largefile_CC" != no; then
6261 CC=$CC$ac_cv_sys_largefile_CC
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6265 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6266 if ${ac_cv_sys_file_offset_bits+:} false; then :
6267 $as_echo_n "(cached) " >&6
6268 else
6269 while :; do
6270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6271 /* end confdefs.h. */
6272 #include <sys/types.h>
6273 /* Check that off_t can represent 2**63 - 1 correctly.
6274 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6275 since some C++ compilers masquerading as C compilers
6276 incorrectly reject 9223372036854775807. */
6277 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6278 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6279 && LARGE_OFF_T % 2147483647 == 1)
6280 ? 1 : -1];
6282 main ()
6286 return 0;
6288 _ACEOF
6289 if ac_fn_c_try_compile "$LINENO"; then :
6290 ac_cv_sys_file_offset_bits=no; break
6292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6294 /* end confdefs.h. */
6295 #define _FILE_OFFSET_BITS 64
6296 #include <sys/types.h>
6297 /* Check that off_t can represent 2**63 - 1 correctly.
6298 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6299 since some C++ compilers masquerading as C compilers
6300 incorrectly reject 9223372036854775807. */
6301 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6302 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6303 && LARGE_OFF_T % 2147483647 == 1)
6304 ? 1 : -1];
6306 main ()
6310 return 0;
6312 _ACEOF
6313 if ac_fn_c_try_compile "$LINENO"; then :
6314 ac_cv_sys_file_offset_bits=64; break
6316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6317 ac_cv_sys_file_offset_bits=unknown
6318 break
6319 done
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6322 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6323 case $ac_cv_sys_file_offset_bits in #(
6324 no | unknown) ;;
6326 cat >>confdefs.h <<_ACEOF
6327 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6328 _ACEOF
6330 esac
6331 rm -rf conftest*
6332 if test $ac_cv_sys_file_offset_bits = unknown; then
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6334 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6335 if ${ac_cv_sys_large_files+:} false; then :
6336 $as_echo_n "(cached) " >&6
6337 else
6338 while :; do
6339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6340 /* end confdefs.h. */
6341 #include <sys/types.h>
6342 /* Check that off_t can represent 2**63 - 1 correctly.
6343 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6344 since some C++ compilers masquerading as C compilers
6345 incorrectly reject 9223372036854775807. */
6346 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6347 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6348 && LARGE_OFF_T % 2147483647 == 1)
6349 ? 1 : -1];
6351 main ()
6355 return 0;
6357 _ACEOF
6358 if ac_fn_c_try_compile "$LINENO"; then :
6359 ac_cv_sys_large_files=no; break
6361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6363 /* end confdefs.h. */
6364 #define _LARGE_FILES 1
6365 #include <sys/types.h>
6366 /* Check that off_t can represent 2**63 - 1 correctly.
6367 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6368 since some C++ compilers masquerading as C compilers
6369 incorrectly reject 9223372036854775807. */
6370 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6371 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6372 && LARGE_OFF_T % 2147483647 == 1)
6373 ? 1 : -1];
6375 main ()
6379 return 0;
6381 _ACEOF
6382 if ac_fn_c_try_compile "$LINENO"; then :
6383 ac_cv_sys_large_files=1; break
6385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6386 ac_cv_sys_large_files=unknown
6387 break
6388 done
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6391 $as_echo "$ac_cv_sys_large_files" >&6; }
6392 case $ac_cv_sys_large_files in #(
6393 no | unknown) ;;
6395 cat >>confdefs.h <<_ACEOF
6396 #define _LARGE_FILES $ac_cv_sys_large_files
6397 _ACEOF
6399 esac
6400 rm -rf conftest*
6407 ac_ext=c
6408 ac_cpp='$CPP $CPPFLAGS'
6409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6413 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6414 # On Suns, sometimes $CPP names a directory.
6415 if test -n "$CPP" && test -d "$CPP"; then
6416 CPP=
6418 if test -z "$CPP"; then
6419 if ${ac_cv_prog_CPP+:} false; then :
6420 $as_echo_n "(cached) " >&6
6421 else
6422 # Double quotes because CPP needs to be expanded
6423 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6425 ac_preproc_ok=false
6426 for ac_c_preproc_warn_flag in '' yes
6428 # Use a header file that comes with gcc, so configuring glibc
6429 # with a fresh cross-compiler works.
6430 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6431 # <limits.h> exists even on freestanding compilers.
6432 # On the NeXT, cc -E runs the code through the compiler's parser,
6433 # not just through cpp. "Syntax error" is here to catch this case.
6434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6435 /* end confdefs.h. */
6436 #ifdef __STDC__
6437 # include <limits.h>
6438 #else
6439 # include <assert.h>
6440 #endif
6441 Syntax error
6442 _ACEOF
6443 if ac_fn_c_try_cpp "$LINENO"; then :
6445 else
6446 # Broken: fails on valid input.
6447 continue
6449 rm -f conftest.err conftest.i conftest.$ac_ext
6451 # OK, works on sane cases. Now check whether nonexistent headers
6452 # can be detected and how.
6453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6454 /* end confdefs.h. */
6455 #include <ac_nonexistent.h>
6456 _ACEOF
6457 if ac_fn_c_try_cpp "$LINENO"; then :
6458 # Broken: success on invalid input.
6459 continue
6460 else
6461 # Passes both tests.
6462 ac_preproc_ok=:
6463 break
6465 rm -f conftest.err conftest.i conftest.$ac_ext
6467 done
6468 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6469 rm -f conftest.i conftest.err conftest.$ac_ext
6470 if $ac_preproc_ok; then :
6471 break
6474 done
6475 ac_cv_prog_CPP=$CPP
6478 CPP=$ac_cv_prog_CPP
6479 else
6480 ac_cv_prog_CPP=$CPP
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6483 $as_echo "$CPP" >&6; }
6484 ac_preproc_ok=false
6485 for ac_c_preproc_warn_flag in '' yes
6487 # Use a header file that comes with gcc, so configuring glibc
6488 # with a fresh cross-compiler works.
6489 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6490 # <limits.h> exists even on freestanding compilers.
6491 # On the NeXT, cc -E runs the code through the compiler's parser,
6492 # not just through cpp. "Syntax error" is here to catch this case.
6493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6494 /* end confdefs.h. */
6495 #ifdef __STDC__
6496 # include <limits.h>
6497 #else
6498 # include <assert.h>
6499 #endif
6500 Syntax error
6501 _ACEOF
6502 if ac_fn_c_try_cpp "$LINENO"; then :
6504 else
6505 # Broken: fails on valid input.
6506 continue
6508 rm -f conftest.err conftest.i conftest.$ac_ext
6510 # OK, works on sane cases. Now check whether nonexistent headers
6511 # can be detected and how.
6512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6513 /* end confdefs.h. */
6514 #include <ac_nonexistent.h>
6515 _ACEOF
6516 if ac_fn_c_try_cpp "$LINENO"; then :
6517 # Broken: success on invalid input.
6518 continue
6519 else
6520 # Passes both tests.
6521 ac_preproc_ok=:
6522 break
6524 rm -f conftest.err conftest.i conftest.$ac_ext
6526 done
6527 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6528 rm -f conftest.i conftest.err conftest.$ac_ext
6529 if $ac_preproc_ok; then :
6531 else
6532 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6534 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6535 See \`config.log' for more details" "$LINENO" 5; }
6538 ac_ext=c
6539 ac_cpp='$CPP $CPPFLAGS'
6540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6546 $as_echo_n "checking for ANSI C header files... " >&6; }
6547 if ${ac_cv_header_stdc+:} false; then :
6548 $as_echo_n "(cached) " >&6
6549 else
6550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6551 /* end confdefs.h. */
6552 #include <stdlib.h>
6553 #include <stdarg.h>
6554 #include <string.h>
6555 #include <float.h>
6558 main ()
6562 return 0;
6564 _ACEOF
6565 if ac_fn_c_try_compile "$LINENO"; then :
6566 ac_cv_header_stdc=yes
6567 else
6568 ac_cv_header_stdc=no
6570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6572 if test $ac_cv_header_stdc = yes; then
6573 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6575 /* end confdefs.h. */
6576 #include <string.h>
6578 _ACEOF
6579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6580 $EGREP "memchr" >/dev/null 2>&1; then :
6582 else
6583 ac_cv_header_stdc=no
6585 rm -f conftest*
6589 if test $ac_cv_header_stdc = yes; then
6590 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6592 /* end confdefs.h. */
6593 #include <stdlib.h>
6595 _ACEOF
6596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6597 $EGREP "free" >/dev/null 2>&1; then :
6599 else
6600 ac_cv_header_stdc=no
6602 rm -f conftest*
6606 if test $ac_cv_header_stdc = yes; then
6607 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6608 if test "$cross_compiling" = yes; then :
6610 else
6611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6612 /* end confdefs.h. */
6613 #include <ctype.h>
6614 #include <stdlib.h>
6615 #if ((' ' & 0x0FF) == 0x020)
6616 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6617 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6618 #else
6619 # define ISLOWER(c) \
6620 (('a' <= (c) && (c) <= 'i') \
6621 || ('j' <= (c) && (c) <= 'r') \
6622 || ('s' <= (c) && (c) <= 'z'))
6623 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6624 #endif
6626 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6628 main ()
6630 int i;
6631 for (i = 0; i < 256; i++)
6632 if (XOR (islower (i), ISLOWER (i))
6633 || toupper (i) != TOUPPER (i))
6634 return 2;
6635 return 0;
6637 _ACEOF
6638 if ac_fn_c_try_run "$LINENO"; then :
6640 else
6641 ac_cv_header_stdc=no
6643 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6644 conftest.$ac_objext conftest.beam conftest.$ac_ext
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6650 $as_echo "$ac_cv_header_stdc" >&6; }
6651 if test $ac_cv_header_stdc = yes; then
6653 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6657 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6658 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6659 inttypes.h stdint.h unistd.h
6660 do :
6661 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6662 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6664 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6665 cat >>confdefs.h <<_ACEOF
6666 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6667 _ACEOF
6671 done
6674 for ac_header in \
6675 AL/al.h \
6676 ApplicationServices/ApplicationServices.h \
6677 AudioToolbox/AudioConverter.h \
6678 AudioUnit/AudioUnit.h \
6679 AudioUnit/AudioComponent.h \
6680 CL/cl.h \
6681 Carbon/Carbon.h \
6682 CommonCrypto/CommonDigest.h \
6683 CoreAudio/CoreAudio.h \
6684 CoreServices/CoreServices.h \
6685 DiskArbitration/DiskArbitration.h \
6686 IOKit/IOKitLib.h \
6687 IOKit/hid/IOHIDLib.h \
6688 OpenAL/al.h \
6689 OpenCL/opencl.h \
6690 QuickTime/ImageCompression.h \
6691 Security/Security.h \
6692 alias.h \
6693 alsa/asoundlib.h \
6694 arpa/inet.h \
6695 arpa/nameser.h \
6696 asm/types.h \
6697 asm/user.h \
6698 curses.h \
6699 direct.h \
6700 dirent.h \
6701 dlfcn.h \
6702 elf.h \
6703 float.h \
6704 fnmatch.h \
6705 getopt.h \
6706 gettext-po.h \
6707 grp.h \
6708 gsm.h \
6709 gsm/gsm.h \
6710 ieeefp.h \
6711 inet/mib2.h \
6712 io.h \
6713 kstat.h \
6714 lber.h \
6715 ldap.h \
6716 libproc.h \
6717 link.h \
6718 linux/cdrom.h \
6719 linux/compiler.h \
6720 linux/filter.h \
6721 linux/hdreg.h \
6722 linux/input.h \
6723 linux/ioctl.h \
6724 linux/joystick.h \
6725 linux/major.h \
6726 linux/param.h \
6727 linux/serial.h \
6728 linux/types.h \
6729 linux/ucdrom.h \
6730 lwp.h \
6731 mach-o/nlist.h \
6732 mach-o/loader.h \
6733 mach/mach.h \
6734 mach/machine.h \
6735 machine/cpu.h \
6736 machine/limits.h \
6737 machine/sysarch.h \
6738 mntent.h \
6739 ncurses.h \
6740 netdb.h \
6741 netinet/in.h \
6742 netinet/in_systm.h \
6743 netinet/tcp.h \
6744 netinet/tcp_fsm.h \
6745 pcap/pcap.h \
6746 poll.h \
6747 port.h \
6748 process.h \
6749 pthread.h \
6750 pwd.h \
6751 sched.h \
6752 scsi/scsi.h \
6753 scsi/scsi_ioctl.h \
6754 scsi/sg.h \
6755 stdbool.h \
6756 stdint.h \
6757 stropts.h \
6758 sys/asoundlib.h \
6759 sys/attr.h \
6760 sys/cdio.h \
6761 sys/elf32.h \
6762 sys/epoll.h \
6763 sys/event.h \
6764 sys/exec_elf.h \
6765 sys/filio.h \
6766 sys/inotify.h \
6767 sys/ioctl.h \
6768 sys/ipc.h \
6769 sys/limits.h \
6770 sys/link.h \
6771 sys/mman.h \
6772 sys/modem.h \
6773 sys/msg.h \
6774 sys/mtio.h \
6775 sys/param.h \
6776 sys/poll.h \
6777 sys/prctl.h \
6778 sys/protosw.h \
6779 sys/ptrace.h \
6780 sys/queue.h \
6781 sys/resource.h \
6782 sys/scsiio.h \
6783 sys/shm.h \
6784 sys/signal.h \
6785 sys/socket.h \
6786 sys/socketvar.h \
6787 sys/sockio.h \
6788 sys/statvfs.h \
6789 sys/strtio.h \
6790 sys/syscall.h \
6791 sys/tihdr.h \
6792 sys/time.h \
6793 sys/timeout.h \
6794 sys/times.h \
6795 sys/uio.h \
6796 sys/user.h \
6797 sys/utsname.h \
6798 sys/vm86.h \
6799 sys/vnode.h \
6800 sys/wait.h \
6801 syscall.h \
6802 termios.h \
6803 unistd.h \
6804 utime.h \
6805 valgrind/memcheck.h \
6806 valgrind/valgrind.h \
6807 zlib.h
6809 do :
6810 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6811 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6812 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6813 cat >>confdefs.h <<_ACEOF
6814 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6815 _ACEOF
6819 done
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6822 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6823 if ${ac_cv_header_stat_broken+:} false; then :
6824 $as_echo_n "(cached) " >&6
6825 else
6826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6827 /* end confdefs.h. */
6828 #include <sys/types.h>
6829 #include <sys/stat.h>
6831 #if defined S_ISBLK && defined S_IFDIR
6832 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6833 #endif
6835 #if defined S_ISBLK && defined S_IFCHR
6836 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6837 #endif
6839 #if defined S_ISLNK && defined S_IFREG
6840 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6841 #endif
6843 #if defined S_ISSOCK && defined S_IFREG
6844 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6845 #endif
6847 _ACEOF
6848 if ac_fn_c_try_compile "$LINENO"; then :
6849 ac_cv_header_stat_broken=no
6850 else
6851 ac_cv_header_stat_broken=yes
6853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6856 $as_echo "$ac_cv_header_stat_broken" >&6; }
6857 if test $ac_cv_header_stat_broken = yes; then
6859 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6865 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6866 do :
6867 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6868 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6869 #ifdef HAVE_SYS_PARAM_H
6870 # include <sys/param.h>
6871 #endif
6873 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6874 cat >>confdefs.h <<_ACEOF
6875 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6876 _ACEOF
6880 done
6883 for ac_header in \
6884 netinet/ip.h \
6885 net/if.h \
6886 net/if_arp.h \
6887 net/if_dl.h \
6888 net/if_types.h \
6889 net/route.h \
6890 netinet/if_ether.h \
6891 netinet/if_inarp.h \
6892 netinet/in_pcb.h \
6893 netinet/ip_icmp.h \
6894 netinet/ip_var.h \
6895 netinet/udp.h \
6896 netipx/ipx.h \
6897 sys/un.h \
6899 do :
6900 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6901 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6902 #ifdef HAVE_SYS_SOCKET_H
6903 # include <sys/socket.h>
6904 #endif
6905 #ifdef HAVE_SYS_SOCKETVAR_H
6906 # include <sys/socketvar.h>
6907 #endif
6908 #ifdef HAVE_NET_ROUTE_H
6909 # include <net/route.h>
6910 #endif
6911 #ifdef HAVE_NETINET_IN_H
6912 # include <netinet/in.h>
6913 #endif
6914 #ifdef HAVE_NETINET_IN_SYSTM_H
6915 # include <netinet/in_systm.h>
6916 #endif
6917 #ifdef HAVE_NET_IF_H
6918 # include <net/if.h>
6919 #endif
6920 #ifdef HAVE_NETINET_IP_H
6921 # include <netinet/ip.h>
6922 #endif
6924 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6925 cat >>confdefs.h <<_ACEOF
6926 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6927 _ACEOF
6931 done
6934 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6935 do :
6936 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6937 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6938 #ifdef HAVE_ALIAS_H
6939 # include <alias.h>
6940 #endif
6941 #ifdef HAVE_SYS_SOCKET_H
6942 # include <sys/socket.h>
6943 #endif
6944 #ifdef HAVE_SYS_SOCKETVAR_H
6945 # include <sys/socketvar.h>
6946 #endif
6947 #ifdef HAVE_SYS_TIMEOUT_H
6948 # include <sys/timeout.h>
6949 #endif
6950 #ifdef HAVE_NETINET_IN_H
6951 # include <netinet/in.h>
6952 #endif
6953 #ifdef HAVE_NETINET_IN_SYSTM_H
6954 # include <netinet/in_systm.h>
6955 #endif
6956 #ifdef HAVE_NETINET_IP_H
6957 # include <netinet/ip.h>
6958 #endif
6959 #ifdef HAVE_NETINET_IP_VAR_H
6960 # include <netinet/ip_var.h>
6961 #endif
6962 #ifdef HAVE_NETINET_IP_ICMP_H
6963 # include <netinet/ip_icmp.h>
6964 #endif
6965 #ifdef HAVE_NETINET_UDP_H
6966 # include <netinet/udp.h>
6967 #endif
6968 #ifdef HAVE_NETINET_TCP_H
6969 # include <netinet/tcp.h>
6970 #endif
6971 #ifdef HAVE_NETINET_TCP_TIMER_H
6972 #include <netinet/tcp_timer.h>
6973 #endif
6975 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6976 cat >>confdefs.h <<_ACEOF
6977 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6978 _ACEOF
6982 done
6985 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6986 do :
6987 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6988 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6989 #ifdef HAVE_ASM_TYPES_H
6990 # include <asm/types.h>
6991 #endif
6992 #ifdef HAVE_SYS_SOCKET_H
6993 # include <sys/socket.h>
6994 #endif
6995 #ifdef HAVE_LINUX_TYPES_H
6996 # include <linux/types.h>
6997 #endif
6999 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7000 cat >>confdefs.h <<_ACEOF
7001 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7002 _ACEOF
7006 done
7009 for ac_header in mach-o/dyld_images.h
7010 do :
7011 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7012 # include <stdbool.h>
7013 #endif
7014 #ifdef HAVE_STDINT_H
7015 # include <stdint.h>
7016 #endif
7018 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7019 cat >>confdefs.h <<_ACEOF
7020 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7021 _ACEOF
7025 done
7028 for ac_header in resolv.h
7029 do :
7030 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7031 #ifdef HAVE_SYS_SOCKET_H
7032 # include <sys/socket.h>
7033 #endif
7034 #ifdef HAVE_NETINET_IN_H
7035 # include <netinet/in.h>
7036 #endif
7037 #ifdef HAVE_ARPA_NAMESER_H
7038 # include <arpa/nameser.h>
7039 #endif
7041 if test "x$ac_cv_header_resolv_h" = xyes; then :
7042 cat >>confdefs.h <<_ACEOF
7043 #define HAVE_RESOLV_H 1
7044 _ACEOF
7048 done
7051 for ac_header in ifaddrs.h
7052 do :
7053 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7055 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7056 cat >>confdefs.h <<_ACEOF
7057 #define HAVE_IFADDRS_H 1
7058 _ACEOF
7062 done
7065 for ac_header in sys/ucontext.h
7066 do :
7067 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7069 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7070 cat >>confdefs.h <<_ACEOF
7071 #define HAVE_SYS_UCONTEXT_H 1
7072 _ACEOF
7076 done
7079 for ac_header in sys/thr.h
7080 do :
7081 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7082 #ifdef HAVE_SYS_UCONTEXT_H
7083 #include <sys/ucontext.h>
7084 #endif
7086 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7087 cat >>confdefs.h <<_ACEOF
7088 #define HAVE_SYS_THR_H 1
7089 _ACEOF
7093 done
7096 for ac_header in pthread_np.h
7097 do :
7098 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7099 #include <pthread.h>
7100 #endif
7102 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7103 cat >>confdefs.h <<_ACEOF
7104 #define HAVE_PTHREAD_NP_H 1
7105 _ACEOF
7109 done
7112 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7113 do :
7114 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7115 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7116 #include <sys/time.h>
7117 #endif
7118 #include <sys/types.h>
7119 #ifdef HAVE_ASM_TYPES_H
7120 #include <asm/types.h>
7121 #endif
7123 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7124 cat >>confdefs.h <<_ACEOF
7125 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7126 _ACEOF
7130 done
7133 for ac_header in libprocstat.h
7134 do :
7135 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7136 #include <sys/param.h>
7137 #endif
7138 #ifdef HAVE_SYS_QUEUE_H
7139 #include <sys/queue.h>
7140 #endif
7141 #ifdef HAVE_SYS_SOCKET_H
7142 #include <sys/socket.h>
7143 #endif
7145 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7146 cat >>confdefs.h <<_ACEOF
7147 #define HAVE_LIBPROCSTAT_H 1
7148 _ACEOF
7152 done
7156 dlldir="\${libdir}/wine"
7158 DLLFLAGS="-D_REENTRANT"
7160 LDRPATH_INSTALL=""
7162 LDRPATH_LOCAL=""
7164 LDEXECFLAGS=""
7166 LIBEXT="so"
7167 DLLEXT=".so"
7168 IMPLIBEXT="def"
7169 STATIC_IMPLIBEXT="def.a"
7170 # Extract the first word of "ldd", so it can be a program name with args.
7171 set dummy ldd; ac_word=$2
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7173 $as_echo_n "checking for $ac_word... " >&6; }
7174 if ${ac_cv_path_LDD+:} false; then :
7175 $as_echo_n "(cached) " >&6
7176 else
7177 case $LDD in
7178 [\\/]* | ?:[\\/]*)
7179 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7183 as_dummy="/sbin:/usr/sbin:$PATH"
7184 for as_dir in $as_dummy
7186 IFS=$as_save_IFS
7187 test -z "$as_dir" && as_dir=.
7188 for ac_exec_ext in '' $ac_executable_extensions; do
7189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7190 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7192 break 2
7194 done
7195 done
7196 IFS=$as_save_IFS
7198 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7200 esac
7202 LDD=$ac_cv_path_LDD
7203 if test -n "$LDD"; then
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7205 $as_echo "$LDD" >&6; }
7206 else
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7208 $as_echo "no" >&6; }
7212 if test -n "$ac_tool_prefix"; then
7213 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7214 set dummy ${ac_tool_prefix}otool; ac_word=$2
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7216 $as_echo_n "checking for $ac_word... " >&6; }
7217 if ${ac_cv_prog_OTOOL+:} false; then :
7218 $as_echo_n "(cached) " >&6
7219 else
7220 if test -n "$OTOOL"; then
7221 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7222 else
7223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7224 for as_dir in $PATH
7226 IFS=$as_save_IFS
7227 test -z "$as_dir" && as_dir=.
7228 for ac_exec_ext in '' $ac_executable_extensions; do
7229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7230 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7232 break 2
7234 done
7235 done
7236 IFS=$as_save_IFS
7240 OTOOL=$ac_cv_prog_OTOOL
7241 if test -n "$OTOOL"; then
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7243 $as_echo "$OTOOL" >&6; }
7244 else
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7246 $as_echo "no" >&6; }
7251 if test -z "$ac_cv_prog_OTOOL"; then
7252 ac_ct_OTOOL=$OTOOL
7253 # Extract the first word of "otool", so it can be a program name with args.
7254 set dummy otool; ac_word=$2
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7256 $as_echo_n "checking for $ac_word... " >&6; }
7257 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7258 $as_echo_n "(cached) " >&6
7259 else
7260 if test -n "$ac_ct_OTOOL"; then
7261 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7262 else
7263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7264 for as_dir in $PATH
7266 IFS=$as_save_IFS
7267 test -z "$as_dir" && as_dir=.
7268 for ac_exec_ext in '' $ac_executable_extensions; do
7269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7270 ac_cv_prog_ac_ct_OTOOL="otool"
7271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7272 break 2
7274 done
7275 done
7276 IFS=$as_save_IFS
7280 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7281 if test -n "$ac_ct_OTOOL"; then
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7283 $as_echo "$ac_ct_OTOOL" >&6; }
7284 else
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7286 $as_echo "no" >&6; }
7289 if test "x$ac_ct_OTOOL" = x; then
7290 OTOOL="otool"
7291 else
7292 case $cross_compiling:$ac_tool_warned in
7293 yes:)
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7296 ac_tool_warned=yes ;;
7297 esac
7298 OTOOL=$ac_ct_OTOOL
7300 else
7301 OTOOL="$ac_cv_prog_OTOOL"
7304 if test -n "$ac_tool_prefix"; then
7305 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7306 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7308 $as_echo_n "checking for $ac_word... " >&6; }
7309 if ${ac_cv_prog_READELF+:} false; then :
7310 $as_echo_n "(cached) " >&6
7311 else
7312 if test -n "$READELF"; then
7313 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7314 else
7315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7316 for as_dir in $PATH
7318 IFS=$as_save_IFS
7319 test -z "$as_dir" && as_dir=.
7320 for ac_exec_ext in '' $ac_executable_extensions; do
7321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7322 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7324 break 2
7326 done
7327 done
7328 IFS=$as_save_IFS
7332 READELF=$ac_cv_prog_READELF
7333 if test -n "$READELF"; then
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7335 $as_echo "$READELF" >&6; }
7336 else
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7338 $as_echo "no" >&6; }
7343 if test -z "$ac_cv_prog_READELF"; then
7344 ac_ct_READELF=$READELF
7345 # Extract the first word of "readelf", so it can be a program name with args.
7346 set dummy readelf; ac_word=$2
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7348 $as_echo_n "checking for $ac_word... " >&6; }
7349 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7350 $as_echo_n "(cached) " >&6
7351 else
7352 if test -n "$ac_ct_READELF"; then
7353 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7354 else
7355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7356 for as_dir in $PATH
7358 IFS=$as_save_IFS
7359 test -z "$as_dir" && as_dir=.
7360 for ac_exec_ext in '' $ac_executable_extensions; do
7361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7362 ac_cv_prog_ac_ct_READELF="readelf"
7363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7364 break 2
7366 done
7367 done
7368 IFS=$as_save_IFS
7372 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7373 if test -n "$ac_ct_READELF"; then
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7375 $as_echo "$ac_ct_READELF" >&6; }
7376 else
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 $as_echo "no" >&6; }
7381 if test "x$ac_ct_READELF" = x; then
7382 READELF="true"
7383 else
7384 case $cross_compiling:$ac_tool_warned in
7385 yes:)
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7388 ac_tool_warned=yes ;;
7389 esac
7390 READELF=$ac_ct_READELF
7392 else
7393 READELF="$ac_cv_prog_READELF"
7396 wine_rules_file=conf$$rules.make
7397 rm -f $wine_rules_file
7398 ALL_POT_FILES=""
7399 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7400 SUBDIRS=""
7402 ALL_TEST_RESOURCES=""
7405 wine_fn_append_file ()
7407 as_fn_append $1 " \\$as_nl $2"
7410 wine_fn_ignore_file ()
7412 case "$1" in
7413 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7414 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7415 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7416 esac
7419 wine_fn_append_rule ()
7421 $as_echo "$1" >>$wine_rules_file
7424 wine_fn_has_flag ()
7426 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7429 wine_fn_depend_rules ()
7431 wine_fn_append_file SUBDIRS $ac_dir
7434 wine_fn_pot_rules ()
7436 test "x$with_gettextpo" = xyes || return
7438 if wine_fn_has_flag mc
7439 then
7440 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7441 wine_fn_append_rule \
7442 "$ac_dir/msg.pot: dummy
7443 @cd $ac_dir && \$(MAKE) msg.pot
7444 $ac_dir/msg.pot: tools/wmc include"
7446 if wine_fn_has_flag po
7447 then
7448 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7449 wine_fn_append_rule \
7450 "$ac_dir/rsrc.pot: dummy
7451 @cd $ac_dir && \$(MAKE) rsrc.pot
7452 $ac_dir/rsrc.pot: tools/wrc include"
7456 wine_fn_all_rules ()
7458 wine_fn_depend_rules
7459 wine_fn_append_rule \
7460 "all: $ac_dir
7461 .PHONY: $ac_dir
7462 $ac_dir: dummy
7463 @cd $ac_dir && \$(MAKE)"
7466 wine_fn_install_rules ()
7468 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7470 wine_fn_append_rule \
7471 ".PHONY: $ac_dir/install $ac_dir/uninstall
7472 $ac_dir/install:: $ac_dir
7473 @cd $ac_dir && \$(MAKE) install
7474 $ac_dir/uninstall::
7475 @cd $ac_dir && \$(MAKE) uninstall
7476 install:: $ac_dir/install
7477 __uninstall__: $ac_dir/uninstall"
7479 if wine_fn_has_flag install-lib
7480 then
7481 wine_fn_append_rule \
7482 ".PHONY: $ac_dir/install-lib
7483 $ac_dir/install-lib:: $ac_dir
7484 @cd $ac_dir && \$(MAKE) install-lib
7485 install-lib:: $ac_dir/install-lib"
7488 if wine_fn_has_flag install-dev
7489 then
7490 wine_fn_append_rule \
7491 ".PHONY: $ac_dir/install-dev
7492 $ac_dir/install-dev:: $ac_dir
7493 @cd $ac_dir && \$(MAKE) install-dev
7494 install-dev:: $ac_dir/install-dev"
7498 wine_fn_clean_rules ()
7500 ac_clean=$@
7502 if wine_fn_has_flag clean
7503 then
7504 wine_fn_append_rule \
7505 "$ac_dir/clean: dummy
7506 @cd $ac_dir && \$(MAKE) clean"
7507 else
7508 wine_fn_append_rule \
7509 "$ac_dir/clean: dummy
7510 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7512 wine_fn_append_rule \
7513 "__clean__: $ac_dir/clean
7514 .PHONY: $ac_dir/clean"
7517 wine_fn_disabled_rules ()
7519 ac_clean=$@
7521 wine_fn_append_rule \
7522 "__clean__: $ac_dir/clean
7523 .PHONY: $ac_dir/clean
7524 $ac_dir/clean: dummy
7525 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7528 wine_fn_config_makefile ()
7530 ac_dir=$1
7531 ac_enable=$2
7532 ac_flags=$3
7534 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7535 wine_fn_disabled_rules; return
7537 wine_fn_all_rules
7538 wine_fn_install_rules
7539 wine_fn_clean_rules
7542 wine_fn_config_lib ()
7544 ac_name=$1
7545 ac_flags=$2
7546 ac_dir=dlls/$ac_name
7547 ac_deps="include"
7549 if test "x$enable_tools" = xno; then :
7551 else
7552 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7554 wine_fn_all_rules
7555 wine_fn_clean_rules
7557 wine_fn_append_rule \
7558 ".PHONY: $ac_dir/install $ac_dir/uninstall
7559 $ac_dir/install:: $ac_dir
7560 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7561 $ac_dir/uninstall::
7562 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7563 install install-dev:: $ac_dir/install
7564 __uninstall__: $ac_dir/uninstall
7565 __builddeps__: $ac_dir
7566 $ac_dir: $ac_deps"
7569 wine_fn_config_dll ()
7571 ac_name=$1
7572 ac_dir=dlls/$ac_name
7573 ac_enable=$2
7574 ac_flags=$3
7575 ac_implib=${4:-$ac_name}
7576 ac_file=$ac_dir/lib$ac_implib
7577 ac_dll=$ac_name
7578 ac_deps="include"
7579 ac_implibflags=""
7581 if test "x$enable_tools" = xno; then :
7583 else
7584 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7586 case $ac_name in
7587 *16) ac_implibflags=" -m16" ;;
7588 *.*) ;;
7589 *) ac_dll=$ac_dll.dll ;;
7590 esac
7592 ac_clean=
7593 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7594 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7595 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7596 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7598 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7599 if test "$ac_enable" != enable_win16
7600 then
7601 wine_fn_depend_rules
7602 wine_fn_clean_rules $ac_clean
7603 wine_fn_pot_rules
7604 else
7605 wine_fn_disabled_rules $ac_clean
7606 return
7608 else
7609 wine_fn_all_rules
7610 wine_fn_clean_rules $ac_clean
7611 wine_fn_append_rule \
7612 "$ac_dir: __builddeps__
7613 manpages htmlpages sgmlpages xmlpages::
7614 @cd $ac_dir && \$(MAKE) \$@
7615 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7616 install install-lib:: $ac_dir/install-lib
7617 __uninstall__: $ac_dir/uninstall"
7618 if test -n "$DLLEXT"
7619 then
7620 wine_fn_append_rule \
7621 "$ac_dir/install-lib:: $ac_dir
7622 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7623 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7624 $ac_dir/uninstall::
7625 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7626 else
7627 wine_fn_append_rule \
7628 "$ac_dir/install-lib:: $ac_dir
7629 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7630 $ac_dir/uninstall::
7631 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7634 wine_fn_pot_rules
7637 if wine_fn_has_flag staticimplib
7638 then
7639 wine_fn_append_rule \
7640 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7641 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7642 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7643 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7644 $ac_file.$STATIC_IMPLIBEXT: dummy
7645 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7646 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7647 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7648 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7649 $ac_dir/uninstall::
7650 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7651 install install-dev:: $ac_dir/install-dev
7652 __uninstall__: $ac_dir/uninstall"
7654 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7655 then
7656 wine_fn_append_rule \
7657 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7658 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7659 $ac_dir/uninstall::
7660 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7663 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7664 then
7665 wine_fn_append_rule \
7666 "__builddeps__: $ac_file.cross.a
7667 $ac_file.cross.a: dummy
7668 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7671 elif wine_fn_has_flag implib
7672 then
7673 wine_fn_append_rule \
7674 "__builddeps__: $ac_file.$IMPLIBEXT
7675 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7676 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7677 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7678 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7679 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7680 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7681 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7682 $ac_dir/uninstall::
7683 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7684 install install-dev:: $ac_dir/install-dev
7685 __uninstall__: $ac_dir/uninstall"
7686 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7687 then
7688 wine_fn_append_rule \
7689 "__builddeps__: $ac_file.cross.a
7690 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7691 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7694 if test "$ac_name" != "$ac_implib"
7695 then
7696 wine_fn_append_rule \
7697 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7698 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7699 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7700 clean::
7701 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7702 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7703 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7704 then
7705 wine_fn_append_rule \
7706 "__builddeps__: dlls/lib$ac_implib.cross.a
7707 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7708 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7709 clean::
7710 \$(RM) dlls/lib$ac_implib.cross.a"
7711 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7717 wine_fn_config_program ()
7719 ac_name=$1
7720 ac_dir=programs/$ac_name
7721 ac_enable=$2
7722 ac_flags=$3
7723 ac_program=$ac_name
7725 case $ac_name in
7726 *.*) ;;
7727 *) ac_program=$ac_program.exe ;;
7728 esac
7730 ac_clean=
7731 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7732 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7733 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7734 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7736 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7737 wine_fn_disabled_rules $ac_clean; return
7740 wine_fn_all_rules
7741 wine_fn_clean_rules $ac_clean
7742 wine_fn_append_rule "$ac_dir: __builddeps__"
7743 wine_fn_pot_rules
7745 wine_fn_has_flag install || return
7746 wine_fn_append_rule \
7747 ".PHONY: $ac_dir/install $ac_dir/uninstall
7748 install install-lib:: $ac_dir/install
7749 __uninstall__: $ac_dir/uninstall"
7751 if test -n "$DLLEXT"
7752 then
7753 wine_fn_append_rule \
7754 "$ac_dir/install:: $ac_dir
7755 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7756 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7757 $ac_dir/uninstall::
7758 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7760 if test -z "$with_wine64" && wine_fn_has_flag installbin
7761 then
7762 wine_fn_append_rule \
7763 "$ac_dir/install:: __tooldeps__
7764 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7765 $ac_dir/uninstall::
7766 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7768 else
7769 wine_fn_append_rule \
7770 "$ac_dir/install:: $ac_dir
7771 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7772 $ac_dir/uninstall::
7773 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7776 if test -z "$with_wine64" && wine_fn_has_flag manpage
7777 then
7778 wine_fn_append_rule \
7779 "$ac_dir/install:: $ac_dir
7780 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7781 $ac_dir/uninstall::
7782 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7786 wine_fn_config_test ()
7788 ac_dir=$1
7789 ac_name=$2
7790 ac_flags=$3
7792 ac_clean=
7793 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7794 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7796 if test "x$enable_tests" = xno; then :
7797 wine_fn_disabled_rules $ac_clean; return
7800 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7801 wine_fn_all_rules
7802 wine_fn_clean_rules $ac_clean
7804 wine_fn_append_rule \
7805 "$ac_dir: __builddeps__
7806 programs/winetest: $ac_dir
7807 check test: $ac_dir/test
7808 .PHONY: $ac_dir/test
7809 $ac_dir/test: dummy
7810 @cd $ac_dir && \$(MAKE) test
7811 testclean::
7812 \$(RM) $ac_dir/*.ok"
7814 if test -n "$CROSSTARGET"
7815 then
7816 wine_fn_append_rule \
7817 "crosstest: $ac_dir/crosstest
7818 .PHONY: $ac_dir/crosstest
7819 $ac_dir/crosstest: __builddeps__ dummy
7820 @cd $ac_dir && \$(MAKE) crosstest"
7824 wine_fn_config_tool ()
7826 ac_dir=$1
7827 ac_flags=$2
7828 if test "x$enable_tools" = xno; then :
7829 return
7832 wine_fn_all_rules
7833 wine_fn_install_rules
7834 wine_fn_clean_rules
7836 wine_fn_append_rule "__tooldeps__: $ac_dir"
7837 wine_fn_append_rule "$ac_dir: libs/port"
7838 case $ac_dir in
7839 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7840 esac
7843 wine_fn_config_symlink ()
7845 ac_linkdir=
7846 if test "x$1" = "x-d"
7847 then
7848 ac_linkdir=$2
7849 shift; shift
7851 ac_links=$@
7852 wine_fn_append_rule \
7853 "$ac_links:
7854 @./config.status \$@
7855 distclean::
7856 \$(RM) $ac_links"
7857 for f in $ac_links; do wine_fn_ignore_file $f; done
7858 test -n "$ac_linkdir" || return
7859 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7862 wine_binary="wine"
7863 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7864 WINELOADER_PROGRAMS="$wine_binary"
7866 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7868 case $host_os in
7869 cygwin*|mingw32*)
7870 if test -n "$ac_tool_prefix"; then
7871 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7872 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7874 $as_echo_n "checking for $ac_word... " >&6; }
7875 if ${ac_cv_prog_DLLTOOL+:} false; then :
7876 $as_echo_n "(cached) " >&6
7877 else
7878 if test -n "$DLLTOOL"; then
7879 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7880 else
7881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7882 for as_dir in $PATH
7884 IFS=$as_save_IFS
7885 test -z "$as_dir" && as_dir=.
7886 for ac_exec_ext in '' $ac_executable_extensions; do
7887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7888 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7890 break 2
7892 done
7893 done
7894 IFS=$as_save_IFS
7898 DLLTOOL=$ac_cv_prog_DLLTOOL
7899 if test -n "$DLLTOOL"; then
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7901 $as_echo "$DLLTOOL" >&6; }
7902 else
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7904 $as_echo "no" >&6; }
7909 if test -z "$ac_cv_prog_DLLTOOL"; then
7910 ac_ct_DLLTOOL=$DLLTOOL
7911 # Extract the first word of "dlltool", so it can be a program name with args.
7912 set dummy dlltool; ac_word=$2
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7914 $as_echo_n "checking for $ac_word... " >&6; }
7915 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7916 $as_echo_n "(cached) " >&6
7917 else
7918 if test -n "$ac_ct_DLLTOOL"; then
7919 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7920 else
7921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7922 for as_dir in $PATH
7924 IFS=$as_save_IFS
7925 test -z "$as_dir" && as_dir=.
7926 for ac_exec_ext in '' $ac_executable_extensions; do
7927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7928 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7930 break 2
7932 done
7933 done
7934 IFS=$as_save_IFS
7938 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7939 if test -n "$ac_ct_DLLTOOL"; then
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7941 $as_echo "$ac_ct_DLLTOOL" >&6; }
7942 else
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7944 $as_echo "no" >&6; }
7947 if test "x$ac_ct_DLLTOOL" = x; then
7948 DLLTOOL="false"
7949 else
7950 case $cross_compiling:$ac_tool_warned in
7951 yes:)
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7953 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7954 ac_tool_warned=yes ;;
7955 esac
7956 DLLTOOL=$ac_ct_DLLTOOL
7958 else
7959 DLLTOOL="$ac_cv_prog_DLLTOOL"
7962 LIBEXT="dll"
7963 DLLEXT=""
7964 IMPLIBEXT="a"
7965 STATIC_IMPLIBEXT="a"
7966 enable_iphlpapi=${enable_iphlpapi:-no}
7967 enable_kernel32=${enable_kernel32:-no}
7968 enable_msvcrt=${enable_msvcrt:-no}
7969 enable_ntdll=${enable_ntdll:-no}
7970 enable_ws2_32=${enable_ws2_32:-no}
7971 enable_loader=${enable_loader:-no}
7972 enable_server=${enable_server:-no}
7973 with_x=${with_x:-no}
7974 with_pthread=${with_pthread:-no}
7976 crtlibs=""
7977 case $host_os in
7978 mingw32*)
7979 crtlibs="-lmsvcrt"
7980 SOCKET_LIBS="-lws2_32"
7982 esac
7984 LIBWINE_SHAREDLIB="libwine.dll"
7986 LIBWINE_IMPORTLIB="libwine.a"
7988 LIBWINE_INSTALL_LIB="libwine.dll"
7990 LIBWINE_INSTALL_DEV="libwine.a"
7992 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7994 LIBWINE_DEPENDS="wine.def"
7998 darwin*|macosx*)
7999 for ac_header in libunwind.h
8000 do :
8001 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8002 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8003 cat >>confdefs.h <<_ACEOF
8004 #define HAVE_LIBUNWIND_H 1
8005 _ACEOF
8009 done
8011 LIBEXT="dylib"
8012 DLLFLAGS="$DLLFLAGS -fPIC"
8013 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8014 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8015 COREFOUNDATION_LIBS="-framework CoreFoundation"
8017 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8019 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8021 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8023 CORESERVICES_LIBS="-framework CoreServices"
8025 APPKIT_LIBS="-framework AppKit"
8027 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8029 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8030 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8031 $as_echo_n "(cached) " >&6
8032 else
8033 ac_wine_try_cflags_saved=$CFLAGS
8034 CFLAGS="$CFLAGS -Wl,-no_pie"
8035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8036 /* end confdefs.h. */
8037 int main(int argc, char **argv) { return 0; }
8038 _ACEOF
8039 if ac_fn_c_try_link "$LINENO"; then :
8040 ac_cv_cflags__Wl__no_pie=yes
8041 else
8042 ac_cv_cflags__Wl__no_pie=no
8044 rm -f core conftest.err conftest.$ac_objext \
8045 conftest$ac_exeext conftest.$ac_ext
8046 CFLAGS=$ac_wine_try_cflags_saved
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8049 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8050 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8051 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8053 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8054 then
8055 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8058 if test "$ac_cv_header_Security_Security_h" = "yes"
8059 then
8060 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8062 ac_save_LIBS="$LIBS"
8063 LIBS="$LIBS $SECURITY_LIBS"
8064 for ac_func in SSLCopyPeerCertificates
8065 do :
8066 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8067 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8068 cat >>confdefs.h <<_ACEOF
8069 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8070 _ACEOF
8073 done
8075 LIBS="$ac_save_LIBS"
8076 with_gnutls=${with_gnutls:-no}
8078 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8079 then
8080 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8081 then
8082 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8084 else
8085 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8088 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8089 ac_save_LIBS="$LIBS"
8090 LIBS="$LIBS $COREAUDIO_LIBS"
8091 for ac_func in AUGraphAddNode
8092 do :
8093 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8094 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8095 cat >>confdefs.h <<_ACEOF
8096 #define HAVE_AUGRAPHADDNODE 1
8097 _ACEOF
8100 done
8102 LIBS="$ac_save_LIBS"
8104 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8105 then
8106 OPENAL_LIBS="-framework OpenAL"
8109 cat >>confdefs.h <<_ACEOF
8110 #define HAVE_OPENAL 1
8111 _ACEOF
8113 ac_cv_lib_openal=yes
8115 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8116 then
8117 OPENCL_LIBS="-framework OpenCL"
8119 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8121 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8122 then
8123 ac_save_LIBS="$LIBS"
8124 LIBS="$LIBS $IOKIT_LIBS"
8125 for ac_func in IOHIDManagerCreate
8126 do :
8127 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8128 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8129 cat >>confdefs.h <<_ACEOF
8130 #define HAVE_IOHIDMANAGERCREATE 1
8131 _ACEOF
8134 done
8136 LIBS="$ac_save_LIBS"
8138 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8139 then
8140 ac_save_LIBS="$LIBS"
8141 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8143 $as_echo_n "checking for the QuickTime framework... " >&6; }
8144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8145 /* end confdefs.h. */
8146 #include <QuickTime/ImageCompression.h>
8148 main ()
8150 CodecManagerVersion(NULL);
8152 return 0;
8154 _ACEOF
8155 if ac_fn_c_try_link "$LINENO"; then :
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8157 $as_echo "yes" >&6; }
8158 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8160 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8161 else
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8163 $as_echo "no" >&6; }
8164 ac_cv_header_QuickTime_ImageCompression_h=no
8166 rm -f core conftest.err conftest.$ac_objext \
8167 conftest$ac_exeext conftest.$ac_ext
8168 LIBS="$ac_save_LIBS"
8170 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8171 then
8172 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8174 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8175 then
8176 CARBON_LIBS="-framework Carbon"
8180 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8181 then
8182 ac_save_LIBS="$LIBS"
8183 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8184 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8185 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8186 enable_winemac_drv=${enable_winemac_drv:-yes}
8189 LIBS="$ac_save_LIBS"
8192 if test "x$enable_win16" = "xyes"
8193 then
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8195 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8196 if test "$cross_compiling" = yes; then :
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8198 $as_echo "cross-compiling, assuming yes" >&6; }
8199 else
8200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8201 /* end confdefs.h. */
8202 asm(".text\n"
8203 "bad:\tnop;nop\n"
8204 "good:\tnop;nop\n\t"
8205 ".globl _testfunc\n"
8206 "_testfunc:\tcallw good");
8207 extern void testfunc();
8209 main ()
8211 unsigned short *p = (unsigned short *)testfunc;
8212 return p[0] != 0xe866 || p[1] != 0xfffa
8214 return 0;
8216 _ACEOF
8217 if ac_fn_c_try_run "$LINENO"; then :
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8219 $as_echo "yes" >&6; }
8220 else
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8222 $as_echo "no" >&6; }
8223 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
8225 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8226 conftest.$ac_objext conftest.beam conftest.$ac_ext
8231 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8233 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8235 LIBWINE_INSTALL_DEV="libwine.dylib"
8237 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8239 WINELOADER_DEPENDS="wine_info.plist"
8243 linux-android*)
8244 DLLFLAGS="$DLLFLAGS -fPIC"
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8246 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8247 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8248 $as_echo_n "(cached) " >&6
8249 else
8250 ac_wine_try_cflags_saved=$CFLAGS
8251 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8253 /* end confdefs.h. */
8254 int main(int argc, char **argv) { return 0; }
8255 _ACEOF
8256 if ac_fn_c_try_link "$LINENO"; then :
8257 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8258 else
8259 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8261 rm -f core conftest.err conftest.$ac_objext \
8262 conftest$ac_exeext conftest.$ac_ext
8263 CFLAGS=$ac_wine_try_cflags_saved
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8266 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8267 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8268 LDEXECFLAGS="-Wl,--export-dynamic"
8270 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8272 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8273 if eval \${$as_ac_var+:} false; then :
8274 $as_echo_n "(cached) " >&6
8275 else
8276 ac_wine_try_cflags_saved=$CFLAGS
8277 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8279 /* end confdefs.h. */
8280 int main(int argc, char **argv) { return 0; }
8281 _ACEOF
8282 if ac_fn_c_try_link "$LINENO"; then :
8283 eval "$as_ac_var=yes"
8284 else
8285 eval "$as_ac_var=no"
8287 rm -f core conftest.err conftest.$ac_objext \
8288 conftest$ac_exeext conftest.$ac_ext
8289 CFLAGS=$ac_wine_try_cflags_saved
8291 eval ac_res=\$$as_ac_var
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8293 $as_echo "$ac_res" >&6; }
8294 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8295 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8296 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8297 else
8298 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8300 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8301 if eval \${$as_ac_var+:} false; then :
8302 $as_echo_n "(cached) " >&6
8303 else
8304 ac_wine_try_cflags_saved=$CFLAGS
8305 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8307 /* end confdefs.h. */
8308 int main(int argc, char **argv) { return 0; }
8309 _ACEOF
8310 if ac_fn_c_try_link "$LINENO"; then :
8311 eval "$as_ac_var=yes"
8312 else
8313 eval "$as_ac_var=no"
8315 rm -f core conftest.err conftest.$ac_objext \
8316 conftest$ac_exeext conftest.$ac_ext
8317 CFLAGS=$ac_wine_try_cflags_saved
8319 eval ac_res=\$$as_ac_var
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8321 $as_echo "$ac_res" >&6; }
8322 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8323 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8324 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8329 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8330 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8331 $as_echo_n "(cached) " >&6
8332 else
8333 ac_wine_try_cflags_saved=$CFLAGS
8334 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8336 /* end confdefs.h. */
8337 int main(int argc, char **argv) { return 0; }
8338 _ACEOF
8339 if ac_fn_c_try_link "$LINENO"; then :
8340 ac_cv_cflags__Wl___enable_new_dtags=yes
8341 else
8342 ac_cv_cflags__Wl___enable_new_dtags=no
8344 rm -f core conftest.err conftest.$ac_objext \
8345 conftest$ac_exeext conftest.$ac_ext
8346 CFLAGS=$ac_wine_try_cflags_saved
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8349 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8350 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8351 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8354 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8355 if ${ac_cv_cflags__Wl__pie+:} false; then :
8356 $as_echo_n "(cached) " >&6
8357 else
8358 ac_wine_try_cflags_saved=$CFLAGS
8359 CFLAGS="$CFLAGS -Wl,-pie"
8360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8361 /* end confdefs.h. */
8362 int main(int argc, char **argv) { return 0; }
8363 _ACEOF
8364 if ac_fn_c_try_link "$LINENO"; then :
8365 ac_cv_cflags__Wl__pie=yes
8366 else
8367 ac_cv_cflags__Wl__pie=no
8369 rm -f core conftest.err conftest.$ac_objext \
8370 conftest$ac_exeext conftest.$ac_ext
8371 CFLAGS=$ac_wine_try_cflags_saved
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8374 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8375 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8376 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8379 LIBWINE_SHAREDLIB="libwine.so"
8381 LIBWINE_INSTALL_LIB="libwine.so"
8383 LIBWINE_LDFLAGS="-shared"
8388 DLLFLAGS="$DLLFLAGS -fPIC"
8389 LDEXECFLAGS=""
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8391 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8392 if ${ac_cv_c_dll_gnuelf+:} false; then :
8393 $as_echo_n "(cached) " >&6
8394 else
8395 ac_wine_try_cflags_saved=$CFLAGS
8396 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8398 /* end confdefs.h. */
8399 void myfunc() {}
8400 _ACEOF
8401 if ac_fn_c_try_link "$LINENO"; then :
8402 ac_cv_c_dll_gnuelf="yes"
8403 else
8404 ac_cv_c_dll_gnuelf="no"
8406 rm -f core conftest.err conftest.$ac_objext \
8407 conftest$ac_exeext conftest.$ac_ext
8408 CFLAGS=$ac_wine_try_cflags_saved
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8411 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8412 if test "$ac_cv_c_dll_gnuelf" = "yes"
8413 then
8414 LIBWINE_LDFLAGS="-shared"
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8416 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8417 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8418 $as_echo_n "(cached) " >&6
8419 else
8420 ac_wine_try_cflags_saved=$CFLAGS
8421 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8423 /* end confdefs.h. */
8424 int main(int argc, char **argv) { return 0; }
8425 _ACEOF
8426 if ac_fn_c_try_link "$LINENO"; then :
8427 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8428 else
8429 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8431 rm -f core conftest.err conftest.$ac_objext \
8432 conftest$ac_exeext conftest.$ac_ext
8433 CFLAGS=$ac_wine_try_cflags_saved
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8436 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8437 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8438 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8439 else
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8441 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8442 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8443 $as_echo_n "(cached) " >&6
8444 else
8445 ac_wine_try_cflags_saved=$CFLAGS
8446 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8448 /* end confdefs.h. */
8449 int main(int argc, char **argv) { return 0; }
8450 _ACEOF
8451 if ac_fn_c_try_link "$LINENO"; then :
8452 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8453 else
8454 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8456 rm -f core conftest.err conftest.$ac_objext \
8457 conftest$ac_exeext conftest.$ac_ext
8458 CFLAGS=$ac_wine_try_cflags_saved
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8461 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8462 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8463 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8467 echo '{ global: *; };' >conftest.map
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8469 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8470 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8471 $as_echo_n "(cached) " >&6
8472 else
8473 ac_wine_try_cflags_saved=$CFLAGS
8474 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8476 /* end confdefs.h. */
8477 int main(int argc, char **argv) { return 0; }
8478 _ACEOF
8479 if ac_fn_c_try_link "$LINENO"; then :
8480 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8481 else
8482 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8484 rm -f core conftest.err conftest.$ac_objext \
8485 conftest$ac_exeext conftest.$ac_ext
8486 CFLAGS=$ac_wine_try_cflags_saved
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8489 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8490 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8491 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8493 rm -f conftest.map
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8496 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8497 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8498 $as_echo_n "(cached) " >&6
8499 else
8500 ac_wine_try_cflags_saved=$CFLAGS
8501 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8503 /* end confdefs.h. */
8504 int main(int argc, char **argv) { return 0; }
8505 _ACEOF
8506 if ac_fn_c_try_link "$LINENO"; then :
8507 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8508 else
8509 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8511 rm -f core conftest.err conftest.$ac_objext \
8512 conftest$ac_exeext conftest.$ac_ext
8513 CFLAGS=$ac_wine_try_cflags_saved
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8516 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8517 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8518 LDEXECFLAGS="-Wl,--export-dynamic"
8521 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8523 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8524 if eval \${$as_ac_var+:} false; then :
8525 $as_echo_n "(cached) " >&6
8526 else
8527 ac_wine_try_cflags_saved=$CFLAGS
8528 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8530 /* end confdefs.h. */
8531 int main(int argc, char **argv) { return 0; }
8532 _ACEOF
8533 if ac_fn_c_try_link "$LINENO"; then :
8534 eval "$as_ac_var=yes"
8535 else
8536 eval "$as_ac_var=no"
8538 rm -f core conftest.err conftest.$ac_objext \
8539 conftest$ac_exeext conftest.$ac_ext
8540 CFLAGS=$ac_wine_try_cflags_saved
8542 eval ac_res=\$$as_ac_var
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8544 $as_echo "$ac_res" >&6; }
8545 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8546 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8547 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8548 else
8549 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8551 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8552 if eval \${$as_ac_var+:} false; then :
8553 $as_echo_n "(cached) " >&6
8554 else
8555 ac_wine_try_cflags_saved=$CFLAGS
8556 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8558 /* end confdefs.h. */
8559 int main(int argc, char **argv) { return 0; }
8560 _ACEOF
8561 if ac_fn_c_try_link "$LINENO"; then :
8562 eval "$as_ac_var=yes"
8563 else
8564 eval "$as_ac_var=no"
8566 rm -f core conftest.err conftest.$ac_objext \
8567 conftest$ac_exeext conftest.$ac_ext
8568 CFLAGS=$ac_wine_try_cflags_saved
8570 eval ac_res=\$$as_ac_var
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8572 $as_echo "$ac_res" >&6; }
8573 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8574 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8575 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8580 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8581 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8582 $as_echo_n "(cached) " >&6
8583 else
8584 ac_wine_try_cflags_saved=$CFLAGS
8585 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8587 /* end confdefs.h. */
8588 int main(int argc, char **argv) { return 0; }
8589 _ACEOF
8590 if ac_fn_c_try_link "$LINENO"; then :
8591 ac_cv_cflags__Wl___enable_new_dtags=yes
8592 else
8593 ac_cv_cflags__Wl___enable_new_dtags=no
8595 rm -f core conftest.err conftest.$ac_objext \
8596 conftest$ac_exeext conftest.$ac_ext
8597 CFLAGS=$ac_wine_try_cflags_saved
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8600 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8601 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8602 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8605 case $host_cpu in
8606 *i[3456789]86* | x86_64)
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8608 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8609 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8610 $as_echo_n "(cached) " >&6
8611 else
8612 ac_wine_try_cflags_saved=$CFLAGS
8613 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8615 /* end confdefs.h. */
8616 int main(int argc, char **argv) { return 0; }
8617 _ACEOF
8618 if ac_fn_c_try_link "$LINENO"; then :
8619 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8620 else
8621 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8623 rm -f core conftest.err conftest.$ac_objext \
8624 conftest$ac_exeext conftest.$ac_ext
8625 CFLAGS=$ac_wine_try_cflags_saved
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8628 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8629 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8630 case $host_os in
8631 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8632 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8633 esac
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8637 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8638 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8639 $as_echo_n "(cached) " >&6
8640 else
8641 ac_wine_try_cflags_saved=$CFLAGS
8642 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8644 /* end confdefs.h. */
8645 int main(int argc, char **argv) { return 0; }
8646 _ACEOF
8647 if ac_fn_c_try_link "$LINENO"; then :
8648 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8649 else
8650 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8652 rm -f core conftest.err conftest.$ac_objext \
8653 conftest$ac_exeext conftest.$ac_ext
8654 CFLAGS=$ac_wine_try_cflags_saved
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8657 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8658 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8660 else
8661 # Extract the first word of "prelink", so it can be a program name with args.
8662 set dummy prelink; ac_word=$2
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8664 $as_echo_n "checking for $ac_word... " >&6; }
8665 if ${ac_cv_path_PRELINK+:} false; then :
8666 $as_echo_n "(cached) " >&6
8667 else
8668 case $PRELINK in
8669 [\\/]* | ?:[\\/]*)
8670 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8674 for as_dir in /sbin /usr/sbin $PATH
8676 IFS=$as_save_IFS
8677 test -z "$as_dir" && as_dir=.
8678 for ac_exec_ext in '' $ac_executable_extensions; do
8679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8680 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8682 break 2
8684 done
8685 done
8686 IFS=$as_save_IFS
8688 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8690 esac
8692 PRELINK=$ac_cv_path_PRELINK
8693 if test -n "$PRELINK"; then
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8695 $as_echo "$PRELINK" >&6; }
8696 else
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8698 $as_echo "no" >&6; }
8702 if test "x$PRELINK" = xfalse
8703 then
8704 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8708 esac
8710 else
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8712 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8713 if ${ac_cv_c_dll_unixware+:} false; then :
8714 $as_echo_n "(cached) " >&6
8715 else
8716 ac_wine_try_cflags_saved=$CFLAGS
8717 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8719 /* end confdefs.h. */
8720 void myfunc() {}
8721 _ACEOF
8722 if ac_fn_c_try_link "$LINENO"; then :
8723 ac_cv_c_dll_unixware="yes"
8724 else
8725 ac_cv_c_dll_unixware="no"
8727 rm -f core conftest.err conftest.$ac_objext \
8728 conftest$ac_exeext conftest.$ac_ext
8729 CFLAGS=$ac_wine_try_cflags_saved
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8732 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8733 if test "$ac_cv_c_dll_unixware" = "yes"
8734 then
8735 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8738 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8740 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8742 LIBWINE_INSTALL_DEV="libwine.so"
8744 LIBWINE_DEPENDS="wine.map"
8747 esac
8749 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8750 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8751 enable_winemac_drv=${enable_winemac_drv:-no}
8752 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8754 CROSSTARGET=""
8756 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8757 then
8758 case "$host_cpu" in
8759 arm*)
8760 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8761 i[3456789]86*)
8762 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
8763 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8764 mingw32-gcc" ;;
8765 x86_64)
8766 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
8767 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8769 ac_prefix_list="" ;;
8770 esac
8771 for ac_prog in $ac_prefix_list
8773 # Extract the first word of "$ac_prog", so it can be a program name with args.
8774 set dummy $ac_prog; ac_word=$2
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8776 $as_echo_n "checking for $ac_word... " >&6; }
8777 if ${ac_cv_prog_CROSSCC+:} false; then :
8778 $as_echo_n "(cached) " >&6
8779 else
8780 if test -n "$CROSSCC"; then
8781 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8782 else
8783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8784 for as_dir in $PATH
8786 IFS=$as_save_IFS
8787 test -z "$as_dir" && as_dir=.
8788 for ac_exec_ext in '' $ac_executable_extensions; do
8789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8790 ac_cv_prog_CROSSCC="$ac_prog"
8791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8792 break 2
8794 done
8795 done
8796 IFS=$as_save_IFS
8800 CROSSCC=$ac_cv_prog_CROSSCC
8801 if test -n "$CROSSCC"; then
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8803 $as_echo "$CROSSCC" >&6; }
8804 else
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8806 $as_echo "no" >&6; }
8810 test -n "$CROSSCC" && break
8811 done
8812 test -n "$CROSSCC" || CROSSCC="false"
8814 if test "$CROSSCC" != "false"
8815 then
8816 ac_save_CC="$CC"
8817 CC="$CROSSCC"
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8819 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8821 /* end confdefs.h. */
8824 main ()
8828 return 0;
8830 _ACEOF
8831 if ac_fn_c_try_compile "$LINENO"; then :
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8833 $as_echo "yes" >&6; }
8834 set x $CROSSCC
8835 shift
8836 while test $# -ge 1
8838 case "$1" in
8839 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8840 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8841 esac
8842 shift
8843 done
8844 else
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8846 $as_echo "no" >&6; }
8848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8849 CC="$ac_save_CC"
8854 if test "$ac_cv_header_pthread_h" = "yes"
8855 then
8856 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8857 if test "x$ac_cv_func_pthread_create" = xyes; then :
8859 else
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8861 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8862 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8863 $as_echo_n "(cached) " >&6
8864 else
8865 ac_check_lib_save_LIBS=$LIBS
8866 LIBS="-lpthread $LIBS"
8867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8868 /* end confdefs.h. */
8870 /* Override any GCC internal prototype to avoid an error.
8871 Use char because int might match the return type of a GCC
8872 builtin and then its argument prototype would still apply. */
8873 #ifdef __cplusplus
8874 extern "C"
8875 #endif
8876 char pthread_create ();
8878 main ()
8880 return pthread_create ();
8882 return 0;
8884 _ACEOF
8885 if ac_fn_c_try_link "$LINENO"; then :
8886 ac_cv_lib_pthread_pthread_create=yes
8887 else
8888 ac_cv_lib_pthread_pthread_create=no
8890 rm -f core conftest.err conftest.$ac_objext \
8891 conftest$ac_exeext conftest.$ac_ext
8892 LIBS=$ac_check_lib_save_LIBS
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8895 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8896 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8897 PTHREAD_LIBS="-lpthread"
8904 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8905 case "x$with_pthread" in
8906 xno) ;;
8907 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8908 Wine cannot support threads without libpthread.
8909 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8910 esac
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8915 $as_echo_n "checking for X... " >&6; }
8918 # Check whether --with-x was given.
8919 if test "${with_x+set}" = set; then :
8920 withval=$with_x;
8923 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8924 if test "x$with_x" = xno; then
8925 # The user explicitly disabled X.
8926 have_x=disabled
8927 else
8928 case $x_includes,$x_libraries in #(
8929 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8930 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8931 $as_echo_n "(cached) " >&6
8932 else
8933 # One or both of the vars are not set, and there is no cached value.
8934 ac_x_includes=no ac_x_libraries=no
8935 rm -f -r conftest.dir
8936 if mkdir conftest.dir; then
8937 cd conftest.dir
8938 cat >Imakefile <<'_ACEOF'
8939 incroot:
8940 @echo incroot='${INCROOT}'
8941 usrlibdir:
8942 @echo usrlibdir='${USRLIBDIR}'
8943 libdir:
8944 @echo libdir='${LIBDIR}'
8945 _ACEOF
8946 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8947 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8948 for ac_var in incroot usrlibdir libdir; do
8949 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8950 done
8951 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8952 for ac_extension in a so sl dylib la dll; do
8953 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8954 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8955 ac_im_usrlibdir=$ac_im_libdir; break
8957 done
8958 # Screen out bogus values from the imake configuration. They are
8959 # bogus both because they are the default anyway, and because
8960 # using them would break gcc on systems where it needs fixed includes.
8961 case $ac_im_incroot in
8962 /usr/include) ac_x_includes= ;;
8963 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8964 esac
8965 case $ac_im_usrlibdir in
8966 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8967 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8968 esac
8970 cd ..
8971 rm -f -r conftest.dir
8974 # Standard set of common directories for X headers.
8975 # Check X11 before X11Rn because it is often a symlink to the current release.
8976 ac_x_header_dirs='
8977 /usr/X11/include
8978 /usr/X11R7/include
8979 /usr/X11R6/include
8980 /usr/X11R5/include
8981 /usr/X11R4/include
8983 /usr/include/X11
8984 /usr/include/X11R7
8985 /usr/include/X11R6
8986 /usr/include/X11R5
8987 /usr/include/X11R4
8989 /usr/local/X11/include
8990 /usr/local/X11R7/include
8991 /usr/local/X11R6/include
8992 /usr/local/X11R5/include
8993 /usr/local/X11R4/include
8995 /usr/local/include/X11
8996 /usr/local/include/X11R7
8997 /usr/local/include/X11R6
8998 /usr/local/include/X11R5
8999 /usr/local/include/X11R4
9001 /usr/X386/include
9002 /usr/x386/include
9003 /usr/XFree86/include/X11
9005 /usr/include
9006 /usr/local/include
9007 /usr/unsupported/include
9008 /usr/athena/include
9009 /usr/local/x11r5/include
9010 /usr/lpp/Xamples/include
9012 /usr/openwin/include
9013 /usr/openwin/share/include'
9015 if test "$ac_x_includes" = no; then
9016 # Guess where to find include files, by looking for Xlib.h.
9017 # First, try using that file with no special directory specified.
9018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9019 /* end confdefs.h. */
9020 #include <X11/Xlib.h>
9021 _ACEOF
9022 if ac_fn_c_try_cpp "$LINENO"; then :
9023 # We can compile using X headers with no special include directory.
9024 ac_x_includes=
9025 else
9026 for ac_dir in $ac_x_header_dirs; do
9027 if test -r "$ac_dir/X11/Xlib.h"; then
9028 ac_x_includes=$ac_dir
9029 break
9031 done
9033 rm -f conftest.err conftest.i conftest.$ac_ext
9034 fi # $ac_x_includes = no
9036 if test "$ac_x_libraries" = no; then
9037 # Check for the libraries.
9038 # See if we find them without any special options.
9039 # Don't add to $LIBS permanently.
9040 ac_save_LIBS=$LIBS
9041 LIBS="-lX11 $LIBS"
9042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9043 /* end confdefs.h. */
9044 #include <X11/Xlib.h>
9046 main ()
9048 XrmInitialize ()
9050 return 0;
9052 _ACEOF
9053 if ac_fn_c_try_link "$LINENO"; then :
9054 LIBS=$ac_save_LIBS
9055 # We can link X programs with no special library path.
9056 ac_x_libraries=
9057 else
9058 LIBS=$ac_save_LIBS
9059 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9061 # Don't even attempt the hair of trying to link an X program!
9062 for ac_extension in a so sl dylib la dll; do
9063 if test -r "$ac_dir/libX11.$ac_extension"; then
9064 ac_x_libraries=$ac_dir
9065 break 2
9067 done
9068 done
9070 rm -f core conftest.err conftest.$ac_objext \
9071 conftest$ac_exeext conftest.$ac_ext
9072 fi # $ac_x_libraries = no
9074 case $ac_x_includes,$ac_x_libraries in #(
9075 no,* | *,no | *\'*)
9076 # Didn't find X, or a directory has "'" in its name.
9077 ac_cv_have_x="have_x=no";; #(
9079 # Record where we found X for the cache.
9080 ac_cv_have_x="have_x=yes\
9081 ac_x_includes='$ac_x_includes'\
9082 ac_x_libraries='$ac_x_libraries'"
9083 esac
9085 ;; #(
9086 *) have_x=yes;;
9087 esac
9088 eval "$ac_cv_have_x"
9089 fi # $with_x != no
9091 if test "$have_x" != yes; then
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9093 $as_echo "$have_x" >&6; }
9094 no_x=yes
9095 else
9096 # If each of the values was on the command line, it overrides each guess.
9097 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9098 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9099 # Update the cache value to reflect the command line values.
9100 ac_cv_have_x="have_x=yes\
9101 ac_x_includes='$x_includes'\
9102 ac_x_libraries='$x_libraries'"
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9104 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9107 if test "$no_x" = yes; then
9108 # Not all programs may use this symbol, but it does not hurt to define it.
9110 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9112 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9113 else
9114 if test -n "$x_includes"; then
9115 X_CFLAGS="$X_CFLAGS -I$x_includes"
9118 # It would also be nice to do this for all -L options, not just this one.
9119 if test -n "$x_libraries"; then
9120 X_LIBS="$X_LIBS -L$x_libraries"
9121 # For Solaris; some versions of Sun CC require a space after -R and
9122 # others require no space. Words are not sufficient . . . .
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9124 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9125 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9126 ac_xsave_c_werror_flag=$ac_c_werror_flag
9127 ac_c_werror_flag=yes
9128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9129 /* end confdefs.h. */
9132 main ()
9136 return 0;
9138 _ACEOF
9139 if ac_fn_c_try_link "$LINENO"; then :
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9141 $as_echo "no" >&6; }
9142 X_LIBS="$X_LIBS -R$x_libraries"
9143 else
9144 LIBS="$ac_xsave_LIBS -R $x_libraries"
9145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9146 /* end confdefs.h. */
9149 main ()
9153 return 0;
9155 _ACEOF
9156 if ac_fn_c_try_link "$LINENO"; then :
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9158 $as_echo "yes" >&6; }
9159 X_LIBS="$X_LIBS -R $x_libraries"
9160 else
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9162 $as_echo "neither works" >&6; }
9164 rm -f core conftest.err conftest.$ac_objext \
9165 conftest$ac_exeext conftest.$ac_ext
9167 rm -f core conftest.err conftest.$ac_objext \
9168 conftest$ac_exeext conftest.$ac_ext
9169 ac_c_werror_flag=$ac_xsave_c_werror_flag
9170 LIBS=$ac_xsave_LIBS
9173 # Check for system-dependent libraries X programs must link with.
9174 # Do this before checking for the system-independent R6 libraries
9175 # (-lICE), since we may need -lsocket or whatever for X linking.
9177 if test "$ISC" = yes; then
9178 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9179 else
9180 # Martyn Johnson says this is needed for Ultrix, if the X
9181 # libraries were built with DECnet support. And Karl Berry says
9182 # the Alpha needs dnet_stub (dnet does not exist).
9183 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9185 /* end confdefs.h. */
9187 /* Override any GCC internal prototype to avoid an error.
9188 Use char because int might match the return type of a GCC
9189 builtin and then its argument prototype would still apply. */
9190 #ifdef __cplusplus
9191 extern "C"
9192 #endif
9193 char XOpenDisplay ();
9195 main ()
9197 return XOpenDisplay ();
9199 return 0;
9201 _ACEOF
9202 if ac_fn_c_try_link "$LINENO"; then :
9204 else
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9206 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9207 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9208 $as_echo_n "(cached) " >&6
9209 else
9210 ac_check_lib_save_LIBS=$LIBS
9211 LIBS="-ldnet $LIBS"
9212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9213 /* end confdefs.h. */
9215 /* Override any GCC internal prototype to avoid an error.
9216 Use char because int might match the return type of a GCC
9217 builtin and then its argument prototype would still apply. */
9218 #ifdef __cplusplus
9219 extern "C"
9220 #endif
9221 char dnet_ntoa ();
9223 main ()
9225 return dnet_ntoa ();
9227 return 0;
9229 _ACEOF
9230 if ac_fn_c_try_link "$LINENO"; then :
9231 ac_cv_lib_dnet_dnet_ntoa=yes
9232 else
9233 ac_cv_lib_dnet_dnet_ntoa=no
9235 rm -f core conftest.err conftest.$ac_objext \
9236 conftest$ac_exeext conftest.$ac_ext
9237 LIBS=$ac_check_lib_save_LIBS
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9240 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9241 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9242 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9245 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9247 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9248 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9249 $as_echo_n "(cached) " >&6
9250 else
9251 ac_check_lib_save_LIBS=$LIBS
9252 LIBS="-ldnet_stub $LIBS"
9253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9254 /* end confdefs.h. */
9256 /* Override any GCC internal prototype to avoid an error.
9257 Use char because int might match the return type of a GCC
9258 builtin and then its argument prototype would still apply. */
9259 #ifdef __cplusplus
9260 extern "C"
9261 #endif
9262 char dnet_ntoa ();
9264 main ()
9266 return dnet_ntoa ();
9268 return 0;
9270 _ACEOF
9271 if ac_fn_c_try_link "$LINENO"; then :
9272 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9273 else
9274 ac_cv_lib_dnet_stub_dnet_ntoa=no
9276 rm -f core conftest.err conftest.$ac_objext \
9277 conftest$ac_exeext conftest.$ac_ext
9278 LIBS=$ac_check_lib_save_LIBS
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9281 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9282 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9283 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9288 rm -f core conftest.err conftest.$ac_objext \
9289 conftest$ac_exeext conftest.$ac_ext
9290 LIBS="$ac_xsave_LIBS"
9292 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9293 # to get the SysV transport functions.
9294 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9295 # needs -lnsl.
9296 # The nsl library prevents programs from opening the X display
9297 # on Irix 5.2, according to T.E. Dickey.
9298 # The functions gethostbyname, getservbyname, and inet_addr are
9299 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9300 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9301 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9305 if test $ac_cv_func_gethostbyname = no; then
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9307 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9308 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9309 $as_echo_n "(cached) " >&6
9310 else
9311 ac_check_lib_save_LIBS=$LIBS
9312 LIBS="-lnsl $LIBS"
9313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9314 /* end confdefs.h. */
9316 /* Override any GCC internal prototype to avoid an error.
9317 Use char because int might match the return type of a GCC
9318 builtin and then its argument prototype would still apply. */
9319 #ifdef __cplusplus
9320 extern "C"
9321 #endif
9322 char gethostbyname ();
9324 main ()
9326 return gethostbyname ();
9328 return 0;
9330 _ACEOF
9331 if ac_fn_c_try_link "$LINENO"; then :
9332 ac_cv_lib_nsl_gethostbyname=yes
9333 else
9334 ac_cv_lib_nsl_gethostbyname=no
9336 rm -f core conftest.err conftest.$ac_objext \
9337 conftest$ac_exeext conftest.$ac_ext
9338 LIBS=$ac_check_lib_save_LIBS
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9341 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9342 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9343 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9346 if test $ac_cv_lib_nsl_gethostbyname = no; then
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9348 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9349 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9350 $as_echo_n "(cached) " >&6
9351 else
9352 ac_check_lib_save_LIBS=$LIBS
9353 LIBS="-lbsd $LIBS"
9354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9355 /* end confdefs.h. */
9357 /* Override any GCC internal prototype to avoid an error.
9358 Use char because int might match the return type of a GCC
9359 builtin and then its argument prototype would still apply. */
9360 #ifdef __cplusplus
9361 extern "C"
9362 #endif
9363 char gethostbyname ();
9365 main ()
9367 return gethostbyname ();
9369 return 0;
9371 _ACEOF
9372 if ac_fn_c_try_link "$LINENO"; then :
9373 ac_cv_lib_bsd_gethostbyname=yes
9374 else
9375 ac_cv_lib_bsd_gethostbyname=no
9377 rm -f core conftest.err conftest.$ac_objext \
9378 conftest$ac_exeext conftest.$ac_ext
9379 LIBS=$ac_check_lib_save_LIBS
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9382 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9383 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9384 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9390 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9391 # socket/setsockopt and other routines are undefined under SCO ODT
9392 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9393 # on later versions), says Simon Leinen: it contains gethostby*
9394 # variants that don't use the name server (or something). -lsocket
9395 # must be given before -lnsl if both are needed. We assume that
9396 # if connect needs -lnsl, so does gethostbyname.
9397 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9398 if test "x$ac_cv_func_connect" = xyes; then :
9402 if test $ac_cv_func_connect = no; then
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9404 $as_echo_n "checking for connect in -lsocket... " >&6; }
9405 if ${ac_cv_lib_socket_connect+:} false; then :
9406 $as_echo_n "(cached) " >&6
9407 else
9408 ac_check_lib_save_LIBS=$LIBS
9409 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9411 /* end confdefs.h. */
9413 /* Override any GCC internal prototype to avoid an error.
9414 Use char because int might match the return type of a GCC
9415 builtin and then its argument prototype would still apply. */
9416 #ifdef __cplusplus
9417 extern "C"
9418 #endif
9419 char connect ();
9421 main ()
9423 return connect ();
9425 return 0;
9427 _ACEOF
9428 if ac_fn_c_try_link "$LINENO"; then :
9429 ac_cv_lib_socket_connect=yes
9430 else
9431 ac_cv_lib_socket_connect=no
9433 rm -f core conftest.err conftest.$ac_objext \
9434 conftest$ac_exeext conftest.$ac_ext
9435 LIBS=$ac_check_lib_save_LIBS
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9438 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9439 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9440 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9445 # Guillermo Gomez says -lposix is necessary on A/UX.
9446 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9447 if test "x$ac_cv_func_remove" = xyes; then :
9451 if test $ac_cv_func_remove = no; then
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9453 $as_echo_n "checking for remove in -lposix... " >&6; }
9454 if ${ac_cv_lib_posix_remove+:} false; then :
9455 $as_echo_n "(cached) " >&6
9456 else
9457 ac_check_lib_save_LIBS=$LIBS
9458 LIBS="-lposix $LIBS"
9459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9460 /* end confdefs.h. */
9462 /* Override any GCC internal prototype to avoid an error.
9463 Use char because int might match the return type of a GCC
9464 builtin and then its argument prototype would still apply. */
9465 #ifdef __cplusplus
9466 extern "C"
9467 #endif
9468 char remove ();
9470 main ()
9472 return remove ();
9474 return 0;
9476 _ACEOF
9477 if ac_fn_c_try_link "$LINENO"; then :
9478 ac_cv_lib_posix_remove=yes
9479 else
9480 ac_cv_lib_posix_remove=no
9482 rm -f core conftest.err conftest.$ac_objext \
9483 conftest$ac_exeext conftest.$ac_ext
9484 LIBS=$ac_check_lib_save_LIBS
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9487 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9488 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9489 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9494 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9495 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9496 if test "x$ac_cv_func_shmat" = xyes; then :
9500 if test $ac_cv_func_shmat = no; then
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9502 $as_echo_n "checking for shmat in -lipc... " >&6; }
9503 if ${ac_cv_lib_ipc_shmat+:} false; then :
9504 $as_echo_n "(cached) " >&6
9505 else
9506 ac_check_lib_save_LIBS=$LIBS
9507 LIBS="-lipc $LIBS"
9508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9509 /* end confdefs.h. */
9511 /* Override any GCC internal prototype to avoid an error.
9512 Use char because int might match the return type of a GCC
9513 builtin and then its argument prototype would still apply. */
9514 #ifdef __cplusplus
9515 extern "C"
9516 #endif
9517 char shmat ();
9519 main ()
9521 return shmat ();
9523 return 0;
9525 _ACEOF
9526 if ac_fn_c_try_link "$LINENO"; then :
9527 ac_cv_lib_ipc_shmat=yes
9528 else
9529 ac_cv_lib_ipc_shmat=no
9531 rm -f core conftest.err conftest.$ac_objext \
9532 conftest$ac_exeext conftest.$ac_ext
9533 LIBS=$ac_check_lib_save_LIBS
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9536 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9537 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9538 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9544 # Check for libraries that X11R6 Xt/Xaw programs need.
9545 ac_save_LDFLAGS=$LDFLAGS
9546 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9547 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9548 # check for ICE first), but we must link in the order -lSM -lICE or
9549 # we get undefined symbols. So assume we have SM if we have ICE.
9550 # These have to be linked with before -lX11, unlike the other
9551 # libraries we check for below, so use a different variable.
9552 # John Interrante, Karl Berry
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9554 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9555 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9556 $as_echo_n "(cached) " >&6
9557 else
9558 ac_check_lib_save_LIBS=$LIBS
9559 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9561 /* end confdefs.h. */
9563 /* Override any GCC internal prototype to avoid an error.
9564 Use char because int might match the return type of a GCC
9565 builtin and then its argument prototype would still apply. */
9566 #ifdef __cplusplus
9567 extern "C"
9568 #endif
9569 char IceConnectionNumber ();
9571 main ()
9573 return IceConnectionNumber ();
9575 return 0;
9577 _ACEOF
9578 if ac_fn_c_try_link "$LINENO"; then :
9579 ac_cv_lib_ICE_IceConnectionNumber=yes
9580 else
9581 ac_cv_lib_ICE_IceConnectionNumber=no
9583 rm -f core conftest.err conftest.$ac_objext \
9584 conftest$ac_exeext conftest.$ac_ext
9585 LIBS=$ac_check_lib_save_LIBS
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9588 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9589 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9590 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9593 LDFLAGS=$ac_save_LDFLAGS
9598 if test "$have_x" = "yes"
9599 then
9600 ac_save_CPPFLAGS="$CPPFLAGS"
9601 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9604 $as_echo_n "checking for -lX11... " >&6; }
9605 if ${ac_cv_lib_soname_X11+:} false; then :
9606 $as_echo_n "(cached) " >&6
9607 else
9608 ac_check_soname_save_LIBS=$LIBS
9609 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9611 /* end confdefs.h. */
9613 /* Override any GCC internal prototype to avoid an error.
9614 Use char because int might match the return type of a GCC
9615 builtin and then its argument prototype would still apply. */
9616 #ifdef __cplusplus
9617 extern "C"
9618 #endif
9619 char XCreateWindow ();
9621 main ()
9623 return XCreateWindow ();
9625 return 0;
9627 _ACEOF
9628 if ac_fn_c_try_link "$LINENO"; then :
9629 case "$LIBEXT" in
9630 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9631 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'` ;;
9632 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9633 if ${ac_cv_lib_soname_X11:+false} :; then :
9634 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9635 fi ;;
9636 esac
9638 rm -f core conftest.err conftest.$ac_objext \
9639 conftest$ac_exeext conftest.$ac_ext
9640 LIBS=$ac_check_soname_save_LIBS
9642 if ${ac_cv_lib_soname_X11:+false} :; then :
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9644 $as_echo "not found" >&6; }
9646 else
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9648 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9650 cat >>confdefs.h <<_ACEOF
9651 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9652 _ACEOF
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9657 $as_echo_n "checking for -lXext... " >&6; }
9658 if ${ac_cv_lib_soname_Xext+:} false; then :
9659 $as_echo_n "(cached) " >&6
9660 else
9661 ac_check_soname_save_LIBS=$LIBS
9662 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9664 /* end confdefs.h. */
9666 /* Override any GCC internal prototype to avoid an error.
9667 Use char because int might match the return type of a GCC
9668 builtin and then its argument prototype would still apply. */
9669 #ifdef __cplusplus
9670 extern "C"
9671 #endif
9672 char XextCreateExtension ();
9674 main ()
9676 return XextCreateExtension ();
9678 return 0;
9680 _ACEOF
9681 if ac_fn_c_try_link "$LINENO"; then :
9682 case "$LIBEXT" in
9683 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9684 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'` ;;
9685 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9686 if ${ac_cv_lib_soname_Xext:+false} :; then :
9687 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9688 fi ;;
9689 esac
9691 rm -f core conftest.err conftest.$ac_objext \
9692 conftest$ac_exeext conftest.$ac_ext
9693 LIBS=$ac_check_soname_save_LIBS
9695 if ${ac_cv_lib_soname_Xext:+false} :; then :
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9697 $as_echo "not found" >&6; }
9699 else
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9701 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9703 cat >>confdefs.h <<_ACEOF
9704 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9705 _ACEOF
9707 X_LIBS="$X_LIBS -lXext"
9709 X_LIBS="$X_LIBS -lX11"
9711 for ac_header in X11/Xlib.h \
9712 X11/XKBlib.h \
9713 X11/Xutil.h \
9714 X11/Xcursor/Xcursor.h \
9715 X11/extensions/shape.h \
9716 X11/extensions/XInput.h \
9717 X11/extensions/XInput2.h \
9718 X11/extensions/XShm.h \
9719 X11/extensions/Xcomposite.h \
9720 X11/extensions/Xinerama.h \
9721 X11/extensions/Xrandr.h \
9722 X11/extensions/Xrender.h \
9723 X11/extensions/xf86vmode.h \
9724 X11/extensions/xf86vmproto.h
9725 do :
9726 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9727 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9728 # include <X11/Xlib.h>
9729 #endif
9730 #ifdef HAVE_X11_XUTIL_H
9731 # include <X11/Xutil.h>
9732 #endif
9734 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9735 cat >>confdefs.h <<_ACEOF
9736 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9737 _ACEOF
9741 done
9744 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9745 then
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9747 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9748 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9749 $as_echo_n "(cached) " >&6
9750 else
9751 ac_check_lib_save_LIBS=$LIBS
9752 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9754 /* end confdefs.h. */
9756 /* Override any GCC internal prototype to avoid an error.
9757 Use char because int might match the return type of a GCC
9758 builtin and then its argument prototype would still apply. */
9759 #ifdef __cplusplus
9760 extern "C"
9761 #endif
9762 char XkbQueryExtension ();
9764 main ()
9766 return XkbQueryExtension ();
9768 return 0;
9770 _ACEOF
9771 if ac_fn_c_try_link "$LINENO"; then :
9772 ac_cv_lib_X11_XkbQueryExtension=yes
9773 else
9774 ac_cv_lib_X11_XkbQueryExtension=no
9776 rm -f core conftest.err conftest.$ac_objext \
9777 conftest$ac_exeext conftest.$ac_ext
9778 LIBS=$ac_check_lib_save_LIBS
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9781 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9782 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9784 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9790 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9791 then
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9793 $as_echo_n "checking for -lXcursor... " >&6; }
9794 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9795 $as_echo_n "(cached) " >&6
9796 else
9797 ac_check_soname_save_LIBS=$LIBS
9798 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9800 /* end confdefs.h. */
9802 /* Override any GCC internal prototype to avoid an error.
9803 Use char because int might match the return type of a GCC
9804 builtin and then its argument prototype would still apply. */
9805 #ifdef __cplusplus
9806 extern "C"
9807 #endif
9808 char XcursorImageLoadCursor ();
9810 main ()
9812 return XcursorImageLoadCursor ();
9814 return 0;
9816 _ACEOF
9817 if ac_fn_c_try_link "$LINENO"; then :
9818 case "$LIBEXT" in
9819 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9820 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'` ;;
9821 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9822 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9823 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9824 fi ;;
9825 esac
9827 rm -f core conftest.err conftest.$ac_objext \
9828 conftest$ac_exeext conftest.$ac_ext
9829 LIBS=$ac_check_soname_save_LIBS
9831 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9833 $as_echo "not found" >&6; }
9835 else
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9837 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9839 cat >>confdefs.h <<_ACEOF
9840 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9841 _ACEOF
9846 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9847 case "x$with_xcursor" in
9848 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9849 xno) ;;
9850 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9851 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9852 esac
9855 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9856 then
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9858 $as_echo_n "checking for -lXi... " >&6; }
9859 if ${ac_cv_lib_soname_Xi+:} false; then :
9860 $as_echo_n "(cached) " >&6
9861 else
9862 ac_check_soname_save_LIBS=$LIBS
9863 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9865 /* end confdefs.h. */
9867 /* Override any GCC internal prototype to avoid an error.
9868 Use char because int might match the return type of a GCC
9869 builtin and then its argument prototype would still apply. */
9870 #ifdef __cplusplus
9871 extern "C"
9872 #endif
9873 char XOpenDevice ();
9875 main ()
9877 return XOpenDevice ();
9879 return 0;
9881 _ACEOF
9882 if ac_fn_c_try_link "$LINENO"; then :
9883 case "$LIBEXT" in
9884 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9885 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'` ;;
9886 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9887 if ${ac_cv_lib_soname_Xi:+false} :; then :
9888 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9889 fi ;;
9890 esac
9892 rm -f core conftest.err conftest.$ac_objext \
9893 conftest$ac_exeext conftest.$ac_ext
9894 LIBS=$ac_check_soname_save_LIBS
9896 if ${ac_cv_lib_soname_Xi:+false} :; then :
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9898 $as_echo "not found" >&6; }
9900 else
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9902 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9904 cat >>confdefs.h <<_ACEOF
9905 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9906 _ACEOF
9911 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9912 case "x$with_xinput" in
9913 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9914 xno) ;;
9915 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9916 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9917 esac
9920 if test "x$ac_cv_lib_soname_Xi" != x
9921 then
9922 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9923 case "x$with_xinput2" in
9924 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9925 xno) ;;
9926 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9927 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9928 esac
9932 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9933 then
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9935 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9936 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9937 $as_echo_n "(cached) " >&6
9938 else
9939 ac_check_lib_save_LIBS=$LIBS
9940 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9942 /* end confdefs.h. */
9944 /* Override any GCC internal prototype to avoid an error.
9945 Use char because int might match the return type of a GCC
9946 builtin and then its argument prototype would still apply. */
9947 #ifdef __cplusplus
9948 extern "C"
9949 #endif
9950 char XShmQueryExtension ();
9952 main ()
9954 return XShmQueryExtension ();
9956 return 0;
9958 _ACEOF
9959 if ac_fn_c_try_link "$LINENO"; then :
9960 ac_cv_lib_Xext_XShmQueryExtension=yes
9961 else
9962 ac_cv_lib_Xext_XShmQueryExtension=no
9964 rm -f core conftest.err conftest.$ac_objext \
9965 conftest$ac_exeext conftest.$ac_ext
9966 LIBS=$ac_check_lib_save_LIBS
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9969 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9970 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9972 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9977 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9978 case "x$with_xshm" in
9979 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9980 xno) ;;
9981 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9982 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9983 esac
9986 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9987 then
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9989 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9990 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9991 $as_echo_n "(cached) " >&6
9992 else
9993 ac_check_lib_save_LIBS=$LIBS
9994 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9996 /* end confdefs.h. */
9998 /* Override any GCC internal prototype to avoid an error.
9999 Use char because int might match the return type of a GCC
10000 builtin and then its argument prototype would still apply. */
10001 #ifdef __cplusplus
10002 extern "C"
10003 #endif
10004 char XShapeQueryExtension ();
10006 main ()
10008 return XShapeQueryExtension ();
10010 return 0;
10012 _ACEOF
10013 if ac_fn_c_try_link "$LINENO"; then :
10014 ac_cv_lib_Xext_XShapeQueryExtension=yes
10015 else
10016 ac_cv_lib_Xext_XShapeQueryExtension=no
10018 rm -f core conftest.err conftest.$ac_objext \
10019 conftest$ac_exeext conftest.$ac_ext
10020 LIBS=$ac_check_lib_save_LIBS
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10023 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10024 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10026 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10031 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10032 case "x$with_xshape" in
10033 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10034 xno) ;;
10035 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10036 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10037 esac
10040 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10041 then
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10043 $as_echo_n "checking for -lXxf86vm... " >&6; }
10044 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10045 $as_echo_n "(cached) " >&6
10046 else
10047 ac_check_soname_save_LIBS=$LIBS
10048 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10050 /* end confdefs.h. */
10052 /* Override any GCC internal prototype to avoid an error.
10053 Use char because int might match the return type of a GCC
10054 builtin and then its argument prototype would still apply. */
10055 #ifdef __cplusplus
10056 extern "C"
10057 #endif
10058 char XF86VidModeQueryExtension ();
10060 main ()
10062 return XF86VidModeQueryExtension ();
10064 return 0;
10066 _ACEOF
10067 if ac_fn_c_try_link "$LINENO"; then :
10068 case "$LIBEXT" in
10069 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10070 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'` ;;
10071 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10072 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10073 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10074 fi ;;
10075 esac
10077 rm -f core conftest.err conftest.$ac_objext \
10078 conftest$ac_exeext conftest.$ac_ext
10079 LIBS=$ac_check_soname_save_LIBS
10081 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10083 $as_echo "not found" >&6; }
10085 else
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10087 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10089 cat >>confdefs.h <<_ACEOF
10090 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10091 _ACEOF
10096 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10097 case "x$with_xxf86vm" in
10098 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10099 xno) ;;
10100 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10101 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10102 esac
10105 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10106 then
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10108 $as_echo_n "checking for -lXrender... " >&6; }
10109 if ${ac_cv_lib_soname_Xrender+:} false; then :
10110 $as_echo_n "(cached) " >&6
10111 else
10112 ac_check_soname_save_LIBS=$LIBS
10113 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10115 /* end confdefs.h. */
10117 /* Override any GCC internal prototype to avoid an error.
10118 Use char because int might match the return type of a GCC
10119 builtin and then its argument prototype would still apply. */
10120 #ifdef __cplusplus
10121 extern "C"
10122 #endif
10123 char XRenderQueryExtension ();
10125 main ()
10127 return XRenderQueryExtension ();
10129 return 0;
10131 _ACEOF
10132 if ac_fn_c_try_link "$LINENO"; then :
10133 case "$LIBEXT" in
10134 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10135 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'` ;;
10136 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10137 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10138 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10139 fi ;;
10140 esac
10142 rm -f core conftest.err conftest.$ac_objext \
10143 conftest$ac_exeext conftest.$ac_ext
10144 LIBS=$ac_check_soname_save_LIBS
10146 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10148 $as_echo "not found" >&6; }
10150 else
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10152 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10154 cat >>confdefs.h <<_ACEOF
10155 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10156 _ACEOF
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10159 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10160 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10161 $as_echo_n "(cached) " >&6
10162 else
10163 ac_check_lib_save_LIBS=$LIBS
10164 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10166 /* end confdefs.h. */
10168 /* Override any GCC internal prototype to avoid an error.
10169 Use char because int might match the return type of a GCC
10170 builtin and then its argument prototype would still apply. */
10171 #ifdef __cplusplus
10172 extern "C"
10173 #endif
10174 char XRenderSetPictureTransform ();
10176 main ()
10178 return XRenderSetPictureTransform ();
10180 return 0;
10182 _ACEOF
10183 if ac_fn_c_try_link "$LINENO"; then :
10184 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10185 else
10186 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10188 rm -f core conftest.err conftest.$ac_objext \
10189 conftest$ac_exeext conftest.$ac_ext
10190 LIBS=$ac_check_lib_save_LIBS
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10193 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10194 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10196 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10201 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10202 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10203 $as_echo_n "(cached) " >&6
10204 else
10205 ac_check_lib_save_LIBS=$LIBS
10206 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10208 /* end confdefs.h. */
10210 /* Override any GCC internal prototype to avoid an error.
10211 Use char because int might match the return type of a GCC
10212 builtin and then its argument prototype would still apply. */
10213 #ifdef __cplusplus
10214 extern "C"
10215 #endif
10216 char XRenderCreateLinearGradient ();
10218 main ()
10220 return XRenderCreateLinearGradient ();
10222 return 0;
10224 _ACEOF
10225 if ac_fn_c_try_link "$LINENO"; then :
10226 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10227 else
10228 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10230 rm -f core conftest.err conftest.$ac_objext \
10231 conftest$ac_exeext conftest.$ac_ext
10232 LIBS=$ac_check_lib_save_LIBS
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10235 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10236 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10238 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10245 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10246 case "x$with_xrender" in
10247 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10248 xno) ;;
10249 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10250 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10251 esac
10254 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10255 then
10256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10257 /* end confdefs.h. */
10258 #include <X11/Xlib.h>
10259 #include <X11/extensions/Xrandr.h>
10261 main ()
10263 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10265 return 0;
10267 _ACEOF
10268 if ac_fn_c_try_compile "$LINENO"; then :
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10270 $as_echo_n "checking for -lXrandr... " >&6; }
10271 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10272 $as_echo_n "(cached) " >&6
10273 else
10274 ac_check_soname_save_LIBS=$LIBS
10275 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10277 /* end confdefs.h. */
10279 /* Override any GCC internal prototype to avoid an error.
10280 Use char because int might match the return type of a GCC
10281 builtin and then its argument prototype would still apply. */
10282 #ifdef __cplusplus
10283 extern "C"
10284 #endif
10285 char XRRQueryExtension ();
10287 main ()
10289 return XRRQueryExtension ();
10291 return 0;
10293 _ACEOF
10294 if ac_fn_c_try_link "$LINENO"; then :
10295 case "$LIBEXT" in
10296 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10297 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'` ;;
10298 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10299 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10300 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10301 fi ;;
10302 esac
10304 rm -f core conftest.err conftest.$ac_objext \
10305 conftest$ac_exeext conftest.$ac_ext
10306 LIBS=$ac_check_soname_save_LIBS
10308 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10310 $as_echo "not found" >&6; }
10312 else
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10314 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10316 cat >>confdefs.h <<_ACEOF
10317 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10318 _ACEOF
10320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10321 /* end confdefs.h. */
10322 #include <X11/Xlib.h>
10323 #include <X11/extensions/Xrandr.h>
10325 main ()
10327 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10329 return 0;
10331 _ACEOF
10332 if ac_fn_c_try_compile "$LINENO"; then :
10334 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10342 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10343 case "x$with_xrandr" in
10344 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10345 xno) ;;
10346 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10347 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10348 esac
10351 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10352 then
10353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10354 /* end confdefs.h. */
10355 #include <X11/Xlib.h>
10356 #include <X11/extensions/Xinerama.h>
10358 main ()
10360 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10362 return 0;
10364 _ACEOF
10365 if ac_fn_c_try_compile "$LINENO"; then :
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10367 $as_echo_n "checking for -lXinerama... " >&6; }
10368 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10369 $as_echo_n "(cached) " >&6
10370 else
10371 ac_check_soname_save_LIBS=$LIBS
10372 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10374 /* end confdefs.h. */
10376 /* Override any GCC internal prototype to avoid an error.
10377 Use char because int might match the return type of a GCC
10378 builtin and then its argument prototype would still apply. */
10379 #ifdef __cplusplus
10380 extern "C"
10381 #endif
10382 char XineramaQueryScreens ();
10384 main ()
10386 return XineramaQueryScreens ();
10388 return 0;
10390 _ACEOF
10391 if ac_fn_c_try_link "$LINENO"; then :
10392 case "$LIBEXT" in
10393 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10394 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'` ;;
10395 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10396 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10397 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10398 fi ;;
10399 esac
10401 rm -f core conftest.err conftest.$ac_objext \
10402 conftest$ac_exeext conftest.$ac_ext
10403 LIBS=$ac_check_soname_save_LIBS
10405 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10407 $as_echo "not found" >&6; }
10409 else
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10411 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10413 cat >>confdefs.h <<_ACEOF
10414 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10415 _ACEOF
10420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10422 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10423 case "x$with_xinerama" in
10424 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10425 xno) ;;
10426 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10427 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10428 esac
10431 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10432 then
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10434 $as_echo_n "checking for -lXcomposite... " >&6; }
10435 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10436 $as_echo_n "(cached) " >&6
10437 else
10438 ac_check_soname_save_LIBS=$LIBS
10439 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10441 /* end confdefs.h. */
10443 /* Override any GCC internal prototype to avoid an error.
10444 Use char because int might match the return type of a GCC
10445 builtin and then its argument prototype would still apply. */
10446 #ifdef __cplusplus
10447 extern "C"
10448 #endif
10449 char XCompositeRedirectWindow ();
10451 main ()
10453 return XCompositeRedirectWindow ();
10455 return 0;
10457 _ACEOF
10458 if ac_fn_c_try_link "$LINENO"; then :
10459 case "$LIBEXT" in
10460 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10461 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'` ;;
10462 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10463 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10464 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10465 fi ;;
10466 esac
10468 rm -f core conftest.err conftest.$ac_objext \
10469 conftest$ac_exeext conftest.$ac_ext
10470 LIBS=$ac_check_soname_save_LIBS
10472 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10474 $as_echo "not found" >&6; }
10476 else
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10478 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10480 cat >>confdefs.h <<_ACEOF
10481 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10482 _ACEOF
10487 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10488 case "x$with_xcomposite" in
10489 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10490 xno) ;;
10491 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10492 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10493 esac
10496 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10497 #include <X11/Xlib.h>
10498 #endif
10500 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10502 cat >>confdefs.h <<_ACEOF
10503 #define HAVE_XICCALLBACK_CALLBACK 1
10504 _ACEOF
10508 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10509 #include <X11/Xlib.h>
10510 #endif
10512 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10514 cat >>confdefs.h <<_ACEOF
10515 #define HAVE_XEVENT_XCOOKIE 1
10516 _ACEOF
10523 opengl_msg=""
10524 if test "x$with_opengl" != "xno"
10525 then
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10527 $as_echo_n "checking for -lGL... " >&6; }
10528 if ${ac_cv_lib_soname_GL+:} false; then :
10529 $as_echo_n "(cached) " >&6
10530 else
10531 ac_check_soname_save_LIBS=$LIBS
10532 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10534 /* end confdefs.h. */
10536 /* Override any GCC internal prototype to avoid an error.
10537 Use char because int might match the return type of a GCC
10538 builtin and then its argument prototype would still apply. */
10539 #ifdef __cplusplus
10540 extern "C"
10541 #endif
10542 char glXCreateContext ();
10544 main ()
10546 return glXCreateContext ();
10548 return 0;
10550 _ACEOF
10551 if ac_fn_c_try_link "$LINENO"; then :
10552 case "$LIBEXT" in
10553 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10554 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'` ;;
10555 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10556 if ${ac_cv_lib_soname_GL:+false} :; then :
10557 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10558 fi ;;
10559 esac
10561 rm -f core conftest.err conftest.$ac_objext \
10562 conftest$ac_exeext conftest.$ac_ext
10563 LIBS=$ac_check_soname_save_LIBS
10565 if ${ac_cv_lib_soname_GL:+false} :; then :
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10567 $as_echo "not found" >&6; }
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10569 $as_echo_n "checking for -lGL... " >&6; }
10570 if ${ac_cv_lib_soname_GL+:} false; then :
10571 $as_echo_n "(cached) " >&6
10572 else
10573 ac_check_soname_save_LIBS=$LIBS
10574 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"
10575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10576 /* end confdefs.h. */
10578 /* Override any GCC internal prototype to avoid an error.
10579 Use char because int might match the return type of a GCC
10580 builtin and then its argument prototype would still apply. */
10581 #ifdef __cplusplus
10582 extern "C"
10583 #endif
10584 char glXCreateContext ();
10586 main ()
10588 return glXCreateContext ();
10590 return 0;
10592 _ACEOF
10593 if ac_fn_c_try_link "$LINENO"; then :
10594 case "$LIBEXT" in
10595 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10596 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'` ;;
10597 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10598 if ${ac_cv_lib_soname_GL:+false} :; then :
10599 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10600 fi ;;
10601 esac
10603 rm -f core conftest.err conftest.$ac_objext \
10604 conftest$ac_exeext conftest.$ac_ext
10605 LIBS=$ac_check_soname_save_LIBS
10607 if ${ac_cv_lib_soname_GL:+false} :; then :
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10609 $as_echo "not found" >&6; }
10610 if test -f /usr/X11R6/lib/libGL.a
10611 then
10612 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10613 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10614 else
10615 opengl_msg="No OpenGL library found on this system."
10617 else
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10619 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10621 cat >>confdefs.h <<_ACEOF
10622 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10623 _ACEOF
10625 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"
10627 else
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10629 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10631 cat >>confdefs.h <<_ACEOF
10632 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10633 _ACEOF
10635 OPENGL_LIBS="-lGL"
10637 if test "x$with_glu" != "xno"
10638 then
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10640 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10641 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10642 $as_echo_n "(cached) " >&6
10643 else
10644 ac_check_lib_save_LIBS=$LIBS
10645 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10647 /* end confdefs.h. */
10649 /* Override any GCC internal prototype to avoid an error.
10650 Use char because int might match the return type of a GCC
10651 builtin and then its argument prototype would still apply. */
10652 #ifdef __cplusplus
10653 extern "C"
10654 #endif
10655 char gluLookAt ();
10657 main ()
10659 return gluLookAt ();
10661 return 0;
10663 _ACEOF
10664 if ac_fn_c_try_link "$LINENO"; then :
10665 ac_cv_lib_GLU_gluLookAt=yes
10666 else
10667 ac_cv_lib_GLU_gluLookAt=no
10669 rm -f core conftest.err conftest.$ac_objext \
10670 conftest$ac_exeext conftest.$ac_ext
10671 LIBS=$ac_check_lib_save_LIBS
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10674 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10675 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10679 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10680 case "x$with_glu" in
10681 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10682 xno) ;;
10683 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10684 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10685 esac
10689 if test "x$with_osmesa" != "xno"
10690 then
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10692 $as_echo_n "checking for -lOSMesa... " >&6; }
10693 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10694 $as_echo_n "(cached) " >&6
10695 else
10696 ac_check_soname_save_LIBS=$LIBS
10697 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10699 /* end confdefs.h. */
10701 /* Override any GCC internal prototype to avoid an error.
10702 Use char because int might match the return type of a GCC
10703 builtin and then its argument prototype would still apply. */
10704 #ifdef __cplusplus
10705 extern "C"
10706 #endif
10707 char glAccum ();
10709 main ()
10711 return glAccum ();
10713 return 0;
10715 _ACEOF
10716 if ac_fn_c_try_link "$LINENO"; then :
10717 case "$LIBEXT" in
10718 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10719 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'` ;;
10720 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10721 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10722 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10723 fi ;;
10724 esac
10726 rm -f core conftest.err conftest.$ac_objext \
10727 conftest$ac_exeext conftest.$ac_ext
10728 LIBS=$ac_check_soname_save_LIBS
10730 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10732 $as_echo "not found" >&6; }
10734 else
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10736 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10738 cat >>confdefs.h <<_ACEOF
10739 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10740 _ACEOF
10744 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10745 case "x$with_osmesa" in
10746 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10747 xno) ;;
10748 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10749 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10750 esac
10754 if test -n "$opengl_msg"; then :
10755 case "x$with_opengl" in
10756 x) as_fn_append wine_warnings "|$opengl_msg
10757 OpenGL and Direct3D won't be supported." ;;
10758 xno) ;;
10759 *) as_fn_error $? "$opengl_msg
10760 OpenGL and Direct3D won't be supported.
10761 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10762 esac
10765 CPPFLAGS="$ac_save_CPPFLAGS"
10766 else
10767 X_CFLAGS=""
10768 X_LIBS=""
10769 enable_winex11_drv=${enable_winex11_drv:-no}
10771 if test "x$X_LIBS" = "x"; then :
10772 case "x$with_x" in
10773 xno) ;;
10774 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10775 without X support, which probably isn't what you want. You will need
10776 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10777 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10778 esac
10781 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10783 if test "$ac_cv_header_CL_cl_h" = "yes"
10784 then
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10786 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10787 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10788 $as_echo_n "(cached) " >&6
10789 else
10790 ac_check_lib_save_LIBS=$LIBS
10791 LIBS="-lOpenCL $LIBS"
10792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10793 /* end confdefs.h. */
10795 /* Override any GCC internal prototype to avoid an error.
10796 Use char because int might match the return type of a GCC
10797 builtin and then its argument prototype would still apply. */
10798 #ifdef __cplusplus
10799 extern "C"
10800 #endif
10801 char clGetPlatformInfo ();
10803 main ()
10805 return clGetPlatformInfo ();
10807 return 0;
10809 _ACEOF
10810 if ac_fn_c_try_link "$LINENO"; then :
10811 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10812 else
10813 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10815 rm -f core conftest.err conftest.$ac_objext \
10816 conftest$ac_exeext conftest.$ac_ext
10817 LIBS=$ac_check_lib_save_LIBS
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10820 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10821 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10822 OPENCL_LIBS="-lOpenCL"
10827 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10828 case "x$with_opencl" in
10829 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10830 xno) ;;
10831 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10832 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10833 esac
10835 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10837 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10838 then
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10840 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10841 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10842 $as_echo_n "(cached) " >&6
10843 else
10844 ac_check_lib_save_LIBS=$LIBS
10845 LIBS="-lpcap $LIBS"
10846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10847 /* end confdefs.h. */
10849 /* Override any GCC internal prototype to avoid an error.
10850 Use char because int might match the return type of a GCC
10851 builtin and then its argument prototype would still apply. */
10852 #ifdef __cplusplus
10853 extern "C"
10854 #endif
10855 char pcap_create ();
10857 main ()
10859 return pcap_create ();
10861 return 0;
10863 _ACEOF
10864 if ac_fn_c_try_link "$LINENO"; then :
10865 ac_cv_lib_pcap_pcap_create=yes
10866 else
10867 ac_cv_lib_pcap_pcap_create=no
10869 rm -f core conftest.err conftest.$ac_objext \
10870 conftest$ac_exeext conftest.$ac_ext
10871 LIBS=$ac_check_lib_save_LIBS
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10874 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10875 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10876 PCAP_LIBS="-lpcap"
10881 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10882 case "x$with_pcap" in
10883 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10884 xno) ;;
10885 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10886 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10887 esac
10889 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10892 if test "x$with_xml" != "xno"
10893 then
10894 if ${XML2_CFLAGS:+false} :; then :
10895 if ${PKG_CONFIG+:} false; then :
10896 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10899 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10900 if ${XML2_LIBS:+false} :; then :
10901 if ${PKG_CONFIG+:} false; then :
10902 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10905 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10906 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10907 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10908 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10909 ac_save_CPPFLAGS=$CPPFLAGS
10910 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10911 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10912 do :
10913 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10914 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10915 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10916 cat >>confdefs.h <<_ACEOF
10917 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10918 _ACEOF
10922 done
10924 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"
10925 then
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10927 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10928 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10929 $as_echo_n "(cached) " >&6
10930 else
10931 ac_check_lib_save_LIBS=$LIBS
10932 LIBS="-lxml2 $XML2_LIBS $LIBS"
10933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10934 /* end confdefs.h. */
10936 /* Override any GCC internal prototype to avoid an error.
10937 Use char because int might match the return type of a GCC
10938 builtin and then its argument prototype would still apply. */
10939 #ifdef __cplusplus
10940 extern "C"
10941 #endif
10942 char xmlParseMemory ();
10944 main ()
10946 return xmlParseMemory ();
10948 return 0;
10950 _ACEOF
10951 if ac_fn_c_try_link "$LINENO"; then :
10952 ac_cv_lib_xml2_xmlParseMemory=yes
10953 else
10954 ac_cv_lib_xml2_xmlParseMemory=no
10956 rm -f core conftest.err conftest.$ac_objext \
10957 conftest$ac_exeext conftest.$ac_ext
10958 LIBS=$ac_check_lib_save_LIBS
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10961 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10962 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10964 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10966 else
10967 XML2_LIBS=""
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10971 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10972 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10973 $as_echo_n "(cached) " >&6
10974 else
10975 ac_check_lib_save_LIBS=$LIBS
10976 LIBS="-lxml2 $XML2_LIBS $LIBS"
10977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10978 /* end confdefs.h. */
10980 /* Override any GCC internal prototype to avoid an error.
10981 Use char because int might match the return type of a GCC
10982 builtin and then its argument prototype would still apply. */
10983 #ifdef __cplusplus
10984 extern "C"
10985 #endif
10986 char xmlReadMemory ();
10988 main ()
10990 return xmlReadMemory ();
10992 return 0;
10994 _ACEOF
10995 if ac_fn_c_try_link "$LINENO"; then :
10996 ac_cv_lib_xml2_xmlReadMemory=yes
10997 else
10998 ac_cv_lib_xml2_xmlReadMemory=no
11000 rm -f core conftest.err conftest.$ac_objext \
11001 conftest$ac_exeext conftest.$ac_ext
11002 LIBS=$ac_check_lib_save_LIBS
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11005 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11006 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11008 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11013 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11014 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11015 $as_echo_n "(cached) " >&6
11016 else
11017 ac_check_lib_save_LIBS=$LIBS
11018 LIBS="-lxml2 $XML2_LIBS $LIBS"
11019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11020 /* end confdefs.h. */
11022 /* Override any GCC internal prototype to avoid an error.
11023 Use char because int might match the return type of a GCC
11024 builtin and then its argument prototype would still apply. */
11025 #ifdef __cplusplus
11026 extern "C"
11027 #endif
11028 char xmlNewDocPI ();
11030 main ()
11032 return xmlNewDocPI ();
11034 return 0;
11036 _ACEOF
11037 if ac_fn_c_try_link "$LINENO"; then :
11038 ac_cv_lib_xml2_xmlNewDocPI=yes
11039 else
11040 ac_cv_lib_xml2_xmlNewDocPI=no
11042 rm -f core conftest.err conftest.$ac_objext \
11043 conftest$ac_exeext conftest.$ac_ext
11044 LIBS=$ac_check_lib_save_LIBS
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11047 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11048 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11050 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11055 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11056 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11057 $as_echo_n "(cached) " >&6
11058 else
11059 ac_check_lib_save_LIBS=$LIBS
11060 LIBS="-lxml2 $XML2_LIBS $LIBS"
11061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11062 /* end confdefs.h. */
11064 /* Override any GCC internal prototype to avoid an error.
11065 Use char because int might match the return type of a GCC
11066 builtin and then its argument prototype would still apply. */
11067 #ifdef __cplusplus
11068 extern "C"
11069 #endif
11070 char xmlSchemaSetParserStructuredErrors ();
11072 main ()
11074 return xmlSchemaSetParserStructuredErrors ();
11076 return 0;
11078 _ACEOF
11079 if ac_fn_c_try_link "$LINENO"; then :
11080 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11081 else
11082 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11084 rm -f core conftest.err conftest.$ac_objext \
11085 conftest$ac_exeext conftest.$ac_ext
11086 LIBS=$ac_check_lib_save_LIBS
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11089 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11090 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11092 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11097 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11098 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11099 $as_echo_n "(cached) " >&6
11100 else
11101 ac_check_lib_save_LIBS=$LIBS
11102 LIBS="-lxml2 $XML2_LIBS $LIBS"
11103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11104 /* end confdefs.h. */
11106 /* Override any GCC internal prototype to avoid an error.
11107 Use char because int might match the return type of a GCC
11108 builtin and then its argument prototype would still apply. */
11109 #ifdef __cplusplus
11110 extern "C"
11111 #endif
11112 char xmlSchemaSetValidStructuredErrors ();
11114 main ()
11116 return xmlSchemaSetValidStructuredErrors ();
11118 return 0;
11120 _ACEOF
11121 if ac_fn_c_try_link "$LINENO"; then :
11122 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11123 else
11124 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11126 rm -f core conftest.err conftest.$ac_objext \
11127 conftest$ac_exeext conftest.$ac_ext
11128 LIBS=$ac_check_lib_save_LIBS
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11131 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11132 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11134 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11139 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11140 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11141 $as_echo_n "(cached) " >&6
11142 else
11143 ac_check_lib_save_LIBS=$LIBS
11144 LIBS="-lxml2 $XML2_LIBS $LIBS"
11145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11146 /* end confdefs.h. */
11148 /* Override any GCC internal prototype to avoid an error.
11149 Use char because int might match the return type of a GCC
11150 builtin and then its argument prototype would still apply. */
11151 #ifdef __cplusplus
11152 extern "C"
11153 #endif
11154 char xmlFirstElementChild ();
11156 main ()
11158 return xmlFirstElementChild ();
11160 return 0;
11162 _ACEOF
11163 if ac_fn_c_try_link "$LINENO"; then :
11164 ac_cv_lib_xml2_xmlFirstElementChild=yes
11165 else
11166 ac_cv_lib_xml2_xmlFirstElementChild=no
11168 rm -f core conftest.err conftest.$ac_objext \
11169 conftest$ac_exeext conftest.$ac_ext
11170 LIBS=$ac_check_lib_save_LIBS
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11173 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11174 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11176 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11180 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11182 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11184 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11188 else
11189 XML2_CFLAGS=""
11190 XML2_LIBS=""
11192 CPPFLAGS=$ac_save_CPPFLAGS
11193 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11194 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11197 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11198 case "x$with_xml" in
11199 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11200 xno) ;;
11201 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11202 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11203 esac
11206 if test "x$with_xslt" != "xno"
11207 then
11208 if ${XSLT_CFLAGS:+false} :; then :
11209 if ${PKG_CONFIG+:} false; then :
11210 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11213 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11214 if ${XSLT_LIBS:+false} :; then :
11215 if ${PKG_CONFIG+:} false; then :
11216 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11219 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11220 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11221 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11222 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11223 ac_save_CPPFLAGS=$CPPFLAGS
11224 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11225 for ac_header in libxslt/pattern.h libxslt/transform.h
11226 do :
11227 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11228 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11229 # include <libxslt/pattern.h>
11230 #endif
11232 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11233 cat >>confdefs.h <<_ACEOF
11234 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11235 _ACEOF
11239 done
11241 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11242 then
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11244 $as_echo_n "checking for -lxslt... " >&6; }
11245 if ${ac_cv_lib_soname_xslt+:} false; then :
11246 $as_echo_n "(cached) " >&6
11247 else
11248 ac_check_soname_save_LIBS=$LIBS
11249 LIBS="-lxslt $XSLT_LIBS $LIBS"
11250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11251 /* end confdefs.h. */
11253 /* Override any GCC internal prototype to avoid an error.
11254 Use char because int might match the return type of a GCC
11255 builtin and then its argument prototype would still apply. */
11256 #ifdef __cplusplus
11257 extern "C"
11258 #endif
11259 char xsltCompilePattern ();
11261 main ()
11263 return xsltCompilePattern ();
11265 return 0;
11267 _ACEOF
11268 if ac_fn_c_try_link "$LINENO"; then :
11269 case "$LIBEXT" in
11270 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11271 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'` ;;
11272 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11273 if ${ac_cv_lib_soname_xslt:+false} :; then :
11274 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11275 fi ;;
11276 esac
11278 rm -f core conftest.err conftest.$ac_objext \
11279 conftest$ac_exeext conftest.$ac_ext
11280 LIBS=$ac_check_soname_save_LIBS
11282 if ${ac_cv_lib_soname_xslt:+false} :; then :
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11284 $as_echo "not found" >&6; }
11286 else
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11288 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11290 cat >>confdefs.h <<_ACEOF
11291 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11292 _ACEOF
11296 else
11297 XSLT_CFLAGS=""
11299 CPPFLAGS=$ac_save_CPPFLAGS
11300 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11301 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11304 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11305 case "x$with_xslt" in
11306 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11307 xno) ;;
11308 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11309 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11310 esac
11313 if test "x$with_dbus" != "xno"
11314 then
11315 if ${DBUS_CFLAGS:+false} :; then :
11316 if ${PKG_CONFIG+:} false; then :
11317 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11321 if ${DBUS_LIBS:+false} :; then :
11322 if ${PKG_CONFIG+:} false; then :
11323 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11328 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11329 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11330 ac_save_CPPFLAGS=$CPPFLAGS
11331 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11332 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11333 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11335 $as_echo_n "checking for -ldbus-1... " >&6; }
11336 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11337 $as_echo_n "(cached) " >&6
11338 else
11339 ac_check_soname_save_LIBS=$LIBS
11340 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11342 /* end confdefs.h. */
11344 /* Override any GCC internal prototype to avoid an error.
11345 Use char because int might match the return type of a GCC
11346 builtin and then its argument prototype would still apply. */
11347 #ifdef __cplusplus
11348 extern "C"
11349 #endif
11350 char dbus_connection_close ();
11352 main ()
11354 return dbus_connection_close ();
11356 return 0;
11358 _ACEOF
11359 if ac_fn_c_try_link "$LINENO"; then :
11360 case "$LIBEXT" in
11361 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11362 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'` ;;
11363 *) 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'`
11364 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11365 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11366 fi ;;
11367 esac
11369 rm -f core conftest.err conftest.$ac_objext \
11370 conftest$ac_exeext conftest.$ac_ext
11371 LIBS=$ac_check_soname_save_LIBS
11373 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11375 $as_echo "not found" >&6; }
11376 DBUS_CFLAGS=""
11377 else
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11379 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11381 cat >>confdefs.h <<_ACEOF
11382 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11383 _ACEOF
11387 else
11388 DBUS_CFLAGS=""
11392 CPPFLAGS=$ac_save_CPPFLAGS
11393 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11394 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11397 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11398 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11399 case "x$with_dbus" in
11400 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11401 xno) ;;
11402 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11403 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11404 esac
11407 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11408 then
11409 if ${HAL_CFLAGS:+false} :; then :
11410 if ${PKG_CONFIG+:} false; then :
11411 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11415 if ${HAL_LIBS:+false} :; then :
11416 if ${PKG_CONFIG+:} false; then :
11417 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11421 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11422 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11423 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11424 ac_save_CPPFLAGS=$CPPFLAGS
11425 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11426 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11427 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11429 $as_echo_n "checking for -lhal... " >&6; }
11430 if ${ac_cv_lib_soname_hal+:} false; then :
11431 $as_echo_n "(cached) " >&6
11432 else
11433 ac_check_soname_save_LIBS=$LIBS
11434 LIBS="-lhal $HAL_LIBS $LIBS"
11435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11436 /* end confdefs.h. */
11438 /* Override any GCC internal prototype to avoid an error.
11439 Use char because int might match the return type of a GCC
11440 builtin and then its argument prototype would still apply. */
11441 #ifdef __cplusplus
11442 extern "C"
11443 #endif
11444 char libhal_ctx_new ();
11446 main ()
11448 return libhal_ctx_new ();
11450 return 0;
11452 _ACEOF
11453 if ac_fn_c_try_link "$LINENO"; then :
11454 case "$LIBEXT" in
11455 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11456 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'` ;;
11457 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11458 if ${ac_cv_lib_soname_hal:+false} :; then :
11459 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11460 fi ;;
11461 esac
11463 rm -f core conftest.err conftest.$ac_objext \
11464 conftest$ac_exeext conftest.$ac_ext
11465 LIBS=$ac_check_soname_save_LIBS
11467 if ${ac_cv_lib_soname_hal:+false} :; then :
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11469 $as_echo "not found" >&6; }
11470 HAL_CFLAGS=""
11471 else
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11473 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11475 cat >>confdefs.h <<_ACEOF
11476 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11477 _ACEOF
11481 else
11482 HAL_CFLAGS=""
11486 CPPFLAGS=$ac_save_CPPFLAGS
11487 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11488 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11490 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11491 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11492 case "x$with_hal" in
11493 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11494 xno) ;;
11495 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11496 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11497 esac
11501 if test "x$with_gnutls" != "xno"
11502 then
11503 if ${GNUTLS_CFLAGS:+false} :; then :
11504 if ${PKG_CONFIG+:} false; then :
11505 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11509 if ${GNUTLS_LIBS:+false} :; then :
11510 if ${PKG_CONFIG+:} false; then :
11511 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11516 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11517 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11518 ac_save_CPPFLAGS=$CPPFLAGS
11519 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11520 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11521 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11523 /* end confdefs.h. */
11524 #include <gnutls/gnutls.h>
11525 #include <gnutls/crypto.h>
11527 main ()
11529 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11531 return 0;
11533 _ACEOF
11534 if ac_fn_c_try_compile "$LINENO"; then :
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11536 $as_echo_n "checking for -lgnutls... " >&6; }
11537 if ${ac_cv_lib_soname_gnutls+:} false; then :
11538 $as_echo_n "(cached) " >&6
11539 else
11540 ac_check_soname_save_LIBS=$LIBS
11541 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11543 /* end confdefs.h. */
11545 /* Override any GCC internal prototype to avoid an error.
11546 Use char because int might match the return type of a GCC
11547 builtin and then its argument prototype would still apply. */
11548 #ifdef __cplusplus
11549 extern "C"
11550 #endif
11551 char gnutls_global_init ();
11553 main ()
11555 return gnutls_global_init ();
11557 return 0;
11559 _ACEOF
11560 if ac_fn_c_try_link "$LINENO"; then :
11561 case "$LIBEXT" in
11562 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11563 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'` ;;
11564 *) 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'`
11565 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11566 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'`
11567 fi ;;
11568 esac
11570 rm -f core conftest.err conftest.$ac_objext \
11571 conftest$ac_exeext conftest.$ac_ext
11572 LIBS=$ac_check_soname_save_LIBS
11574 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11576 $as_echo "not found" >&6; }
11577 GNUTLS_CFLAGS=""
11578 else
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11580 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11582 cat >>confdefs.h <<_ACEOF
11583 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11584 _ACEOF
11588 ac_wine_check_funcs_save_LIBS="$LIBS"
11589 LIBS="$LIBS $GNUTLS_LIBS"
11590 for ac_func in gnutls_hash
11591 do :
11592 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11593 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11594 cat >>confdefs.h <<_ACEOF
11595 #define HAVE_GNUTLS_HASH 1
11596 _ACEOF
11598 else
11599 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11601 done
11603 LIBS="$ac_wine_check_funcs_save_LIBS"
11605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11606 else
11607 GNUTLS_CFLAGS=""
11611 CPPFLAGS=$ac_save_CPPFLAGS
11612 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11613 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11616 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11617 case "x$with_gnutls" in
11618 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11619 xno) ;;
11620 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11621 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11622 esac
11625 CURSES_LIBS=""
11626 if test "$ac_cv_header_ncurses_h" = "yes"
11627 then
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11629 $as_echo_n "checking for -lncurses... " >&6; }
11630 if ${ac_cv_lib_soname_ncurses+:} false; then :
11631 $as_echo_n "(cached) " >&6
11632 else
11633 ac_check_soname_save_LIBS=$LIBS
11634 LIBS="-lncurses $LIBS"
11635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11636 /* end confdefs.h. */
11638 /* Override any GCC internal prototype to avoid an error.
11639 Use char because int might match the return type of a GCC
11640 builtin and then its argument prototype would still apply. */
11641 #ifdef __cplusplus
11642 extern "C"
11643 #endif
11644 char waddch ();
11646 main ()
11648 return waddch ();
11650 return 0;
11652 _ACEOF
11653 if ac_fn_c_try_link "$LINENO"; then :
11654 case "$LIBEXT" in
11655 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11656 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'` ;;
11657 *) 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'`
11658 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11659 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11660 fi ;;
11661 esac
11663 rm -f core conftest.err conftest.$ac_objext \
11664 conftest$ac_exeext conftest.$ac_ext
11665 LIBS=$ac_check_soname_save_LIBS
11667 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11669 $as_echo "not found" >&6; }
11671 else
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11673 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11675 cat >>confdefs.h <<_ACEOF
11676 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11677 _ACEOF
11679 CURSES_LIBS="-lncurses"
11681 elif test "$ac_cv_header_curses_h" = "yes"
11682 then
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11684 $as_echo_n "checking for -lcurses... " >&6; }
11685 if ${ac_cv_lib_soname_curses+:} false; then :
11686 $as_echo_n "(cached) " >&6
11687 else
11688 ac_check_soname_save_LIBS=$LIBS
11689 LIBS="-lcurses $LIBS"
11690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11691 /* end confdefs.h. */
11693 /* Override any GCC internal prototype to avoid an error.
11694 Use char because int might match the return type of a GCC
11695 builtin and then its argument prototype would still apply. */
11696 #ifdef __cplusplus
11697 extern "C"
11698 #endif
11699 char waddch ();
11701 main ()
11703 return waddch ();
11705 return 0;
11707 _ACEOF
11708 if ac_fn_c_try_link "$LINENO"; then :
11709 case "$LIBEXT" in
11710 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11711 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'` ;;
11712 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11713 if ${ac_cv_lib_soname_curses:+false} :; then :
11714 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11715 fi ;;
11716 esac
11718 rm -f core conftest.err conftest.$ac_objext \
11719 conftest$ac_exeext conftest.$ac_ext
11720 LIBS=$ac_check_soname_save_LIBS
11722 if ${ac_cv_lib_soname_curses:+false} :; then :
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11724 $as_echo "not found" >&6; }
11726 else
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11728 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11730 cat >>confdefs.h <<_ACEOF
11731 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11732 _ACEOF
11734 CURSES_LIBS="-lcurses"
11737 ac_save_LIBS="$LIBS"
11738 LIBS="$LIBS $CURSES_LIBS"
11739 for ac_func in mousemask
11740 do :
11741 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11742 if test "x$ac_cv_func_mousemask" = xyes; then :
11743 cat >>confdefs.h <<_ACEOF
11744 #define HAVE_MOUSEMASK 1
11745 _ACEOF
11748 done
11750 LIBS="$ac_save_LIBS"
11751 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11752 case "x$with_curses" in
11753 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11754 xno) ;;
11755 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11756 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11757 esac
11760 if test "x$with_sane" != "xno"
11761 then
11762 if ${SANE_CFLAGS:+false} :; then :
11763 if ${PKG_CONFIG+:} false; then :
11764 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11767 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11768 if ${SANE_LIBS:+false} :; then :
11769 if ${PKG_CONFIG+:} false; then :
11770 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11773 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11775 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11776 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11777 ac_save_CPPFLAGS=$CPPFLAGS
11778 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11779 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11780 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11782 $as_echo_n "checking for -lsane... " >&6; }
11783 if ${ac_cv_lib_soname_sane+:} false; then :
11784 $as_echo_n "(cached) " >&6
11785 else
11786 ac_check_soname_save_LIBS=$LIBS
11787 LIBS="-lsane $SANE_LIBS $LIBS"
11788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11789 /* end confdefs.h. */
11791 /* Override any GCC internal prototype to avoid an error.
11792 Use char because int might match the return type of a GCC
11793 builtin and then its argument prototype would still apply. */
11794 #ifdef __cplusplus
11795 extern "C"
11796 #endif
11797 char sane_init ();
11799 main ()
11801 return sane_init ();
11803 return 0;
11805 _ACEOF
11806 if ac_fn_c_try_link "$LINENO"; then :
11807 case "$LIBEXT" in
11808 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11809 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'` ;;
11810 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11811 if ${ac_cv_lib_soname_sane:+false} :; then :
11812 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11813 fi ;;
11814 esac
11816 rm -f core conftest.err conftest.$ac_objext \
11817 conftest$ac_exeext conftest.$ac_ext
11818 LIBS=$ac_check_soname_save_LIBS
11820 if ${ac_cv_lib_soname_sane:+false} :; then :
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11822 $as_echo "not found" >&6; }
11823 SANE_CFLAGS=""
11824 else
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11826 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11828 cat >>confdefs.h <<_ACEOF
11829 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11830 _ACEOF
11834 else
11835 SANE_CFLAGS=""
11839 CPPFLAGS=$ac_save_CPPFLAGS
11840 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11841 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11844 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11845 case "x$with_sane" in
11846 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11847 xno) ;;
11848 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11849 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11850 esac
11853 if test "x$with_v4l" != "xno"
11854 then
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11856 $as_echo_n "checking for -lv4l1... " >&6; }
11857 if ${ac_cv_lib_soname_v4l1+:} false; then :
11858 $as_echo_n "(cached) " >&6
11859 else
11860 ac_check_soname_save_LIBS=$LIBS
11861 LIBS="-lv4l1 $LIBS"
11862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11863 /* end confdefs.h. */
11865 /* Override any GCC internal prototype to avoid an error.
11866 Use char because int might match the return type of a GCC
11867 builtin and then its argument prototype would still apply. */
11868 #ifdef __cplusplus
11869 extern "C"
11870 #endif
11871 char v4l1_open ();
11873 main ()
11875 return v4l1_open ();
11877 return 0;
11879 _ACEOF
11880 if ac_fn_c_try_link "$LINENO"; then :
11881 case "$LIBEXT" in
11882 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11883 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'` ;;
11884 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11885 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11886 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11887 fi ;;
11888 esac
11890 rm -f core conftest.err conftest.$ac_objext \
11891 conftest$ac_exeext conftest.$ac_ext
11892 LIBS=$ac_check_soname_save_LIBS
11894 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11896 $as_echo "not found" >&6; }
11898 else
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11900 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11902 cat >>confdefs.h <<_ACEOF
11903 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11904 _ACEOF
11909 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11910 case "x$with_v4l" in
11911 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11912 xno) ;;
11913 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11914 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11915 esac
11918 if test "x$with_gphoto" != "xno"
11919 then
11920 if ${GPHOTO2_CFLAGS:+false} :; then :
11921 if ${PKG_CONFIG+:} false; then :
11922 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11925 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11926 if ${GPHOTO2_LIBS:+false} :; then :
11927 if ${PKG_CONFIG+:} false; then :
11928 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11931 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11932 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11933 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11934 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11935 ac_save_CPPFLAGS=$CPPFLAGS
11936 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11937 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11938 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11940 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11941 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11942 $as_echo_n "(cached) " >&6
11943 else
11944 ac_check_lib_save_LIBS=$LIBS
11945 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11947 /* end confdefs.h. */
11949 /* Override any GCC internal prototype to avoid an error.
11950 Use char because int might match the return type of a GCC
11951 builtin and then its argument prototype would still apply. */
11952 #ifdef __cplusplus
11953 extern "C"
11954 #endif
11955 char gp_camera_new ();
11957 main ()
11959 return gp_camera_new ();
11961 return 0;
11963 _ACEOF
11964 if ac_fn_c_try_link "$LINENO"; then :
11965 ac_cv_lib_gphoto2_gp_camera_new=yes
11966 else
11967 ac_cv_lib_gphoto2_gp_camera_new=no
11969 rm -f core conftest.err conftest.$ac_objext \
11970 conftest$ac_exeext conftest.$ac_ext
11971 LIBS=$ac_check_lib_save_LIBS
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11974 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11975 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11977 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11979 else
11980 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11983 else
11984 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11988 CPPFLAGS=$ac_save_CPPFLAGS
11989 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11990 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11992 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11993 if ${PKG_CONFIG+:} false; then :
11994 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11997 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
11998 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11999 if ${PKG_CONFIG+:} false; then :
12000 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12003 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12004 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12005 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12006 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12007 ac_save_CPPFLAGS=$CPPFLAGS
12008 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12009 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12010 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12012 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12013 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12014 $as_echo_n "(cached) " >&6
12015 else
12016 ac_check_lib_save_LIBS=$LIBS
12017 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12019 /* end confdefs.h. */
12021 /* Override any GCC internal prototype to avoid an error.
12022 Use char because int might match the return type of a GCC
12023 builtin and then its argument prototype would still apply. */
12024 #ifdef __cplusplus
12025 extern "C"
12026 #endif
12027 char gp_port_info_list_new ();
12029 main ()
12031 return gp_port_info_list_new ();
12033 return 0;
12035 _ACEOF
12036 if ac_fn_c_try_link "$LINENO"; then :
12037 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12038 else
12039 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12041 rm -f core conftest.err conftest.$ac_objext \
12042 conftest$ac_exeext conftest.$ac_ext
12043 LIBS=$ac_check_lib_save_LIBS
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12046 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12047 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12049 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12051 else
12052 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12055 else
12056 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12060 CPPFLAGS=$ac_save_CPPFLAGS
12061 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12062 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12065 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12066 case "x$with_gphoto" in
12067 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12068 xno) ;;
12069 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12070 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12071 esac
12073 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12074 case "x$with_gphoto" in
12075 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12076 xno) ;;
12077 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12078 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12079 esac
12083 if test "$ac_cv_header_resolv_h" = "yes"
12084 then
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12086 $as_echo_n "checking for resolver library... " >&6; }
12087 if ${ac_cv_have_resolv+:} false; then :
12088 $as_echo_n "(cached) " >&6
12089 else
12090 ac_save_LIBS="$LIBS"
12091 for lib in '' -lresolv
12093 LIBS="$lib $ac_save_LIBS"
12094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12095 /* end confdefs.h. */
12096 #ifdef HAVE_NETINET_IN_H
12097 #include <netinet/in.h>
12098 #endif
12099 #include <resolv.h>
12101 main ()
12103 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12105 return 0;
12107 _ACEOF
12108 if ac_fn_c_try_link "$LINENO"; then :
12109 ac_cv_have_resolv=${lib:-"none required"}
12110 else
12111 ac_cv_have_resolv="not found"
12113 rm -f core conftest.err conftest.$ac_objext \
12114 conftest$ac_exeext conftest.$ac_ext
12115 test "x$ac_cv_have_resolv" = "xnot found" || break
12116 done
12117 LIBS="$ac_save_LIBS"
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12120 $as_echo "$ac_cv_have_resolv" >&6; }
12122 case "$ac_cv_have_resolv" in
12123 "not found") ;;
12124 "none required")
12126 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12129 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12131 RESOLV_LIBS=$ac_cv_have_resolv
12133 esac
12136 if test "x$with_cms" != "xno"
12137 then
12138 if ${LCMS2_CFLAGS:+false} :; then :
12139 if ${PKG_CONFIG+:} false; then :
12140 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12144 if ${LCMS2_LIBS:+false} :; then :
12145 if ${PKG_CONFIG+:} false; then :
12146 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12150 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12151 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12152 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12153 ac_save_CPPFLAGS=$CPPFLAGS
12154 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12155 for ac_header in lcms2.h
12156 do :
12157 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12158 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12159 cat >>confdefs.h <<_ACEOF
12160 #define HAVE_LCMS2_H 1
12161 _ACEOF
12165 done
12167 if test "$ac_cv_header_lcms2_h" = "yes"
12168 then
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12170 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12171 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12172 $as_echo_n "(cached) " >&6
12173 else
12174 ac_check_lib_save_LIBS=$LIBS
12175 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12177 /* end confdefs.h. */
12179 /* Override any GCC internal prototype to avoid an error.
12180 Use char because int might match the return type of a GCC
12181 builtin and then its argument prototype would still apply. */
12182 #ifdef __cplusplus
12183 extern "C"
12184 #endif
12185 char cmsOpenProfileFromFile ();
12187 main ()
12189 return cmsOpenProfileFromFile ();
12191 return 0;
12193 _ACEOF
12194 if ac_fn_c_try_link "$LINENO"; then :
12195 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12196 else
12197 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12199 rm -f core conftest.err conftest.$ac_objext \
12200 conftest$ac_exeext conftest.$ac_ext
12201 LIBS=$ac_check_lib_save_LIBS
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12204 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12205 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12207 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12209 else
12210 LCMS2_LIBS=""
12213 else
12214 LCMS2_CFLAGS=""
12215 LCMS2_LIBS=""
12217 CPPFLAGS=$ac_save_CPPFLAGS
12218 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12219 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12222 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12223 case "x$with_cms" in
12224 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12225 xno) ;;
12226 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12227 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12228 esac
12231 if test "x$with_freetype" != "xno"
12232 then
12233 if ${FREETYPE_CFLAGS:+false} :; then :
12234 if ${PKG_CONFIG+:} false; then :
12235 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12238 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12239 if ${FREETYPE_LIBS:+false} :; then :
12240 if ${PKG_CONFIG+:} false; then :
12241 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12244 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12245 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12246 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12247 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12248 ac_save_CPPFLAGS=$CPPFLAGS
12249 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12250 for ac_header in ft2build.h
12251 do :
12252 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12253 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12254 cat >>confdefs.h <<_ACEOF
12255 #define HAVE_FT2BUILD_H 1
12256 _ACEOF
12260 done
12262 if test "$ac_cv_header_ft2build_h" = "yes"
12263 then
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12265 $as_echo_n "checking for -lfreetype... " >&6; }
12266 if ${ac_cv_lib_soname_freetype+:} false; then :
12267 $as_echo_n "(cached) " >&6
12268 else
12269 ac_check_soname_save_LIBS=$LIBS
12270 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12272 /* end confdefs.h. */
12274 /* Override any GCC internal prototype to avoid an error.
12275 Use char because int might match the return type of a GCC
12276 builtin and then its argument prototype would still apply. */
12277 #ifdef __cplusplus
12278 extern "C"
12279 #endif
12280 char FT_Init_FreeType ();
12282 main ()
12284 return FT_Init_FreeType ();
12286 return 0;
12288 _ACEOF
12289 if ac_fn_c_try_link "$LINENO"; then :
12290 case "$LIBEXT" in
12291 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12292 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'` ;;
12293 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12294 if ${ac_cv_lib_soname_freetype:+false} :; then :
12295 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12296 fi ;;
12297 esac
12299 rm -f core conftest.err conftest.$ac_objext \
12300 conftest$ac_exeext conftest.$ac_ext
12301 LIBS=$ac_check_soname_save_LIBS
12303 if ${ac_cv_lib_soname_freetype:+false} :; then :
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12305 $as_echo "not found" >&6; }
12306 FREETYPE_LIBS=""
12307 else
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12309 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12311 cat >>confdefs.h <<_ACEOF
12312 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12313 _ACEOF
12316 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12318 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12319 #include FT_MODULE_H
12321 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12323 cat >>confdefs.h <<_ACEOF
12324 #define HAVE_FT_TRUETYPEENGINETYPE 1
12325 _ACEOF
12331 else
12332 FREETYPE_CFLAGS=""
12333 FREETYPE_LIBS=""
12335 CPPFLAGS=$ac_save_CPPFLAGS
12336 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12337 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12340 if test "x$ac_cv_lib_soname_freetype" = x; then :
12341 case "x$with_freetype" in
12342 xno) ;;
12343 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12344 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12345 esac
12347 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12350 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12351 if ${ac_cv_c_ppdev+:} false; then :
12352 $as_echo_n "(cached) " >&6
12353 else
12354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12355 /* end confdefs.h. */
12356 #ifdef HAVE_SYS_IOCTL_H
12357 # include <sys/ioctl.h>
12358 #endif
12359 #include <linux/ppdev.h>
12361 main ()
12363 ioctl (1,PPCLAIM,0)
12365 return 0;
12367 _ACEOF
12368 if ac_fn_c_try_compile "$LINENO"; then :
12369 ac_cv_c_ppdev="yes"
12370 else
12371 ac_cv_c_ppdev="no"
12373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12376 $as_echo "$ac_cv_c_ppdev" >&6; }
12377 if test "$ac_cv_c_ppdev" = "yes"
12378 then
12380 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12384 ac_wine_check_funcs_save_LIBS="$LIBS"
12385 LIBS="$LIBS $PTHREAD_LIBS"
12386 for ac_func in \
12387 pthread_attr_get_np \
12388 pthread_getattr_np \
12389 pthread_getthreadid_np \
12390 pthread_get_stackaddr_np \
12391 pthread_get_stacksize_np
12392 do :
12393 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12394 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12395 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12396 cat >>confdefs.h <<_ACEOF
12397 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12398 _ACEOF
12401 done
12403 LIBS="$ac_wine_check_funcs_save_LIBS"
12405 if test "$ac_cv_header_zlib_h" = "yes"
12406 then
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12408 $as_echo_n "checking for inflate in -lz... " >&6; }
12409 if ${ac_cv_lib_z_inflate+:} false; then :
12410 $as_echo_n "(cached) " >&6
12411 else
12412 ac_check_lib_save_LIBS=$LIBS
12413 LIBS="-lz $LIBS"
12414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12415 /* end confdefs.h. */
12417 /* Override any GCC internal prototype to avoid an error.
12418 Use char because int might match the return type of a GCC
12419 builtin and then its argument prototype would still apply. */
12420 #ifdef __cplusplus
12421 extern "C"
12422 #endif
12423 char inflate ();
12425 main ()
12427 return inflate ();
12429 return 0;
12431 _ACEOF
12432 if ac_fn_c_try_link "$LINENO"; then :
12433 ac_cv_lib_z_inflate=yes
12434 else
12435 ac_cv_lib_z_inflate=no
12437 rm -f core conftest.err conftest.$ac_objext \
12438 conftest$ac_exeext conftest.$ac_ext
12439 LIBS=$ac_check_lib_save_LIBS
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12442 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12443 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12445 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12447 Z_LIBS="-lz"
12452 if test "x$Z_LIBS" = "x"; then :
12453 case "x$with_zlib" in
12454 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12455 xno) ;;
12456 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12457 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12458 esac
12461 if test "x$enable_tools" != xno
12462 then
12463 if test "$ac_cv_header_gettext_po_h" = "yes"
12464 then
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12466 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12467 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12468 $as_echo_n "(cached) " >&6
12469 else
12470 ac_check_lib_save_LIBS=$LIBS
12471 LIBS="-lgettextpo $LIBS"
12472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12473 /* end confdefs.h. */
12475 /* Override any GCC internal prototype to avoid an error.
12476 Use char because int might match the return type of a GCC
12477 builtin and then its argument prototype would still apply. */
12478 #ifdef __cplusplus
12479 extern "C"
12480 #endif
12481 char po_message_msgctxt ();
12483 main ()
12485 return po_message_msgctxt ();
12487 return 0;
12489 _ACEOF
12490 if ac_fn_c_try_link "$LINENO"; then :
12491 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12492 else
12493 ac_cv_lib_gettextpo_po_message_msgctxt=no
12495 rm -f core conftest.err conftest.$ac_objext \
12496 conftest$ac_exeext conftest.$ac_ext
12497 LIBS=$ac_check_lib_save_LIBS
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12500 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12501 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12503 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12505 GETTEXTPO_LIBS="-lgettextpo"
12510 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12511 case "x$with_gettextpo" in
12512 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12513 xno) ;;
12514 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12515 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12516 esac
12520 if test "x$with_pulse" != "xno";
12521 then
12522 if ${PULSE_CFLAGS:+false} :; then :
12523 if ${PKG_CONFIG+:} false; then :
12524 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12528 if ${PULSE_LIBS:+false} :; then :
12529 if ${PKG_CONFIG+:} false; then :
12530 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12535 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12536 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12537 ac_save_CPPFLAGS=$CPPFLAGS
12538 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12539 for ac_header in pulse/pulseaudio.h
12540 do :
12541 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12542 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12543 cat >>confdefs.h <<_ACEOF
12544 #define HAVE_PULSE_PULSEAUDIO_H 1
12545 _ACEOF
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12547 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12548 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12549 $as_echo_n "(cached) " >&6
12550 else
12551 ac_check_lib_save_LIBS=$LIBS
12552 LIBS="-lpulse $PULSE_LIBS $LIBS"
12553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12554 /* end confdefs.h. */
12556 /* Override any GCC internal prototype to avoid an error.
12557 Use char because int might match the return type of a GCC
12558 builtin and then its argument prototype would still apply. */
12559 #ifdef __cplusplus
12560 extern "C"
12561 #endif
12562 char pa_stream_is_corked ();
12564 main ()
12566 return pa_stream_is_corked ();
12568 return 0;
12570 _ACEOF
12571 if ac_fn_c_try_link "$LINENO"; then :
12572 ac_cv_lib_pulse_pa_stream_is_corked=yes
12573 else
12574 ac_cv_lib_pulse_pa_stream_is_corked=no
12576 rm -f core conftest.err conftest.$ac_objext \
12577 conftest$ac_exeext conftest.$ac_ext
12578 LIBS=$ac_check_lib_save_LIBS
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12581 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12582 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12584 else
12585 PULSE_LIBS=""
12588 else
12589 PULSE_LIBS=""
12592 done
12594 CPPFLAGS=$ac_save_CPPFLAGS
12595 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12596 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12599 if test -z "$PULSE_LIBS"; then :
12600 case "x$with_pulse" in
12601 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12602 xno) ;;
12603 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12604 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12605 esac
12607 test -n "$PULSE_LIBS" || enable_winepulse_drv=${enable_winepulse_drv:-no}
12609 if test "x$with_gstreamer" != "xno"
12610 then
12611 if ${GSTREAMER_CFLAGS:+false} :; then :
12612 if ${PKG_CONFIG+:} false; then :
12613 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12617 if ${GSTREAMER_LIBS:+false} :; then :
12618 if ${PKG_CONFIG+:} false; then :
12619 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12624 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12625 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12626 ac_save_CPPFLAGS=$CPPFLAGS
12627 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12628 ac_gst_incl=""
12629 for i in $GSTREAMER_CFLAGS
12631 case "$i" in
12632 -I*) ac_gst_incl="$ac_gst_incl $i";;
12633 esac
12634 done
12635 GSTREAMER_CFLAGS=$ac_gst_incl
12636 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12637 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12638 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12640 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12642 /* end confdefs.h. */
12643 #include <gst/gst.h>
12645 main ()
12647 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12649 return 0;
12651 _ACEOF
12652 if ac_fn_c_try_compile "$LINENO"; then :
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12654 $as_echo "yes" >&6; }
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12656 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12657 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12658 $as_echo_n "(cached) " >&6
12659 else
12660 ac_check_lib_save_LIBS=$LIBS
12661 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12663 /* end confdefs.h. */
12665 /* Override any GCC internal prototype to avoid an error.
12666 Use char because int might match the return type of a GCC
12667 builtin and then its argument prototype would still apply. */
12668 #ifdef __cplusplus
12669 extern "C"
12670 #endif
12671 char gst_pad_new ();
12673 main ()
12675 return gst_pad_new ();
12677 return 0;
12679 _ACEOF
12680 if ac_fn_c_try_link "$LINENO"; then :
12681 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12682 else
12683 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12685 rm -f core conftest.err conftest.$ac_objext \
12686 conftest$ac_exeext conftest.$ac_ext
12687 LIBS=$ac_check_lib_save_LIBS
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12690 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12691 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12695 else
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12697 $as_echo "no" >&6; }
12699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12703 CPPFLAGS=$ac_save_CPPFLAGS
12704 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12705 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12708 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12709 case "x$with_gstreamer" in
12710 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12711 xno) ;;
12712 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12713 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12714 esac
12716 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12718 ALSA_LIBS=""
12720 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12721 then
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12723 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12724 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12725 $as_echo_n "(cached) " >&6
12726 else
12727 ac_check_lib_save_LIBS=$LIBS
12728 LIBS="-lasound $LIBS"
12729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12730 /* end confdefs.h. */
12732 /* Override any GCC internal prototype to avoid an error.
12733 Use char because int might match the return type of a GCC
12734 builtin and then its argument prototype would still apply. */
12735 #ifdef __cplusplus
12736 extern "C"
12737 #endif
12738 char snd_pcm_hw_params_get_access_mask ();
12740 main ()
12742 return snd_pcm_hw_params_get_access_mask ();
12744 return 0;
12746 _ACEOF
12747 if ac_fn_c_try_link "$LINENO"; then :
12748 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12749 else
12750 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12752 rm -f core conftest.err conftest.$ac_objext \
12753 conftest$ac_exeext conftest.$ac_ext
12754 LIBS=$ac_check_lib_save_LIBS
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12757 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12758 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12760 /* end confdefs.h. */
12761 #ifdef HAVE_ALSA_ASOUNDLIB_H
12762 #include <alsa/asoundlib.h>
12763 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12764 #include <sys/asoundlib.h>
12765 #endif
12767 main ()
12769 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12771 return 0;
12773 _ACEOF
12774 if ac_fn_c_try_compile "$LINENO"; then :
12775 ALSA_LIBS="-lasound"
12777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12781 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12783 if test "x$with_oss" != xno
12784 then
12785 ac_save_CPPFLAGS="$CPPFLAGS"
12786 if test -f /etc/oss.conf
12787 then
12788 . /etc/oss.conf
12790 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12791 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12792 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12793 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12794 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12796 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12798 cat >>confdefs.h <<_ACEOF
12799 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12800 _ACEOF
12802 OSS4_CFLAGS="$ac_oss_incl"
12809 CPPFLAGS="$ac_save_CPPFLAGS"
12810 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12811 then
12812 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12815 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12817 if test "x$with_capi" != "xno"
12818 then
12819 if ${CAPI20_CFLAGS:+false} :; then :
12820 if ${PKG_CONFIG+:} false; then :
12821 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12825 if ${CAPI20_LIBS:+false} :; then :
12826 if ${PKG_CONFIG+:} false; then :
12827 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12832 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12833 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12834 ac_save_CPPFLAGS=$CPPFLAGS
12835 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12836 for ac_header in capi20.h linux/capi.h
12837 do :
12838 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12839 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12841 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12842 cat >>confdefs.h <<_ACEOF
12843 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12844 _ACEOF
12848 done
12850 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12851 then
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12853 $as_echo_n "checking for -lcapi20... " >&6; }
12854 if ${ac_cv_lib_soname_capi20+:} false; then :
12855 $as_echo_n "(cached) " >&6
12856 else
12857 ac_check_soname_save_LIBS=$LIBS
12858 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12860 /* end confdefs.h. */
12862 /* Override any GCC internal prototype to avoid an error.
12863 Use char because int might match the return type of a GCC
12864 builtin and then its argument prototype would still apply. */
12865 #ifdef __cplusplus
12866 extern "C"
12867 #endif
12868 char capi20_register ();
12870 main ()
12872 return capi20_register ();
12874 return 0;
12876 _ACEOF
12877 if ac_fn_c_try_link "$LINENO"; then :
12878 case "$LIBEXT" in
12879 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12880 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'` ;;
12881 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12882 if ${ac_cv_lib_soname_capi20:+false} :; then :
12883 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12884 fi ;;
12885 esac
12887 rm -f core conftest.err conftest.$ac_objext \
12888 conftest$ac_exeext conftest.$ac_ext
12889 LIBS=$ac_check_soname_save_LIBS
12891 if ${ac_cv_lib_soname_capi20:+false} :; then :
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12893 $as_echo "not found" >&6; }
12895 else
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12897 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12899 cat >>confdefs.h <<_ACEOF
12900 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12901 _ACEOF
12906 CPPFLAGS=$ac_save_CPPFLAGS
12907 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12908 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12911 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12912 case "x$with_capi" in
12913 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12914 xno) ;;
12915 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12916 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12917 esac
12920 CUPS_CFLAGS=""
12922 if test "x$with_cups" != "xno"
12923 then
12924 ac_save_CPPFLAGS="$CPPFLAGS"
12925 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12926 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12927 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12928 for ac_header in cups/cups.h
12929 do :
12930 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12931 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12932 cat >>confdefs.h <<_ACEOF
12933 #define HAVE_CUPS_CUPS_H 1
12934 _ACEOF
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12936 $as_echo_n "checking for -lcups... " >&6; }
12937 if ${ac_cv_lib_soname_cups+:} false; then :
12938 $as_echo_n "(cached) " >&6
12939 else
12940 ac_check_soname_save_LIBS=$LIBS
12941 LIBS="-lcups $ac_cups_libs $LIBS"
12942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12943 /* end confdefs.h. */
12945 /* Override any GCC internal prototype to avoid an error.
12946 Use char because int might match the return type of a GCC
12947 builtin and then its argument prototype would still apply. */
12948 #ifdef __cplusplus
12949 extern "C"
12950 #endif
12951 char cupsGetDefault ();
12953 main ()
12955 return cupsGetDefault ();
12957 return 0;
12959 _ACEOF
12960 if ac_fn_c_try_link "$LINENO"; then :
12961 case "$LIBEXT" in
12962 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12963 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'` ;;
12964 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12965 if ${ac_cv_lib_soname_cups:+false} :; then :
12966 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12967 fi ;;
12968 esac
12970 rm -f core conftest.err conftest.$ac_objext \
12971 conftest$ac_exeext conftest.$ac_ext
12972 LIBS=$ac_check_soname_save_LIBS
12974 if ${ac_cv_lib_soname_cups:+false} :; then :
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12976 $as_echo "not found" >&6; }
12978 else
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12980 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12982 cat >>confdefs.h <<_ACEOF
12983 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12984 _ACEOF
12986 CUPS_CFLAGS="$ac_cups_cflags"
12990 done
12992 CPPFLAGS="$ac_save_CPPFLAGS"
12994 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12995 case "x$with_cups" in
12996 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12997 xno) ;;
12998 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12999 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13000 esac
13003 if test "x$with_fontconfig" != "xno"
13004 then
13005 if ${FONTCONFIG_CFLAGS:+false} :; then :
13006 if ${PKG_CONFIG+:} false; then :
13007 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13010 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13011 if ${FONTCONFIG_LIBS:+false} :; then :
13012 if ${PKG_CONFIG+:} false; then :
13013 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13016 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13018 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13019 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13020 ac_save_CPPFLAGS=$CPPFLAGS
13021 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13022 for ac_header in fontconfig/fontconfig.h
13023 do :
13024 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13025 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13026 cat >>confdefs.h <<_ACEOF
13027 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13028 _ACEOF
13032 done
13034 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13035 then
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13037 $as_echo_n "checking for -lfontconfig... " >&6; }
13038 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13039 $as_echo_n "(cached) " >&6
13040 else
13041 ac_check_soname_save_LIBS=$LIBS
13042 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13044 /* end confdefs.h. */
13046 /* Override any GCC internal prototype to avoid an error.
13047 Use char because int might match the return type of a GCC
13048 builtin and then its argument prototype would still apply. */
13049 #ifdef __cplusplus
13050 extern "C"
13051 #endif
13052 char FcInit ();
13054 main ()
13056 return FcInit ();
13058 return 0;
13060 _ACEOF
13061 if ac_fn_c_try_link "$LINENO"; then :
13062 case "$LIBEXT" in
13063 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13064 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'` ;;
13065 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13066 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13067 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13068 fi ;;
13069 esac
13071 rm -f core conftest.err conftest.$ac_objext \
13072 conftest$ac_exeext conftest.$ac_ext
13073 LIBS=$ac_check_soname_save_LIBS
13075 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13077 $as_echo "not found" >&6; }
13078 FONTCONFIG_CFLAGS=""
13079 else
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13081 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13083 cat >>confdefs.h <<_ACEOF
13084 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13085 _ACEOF
13089 else
13090 FONTCONFIG_CFLAGS=""
13092 CPPFLAGS=$ac_save_CPPFLAGS
13093 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13094 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13097 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13098 case "x$with_fontconfig" in
13099 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13100 xno) ;;
13101 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13102 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13103 esac
13106 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13107 then
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13109 $as_echo_n "checking for -lgsm... " >&6; }
13110 if ${ac_cv_lib_soname_gsm+:} false; then :
13111 $as_echo_n "(cached) " >&6
13112 else
13113 ac_check_soname_save_LIBS=$LIBS
13114 LIBS="-lgsm $LIBS"
13115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13116 /* end confdefs.h. */
13118 /* Override any GCC internal prototype to avoid an error.
13119 Use char because int might match the return type of a GCC
13120 builtin and then its argument prototype would still apply. */
13121 #ifdef __cplusplus
13122 extern "C"
13123 #endif
13124 char gsm_create ();
13126 main ()
13128 return gsm_create ();
13130 return 0;
13132 _ACEOF
13133 if ac_fn_c_try_link "$LINENO"; then :
13134 case "$LIBEXT" in
13135 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13136 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'` ;;
13137 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13138 if ${ac_cv_lib_soname_gsm:+false} :; then :
13139 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13140 fi ;;
13141 esac
13143 rm -f core conftest.err conftest.$ac_objext \
13144 conftest$ac_exeext conftest.$ac_ext
13145 LIBS=$ac_check_soname_save_LIBS
13147 if ${ac_cv_lib_soname_gsm:+false} :; then :
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13149 $as_echo "not found" >&6; }
13151 else
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13153 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13155 cat >>confdefs.h <<_ACEOF
13156 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13157 _ACEOF
13162 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13163 case "x$with_gsm" in
13164 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13165 xno) ;;
13166 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13167 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13168 esac
13171 if test "x$with_jpeg" != "xno"
13172 then
13173 if ${JPEG_CFLAGS:+false} :; then :
13174 if ${PKG_CONFIG+:} false; then :
13175 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13179 if ${JPEG_LIBS:+false} :; then :
13180 if ${PKG_CONFIG+:} false; then :
13181 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13186 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13187 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13188 ac_save_CPPFLAGS=$CPPFLAGS
13189 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13190 for ac_header in jpeglib.h
13191 do :
13192 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13193 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13194 cat >>confdefs.h <<_ACEOF
13195 #define HAVE_JPEGLIB_H 1
13196 _ACEOF
13200 done
13202 if test "$ac_cv_header_jpeglib_h" = "yes"
13203 then
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13205 $as_echo_n "checking for -ljpeg... " >&6; }
13206 if ${ac_cv_lib_soname_jpeg+:} false; then :
13207 $as_echo_n "(cached) " >&6
13208 else
13209 ac_check_soname_save_LIBS=$LIBS
13210 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13212 /* end confdefs.h. */
13214 /* Override any GCC internal prototype to avoid an error.
13215 Use char because int might match the return type of a GCC
13216 builtin and then its argument prototype would still apply. */
13217 #ifdef __cplusplus
13218 extern "C"
13219 #endif
13220 char jpeg_start_decompress ();
13222 main ()
13224 return jpeg_start_decompress ();
13226 return 0;
13228 _ACEOF
13229 if ac_fn_c_try_link "$LINENO"; then :
13230 case "$LIBEXT" in
13231 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13232 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'` ;;
13233 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13234 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13235 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13236 fi ;;
13237 esac
13239 rm -f core conftest.err conftest.$ac_objext \
13240 conftest$ac_exeext conftest.$ac_ext
13241 LIBS=$ac_check_soname_save_LIBS
13243 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13245 $as_echo "not found" >&6; }
13246 JPEG_CFLAGS=""
13247 else
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13249 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13251 cat >>confdefs.h <<_ACEOF
13252 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13253 _ACEOF
13257 else
13258 JPEG_CFLAGS=""
13260 CPPFLAGS=$ac_save_CPPFLAGS
13261 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13262 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13265 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13266 case "x$with_jpeg" in
13267 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13268 xno) ;;
13269 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13270 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13271 esac
13274 if test "x$with_png" != "xno"
13275 then
13276 if ${PNG_CFLAGS:+false} :; then :
13277 if ${PKG_CONFIG+:} false; then :
13278 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13281 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13282 if ${PNG_LIBS:+false} :; then :
13283 if ${PKG_CONFIG+:} false; then :
13284 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13287 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13289 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13290 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13291 ac_save_CPPFLAGS=$CPPFLAGS
13292 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13293 for ac_header in png.h
13294 do :
13295 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13296 if test "x$ac_cv_header_png_h" = xyes; then :
13297 cat >>confdefs.h <<_ACEOF
13298 #define HAVE_PNG_H 1
13299 _ACEOF
13303 done
13305 if test "$ac_cv_header_png_h" = "yes"
13306 then
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13308 $as_echo_n "checking for -lpng... " >&6; }
13309 if ${ac_cv_lib_soname_png+:} false; then :
13310 $as_echo_n "(cached) " >&6
13311 else
13312 ac_check_soname_save_LIBS=$LIBS
13313 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13315 /* end confdefs.h. */
13317 /* Override any GCC internal prototype to avoid an error.
13318 Use char because int might match the return type of a GCC
13319 builtin and then its argument prototype would still apply. */
13320 #ifdef __cplusplus
13321 extern "C"
13322 #endif
13323 char png_create_read_struct ();
13325 main ()
13327 return png_create_read_struct ();
13329 return 0;
13331 _ACEOF
13332 if ac_fn_c_try_link "$LINENO"; then :
13333 case "$LIBEXT" in
13334 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13335 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'` ;;
13336 *) 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'`
13337 if ${ac_cv_lib_soname_png:+false} :; then :
13338 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13339 fi ;;
13340 esac
13342 rm -f core conftest.err conftest.$ac_objext \
13343 conftest$ac_exeext conftest.$ac_ext
13344 LIBS=$ac_check_soname_save_LIBS
13346 if ${ac_cv_lib_soname_png:+false} :; then :
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13348 $as_echo "not found" >&6; }
13349 PNG_CFLAGS=""
13350 else
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13352 $as_echo "$ac_cv_lib_soname_png" >&6; }
13354 cat >>confdefs.h <<_ACEOF
13355 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13356 _ACEOF
13358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13359 /* end confdefs.h. */
13360 #include <png.h>
13362 main ()
13364 typeof(png_set_expand_gray_1_2_4_to_8) *p
13366 return 0;
13368 _ACEOF
13369 if ac_fn_c_try_compile "$LINENO"; then :
13371 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13376 else
13377 PNG_CFLAGS=""
13379 CPPFLAGS=$ac_save_CPPFLAGS
13380 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13381 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13384 if test "x$ac_cv_lib_soname_png" = "x"; then :
13385 case "x$with_png" in
13386 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13387 xno) ;;
13388 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13389 This is an error since --with-png was requested." "$LINENO" 5 ;;
13390 esac
13393 if test "x$with_tiff" != "xno"
13394 then
13395 if ${TIFF_CFLAGS:+false} :; then :
13396 if ${PKG_CONFIG+:} false; then :
13397 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13401 if ${TIFF_LIBS:+false} :; then :
13402 if ${PKG_CONFIG+:} false; then :
13403 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13408 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13409 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13410 ac_save_CPPFLAGS=$CPPFLAGS
13411 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13412 for ac_header in tiffio.h
13413 do :
13414 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13415 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13416 cat >>confdefs.h <<_ACEOF
13417 #define HAVE_TIFFIO_H 1
13418 _ACEOF
13422 done
13424 if test "$ac_cv_header_tiffio_h" = "yes"
13425 then
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13427 $as_echo_n "checking for -ltiff... " >&6; }
13428 if ${ac_cv_lib_soname_tiff+:} false; then :
13429 $as_echo_n "(cached) " >&6
13430 else
13431 ac_check_soname_save_LIBS=$LIBS
13432 LIBS="-ltiff $TIFF_LIBS $LIBS"
13433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13434 /* end confdefs.h. */
13436 /* Override any GCC internal prototype to avoid an error.
13437 Use char because int might match the return type of a GCC
13438 builtin and then its argument prototype would still apply. */
13439 #ifdef __cplusplus
13440 extern "C"
13441 #endif
13442 char TIFFClientOpen ();
13444 main ()
13446 return TIFFClientOpen ();
13448 return 0;
13450 _ACEOF
13451 if ac_fn_c_try_link "$LINENO"; then :
13452 case "$LIBEXT" in
13453 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13454 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'` ;;
13455 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13456 if ${ac_cv_lib_soname_tiff:+false} :; then :
13457 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13458 fi ;;
13459 esac
13461 rm -f core conftest.err conftest.$ac_objext \
13462 conftest$ac_exeext conftest.$ac_ext
13463 LIBS=$ac_check_soname_save_LIBS
13465 if ${ac_cv_lib_soname_tiff:+false} :; then :
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13467 $as_echo "not found" >&6; }
13469 else
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13471 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13473 cat >>confdefs.h <<_ACEOF
13474 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13475 _ACEOF
13480 CPPFLAGS=$ac_save_CPPFLAGS
13481 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13482 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13485 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13486 case "x$with_tiff" in
13487 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13488 xno) ;;
13489 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13490 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13491 esac
13494 if test "x$with_mpg123" != "xno"
13495 then
13496 if ${MPG123_CFLAGS:+false} :; then :
13497 if ${PKG_CONFIG+:} false; then :
13498 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13502 if ${MPG123_LIBS:+false} :; then :
13503 if ${PKG_CONFIG+:} false; then :
13504 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13508 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13509 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13510 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13511 ac_save_CPPFLAGS=$CPPFLAGS
13512 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13513 for ac_header in mpg123.h
13514 do :
13515 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13516 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13517 cat >>confdefs.h <<_ACEOF
13518 #define HAVE_MPG123_H 1
13519 _ACEOF
13523 done
13525 if test "$ac_cv_header_mpg123_h" = "yes"
13526 then
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13528 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13529 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13530 $as_echo_n "(cached) " >&6
13531 else
13532 ac_check_lib_save_LIBS=$LIBS
13533 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13535 /* end confdefs.h. */
13537 /* Override any GCC internal prototype to avoid an error.
13538 Use char because int might match the return type of a GCC
13539 builtin and then its argument prototype would still apply. */
13540 #ifdef __cplusplus
13541 extern "C"
13542 #endif
13543 char mpg123_feed ();
13545 main ()
13547 return mpg123_feed ();
13549 return 0;
13551 _ACEOF
13552 if ac_fn_c_try_link "$LINENO"; then :
13553 ac_cv_lib_mpg123_mpg123_feed=yes
13554 else
13555 ac_cv_lib_mpg123_mpg123_feed=no
13557 rm -f core conftest.err conftest.$ac_objext \
13558 conftest$ac_exeext conftest.$ac_ext
13559 LIBS=$ac_check_lib_save_LIBS
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13562 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13563 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13565 else
13566 MPG123_LIBS=""
13569 else
13570 MPG123_CFLAGS=""
13571 MPG123_LIBS=""
13573 CPPFLAGS=$ac_save_CPPFLAGS
13574 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13575 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13578 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13579 case "x$with_mpg123" in
13580 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13581 xno) ;;
13582 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13583 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13584 esac
13586 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}
13588 if test "$ac_cv_header_AL_al_h" = "yes"
13589 then
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13591 $as_echo_n "checking for -lopenal... " >&6; }
13592 if ${ac_cv_lib_soname_openal+:} false; then :
13593 $as_echo_n "(cached) " >&6
13594 else
13595 ac_check_soname_save_LIBS=$LIBS
13596 LIBS="-lopenal $LIBS"
13597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13598 /* end confdefs.h. */
13600 /* Override any GCC internal prototype to avoid an error.
13601 Use char because int might match the return type of a GCC
13602 builtin and then its argument prototype would still apply. */
13603 #ifdef __cplusplus
13604 extern "C"
13605 #endif
13606 char alGetSource3i ();
13608 main ()
13610 return alGetSource3i ();
13612 return 0;
13614 _ACEOF
13615 if ac_fn_c_try_link "$LINENO"; then :
13616 case "$LIBEXT" in
13617 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13618 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'` ;;
13619 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13620 if ${ac_cv_lib_soname_openal:+false} :; then :
13621 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13622 fi ;;
13623 esac
13625 rm -f core conftest.err conftest.$ac_objext \
13626 conftest$ac_exeext conftest.$ac_ext
13627 LIBS=$ac_check_soname_save_LIBS
13629 if ${ac_cv_lib_soname_openal:+false} :; then :
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13631 $as_echo "not found" >&6; }
13633 else
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13635 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13637 cat >>confdefs.h <<_ACEOF
13638 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13639 _ACEOF
13641 OPENAL_LIBS="-lopenal"
13643 ac_cv_lib_openal=yes
13645 cat >>confdefs.h <<_ACEOF
13646 #define HAVE_OPENAL 1
13647 _ACEOF
13651 if test "x$ac_cv_lib_openal" != xyes; then :
13652 case "x$with_openal" in
13653 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13654 xno) ;;
13655 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13656 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13657 esac
13659 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13661 if test "x$ac_cv_lib_openal" = xyes
13662 then
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13664 $as_echo_n "checking for openal-soft... " >&6; }
13665 if ${ac_cv_have_openalsoft+:} false; then :
13666 $as_echo_n "(cached) " >&6
13667 else
13668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13669 /* end confdefs.h. */
13670 #include <AL/al.h>
13671 #include <AL/alc.h>
13672 #include <AL/alext.h>
13673 LPALCRENDERSAMPLESSOFT x;
13675 main ()
13679 return 0;
13681 _ACEOF
13682 if ac_fn_c_try_compile "$LINENO"; then :
13683 ac_cv_have_openalsoft=yes
13684 else
13685 ac_cv_have_openalsoft=no
13687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13690 $as_echo "$ac_cv_have_openalsoft" >&6; }
13692 if test "x$ac_cv_have_openalsoft" != xyes
13693 then
13694 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13695 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13696 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13697 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13698 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13699 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13700 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13701 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13702 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13703 enable_xapofx1_1=${enable_xapofx1_1:-no}
13704 enable_xapofx1_2=${enable_xapofx1_2:-no}
13705 enable_xapofx1_3=${enable_xapofx1_3:-no}
13706 enable_xapofx1_4=${enable_xapofx1_4:-no}
13707 enable_xapofx1_5=${enable_xapofx1_5:-no}
13708 enable_xaudio2_0=${enable_xaudio2_0:-no}
13709 enable_xaudio2_1=${enable_xaudio2_1:-no}
13710 enable_xaudio2_2=${enable_xaudio2_2:-no}
13711 enable_xaudio2_3=${enable_xaudio2_3:-no}
13712 enable_xaudio2_4=${enable_xaudio2_4:-no}
13713 enable_xaudio2_5=${enable_xaudio2_5:-no}
13714 enable_xaudio2_6=${enable_xaudio2_6:-no}
13715 enable_xaudio2_7=${enable_xaudio2_7:-no}
13716 enable_xaudio2_8=${enable_xaudio2_8:-no}
13717 enable_xaudio2_9=${enable_xaudio2_9:-no}
13720 if test "$ac_cv_header_kstat_h" = "yes"
13721 then
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13723 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13724 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13725 $as_echo_n "(cached) " >&6
13726 else
13727 ac_check_lib_save_LIBS=$LIBS
13728 LIBS="-lkstat $LIBS"
13729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13730 /* end confdefs.h. */
13732 /* Override any GCC internal prototype to avoid an error.
13733 Use char because int might match the return type of a GCC
13734 builtin and then its argument prototype would still apply. */
13735 #ifdef __cplusplus
13736 extern "C"
13737 #endif
13738 char kstat_open ();
13740 main ()
13742 return kstat_open ();
13744 return 0;
13746 _ACEOF
13747 if ac_fn_c_try_link "$LINENO"; then :
13748 ac_cv_lib_kstat_kstat_open=yes
13749 else
13750 ac_cv_lib_kstat_kstat_open=no
13752 rm -f core conftest.err conftest.$ac_objext \
13753 conftest$ac_exeext conftest.$ac_ext
13754 LIBS=$ac_check_lib_save_LIBS
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13757 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13758 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13760 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13762 KSTAT_LIBS="-lkstat"
13768 if test "$ac_cv_header_libprocstat_h" = "yes"
13769 then
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13771 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13772 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13773 $as_echo_n "(cached) " >&6
13774 else
13775 ac_check_lib_save_LIBS=$LIBS
13776 LIBS="-lprocstat $LIBS"
13777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13778 /* end confdefs.h. */
13780 /* Override any GCC internal prototype to avoid an error.
13781 Use char because int might match the return type of a GCC
13782 builtin and then its argument prototype would still apply. */
13783 #ifdef __cplusplus
13784 extern "C"
13785 #endif
13786 char procstat_open_sysctl ();
13788 main ()
13790 return procstat_open_sysctl ();
13792 return 0;
13794 _ACEOF
13795 if ac_fn_c_try_link "$LINENO"; then :
13796 ac_cv_lib_procstat_procstat_open_sysctl=yes
13797 else
13798 ac_cv_lib_procstat_procstat_open_sysctl=no
13800 rm -f core conftest.err conftest.$ac_objext \
13801 conftest$ac_exeext conftest.$ac_ext
13802 LIBS=$ac_check_lib_save_LIBS
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13805 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13806 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13808 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13810 PROCSTAT_LIBS="-lprocstat"
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13817 $as_echo_n "checking for -lodbc... " >&6; }
13818 if ${ac_cv_lib_soname_odbc+:} false; then :
13819 $as_echo_n "(cached) " >&6
13820 else
13821 ac_check_soname_save_LIBS=$LIBS
13822 LIBS="-lodbc $LIBS"
13823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13824 /* end confdefs.h. */
13826 /* Override any GCC internal prototype to avoid an error.
13827 Use char because int might match the return type of a GCC
13828 builtin and then its argument prototype would still apply. */
13829 #ifdef __cplusplus
13830 extern "C"
13831 #endif
13832 char SQLConnect ();
13834 main ()
13836 return SQLConnect ();
13838 return 0;
13840 _ACEOF
13841 if ac_fn_c_try_link "$LINENO"; then :
13842 case "$LIBEXT" in
13843 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13844 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'` ;;
13845 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13846 if ${ac_cv_lib_soname_odbc:+false} :; then :
13847 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13848 fi ;;
13849 esac
13851 rm -f core conftest.err conftest.$ac_objext \
13852 conftest$ac_exeext conftest.$ac_ext
13853 LIBS=$ac_check_soname_save_LIBS
13855 if ${ac_cv_lib_soname_odbc:+false} :; then :
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13857 $as_echo "not found" >&6; }
13858 cat >>confdefs.h <<_ACEOF
13859 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13860 _ACEOF
13862 else
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13864 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13866 cat >>confdefs.h <<_ACEOF
13867 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13868 _ACEOF
13873 if test "x$with_netapi" != "xno"
13874 then
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13876 $as_echo_n "checking for -lnetapi... " >&6; }
13877 if ${ac_cv_lib_soname_netapi+:} false; then :
13878 $as_echo_n "(cached) " >&6
13879 else
13880 ac_check_soname_save_LIBS=$LIBS
13881 LIBS="-lnetapi $LIBS"
13882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13883 /* end confdefs.h. */
13885 /* Override any GCC internal prototype to avoid an error.
13886 Use char because int might match the return type of a GCC
13887 builtin and then its argument prototype would still apply. */
13888 #ifdef __cplusplus
13889 extern "C"
13890 #endif
13891 char libnetapi_init ();
13893 main ()
13895 return libnetapi_init ();
13897 return 0;
13899 _ACEOF
13900 if ac_fn_c_try_link "$LINENO"; then :
13901 case "$LIBEXT" in
13902 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13903 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'` ;;
13904 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13905 if ${ac_cv_lib_soname_netapi:+false} :; then :
13906 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13907 fi ;;
13908 esac
13910 rm -f core conftest.err conftest.$ac_objext \
13911 conftest$ac_exeext conftest.$ac_ext
13912 LIBS=$ac_check_soname_save_LIBS
13914 if ${ac_cv_lib_soname_netapi:+false} :; then :
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13916 $as_echo "not found" >&6; }
13917 cat >>confdefs.h <<_ACEOF
13918 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13919 _ACEOF
13921 else
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13923 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13925 cat >>confdefs.h <<_ACEOF
13926 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13927 _ACEOF
13933 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
13934 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
13935 then
13936 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13940 EXTRACFLAGS=""
13942 if test "x${GCC}" = "xyes"
13943 then
13944 EXTRACFLAGS="-Wall -pipe"
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13947 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13948 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13949 $as_echo_n "(cached) " >&6
13950 else
13951 if test "$cross_compiling" = yes; then :
13952 ac_cv_c_gcc_strength_bug="no"
13953 else
13954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13955 /* end confdefs.h. */
13956 int L[4] = {0,1,2,3};
13958 main ()
13960 static int Array[3];
13961 unsigned int B = 3;
13962 int i;
13963 for(i=0; i<B; i++) Array[i] = i - 3;
13964 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13965 L[i] = 4;
13966 return (Array[1] != -2 || L[2] != 3)
13968 return 0;
13970 _ACEOF
13971 if ac_fn_c_try_run "$LINENO"; then :
13972 ac_cv_c_gcc_strength_bug="no"
13973 else
13974 ac_cv_c_gcc_strength_bug="yes"
13976 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13977 conftest.$ac_objext conftest.beam conftest.$ac_ext
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13982 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13983 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13984 then
13985 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13989 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13990 if ${ac_cv_cflags__fno_builtin+:} false; then :
13991 $as_echo_n "(cached) " >&6
13992 else
13993 ac_wine_try_cflags_saved=$CFLAGS
13994 CFLAGS="$CFLAGS -fno-builtin"
13995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13996 /* end confdefs.h. */
13997 int main(int argc, char **argv) { return 0; }
13998 _ACEOF
13999 if ac_fn_c_try_link "$LINENO"; then :
14000 ac_cv_cflags__fno_builtin=yes
14001 else
14002 ac_cv_cflags__fno_builtin=no
14004 rm -f core conftest.err conftest.$ac_objext \
14005 conftest$ac_exeext conftest.$ac_ext
14006 CFLAGS=$ac_wine_try_cflags_saved
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14009 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14010 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14011 BUILTINFLAG="-fno-builtin"
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14015 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14016 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14017 $as_echo_n "(cached) " >&6
14018 else
14019 ac_wine_try_cflags_saved=$CFLAGS
14020 CFLAGS="$CFLAGS -fno-strict-aliasing"
14021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14022 /* end confdefs.h. */
14023 int main(int argc, char **argv) { return 0; }
14024 _ACEOF
14025 if ac_fn_c_try_link "$LINENO"; then :
14026 ac_cv_cflags__fno_strict_aliasing=yes
14027 else
14028 ac_cv_cflags__fno_strict_aliasing=no
14030 rm -f core conftest.err conftest.$ac_objext \
14031 conftest$ac_exeext conftest.$ac_ext
14032 CFLAGS=$ac_wine_try_cflags_saved
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14035 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14036 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14037 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14040 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14041 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14042 $as_echo_n "(cached) " >&6
14043 else
14044 ac_wine_try_cflags_saved=$CFLAGS
14045 CFLAGS="$CFLAGS -fexcess-precision=standard"
14046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14047 /* end confdefs.h. */
14048 int main(int argc, char **argv) { return 0; }
14049 _ACEOF
14050 if ac_fn_c_try_link "$LINENO"; then :
14051 ac_cv_cflags__fexcess_precision_standard=yes
14052 else
14053 ac_cv_cflags__fexcess_precision_standard=no
14055 rm -f core conftest.err conftest.$ac_objext \
14056 conftest$ac_exeext conftest.$ac_ext
14057 CFLAGS=$ac_wine_try_cflags_saved
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14060 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14061 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14062 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14065 saved_CFLAGS=$CFLAGS
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14067 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14068 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14069 $as_echo_n "(cached) " >&6
14070 else
14071 ac_wine_try_cflags_saved=$CFLAGS
14072 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14074 /* end confdefs.h. */
14075 int main(int argc, char **argv) { return 0; }
14076 _ACEOF
14077 if ac_fn_c_try_link "$LINENO"; then :
14078 ac_cv_cflags__Werror_unknown_warning_option=yes
14079 else
14080 ac_cv_cflags__Werror_unknown_warning_option=no
14082 rm -f core conftest.err conftest.$ac_objext \
14083 conftest$ac_exeext conftest.$ac_ext
14084 CFLAGS=$ac_wine_try_cflags_saved
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14087 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14088 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14089 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14092 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14093 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14094 $as_echo_n "(cached) " >&6
14095 else
14096 ac_wine_try_cflags_saved=$CFLAGS
14097 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14099 /* end confdefs.h. */
14100 int main(int argc, char **argv) { return 0; }
14101 _ACEOF
14102 if ac_fn_c_try_link "$LINENO"; then :
14103 ac_cv_cflags__Wdeclaration_after_statement=yes
14104 else
14105 ac_cv_cflags__Wdeclaration_after_statement=no
14107 rm -f core conftest.err conftest.$ac_objext \
14108 conftest$ac_exeext conftest.$ac_ext
14109 CFLAGS=$ac_wine_try_cflags_saved
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14112 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14113 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14114 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14117 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14118 if ${ac_cv_cflags__Wempty_body+:} false; then :
14119 $as_echo_n "(cached) " >&6
14120 else
14121 ac_wine_try_cflags_saved=$CFLAGS
14122 CFLAGS="$CFLAGS -Wempty-body"
14123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14124 /* end confdefs.h. */
14125 int main(int argc, char **argv) { return 0; }
14126 _ACEOF
14127 if ac_fn_c_try_link "$LINENO"; then :
14128 ac_cv_cflags__Wempty_body=yes
14129 else
14130 ac_cv_cflags__Wempty_body=no
14132 rm -f core conftest.err conftest.$ac_objext \
14133 conftest$ac_exeext conftest.$ac_ext
14134 CFLAGS=$ac_wine_try_cflags_saved
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14137 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14138 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14139 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14142 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14143 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14144 $as_echo_n "(cached) " >&6
14145 else
14146 ac_wine_try_cflags_saved=$CFLAGS
14147 CFLAGS="$CFLAGS -Wignored-qualifiers"
14148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14149 /* end confdefs.h. */
14150 int main(int argc, char **argv) { return 0; }
14151 _ACEOF
14152 if ac_fn_c_try_link "$LINENO"; then :
14153 ac_cv_cflags__Wignored_qualifiers=yes
14154 else
14155 ac_cv_cflags__Wignored_qualifiers=no
14157 rm -f core conftest.err conftest.$ac_objext \
14158 conftest$ac_exeext conftest.$ac_ext
14159 CFLAGS=$ac_wine_try_cflags_saved
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14162 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14163 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14164 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14167 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14168 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14169 $as_echo_n "(cached) " >&6
14170 else
14171 ac_wine_try_cflags_saved=$CFLAGS
14172 CFLAGS="$CFLAGS -Wshift-overflow=2"
14173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14174 /* end confdefs.h. */
14175 int main(int argc, char **argv) { return 0; }
14176 _ACEOF
14177 if ac_fn_c_try_link "$LINENO"; then :
14178 ac_cv_cflags__Wshift_overflow_2=yes
14179 else
14180 ac_cv_cflags__Wshift_overflow_2=no
14182 rm -f core conftest.err conftest.$ac_objext \
14183 conftest$ac_exeext conftest.$ac_ext
14184 CFLAGS=$ac_wine_try_cflags_saved
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14187 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14188 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14189 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14192 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14193 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14194 $as_echo_n "(cached) " >&6
14195 else
14196 ac_wine_try_cflags_saved=$CFLAGS
14197 CFLAGS="$CFLAGS -Wstrict-prototypes"
14198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14199 /* end confdefs.h. */
14200 int main(int argc, char **argv) { return 0; }
14201 _ACEOF
14202 if ac_fn_c_try_link "$LINENO"; then :
14203 ac_cv_cflags__Wstrict_prototypes=yes
14204 else
14205 ac_cv_cflags__Wstrict_prototypes=no
14207 rm -f core conftest.err conftest.$ac_objext \
14208 conftest$ac_exeext conftest.$ac_ext
14209 CFLAGS=$ac_wine_try_cflags_saved
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14212 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14213 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14214 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14217 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14218 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14219 $as_echo_n "(cached) " >&6
14220 else
14221 ac_wine_try_cflags_saved=$CFLAGS
14222 CFLAGS="$CFLAGS -Wtype-limits"
14223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14224 /* end confdefs.h. */
14225 int main(int argc, char **argv) { return 0; }
14226 _ACEOF
14227 if ac_fn_c_try_link "$LINENO"; then :
14228 ac_cv_cflags__Wtype_limits=yes
14229 else
14230 ac_cv_cflags__Wtype_limits=no
14232 rm -f core conftest.err conftest.$ac_objext \
14233 conftest$ac_exeext conftest.$ac_ext
14234 CFLAGS=$ac_wine_try_cflags_saved
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14237 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14238 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14239 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14242 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14243 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14244 $as_echo_n "(cached) " >&6
14245 else
14246 ac_wine_try_cflags_saved=$CFLAGS
14247 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14249 /* end confdefs.h. */
14250 int main(int argc, char **argv) { return 0; }
14251 _ACEOF
14252 if ac_fn_c_try_link "$LINENO"; then :
14253 ac_cv_cflags__Wunused_but_set_parameter=yes
14254 else
14255 ac_cv_cflags__Wunused_but_set_parameter=no
14257 rm -f core conftest.err conftest.$ac_objext \
14258 conftest$ac_exeext conftest.$ac_ext
14259 CFLAGS=$ac_wine_try_cflags_saved
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14262 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14263 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14264 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14267 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14268 if ${ac_cv_cflags__Wvla+:} false; then :
14269 $as_echo_n "(cached) " >&6
14270 else
14271 ac_wine_try_cflags_saved=$CFLAGS
14272 CFLAGS="$CFLAGS -Wvla"
14273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14274 /* end confdefs.h. */
14275 int main(int argc, char **argv) { return 0; }
14276 _ACEOF
14277 if ac_fn_c_try_link "$LINENO"; then :
14278 ac_cv_cflags__Wvla=yes
14279 else
14280 ac_cv_cflags__Wvla=no
14282 rm -f core conftest.err conftest.$ac_objext \
14283 conftest$ac_exeext conftest.$ac_ext
14284 CFLAGS=$ac_wine_try_cflags_saved
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14287 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14288 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14289 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14292 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14293 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14294 $as_echo_n "(cached) " >&6
14295 else
14296 ac_wine_try_cflags_saved=$CFLAGS
14297 CFLAGS="$CFLAGS -Wwrite-strings"
14298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14299 /* end confdefs.h. */
14300 int main(int argc, char **argv) { return 0; }
14301 _ACEOF
14302 if ac_fn_c_try_link "$LINENO"; then :
14303 ac_cv_cflags__Wwrite_strings=yes
14304 else
14305 ac_cv_cflags__Wwrite_strings=no
14307 rm -f core conftest.err conftest.$ac_objext \
14308 conftest$ac_exeext conftest.$ac_ext
14309 CFLAGS=$ac_wine_try_cflags_saved
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14312 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14313 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14314 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14318 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14319 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14320 $as_echo_n "(cached) " >&6
14321 else
14322 ac_wine_try_cflags_saved=$CFLAGS
14323 CFLAGS="$CFLAGS -Wpointer-arith"
14324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14325 /* end confdefs.h. */
14326 int main(int argc, char **argv) { return 0; }
14327 _ACEOF
14328 if ac_fn_c_try_link "$LINENO"; then :
14329 ac_cv_cflags__Wpointer_arith=yes
14330 else
14331 ac_cv_cflags__Wpointer_arith=no
14333 rm -f core conftest.err conftest.$ac_objext \
14334 conftest$ac_exeext conftest.$ac_ext
14335 CFLAGS=$ac_wine_try_cflags_saved
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14338 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14339 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14340 saved_string_h_CFLAGS=$CFLAGS
14341 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14343 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14344 if ${ac_cv_c_string_h_warnings+:} false; then :
14345 $as_echo_n "(cached) " >&6
14346 else
14347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14348 /* end confdefs.h. */
14349 #include <string.h>
14351 main ()
14355 return 0;
14357 _ACEOF
14358 if ac_fn_c_try_compile "$LINENO"; then :
14359 ac_cv_c_string_h_warnings=no
14360 else
14361 ac_cv_c_string_h_warnings=yes
14363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14366 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14367 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14368 CFLAGS=$saved_string_h_CFLAGS
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14372 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14373 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14374 $as_echo_n "(cached) " >&6
14375 else
14376 ac_wine_try_cflags_saved=$CFLAGS
14377 CFLAGS="$CFLAGS -Wlogical-op"
14378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14379 /* end confdefs.h. */
14380 int main(int argc, char **argv) { return 0; }
14381 _ACEOF
14382 if ac_fn_c_try_link "$LINENO"; then :
14383 ac_cv_cflags__Wlogical_op=yes
14384 else
14385 ac_cv_cflags__Wlogical_op=no
14387 rm -f core conftest.err conftest.$ac_objext \
14388 conftest$ac_exeext conftest.$ac_ext
14389 CFLAGS=$ac_wine_try_cflags_saved
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14392 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14393 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14394 saved_string_h_CFLAGS=$CFLAGS
14395 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14397 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14398 if ${ac_cv_c_logicalop_noisy+:} false; then :
14399 $as_echo_n "(cached) " >&6
14400 else
14401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14402 /* end confdefs.h. */
14403 #include <string.h>
14404 char*f(const char *h,char n) {return strchr(h,n);}
14406 main ()
14410 return 0;
14412 _ACEOF
14413 if ac_fn_c_try_compile "$LINENO"; then :
14414 ac_cv_c_logicalop_noisy=no
14415 else
14416 ac_cv_c_logicalop_noisy=yes
14418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14421 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14422 CFLAGS=$saved_string_h_CFLAGS
14423 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14426 CFLAGS=$saved_CFLAGS
14428 for ac_flag in $CFLAGS; do
14429 case $ac_flag in
14430 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14431 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14432 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14433 $as_echo_n "(cached) " >&6
14434 else
14435 ac_wine_try_cflags_saved=$CFLAGS
14436 CFLAGS="$CFLAGS -gdwarf-2"
14437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14438 /* end confdefs.h. */
14439 int main(int argc, char **argv) { return 0; }
14440 _ACEOF
14441 if ac_fn_c_try_link "$LINENO"; then :
14442 ac_cv_cflags__gdwarf_2=yes
14443 else
14444 ac_cv_cflags__gdwarf_2=no
14446 rm -f core conftest.err conftest.$ac_objext \
14447 conftest$ac_exeext conftest.$ac_ext
14448 CFLAGS=$ac_wine_try_cflags_saved
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14451 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14452 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14453 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14456 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14457 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14458 $as_echo_n "(cached) " >&6
14459 else
14460 ac_wine_try_cflags_saved=$CFLAGS
14461 CFLAGS="$CFLAGS -gstrict-dwarf"
14462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14463 /* end confdefs.h. */
14464 int main(int argc, char **argv) { return 0; }
14465 _ACEOF
14466 if ac_fn_c_try_link "$LINENO"; then :
14467 ac_cv_cflags__gstrict_dwarf=yes
14468 else
14469 ac_cv_cflags__gstrict_dwarf=no
14471 rm -f core conftest.err conftest.$ac_objext \
14472 conftest$ac_exeext conftest.$ac_ext
14473 CFLAGS=$ac_wine_try_cflags_saved
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14476 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14477 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14478 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14479 fi ;;
14480 esac
14481 done
14483 case $host_cpu in
14484 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14485 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14486 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14487 $as_echo_n "(cached) " >&6
14488 else
14489 ac_wine_try_cflags_saved=$CFLAGS
14490 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14492 /* end confdefs.h. */
14493 int main(int argc, char **argv) { return 0; }
14494 _ACEOF
14495 if ac_fn_c_try_link "$LINENO"; then :
14496 ac_cv_cflags__fno_omit_frame_pointer=yes
14497 else
14498 ac_cv_cflags__fno_omit_frame_pointer=no
14500 rm -f core conftest.err conftest.$ac_objext \
14501 conftest$ac_exeext conftest.$ac_ext
14502 CFLAGS=$ac_wine_try_cflags_saved
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14505 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14506 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14507 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14508 fi ;;
14509 esac
14511 case $host in
14512 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14513 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14514 if ${ac_cv_cflags__Wno_format+:} false; then :
14515 $as_echo_n "(cached) " >&6
14516 else
14517 ac_wine_try_cflags_saved=$CFLAGS
14518 CFLAGS="$CFLAGS -Wno-format"
14519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14520 /* end confdefs.h. */
14521 int main(int argc, char **argv) { return 0; }
14522 _ACEOF
14523 if ac_fn_c_try_link "$LINENO"; then :
14524 ac_cv_cflags__Wno_format=yes
14525 else
14526 ac_cv_cflags__Wno_format=no
14528 rm -f core conftest.err conftest.$ac_objext \
14529 conftest$ac_exeext conftest.$ac_ext
14530 CFLAGS=$ac_wine_try_cflags_saved
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14533 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14534 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14535 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14536 fi ;;
14537 esac
14539 if test "x$enable_maintainer_mode" = "xyes"
14540 then
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14542 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14543 if ${ac_cv_cflags__Werror+:} false; then :
14544 $as_echo_n "(cached) " >&6
14545 else
14546 ac_wine_try_cflags_saved=$CFLAGS
14547 CFLAGS="$CFLAGS -Werror"
14548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14550 int main(int argc, char **argv) { return 0; }
14551 _ACEOF
14552 if ac_fn_c_try_link "$LINENO"; then :
14553 ac_cv_cflags__Werror=yes
14554 else
14555 ac_cv_cflags__Werror=no
14557 rm -f core conftest.err conftest.$ac_objext \
14558 conftest$ac_exeext conftest.$ac_ext
14559 CFLAGS=$ac_wine_try_cflags_saved
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14562 $as_echo "$ac_cv_cflags__Werror" >&6; }
14563 if test "x$ac_cv_cflags__Werror" = xyes; then :
14564 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14568 saved_CFLAGS="$CFLAGS"
14569 CFLAGS="$CFLAGS -Werror"
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14571 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14572 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14573 $as_echo_n "(cached) " >&6
14574 else
14575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14576 /* end confdefs.h. */
14577 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14579 main ()
14583 return 0;
14585 _ACEOF
14586 if ac_fn_c_try_compile "$LINENO"; then :
14587 ac_cv_have_ms_hook_prologue="yes"
14588 else
14589 ac_cv_have_ms_hook_prologue="no"
14591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14594 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14595 CFLAGS="$saved_CFLAGS"
14596 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14597 then
14599 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14601 else
14602 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14609 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14610 if ${ac_cv_c_fortify_enabled+:} false; then :
14611 $as_echo_n "(cached) " >&6
14612 else
14613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14614 /* end confdefs.h. */
14615 #include <string.h>
14617 main ()
14619 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14620 #error Fortify enabled
14621 #endif
14623 return 0;
14625 _ACEOF
14626 if ac_fn_c_try_compile "$LINENO"; then :
14627 ac_cv_c_fortify_enabled=no
14628 else
14629 ac_cv_c_fortify_enabled=yes
14631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14634 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14635 if test "$ac_cv_c_fortify_enabled" = yes
14636 then
14637 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14642 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14643 if ${ac_cv_c_extern_prefix+:} false; then :
14644 $as_echo_n "(cached) " >&6
14645 else
14646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14648 extern int ac_test;
14650 main ()
14652 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14654 return 0;
14656 _ACEOF
14657 if ac_fn_c_try_link "$LINENO"; then :
14658 ac_cv_c_extern_prefix="yes"
14659 else
14660 ac_cv_c_extern_prefix="no"
14662 rm -f core conftest.err conftest.$ac_objext \
14663 conftest$ac_exeext conftest.$ac_ext
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14666 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14668 case $host_cpu in
14669 *i[3456789]86*)
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14671 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14672 if ${ac_cv_c_stdcall_suffix+:} false; then :
14673 $as_echo_n "(cached) " >&6
14674 else
14675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14676 /* end confdefs.h. */
14677 #ifndef _MSC_VER
14678 #define __stdcall __attribute__((__stdcall__))
14679 #endif
14680 int __stdcall ac_test(int i) { return i; }
14682 main ()
14684 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14686 return 0;
14688 _ACEOF
14689 if ac_fn_c_try_link "$LINENO"; then :
14690 ac_cv_c_stdcall_suffix="yes"
14691 else
14692 ac_cv_c_stdcall_suffix="no"
14694 rm -f core conftest.err conftest.$ac_objext \
14695 conftest$ac_exeext conftest.$ac_ext
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14698 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14699 *) ac_cv_c_stdcall_suffix="no" ;;
14700 esac
14703 if test "$ac_cv_c_extern_prefix" = "yes"
14704 then
14705 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14707 asm_name_prefix="_"
14708 else
14709 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14711 asm_name_prefix=""
14715 if test "$ac_cv_c_stdcall_suffix" = "yes"
14716 then
14717 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14719 else
14720 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14726 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14727 if ${ac_cv_asm_func_def+:} false; then :
14728 $as_echo_n "(cached) " >&6
14729 else
14730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14731 /* end confdefs.h. */
14734 main ()
14736 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14738 return 0;
14740 _ACEOF
14741 if ac_fn_c_try_link "$LINENO"; then :
14742 ac_cv_asm_func_def=".def"
14743 else
14744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14745 /* end confdefs.h. */
14748 main ()
14750 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14752 return 0;
14754 _ACEOF
14755 if ac_fn_c_try_link "$LINENO"; then :
14756 ac_cv_asm_func_def=".type @function"
14757 else
14758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14759 /* end confdefs.h. */
14762 main ()
14764 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14766 return 0;
14768 _ACEOF
14769 if ac_fn_c_try_link "$LINENO"; then :
14770 ac_cv_asm_func_def=".type 2"
14771 else
14772 ac_cv_asm_func_def="unknown"
14774 rm -f core conftest.err conftest.$ac_objext \
14775 conftest$ac_exeext conftest.$ac_ext
14777 rm -f core conftest.err conftest.$ac_objext \
14778 conftest$ac_exeext conftest.$ac_ext
14780 rm -f core conftest.err conftest.$ac_objext \
14781 conftest$ac_exeext conftest.$ac_ext
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14784 $as_echo "$ac_cv_asm_func_def" >&6; }
14787 case "$ac_cv_asm_func_def" in
14788 ".def")
14789 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14791 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14792 ".type @function")
14793 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14795 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14796 ".type 2")
14797 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14799 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14801 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14803 asm_func_header="" ;;
14804 esac
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14807 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14808 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14809 $as_echo_n "(cached) " >&6
14810 else
14811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14812 /* end confdefs.h. */
14813 asm(".text\n\t.long 0");
14815 main ()
14819 return 0;
14821 _ACEOF
14822 if ac_fn_c_try_compile "$LINENO"; then :
14823 ac_cv_c_asm_outside_funcs="yes"
14824 else
14825 ac_cv_c_asm_outside_funcs="no"
14827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14830 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14833 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14834 if ${ac_cv_c_dot_previous+:} false; then :
14835 $as_echo_n "(cached) " >&6
14836 else
14837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14838 /* end confdefs.h. */
14841 main ()
14843 asm(".text\nac_test:\t.long 0\n\t.previous");
14845 return 0;
14847 _ACEOF
14848 if ac_fn_c_try_link "$LINENO"; then :
14849 ac_cv_c_dot_previous="yes"
14850 else
14851 ac_cv_c_dot_previous="no"
14853 rm -f core conftest.err conftest.$ac_objext \
14854 conftest$ac_exeext conftest.$ac_ext
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14857 $as_echo "$ac_cv_c_dot_previous" >&6; }
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14860 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14861 if ${ac_cv_c_cfi_support+:} false; then :
14862 $as_echo_n "(cached) " >&6
14863 else
14864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14865 /* end confdefs.h. */
14866 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14868 main ()
14872 return 0;
14874 _ACEOF
14875 if ac_fn_c_try_compile "$LINENO"; then :
14876 ac_cv_c_cfi_support="yes"
14877 else
14878 ac_cv_c_cfi_support="no"
14880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14883 $as_echo "$ac_cv_c_cfi_support" >&6; }
14885 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14886 asm_func_trailer=""
14887 if test "$ac_cv_c_dot_previous" = "yes"
14888 then
14889 asm_func_trailer="\\n\\t.previous"
14891 if test "$ac_cv_c_cfi_support" = "yes"
14892 then
14893 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14894 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14896 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14898 UNWINDFLAGS=-fasynchronous-unwind-tables
14900 else
14901 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14903 if test "x$enable_win64" = "xyes"
14904 then
14905 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14909 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14912 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14913 then
14914 cat >>confdefs.h <<_ACEOF
14915 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14916 _ACEOF
14918 else
14919 cat >>confdefs.h <<_ACEOF
14920 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14921 _ACEOF
14925 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14928 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14932 case $build_os in
14933 cygwin*|mingw32*) TOOLSEXT=".exe"
14935 esac
14937 case $host_os in
14938 linux-android*) ;;
14939 linux*)
14940 case $host_cpu in
14941 *i[3456789]86*|x86_64*)
14942 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14943 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
14945 esac
14947 esac
14950 ac_save_CFLAGS="$CFLAGS"
14951 CFLAGS="$CFLAGS $BUILTINFLAG"
14952 for ac_func in \
14953 __res_get_state \
14954 __res_getservers \
14955 _finite \
14956 _isnan \
14957 _pclose \
14958 _popen \
14959 _snprintf \
14960 _spawnvp \
14961 _strdup \
14962 _stricmp \
14963 _strnicmp \
14964 _strtoi64 \
14965 _strtoui64 \
14966 _vsnprintf \
14967 asctime_r \
14968 chsize \
14969 dlopen \
14970 epoll_create \
14971 ffs \
14972 finitef \
14973 fnmatch \
14974 fork \
14975 fpclass \
14976 fstatfs \
14977 fstatvfs \
14978 ftruncate \
14979 futimens \
14980 futimes \
14981 futimesat \
14982 getattrlist \
14983 getdirentries \
14984 getopt_long_only \
14985 getpwuid \
14986 gettimeofday \
14987 getuid \
14988 if_nameindex \
14989 isnanf \
14990 kqueue \
14991 lstat \
14992 memmove \
14993 mmap \
14994 pclose \
14995 pipe2 \
14996 poll \
14997 popen \
14998 port_create \
14999 prctl \
15000 pread \
15001 proc_pidinfo \
15002 pwrite \
15003 readdir \
15004 readlink \
15005 sched_yield \
15006 select \
15007 setproctitle \
15008 setrlimit \
15009 settimeofday \
15010 sigaltstack \
15011 sigprocmask \
15012 snprintf \
15013 statfs \
15014 statvfs \
15015 strcasecmp \
15016 strdup \
15017 strerror \
15018 strncasecmp \
15019 strtold \
15020 strtoll \
15021 strtoull \
15022 symlink \
15023 tcdrain \
15024 thr_kill2 \
15025 timegm \
15026 usleep \
15027 vsnprintf
15029 do :
15030 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15031 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15032 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15033 cat >>confdefs.h <<_ACEOF
15034 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15035 _ACEOF
15038 done
15040 CFLAGS="$ac_save_CFLAGS"
15042 if test "$ac_cv_func_dlopen" = no
15043 then
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15045 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15046 if ${ac_cv_lib_dl_dlopen+:} false; then :
15047 $as_echo_n "(cached) " >&6
15048 else
15049 ac_check_lib_save_LIBS=$LIBS
15050 LIBS="-ldl $LIBS"
15051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15052 /* end confdefs.h. */
15054 /* Override any GCC internal prototype to avoid an error.
15055 Use char because int might match the return type of a GCC
15056 builtin and then its argument prototype would still apply. */
15057 #ifdef __cplusplus
15058 extern "C"
15059 #endif
15060 char dlopen ();
15062 main ()
15064 return dlopen ();
15066 return 0;
15068 _ACEOF
15069 if ac_fn_c_try_link "$LINENO"; then :
15070 ac_cv_lib_dl_dlopen=yes
15071 else
15072 ac_cv_lib_dl_dlopen=no
15074 rm -f core conftest.err conftest.$ac_objext \
15075 conftest$ac_exeext conftest.$ac_ext
15076 LIBS=$ac_check_lib_save_LIBS
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15079 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15080 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15081 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15082 DL_LIBS="-ldl"
15087 ac_wine_check_funcs_save_LIBS="$LIBS"
15088 LIBS="$LIBS $DL_LIBS"
15089 for ac_func in dladdr
15090 do :
15091 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15092 if test "x$ac_cv_func_dladdr" = xyes; then :
15093 cat >>confdefs.h <<_ACEOF
15094 #define HAVE_DLADDR 1
15095 _ACEOF
15098 done
15100 LIBS="$ac_wine_check_funcs_save_LIBS"
15102 if test "$ac_cv_func_poll" = no
15103 then
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15105 $as_echo_n "checking for poll in -lpoll... " >&6; }
15106 if ${ac_cv_lib_poll_poll+:} false; then :
15107 $as_echo_n "(cached) " >&6
15108 else
15109 ac_check_lib_save_LIBS=$LIBS
15110 LIBS="-lpoll $LIBS"
15111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15112 /* end confdefs.h. */
15114 /* Override any GCC internal prototype to avoid an error.
15115 Use char because int might match the return type of a GCC
15116 builtin and then its argument prototype would still apply. */
15117 #ifdef __cplusplus
15118 extern "C"
15119 #endif
15120 char poll ();
15122 main ()
15124 return poll ();
15126 return 0;
15128 _ACEOF
15129 if ac_fn_c_try_link "$LINENO"; then :
15130 ac_cv_lib_poll_poll=yes
15131 else
15132 ac_cv_lib_poll_poll=no
15134 rm -f core conftest.err conftest.$ac_objext \
15135 conftest$ac_exeext conftest.$ac_ext
15136 LIBS=$ac_check_lib_save_LIBS
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15139 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15140 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15141 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15142 POLL_LIBS="-lpoll"
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15149 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15150 if ${ac_cv_search_gethostbyname+:} false; then :
15151 $as_echo_n "(cached) " >&6
15152 else
15153 ac_func_search_save_LIBS=$LIBS
15154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15155 /* end confdefs.h. */
15157 /* Override any GCC internal prototype to avoid an error.
15158 Use char because int might match the return type of a GCC
15159 builtin and then its argument prototype would still apply. */
15160 #ifdef __cplusplus
15161 extern "C"
15162 #endif
15163 char gethostbyname ();
15165 main ()
15167 return gethostbyname ();
15169 return 0;
15171 _ACEOF
15172 for ac_lib in '' nsl; do
15173 if test -z "$ac_lib"; then
15174 ac_res="none required"
15175 else
15176 ac_res=-l$ac_lib
15177 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15179 if ac_fn_c_try_link "$LINENO"; then :
15180 ac_cv_search_gethostbyname=$ac_res
15182 rm -f core conftest.err conftest.$ac_objext \
15183 conftest$ac_exeext
15184 if ${ac_cv_search_gethostbyname+:} false; then :
15185 break
15187 done
15188 if ${ac_cv_search_gethostbyname+:} false; then :
15190 else
15191 ac_cv_search_gethostbyname=no
15193 rm conftest.$ac_ext
15194 LIBS=$ac_func_search_save_LIBS
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15197 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15198 ac_res=$ac_cv_search_gethostbyname
15199 if test "$ac_res" != no; then :
15200 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15206 $as_echo_n "checking for library containing connect... " >&6; }
15207 if ${ac_cv_search_connect+:} false; then :
15208 $as_echo_n "(cached) " >&6
15209 else
15210 ac_func_search_save_LIBS=$LIBS
15211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15212 /* end confdefs.h. */
15214 /* Override any GCC internal prototype to avoid an error.
15215 Use char because int might match the return type of a GCC
15216 builtin and then its argument prototype would still apply. */
15217 #ifdef __cplusplus
15218 extern "C"
15219 #endif
15220 char connect ();
15222 main ()
15224 return connect ();
15226 return 0;
15228 _ACEOF
15229 for ac_lib in '' socket; do
15230 if test -z "$ac_lib"; then
15231 ac_res="none required"
15232 else
15233 ac_res=-l$ac_lib
15234 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15236 if ac_fn_c_try_link "$LINENO"; then :
15237 ac_cv_search_connect=$ac_res
15239 rm -f core conftest.err conftest.$ac_objext \
15240 conftest$ac_exeext
15241 if ${ac_cv_search_connect+:} false; then :
15242 break
15244 done
15245 if ${ac_cv_search_connect+:} false; then :
15247 else
15248 ac_cv_search_connect=no
15250 rm conftest.$ac_ext
15251 LIBS=$ac_func_search_save_LIBS
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15254 $as_echo "$ac_cv_search_connect" >&6; }
15255 ac_res=$ac_cv_search_connect
15256 if test "$ac_res" != no; then :
15257 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15263 $as_echo_n "checking for library containing inet_aton... " >&6; }
15264 if ${ac_cv_search_inet_aton+:} false; then :
15265 $as_echo_n "(cached) " >&6
15266 else
15267 ac_func_search_save_LIBS=$LIBS
15268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15269 /* end confdefs.h. */
15271 /* Override any GCC internal prototype to avoid an error.
15272 Use char because int might match the return type of a GCC
15273 builtin and then its argument prototype would still apply. */
15274 #ifdef __cplusplus
15275 extern "C"
15276 #endif
15277 char inet_aton ();
15279 main ()
15281 return inet_aton ();
15283 return 0;
15285 _ACEOF
15286 for ac_lib in '' resolv; do
15287 if test -z "$ac_lib"; then
15288 ac_res="none required"
15289 else
15290 ac_res=-l$ac_lib
15291 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15293 if ac_fn_c_try_link "$LINENO"; then :
15294 ac_cv_search_inet_aton=$ac_res
15296 rm -f core conftest.err conftest.$ac_objext \
15297 conftest$ac_exeext
15298 if ${ac_cv_search_inet_aton+:} false; then :
15299 break
15301 done
15302 if ${ac_cv_search_inet_aton+:} false; then :
15304 else
15305 ac_cv_search_inet_aton=no
15307 rm conftest.$ac_ext
15308 LIBS=$ac_func_search_save_LIBS
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15311 $as_echo "$ac_cv_search_inet_aton" >&6; }
15312 ac_res=$ac_cv_search_inet_aton
15313 if test "$ac_res" != no; then :
15314 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15319 for ac_func in \
15320 getaddrinfo \
15321 getnameinfo \
15322 getnetbyname \
15323 getprotobyname \
15324 getprotobynumber \
15325 getservbyport \
15326 inet_addr \
15327 inet_network \
15328 inet_ntop \
15329 inet_pton \
15330 sendmsg \
15331 socketpair \
15333 do :
15334 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15335 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15336 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15337 cat >>confdefs.h <<_ACEOF
15338 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15339 _ACEOF
15342 done
15345 ac_save_LIBS=$LIBS
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15347 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15348 if ${ac_cv_search_clock_gettime+:} false; then :
15349 $as_echo_n "(cached) " >&6
15350 else
15351 ac_func_search_save_LIBS=$LIBS
15352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15353 /* end confdefs.h. */
15355 /* Override any GCC internal prototype to avoid an error.
15356 Use char because int might match the return type of a GCC
15357 builtin and then its argument prototype would still apply. */
15358 #ifdef __cplusplus
15359 extern "C"
15360 #endif
15361 char clock_gettime ();
15363 main ()
15365 return clock_gettime ();
15367 return 0;
15369 _ACEOF
15370 for ac_lib in '' rt; do
15371 if test -z "$ac_lib"; then
15372 ac_res="none required"
15373 else
15374 ac_res=-l$ac_lib
15375 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15377 if ac_fn_c_try_link "$LINENO"; then :
15378 ac_cv_search_clock_gettime=$ac_res
15380 rm -f core conftest.err conftest.$ac_objext \
15381 conftest$ac_exeext
15382 if ${ac_cv_search_clock_gettime+:} false; then :
15383 break
15385 done
15386 if ${ac_cv_search_clock_gettime+:} false; then :
15388 else
15389 ac_cv_search_clock_gettime=no
15391 rm conftest.$ac_ext
15392 LIBS=$ac_func_search_save_LIBS
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15395 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15396 ac_res=$ac_cv_search_clock_gettime
15397 if test "$ac_res" != no; then :
15398 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15400 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15402 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15406 LIBS=$ac_save_LIBS
15408 LDAP_LIBS=""
15410 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15411 then
15412 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15414 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15416 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15417 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15418 $as_echo_n "(cached) " >&6
15419 else
15420 ac_check_lib_save_LIBS=$LIBS
15421 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15423 /* end confdefs.h. */
15425 /* Override any GCC internal prototype to avoid an error.
15426 Use char because int might match the return type of a GCC
15427 builtin and then its argument prototype would still apply. */
15428 #ifdef __cplusplus
15429 extern "C"
15430 #endif
15431 char ldap_initialize ();
15433 main ()
15435 return ldap_initialize ();
15437 return 0;
15439 _ACEOF
15440 if ac_fn_c_try_link "$LINENO"; then :
15441 ac_cv_lib_ldap_r_ldap_initialize=yes
15442 else
15443 ac_cv_lib_ldap_r_ldap_initialize=no
15445 rm -f core conftest.err conftest.$ac_objext \
15446 conftest$ac_exeext conftest.$ac_ext
15447 LIBS=$ac_check_lib_save_LIBS
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15450 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15451 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15453 $as_echo_n "checking for ber_init in -llber... " >&6; }
15454 if ${ac_cv_lib_lber_ber_init+:} false; then :
15455 $as_echo_n "(cached) " >&6
15456 else
15457 ac_check_lib_save_LIBS=$LIBS
15458 LIBS="-llber $PTHREAD_LIBS $LIBS"
15459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15460 /* end confdefs.h. */
15462 /* Override any GCC internal prototype to avoid an error.
15463 Use char because int might match the return type of a GCC
15464 builtin and then its argument prototype would still apply. */
15465 #ifdef __cplusplus
15466 extern "C"
15467 #endif
15468 char ber_init ();
15470 main ()
15472 return ber_init ();
15474 return 0;
15476 _ACEOF
15477 if ac_fn_c_try_link "$LINENO"; then :
15478 ac_cv_lib_lber_ber_init=yes
15479 else
15480 ac_cv_lib_lber_ber_init=no
15482 rm -f core conftest.err conftest.$ac_objext \
15483 conftest$ac_exeext conftest.$ac_ext
15484 LIBS=$ac_check_lib_save_LIBS
15486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15487 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15488 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15490 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15492 LDAP_LIBS="-lldap_r -llber"
15499 ac_wine_check_funcs_save_LIBS="$LIBS"
15500 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15501 for ac_func in \
15502 ldap_count_references \
15503 ldap_first_reference \
15504 ldap_next_reference \
15505 ldap_parse_reference \
15506 ldap_parse_sort_control \
15507 ldap_parse_sortresponse_control \
15508 ldap_parse_vlv_control \
15509 ldap_parse_vlvresponse_control
15510 do :
15511 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15512 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15513 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15514 cat >>confdefs.h <<_ACEOF
15515 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15516 _ACEOF
15519 done
15521 LIBS="$ac_wine_check_funcs_save_LIBS"
15523 if test "x$LDAP_LIBS" = "x"; then :
15524 case "x$with_ldap" in
15525 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15526 xno) ;;
15527 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15528 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15529 esac
15532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15533 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15534 if ${wine_cv_one_arg_mkdir+:} false; then :
15535 $as_echo_n "(cached) " >&6
15536 else
15537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15538 /* end confdefs.h. */
15539 #include <sys/stat.h>
15541 main ()
15543 mkdir("foo");
15545 return 0;
15547 _ACEOF
15548 if ac_fn_c_try_compile "$LINENO"; then :
15549 wine_cv_one_arg_mkdir=yes
15550 else
15551 wine_cv_one_arg_mkdir=no
15553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15556 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15557 if test "$wine_cv_one_arg_mkdir" = "yes"
15558 then
15560 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15565 $as_echo_n "checking for sched_setaffinity... " >&6; }
15566 if ${wine_cv_have_sched_setaffinity+:} false; then :
15567 $as_echo_n "(cached) " >&6
15568 else
15569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15570 /* end confdefs.h. */
15571 #define _GNU_SOURCE
15572 #include <sched.h>
15574 main ()
15576 sched_setaffinity(0, 0, 0);
15578 return 0;
15580 _ACEOF
15581 if ac_fn_c_try_link "$LINENO"; then :
15582 wine_cv_have_sched_setaffinity=yes
15583 else
15584 wine_cv_have_sched_setaffinity=no
15586 rm -f core conftest.err conftest.$ac_objext \
15587 conftest$ac_exeext conftest.$ac_ext
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15590 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15591 if test "$wine_cv_have_sched_setaffinity" = "yes"
15592 then
15594 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15599 $as_echo_n "checking for fallocate... " >&6; }
15600 if ${wine_cv_have_fallocate+:} false; then :
15601 $as_echo_n "(cached) " >&6
15602 else
15603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15604 /* end confdefs.h. */
15605 #define _GNU_SOURCE
15606 #include <fcntl.h>
15608 main ()
15610 fallocate(-1, 0, 0, 0);
15612 return 0;
15614 _ACEOF
15615 if ac_fn_c_try_link "$LINENO"; then :
15616 wine_cv_have_fallocate=yes
15617 else
15618 wine_cv_have_fallocate=no
15620 rm -f core conftest.err conftest.$ac_objext \
15621 conftest$ac_exeext conftest.$ac_ext
15623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15624 $as_echo "$wine_cv_have_fallocate" >&6; }
15625 if test "$wine_cv_have_fallocate" = "yes"
15626 then
15628 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15634 $as_echo_n "checking for inline... " >&6; }
15635 if ${ac_cv_c_inline+:} false; then :
15636 $as_echo_n "(cached) " >&6
15637 else
15638 ac_cv_c_inline=no
15639 for ac_kw in inline __inline__ __inline; do
15640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15641 /* end confdefs.h. */
15642 #ifndef __cplusplus
15643 typedef int foo_t;
15644 static $ac_kw foo_t static_foo () {return 0; }
15645 $ac_kw foo_t foo () {return 0; }
15646 #endif
15648 _ACEOF
15649 if ac_fn_c_try_compile "$LINENO"; then :
15650 ac_cv_c_inline=$ac_kw
15652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15653 test "$ac_cv_c_inline" != no && break
15654 done
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15658 $as_echo "$ac_cv_c_inline" >&6; }
15660 case $ac_cv_c_inline in
15661 inline | yes) ;;
15663 case $ac_cv_c_inline in
15664 no) ac_val=;;
15665 *) ac_val=$ac_cv_c_inline;;
15666 esac
15667 cat >>confdefs.h <<_ACEOF
15668 #ifndef __cplusplus
15669 #define inline $ac_val
15670 #endif
15671 _ACEOF
15673 esac
15675 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15676 if test "x$ac_cv_type_mode_t" = xyes; then :
15678 cat >>confdefs.h <<_ACEOF
15679 #define HAVE_MODE_T 1
15680 _ACEOF
15684 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15685 if test "x$ac_cv_type_off_t" = xyes; then :
15687 cat >>confdefs.h <<_ACEOF
15688 #define HAVE_OFF_T 1
15689 _ACEOF
15693 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15694 if test "x$ac_cv_type_pid_t" = xyes; then :
15696 cat >>confdefs.h <<_ACEOF
15697 #define HAVE_PID_T 1
15698 _ACEOF
15702 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15703 if test "x$ac_cv_type_size_t" = xyes; then :
15705 cat >>confdefs.h <<_ACEOF
15706 #define HAVE_SIZE_T 1
15707 _ACEOF
15711 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15712 if test "x$ac_cv_type_ssize_t" = xyes; then :
15714 cat >>confdefs.h <<_ACEOF
15715 #define HAVE_SSIZE_T 1
15716 _ACEOF
15720 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15721 if test "x$ac_cv_type_long_long" = xyes; then :
15723 cat >>confdefs.h <<_ACEOF
15724 #define HAVE_LONG_LONG 1
15725 _ACEOF
15729 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15730 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15732 cat >>confdefs.h <<_ACEOF
15733 #define HAVE_FSBLKCNT_T 1
15734 _ACEOF
15738 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15739 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15741 cat >>confdefs.h <<_ACEOF
15742 #define HAVE_FSFILCNT_T 1
15743 _ACEOF
15748 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15749 #include <signal.h>
15751 if test "x$ac_cv_type_sigset_t" = xyes; then :
15753 cat >>confdefs.h <<_ACEOF
15754 #define HAVE_SIGSET_T 1
15755 _ACEOF
15760 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15762 if test "x$ac_cv_type_request_sense" = xyes; then :
15764 cat >>confdefs.h <<_ACEOF
15765 #define HAVE_REQUEST_SENSE 1
15766 _ACEOF
15772 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15773 #ifdef HAVE_SYS_SOCKET_H
15774 #include <sys/socket.h>
15775 #endif
15776 #ifdef HAVE_SYS_SOCKETVAR_H
15777 #include <sys/socketvar.h>
15778 #endif
15779 #ifdef HAVE_NET_ROUTE_H
15780 #include <net/route.h>
15781 #endif
15782 #ifdef HAVE_NETINET_IN_H
15783 #include <netinet/in.h>
15784 #endif
15785 #ifdef HAVE_NETINET_IN_SYSTM_H
15786 #include <netinet/in_systm.h>
15787 #endif
15788 #ifdef HAVE_NETINET_IP_H
15789 #include <netinet/ip.h>
15790 #endif
15791 #ifdef HAVE_NETINET_IN_PCB_H
15792 #include <netinet/in_pcb.h>
15793 #endif
15795 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15797 cat >>confdefs.h <<_ACEOF
15798 #define HAVE_STRUCT_XINPGEN 1
15799 _ACEOF
15805 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15806 #include <link.h>
15807 #endif
15808 #ifdef HAVE_SYS_LINK_H
15809 #include <sys/link.h>
15810 #endif
15812 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15814 cat >>confdefs.h <<_ACEOF
15815 #define HAVE_STRUCT_R_DEBUG 1
15816 _ACEOF
15820 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15821 #include <link.h>
15822 #endif
15823 #ifdef HAVE_SYS_LINK_H
15824 #include <sys/link.h>
15825 #endif
15827 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15829 cat >>confdefs.h <<_ACEOF
15830 #define HAVE_STRUCT_LINK_MAP 1
15831 _ACEOF
15837 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15838 #include <linux/input.h>
15839 #endif
15841 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15843 cat >>confdefs.h <<_ACEOF
15844 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15845 _ACEOF
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15852 $as_echo_n "checking for sigaddset... " >&6; }
15853 if ${wine_cv_have_sigaddset+:} false; then :
15854 $as_echo_n "(cached) " >&6
15855 else
15856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15857 /* end confdefs.h. */
15858 #include <signal.h>
15860 main ()
15862 sigset_t set; sigaddset(&set,SIGTERM);
15864 return 0;
15866 _ACEOF
15867 if ac_fn_c_try_link "$LINENO"; then :
15868 wine_cv_have_sigaddset=yes
15869 else
15870 wine_cv_have_sigaddset=no
15872 rm -f core conftest.err conftest.$ac_objext \
15873 conftest$ac_exeext conftest.$ac_ext
15875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15876 $as_echo "$wine_cv_have_sigaddset" >&6; }
15877 if test "$wine_cv_have_sigaddset" = "yes"
15878 then
15880 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15886 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15887 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15888 $as_echo_n "(cached) " >&6
15889 else
15890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h. */
15892 #include <netdb.h>
15894 main ()
15897 char *name=0;
15898 struct hostent he;
15899 struct hostent *result;
15900 char *buf=0;
15901 int bufsize=0;
15902 int errnr;
15903 char *addr=0;
15904 int addrlen=0;
15905 int addrtype=0;
15906 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15907 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15910 return 0;
15912 _ACEOF
15913 if ac_fn_c_try_link "$LINENO"; then :
15914 wine_cv_linux_gethostbyname_r_6=yes
15915 else
15916 wine_cv_linux_gethostbyname_r_6=no
15919 rm -f core conftest.err conftest.$ac_objext \
15920 conftest$ac_exeext conftest.$ac_ext
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15924 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15925 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15926 then
15928 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15932 if test "$ac_cv_header_linux_joystick_h" = "yes"
15933 then
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15935 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15936 if ${wine_cv_linux_joystick_22_api+:} false; then :
15937 $as_echo_n "(cached) " >&6
15938 else
15939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15940 /* end confdefs.h. */
15942 #include <sys/ioctl.h>
15943 #include <sys/types.h>
15944 #include <linux/joystick.h>
15946 struct js_event blub;
15947 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15948 #error "no 2.2 header"
15949 #endif
15952 main ()
15954 /*empty*/
15956 return 0;
15958 _ACEOF
15959 if ac_fn_c_try_compile "$LINENO"; then :
15960 wine_cv_linux_joystick_22_api=yes
15961 else
15962 wine_cv_linux_joystick_22_api=no
15964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15968 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15969 if test "$wine_cv_linux_joystick_22_api" = "yes"
15970 then
15972 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15978 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15979 #ifdef HAVE_SYS_PARAM_H
15980 # include <sys/param.h>
15981 #endif
15982 #ifdef HAVE_SYS_MOUNT_H
15983 # include <sys/mount.h>
15984 #endif
15985 #ifdef HAVE_SYS_VFS_H
15986 # include <sys/vfs.h>
15987 #endif
15988 #ifdef HAVE_SYS_STATFS_H
15989 # include <sys/statfs.h>
15990 #endif
15992 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15994 cat >>confdefs.h <<_ACEOF
15995 #define HAVE_STRUCT_STATFS_F_BFREE 1
15996 _ACEOF
16000 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16001 #ifdef HAVE_SYS_PARAM_H
16002 # include <sys/param.h>
16003 #endif
16004 #ifdef HAVE_SYS_MOUNT_H
16005 # include <sys/mount.h>
16006 #endif
16007 #ifdef HAVE_SYS_VFS_H
16008 # include <sys/vfs.h>
16009 #endif
16010 #ifdef HAVE_SYS_STATFS_H
16011 # include <sys/statfs.h>
16012 #endif
16014 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16016 cat >>confdefs.h <<_ACEOF
16017 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16018 _ACEOF
16022 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16023 #ifdef HAVE_SYS_PARAM_H
16024 # include <sys/param.h>
16025 #endif
16026 #ifdef HAVE_SYS_MOUNT_H
16027 # include <sys/mount.h>
16028 #endif
16029 #ifdef HAVE_SYS_VFS_H
16030 # include <sys/vfs.h>
16031 #endif
16032 #ifdef HAVE_SYS_STATFS_H
16033 # include <sys/statfs.h>
16034 #endif
16036 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16038 cat >>confdefs.h <<_ACEOF
16039 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16040 _ACEOF
16044 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16045 #ifdef HAVE_SYS_PARAM_H
16046 # include <sys/param.h>
16047 #endif
16048 #ifdef HAVE_SYS_MOUNT_H
16049 # include <sys/mount.h>
16050 #endif
16051 #ifdef HAVE_SYS_VFS_H
16052 # include <sys/vfs.h>
16053 #endif
16054 #ifdef HAVE_SYS_STATFS_H
16055 # include <sys/statfs.h>
16056 #endif
16058 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16060 cat >>confdefs.h <<_ACEOF
16061 #define HAVE_STRUCT_STATFS_F_FFREE 1
16062 _ACEOF
16066 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16067 #ifdef HAVE_SYS_PARAM_H
16068 # include <sys/param.h>
16069 #endif
16070 #ifdef HAVE_SYS_MOUNT_H
16071 # include <sys/mount.h>
16072 #endif
16073 #ifdef HAVE_SYS_VFS_H
16074 # include <sys/vfs.h>
16075 #endif
16076 #ifdef HAVE_SYS_STATFS_H
16077 # include <sys/statfs.h>
16078 #endif
16080 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16082 cat >>confdefs.h <<_ACEOF
16083 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16084 _ACEOF
16088 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16089 #ifdef HAVE_SYS_PARAM_H
16090 # include <sys/param.h>
16091 #endif
16092 #ifdef HAVE_SYS_MOUNT_H
16093 # include <sys/mount.h>
16094 #endif
16095 #ifdef HAVE_SYS_VFS_H
16096 # include <sys/vfs.h>
16097 #endif
16098 #ifdef HAVE_SYS_STATFS_H
16099 # include <sys/statfs.h>
16100 #endif
16102 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16104 cat >>confdefs.h <<_ACEOF
16105 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16106 _ACEOF
16112 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16113 #include <sys/statvfs.h>
16114 #endif
16116 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16118 cat >>confdefs.h <<_ACEOF
16119 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16120 _ACEOF
16126 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16127 #include <dirent.h>
16128 #endif
16130 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16132 cat >>confdefs.h <<_ACEOF
16133 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16134 _ACEOF
16140 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16141 #ifdef HAVE_SYS_SOCKET_H
16142 # include <sys/socket.h>
16143 #endif
16144 #ifdef HAVE_SYS_UN_H
16145 # include <sys/un.h>
16146 #endif
16148 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16150 cat >>confdefs.h <<_ACEOF
16151 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16152 _ACEOF
16156 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16157 #ifdef HAVE_SYS_SOCKET_H
16158 # include <sys/socket.h>
16159 #endif
16160 #ifdef HAVE_SYS_UN_H
16161 # include <sys/un.h>
16162 #endif
16164 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16166 cat >>confdefs.h <<_ACEOF
16167 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16168 _ACEOF
16172 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16173 #ifdef HAVE_SYS_SOCKET_H
16174 # include <sys/socket.h>
16175 #endif
16176 #ifdef HAVE_SYS_UN_H
16177 # include <sys/un.h>
16178 #endif
16180 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16182 cat >>confdefs.h <<_ACEOF
16183 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16184 _ACEOF
16190 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16191 #ifdef HAVE_SCSI_SG_H
16192 #include <scsi/sg.h>
16193 #endif
16195 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16197 cat >>confdefs.h <<_ACEOF
16198 #define HAVE_SCSIREQ_T_CMD 1
16199 _ACEOF
16203 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>
16204 #ifdef HAVE_SCSI_SG_H
16205 #include <scsi/sg.h>
16206 #endif
16208 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16210 cat >>confdefs.h <<_ACEOF
16211 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16212 _ACEOF
16218 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16220 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16222 cat >>confdefs.h <<_ACEOF
16223 #define HAVE_SIGINFO_T_SI_FD 1
16224 _ACEOF
16230 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16231 #ifdef HAVE_SYS_MTIO_H
16232 #include <sys/mtio.h>
16233 #endif
16235 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16237 cat >>confdefs.h <<_ACEOF
16238 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16239 _ACEOF
16243 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16244 #ifdef HAVE_SYS_MTIO_H
16245 #include <sys/mtio.h>
16246 #endif
16248 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16250 cat >>confdefs.h <<_ACEOF
16251 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16252 _ACEOF
16256 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16257 #ifdef HAVE_SYS_MTIO_H
16258 #include <sys/mtio.h>
16259 #endif
16261 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16263 cat >>confdefs.h <<_ACEOF
16264 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16265 _ACEOF
16271 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16272 #include <getopt.h>
16273 #endif
16275 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16277 cat >>confdefs.h <<_ACEOF
16278 #define HAVE_STRUCT_OPTION_NAME 1
16279 _ACEOF
16285 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16286 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16288 cat >>confdefs.h <<_ACEOF
16289 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16290 _ACEOF
16294 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16295 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16297 cat >>confdefs.h <<_ACEOF
16298 #define HAVE_STRUCT_STAT_ST_MTIM 1
16299 _ACEOF
16303 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16304 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16306 cat >>confdefs.h <<_ACEOF
16307 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16308 _ACEOF
16312 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16313 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16315 cat >>confdefs.h <<_ACEOF
16316 #define HAVE_STRUCT_STAT_ST_CTIM 1
16317 _ACEOF
16321 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16322 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16324 cat >>confdefs.h <<_ACEOF
16325 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16326 _ACEOF
16330 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16331 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16333 cat >>confdefs.h <<_ACEOF
16334 #define HAVE_STRUCT_STAT_ST_ATIM 1
16335 _ACEOF
16339 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16340 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16342 cat >>confdefs.h <<_ACEOF
16343 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16344 _ACEOF
16348 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16349 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16351 cat >>confdefs.h <<_ACEOF
16352 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16353 _ACEOF
16357 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16358 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16360 cat >>confdefs.h <<_ACEOF
16361 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16362 _ACEOF
16366 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16367 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16369 cat >>confdefs.h <<_ACEOF
16370 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16371 _ACEOF
16375 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16376 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16378 cat >>confdefs.h <<_ACEOF
16379 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16380 _ACEOF
16384 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16385 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16387 cat >>confdefs.h <<_ACEOF
16388 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16389 _ACEOF
16395 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
16396 #include <sys/types.h>
16397 #endif
16398 #ifdef HAVE_NETINET_IN_H
16399 #include <netinet/in.h>
16400 #endif
16402 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16404 cat >>confdefs.h <<_ACEOF
16405 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16406 _ACEOF
16412 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16413 #include <resolv.h>
16414 #endif
16416 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16418 cat >>confdefs.h <<_ACEOF
16419 #define HAVE_STRUCT___RES_STATE 1
16420 _ACEOF
16426 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
16427 #include <resolv.h>
16428 #endif
16430 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16432 cat >>confdefs.h <<_ACEOF
16433 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16434 _ACEOF
16440 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16441 #include <sys/types.h>
16442 #endif
16443 #ifdef HAVE_NETINET_IN_H
16444 # include <netinet/in.h>
16445 #endif
16446 #ifdef HAVE_ARPA_NAMESER_H
16447 # include <arpa/nameser.h>
16448 #endif
16450 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16452 cat >>confdefs.h <<_ACEOF
16453 #define HAVE_NS_MSG__MSG_PTR 1
16454 _ACEOF
16460 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16461 #include <sys/types.h>
16462 #endif
16463 #ifdef HAVE_NETINET_IP_H
16464 #include <netinet/ip.h>
16465 #endif
16466 #ifdef HAVE_NETINET_IP_ICMP_H
16467 #include <netinet/ip_icmp.h>
16468 #endif
16469 #ifdef HAVE_NETINET_ICMP_VAR_H
16470 #include <netinet/icmp_var.h>
16471 #endif
16473 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16475 cat >>confdefs.h <<_ACEOF
16476 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16477 _ACEOF
16483 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16484 #include <sys/types.h>
16485 #endif
16486 #ifdef HAVE_ALIAS_H
16487 #include <alias.h>
16488 #endif
16489 #ifdef HAVE_SYS_SOCKET_H
16490 #include <sys/socket.h>
16491 #endif
16492 #ifdef HAVE_SYS_SOCKETVAR_H
16493 #include <sys/socketvar.h>
16494 #endif
16495 #ifdef HAVE_SYS_TIMEOUT_H
16496 #include <sys/timeout.h>
16497 #endif
16498 #ifdef HAVE_NETINET_IN_H
16499 #include <netinet/in.h>
16500 #endif
16501 #ifdef HAVE_NETINET_IN_SYSTM_H
16502 #include <netinet/in_systm.h>
16503 #endif
16504 #ifdef HAVE_NETINET_IP_H
16505 #include <netinet/ip.h>
16506 #endif
16507 #ifdef HAVE_NETINET_IP_VAR_H
16508 #include <netinet/ip_var.h>
16509 #endif
16510 #ifdef HAVE_NETINET_IP_ICMP_H
16511 #include <netinet/ip_icmp.h>
16512 #endif
16513 #ifdef HAVE_NETINET_ICMP_VAR_H
16514 #include <netinet/icmp_var.h>
16515 #endif
16517 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16519 cat >>confdefs.h <<_ACEOF
16520 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16521 _ACEOF
16527 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16528 #include <sys/types.h>
16529 #endif
16530 #ifdef HAVE_SYS_SOCKETVAR_H
16531 #include <sys/socketvar.h>
16532 #endif
16533 #ifdef HAVE_NETINET_IN_H
16534 #include <netinet/in.h>
16535 #endif
16536 #ifdef HAVE_NETINET_IP_VAR_H
16537 #include <netinet/ip_var.h>
16538 #endif
16540 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16542 cat >>confdefs.h <<_ACEOF
16543 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16544 _ACEOF
16550 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
16551 #include <netinet/ip_var.h>
16552 #endif
16554 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16556 cat >>confdefs.h <<_ACEOF
16557 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16558 _ACEOF
16564 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16565 #include <sys/types.h>
16566 #endif
16567 #ifdef HAVE_SYS_SOCKETVAR_H
16568 #include <sys/socketvar.h>
16569 #endif
16570 #ifdef HAVE_NETINET_IN_H
16571 #include <netinet/in.h>
16572 #endif
16573 #ifdef HAVE_NETINET_TCP_H
16574 #include <netinet/tcp.h>
16575 #endif
16576 #ifdef HAVE_NETINET_TCP_VAR_H
16577 #include <netinet/tcp_var.h>
16578 #endif
16580 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16582 cat >>confdefs.h <<_ACEOF
16583 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16584 _ACEOF
16590 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
16591 #include <netinet/tcp_var.h>
16592 #endif
16594 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16596 cat >>confdefs.h <<_ACEOF
16597 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16598 _ACEOF
16604 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16605 #include <sys/types.h>
16606 #endif
16607 #ifdef HAVE_NETINET_IN_H
16608 #include <netinet/in.h>
16609 #endif
16610 #ifdef HAVE_NETINET_IP_VAR_H
16611 #include <netinet/ip_var.h>
16612 #endif
16613 #ifdef HAVE_NETINET_UDP_H
16614 #include <netinet/udp.h>
16615 #endif
16616 #ifdef HAVE_NETINET_UDP_VAR_H
16617 #include <netinet/udp_var.h>
16618 #endif
16620 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16622 cat >>confdefs.h <<_ACEOF
16623 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16624 _ACEOF
16630 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16631 #include <sys/types.h>
16632 #endif
16633 #ifdef HAVE_NET_IF_H
16634 # include <net/if.h>
16635 #endif
16637 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16639 cat >>confdefs.h <<_ACEOF
16640 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16641 _ACEOF
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16648 $as_echo_n "checking for timezone variable... " >&6; }
16649 if ${ac_cv_have_timezone+:} false; then :
16650 $as_echo_n "(cached) " >&6
16651 else
16652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16653 /* end confdefs.h. */
16654 #include <time.h>
16656 main ()
16658 timezone = 1
16660 return 0;
16662 _ACEOF
16663 if ac_fn_c_try_link "$LINENO"; then :
16664 ac_cv_have_timezone="yes"
16665 else
16666 ac_cv_have_timezone="no"
16668 rm -f core conftest.err conftest.$ac_objext \
16669 conftest$ac_exeext conftest.$ac_ext
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16672 $as_echo "$ac_cv_have_timezone" >&6; }
16673 if test "$ac_cv_have_timezone" = "yes"
16674 then
16676 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16680 $as_echo_n "checking for daylight variable... " >&6; }
16681 if ${ac_cv_have_daylight+:} false; then :
16682 $as_echo_n "(cached) " >&6
16683 else
16684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16685 /* end confdefs.h. */
16686 #include <time.h>
16688 main ()
16690 daylight = 1
16692 return 0;
16694 _ACEOF
16695 if ac_fn_c_try_link "$LINENO"; then :
16696 ac_cv_have_daylight="yes"
16697 else
16698 ac_cv_have_daylight="no"
16700 rm -f core conftest.err conftest.$ac_objext \
16701 conftest$ac_exeext conftest.$ac_ext
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16704 $as_echo "$ac_cv_have_daylight" >&6; }
16705 if test "$ac_cv_have_daylight" = "yes"
16706 then
16708 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16712 ac_save_LIBS="$LIBS"
16713 LIBS="$LIBS -lm"
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16715 $as_echo_n "checking for isfinite... " >&6; }
16716 if ${ac_cv_have_isfinite+:} false; then :
16717 $as_echo_n "(cached) " >&6
16718 else
16719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16720 /* end confdefs.h. */
16721 #define _GNU_SOURCE
16722 #include <math.h>
16724 main ()
16726 float f = 0.0; return isfinite(f)
16728 return 0;
16730 _ACEOF
16731 if ac_fn_c_try_link "$LINENO"; then :
16732 ac_cv_have_isfinite="yes"
16733 else
16734 ac_cv_have_isfinite="no"
16736 rm -f core conftest.err conftest.$ac_objext \
16737 conftest$ac_exeext conftest.$ac_ext
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16740 $as_echo "$ac_cv_have_isfinite" >&6; }
16741 if test "$ac_cv_have_isfinite" = "yes"
16742 then
16744 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16749 $as_echo_n "checking for isinf... " >&6; }
16750 if ${ac_cv_have_isinf+:} false; then :
16751 $as_echo_n "(cached) " >&6
16752 else
16753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16754 /* end confdefs.h. */
16755 #include <math.h>
16757 main ()
16759 float f = 0.0; return isinf(f)
16761 return 0;
16763 _ACEOF
16764 if ac_fn_c_try_link "$LINENO"; then :
16765 ac_cv_have_isinf="yes"
16766 else
16767 ac_cv_have_isinf="no"
16769 rm -f core conftest.err conftest.$ac_objext \
16770 conftest$ac_exeext conftest.$ac_ext
16772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16773 $as_echo "$ac_cv_have_isinf" >&6; }
16774 if test "$ac_cv_have_isinf" = "yes"
16775 then
16777 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16782 $as_echo_n "checking for isnan... " >&6; }
16783 if ${ac_cv_have_isnan+:} false; then :
16784 $as_echo_n "(cached) " >&6
16785 else
16786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16787 /* end confdefs.h. */
16788 #include <math.h>
16790 main ()
16792 float f = 0.0; return isnan(f)
16794 return 0;
16796 _ACEOF
16797 if ac_fn_c_try_link "$LINENO"; then :
16798 ac_cv_have_isnan="yes"
16799 else
16800 ac_cv_have_isnan="no"
16802 rm -f core conftest.err conftest.$ac_objext \
16803 conftest$ac_exeext conftest.$ac_ext
16805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16806 $as_echo "$ac_cv_have_isnan" >&6; }
16807 if test "$ac_cv_have_isnan" = "yes"
16808 then
16810 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16814 for ac_func in \
16815 cbrt \
16816 cbrtf \
16817 erf \
16818 erff \
16819 exp2 \
16820 exp2f \
16821 llrint \
16822 llrintf \
16823 llround \
16824 llroundf \
16825 log2 \
16826 log2f \
16827 lrint \
16828 lrintf \
16829 lround \
16830 lroundf \
16831 rint \
16832 rintf \
16833 round \
16834 roundf \
16835 trunc \
16836 truncf
16838 do :
16839 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16840 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16841 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16842 cat >>confdefs.h <<_ACEOF
16843 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16844 _ACEOF
16847 done
16849 LIBS="$ac_save_LIBS"
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16852 $as_echo_n "checking for __builtin_clz... " >&6; }
16853 if ${ac_cv_have___builtin_clz+:} false; then :
16854 $as_echo_n "(cached) " >&6
16855 else
16856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16857 /* end confdefs.h. */
16860 main ()
16862 return __builtin_clz(1)
16864 return 0;
16866 _ACEOF
16867 if ac_fn_c_try_link "$LINENO"; then :
16868 ac_cv_have___builtin_clz="yes"
16869 else
16870 ac_cv_have___builtin_clz="no"
16872 rm -f core conftest.err conftest.$ac_objext \
16873 conftest$ac_exeext conftest.$ac_ext
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16876 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16877 if test "$ac_cv_have___builtin_clz" = "yes"
16878 then
16880 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16885 case $host_cpu in
16886 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16887 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16888 if ${ac_cv_cpp_def___i386__+:} false; then :
16889 $as_echo_n "(cached) " >&6
16890 else
16891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16892 /* end confdefs.h. */
16893 #ifndef __i386__
16895 #endif
16896 _ACEOF
16897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16898 $EGREP "yes" >/dev/null 2>&1; then :
16899 ac_cv_cpp_def___i386__=yes
16900 else
16901 ac_cv_cpp_def___i386__=no
16903 rm -f conftest*
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16907 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16908 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16909 CFLAGS="$CFLAGS -D__i386__"
16910 LINTFLAGS="$LINTFLAGS -D__i386__"
16911 fi ;;
16912 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16913 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16914 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16915 $as_echo_n "(cached) " >&6
16916 else
16917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16918 /* end confdefs.h. */
16919 #ifndef __x86_64__
16921 #endif
16922 _ACEOF
16923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16924 $EGREP "yes" >/dev/null 2>&1; then :
16925 ac_cv_cpp_def___x86_64__=yes
16926 else
16927 ac_cv_cpp_def___x86_64__=no
16929 rm -f conftest*
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16933 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16934 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16935 CFLAGS="$CFLAGS -D__x86_64__"
16936 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16937 fi ;;
16938 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16939 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16940 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16941 $as_echo_n "(cached) " >&6
16942 else
16943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16944 /* end confdefs.h. */
16945 #ifndef __sparc64__
16947 #endif
16948 _ACEOF
16949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16950 $EGREP "yes" >/dev/null 2>&1; then :
16951 ac_cv_cpp_def___sparc64__=yes
16952 else
16953 ac_cv_cpp_def___sparc64__=no
16955 rm -f conftest*
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16959 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16960 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16961 CFLAGS="$CFLAGS -D__sparc64__"
16962 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16963 fi ;;
16964 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16965 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16966 if ${ac_cv_cpp_def___sparc__+:} false; then :
16967 $as_echo_n "(cached) " >&6
16968 else
16969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16970 /* end confdefs.h. */
16971 #ifndef __sparc__
16973 #endif
16974 _ACEOF
16975 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16976 $EGREP "yes" >/dev/null 2>&1; then :
16977 ac_cv_cpp_def___sparc__=yes
16978 else
16979 ac_cv_cpp_def___sparc__=no
16981 rm -f conftest*
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16985 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16986 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16987 CFLAGS="$CFLAGS -D__sparc__"
16988 LINTFLAGS="$LINTFLAGS -D__sparc__"
16989 fi ;;
16990 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16991 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16992 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16993 $as_echo_n "(cached) " >&6
16994 else
16995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16996 /* end confdefs.h. */
16997 #ifndef __powerpc64__
16999 #endif
17000 _ACEOF
17001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17002 $EGREP "yes" >/dev/null 2>&1; then :
17003 ac_cv_cpp_def___powerpc64__=yes
17004 else
17005 ac_cv_cpp_def___powerpc64__=no
17007 rm -f conftest*
17010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17011 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17012 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17013 CFLAGS="$CFLAGS -D__powerpc64__"
17014 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17015 fi ;;
17016 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17017 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17018 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17019 $as_echo_n "(cached) " >&6
17020 else
17021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17022 /* end confdefs.h. */
17023 #ifndef __powerpc__
17025 #endif
17026 _ACEOF
17027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17028 $EGREP "yes" >/dev/null 2>&1; then :
17029 ac_cv_cpp_def___powerpc__=yes
17030 else
17031 ac_cv_cpp_def___powerpc__=no
17033 rm -f conftest*
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17037 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17038 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17039 CFLAGS="$CFLAGS -D__powerpc__"
17040 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17041 fi ;;
17042 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17043 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17044 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17045 $as_echo_n "(cached) " >&6
17046 else
17047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17048 /* end confdefs.h. */
17049 #ifndef __aarch64__
17051 #endif
17052 _ACEOF
17053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17054 $EGREP "yes" >/dev/null 2>&1; then :
17055 ac_cv_cpp_def___aarch64__=yes
17056 else
17057 ac_cv_cpp_def___aarch64__=no
17059 rm -f conftest*
17062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17063 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17064 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17065 CFLAGS="$CFLAGS -D__aarch64__"
17066 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17067 fi ;;
17068 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17069 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17070 if ${ac_cv_cpp_def___arm__+:} false; then :
17071 $as_echo_n "(cached) " >&6
17072 else
17073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17075 #ifndef __arm__
17077 #endif
17078 _ACEOF
17079 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17080 $EGREP "yes" >/dev/null 2>&1; then :
17081 ac_cv_cpp_def___arm__=yes
17082 else
17083 ac_cv_cpp_def___arm__=no
17085 rm -f conftest*
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17089 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17090 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17091 CFLAGS="$CFLAGS -D__arm__"
17092 LINTFLAGS="$LINTFLAGS -D__arm__"
17093 fi ;;
17094 esac
17096 case $host_vendor in
17097 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17098 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17099 if ${ac_cv_cpp_def___sun__+:} false; then :
17100 $as_echo_n "(cached) " >&6
17101 else
17102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17103 /* end confdefs.h. */
17104 #ifndef __sun__
17106 #endif
17107 _ACEOF
17108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17109 $EGREP "yes" >/dev/null 2>&1; then :
17110 ac_cv_cpp_def___sun__=yes
17111 else
17112 ac_cv_cpp_def___sun__=no
17114 rm -f conftest*
17117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17118 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17119 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17120 CFLAGS="$CFLAGS -D__sun__"
17121 LINTFLAGS="$LINTFLAGS -D__sun__"
17122 fi ;;
17123 esac
17129 ac_config_commands="$ac_config_commands include/stamp-h"
17131 $as_echo_n "creating Makefile rules..." >&6
17133 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17134 SOCKET_LIBS = $SOCKET_LIBS
17135 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17136 IOKIT_LIBS = $IOKIT_LIBS
17137 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17138 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17139 CORESERVICES_LIBS = $CORESERVICES_LIBS
17140 APPKIT_LIBS = $APPKIT_LIBS
17141 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17142 SECURITY_LIBS = $SECURITY_LIBS
17143 COREAUDIO_LIBS = $COREAUDIO_LIBS
17144 OPENAL_LIBS = $OPENAL_LIBS
17145 OPENCL_LIBS = $OPENCL_LIBS
17146 QUICKTIME_LIBS = $QUICKTIME_LIBS
17147 CARBON_LIBS = $CARBON_LIBS
17148 PTHREAD_LIBS = $PTHREAD_LIBS
17149 X_CFLAGS = $X_CFLAGS
17150 X_PRE_LIBS = $X_PRE_LIBS
17151 X_LIBS = $X_LIBS
17152 X_EXTRA_LIBS = $X_EXTRA_LIBS
17153 PCAP_LIBS = $PCAP_LIBS
17154 XML2_CFLAGS = $XML2_CFLAGS
17155 XML2_LIBS = $XML2_LIBS
17156 XSLT_CFLAGS = $XSLT_CFLAGS
17157 XSLT_LIBS = $XSLT_LIBS
17158 DBUS_CFLAGS = $DBUS_CFLAGS
17159 DBUS_LIBS = $DBUS_LIBS
17160 HAL_CFLAGS = $HAL_CFLAGS
17161 HAL_LIBS = $HAL_LIBS
17162 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17163 GNUTLS_LIBS = $GNUTLS_LIBS
17164 SANE_CFLAGS = $SANE_CFLAGS
17165 SANE_LIBS = $SANE_LIBS
17166 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17167 GPHOTO2_LIBS = $GPHOTO2_LIBS
17168 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17169 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17170 RESOLV_LIBS = $RESOLV_LIBS
17171 LCMS2_CFLAGS = $LCMS2_CFLAGS
17172 LCMS2_LIBS = $LCMS2_LIBS
17173 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17174 FREETYPE_LIBS = $FREETYPE_LIBS
17175 Z_LIBS = $Z_LIBS
17176 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17177 PULSE_CFLAGS = $PULSE_CFLAGS
17178 PULSE_LIBS = $PULSE_LIBS
17179 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17180 GSTREAMER_LIBS = $GSTREAMER_LIBS
17181 ALSA_LIBS = $ALSA_LIBS
17182 OSS4_CFLAGS = $OSS4_CFLAGS
17183 CAPI20_CFLAGS = $CAPI20_CFLAGS
17184 CAPI20_LIBS = $CAPI20_LIBS
17185 CUPS_CFLAGS = $CUPS_CFLAGS
17186 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17187 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17188 JPEG_CFLAGS = $JPEG_CFLAGS
17189 JPEG_LIBS = $JPEG_LIBS
17190 PNG_CFLAGS = $PNG_CFLAGS
17191 PNG_LIBS = $PNG_LIBS
17192 TIFF_CFLAGS = $TIFF_CFLAGS
17193 TIFF_LIBS = $TIFF_LIBS
17194 MPG123_CFLAGS = $MPG123_CFLAGS
17195 MPG123_LIBS = $MPG123_LIBS
17196 KSTAT_LIBS = $KSTAT_LIBS
17197 PROCSTAT_LIBS = $PROCSTAT_LIBS
17198 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17199 DL_LIBS = $DL_LIBS
17200 POLL_LIBS = $POLL_LIBS
17201 RT_LIBS = $RT_LIBS
17202 LDAP_LIBS = $LDAP_LIBS
17207 wine_fn_append_rule "
17208 # Rules automatically generated by configure
17210 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17212 .INIT: Makefile
17213 .MAKEFILEDEPS:
17214 all: Makefile
17215 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17216 @./config.status Make.tmp Makefile
17217 depend: \$(MAKEDEP) dummy
17218 \$(MAKEDEP)"
17220 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
17221 .gitignore: config.status
17222 @./config.status .gitignore"
17224 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17225 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17227 if test "x$enable_fonts" != xno; then
17228 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17229 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17230 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17231 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17232 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17233 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17235 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17236 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17237 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17238 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17239 ac_config_links="$ac_config_links wine:tools/winewrapper"
17240 wine_fn_config_symlink wine
17241 if test "x$enable_win64" != xno; then
17242 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17243 wine_fn_config_symlink wine64
17246 wine_fn_config_dll acledit enable_acledit
17247 wine_fn_config_dll aclui enable_aclui implib
17248 wine_fn_config_dll activeds enable_activeds implib
17249 wine_fn_config_dll actxprxy enable_actxprxy clean
17250 wine_fn_config_lib adsiid
17251 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17252 wine_fn_config_test dlls/advapi32/tests advapi32_test
17253 wine_fn_config_dll advpack enable_advpack implib
17254 wine_fn_config_test dlls/advpack/tests advpack_test
17255 wine_fn_config_dll amstream enable_amstream clean
17256 wine_fn_config_test dlls/amstream/tests amstream_test
17257 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17258 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17259 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17260 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17261 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17262 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17263 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17264 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17265 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17266 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17267 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17268 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17269 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17270 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17271 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17272 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17273 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17274 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17275 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17276 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17277 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17278 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17279 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17280 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17281 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17282 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17283 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17284 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17285 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17286 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17287 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17288 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17289 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17290 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17291 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17292 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17293 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17294 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17295 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17296 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17297 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17298 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17299 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17300 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17301 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17302 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17303 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17304 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17305 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17306 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17307 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17308 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17309 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17310 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17311 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17312 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17313 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17314 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17315 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17316 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17317 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17318 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17319 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17320 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17321 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17322 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17323 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17324 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17325 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17326 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17327 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17328 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17329 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17330 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17331 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17332 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17333 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17334 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17335 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17336 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17337 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17338 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17339 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17340 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17341 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17342 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17343 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17344 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17345 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17346 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17347 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17348 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17349 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17350 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17351 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17352 wine_fn_config_dll apphelp enable_apphelp
17353 wine_fn_config_test dlls/apphelp/tests apphelp_test
17354 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17355 wine_fn_config_dll atl enable_atl clean,implib
17356 wine_fn_config_test dlls/atl/tests atl_test
17357 wine_fn_config_dll atl100 enable_atl100 clean,implib
17358 wine_fn_config_test dlls/atl100/tests atl100_test
17359 wine_fn_config_dll atl110 enable_atl110 clean
17360 wine_fn_config_dll atl80 enable_atl80 clean,implib
17361 wine_fn_config_test dlls/atl80/tests atl80_test
17362 wine_fn_config_dll atl90 enable_atl90 clean
17363 wine_fn_config_dll authz enable_authz
17364 wine_fn_config_dll avicap32 enable_avicap32 implib
17365 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17366 wine_fn_config_test dlls/avifil32/tests avifil32_test
17367 wine_fn_config_dll avifile.dll16 enable_win16
17368 wine_fn_config_dll avrt enable_avrt implib
17369 wine_fn_config_dll bcrypt enable_bcrypt implib
17370 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17371 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17372 wine_fn_config_dll browseui enable_browseui clean,po
17373 wine_fn_config_test dlls/browseui/tests browseui_test
17374 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17375 wine_fn_config_dll cabinet enable_cabinet implib
17376 wine_fn_config_test dlls/cabinet/tests cabinet_test
17377 wine_fn_config_dll capi2032 enable_capi2032 implib
17378 wine_fn_config_dll cards enable_cards implib
17379 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17380 wine_fn_config_dll clusapi enable_clusapi implib
17381 wine_fn_config_dll combase enable_combase
17382 wine_fn_config_test dlls/combase/tests combase_test
17383 wine_fn_config_dll comcat enable_comcat
17384 wine_fn_config_test dlls/comcat/tests comcat_test
17385 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17386 wine_fn_config_test dlls/comctl32/tests comctl32_test
17387 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17388 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17389 wine_fn_config_dll comm.drv16 enable_win16
17390 wine_fn_config_dll commdlg.dll16 enable_win16
17391 wine_fn_config_dll compobj.dll16 enable_win16
17392 wine_fn_config_dll compstui enable_compstui implib
17393 wine_fn_config_dll comsvcs enable_comsvcs implib
17394 wine_fn_config_dll connect enable_connect
17395 wine_fn_config_dll credui enable_credui implib,po
17396 wine_fn_config_test dlls/credui/tests credui_test
17397 wine_fn_config_dll crtdll enable_crtdll implib
17398 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17399 wine_fn_config_test dlls/crypt32/tests crypt32_test
17400 wine_fn_config_dll cryptdlg enable_cryptdlg po
17401 wine_fn_config_dll cryptdll enable_cryptdll implib
17402 wine_fn_config_dll cryptext enable_cryptext
17403 wine_fn_config_dll cryptnet enable_cryptnet implib
17404 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17405 wine_fn_config_dll cryptui enable_cryptui implib,po
17406 wine_fn_config_test dlls/cryptui/tests cryptui_test
17407 wine_fn_config_dll ctapi32 enable_ctapi32
17408 wine_fn_config_dll ctl3d.dll16 enable_win16
17409 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17410 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17411 wine_fn_config_dll d2d1 enable_d2d1 implib
17412 wine_fn_config_test dlls/d2d1/tests d2d1_test
17413 wine_fn_config_dll d3d10 enable_d3d10 implib
17414 wine_fn_config_test dlls/d3d10/tests d3d10_test
17415 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17416 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17417 wine_fn_config_dll d3d10core enable_d3d10core implib
17418 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17419 wine_fn_config_dll d3d11 enable_d3d11 implib
17420 wine_fn_config_test dlls/d3d11/tests d3d11_test
17421 wine_fn_config_dll d3d8 enable_d3d8 implib
17422 wine_fn_config_test dlls/d3d8/tests d3d8_test
17423 wine_fn_config_dll d3d9 enable_d3d9 implib
17424 wine_fn_config_test dlls/d3d9/tests d3d9_test
17425 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17426 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17427 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17428 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17429 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17430 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17431 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17432 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17433 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17434 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17435 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17436 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17437 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17438 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17439 wine_fn_config_dll d3dim enable_d3dim implib
17440 wine_fn_config_dll d3drm enable_d3drm implib
17441 wine_fn_config_test dlls/d3drm/tests d3drm_test
17442 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17443 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17444 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17445 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17446 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17447 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17448 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17449 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17450 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17451 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17452 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17453 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17454 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17455 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17456 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17457 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17458 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17459 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17460 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17461 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17462 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17463 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17464 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17465 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17466 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17467 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17468 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17469 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17470 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17471 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17472 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17473 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17474 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17475 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17476 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17477 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17478 wine_fn_config_dll davclnt enable_davclnt
17479 wine_fn_config_dll dbgeng enable_dbgeng implib
17480 wine_fn_config_dll dbghelp enable_dbghelp implib
17481 wine_fn_config_dll dciman32 enable_dciman32 implib
17482 wine_fn_config_dll ddeml.dll16 enable_win16
17483 wine_fn_config_dll ddraw enable_ddraw clean,implib
17484 wine_fn_config_test dlls/ddraw/tests ddraw_test
17485 wine_fn_config_dll ddrawex enable_ddrawex clean
17486 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17487 wine_fn_config_dll devenum enable_devenum clean,po
17488 wine_fn_config_test dlls/devenum/tests devenum_test
17489 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17490 wine_fn_config_dll difxapi enable_difxapi
17491 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17492 wine_fn_config_test dlls/dinput/tests dinput_test
17493 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17494 wine_fn_config_test dlls/dinput8/tests dinput8_test
17495 wine_fn_config_dll dispdib.dll16 enable_win16
17496 wine_fn_config_dll dispex enable_dispex clean
17497 wine_fn_config_test dlls/dispex/tests dispex_test
17498 wine_fn_config_dll display.drv16 enable_win16
17499 wine_fn_config_dll dmband enable_dmband clean
17500 wine_fn_config_test dlls/dmband/tests dmband_test
17501 wine_fn_config_dll dmcompos enable_dmcompos clean
17502 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17503 wine_fn_config_dll dmime enable_dmime clean
17504 wine_fn_config_test dlls/dmime/tests dmime_test
17505 wine_fn_config_dll dmloader enable_dmloader clean
17506 wine_fn_config_test dlls/dmloader/tests dmloader_test
17507 wine_fn_config_dll dmscript enable_dmscript clean
17508 wine_fn_config_test dlls/dmscript/tests dmscript_test
17509 wine_fn_config_dll dmstyle enable_dmstyle clean
17510 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17511 wine_fn_config_dll dmsynth enable_dmsynth clean
17512 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17513 wine_fn_config_dll dmusic enable_dmusic clean
17514 wine_fn_config_test dlls/dmusic/tests dmusic_test
17515 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17516 wine_fn_config_dll dnsapi enable_dnsapi implib
17517 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17518 wine_fn_config_dll dplay enable_dplay implib
17519 wine_fn_config_dll dplayx enable_dplayx clean,implib
17520 wine_fn_config_test dlls/dplayx/tests dplayx_test
17521 wine_fn_config_dll dpnaddr enable_dpnaddr
17522 wine_fn_config_dll dpnet enable_dpnet clean,implib
17523 wine_fn_config_test dlls/dpnet/tests dpnet_test
17524 wine_fn_config_dll dpnhpast enable_dpnhpast
17525 wine_fn_config_dll dpnlobby enable_dpnlobby
17526 wine_fn_config_dll dpvoice enable_dpvoice clean
17527 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17528 wine_fn_config_dll dpwsockx enable_dpwsockx
17529 wine_fn_config_dll drmclien enable_drmclien
17530 wine_fn_config_dll dsound enable_dsound clean,implib
17531 wine_fn_config_test dlls/dsound/tests dsound_test
17532 wine_fn_config_dll dssenh enable_dssenh
17533 wine_fn_config_test dlls/dssenh/tests dssenh_test
17534 wine_fn_config_dll dswave enable_dswave clean
17535 wine_fn_config_test dlls/dswave/tests dswave_test
17536 wine_fn_config_dll dwmapi enable_dwmapi implib
17537 wine_fn_config_dll dwrite enable_dwrite implib
17538 wine_fn_config_test dlls/dwrite/tests dwrite_test
17539 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17540 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17541 wine_fn_config_lib dxerr8
17542 wine_fn_config_lib dxerr9
17543 wine_fn_config_dll dxgi enable_dxgi implib
17544 wine_fn_config_test dlls/dxgi/tests dxgi_test
17545 wine_fn_config_lib dxguid
17546 wine_fn_config_dll dxva2 enable_dxva2
17547 wine_fn_config_dll esent enable_esent
17548 wine_fn_config_dll evr enable_evr
17549 wine_fn_config_dll explorerframe enable_explorerframe clean
17550 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17551 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17552 wine_fn_config_dll faultrep enable_faultrep implib
17553 wine_fn_config_test dlls/faultrep/tests faultrep_test
17554 wine_fn_config_dll fltlib enable_fltlib
17555 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17556 wine_fn_config_dll fntcache enable_fntcache
17557 wine_fn_config_dll fontsub enable_fontsub
17558 wine_fn_config_dll fusion enable_fusion
17559 wine_fn_config_test dlls/fusion/tests fusion_test
17560 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17561 wine_fn_config_dll gameux enable_gameux clean
17562 wine_fn_config_test dlls/gameux/tests gameux_test
17563 wine_fn_config_dll gdi.exe16 enable_win16
17564 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17565 wine_fn_config_test dlls/gdi32/tests gdi32_test
17566 wine_fn_config_dll gdiplus enable_gdiplus implib
17567 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17568 wine_fn_config_dll glu32 enable_glu32 implib
17569 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17570 wine_fn_config_dll gpkcsp enable_gpkcsp
17571 wine_fn_config_dll hal enable_hal
17572 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17573 wine_fn_config_dll hid enable_hid implib
17574 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17575 wine_fn_config_dll hlink enable_hlink clean,implib
17576 wine_fn_config_test dlls/hlink/tests hlink_test
17577 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17578 wine_fn_config_dll httpapi enable_httpapi
17579 wine_fn_config_dll iccvid enable_iccvid po
17580 wine_fn_config_dll icmp enable_icmp
17581 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17582 wine_fn_config_test dlls/ieframe/tests ieframe_test
17583 wine_fn_config_dll ifsmgr.vxd enable_win16
17584 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17585 wine_fn_config_dll imagehlp enable_imagehlp implib
17586 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17587 wine_fn_config_dll imm.dll16 enable_win16
17588 wine_fn_config_dll imm32 enable_imm32 implib
17589 wine_fn_config_test dlls/imm32/tests imm32_test
17590 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17591 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17592 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17593 wine_fn_config_dll inetmib1 enable_inetmib1
17594 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17595 wine_fn_config_dll infosoft enable_infosoft clean
17596 wine_fn_config_test dlls/infosoft/tests infosoft_test
17597 wine_fn_config_dll initpki enable_initpki
17598 wine_fn_config_dll inkobj enable_inkobj
17599 wine_fn_config_dll inseng enable_inseng clean
17600 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17601 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17602 wine_fn_config_dll itircl enable_itircl
17603 wine_fn_config_dll itss enable_itss clean
17604 wine_fn_config_test dlls/itss/tests itss_test
17605 wine_fn_config_dll joy.cpl enable_joy_cpl po
17606 wine_fn_config_dll jscript enable_jscript clean,po
17607 wine_fn_config_test dlls/jscript/tests jscript_test
17608 wine_fn_config_dll jsproxy enable_jsproxy implib
17609 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17610 wine_fn_config_test dlls/kernel32/tests kernel32_test
17611 wine_fn_config_dll keyboard.drv16 enable_win16
17612 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17613 wine_fn_config_dll ksuser enable_ksuser
17614 wine_fn_config_dll ktmw32 enable_ktmw32
17615 wine_fn_config_dll loadperf enable_loadperf implib
17616 wine_fn_config_dll localspl enable_localspl po
17617 wine_fn_config_test dlls/localspl/tests localspl_test
17618 wine_fn_config_dll localui enable_localui po
17619 wine_fn_config_test dlls/localui/tests localui_test
17620 wine_fn_config_dll lz32 enable_lz32 implib
17621 wine_fn_config_test dlls/lz32/tests lz32_test
17622 wine_fn_config_dll lzexpand.dll16 enable_win16
17623 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17624 wine_fn_config_test dlls/mapi32/tests mapi32_test
17625 wine_fn_config_dll mapistub enable_mapistub
17626 wine_fn_config_dll mciavi32 enable_mciavi32
17627 wine_fn_config_dll mcicda enable_mcicda
17628 wine_fn_config_dll mciqtz32 enable_mciqtz32
17629 wine_fn_config_dll mciseq enable_mciseq
17630 wine_fn_config_dll mciwave enable_mciwave
17631 wine_fn_config_dll mf enable_mf
17632 wine_fn_config_dll mfplat enable_mfplat
17633 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17634 wine_fn_config_dll mgmtapi enable_mgmtapi
17635 wine_fn_config_dll midimap enable_midimap
17636 wine_fn_config_dll mlang enable_mlang clean,implib
17637 wine_fn_config_test dlls/mlang/tests mlang_test
17638 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17639 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17640 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17641 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17642 wine_fn_config_dll mmdevldr.vxd enable_win16
17643 wine_fn_config_dll mmsystem.dll16 enable_win16
17644 wine_fn_config_dll monodebg.vxd enable_win16
17645 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17646 wine_fn_config_dll mouse.drv16 enable_win16
17647 wine_fn_config_dll mpr enable_mpr implib,po
17648 wine_fn_config_test dlls/mpr/tests mpr_test
17649 wine_fn_config_dll mprapi enable_mprapi implib
17650 wine_fn_config_dll msacm.dll16 enable_win16
17651 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17652 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17653 wine_fn_config_test dlls/msacm32/tests msacm32_test
17654 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17655 wine_fn_config_dll msasn1 enable_msasn1 implib
17656 wine_fn_config_dll mscat32 enable_mscat32
17657 wine_fn_config_dll mscms enable_mscms implib
17658 wine_fn_config_test dlls/mscms/tests mscms_test
17659 wine_fn_config_dll mscoree enable_mscoree clean
17660 wine_fn_config_test dlls/mscoree/tests mscoree_test
17661 wine_fn_config_dll msctf enable_msctf clean
17662 wine_fn_config_test dlls/msctf/tests msctf_test
17663 wine_fn_config_dll msctfp enable_msctfp clean
17664 wine_fn_config_dll msdaps enable_msdaps clean
17665 wine_fn_config_dll msdelta enable_msdelta
17666 wine_fn_config_dll msdmo enable_msdmo implib
17667 wine_fn_config_test dlls/msdmo/tests msdmo_test
17668 wine_fn_config_dll msftedit enable_msftedit
17669 wine_fn_config_dll msg711.acm enable_msg711_acm
17670 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17671 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17672 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17673 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17674 wine_fn_config_dll msi enable_msi clean,implib,po
17675 wine_fn_config_test dlls/msi/tests msi_test
17676 wine_fn_config_dll msident enable_msident clean
17677 wine_fn_config_dll msimg32 enable_msimg32 implib
17678 wine_fn_config_dll msimsg enable_msimsg
17679 wine_fn_config_dll msimtf enable_msimtf clean
17680 wine_fn_config_dll msisip enable_msisip
17681 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17682 wine_fn_config_dll msls31 enable_msls31
17683 wine_fn_config_dll msnet32 enable_msnet32
17684 wine_fn_config_dll mspatcha enable_mspatcha implib
17685 wine_fn_config_dll msrle32 enable_msrle32 po
17686 wine_fn_config_test dlls/msrle32/tests msrle32_test
17687 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17688 wine_fn_config_dll mssign32 enable_mssign32
17689 wine_fn_config_dll mssip32 enable_mssip32
17690 wine_fn_config_dll mstask enable_mstask clean
17691 wine_fn_config_test dlls/mstask/tests mstask_test
17692 wine_fn_config_dll msvcirt enable_msvcirt
17693 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17694 wine_fn_config_dll msvcm80 enable_msvcm80
17695 wine_fn_config_dll msvcm90 enable_msvcm90
17696 wine_fn_config_dll msvcp100 enable_msvcp100
17697 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17698 wine_fn_config_dll msvcp110 enable_msvcp110
17699 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17700 wine_fn_config_dll msvcp120 enable_msvcp120
17701 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17702 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17703 wine_fn_config_dll msvcp60 enable_msvcp60
17704 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17705 wine_fn_config_dll msvcp70 enable_msvcp70
17706 wine_fn_config_dll msvcp71 enable_msvcp71
17707 wine_fn_config_dll msvcp80 enable_msvcp80
17708 wine_fn_config_dll msvcp90 enable_msvcp90
17709 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17710 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17711 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17712 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17713 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17714 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17715 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17716 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17717 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17718 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17719 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17720 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17721 wine_fn_config_dll msvcrt enable_msvcrt implib
17722 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17723 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17724 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17725 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17726 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17727 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17728 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17729 wine_fn_config_dll msvidc32 enable_msvidc32 po
17730 wine_fn_config_dll msvideo.dll16 enable_win16
17731 wine_fn_config_dll mswsock enable_mswsock implib
17732 wine_fn_config_dll msxml enable_msxml clean
17733 wine_fn_config_dll msxml2 enable_msxml2 clean
17734 wine_fn_config_dll msxml3 enable_msxml3 clean
17735 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17736 wine_fn_config_dll msxml4 enable_msxml4 clean
17737 wine_fn_config_dll msxml6 enable_msxml6 clean
17738 wine_fn_config_dll nddeapi enable_nddeapi implib
17739 wine_fn_config_dll ndis.sys enable_ndis_sys
17740 wine_fn_config_dll netapi32 enable_netapi32 implib
17741 wine_fn_config_test dlls/netapi32/tests netapi32_test
17742 wine_fn_config_dll netcfgx enable_netcfgx clean
17743 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17744 wine_fn_config_dll netprofm enable_netprofm clean
17745 wine_fn_config_test dlls/netprofm/tests netprofm_test
17746 wine_fn_config_dll newdev enable_newdev implib
17747 wine_fn_config_dll normaliz enable_normaliz implib
17748 wine_fn_config_dll npmshtml enable_npmshtml
17749 wine_fn_config_dll npptools enable_npptools
17750 wine_fn_config_dll ntdll enable_ntdll implib
17751 wine_fn_config_test dlls/ntdll/tests ntdll_test
17752 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17753 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17754 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17755 wine_fn_config_dll ntprint enable_ntprint
17756 wine_fn_config_test dlls/ntprint/tests ntprint_test
17757 wine_fn_config_dll objsel enable_objsel clean
17758 wine_fn_config_dll odbc32 enable_odbc32 implib
17759 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17760 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17761 wine_fn_config_dll odbccu32 enable_odbccu32
17762 wine_fn_config_dll ole2.dll16 enable_win16
17763 wine_fn_config_dll ole2conv.dll16 enable_win16
17764 wine_fn_config_dll ole2disp.dll16 enable_win16
17765 wine_fn_config_dll ole2nls.dll16 enable_win16
17766 wine_fn_config_dll ole2prox.dll16 enable_win16
17767 wine_fn_config_dll ole2thk.dll16 enable_win16
17768 wine_fn_config_dll ole32 enable_ole32 clean,implib
17769 wine_fn_config_test dlls/ole32/tests ole32_test
17770 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17771 wine_fn_config_test dlls/oleacc/tests oleacc_test
17772 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17773 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17774 wine_fn_config_dll olecli.dll16 enable_win16
17775 wine_fn_config_dll olecli32 enable_olecli32 implib
17776 wine_fn_config_dll oledb32 enable_oledb32 clean
17777 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17778 wine_fn_config_dll oledlg enable_oledlg implib,po
17779 wine_fn_config_test dlls/oledlg/tests oledlg_test
17780 wine_fn_config_dll olepro32 enable_olepro32 implib
17781 wine_fn_config_dll olesvr.dll16 enable_win16
17782 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17783 wine_fn_config_dll olethk32 enable_olethk32
17784 wine_fn_config_dll openal32 enable_openal32
17785 wine_fn_config_dll opencl enable_opencl
17786 wine_fn_config_dll opengl32 enable_opengl32 implib
17787 wine_fn_config_test dlls/opengl32/tests opengl32_test
17788 wine_fn_config_dll packager enable_packager clean
17789 wine_fn_config_test dlls/packager/tests packager_test
17790 wine_fn_config_dll pdh enable_pdh implib
17791 wine_fn_config_test dlls/pdh/tests pdh_test
17792 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17793 wine_fn_config_dll pidgen enable_pidgen
17794 wine_fn_config_dll powrprof enable_powrprof implib
17795 wine_fn_config_dll printui enable_printui
17796 wine_fn_config_dll prntvpt enable_prntvpt
17797 wine_fn_config_dll propsys enable_propsys clean,implib
17798 wine_fn_config_test dlls/propsys/tests propsys_test
17799 wine_fn_config_dll psapi enable_psapi implib
17800 wine_fn_config_test dlls/psapi/tests psapi_test
17801 wine_fn_config_dll pstorec enable_pstorec clean
17802 wine_fn_config_dll qcap enable_qcap
17803 wine_fn_config_test dlls/qcap/tests qcap_test
17804 wine_fn_config_dll qedit enable_qedit clean
17805 wine_fn_config_test dlls/qedit/tests qedit_test
17806 wine_fn_config_dll qmgr enable_qmgr clean
17807 wine_fn_config_test dlls/qmgr/tests qmgr_test
17808 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17809 wine_fn_config_dll quartz enable_quartz clean,implib
17810 wine_fn_config_test dlls/quartz/tests quartz_test clean
17811 wine_fn_config_dll query enable_query
17812 wine_fn_config_dll rasapi16.dll16 enable_win16
17813 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17814 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17815 wine_fn_config_dll rasdlg enable_rasdlg implib
17816 wine_fn_config_dll regapi enable_regapi
17817 wine_fn_config_dll resutils enable_resutils implib
17818 wine_fn_config_dll riched20 enable_riched20 clean,implib
17819 wine_fn_config_test dlls/riched20/tests riched20_test
17820 wine_fn_config_dll riched32 enable_riched32
17821 wine_fn_config_test dlls/riched32/tests riched32_test
17822 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17823 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17824 wine_fn_config_dll rsabase enable_rsabase
17825 wine_fn_config_dll rsaenh enable_rsaenh implib
17826 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17827 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17828 wine_fn_config_dll rtutils enable_rtutils implib
17829 wine_fn_config_dll samlib enable_samlib
17830 wine_fn_config_dll sane.ds enable_sane_ds po
17831 wine_fn_config_dll scarddlg enable_scarddlg
17832 wine_fn_config_dll sccbase enable_sccbase
17833 wine_fn_config_dll schannel enable_schannel
17834 wine_fn_config_test dlls/schannel/tests schannel_test
17835 wine_fn_config_dll schedsvc enable_schedsvc clean
17836 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17837 wine_fn_config_dll scrrun enable_scrrun clean
17838 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17839 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17840 wine_fn_config_dll secur32 enable_secur32 implib
17841 wine_fn_config_test dlls/secur32/tests secur32_test
17842 wine_fn_config_dll security enable_security
17843 wine_fn_config_dll sensapi enable_sensapi implib
17844 wine_fn_config_dll serialui enable_serialui implib,po
17845 wine_fn_config_test dlls/serialui/tests serialui_test
17846 wine_fn_config_dll setupapi enable_setupapi implib,po
17847 wine_fn_config_test dlls/setupapi/tests setupapi_test
17848 wine_fn_config_dll setupx.dll16 enable_win16
17849 wine_fn_config_dll sfc enable_sfc implib
17850 wine_fn_config_dll sfc_os enable_sfc_os implib
17851 wine_fn_config_dll shdoclc enable_shdoclc po
17852 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17853 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17854 wine_fn_config_dll shell.dll16 enable_win16
17855 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17856 wine_fn_config_test dlls/shell32/tests shell32_test
17857 wine_fn_config_dll shfolder enable_shfolder implib
17858 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17859 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17860 wine_fn_config_dll slbcsp enable_slbcsp
17861 wine_fn_config_dll slc enable_slc implib
17862 wine_fn_config_test dlls/slc/tests slc_test
17863 wine_fn_config_dll snmpapi enable_snmpapi implib
17864 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17865 wine_fn_config_dll softpub enable_softpub
17866 wine_fn_config_dll sound.drv16 enable_win16
17867 wine_fn_config_dll spoolss enable_spoolss implib
17868 wine_fn_config_test dlls/spoolss/tests spoolss_test
17869 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17870 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17871 wine_fn_config_dll sti enable_sti clean,implib
17872 wine_fn_config_test dlls/sti/tests sti_test
17873 wine_fn_config_dll storage.dll16 enable_win16
17874 wine_fn_config_dll stress.dll16 enable_win16
17875 wine_fn_config_lib strmbase
17876 wine_fn_config_lib strmiids
17877 wine_fn_config_dll svrapi enable_svrapi
17878 wine_fn_config_dll sxs enable_sxs implib
17879 wine_fn_config_test dlls/sxs/tests sxs_test
17880 wine_fn_config_dll system.drv16 enable_win16
17881 wine_fn_config_dll t2embed enable_t2embed
17882 wine_fn_config_dll tapi32 enable_tapi32 implib
17883 wine_fn_config_dll taskschd enable_taskschd clean
17884 wine_fn_config_test dlls/taskschd/tests taskschd_test
17885 wine_fn_config_dll tdi.sys enable_tdi_sys
17886 wine_fn_config_dll toolhelp.dll16 enable_win16
17887 wine_fn_config_dll traffic enable_traffic
17888 wine_fn_config_dll twain.dll16 enable_win16
17889 wine_fn_config_dll twain_32 enable_twain_32
17890 wine_fn_config_test dlls/twain_32/tests twain_32_test
17891 wine_fn_config_dll typelib.dll16 enable_win16
17892 wine_fn_config_dll ucrtbase enable_ucrtbase
17893 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17894 wine_fn_config_dll unicows enable_unicows implib
17895 wine_fn_config_dll updspapi enable_updspapi
17896 wine_fn_config_dll url enable_url implib
17897 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17898 wine_fn_config_test dlls/urlmon/tests urlmon_test
17899 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17900 wine_fn_config_dll user.exe16 enable_win16
17901 wine_fn_config_dll user32 enable_user32 clean,implib,po
17902 wine_fn_config_test dlls/user32/tests user32_test
17903 wine_fn_config_dll userenv enable_userenv implib
17904 wine_fn_config_test dlls/userenv/tests userenv_test
17905 wine_fn_config_dll usp10 enable_usp10 implib
17906 wine_fn_config_test dlls/usp10/tests usp10_test
17907 wine_fn_config_lib uuid
17908 wine_fn_config_dll uxtheme enable_uxtheme implib
17909 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17910 wine_fn_config_dll vbscript enable_vbscript clean
17911 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17912 wine_fn_config_dll vcomp enable_vcomp
17913 wine_fn_config_test dlls/vcomp/tests vcomp_test
17914 wine_fn_config_dll vcomp100 enable_vcomp100
17915 wine_fn_config_dll vcomp110 enable_vcomp110
17916 wine_fn_config_dll vcomp120 enable_vcomp120
17917 wine_fn_config_dll vcomp90 enable_vcomp90
17918 wine_fn_config_dll vcruntime140 enable_vcruntime140
17919 wine_fn_config_dll vdhcp.vxd enable_win16
17920 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17921 wine_fn_config_dll ver.dll16 enable_win16
17922 wine_fn_config_dll version enable_version implib
17923 wine_fn_config_test dlls/version/tests version_test
17924 wine_fn_config_dll vmm.vxd enable_win16
17925 wine_fn_config_dll vnbt.vxd enable_win16
17926 wine_fn_config_dll vnetbios.vxd enable_win16
17927 wine_fn_config_dll vssapi enable_vssapi
17928 wine_fn_config_dll vtdapi.vxd enable_win16
17929 wine_fn_config_dll vwin32.vxd enable_win16
17930 wine_fn_config_dll w32skrnl enable_win16
17931 wine_fn_config_dll w32sys.dll16 enable_win16
17932 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17933 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17934 wine_fn_config_dll wbemprox enable_wbemprox clean
17935 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17936 wine_fn_config_dll webservices enable_webservices implib
17937 wine_fn_config_test dlls/webservices/tests webservices_test
17938 wine_fn_config_dll wer enable_wer implib
17939 wine_fn_config_test dlls/wer/tests wer_test
17940 wine_fn_config_dll wevtapi enable_wevtapi
17941 wine_fn_config_dll wiaservc enable_wiaservc clean
17942 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
17943 wine_fn_config_dll wimgapi enable_wimgapi
17944 wine_fn_config_dll win32s16.dll16 enable_win16
17945 wine_fn_config_dll win87em.dll16 enable_win16
17946 wine_fn_config_dll winaspi.dll16 enable_win16
17947 wine_fn_config_dll windebug.dll16 enable_win16
17948 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17949 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17950 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17951 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17952 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17953 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17954 wine_fn_config_lib winecrt0
17955 wine_fn_config_dll wined3d enable_wined3d implib
17956 wine_fn_config_dll winegstreamer enable_winegstreamer
17957 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17958 wine_fn_config_dll winemac.drv enable_winemac_drv po
17959 wine_fn_config_dll winemapi enable_winemapi
17960 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17961 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17962 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17963 wine_fn_config_dll wineps16.drv16 enable_win16
17964 wine_fn_config_dll winepulse.drv enable_winepulse_drv
17965 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17966 wine_fn_config_dll winex11.drv enable_winex11_drv
17967 wine_fn_config_dll wing.dll16 enable_win16
17968 wine_fn_config_dll wing32 enable_wing32
17969 wine_fn_config_dll winhttp enable_winhttp clean,implib
17970 wine_fn_config_test dlls/winhttp/tests winhttp_test
17971 wine_fn_config_dll wininet enable_wininet implib,po
17972 wine_fn_config_test dlls/wininet/tests wininet_test
17973 wine_fn_config_dll winmm enable_winmm implib,po
17974 wine_fn_config_test dlls/winmm/tests winmm_test
17975 wine_fn_config_dll winnls.dll16 enable_win16
17976 wine_fn_config_dll winnls32 enable_winnls32 implib
17977 wine_fn_config_dll winscard enable_winscard implib
17978 wine_fn_config_dll winsock.dll16 enable_win16
17979 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17980 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17981 wine_fn_config_dll winsta enable_winsta
17982 wine_fn_config_dll wintab.dll16 enable_win16
17983 wine_fn_config_dll wintab32 enable_wintab32 implib
17984 wine_fn_config_test dlls/wintab32/tests wintab32_test
17985 wine_fn_config_dll wintrust enable_wintrust implib
17986 wine_fn_config_test dlls/wintrust/tests wintrust_test
17987 wine_fn_config_dll wlanapi enable_wlanapi
17988 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17989 wine_fn_config_test dlls/wldap32/tests wldap32_test
17990 wine_fn_config_dll wmi enable_wmi
17991 wine_fn_config_dll wmiutils enable_wmiutils clean
17992 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17993 wine_fn_config_dll wmp enable_wmp clean
17994 wine_fn_config_test dlls/wmp/tests wmp_test
17995 wine_fn_config_dll wmvcore enable_wmvcore
17996 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17997 wine_fn_config_dll wow32 enable_win16 implib
17998 wine_fn_config_dll wpcap enable_wpcap
17999 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18000 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18001 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18002 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18003 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18004 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18005 wine_fn_config_dll wsock32 enable_wsock32 implib
18006 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18007 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18008 wine_fn_config_dll wuapi enable_wuapi clean
18009 wine_fn_config_dll wuaueng enable_wuaueng
18010 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18011 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18012 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18013 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18014 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18015 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18016 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18017 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18018 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18019 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18020 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18021 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18022 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18023 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18024 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18025 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18026 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18027 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18028 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18029 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18030 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18031 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18032 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18033 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18034 wine_fn_config_dll xinput1_1 enable_xinput1_1
18035 wine_fn_config_dll xinput1_2 enable_xinput1_2
18036 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18037 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18038 wine_fn_config_dll xinput1_4 enable_xinput1_4
18039 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18040 wine_fn_config_dll xmllite enable_xmllite implib
18041 wine_fn_config_test dlls/xmllite/tests xmllite_test
18042 wine_fn_config_dll xolehlp enable_xolehlp
18043 wine_fn_config_dll xpsprint enable_xpsprint
18044 wine_fn_config_dll xpssvcs enable_xpssvcs
18045 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18046 wine_fn_config_makefile include enable_include clean,install-dev
18047 wine_fn_config_makefile libs/port enable_libs_port
18048 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18049 wine_fn_config_makefile libs/wpp enable_libs_wpp
18050 wine_fn_config_makefile loader enable_loader clean,install-lib
18051 wine_fn_config_program arp enable_arp install
18052 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18053 wine_fn_config_program attrib enable_attrib install,po
18054 wine_fn_config_program cabarc enable_cabarc install
18055 wine_fn_config_program cacls enable_cacls install
18056 wine_fn_config_program clock enable_clock install,po
18057 wine_fn_config_program cmd enable_cmd install,po
18058 wine_fn_config_test programs/cmd/tests cmd.exe_test
18059 wine_fn_config_program conhost enable_conhost install
18060 wine_fn_config_program control enable_control install
18061 wine_fn_config_program cscript enable_cscript clean,install
18062 wine_fn_config_program dpnsvr enable_dpnsvr install
18063 wine_fn_config_program dxdiag enable_dxdiag install,po
18064 wine_fn_config_program eject enable_eject install
18065 wine_fn_config_program expand enable_expand install
18066 wine_fn_config_program explorer enable_explorer install,po
18067 wine_fn_config_program extrac32 enable_extrac32 install
18068 wine_fn_config_program findstr enable_findstr install
18069 wine_fn_config_program hh enable_hh install
18070 wine_fn_config_program hostname enable_hostname install,po
18071 wine_fn_config_program icinfo enable_icinfo install
18072 wine_fn_config_program iexplore enable_iexplore install
18073 wine_fn_config_program ipconfig enable_ipconfig install,po
18074 wine_fn_config_program lodctr enable_lodctr install
18075 wine_fn_config_program mofcomp enable_mofcomp install
18076 wine_fn_config_program mshta enable_mshta install
18077 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18078 wine_fn_config_program net enable_net install,po
18079 wine_fn_config_program netsh enable_netsh install
18080 wine_fn_config_program netstat enable_netstat install,po
18081 wine_fn_config_program ngen enable_ngen install
18082 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
18083 wine_fn_config_program oleview enable_oleview install,po
18084 wine_fn_config_program ping enable_ping install
18085 wine_fn_config_program plugplay enable_plugplay install
18086 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18087 wine_fn_config_program progman enable_progman install,po
18088 wine_fn_config_program reg enable_reg install,po
18089 wine_fn_config_test programs/reg/tests reg.exe_test
18090 wine_fn_config_program regasm enable_regasm install
18091 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
18092 wine_fn_config_test programs/regedit/tests regedit.exe_test
18093 wine_fn_config_program regsvcs enable_regsvcs install
18094 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
18095 wine_fn_config_program rpcss enable_rpcss clean,install
18096 wine_fn_config_program rundll.exe16 enable_win16 install
18097 wine_fn_config_program rundll32 enable_rundll32 install
18098 wine_fn_config_program sc enable_sc install
18099 wine_fn_config_program schtasks enable_schtasks install
18100 wine_fn_config_program sdbinst enable_sdbinst install
18101 wine_fn_config_program secedit enable_secedit install
18102 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18103 wine_fn_config_program services enable_services clean,install
18104 wine_fn_config_test programs/services/tests services.exe_test
18105 wine_fn_config_program spoolsv enable_spoolsv install
18106 wine_fn_config_program start enable_start install,po
18107 wine_fn_config_program svchost enable_svchost install
18108 wine_fn_config_program systeminfo enable_systeminfo install
18109 wine_fn_config_program taskkill enable_taskkill install,po
18110 wine_fn_config_program tasklist enable_tasklist install
18111 wine_fn_config_program taskmgr enable_taskmgr install,po
18112 wine_fn_config_program termsv enable_termsv install
18113 wine_fn_config_program uninstaller enable_uninstaller install,po
18114 wine_fn_config_program unlodctr enable_unlodctr install
18115 wine_fn_config_program view enable_view install,po
18116 wine_fn_config_program wevtutil enable_wevtutil install
18117 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
18118 wine_fn_config_program winebrowser enable_winebrowser install
18119 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
18120 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
18121 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
18122 wine_fn_config_program winedevice enable_winedevice install
18123 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
18124 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18125 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
18126 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18127 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18128 wine_fn_config_program winetest enable_winetest clean
18129 wine_fn_config_program winevdm enable_win16 install
18130 wine_fn_config_program winhelp.exe16 enable_win16 install
18131 wine_fn_config_program winhlp32 enable_winhlp32 install,po
18132 wine_fn_config_program winoldap.mod16 enable_win16 install
18133 wine_fn_config_program winver enable_winver install
18134 wine_fn_config_program wmic enable_wmic install,po
18135 wine_fn_config_program wmplayer enable_wmplayer install
18136 wine_fn_config_program wordpad enable_wordpad install,po
18137 wine_fn_config_program write enable_write install,po
18138 wine_fn_config_program wscript enable_wscript clean,install
18139 wine_fn_config_test programs/wscript/tests wscript.exe_test
18140 wine_fn_config_program wusa enable_wusa install
18141 wine_fn_config_program xcopy enable_xcopy install,po
18142 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18143 wine_fn_config_makefile server enable_server clean,install-lib
18144 wine_fn_config_tool tools clean
18145 wine_fn_config_tool tools/sfnt2fon clean
18146 wine_fn_config_tool tools/widl clean,install-dev
18147 wine_fn_config_tool tools/winebuild clean,install-dev
18148 wine_fn_config_tool tools/winedump clean,install-dev
18149 wine_fn_config_tool tools/winegcc clean,install-dev
18150 wine_fn_config_tool tools/winemaker clean,install-dev
18151 wine_fn_config_tool tools/wmc clean,install-dev
18152 wine_fn_config_tool tools/wrc clean,install-dev
18154 LINGUAS="\
18155 ar \
18156 bg \
18157 ca \
18158 cs \
18159 da \
18160 de \
18161 el \
18162 en \
18163 en_US \
18164 eo \
18165 es \
18166 fa \
18167 fi \
18168 fr \
18169 he \
18170 hi \
18171 hr \
18172 hu \
18173 it \
18174 ja \
18175 ko \
18176 lt \
18177 ml \
18178 nb_NO \
18179 nl \
18180 or \
18181 pa \
18182 pl \
18183 pt_BR \
18184 pt_PT \
18185 rm \
18186 ro \
18187 ru \
18188 sk \
18189 sl \
18190 sr_RS@cyrillic \
18191 sr_RS@latin \
18192 sv \
18193 te \
18194 th \
18195 tr \
18196 uk \
18197 wa \
18198 zh_CN \
18199 zh_TW"
18204 wine_fn_ignore_file ".gitignore"
18205 wine_fn_ignore_file "Makefile"
18206 wine_fn_ignore_file "TAGS"
18207 wine_fn_ignore_file "tags"
18208 wine_fn_ignore_file "autom4te.cache"
18209 wine_fn_ignore_file "config.cache"
18210 wine_fn_ignore_file "config.log"
18211 wine_fn_ignore_file "config.status"
18212 wine_fn_ignore_file "configure.lineno"
18213 wine_fn_ignore_file "include/config.h"
18214 wine_fn_ignore_file "include/stamp-h"
18215 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
18217 if test "x$enable_tools" != xno
18218 then
18219 wine_fn_ignore_file "tools/makedep$ac_exeext"
18220 ac_config_commands="$ac_config_commands tools/makedep"
18224 ac_config_commands="$ac_config_commands Makefile"
18227 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18231 if test "x$enable_maintainer_mode" = xyes
18232 then
18233 wine_fn_append_rule "configure: configure.ac aclocal.m4
18234 autoconf --warnings=all
18235 include/config.h.in: include/stamp-h.in
18236 include/stamp-h.in: configure.ac aclocal.m4
18237 autoheader --warnings=all
18238 @echo timestamp > \$@"
18241 if test "x$with_gettextpo" = xyes
18242 then
18243 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18244 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
18245 \$(LINGUAS:%=po/%.po): po/wine.pot
18246 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18247 po/wine.pot: \$(ALL_POT_FILES)
18248 msgcat -o \$@ \$(ALL_POT_FILES)"
18251 if test "$MSGFMT" != false
18252 then
18253 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
18254 clean::
18255 \$(RM) \$(LINGUAS:%=po/%.mo)"
18257 posrc="po"
18258 test "$srcdir" = . || posrc="$srcdir/po"
18259 for i in $LINGUAS
18261 wine_fn_ignore_file "po/$i.mo"
18262 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
18263 \$(MSGFMT) -o \$@ $posrc/$i.po"
18264 done
18265 else
18266 LINGUAS=
18269 if test "x$enable_tools" != xno
18270 then
18271 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18272 @./config.status tools/makedep
18273 Makefile: tools/makedep$ac_exeext
18274 distclean:: clean
18275 \$(RM) tools/makedep$ac_exeext"
18276 else
18277 wine_fn_append_rule "\$(MAKEDEP):
18278 @echo \"You need to run make in $TOOLSDIR first\" && false"
18281 if test -n "$with_wine64"
18282 then
18283 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18284 fonts server tools:
18285 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18286 $with_wine64/loader/wine:
18287 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18288 $with_wine64/loader/wine-preloader:
18289 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18290 clean::
18291 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18292 else
18293 WINELOADER_INSTALL="wine.inf"
18295 wine_fn_append_rule "install install-lib::
18296 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18297 uninstall::
18298 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18299 case $host_os in
18300 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18301 *) wine_fn_append_rule "install install-lib::
18302 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18303 uninstall::
18304 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18305 esac
18308 if test "$srcdir" = .
18309 then
18310 ac_config_commands="$ac_config_commands .gitignore"
18314 $as_echo " done" >&6
18315 cat >confcache <<\_ACEOF
18316 # This file is a shell script that caches the results of configure
18317 # tests run on this system so they can be shared between configure
18318 # scripts and configure runs, see configure's option --config-cache.
18319 # It is not useful on other systems. If it contains results you don't
18320 # want to keep, you may remove or edit it.
18322 # config.status only pays attention to the cache file if you give it
18323 # the --recheck option to rerun configure.
18325 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18326 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18327 # following values.
18329 _ACEOF
18331 # The following way of writing the cache mishandles newlines in values,
18332 # but we know of no workaround that is simple, portable, and efficient.
18333 # So, we kill variables containing newlines.
18334 # Ultrix sh set writes to stderr and can't be redirected directly,
18335 # and sets the high bit in the cache file unless we assign to the vars.
18337 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18338 eval ac_val=\$$ac_var
18339 case $ac_val in #(
18340 *${as_nl}*)
18341 case $ac_var in #(
18342 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18343 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18344 esac
18345 case $ac_var in #(
18346 _ | IFS | as_nl) ;; #(
18347 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18348 *) { eval $ac_var=; unset $ac_var;} ;;
18349 esac ;;
18350 esac
18351 done
18353 (set) 2>&1 |
18354 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18355 *${as_nl}ac_space=\ *)
18356 # `set' does not quote correctly, so add quotes: double-quote
18357 # substitution turns \\\\ into \\, and sed turns \\ into \.
18358 sed -n \
18359 "s/'/'\\\\''/g;
18360 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18361 ;; #(
18363 # `set' quotes correctly as required by POSIX, so do not add quotes.
18364 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18366 esac |
18367 sort
18369 sed '
18370 /^ac_cv_env_/b end
18371 t clear
18372 :clear
18373 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18374 t end
18375 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18376 :end' >>confcache
18377 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18378 if test -w "$cache_file"; then
18379 if test "x$cache_file" != "x/dev/null"; then
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18381 $as_echo "$as_me: updating cache $cache_file" >&6;}
18382 if test ! -f "$cache_file" || test -h "$cache_file"; then
18383 cat confcache >"$cache_file"
18384 else
18385 case $cache_file in #(
18386 */* | ?:*)
18387 mv -f confcache "$cache_file"$$ &&
18388 mv -f "$cache_file"$$ "$cache_file" ;; #(
18390 mv -f confcache "$cache_file" ;;
18391 esac
18394 else
18395 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18396 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18399 rm -f confcache
18401 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18402 # Let make expand exec_prefix.
18403 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18405 DEFS=-DHAVE_CONFIG_H
18407 ac_libobjs=
18408 ac_ltlibobjs=
18410 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18411 # 1. Remove the extension, and $U if already installed.
18412 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18413 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18414 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18415 # will be set to the directory where LIBOBJS objects are built.
18416 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18417 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18418 done
18419 LIBOBJS=$ac_libobjs
18421 LTLIBOBJS=$ac_ltlibobjs
18425 : "${CONFIG_STATUS=./config.status}"
18426 ac_write_fail=0
18427 ac_clean_files_save=$ac_clean_files
18428 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18429 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18430 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18431 as_write_fail=0
18432 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18433 #! $SHELL
18434 # Generated by $as_me.
18435 # Run this file to recreate the current configuration.
18436 # Compiler output produced by configure, useful for debugging
18437 # configure, is in config.log if it exists.
18439 debug=false
18440 ac_cs_recheck=false
18441 ac_cs_silent=false
18443 SHELL=\${CONFIG_SHELL-$SHELL}
18444 export SHELL
18445 _ASEOF
18446 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18447 ## -------------------- ##
18448 ## M4sh Initialization. ##
18449 ## -------------------- ##
18451 # Be more Bourne compatible
18452 DUALCASE=1; export DUALCASE # for MKS sh
18453 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18454 emulate sh
18455 NULLCMD=:
18456 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18457 # is contrary to our usage. Disable this feature.
18458 alias -g '${1+"$@"}'='"$@"'
18459 setopt NO_GLOB_SUBST
18460 else
18461 case `(set -o) 2>/dev/null` in #(
18462 *posix*) :
18463 set -o posix ;; #(
18464 *) :
18466 esac
18470 as_nl='
18472 export as_nl
18473 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18474 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18475 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18476 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18477 # Prefer a ksh shell builtin over an external printf program on Solaris,
18478 # but without wasting forks for bash or zsh.
18479 if test -z "$BASH_VERSION$ZSH_VERSION" \
18480 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18481 as_echo='print -r --'
18482 as_echo_n='print -rn --'
18483 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18484 as_echo='printf %s\n'
18485 as_echo_n='printf %s'
18486 else
18487 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18488 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18489 as_echo_n='/usr/ucb/echo -n'
18490 else
18491 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18492 as_echo_n_body='eval
18493 arg=$1;
18494 case $arg in #(
18495 *"$as_nl"*)
18496 expr "X$arg" : "X\\(.*\\)$as_nl";
18497 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18498 esac;
18499 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18501 export as_echo_n_body
18502 as_echo_n='sh -c $as_echo_n_body as_echo'
18504 export as_echo_body
18505 as_echo='sh -c $as_echo_body as_echo'
18508 # The user is always right.
18509 if test "${PATH_SEPARATOR+set}" != set; then
18510 PATH_SEPARATOR=:
18511 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18512 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18513 PATH_SEPARATOR=';'
18518 # IFS
18519 # We need space, tab and new line, in precisely that order. Quoting is
18520 # there to prevent editors from complaining about space-tab.
18521 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18522 # splitting by setting IFS to empty value.)
18523 IFS=" "" $as_nl"
18525 # Find who we are. Look in the path if we contain no directory separator.
18526 as_myself=
18527 case $0 in #((
18528 *[\\/]* ) as_myself=$0 ;;
18529 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18530 for as_dir in $PATH
18532 IFS=$as_save_IFS
18533 test -z "$as_dir" && as_dir=.
18534 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18535 done
18536 IFS=$as_save_IFS
18539 esac
18540 # We did not find ourselves, most probably we were run as `sh COMMAND'
18541 # in which case we are not to be found in the path.
18542 if test "x$as_myself" = x; then
18543 as_myself=$0
18545 if test ! -f "$as_myself"; then
18546 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18547 exit 1
18550 # Unset variables that we do not need and which cause bugs (e.g. in
18551 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18552 # suppresses any "Segmentation fault" message there. '((' could
18553 # trigger a bug in pdksh 5.2.14.
18554 for as_var in BASH_ENV ENV MAIL MAILPATH
18555 do eval test x\${$as_var+set} = xset \
18556 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18557 done
18558 PS1='$ '
18559 PS2='> '
18560 PS4='+ '
18562 # NLS nuisances.
18563 LC_ALL=C
18564 export LC_ALL
18565 LANGUAGE=C
18566 export LANGUAGE
18568 # CDPATH.
18569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18572 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18573 # ----------------------------------------
18574 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18575 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18576 # script with STATUS, using 1 if that was 0.
18577 as_fn_error ()
18579 as_status=$1; test $as_status -eq 0 && as_status=1
18580 if test "$4"; then
18581 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18582 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18584 $as_echo "$as_me: error: $2" >&2
18585 as_fn_exit $as_status
18586 } # as_fn_error
18589 # as_fn_set_status STATUS
18590 # -----------------------
18591 # Set $? to STATUS, without forking.
18592 as_fn_set_status ()
18594 return $1
18595 } # as_fn_set_status
18597 # as_fn_exit STATUS
18598 # -----------------
18599 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18600 as_fn_exit ()
18602 set +e
18603 as_fn_set_status $1
18604 exit $1
18605 } # as_fn_exit
18607 # as_fn_unset VAR
18608 # ---------------
18609 # Portably unset VAR.
18610 as_fn_unset ()
18612 { eval $1=; unset $1;}
18614 as_unset=as_fn_unset
18615 # as_fn_append VAR VALUE
18616 # ----------------------
18617 # Append the text in VALUE to the end of the definition contained in VAR. Take
18618 # advantage of any shell optimizations that allow amortized linear growth over
18619 # repeated appends, instead of the typical quadratic growth present in naive
18620 # implementations.
18621 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18622 eval 'as_fn_append ()
18624 eval $1+=\$2
18626 else
18627 as_fn_append ()
18629 eval $1=\$$1\$2
18631 fi # as_fn_append
18633 # as_fn_arith ARG...
18634 # ------------------
18635 # Perform arithmetic evaluation on the ARGs, and store the result in the
18636 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18637 # must be portable across $(()) and expr.
18638 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18639 eval 'as_fn_arith ()
18641 as_val=$(( $* ))
18643 else
18644 as_fn_arith ()
18646 as_val=`expr "$@" || test $? -eq 1`
18648 fi # as_fn_arith
18651 if expr a : '\(a\)' >/dev/null 2>&1 &&
18652 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18653 as_expr=expr
18654 else
18655 as_expr=false
18658 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18659 as_basename=basename
18660 else
18661 as_basename=false
18664 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18665 as_dirname=dirname
18666 else
18667 as_dirname=false
18670 as_me=`$as_basename -- "$0" ||
18671 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18672 X"$0" : 'X\(//\)$' \| \
18673 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18674 $as_echo X/"$0" |
18675 sed '/^.*\/\([^/][^/]*\)\/*$/{
18676 s//\1/
18679 /^X\/\(\/\/\)$/{
18680 s//\1/
18683 /^X\/\(\/\).*/{
18684 s//\1/
18687 s/.*/./; q'`
18689 # Avoid depending upon Character Ranges.
18690 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18691 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18692 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18693 as_cr_digits='0123456789'
18694 as_cr_alnum=$as_cr_Letters$as_cr_digits
18696 ECHO_C= ECHO_N= ECHO_T=
18697 case `echo -n x` in #(((((
18698 -n*)
18699 case `echo 'xy\c'` in
18700 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18701 xy) ECHO_C='\c';;
18702 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18703 ECHO_T=' ';;
18704 esac;;
18706 ECHO_N='-n';;
18707 esac
18709 rm -f conf$$ conf$$.exe conf$$.file
18710 if test -d conf$$.dir; then
18711 rm -f conf$$.dir/conf$$.file
18712 else
18713 rm -f conf$$.dir
18714 mkdir conf$$.dir 2>/dev/null
18716 if (echo >conf$$.file) 2>/dev/null; then
18717 if ln -s conf$$.file conf$$ 2>/dev/null; then
18718 as_ln_s='ln -s'
18719 # ... but there are two gotchas:
18720 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18721 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18722 # In both cases, we have to default to `cp -pR'.
18723 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18724 as_ln_s='cp -pR'
18725 elif ln conf$$.file conf$$ 2>/dev/null; then
18726 as_ln_s=ln
18727 else
18728 as_ln_s='cp -pR'
18730 else
18731 as_ln_s='cp -pR'
18733 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18734 rmdir conf$$.dir 2>/dev/null
18737 # as_fn_mkdir_p
18738 # -------------
18739 # Create "$as_dir" as a directory, including parents if necessary.
18740 as_fn_mkdir_p ()
18743 case $as_dir in #(
18744 -*) as_dir=./$as_dir;;
18745 esac
18746 test -d "$as_dir" || eval $as_mkdir_p || {
18747 as_dirs=
18748 while :; do
18749 case $as_dir in #(
18750 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18751 *) as_qdir=$as_dir;;
18752 esac
18753 as_dirs="'$as_qdir' $as_dirs"
18754 as_dir=`$as_dirname -- "$as_dir" ||
18755 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18756 X"$as_dir" : 'X\(//\)[^/]' \| \
18757 X"$as_dir" : 'X\(//\)$' \| \
18758 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18759 $as_echo X"$as_dir" |
18760 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18761 s//\1/
18764 /^X\(\/\/\)[^/].*/{
18765 s//\1/
18768 /^X\(\/\/\)$/{
18769 s//\1/
18772 /^X\(\/\).*/{
18773 s//\1/
18776 s/.*/./; q'`
18777 test -d "$as_dir" && break
18778 done
18779 test -z "$as_dirs" || eval "mkdir $as_dirs"
18780 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18783 } # as_fn_mkdir_p
18784 if mkdir -p . 2>/dev/null; then
18785 as_mkdir_p='mkdir -p "$as_dir"'
18786 else
18787 test -d ./-p && rmdir ./-p
18788 as_mkdir_p=false
18792 # as_fn_executable_p FILE
18793 # -----------------------
18794 # Test if FILE is an executable regular file.
18795 as_fn_executable_p ()
18797 test -f "$1" && test -x "$1"
18798 } # as_fn_executable_p
18799 as_test_x='test -x'
18800 as_executable_p=as_fn_executable_p
18802 # Sed expression to map a string onto a valid CPP name.
18803 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18805 # Sed expression to map a string onto a valid variable name.
18806 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18809 exec 6>&1
18810 ## ----------------------------------- ##
18811 ## Main body of $CONFIG_STATUS script. ##
18812 ## ----------------------------------- ##
18813 _ASEOF
18814 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18817 # Save the log message, to keep $0 and so on meaningful, and to
18818 # report actual input values of CONFIG_FILES etc. instead of their
18819 # values after options handling.
18820 ac_log="
18821 This file was extended by Wine $as_me 1.9.1, which was
18822 generated by GNU Autoconf 2.69. Invocation command line was
18824 CONFIG_FILES = $CONFIG_FILES
18825 CONFIG_HEADERS = $CONFIG_HEADERS
18826 CONFIG_LINKS = $CONFIG_LINKS
18827 CONFIG_COMMANDS = $CONFIG_COMMANDS
18828 $ $0 $@
18830 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18833 _ACEOF
18835 case $ac_config_files in *"
18836 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18837 esac
18839 case $ac_config_headers in *"
18840 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18841 esac
18844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18845 # Files that config.status was made for.
18846 config_files="$ac_config_files"
18847 config_headers="$ac_config_headers"
18848 config_links="$ac_config_links"
18849 config_commands="$ac_config_commands"
18851 _ACEOF
18853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18854 ac_cs_usage="\
18855 \`$as_me' instantiates files and other configuration actions
18856 from templates according to the current configuration. Unless the files
18857 and actions are specified as TAGs, all are instantiated by default.
18859 Usage: $0 [OPTION]... [TAG]...
18861 -h, --help print this help, then exit
18862 -V, --version print version number and configuration settings, then exit
18863 --config print configuration, then exit
18864 -q, --quiet, --silent
18865 do not print progress messages
18866 -d, --debug don't remove temporary files
18867 --recheck update $as_me by reconfiguring in the same conditions
18868 --file=FILE[:TEMPLATE]
18869 instantiate the configuration file FILE
18870 --header=FILE[:TEMPLATE]
18871 instantiate the configuration header FILE
18873 Configuration files:
18874 $config_files
18876 Configuration headers:
18877 $config_headers
18879 Configuration links:
18880 $config_links
18882 Configuration commands:
18883 $config_commands
18885 Report bugs to <wine-devel@winehq.org>.
18886 Wine home page: <http://www.winehq.org>."
18888 _ACEOF
18889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18890 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18891 ac_cs_version="\\
18892 Wine config.status 1.9.1
18893 configured by $0, generated by GNU Autoconf 2.69,
18894 with options \\"\$ac_cs_config\\"
18896 Copyright (C) 2012 Free Software Foundation, Inc.
18897 This config.status script is free software; the Free Software Foundation
18898 gives unlimited permission to copy, distribute and modify it."
18900 ac_pwd='$ac_pwd'
18901 srcdir='$srcdir'
18902 test -n "\$AWK" || AWK=awk
18903 _ACEOF
18905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18906 # The default lists apply if the user does not specify any file.
18907 ac_need_defaults=:
18908 while test $# != 0
18910 case $1 in
18911 --*=?*)
18912 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18913 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18914 ac_shift=:
18916 --*=)
18917 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18918 ac_optarg=
18919 ac_shift=:
18922 ac_option=$1
18923 ac_optarg=$2
18924 ac_shift=shift
18926 esac
18928 case $ac_option in
18929 # Handling of the options.
18930 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18931 ac_cs_recheck=: ;;
18932 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18933 $as_echo "$ac_cs_version"; exit ;;
18934 --config | --confi | --conf | --con | --co | --c )
18935 $as_echo "$ac_cs_config"; exit ;;
18936 --debug | --debu | --deb | --de | --d | -d )
18937 debug=: ;;
18938 --file | --fil | --fi | --f )
18939 $ac_shift
18940 case $ac_optarg in
18941 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18942 '') as_fn_error $? "missing file argument" ;;
18943 esac
18944 as_fn_append CONFIG_FILES " '$ac_optarg'"
18945 ac_need_defaults=false;;
18946 --header | --heade | --head | --hea )
18947 $ac_shift
18948 case $ac_optarg in
18949 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18950 esac
18951 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18952 ac_need_defaults=false;;
18953 --he | --h)
18954 # Conflict between --help and --header
18955 as_fn_error $? "ambiguous option: \`$1'
18956 Try \`$0 --help' for more information.";;
18957 --help | --hel | -h )
18958 $as_echo "$ac_cs_usage"; exit ;;
18959 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18960 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18961 ac_cs_silent=: ;;
18963 # This is an error.
18964 -*) as_fn_error $? "unrecognized option: \`$1'
18965 Try \`$0 --help' for more information." ;;
18967 *) as_fn_append ac_config_targets " $1"
18968 ac_need_defaults=false ;;
18970 esac
18971 shift
18972 done
18974 ac_configure_extra_args=
18976 if $ac_cs_silent; then
18977 exec 6>/dev/null
18978 ac_configure_extra_args="$ac_configure_extra_args --silent"
18981 _ACEOF
18982 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18983 if \$ac_cs_recheck; then
18984 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18985 shift
18986 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18987 CONFIG_SHELL='$SHELL'
18988 export CONFIG_SHELL
18989 exec "\$@"
18992 _ACEOF
18993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18994 exec 5>>config.log
18996 echo
18997 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18998 ## Running $as_me. ##
18999 _ASBOX
19000 $as_echo "$ac_log"
19001 } >&5
19003 _ACEOF
19004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19006 # INIT-COMMANDS
19008 wine_fn_output_makedep ()
19010 as_dir=tools; as_fn_mkdir_p
19011 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19013 wine_fn_output_makefile ()
19015 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19016 `cat $wine_rules_file`
19017 _WINE_EOF
19018 as_fn_error $? "could not create Makefile" "$LINENO" 5
19020 wine_fn_output_gitignore ()
19022 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
19023 $GITIGNORE
19024 _WINE_EOF
19025 as_fn_error $? "could not create .gitignore" "$LINENO" 5
19028 _ACEOF
19030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19032 # Handling of arguments.
19033 for ac_config_target in $ac_config_targets
19035 case $ac_config_target in
19036 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19037 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19038 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19039 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19040 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19041 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19042 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19043 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19044 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
19045 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19046 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19047 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19048 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19049 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19050 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
19052 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19053 esac
19054 done
19057 # If the user did not use the arguments to specify the items to instantiate,
19058 # then the envvar interface is used. Set only those that are not.
19059 # We use the long form for the default assignment because of an extremely
19060 # bizarre bug on SunOS 4.1.3.
19061 if $ac_need_defaults; then
19062 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19063 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19064 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19065 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19068 # Have a temporary directory for convenience. Make it in the build tree
19069 # simply because there is no reason against having it here, and in addition,
19070 # creating and moving files from /tmp can sometimes cause problems.
19071 # Hook for its removal unless debugging.
19072 # Note that there is a small window in which the directory will not be cleaned:
19073 # after its creation but before its name has been assigned to `$tmp'.
19074 $debug ||
19076 tmp= ac_tmp=
19077 trap 'exit_status=$?
19078 : "${ac_tmp:=$tmp}"
19079 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19081 trap 'as_fn_exit 1' 1 2 13 15
19083 # Create a (secure) tmp directory for tmp files.
19086 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19087 test -d "$tmp"
19088 } ||
19090 tmp=./conf$$-$RANDOM
19091 (umask 077 && mkdir "$tmp")
19092 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19093 ac_tmp=$tmp
19095 # Set up the scripts for CONFIG_FILES section.
19096 # No need to generate them if there are no CONFIG_FILES.
19097 # This happens for instance with `./config.status config.h'.
19098 if test -n "$CONFIG_FILES"; then
19101 ac_cr=`echo X | tr X '\015'`
19102 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19103 # But we know of no other shell where ac_cr would be empty at this
19104 # point, so we can use a bashism as a fallback.
19105 if test "x$ac_cr" = x; then
19106 eval ac_cr=\$\'\\r\'
19108 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19109 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19110 ac_cs_awk_cr='\\r'
19111 else
19112 ac_cs_awk_cr=$ac_cr
19115 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19116 _ACEOF
19120 echo "cat >conf$$subs.awk <<_ACEOF" &&
19121 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19122 echo "_ACEOF"
19123 } >conf$$subs.sh ||
19124 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19125 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19126 ac_delim='%!_!# '
19127 for ac_last_try in false false false false false :; do
19128 . ./conf$$subs.sh ||
19129 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19131 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19132 if test $ac_delim_n = $ac_delim_num; then
19133 break
19134 elif $ac_last_try; then
19135 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19136 else
19137 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19139 done
19140 rm -f conf$$subs.sh
19142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19143 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19144 _ACEOF
19145 sed -n '
19147 s/^/S["/; s/!.*/"]=/
19150 s/^[^!]*!//
19151 :repl
19152 t repl
19153 s/'"$ac_delim"'$//
19154 t delim
19157 s/\(.\{148\}\)..*/\1/
19158 t more1
19159 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19162 b repl
19163 :more1
19164 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19167 s/.\{148\}//
19168 t nl
19169 :delim
19171 s/\(.\{148\}\)..*/\1/
19172 t more2
19173 s/["\\]/\\&/g; s/^/"/; s/$/"/
19176 :more2
19177 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19180 s/.\{148\}//
19181 t delim
19182 ' <conf$$subs.awk | sed '
19183 /^[^""]/{
19185 s/\n//
19187 ' >>$CONFIG_STATUS || ac_write_fail=1
19188 rm -f conf$$subs.awk
19189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19190 _ACAWK
19191 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19192 for (key in S) S_is_set[key] = 1
19193 FS = "\a"
19197 line = $ 0
19198 nfields = split(line, field, "@")
19199 substed = 0
19200 len = length(field[1])
19201 for (i = 2; i < nfields; i++) {
19202 key = field[i]
19203 keylen = length(key)
19204 if (S_is_set[key]) {
19205 value = S[key]
19206 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19207 len += length(value) + length(field[++i])
19208 substed = 1
19209 } else
19210 len += 1 + keylen
19213 print line
19216 _ACAWK
19217 _ACEOF
19218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19219 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19220 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19221 else
19223 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19224 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19225 _ACEOF
19227 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19228 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19229 # trailing colons and then remove the whole line if VPATH becomes empty
19230 # (actually we leave an empty line to preserve line numbers).
19231 if test "x$srcdir" = x.; then
19232 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19234 s///
19235 s/^/:/
19236 s/[ ]*$/:/
19237 s/:\$(srcdir):/:/g
19238 s/:\${srcdir}:/:/g
19239 s/:@srcdir@:/:/g
19240 s/^:*//
19241 s/:*$//
19243 s/\(=[ ]*\).*/\1/
19245 s/\n//
19246 s/^[^=]*=[ ]*$//
19250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19251 fi # test -n "$CONFIG_FILES"
19253 # Set up the scripts for CONFIG_HEADERS section.
19254 # No need to generate them if there are no CONFIG_HEADERS.
19255 # This happens for instance with `./config.status Makefile'.
19256 if test -n "$CONFIG_HEADERS"; then
19257 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19258 BEGIN {
19259 _ACEOF
19261 # Transform confdefs.h into an awk script `defines.awk', embedded as
19262 # here-document in config.status, that substitutes the proper values into
19263 # config.h.in to produce config.h.
19265 # Create a delimiter string that does not exist in confdefs.h, to ease
19266 # handling of long lines.
19267 ac_delim='%!_!# '
19268 for ac_last_try in false false :; do
19269 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19270 if test -z "$ac_tt"; then
19271 break
19272 elif $ac_last_try; then
19273 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19274 else
19275 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19277 done
19279 # For the awk script, D is an array of macro values keyed by name,
19280 # likewise P contains macro parameters if any. Preserve backslash
19281 # newline sequences.
19283 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19284 sed -n '
19285 s/.\{148\}/&'"$ac_delim"'/g
19286 t rset
19287 :rset
19288 s/^[ ]*#[ ]*define[ ][ ]*/ /
19289 t def
19291 :def
19292 s/\\$//
19293 t bsnl
19294 s/["\\]/\\&/g
19295 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19296 D["\1"]=" \3"/p
19297 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19299 :bsnl
19300 s/["\\]/\\&/g
19301 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19302 D["\1"]=" \3\\\\\\n"\\/p
19303 t cont
19304 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19305 t cont
19307 :cont
19309 s/.\{148\}/&'"$ac_delim"'/g
19310 t clear
19311 :clear
19312 s/\\$//
19313 t bsnlc
19314 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19316 :bsnlc
19317 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19318 b cont
19319 ' <confdefs.h | sed '
19320 s/'"$ac_delim"'/"\\\
19321 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19323 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19324 for (key in D) D_is_set[key] = 1
19325 FS = "\a"
19327 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19328 line = \$ 0
19329 split(line, arg, " ")
19330 if (arg[1] == "#") {
19331 defundef = arg[2]
19332 mac1 = arg[3]
19333 } else {
19334 defundef = substr(arg[1], 2)
19335 mac1 = arg[2]
19337 split(mac1, mac2, "(") #)
19338 macro = mac2[1]
19339 prefix = substr(line, 1, index(line, defundef) - 1)
19340 if (D_is_set[macro]) {
19341 # Preserve the white space surrounding the "#".
19342 print prefix "define", macro P[macro] D[macro]
19343 next
19344 } else {
19345 # Replace #undef with comments. This is necessary, for example,
19346 # in the case of _POSIX_SOURCE, which is predefined and required
19347 # on some systems where configure will not decide to define it.
19348 if (defundef == "undef") {
19349 print "/*", prefix defundef, macro, "*/"
19350 next
19354 { print }
19355 _ACAWK
19356 _ACEOF
19357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19358 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19359 fi # test -n "$CONFIG_HEADERS"
19362 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19363 shift
19364 for ac_tag
19366 case $ac_tag in
19367 :[FHLC]) ac_mode=$ac_tag; continue;;
19368 esac
19369 case $ac_mode$ac_tag in
19370 :[FHL]*:*);;
19371 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19372 :[FH]-) ac_tag=-:-;;
19373 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19374 esac
19375 ac_save_IFS=$IFS
19376 IFS=:
19377 set x $ac_tag
19378 IFS=$ac_save_IFS
19379 shift
19380 ac_file=$1
19381 shift
19383 case $ac_mode in
19384 :L) ac_source=$1;;
19385 :[FH])
19386 ac_file_inputs=
19387 for ac_f
19389 case $ac_f in
19390 -) ac_f="$ac_tmp/stdin";;
19391 *) # Look for the file first in the build tree, then in the source tree
19392 # (if the path is not absolute). The absolute path cannot be DOS-style,
19393 # because $ac_f cannot contain `:'.
19394 test -f "$ac_f" ||
19395 case $ac_f in
19396 [\\/$]*) false;;
19397 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19398 esac ||
19399 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19400 esac
19401 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19402 as_fn_append ac_file_inputs " '$ac_f'"
19403 done
19405 # Let's still pretend it is `configure' which instantiates (i.e., don't
19406 # use $as_me), people would be surprised to read:
19407 # /* config.h. Generated by config.status. */
19408 configure_input='Generated from '`
19409 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19410 `' by configure.'
19411 if test x"$ac_file" != x-; then
19412 configure_input="$ac_file. $configure_input"
19413 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19414 $as_echo "$as_me: creating $ac_file" >&6;}
19416 # Neutralize special characters interpreted by sed in replacement strings.
19417 case $configure_input in #(
19418 *\&* | *\|* | *\\* )
19419 ac_sed_conf_input=`$as_echo "$configure_input" |
19420 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19421 *) ac_sed_conf_input=$configure_input;;
19422 esac
19424 case $ac_tag in
19425 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19426 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19427 esac
19429 esac
19431 ac_dir=`$as_dirname -- "$ac_file" ||
19432 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19433 X"$ac_file" : 'X\(//\)[^/]' \| \
19434 X"$ac_file" : 'X\(//\)$' \| \
19435 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19436 $as_echo X"$ac_file" |
19437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19438 s//\1/
19441 /^X\(\/\/\)[^/].*/{
19442 s//\1/
19445 /^X\(\/\/\)$/{
19446 s//\1/
19449 /^X\(\/\).*/{
19450 s//\1/
19453 s/.*/./; q'`
19454 as_dir="$ac_dir"; as_fn_mkdir_p
19455 ac_builddir=.
19457 case "$ac_dir" in
19458 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19460 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19461 # A ".." for each directory in $ac_dir_suffix.
19462 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19463 case $ac_top_builddir_sub in
19464 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19465 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19466 esac ;;
19467 esac
19468 ac_abs_top_builddir=$ac_pwd
19469 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19470 # for backward compatibility:
19471 ac_top_builddir=$ac_top_build_prefix
19473 case $srcdir in
19474 .) # We are building in place.
19475 ac_srcdir=.
19476 ac_top_srcdir=$ac_top_builddir_sub
19477 ac_abs_top_srcdir=$ac_pwd ;;
19478 [\\/]* | ?:[\\/]* ) # Absolute name.
19479 ac_srcdir=$srcdir$ac_dir_suffix;
19480 ac_top_srcdir=$srcdir
19481 ac_abs_top_srcdir=$srcdir ;;
19482 *) # Relative name.
19483 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19484 ac_top_srcdir=$ac_top_build_prefix$srcdir
19485 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19486 esac
19487 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19490 case $ac_mode in
19493 # CONFIG_FILE
19496 _ACEOF
19498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19499 # If the template does not know about datarootdir, expand it.
19500 # FIXME: This hack should be removed a few years after 2.60.
19501 ac_datarootdir_hack=; ac_datarootdir_seen=
19502 ac_sed_dataroot='
19503 /datarootdir/ {
19507 /@datadir@/p
19508 /@docdir@/p
19509 /@infodir@/p
19510 /@localedir@/p
19511 /@mandir@/p'
19512 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19513 *datarootdir*) ac_datarootdir_seen=yes;;
19514 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19516 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19517 _ACEOF
19518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19519 ac_datarootdir_hack='
19520 s&@datadir@&$datadir&g
19521 s&@docdir@&$docdir&g
19522 s&@infodir@&$infodir&g
19523 s&@localedir@&$localedir&g
19524 s&@mandir@&$mandir&g
19525 s&\\\${datarootdir}&$datarootdir&g' ;;
19526 esac
19527 _ACEOF
19529 # Neutralize VPATH when `$srcdir' = `.'.
19530 # Shell code in configure.ac might set extrasub.
19531 # FIXME: do we really want to maintain this feature?
19532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19533 ac_sed_extra="$ac_vpsub
19534 $extrasub
19535 _ACEOF
19536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19538 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19539 s|@configure_input@|$ac_sed_conf_input|;t t
19540 s&@top_builddir@&$ac_top_builddir_sub&;t t
19541 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19542 s&@srcdir@&$ac_srcdir&;t t
19543 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19544 s&@top_srcdir@&$ac_top_srcdir&;t t
19545 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19546 s&@builddir@&$ac_builddir&;t t
19547 s&@abs_builddir@&$ac_abs_builddir&;t t
19548 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19549 $ac_datarootdir_hack
19551 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19552 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19554 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19555 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19556 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19557 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19559 which seems to be undefined. Please make sure it is defined" >&5
19560 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19561 which seems to be undefined. Please make sure it is defined" >&2;}
19563 rm -f "$ac_tmp/stdin"
19564 case $ac_file in
19565 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19566 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19567 esac \
19568 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19572 # CONFIG_HEADER
19574 if test x"$ac_file" != x-; then
19576 $as_echo "/* $configure_input */" \
19577 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19578 } >"$ac_tmp/config.h" \
19579 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19580 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19581 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19582 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19583 else
19584 rm -f "$ac_file"
19585 mv "$ac_tmp/config.h" "$ac_file" \
19586 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19588 else
19589 $as_echo "/* $configure_input */" \
19590 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19591 || as_fn_error $? "could not create -" "$LINENO" 5
19596 # CONFIG_LINK
19599 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19601 else
19602 # Prefer the file from the source tree if names are identical.
19603 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19604 ac_source=$srcdir/$ac_source
19607 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19608 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19610 if test ! -r "$ac_source"; then
19611 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19613 rm -f "$ac_file"
19615 # Try a relative symlink, then a hard link, then a copy.
19616 case $ac_source in
19617 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19618 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19619 esac
19620 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19621 ln "$ac_source" "$ac_file" 2>/dev/null ||
19622 cp -p "$ac_source" "$ac_file" ||
19623 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19626 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19627 $as_echo "$as_me: executing $ac_file commands" >&6;}
19629 esac
19632 case $ac_file$ac_mode in
19633 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19634 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19635 "Makefile":C) wine_fn_output_makefile Makefile ;;
19636 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19638 esac
19639 done # for ac_tag
19642 as_fn_exit 0
19643 _ACEOF
19644 ac_clean_files=$ac_clean_files_save
19646 test $ac_write_fail = 0 ||
19647 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19650 # configure is writing to config.log, and then calls config.status.
19651 # config.status does its own redirection, appending to config.log.
19652 # Unfortunately, on DOS this fails, as config.log is still kept open
19653 # by configure, so config.status won't be able to write to it; its
19654 # output is simply discarded. So we exec the FD to /dev/null,
19655 # effectively closing config.log, so it can be properly (re)opened and
19656 # appended to by config.status. When coming back to configure, we
19657 # need to make the FD available again.
19658 if test "$no_create" != yes; then
19659 ac_cs_success=:
19660 ac_config_status_args=
19661 test "$silent" = yes &&
19662 ac_config_status_args="$ac_config_status_args --quiet"
19663 exec 5>/dev/null
19664 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19665 exec 5>>config.log
19666 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19667 # would make configure fail if this is the last instruction.
19668 $ac_cs_success || as_fn_exit 1
19670 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19672 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19676 if test "$no_create" = "yes"
19677 then
19678 exit 0
19681 ac_save_IFS="$IFS"
19682 if test "x$wine_notices" != x; then
19683 echo >&6
19684 IFS="|"
19685 for msg in $wine_notices; do
19686 IFS="$ac_save_IFS"
19687 if ${msg:+false} :; then :
19689 else
19690 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19691 $as_echo "$as_me: $msg" >&6;}
19693 done
19695 IFS="|"
19696 for msg in $wine_warnings; do
19697 IFS="$ac_save_IFS"
19698 if ${msg:+false} :; then :
19700 else
19701 echo >&2
19702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19703 $as_echo "$as_me: WARNING: $msg" >&2;}
19705 done
19706 IFS="$ac_save_IFS"
19708 $as_echo "
19709 $as_me: Finished. Do '${ac_make}' to compile Wine.
19710 " >&6