Release 1.8.3.
[wine.git] / configure
blob2e1b44dcea16fc08e6468cfef400b2ee3677db6b
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.8.3.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.8.3'
584 PACKAGE_STRING='Wine 1.8.3'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 LINGUAS
629 ALL_VARS_RULES
630 LDAP_LIBS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 PROCSTAT_LIBS
640 KSTAT_LIBS
641 MPG123_LIBS
642 MPG123_CFLAGS
643 TIFF_LIBS
644 TIFF_CFLAGS
645 PNG_LIBS
646 PNG_CFLAGS
647 JPEG_LIBS
648 JPEG_CFLAGS
649 FONTCONFIG_LIBS
650 FONTCONFIG_CFLAGS
651 CUPS_CFLAGS
652 CAPI20_LIBS
653 CAPI20_CFLAGS
654 OSS4_CFLAGS
655 ALSA_LIBS
656 GSTREAMER_LIBS
657 GSTREAMER_CFLAGS
658 PULSE_LIBS
659 PULSE_CFLAGS
660 GETTEXTPO_LIBS
661 Z_LIBS
662 FREETYPE_LIBS
663 FREETYPE_CFLAGS
664 LCMS2_LIBS
665 LCMS2_CFLAGS
666 RESOLV_LIBS
667 GPHOTO2_PORT_LIBS
668 GPHOTO2_PORT_CFLAGS
669 GPHOTO2_LIBS
670 GPHOTO2_CFLAGS
671 SANE_LIBS
672 SANE_CFLAGS
673 GNUTLS_LIBS
674 GNUTLS_CFLAGS
675 HAL_LIBS
676 HAL_CFLAGS
677 DBUS_LIBS
678 DBUS_CFLAGS
679 XSLT_LIBS
680 XSLT_CFLAGS
681 XML2_LIBS
682 XML2_CFLAGS
683 PCAP_LIBS
684 X_EXTRA_LIBS
685 X_LIBS
686 X_PRE_LIBS
687 X_CFLAGS
688 XMKMF
689 PTHREAD_LIBS
690 CROSSCC
691 CROSSTARGET
692 PRELINK
693 WINELOADER_DEPENDS
694 CARBON_LIBS
695 QUICKTIME_LIBS
696 OPENCL_LIBS
697 OPENAL_LIBS
698 COREAUDIO_LIBS
699 SECURITY_LIBS
700 DISKARBITRATION_LIBS
701 APPKIT_LIBS
702 CORESERVICES_LIBS
703 APPLICATIONSERVICES_LIBS
704 FORCEFEEDBACK_LIBS
705 IOKIT_LIBS
706 COREFOUNDATION_LIBS
707 LIBWINE_DEPENDS
708 LIBWINE_LDFLAGS
709 LIBWINE_INSTALL_DEV
710 LIBWINE_INSTALL_LIB
711 LIBWINE_IMPORTLIB
712 LIBWINE_SHAREDLIB
713 SOCKET_LIBS
714 DLLTOOL
715 WINELOADER_PROGRAMS
716 ALL_TEST_RESOURCES
717 READELF
718 OTOOL
720 LDEXECFLAGS
721 LDRPATH_LOCAL
722 LDRPATH_INSTALL
723 DLLFLAGS
724 dlldir
726 OPENGL_LIBS
727 ICOTOOL
728 CONVERT
729 RSVG
730 FONTFORGE
731 PKG_CONFIG
732 MSGFMT
733 LDCONFIG
734 EGREP
735 GREP
736 LN_S
737 RANLIB
738 ARFLAGS
739 STRIP
740 ac_ct_AR
742 BISON
743 FLEX
744 TOOLSDIR
745 TARGETFLAGS
747 CPPBIN
748 ac_ct_CXX
749 CXXFLAGS
751 OBJEXT
752 EXEEXT
753 ac_ct_CC
754 CPPFLAGS
755 LDFLAGS
756 CFLAGS
758 SET_MAKE
759 host_os
760 host_vendor
761 host_cpu
762 host
763 build_os
764 build_vendor
765 build_cpu
766 build
767 target_alias
768 host_alias
769 build_alias
770 LIBS
771 ECHO_T
772 ECHO_N
773 ECHO_C
774 DEFS
775 mandir
776 localedir
777 libdir
778 psdir
779 pdfdir
780 dvidir
781 htmldir
782 infodir
783 docdir
784 oldincludedir
785 includedir
786 runstatedir
787 localstatedir
788 sharedstatedir
789 sysconfdir
790 datadir
791 datarootdir
792 libexecdir
793 sbindir
794 bindir
795 program_transform_name
796 prefix
797 exec_prefix
798 PACKAGE_URL
799 PACKAGE_BUGREPORT
800 PACKAGE_STRING
801 PACKAGE_VERSION
802 PACKAGE_TARNAME
803 PACKAGE_NAME
804 PATH_SEPARATOR
805 SHELL'
806 ac_subst_files=''
807 ac_user_opts='
808 enable_option_checking
809 enable_win16
810 enable_win64
811 enable_tests
812 enable_maintainer_mode
813 with_alsa
814 with_capi
815 with_cms
816 with_coreaudio
817 with_cups
818 with_curses
819 with_dbus
820 with_fontconfig
821 with_freetype
822 with_gettext
823 with_gettextpo
824 with_gphoto
825 with_glu
826 with_gnutls
827 with_gsm
828 with_gstreamer
829 with_hal
830 with_jpeg
831 with_ldap
832 with_mpg123
833 with_netapi
834 with_openal
835 with_opencl
836 with_opengl
837 with_osmesa
838 with_oss
839 with_pcap
840 with_png
841 with_pthread
842 with_pulse
843 with_sane
844 with_tiff
845 with_v4l
846 with_xcomposite
847 with_xcursor
848 with_xinerama
849 with_xinput
850 with_xinput2
851 with_xml
852 with_xrandr
853 with_xrender
854 with_xshape
855 with_xshm
856 with_xslt
857 with_xxf86vm
858 with_zlib
859 with_wine_tools
860 with_wine64
861 enable_largefile
862 with_x
863 enable_acledit
864 enable_aclui
865 enable_activeds
866 enable_actxprxy
867 enable_advapi32
868 enable_advpack
869 enable_amstream
870 enable_api_ms_win_core_com_l1_1_0
871 enable_api_ms_win_core_console_l1_1_0
872 enable_api_ms_win_core_datetime_l1_1_0
873 enable_api_ms_win_core_datetime_l1_1_1
874 enable_api_ms_win_core_debug_l1_1_0
875 enable_api_ms_win_core_debug_l1_1_1
876 enable_api_ms_win_core_errorhandling_l1_1_0
877 enable_api_ms_win_core_errorhandling_l1_1_1
878 enable_api_ms_win_core_errorhandling_l1_1_2
879 enable_api_ms_win_core_fibers_l1_1_0
880 enable_api_ms_win_core_fibers_l1_1_1
881 enable_api_ms_win_core_file_l1_1_0
882 enable_api_ms_win_core_file_l1_2_0
883 enable_api_ms_win_core_file_l2_1_0
884 enable_api_ms_win_core_file_l2_1_1
885 enable_api_ms_win_core_handle_l1_1_0
886 enable_api_ms_win_core_heap_l1_1_0
887 enable_api_ms_win_core_heap_l1_2_0
888 enable_api_ms_win_core_heap_obsolete_l1_1_0
889 enable_api_ms_win_core_interlocked_l1_1_0
890 enable_api_ms_win_core_interlocked_l1_2_0
891 enable_api_ms_win_core_io_l1_1_1
892 enable_api_ms_win_core_kernel32_legacy_l1_1_0
893 enable_api_ms_win_core_libraryloader_l1_1_0
894 enable_api_ms_win_core_libraryloader_l1_1_1
895 enable_api_ms_win_core_localization_l1_2_0
896 enable_api_ms_win_core_localization_l1_2_1
897 enable_api_ms_win_core_localization_obsolete_l1_1_0
898 enable_api_ms_win_core_localregistry_l1_1_0
899 enable_api_ms_win_core_memory_l1_1_0
900 enable_api_ms_win_core_memory_l1_1_1
901 enable_api_ms_win_core_misc_l1_1_0
902 enable_api_ms_win_core_namedpipe_l1_1_0
903 enable_api_ms_win_core_namedpipe_l1_2_0
904 enable_api_ms_win_core_processenvironment_l1_1_0
905 enable_api_ms_win_core_processenvironment_l1_2_0
906 enable_api_ms_win_core_processthreads_l1_1_0
907 enable_api_ms_win_core_processthreads_l1_1_1
908 enable_api_ms_win_core_processthreads_l1_1_2
909 enable_api_ms_win_core_profile_l1_1_0
910 enable_api_ms_win_core_psapi_l1_1_0
911 enable_api_ms_win_core_registry_l1_1_0
912 enable_api_ms_win_core_rtlsupport_l1_1_0
913 enable_api_ms_win_core_rtlsupport_l1_2_0
914 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
915 enable_api_ms_win_core_string_l1_1_0
916 enable_api_ms_win_core_synch_l1_1_0
917 enable_api_ms_win_core_synch_l1_2_0
918 enable_api_ms_win_core_sysinfo_l1_1_0
919 enable_api_ms_win_core_sysinfo_l1_2_0
920 enable_api_ms_win_core_sysinfo_l1_2_1
921 enable_api_ms_win_core_threadpool_legacy_l1_1_0
922 enable_api_ms_win_core_timezone_l1_1_0
923 enable_api_ms_win_core_url_l1_1_0
924 enable_api_ms_win_core_util_l1_1_0
925 enable_api_ms_win_core_winrt_error_l1_1_0
926 enable_api_ms_win_core_winrt_error_l1_1_1
927 enable_api_ms_win_core_winrt_l1_1_0
928 enable_api_ms_win_core_winrt_string_l1_1_0
929 enable_api_ms_win_core_xstate_l2_1_0
930 enable_api_ms_win_crt_conio_l1_1_0
931 enable_api_ms_win_crt_convert_l1_1_0
932 enable_api_ms_win_crt_environment_l1_1_0
933 enable_api_ms_win_crt_filesystem_l1_1_0
934 enable_api_ms_win_crt_heap_l1_1_0
935 enable_api_ms_win_crt_locale_l1_1_0
936 enable_api_ms_win_crt_math_l1_1_0
937 enable_api_ms_win_crt_multibyte_l1_1_0
938 enable_api_ms_win_crt_private_l1_1_0
939 enable_api_ms_win_crt_process_l1_1_0
940 enable_api_ms_win_crt_runtime_l1_1_0
941 enable_api_ms_win_crt_stdio_l1_1_0
942 enable_api_ms_win_crt_string_l1_1_0
943 enable_api_ms_win_crt_time_l1_1_0
944 enable_api_ms_win_crt_utility_l1_1_0
945 enable_api_ms_win_downlevel_advapi32_l1_1_0
946 enable_api_ms_win_downlevel_advapi32_l2_1_0
947 enable_api_ms_win_downlevel_normaliz_l1_1_0
948 enable_api_ms_win_downlevel_ole32_l1_1_0
949 enable_api_ms_win_downlevel_shell32_l1_1_0
950 enable_api_ms_win_downlevel_shlwapi_l1_1_0
951 enable_api_ms_win_downlevel_shlwapi_l2_1_0
952 enable_api_ms_win_downlevel_user32_l1_1_0
953 enable_api_ms_win_downlevel_version_l1_1_0
954 enable_api_ms_win_eventing_provider_l1_1_0
955 enable_api_ms_win_ntuser_dc_access_l1_1_0
956 enable_api_ms_win_security_base_l1_1_0
957 enable_api_ms_win_security_base_l1_2_0
958 enable_api_ms_win_security_sddl_l1_1_0
959 enable_api_ms_win_service_core_l1_1_1
960 enable_api_ms_win_service_management_l1_1_0
961 enable_api_ms_win_service_winsvc_l1_2_0
962 enable_apphelp
963 enable_appwiz_cpl
964 enable_atl
965 enable_atl100
966 enable_atl110
967 enable_atl80
968 enable_atl90
969 enable_authz
970 enable_avicap32
971 enable_avifil32
972 enable_avrt
973 enable_bcrypt
974 enable_bluetoothapis
975 enable_browseui
976 enable_bthprops_cpl
977 enable_cabinet
978 enable_capi2032
979 enable_cards
980 enable_cfgmgr32
981 enable_clusapi
982 enable_combase
983 enable_comcat
984 enable_comctl32
985 enable_comdlg32
986 enable_compstui
987 enable_comsvcs
988 enable_connect
989 enable_credui
990 enable_crtdll
991 enable_crypt32
992 enable_cryptdlg
993 enable_cryptdll
994 enable_cryptext
995 enable_cryptnet
996 enable_cryptui
997 enable_ctapi32
998 enable_ctl3d32
999 enable_d2d1
1000 enable_d3d10
1001 enable_d3d10_1
1002 enable_d3d10core
1003 enable_d3d11
1004 enable_d3d8
1005 enable_d3d9
1006 enable_d3dcompiler_33
1007 enable_d3dcompiler_34
1008 enable_d3dcompiler_35
1009 enable_d3dcompiler_36
1010 enable_d3dcompiler_37
1011 enable_d3dcompiler_38
1012 enable_d3dcompiler_39
1013 enable_d3dcompiler_40
1014 enable_d3dcompiler_41
1015 enable_d3dcompiler_42
1016 enable_d3dcompiler_43
1017 enable_d3dcompiler_46
1018 enable_d3dcompiler_47
1019 enable_d3dim
1020 enable_d3drm
1021 enable_d3dx10_33
1022 enable_d3dx10_34
1023 enable_d3dx10_35
1024 enable_d3dx10_36
1025 enable_d3dx10_37
1026 enable_d3dx10_38
1027 enable_d3dx10_39
1028 enable_d3dx10_40
1029 enable_d3dx10_41
1030 enable_d3dx10_42
1031 enable_d3dx10_43
1032 enable_d3dx11_42
1033 enable_d3dx11_43
1034 enable_d3dx9_24
1035 enable_d3dx9_25
1036 enable_d3dx9_26
1037 enable_d3dx9_27
1038 enable_d3dx9_28
1039 enable_d3dx9_29
1040 enable_d3dx9_30
1041 enable_d3dx9_31
1042 enable_d3dx9_32
1043 enable_d3dx9_33
1044 enable_d3dx9_34
1045 enable_d3dx9_35
1046 enable_d3dx9_36
1047 enable_d3dx9_37
1048 enable_d3dx9_38
1049 enable_d3dx9_39
1050 enable_d3dx9_40
1051 enable_d3dx9_41
1052 enable_d3dx9_42
1053 enable_d3dx9_43
1054 enable_d3dxof
1055 enable_davclnt
1056 enable_dbgeng
1057 enable_dbghelp
1058 enable_dciman32
1059 enable_ddraw
1060 enable_ddrawex
1061 enable_devenum
1062 enable_dhcpcsvc
1063 enable_difxapi
1064 enable_dinput
1065 enable_dinput8
1066 enable_dispex
1067 enable_dmband
1068 enable_dmcompos
1069 enable_dmime
1070 enable_dmloader
1071 enable_dmscript
1072 enable_dmstyle
1073 enable_dmsynth
1074 enable_dmusic
1075 enable_dmusic32
1076 enable_dnsapi
1077 enable_dplay
1078 enable_dplayx
1079 enable_dpnaddr
1080 enable_dpnet
1081 enable_dpnhpast
1082 enable_dpnlobby
1083 enable_dpvoice
1084 enable_dpwsockx
1085 enable_drmclien
1086 enable_dsound
1087 enable_dssenh
1088 enable_dswave
1089 enable_dwmapi
1090 enable_dwrite
1091 enable_dxdiagn
1092 enable_dxgi
1093 enable_dxva2
1094 enable_esent
1095 enable_evr
1096 enable_explorerframe
1097 enable_ext_ms_win_gdi_devcaps_l1_1_0
1098 enable_faultrep
1099 enable_fltlib
1100 enable_fltmgr_sys
1101 enable_fntcache
1102 enable_fontsub
1103 enable_fusion
1104 enable_fwpuclnt
1105 enable_gameux
1106 enable_gdi32
1107 enable_gdiplus
1108 enable_glu32
1109 enable_gphoto2_ds
1110 enable_gpkcsp
1111 enable_hal
1112 enable_hhctrl_ocx
1113 enable_hid
1114 enable_hidclass_sys
1115 enable_hlink
1116 enable_hnetcfg
1117 enable_httpapi
1118 enable_iccvid
1119 enable_icmp
1120 enable_ieframe
1121 enable_imaadp32_acm
1122 enable_imagehlp
1123 enable_imm32
1124 enable_inetcomm
1125 enable_inetcpl_cpl
1126 enable_inetmib1
1127 enable_infosoft
1128 enable_initpki
1129 enable_inkobj
1130 enable_inseng
1131 enable_iphlpapi
1132 enable_itircl
1133 enable_itss
1134 enable_joy_cpl
1135 enable_jscript
1136 enable_jsproxy
1137 enable_kernel32
1138 enable_ksuser
1139 enable_ktmw32
1140 enable_loadperf
1141 enable_localspl
1142 enable_localui
1143 enable_lz32
1144 enable_mapi32
1145 enable_mapistub
1146 enable_mciavi32
1147 enable_mcicda
1148 enable_mciqtz32
1149 enable_mciseq
1150 enable_mciwave
1151 enable_mf
1152 enable_mfplat
1153 enable_mfreadwrite
1154 enable_mgmtapi
1155 enable_midimap
1156 enable_mlang
1157 enable_mmcndmgr
1158 enable_mmdevapi
1159 enable_mountmgr_sys
1160 enable_mpr
1161 enable_mprapi
1162 enable_msacm32_drv
1163 enable_msacm32
1164 enable_msadp32_acm
1165 enable_msasn1
1166 enable_mscat32
1167 enable_mscms
1168 enable_mscoree
1169 enable_msctf
1170 enable_msctfp
1171 enable_msdaps
1172 enable_msdelta
1173 enable_msdmo
1174 enable_msftedit
1175 enable_msg711_acm
1176 enable_msgsm32_acm
1177 enable_mshtml_tlb
1178 enable_mshtml
1179 enable_msi
1180 enable_msident
1181 enable_msimg32
1182 enable_msimsg
1183 enable_msimtf
1184 enable_msisip
1185 enable_msisys_ocx
1186 enable_msls31
1187 enable_msnet32
1188 enable_mspatcha
1189 enable_msrle32
1190 enable_msscript_ocx
1191 enable_mssign32
1192 enable_mssip32
1193 enable_mstask
1194 enable_msvcirt
1195 enable_msvcm80
1196 enable_msvcm90
1197 enable_msvcp100
1198 enable_msvcp110
1199 enable_msvcp120
1200 enable_msvcp120_app
1201 enable_msvcp60
1202 enable_msvcp70
1203 enable_msvcp71
1204 enable_msvcp80
1205 enable_msvcp90
1206 enable_msvcr100
1207 enable_msvcr110
1208 enable_msvcr120
1209 enable_msvcr120_app
1210 enable_msvcr70
1211 enable_msvcr71
1212 enable_msvcr80
1213 enable_msvcr90
1214 enable_msvcrt
1215 enable_msvcrt20
1216 enable_msvcrt40
1217 enable_msvcrtd
1218 enable_msvfw32
1219 enable_msvidc32
1220 enable_mswsock
1221 enable_msxml
1222 enable_msxml2
1223 enable_msxml3
1224 enable_msxml4
1225 enable_msxml6
1226 enable_nddeapi
1227 enable_ndis_sys
1228 enable_netapi32
1229 enable_netcfgx
1230 enable_netprofm
1231 enable_newdev
1232 enable_normaliz
1233 enable_npmshtml
1234 enable_npptools
1235 enable_ntdll
1236 enable_ntdsapi
1237 enable_ntoskrnl_exe
1238 enable_ntprint
1239 enable_objsel
1240 enable_odbc32
1241 enable_odbccp32
1242 enable_odbccu32
1243 enable_ole32
1244 enable_oleacc
1245 enable_oleaut32
1246 enable_olecli32
1247 enable_oledb32
1248 enable_oledlg
1249 enable_olepro32
1250 enable_olesvr32
1251 enable_olethk32
1252 enable_openal32
1253 enable_opencl
1254 enable_opengl32
1255 enable_packager
1256 enable_pdh
1257 enable_photometadatahandler
1258 enable_pidgen
1259 enable_powrprof
1260 enable_printui
1261 enable_prntvpt
1262 enable_propsys
1263 enable_psapi
1264 enable_pstorec
1265 enable_qcap
1266 enable_qedit
1267 enable_qmgr
1268 enable_qmgrprxy
1269 enable_quartz
1270 enable_query
1271 enable_rasapi32
1272 enable_rasdlg
1273 enable_regapi
1274 enable_resutils
1275 enable_riched20
1276 enable_riched32
1277 enable_rpcrt4
1278 enable_rsabase
1279 enable_rsaenh
1280 enable_rstrtmgr
1281 enable_rtutils
1282 enable_samlib
1283 enable_sane_ds
1284 enable_scarddlg
1285 enable_sccbase
1286 enable_schannel
1287 enable_schedsvc
1288 enable_scrrun
1289 enable_scsiport_sys
1290 enable_secur32
1291 enable_security
1292 enable_sensapi
1293 enable_serialui
1294 enable_setupapi
1295 enable_sfc
1296 enable_sfc_os
1297 enable_shdoclc
1298 enable_shdocvw
1299 enable_shell32
1300 enable_shfolder
1301 enable_shlwapi
1302 enable_slbcsp
1303 enable_slc
1304 enable_snmpapi
1305 enable_softpub
1306 enable_spoolss
1307 enable_stdole2_tlb
1308 enable_stdole32_tlb
1309 enable_sti
1310 enable_svrapi
1311 enable_sxs
1312 enable_t2embed
1313 enable_tapi32
1314 enable_taskschd
1315 enable_traffic
1316 enable_twain_32
1317 enable_ucrtbase
1318 enable_unicows
1319 enable_updspapi
1320 enable_url
1321 enable_urlmon
1322 enable_usbd_sys
1323 enable_user32
1324 enable_userenv
1325 enable_usp10
1326 enable_uxtheme
1327 enable_vbscript
1328 enable_vcomp
1329 enable_vcomp100
1330 enable_vcomp110
1331 enable_vcomp120
1332 enable_vcomp90
1333 enable_vcruntime140
1334 enable_vdmdbg
1335 enable_version
1336 enable_vssapi
1337 enable_wbemdisp
1338 enable_wbemprox
1339 enable_webservices
1340 enable_wer
1341 enable_wevtapi
1342 enable_wiaservc
1343 enable_wimgapi
1344 enable_windowscodecs
1345 enable_windowscodecsext
1346 enable_winealsa_drv
1347 enable_winecoreaudio_drv
1348 enable_wined3d
1349 enable_winegstreamer
1350 enable_winejoystick_drv
1351 enable_winemac_drv
1352 enable_winemapi
1353 enable_winemp3_acm
1354 enable_wineoss_drv
1355 enable_wineps_drv
1356 enable_winepulse_drv
1357 enable_wineqtdecoder
1358 enable_winex11_drv
1359 enable_wing32
1360 enable_winhttp
1361 enable_wininet
1362 enable_winmm
1363 enable_winnls32
1364 enable_winscard
1365 enable_winspool_drv
1366 enable_winsta
1367 enable_wintab32
1368 enable_wintrust
1369 enable_wlanapi
1370 enable_wldap32
1371 enable_wmi
1372 enable_wmiutils
1373 enable_wmp
1374 enable_wmvcore
1375 enable_wnaspi32
1376 enable_wpcap
1377 enable_ws2_32
1378 enable_wshom_ocx
1379 enable_wsnmp32
1380 enable_wsock32
1381 enable_wtsapi32
1382 enable_wuapi
1383 enable_wuaueng
1384 enable_x3daudio1_0
1385 enable_x3daudio1_1
1386 enable_x3daudio1_2
1387 enable_x3daudio1_3
1388 enable_x3daudio1_4
1389 enable_x3daudio1_5
1390 enable_x3daudio1_6
1391 enable_x3daudio1_7
1392 enable_xapofx1_1
1393 enable_xapofx1_2
1394 enable_xapofx1_3
1395 enable_xapofx1_4
1396 enable_xapofx1_5
1397 enable_xaudio2_0
1398 enable_xaudio2_1
1399 enable_xaudio2_2
1400 enable_xaudio2_3
1401 enable_xaudio2_4
1402 enable_xaudio2_5
1403 enable_xaudio2_6
1404 enable_xaudio2_7
1405 enable_xaudio2_8
1406 enable_xinput1_1
1407 enable_xinput1_2
1408 enable_xinput1_3
1409 enable_xinput1_4
1410 enable_xinput9_1_0
1411 enable_xmllite
1412 enable_xolehlp
1413 enable_xpsprint
1414 enable_xpssvcs
1415 enable_fonts
1416 enable_include
1417 enable_libs_port
1418 enable_libs_wine
1419 enable_libs_wpp
1420 enable_loader
1421 enable_arp
1422 enable_aspnet_regiis
1423 enable_attrib
1424 enable_cabarc
1425 enable_cacls
1426 enable_clock
1427 enable_cmd
1428 enable_conhost
1429 enable_control
1430 enable_cscript
1431 enable_dpnsvr
1432 enable_dxdiag
1433 enable_eject
1434 enable_expand
1435 enable_explorer
1436 enable_extrac32
1437 enable_findstr
1438 enable_hh
1439 enable_hostname
1440 enable_icinfo
1441 enable_iexplore
1442 enable_ipconfig
1443 enable_lodctr
1444 enable_mofcomp
1445 enable_mshta
1446 enable_msiexec
1447 enable_net
1448 enable_netsh
1449 enable_netstat
1450 enable_ngen
1451 enable_notepad
1452 enable_oleview
1453 enable_ping
1454 enable_plugplay
1455 enable_presentationfontcache
1456 enable_progman
1457 enable_reg
1458 enable_regasm
1459 enable_regedit
1460 enable_regsvcs
1461 enable_regsvr32
1462 enable_rpcss
1463 enable_rundll32
1464 enable_sc
1465 enable_schtasks
1466 enable_sdbinst
1467 enable_secedit
1468 enable_servicemodelreg
1469 enable_services
1470 enable_spoolsv
1471 enable_start
1472 enable_svchost
1473 enable_systeminfo
1474 enable_taskkill
1475 enable_tasklist
1476 enable_taskmgr
1477 enable_termsv
1478 enable_uninstaller
1479 enable_unlodctr
1480 enable_view
1481 enable_wevtutil
1482 enable_wineboot
1483 enable_winebrowser
1484 enable_winecfg
1485 enable_wineconsole
1486 enable_winedbg
1487 enable_winedevice
1488 enable_winefile
1489 enable_winemenubuilder
1490 enable_winemine
1491 enable_winemsibuilder
1492 enable_winepath
1493 enable_winetest
1494 enable_winhlp32
1495 enable_winver
1496 enable_wmic
1497 enable_wmplayer
1498 enable_wordpad
1499 enable_write
1500 enable_wscript
1501 enable_wusa
1502 enable_xcopy
1503 enable_server
1504 enable_tools
1506 ac_precious_vars='build_alias
1507 host_alias
1508 target_alias
1510 CFLAGS
1511 LDFLAGS
1512 LIBS
1513 CPPFLAGS
1515 CXXFLAGS
1518 XMKMF
1519 XML2_CFLAGS
1520 XML2_LIBS
1521 XSLT_CFLAGS
1522 XSLT_LIBS
1523 DBUS_CFLAGS
1524 DBUS_LIBS
1525 HAL_CFLAGS
1526 HAL_LIBS
1527 GNUTLS_CFLAGS
1528 GNUTLS_LIBS
1529 SANE_CFLAGS
1530 SANE_LIBS
1531 GPHOTO2_CFLAGS
1532 GPHOTO2_LIBS
1533 GPHOTO2_PORT_CFLAGS
1534 GPHOTO2_PORT_LIBS
1535 LCMS2_CFLAGS
1536 LCMS2_LIBS
1537 FREETYPE_CFLAGS
1538 FREETYPE_LIBS
1539 PULSE_CFLAGS
1540 PULSE_LIBS
1541 GSTREAMER_CFLAGS
1542 GSTREAMER_LIBS
1543 CAPI20_CFLAGS
1544 CAPI20_LIBS
1545 FONTCONFIG_CFLAGS
1546 FONTCONFIG_LIBS
1547 JPEG_CFLAGS
1548 JPEG_LIBS
1549 PNG_CFLAGS
1550 PNG_LIBS
1551 TIFF_CFLAGS
1552 TIFF_LIBS
1553 MPG123_CFLAGS
1554 MPG123_LIBS'
1557 # Initialize some variables set by options.
1558 ac_init_help=
1559 ac_init_version=false
1560 ac_unrecognized_opts=
1561 ac_unrecognized_sep=
1562 # The variables have the same names as the options, with
1563 # dashes changed to underlines.
1564 cache_file=/dev/null
1565 exec_prefix=NONE
1566 no_create=
1567 no_recursion=
1568 prefix=NONE
1569 program_prefix=NONE
1570 program_suffix=NONE
1571 program_transform_name=s,x,x,
1572 silent=
1573 site=
1574 srcdir=
1575 verbose=
1576 x_includes=NONE
1577 x_libraries=NONE
1579 # Installation directory options.
1580 # These are left unexpanded so users can "make install exec_prefix=/foo"
1581 # and all the variables that are supposed to be based on exec_prefix
1582 # by default will actually change.
1583 # Use braces instead of parens because sh, perl, etc. also accept them.
1584 # (The list follows the same order as the GNU Coding Standards.)
1585 bindir='${exec_prefix}/bin'
1586 sbindir='${exec_prefix}/sbin'
1587 libexecdir='${exec_prefix}/libexec'
1588 datarootdir='${prefix}/share'
1589 datadir='${datarootdir}'
1590 sysconfdir='${prefix}/etc'
1591 sharedstatedir='${prefix}/com'
1592 localstatedir='${prefix}/var'
1593 runstatedir='${localstatedir}/run'
1594 includedir='${prefix}/include'
1595 oldincludedir='/usr/include'
1596 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1597 infodir='${datarootdir}/info'
1598 htmldir='${docdir}'
1599 dvidir='${docdir}'
1600 pdfdir='${docdir}'
1601 psdir='${docdir}'
1602 libdir='${exec_prefix}/lib'
1603 localedir='${datarootdir}/locale'
1604 mandir='${datarootdir}/man'
1606 ac_prev=
1607 ac_dashdash=
1608 for ac_option
1610 # If the previous option needs an argument, assign it.
1611 if test -n "$ac_prev"; then
1612 eval $ac_prev=\$ac_option
1613 ac_prev=
1614 continue
1617 case $ac_option in
1618 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1619 *=) ac_optarg= ;;
1620 *) ac_optarg=yes ;;
1621 esac
1623 # Accept the important Cygnus configure options, so we can diagnose typos.
1625 case $ac_dashdash$ac_option in
1627 ac_dashdash=yes ;;
1629 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1630 ac_prev=bindir ;;
1631 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1632 bindir=$ac_optarg ;;
1634 -build | --build | --buil | --bui | --bu)
1635 ac_prev=build_alias ;;
1636 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1637 build_alias=$ac_optarg ;;
1639 -cache-file | --cache-file | --cache-fil | --cache-fi \
1640 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1641 ac_prev=cache_file ;;
1642 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1643 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1644 cache_file=$ac_optarg ;;
1646 --config-cache | -C)
1647 cache_file=config.cache ;;
1649 -datadir | --datadir | --datadi | --datad)
1650 ac_prev=datadir ;;
1651 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1652 datadir=$ac_optarg ;;
1654 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1655 | --dataroo | --dataro | --datar)
1656 ac_prev=datarootdir ;;
1657 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1658 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1659 datarootdir=$ac_optarg ;;
1661 -disable-* | --disable-*)
1662 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1663 # Reject names that are not valid shell variable names.
1664 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1665 as_fn_error $? "invalid feature name: $ac_useropt"
1666 ac_useropt_orig=$ac_useropt
1667 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1668 case $ac_user_opts in
1670 "enable_$ac_useropt"
1671 "*) ;;
1672 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1673 ac_unrecognized_sep=', ';;
1674 esac
1675 eval enable_$ac_useropt=no ;;
1677 -docdir | --docdir | --docdi | --doc | --do)
1678 ac_prev=docdir ;;
1679 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1680 docdir=$ac_optarg ;;
1682 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1683 ac_prev=dvidir ;;
1684 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1685 dvidir=$ac_optarg ;;
1687 -enable-* | --enable-*)
1688 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1689 # Reject names that are not valid shell variable names.
1690 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1691 as_fn_error $? "invalid feature name: $ac_useropt"
1692 ac_useropt_orig=$ac_useropt
1693 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1694 case $ac_user_opts in
1696 "enable_$ac_useropt"
1697 "*) ;;
1698 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1699 ac_unrecognized_sep=', ';;
1700 esac
1701 eval enable_$ac_useropt=\$ac_optarg ;;
1703 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1704 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1705 | --exec | --exe | --ex)
1706 ac_prev=exec_prefix ;;
1707 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1708 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1709 | --exec=* | --exe=* | --ex=*)
1710 exec_prefix=$ac_optarg ;;
1712 -gas | --gas | --ga | --g)
1713 # Obsolete; use --with-gas.
1714 with_gas=yes ;;
1716 -help | --help | --hel | --he | -h)
1717 ac_init_help=long ;;
1718 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1719 ac_init_help=recursive ;;
1720 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1721 ac_init_help=short ;;
1723 -host | --host | --hos | --ho)
1724 ac_prev=host_alias ;;
1725 -host=* | --host=* | --hos=* | --ho=*)
1726 host_alias=$ac_optarg ;;
1728 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1729 ac_prev=htmldir ;;
1730 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1731 | --ht=*)
1732 htmldir=$ac_optarg ;;
1734 -includedir | --includedir | --includedi | --included | --include \
1735 | --includ | --inclu | --incl | --inc)
1736 ac_prev=includedir ;;
1737 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1738 | --includ=* | --inclu=* | --incl=* | --inc=*)
1739 includedir=$ac_optarg ;;
1741 -infodir | --infodir | --infodi | --infod | --info | --inf)
1742 ac_prev=infodir ;;
1743 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1744 infodir=$ac_optarg ;;
1746 -libdir | --libdir | --libdi | --libd)
1747 ac_prev=libdir ;;
1748 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1749 libdir=$ac_optarg ;;
1751 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1752 | --libexe | --libex | --libe)
1753 ac_prev=libexecdir ;;
1754 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1755 | --libexe=* | --libex=* | --libe=*)
1756 libexecdir=$ac_optarg ;;
1758 -localedir | --localedir | --localedi | --localed | --locale)
1759 ac_prev=localedir ;;
1760 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1761 localedir=$ac_optarg ;;
1763 -localstatedir | --localstatedir | --localstatedi | --localstated \
1764 | --localstate | --localstat | --localsta | --localst | --locals)
1765 ac_prev=localstatedir ;;
1766 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1767 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1768 localstatedir=$ac_optarg ;;
1770 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1771 ac_prev=mandir ;;
1772 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1773 mandir=$ac_optarg ;;
1775 -nfp | --nfp | --nf)
1776 # Obsolete; use --without-fp.
1777 with_fp=no ;;
1779 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1780 | --no-cr | --no-c | -n)
1781 no_create=yes ;;
1783 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1784 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1785 no_recursion=yes ;;
1787 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1788 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1789 | --oldin | --oldi | --old | --ol | --o)
1790 ac_prev=oldincludedir ;;
1791 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1792 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1793 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1794 oldincludedir=$ac_optarg ;;
1796 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1797 ac_prev=prefix ;;
1798 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1799 prefix=$ac_optarg ;;
1801 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1802 | --program-pre | --program-pr | --program-p)
1803 ac_prev=program_prefix ;;
1804 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1805 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1806 program_prefix=$ac_optarg ;;
1808 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1809 | --program-suf | --program-su | --program-s)
1810 ac_prev=program_suffix ;;
1811 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1812 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1813 program_suffix=$ac_optarg ;;
1815 -program-transform-name | --program-transform-name \
1816 | --program-transform-nam | --program-transform-na \
1817 | --program-transform-n | --program-transform- \
1818 | --program-transform | --program-transfor \
1819 | --program-transfo | --program-transf \
1820 | --program-trans | --program-tran \
1821 | --progr-tra | --program-tr | --program-t)
1822 ac_prev=program_transform_name ;;
1823 -program-transform-name=* | --program-transform-name=* \
1824 | --program-transform-nam=* | --program-transform-na=* \
1825 | --program-transform-n=* | --program-transform-=* \
1826 | --program-transform=* | --program-transfor=* \
1827 | --program-transfo=* | --program-transf=* \
1828 | --program-trans=* | --program-tran=* \
1829 | --progr-tra=* | --program-tr=* | --program-t=*)
1830 program_transform_name=$ac_optarg ;;
1832 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1833 ac_prev=pdfdir ;;
1834 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1835 pdfdir=$ac_optarg ;;
1837 -psdir | --psdir | --psdi | --psd | --ps)
1838 ac_prev=psdir ;;
1839 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1840 psdir=$ac_optarg ;;
1842 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1843 | -silent | --silent | --silen | --sile | --sil)
1844 silent=yes ;;
1846 -runstatedir | --runstatedir | --runstatedi | --runstated \
1847 | --runstate | --runstat | --runsta | --runst | --runs \
1848 | --run | --ru | --r)
1849 ac_prev=runstatedir ;;
1850 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1851 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1852 | --run=* | --ru=* | --r=*)
1853 runstatedir=$ac_optarg ;;
1855 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1856 ac_prev=sbindir ;;
1857 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1858 | --sbi=* | --sb=*)
1859 sbindir=$ac_optarg ;;
1861 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1862 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1863 | --sharedst | --shareds | --shared | --share | --shar \
1864 | --sha | --sh)
1865 ac_prev=sharedstatedir ;;
1866 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1867 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1868 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1869 | --sha=* | --sh=*)
1870 sharedstatedir=$ac_optarg ;;
1872 -site | --site | --sit)
1873 ac_prev=site ;;
1874 -site=* | --site=* | --sit=*)
1875 site=$ac_optarg ;;
1877 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1878 ac_prev=srcdir ;;
1879 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1880 srcdir=$ac_optarg ;;
1882 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1883 | --syscon | --sysco | --sysc | --sys | --sy)
1884 ac_prev=sysconfdir ;;
1885 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1886 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1887 sysconfdir=$ac_optarg ;;
1889 -target | --target | --targe | --targ | --tar | --ta | --t)
1890 ac_prev=target_alias ;;
1891 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1892 target_alias=$ac_optarg ;;
1894 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1895 verbose=yes ;;
1897 -version | --version | --versio | --versi | --vers | -V)
1898 ac_init_version=: ;;
1900 -with-* | --with-*)
1901 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1902 # Reject names that are not valid shell variable names.
1903 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1904 as_fn_error $? "invalid package name: $ac_useropt"
1905 ac_useropt_orig=$ac_useropt
1906 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1907 case $ac_user_opts in
1909 "with_$ac_useropt"
1910 "*) ;;
1911 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1912 ac_unrecognized_sep=', ';;
1913 esac
1914 eval with_$ac_useropt=\$ac_optarg ;;
1916 -without-* | --without-*)
1917 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1918 # Reject names that are not valid shell variable names.
1919 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1920 as_fn_error $? "invalid package name: $ac_useropt"
1921 ac_useropt_orig=$ac_useropt
1922 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1923 case $ac_user_opts in
1925 "with_$ac_useropt"
1926 "*) ;;
1927 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1928 ac_unrecognized_sep=', ';;
1929 esac
1930 eval with_$ac_useropt=no ;;
1932 --x)
1933 # Obsolete; use --with-x.
1934 with_x=yes ;;
1936 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1937 | --x-incl | --x-inc | --x-in | --x-i)
1938 ac_prev=x_includes ;;
1939 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1940 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1941 x_includes=$ac_optarg ;;
1943 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1944 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1945 ac_prev=x_libraries ;;
1946 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1947 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1948 x_libraries=$ac_optarg ;;
1950 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1951 Try \`$0 --help' for more information"
1954 *=*)
1955 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1956 # Reject names that are not valid shell variable names.
1957 case $ac_envvar in #(
1958 '' | [0-9]* | *[!_$as_cr_alnum]* )
1959 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1960 esac
1961 eval $ac_envvar=\$ac_optarg
1962 export $ac_envvar ;;
1965 # FIXME: should be removed in autoconf 3.0.
1966 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1967 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1968 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1969 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1972 esac
1973 done
1975 if test -n "$ac_prev"; then
1976 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1977 as_fn_error $? "missing argument to $ac_option"
1980 if test -n "$ac_unrecognized_opts"; then
1981 case $enable_option_checking in
1982 no) ;;
1983 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1984 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1985 esac
1988 # Check all directory arguments for consistency.
1989 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1990 datadir sysconfdir sharedstatedir localstatedir includedir \
1991 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1992 libdir localedir mandir runstatedir
1994 eval ac_val=\$$ac_var
1995 # Remove trailing slashes.
1996 case $ac_val in
1997 */ )
1998 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1999 eval $ac_var=\$ac_val;;
2000 esac
2001 # Be sure to have absolute directory names.
2002 case $ac_val in
2003 [\\/$]* | ?:[\\/]* ) continue;;
2004 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2005 esac
2006 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2007 done
2009 # There might be people who depend on the old broken behavior: `$host'
2010 # used to hold the argument of --host etc.
2011 # FIXME: To remove some day.
2012 build=$build_alias
2013 host=$host_alias
2014 target=$target_alias
2016 # FIXME: To remove some day.
2017 if test "x$host_alias" != x; then
2018 if test "x$build_alias" = x; then
2019 cross_compiling=maybe
2020 elif test "x$build_alias" != "x$host_alias"; then
2021 cross_compiling=yes
2025 ac_tool_prefix=
2026 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2028 test "$silent" = yes && exec 6>/dev/null
2031 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2032 ac_ls_di=`ls -di .` &&
2033 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2034 as_fn_error $? "working directory cannot be determined"
2035 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2036 as_fn_error $? "pwd does not report name of working directory"
2039 # Find the source files, if location was not specified.
2040 if test -z "$srcdir"; then
2041 ac_srcdir_defaulted=yes
2042 # Try the directory containing this script, then the parent directory.
2043 ac_confdir=`$as_dirname -- "$as_myself" ||
2044 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2045 X"$as_myself" : 'X\(//\)[^/]' \| \
2046 X"$as_myself" : 'X\(//\)$' \| \
2047 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2048 $as_echo X"$as_myself" |
2049 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2050 s//\1/
2053 /^X\(\/\/\)[^/].*/{
2054 s//\1/
2057 /^X\(\/\/\)$/{
2058 s//\1/
2061 /^X\(\/\).*/{
2062 s//\1/
2065 s/.*/./; q'`
2066 srcdir=$ac_confdir
2067 if test ! -r "$srcdir/$ac_unique_file"; then
2068 srcdir=..
2070 else
2071 ac_srcdir_defaulted=no
2073 if test ! -r "$srcdir/$ac_unique_file"; then
2074 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2075 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2077 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2078 ac_abs_confdir=`(
2079 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2080 pwd)`
2081 # When building in place, set srcdir=.
2082 if test "$ac_abs_confdir" = "$ac_pwd"; then
2083 srcdir=.
2085 # Remove unnecessary trailing slashes from srcdir.
2086 # Double slashes in file names in object file debugging info
2087 # mess up M-x gdb in Emacs.
2088 case $srcdir in
2089 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2090 esac
2091 for ac_var in $ac_precious_vars; do
2092 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2093 eval ac_env_${ac_var}_value=\$${ac_var}
2094 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2095 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2096 done
2099 # Report the --help message.
2101 if test "$ac_init_help" = "long"; then
2102 # Omit some internal or obsolete options to make the list less imposing.
2103 # This message is too long to be a string in the A/UX 3.1 sh.
2104 cat <<_ACEOF
2105 \`configure' configures Wine 1.8.3 to adapt to many kinds of systems.
2107 Usage: $0 [OPTION]... [VAR=VALUE]...
2109 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2110 VAR=VALUE. See below for descriptions of some of the useful variables.
2112 Defaults for the options are specified in brackets.
2114 Configuration:
2115 -h, --help display this help and exit
2116 --help=short display options specific to this package
2117 --help=recursive display the short help of all the included packages
2118 -V, --version display version information and exit
2119 -q, --quiet, --silent do not print \`checking ...' messages
2120 --cache-file=FILE cache test results in FILE [disabled]
2121 -C, --config-cache alias for \`--cache-file=config.cache'
2122 -n, --no-create do not create output files
2123 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2125 Installation directories:
2126 --prefix=PREFIX install architecture-independent files in PREFIX
2127 [$ac_default_prefix]
2128 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2129 [PREFIX]
2131 By default, \`make install' will install all the files in
2132 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2133 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2134 for instance \`--prefix=\$HOME'.
2136 For better control, use the options below.
2138 Fine tuning of the installation directories:
2139 --bindir=DIR user executables [EPREFIX/bin]
2140 --sbindir=DIR system admin executables [EPREFIX/sbin]
2141 --libexecdir=DIR program executables [EPREFIX/libexec]
2142 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2143 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2144 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2145 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2146 --libdir=DIR object code libraries [EPREFIX/lib]
2147 --includedir=DIR C header files [PREFIX/include]
2148 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2149 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2150 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2151 --infodir=DIR info documentation [DATAROOTDIR/info]
2152 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2153 --mandir=DIR man documentation [DATAROOTDIR/man]
2154 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2155 --htmldir=DIR html documentation [DOCDIR]
2156 --dvidir=DIR dvi documentation [DOCDIR]
2157 --pdfdir=DIR pdf documentation [DOCDIR]
2158 --psdir=DIR ps documentation [DOCDIR]
2159 _ACEOF
2161 cat <<\_ACEOF
2163 X features:
2164 --x-includes=DIR X include files are in DIR
2165 --x-libraries=DIR X library files are in DIR
2167 System types:
2168 --build=BUILD configure for building on BUILD [guessed]
2169 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2170 _ACEOF
2173 if test -n "$ac_init_help"; then
2174 case $ac_init_help in
2175 short | recursive ) echo "Configuration of Wine 1.8.3:";;
2176 esac
2177 cat <<\_ACEOF
2179 Optional Features:
2180 --disable-option-checking ignore unrecognized --enable/--with options
2181 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2182 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2183 --disable-win16 do not include Win16 support
2184 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2185 binaries)
2186 --disable-tests do not build the regression tests
2187 --enable-maintainer-mode
2188 enable maintainer-specific build rules
2189 --disable-largefile omit support for large files
2191 Optional Packages:
2192 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2193 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2194 --without-alsa do not use the Alsa sound support
2195 --without-capi do not use CAPI (ISDN support)
2196 --without-cms do not use CMS (color management support)
2197 --without-coreaudio do not use the CoreAudio sound support
2198 --without-cups do not use CUPS
2199 --without-curses do not use (n)curses
2200 --without-dbus do not use DBus (dynamic device support)
2201 --without-fontconfig do not use fontconfig
2202 --without-freetype do not use the FreeType library
2203 --without-gettext do not use gettext
2204 --with-gettextpo use the GetTextPO library to rebuild po files
2205 --without-gphoto do not use gphoto (Digital Camera support)
2206 --without-glu do not use the GLU library
2207 --without-gnutls do not use GnuTLS (schannel support)
2208 --without-gsm do not use libgsm (GSM 06.10 codec support)
2209 --without-gstreamer do not use GStreamer (codecs support)
2210 --without-hal do not use HAL (dynamic device support)
2211 --without-jpeg do not use JPEG
2212 --without-ldap do not use LDAP
2213 --without-mpg123 do not use the mpg123 library
2214 --without-netapi do not use the Samba NetAPI library
2215 --without-openal do not use OpenAL
2216 --without-opencl do not use OpenCL
2217 --without-opengl do not use OpenGL
2218 --without-osmesa do not use the OSMesa library
2219 --without-oss do not use the OSS sound support
2220 --without-pcap do not use the Packet Capture library
2221 --without-png do not use PNG
2222 --without-pthread do not use the pthread library
2223 --without-pulse do not use PulseAudio sound support
2224 --without-sane do not use SANE (scanner support)
2225 --without-tiff do not use TIFF
2226 --without-v4l do not use v4l1 (v4l support)
2227 --without-xcomposite do not use the Xcomposite extension
2228 --without-xcursor do not use the Xcursor extension
2229 --without-xinerama do not use Xinerama (multi-monitor support)
2230 --without-xinput do not use the Xinput extension
2231 --without-xinput2 do not use the Xinput 2 extension
2232 --without-xml do not use XML
2233 --without-xrandr do not use Xrandr (resolution changes)
2234 --without-xrender do not use the Xrender extension
2235 --without-xshape do not use the Xshape extension
2236 --without-xshm do not use XShm (shared memory extension)
2237 --without-xslt do not use XSLT
2238 --without-xxf86vm do not use XFree video mode extension
2239 --without-zlib do not use Zlib (data compression)
2240 --with-wine-tools=DIR use Wine tools from directory DIR
2241 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2242 --with-x use the X Window System
2244 Some influential environment variables:
2245 CC C compiler command
2246 CFLAGS C compiler flags
2247 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2248 nonstandard directory <lib dir>
2249 LIBS libraries to pass to the linker, e.g. -l<library>
2250 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2251 you have headers in a nonstandard directory <include dir>
2252 CXX C++ compiler command
2253 CXXFLAGS C++ compiler flags
2254 CPP C preprocessor
2255 XMKMF Path to xmkmf, Makefile generator for X Window System
2256 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2257 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2258 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2259 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2260 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2261 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2262 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2263 HAL_LIBS Linker flags for hal, overriding pkg-config
2264 GNUTLS_CFLAGS
2265 C compiler flags for gnutls, overriding pkg-config
2266 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2267 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2268 SANE_LIBS Linker flags for libsane, overriding pkg-config
2269 GPHOTO2_CFLAGS
2270 C compiler flags for libgphoto2, overriding pkg-config
2271 GPHOTO2_LIBS
2272 Linker flags for libgphoto2, overriding pkg-config
2273 GPHOTO2_PORT_CFLAGS
2274 C compiler flags for libgphoto2_port, overriding pkg-config
2275 GPHOTO2_PORT_LIBS
2276 Linker flags for libgphoto2_port, overriding pkg-config
2277 LCMS2_CFLAGS
2278 C compiler flags for lcms2, overriding pkg-config
2279 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2280 FREETYPE_CFLAGS
2281 C compiler flags for freetype2, overriding pkg-config
2282 FREETYPE_LIBS
2283 Linker flags for freetype2, overriding pkg-config
2284 PULSE_CFLAGS
2285 C compiler flags for libpulse, overriding pkg-config
2286 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2287 GSTREAMER_CFLAGS
2288 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2289 GSTREAMER_LIBS
2290 Linker flags for gstreamer-app-0.10, overriding pkg-config
2291 CAPI20_CFLAGS
2292 C compiler flags for capi20, overriding pkg-config
2293 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2294 FONTCONFIG_CFLAGS
2295 C compiler flags for fontconfig, overriding pkg-config
2296 FONTCONFIG_LIBS
2297 Linker flags for fontconfig, overriding pkg-config
2298 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2299 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2300 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2301 PNG_LIBS Linker flags for libpng, overriding pkg-config
2302 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2303 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2304 MPG123_CFLAGS
2305 C compiler flags for libmpg123, overriding pkg-config
2306 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2308 Use these variables to override the choices made by `configure' or to help
2309 it to find libraries and programs with nonstandard names/locations.
2311 Report bugs to <wine-devel@winehq.org>.
2312 Wine home page: <http://www.winehq.org>.
2313 _ACEOF
2314 ac_status=$?
2317 if test "$ac_init_help" = "recursive"; then
2318 # If there are subdirs, report their specific --help.
2319 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2320 test -d "$ac_dir" ||
2321 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2322 continue
2323 ac_builddir=.
2325 case "$ac_dir" in
2326 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2328 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2329 # A ".." for each directory in $ac_dir_suffix.
2330 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2331 case $ac_top_builddir_sub in
2332 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2333 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2334 esac ;;
2335 esac
2336 ac_abs_top_builddir=$ac_pwd
2337 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2338 # for backward compatibility:
2339 ac_top_builddir=$ac_top_build_prefix
2341 case $srcdir in
2342 .) # We are building in place.
2343 ac_srcdir=.
2344 ac_top_srcdir=$ac_top_builddir_sub
2345 ac_abs_top_srcdir=$ac_pwd ;;
2346 [\\/]* | ?:[\\/]* ) # Absolute name.
2347 ac_srcdir=$srcdir$ac_dir_suffix;
2348 ac_top_srcdir=$srcdir
2349 ac_abs_top_srcdir=$srcdir ;;
2350 *) # Relative name.
2351 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2352 ac_top_srcdir=$ac_top_build_prefix$srcdir
2353 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2354 esac
2355 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2357 cd "$ac_dir" || { ac_status=$?; continue; }
2358 # Check for guested configure.
2359 if test -f "$ac_srcdir/configure.gnu"; then
2360 echo &&
2361 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2362 elif test -f "$ac_srcdir/configure"; then
2363 echo &&
2364 $SHELL "$ac_srcdir/configure" --help=recursive
2365 else
2366 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2367 fi || ac_status=$?
2368 cd "$ac_pwd" || { ac_status=$?; break; }
2369 done
2372 test -n "$ac_init_help" && exit $ac_status
2373 if $ac_init_version; then
2374 cat <<\_ACEOF
2375 Wine configure 1.8.3
2376 generated by GNU Autoconf 2.69
2378 Copyright (C) 2012 Free Software Foundation, Inc.
2379 This configure script is free software; the Free Software Foundation
2380 gives unlimited permission to copy, distribute and modify it.
2381 _ACEOF
2382 exit
2385 ## ------------------------ ##
2386 ## Autoconf initialization. ##
2387 ## ------------------------ ##
2389 # ac_fn_c_try_compile LINENO
2390 # --------------------------
2391 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2392 ac_fn_c_try_compile ()
2394 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2395 rm -f conftest.$ac_objext
2396 if { { ac_try="$ac_compile"
2397 case "(($ac_try" in
2398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2399 *) ac_try_echo=$ac_try;;
2400 esac
2401 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2402 $as_echo "$ac_try_echo"; } >&5
2403 (eval "$ac_compile") 2>conftest.err
2404 ac_status=$?
2405 if test -s conftest.err; then
2406 grep -v '^ *+' conftest.err >conftest.er1
2407 cat conftest.er1 >&5
2408 mv -f conftest.er1 conftest.err
2410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2411 test $ac_status = 0; } && {
2412 test -z "$ac_c_werror_flag" ||
2413 test ! -s conftest.err
2414 } && test -s conftest.$ac_objext; then :
2415 ac_retval=0
2416 else
2417 $as_echo "$as_me: failed program was:" >&5
2418 sed 's/^/| /' conftest.$ac_ext >&5
2420 ac_retval=1
2422 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2423 as_fn_set_status $ac_retval
2425 } # ac_fn_c_try_compile
2427 # ac_fn_cxx_try_compile LINENO
2428 # ----------------------------
2429 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2430 ac_fn_cxx_try_compile ()
2432 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2433 rm -f conftest.$ac_objext
2434 if { { ac_try="$ac_compile"
2435 case "(($ac_try" in
2436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2437 *) ac_try_echo=$ac_try;;
2438 esac
2439 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2440 $as_echo "$ac_try_echo"; } >&5
2441 (eval "$ac_compile") 2>conftest.err
2442 ac_status=$?
2443 if test -s conftest.err; then
2444 grep -v '^ *+' conftest.err >conftest.er1
2445 cat conftest.er1 >&5
2446 mv -f conftest.er1 conftest.err
2448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2449 test $ac_status = 0; } && {
2450 test -z "$ac_cxx_werror_flag" ||
2451 test ! -s conftest.err
2452 } && test -s conftest.$ac_objext; then :
2453 ac_retval=0
2454 else
2455 $as_echo "$as_me: failed program was:" >&5
2456 sed 's/^/| /' conftest.$ac_ext >&5
2458 ac_retval=1
2460 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2461 as_fn_set_status $ac_retval
2463 } # ac_fn_cxx_try_compile
2465 # ac_fn_c_try_link LINENO
2466 # -----------------------
2467 # Try to link conftest.$ac_ext, and return whether this succeeded.
2468 ac_fn_c_try_link ()
2470 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2471 rm -f conftest.$ac_objext conftest$ac_exeext
2472 if { { ac_try="$ac_link"
2473 case "(($ac_try" in
2474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2475 *) ac_try_echo=$ac_try;;
2476 esac
2477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2478 $as_echo "$ac_try_echo"; } >&5
2479 (eval "$ac_link") 2>conftest.err
2480 ac_status=$?
2481 if test -s conftest.err; then
2482 grep -v '^ *+' conftest.err >conftest.er1
2483 cat conftest.er1 >&5
2484 mv -f conftest.er1 conftest.err
2486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2487 test $ac_status = 0; } && {
2488 test -z "$ac_c_werror_flag" ||
2489 test ! -s conftest.err
2490 } && test -s conftest$ac_exeext && {
2491 test "$cross_compiling" = yes ||
2492 test -x conftest$ac_exeext
2493 }; then :
2494 ac_retval=0
2495 else
2496 $as_echo "$as_me: failed program was:" >&5
2497 sed 's/^/| /' conftest.$ac_ext >&5
2499 ac_retval=1
2501 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2502 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2503 # interfere with the next link command; also delete a directory that is
2504 # left behind by Apple's compiler. We do this before executing the actions.
2505 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2506 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2507 as_fn_set_status $ac_retval
2509 } # ac_fn_c_try_link
2511 # ac_fn_c_try_cpp LINENO
2512 # ----------------------
2513 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2514 ac_fn_c_try_cpp ()
2516 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2517 if { { ac_try="$ac_cpp conftest.$ac_ext"
2518 case "(($ac_try" in
2519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2520 *) ac_try_echo=$ac_try;;
2521 esac
2522 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2523 $as_echo "$ac_try_echo"; } >&5
2524 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2525 ac_status=$?
2526 if test -s conftest.err; then
2527 grep -v '^ *+' conftest.err >conftest.er1
2528 cat conftest.er1 >&5
2529 mv -f conftest.er1 conftest.err
2531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2532 test $ac_status = 0; } > conftest.i && {
2533 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2534 test ! -s conftest.err
2535 }; then :
2536 ac_retval=0
2537 else
2538 $as_echo "$as_me: failed program was:" >&5
2539 sed 's/^/| /' conftest.$ac_ext >&5
2541 ac_retval=1
2543 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2544 as_fn_set_status $ac_retval
2546 } # ac_fn_c_try_cpp
2548 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2549 # -------------------------------------------------------
2550 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2551 # the include files in INCLUDES and setting the cache variable VAR
2552 # accordingly.
2553 ac_fn_c_check_header_mongrel ()
2555 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2556 if eval \${$3+:} false; then :
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2558 $as_echo_n "checking for $2... " >&6; }
2559 if eval \${$3+:} false; then :
2560 $as_echo_n "(cached) " >&6
2562 eval ac_res=\$$3
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2564 $as_echo "$ac_res" >&6; }
2565 else
2566 # Is the header compilable?
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2568 $as_echo_n "checking $2 usability... " >&6; }
2569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2570 /* end confdefs.h. */
2572 #include <$2>
2573 _ACEOF
2574 if ac_fn_c_try_compile "$LINENO"; then :
2575 ac_header_compiler=yes
2576 else
2577 ac_header_compiler=no
2579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2581 $as_echo "$ac_header_compiler" >&6; }
2583 # Is the header present?
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2585 $as_echo_n "checking $2 presence... " >&6; }
2586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2587 /* end confdefs.h. */
2588 #include <$2>
2589 _ACEOF
2590 if ac_fn_c_try_cpp "$LINENO"; then :
2591 ac_header_preproc=yes
2592 else
2593 ac_header_preproc=no
2595 rm -f conftest.err conftest.i conftest.$ac_ext
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2597 $as_echo "$ac_header_preproc" >&6; }
2599 # So? What about this header?
2600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2601 yes:no: )
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2603 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2605 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2607 no:yes:* )
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2609 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2611 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2613 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2615 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2617 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2618 ( $as_echo "## ------------------------------------ ##
2619 ## Report this to wine-devel@winehq.org ##
2620 ## ------------------------------------ ##"
2621 ) | sed "s/^/$as_me: WARNING: /" >&2
2623 esac
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2625 $as_echo_n "checking for $2... " >&6; }
2626 if eval \${$3+:} false; then :
2627 $as_echo_n "(cached) " >&6
2628 else
2629 eval "$3=\$ac_header_compiler"
2631 eval ac_res=\$$3
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2633 $as_echo "$ac_res" >&6; }
2635 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2637 } # ac_fn_c_check_header_mongrel
2639 # ac_fn_c_try_run LINENO
2640 # ----------------------
2641 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2642 # that executables *can* be run.
2643 ac_fn_c_try_run ()
2645 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2646 if { { ac_try="$ac_link"
2647 case "(($ac_try" in
2648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2649 *) ac_try_echo=$ac_try;;
2650 esac
2651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2652 $as_echo "$ac_try_echo"; } >&5
2653 (eval "$ac_link") 2>&5
2654 ac_status=$?
2655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2656 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2657 { { case "(($ac_try" in
2658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2659 *) ac_try_echo=$ac_try;;
2660 esac
2661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2662 $as_echo "$ac_try_echo"; } >&5
2663 (eval "$ac_try") 2>&5
2664 ac_status=$?
2665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2666 test $ac_status = 0; }; }; then :
2667 ac_retval=0
2668 else
2669 $as_echo "$as_me: program exited with status $ac_status" >&5
2670 $as_echo "$as_me: failed program was:" >&5
2671 sed 's/^/| /' conftest.$ac_ext >&5
2673 ac_retval=$ac_status
2675 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2676 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2677 as_fn_set_status $ac_retval
2679 } # ac_fn_c_try_run
2681 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2682 # -------------------------------------------------------
2683 # Tests whether HEADER exists and can be compiled using the include files in
2684 # INCLUDES, setting the cache variable VAR accordingly.
2685 ac_fn_c_check_header_compile ()
2687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2689 $as_echo_n "checking for $2... " >&6; }
2690 if eval \${$3+:} false; then :
2691 $as_echo_n "(cached) " >&6
2692 else
2693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2694 /* end confdefs.h. */
2696 #include <$2>
2697 _ACEOF
2698 if ac_fn_c_try_compile "$LINENO"; then :
2699 eval "$3=yes"
2700 else
2701 eval "$3=no"
2703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2705 eval ac_res=\$$3
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2707 $as_echo "$ac_res" >&6; }
2708 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2710 } # ac_fn_c_check_header_compile
2712 # ac_fn_c_check_func LINENO FUNC VAR
2713 # ----------------------------------
2714 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2715 ac_fn_c_check_func ()
2717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2719 $as_echo_n "checking for $2... " >&6; }
2720 if eval \${$3+:} false; then :
2721 $as_echo_n "(cached) " >&6
2722 else
2723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2724 /* end confdefs.h. */
2725 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2727 #define $2 innocuous_$2
2729 /* System header to define __stub macros and hopefully few prototypes,
2730 which can conflict with char $2 (); below.
2731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2732 <limits.h> exists even on freestanding compilers. */
2734 #ifdef __STDC__
2735 # include <limits.h>
2736 #else
2737 # include <assert.h>
2738 #endif
2740 #undef $2
2742 /* Override any GCC internal prototype to avoid an error.
2743 Use char because int might match the return type of a GCC
2744 builtin and then its argument prototype would still apply. */
2745 #ifdef __cplusplus
2746 extern "C"
2747 #endif
2748 char $2 ();
2749 /* The GNU C library defines this for functions which it implements
2750 to always fail with ENOSYS. Some functions are actually named
2751 something starting with __ and the normal name is an alias. */
2752 #if defined __stub_$2 || defined __stub___$2
2753 choke me
2754 #endif
2757 main ()
2759 return $2 ();
2761 return 0;
2763 _ACEOF
2764 if ac_fn_c_try_link "$LINENO"; then :
2765 eval "$3=yes"
2766 else
2767 eval "$3=no"
2769 rm -f core conftest.err conftest.$ac_objext \
2770 conftest$ac_exeext conftest.$ac_ext
2772 eval ac_res=\$$3
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2774 $as_echo "$ac_res" >&6; }
2775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2777 } # ac_fn_c_check_func
2779 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2780 # ----------------------------------------------------
2781 # Tries to find if the field MEMBER exists in type AGGR, after including
2782 # INCLUDES, setting cache variable VAR accordingly.
2783 ac_fn_c_check_member ()
2785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2787 $as_echo_n "checking for $2.$3... " >&6; }
2788 if eval \${$4+:} false; then :
2789 $as_echo_n "(cached) " >&6
2790 else
2791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2792 /* end confdefs.h. */
2795 main ()
2797 static $2 ac_aggr;
2798 if (ac_aggr.$3)
2799 return 0;
2801 return 0;
2803 _ACEOF
2804 if ac_fn_c_try_compile "$LINENO"; then :
2805 eval "$4=yes"
2806 else
2807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2808 /* end confdefs.h. */
2811 main ()
2813 static $2 ac_aggr;
2814 if (sizeof ac_aggr.$3)
2815 return 0;
2817 return 0;
2819 _ACEOF
2820 if ac_fn_c_try_compile "$LINENO"; then :
2821 eval "$4=yes"
2822 else
2823 eval "$4=no"
2825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2829 eval ac_res=\$$4
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2831 $as_echo "$ac_res" >&6; }
2832 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2834 } # ac_fn_c_check_member
2836 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2837 # -------------------------------------------
2838 # Tests whether TYPE exists after having included INCLUDES, setting cache
2839 # variable VAR accordingly.
2840 ac_fn_c_check_type ()
2842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2844 $as_echo_n "checking for $2... " >&6; }
2845 if eval \${$3+:} false; then :
2846 $as_echo_n "(cached) " >&6
2847 else
2848 eval "$3=no"
2849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2850 /* end confdefs.h. */
2853 main ()
2855 if (sizeof ($2))
2856 return 0;
2858 return 0;
2860 _ACEOF
2861 if ac_fn_c_try_compile "$LINENO"; then :
2862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2863 /* end confdefs.h. */
2866 main ()
2868 if (sizeof (($2)))
2869 return 0;
2871 return 0;
2873 _ACEOF
2874 if ac_fn_c_try_compile "$LINENO"; then :
2876 else
2877 eval "$3=yes"
2879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2883 eval ac_res=\$$3
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2885 $as_echo "$ac_res" >&6; }
2886 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2888 } # ac_fn_c_check_type
2889 cat >config.log <<_ACEOF
2890 This file contains any messages produced by compilers while
2891 running configure, to aid debugging if configure makes a mistake.
2893 It was created by Wine $as_me 1.8.3, which was
2894 generated by GNU Autoconf 2.69. Invocation command line was
2896 $ $0 $@
2898 _ACEOF
2899 exec 5>>config.log
2901 cat <<_ASUNAME
2902 ## --------- ##
2903 ## Platform. ##
2904 ## --------- ##
2906 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2907 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2908 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2909 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2910 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2912 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2913 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2915 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2916 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2917 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2918 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2919 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2920 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2921 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2923 _ASUNAME
2925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2926 for as_dir in $PATH
2928 IFS=$as_save_IFS
2929 test -z "$as_dir" && as_dir=.
2930 $as_echo "PATH: $as_dir"
2931 done
2932 IFS=$as_save_IFS
2934 } >&5
2936 cat >&5 <<_ACEOF
2939 ## ----------- ##
2940 ## Core tests. ##
2941 ## ----------- ##
2943 _ACEOF
2946 # Keep a trace of the command line.
2947 # Strip out --no-create and --no-recursion so they do not pile up.
2948 # Strip out --silent because we don't want to record it for future runs.
2949 # Also quote any args containing shell meta-characters.
2950 # Make two passes to allow for proper duplicate-argument suppression.
2951 ac_configure_args=
2952 ac_configure_args0=
2953 ac_configure_args1=
2954 ac_must_keep_next=false
2955 for ac_pass in 1 2
2957 for ac_arg
2959 case $ac_arg in
2960 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2961 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2962 | -silent | --silent | --silen | --sile | --sil)
2963 continue ;;
2964 *\'*)
2965 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2966 esac
2967 case $ac_pass in
2968 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2970 as_fn_append ac_configure_args1 " '$ac_arg'"
2971 if test $ac_must_keep_next = true; then
2972 ac_must_keep_next=false # Got value, back to normal.
2973 else
2974 case $ac_arg in
2975 *=* | --config-cache | -C | -disable-* | --disable-* \
2976 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2977 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2978 | -with-* | --with-* | -without-* | --without-* | --x)
2979 case "$ac_configure_args0 " in
2980 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2981 esac
2983 -* ) ac_must_keep_next=true ;;
2984 esac
2986 as_fn_append ac_configure_args " '$ac_arg'"
2988 esac
2989 done
2990 done
2991 { ac_configure_args0=; unset ac_configure_args0;}
2992 { ac_configure_args1=; unset ac_configure_args1;}
2994 # When interrupted or exit'd, cleanup temporary files, and complete
2995 # config.log. We remove comments because anyway the quotes in there
2996 # would cause problems or look ugly.
2997 # WARNING: Use '\'' to represent an apostrophe within the trap.
2998 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2999 trap 'exit_status=$?
3000 # Save into config.log some information that might help in debugging.
3002 echo
3004 $as_echo "## ---------------- ##
3005 ## Cache variables. ##
3006 ## ---------------- ##"
3007 echo
3008 # The following way of writing the cache mishandles newlines in values,
3010 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3011 eval ac_val=\$$ac_var
3012 case $ac_val in #(
3013 *${as_nl}*)
3014 case $ac_var in #(
3015 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3016 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3017 esac
3018 case $ac_var in #(
3019 _ | IFS | as_nl) ;; #(
3020 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3021 *) { eval $ac_var=; unset $ac_var;} ;;
3022 esac ;;
3023 esac
3024 done
3025 (set) 2>&1 |
3026 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3027 *${as_nl}ac_space=\ *)
3028 sed -n \
3029 "s/'\''/'\''\\\\'\'''\''/g;
3030 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3031 ;; #(
3033 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3035 esac |
3036 sort
3038 echo
3040 $as_echo "## ----------------- ##
3041 ## Output variables. ##
3042 ## ----------------- ##"
3043 echo
3044 for ac_var in $ac_subst_vars
3046 eval ac_val=\$$ac_var
3047 case $ac_val in
3048 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3049 esac
3050 $as_echo "$ac_var='\''$ac_val'\''"
3051 done | sort
3052 echo
3054 if test -n "$ac_subst_files"; then
3055 $as_echo "## ------------------- ##
3056 ## File substitutions. ##
3057 ## ------------------- ##"
3058 echo
3059 for ac_var in $ac_subst_files
3061 eval ac_val=\$$ac_var
3062 case $ac_val in
3063 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3064 esac
3065 $as_echo "$ac_var='\''$ac_val'\''"
3066 done | sort
3067 echo
3070 if test -s confdefs.h; then
3071 $as_echo "## ----------- ##
3072 ## confdefs.h. ##
3073 ## ----------- ##"
3074 echo
3075 cat confdefs.h
3076 echo
3078 test "$ac_signal" != 0 &&
3079 $as_echo "$as_me: caught signal $ac_signal"
3080 $as_echo "$as_me: exit $exit_status"
3081 } >&5
3082 rm -f core *.core core.conftest.* &&
3083 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3084 exit $exit_status
3086 for ac_signal in 1 2 13 15; do
3087 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3088 done
3089 ac_signal=0
3091 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3092 rm -f -r conftest* confdefs.h
3094 $as_echo "/* confdefs.h */" > confdefs.h
3096 # Predefined preprocessor variables.
3098 cat >>confdefs.h <<_ACEOF
3099 #define PACKAGE_NAME "$PACKAGE_NAME"
3100 _ACEOF
3102 cat >>confdefs.h <<_ACEOF
3103 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3104 _ACEOF
3106 cat >>confdefs.h <<_ACEOF
3107 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3108 _ACEOF
3110 cat >>confdefs.h <<_ACEOF
3111 #define PACKAGE_STRING "$PACKAGE_STRING"
3112 _ACEOF
3114 cat >>confdefs.h <<_ACEOF
3115 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3116 _ACEOF
3118 cat >>confdefs.h <<_ACEOF
3119 #define PACKAGE_URL "$PACKAGE_URL"
3120 _ACEOF
3123 # Let the site file select an alternate cache file if it wants to.
3124 # Prefer an explicitly selected file to automatically selected ones.
3125 ac_site_file1=NONE
3126 ac_site_file2=NONE
3127 if test -n "$CONFIG_SITE"; then
3128 # We do not want a PATH search for config.site.
3129 case $CONFIG_SITE in #((
3130 -*) ac_site_file1=./$CONFIG_SITE;;
3131 */*) ac_site_file1=$CONFIG_SITE;;
3132 *) ac_site_file1=./$CONFIG_SITE;;
3133 esac
3134 elif test "x$prefix" != xNONE; then
3135 ac_site_file1=$prefix/share/config.site
3136 ac_site_file2=$prefix/etc/config.site
3137 else
3138 ac_site_file1=$ac_default_prefix/share/config.site
3139 ac_site_file2=$ac_default_prefix/etc/config.site
3141 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3143 test "x$ac_site_file" = xNONE && continue
3144 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3146 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3147 sed 's/^/| /' "$ac_site_file" >&5
3148 . "$ac_site_file" \
3149 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3151 as_fn_error $? "failed to load site script $ac_site_file
3152 See \`config.log' for more details" "$LINENO" 5; }
3154 done
3156 if test -r "$cache_file"; then
3157 # Some versions of bash will fail to source /dev/null (special files
3158 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3159 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3161 $as_echo "$as_me: loading cache $cache_file" >&6;}
3162 case $cache_file in
3163 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3164 *) . "./$cache_file";;
3165 esac
3167 else
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3169 $as_echo "$as_me: creating cache $cache_file" >&6;}
3170 >$cache_file
3173 # Check that the precious variables saved in the cache have kept the same
3174 # value.
3175 ac_cache_corrupted=false
3176 for ac_var in $ac_precious_vars; do
3177 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3178 eval ac_new_set=\$ac_env_${ac_var}_set
3179 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3180 eval ac_new_val=\$ac_env_${ac_var}_value
3181 case $ac_old_set,$ac_new_set in
3182 set,)
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3184 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3185 ac_cache_corrupted=: ;;
3186 ,set)
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3188 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3189 ac_cache_corrupted=: ;;
3190 ,);;
3192 if test "x$ac_old_val" != "x$ac_new_val"; then
3193 # differences in whitespace do not lead to failure.
3194 ac_old_val_w=`echo x $ac_old_val`
3195 ac_new_val_w=`echo x $ac_new_val`
3196 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3198 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3199 ac_cache_corrupted=:
3200 else
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3202 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3203 eval $ac_var=\$ac_old_val
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3206 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3208 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3209 fi;;
3210 esac
3211 # Pass precious variables to config.status.
3212 if test "$ac_new_set" = set; then
3213 case $ac_new_val in
3214 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3215 *) ac_arg=$ac_var=$ac_new_val ;;
3216 esac
3217 case " $ac_configure_args " in
3218 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3219 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3220 esac
3222 done
3223 if $ac_cache_corrupted; then
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3227 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3228 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3230 ## -------------------- ##
3231 ## Main body of script. ##
3232 ## -------------------- ##
3234 ac_ext=c
3235 ac_cpp='$CPP $CPPFLAGS'
3236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3242 ac_config_headers="$ac_config_headers include/config.h"
3244 ac_aux_dir=
3245 for ac_dir in tools "$srcdir"/tools; do
3246 if test -f "$ac_dir/install-sh"; then
3247 ac_aux_dir=$ac_dir
3248 ac_install_sh="$ac_aux_dir/install-sh -c"
3249 break
3250 elif test -f "$ac_dir/install.sh"; then
3251 ac_aux_dir=$ac_dir
3252 ac_install_sh="$ac_aux_dir/install.sh -c"
3253 break
3254 elif test -f "$ac_dir/shtool"; then
3255 ac_aux_dir=$ac_dir
3256 ac_install_sh="$ac_aux_dir/shtool install -c"
3257 break
3259 done
3260 if test -z "$ac_aux_dir"; then
3261 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3264 # These three variables are undocumented and unsupported,
3265 # and are intended to be withdrawn in a future Autoconf release.
3266 # They can cause serious problems if a builder's source tree is in a directory
3267 # whose full name contains unusual characters.
3268 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3269 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3270 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3274 libwine_version="1.0"
3278 # Check whether --enable-win16 was given.
3279 if test "${enable_win16+set}" = set; then :
3280 enableval=$enable_win16;
3283 # Check whether --enable-win64 was given.
3284 if test "${enable_win64+set}" = set; then :
3285 enableval=$enable_win64;
3288 # Check whether --enable-tests was given.
3289 if test "${enable_tests+set}" = set; then :
3290 enableval=$enable_tests;
3293 # Check whether --enable-maintainer-mode was given.
3294 if test "${enable_maintainer_mode+set}" = set; then :
3295 enableval=$enable_maintainer_mode;
3300 # Check whether --with-alsa was given.
3301 if test "${with_alsa+set}" = set; then :
3302 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3306 # Check whether --with-capi was given.
3307 if test "${with_capi+set}" = set; then :
3308 withval=$with_capi;
3312 # Check whether --with-cms was given.
3313 if test "${with_cms+set}" = set; then :
3314 withval=$with_cms;
3318 # Check whether --with-coreaudio was given.
3319 if test "${with_coreaudio+set}" = set; then :
3320 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3324 # Check whether --with-cups was given.
3325 if test "${with_cups+set}" = set; then :
3326 withval=$with_cups;
3330 # Check whether --with-curses was given.
3331 if test "${with_curses+set}" = set; then :
3332 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3336 # Check whether --with-dbus was given.
3337 if test "${with_dbus+set}" = set; then :
3338 withval=$with_dbus;
3342 # Check whether --with-fontconfig was given.
3343 if test "${with_fontconfig+set}" = set; then :
3344 withval=$with_fontconfig;
3348 # Check whether --with-freetype was given.
3349 if test "${with_freetype+set}" = set; then :
3350 withval=$with_freetype;
3354 # Check whether --with-gettext was given.
3355 if test "${with_gettext+set}" = set; then :
3356 withval=$with_gettext;
3360 # Check whether --with-gettextpo was given.
3361 if test "${with_gettextpo+set}" = set; then :
3362 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3366 # Check whether --with-gphoto was given.
3367 if test "${with_gphoto+set}" = set; then :
3368 withval=$with_gphoto;
3372 # Check whether --with-glu was given.
3373 if test "${with_glu+set}" = set; then :
3374 withval=$with_glu;
3378 # Check whether --with-gnutls was given.
3379 if test "${with_gnutls+set}" = set; then :
3380 withval=$with_gnutls;
3384 # Check whether --with-gsm was given.
3385 if test "${with_gsm+set}" = set; then :
3386 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3390 # Check whether --with-gstreamer was given.
3391 if test "${with_gstreamer+set}" = set; then :
3392 withval=$with_gstreamer;
3396 # Check whether --with-hal was given.
3397 if test "${with_hal+set}" = set; then :
3398 withval=$with_hal;
3402 # Check whether --with-jpeg was given.
3403 if test "${with_jpeg+set}" = set; then :
3404 withval=$with_jpeg;
3408 # Check whether --with-ldap was given.
3409 if test "${with_ldap+set}" = set; then :
3410 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3414 # Check whether --with-mpg123 was given.
3415 if test "${with_mpg123+set}" = set; then :
3416 withval=$with_mpg123;
3420 # Check whether --with-netapi was given.
3421 if test "${with_netapi+set}" = set; then :
3422 withval=$with_netapi;
3426 # Check whether --with-openal was given.
3427 if test "${with_openal+set}" = set; then :
3428 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3432 # Check whether --with-opencl was given.
3433 if test "${with_opencl+set}" = set; then :
3434 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3438 # Check whether --with-opengl was given.
3439 if test "${with_opengl+set}" = set; then :
3440 withval=$with_opengl;
3444 # Check whether --with-osmesa was given.
3445 if test "${with_osmesa+set}" = set; then :
3446 withval=$with_osmesa;
3450 # Check whether --with-oss was given.
3451 if test "${with_oss+set}" = set; then :
3452 withval=$with_oss;
3456 # Check whether --with-pcap was given.
3457 if test "${with_pcap+set}" = set; then :
3458 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3462 # Check whether --with-png was given.
3463 if test "${with_png+set}" = set; then :
3464 withval=$with_png;
3468 # Check whether --with-pthread was given.
3469 if test "${with_pthread+set}" = set; then :
3470 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3474 # Check whether --with-pulse was given.
3475 if test "${with_pulse+set}" = set; then :
3476 withval=$with_pulse;
3480 # Check whether --with-sane was given.
3481 if test "${with_sane+set}" = set; then :
3482 withval=$with_sane;
3486 # Check whether --with-tiff was given.
3487 if test "${with_tiff+set}" = set; then :
3488 withval=$with_tiff;
3492 # Check whether --with-v4l was given.
3493 if test "${with_v4l+set}" = set; then :
3494 withval=$with_v4l;
3498 # Check whether --with-xcomposite was given.
3499 if test "${with_xcomposite+set}" = set; then :
3500 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3504 # Check whether --with-xcursor was given.
3505 if test "${with_xcursor+set}" = set; then :
3506 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3510 # Check whether --with-xinerama was given.
3511 if test "${with_xinerama+set}" = set; then :
3512 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3516 # Check whether --with-xinput was given.
3517 if test "${with_xinput+set}" = set; then :
3518 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3522 # Check whether --with-xinput2 was given.
3523 if test "${with_xinput2+set}" = set; then :
3524 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3528 # Check whether --with-xml was given.
3529 if test "${with_xml+set}" = set; then :
3530 withval=$with_xml;
3534 # Check whether --with-xrandr was given.
3535 if test "${with_xrandr+set}" = set; then :
3536 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3540 # Check whether --with-xrender was given.
3541 if test "${with_xrender+set}" = set; then :
3542 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3546 # Check whether --with-xshape was given.
3547 if test "${with_xshape+set}" = set; then :
3548 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3552 # Check whether --with-xshm was given.
3553 if test "${with_xshm+set}" = set; then :
3554 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3558 # Check whether --with-xslt was given.
3559 if test "${with_xslt+set}" = set; then :
3560 withval=$with_xslt;
3564 # Check whether --with-xxf86vm was given.
3565 if test "${with_xxf86vm+set}" = set; then :
3566 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
3570 # Check whether --with-zlib was given.
3571 if test "${with_zlib+set}" = set; then :
3572 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3577 # Check whether --with-wine-tools was given.
3578 if test "${with_wine_tools+set}" = set; then :
3579 withval=$with_wine_tools;
3583 # Check whether --with-wine64 was given.
3584 if test "${with_wine64+set}" = set; then :
3585 withval=$with_wine64;
3589 # Make sure we can run config.sub.
3590 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3591 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3594 $as_echo_n "checking build system type... " >&6; }
3595 if ${ac_cv_build+:} false; then :
3596 $as_echo_n "(cached) " >&6
3597 else
3598 ac_build_alias=$build_alias
3599 test "x$ac_build_alias" = x &&
3600 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3601 test "x$ac_build_alias" = x &&
3602 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3603 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3604 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3608 $as_echo "$ac_cv_build" >&6; }
3609 case $ac_cv_build in
3610 *-*-*) ;;
3611 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3612 esac
3613 build=$ac_cv_build
3614 ac_save_IFS=$IFS; IFS='-'
3615 set x $ac_cv_build
3616 shift
3617 build_cpu=$1
3618 build_vendor=$2
3619 shift; shift
3620 # Remember, the first character of IFS is used to create $*,
3621 # except with old shells:
3622 build_os=$*
3623 IFS=$ac_save_IFS
3624 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3628 $as_echo_n "checking host system type... " >&6; }
3629 if ${ac_cv_host+:} false; then :
3630 $as_echo_n "(cached) " >&6
3631 else
3632 if test "x$host_alias" = x; then
3633 ac_cv_host=$ac_cv_build
3634 else
3635 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3636 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3641 $as_echo "$ac_cv_host" >&6; }
3642 case $ac_cv_host in
3643 *-*-*) ;;
3644 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3645 esac
3646 host=$ac_cv_host
3647 ac_save_IFS=$IFS; IFS='-'
3648 set x $ac_cv_host
3649 shift
3650 host_cpu=$1
3651 host_vendor=$2
3652 shift; shift
3653 # Remember, the first character of IFS is used to create $*,
3654 # except with old shells:
3655 host_os=$*
3656 IFS=$ac_save_IFS
3657 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3661 case "$srcdir" in
3662 .) ;;
3663 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3664 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3665 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3666 fi ;;
3667 esac
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3671 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3672 set x ${MAKE-make}
3673 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3674 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3675 $as_echo_n "(cached) " >&6
3676 else
3677 cat >conftest.make <<\_ACEOF
3678 SHELL = /bin/sh
3679 all:
3680 @echo '@@@%%%=$(MAKE)=@@@%%%'
3681 _ACEOF
3682 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3683 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3684 *@@@%%%=?*=@@@%%%*)
3685 eval ac_cv_prog_make_${ac_make}_set=yes;;
3687 eval ac_cv_prog_make_${ac_make}_set=no;;
3688 esac
3689 rm -f conftest.make
3691 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3693 $as_echo "yes" >&6; }
3694 SET_MAKE=
3695 else
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3697 $as_echo "no" >&6; }
3698 SET_MAKE="MAKE=${MAKE-make}"
3701 ac_ext=c
3702 ac_cpp='$CPP $CPPFLAGS'
3703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3706 if test -n "$ac_tool_prefix"; then
3707 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3708 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3710 $as_echo_n "checking for $ac_word... " >&6; }
3711 if ${ac_cv_prog_CC+:} false; then :
3712 $as_echo_n "(cached) " >&6
3713 else
3714 if test -n "$CC"; then
3715 ac_cv_prog_CC="$CC" # Let the user override the test.
3716 else
3717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3718 for as_dir in $PATH
3720 IFS=$as_save_IFS
3721 test -z "$as_dir" && as_dir=.
3722 for ac_exec_ext in '' $ac_executable_extensions; do
3723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3724 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3726 break 2
3728 done
3729 done
3730 IFS=$as_save_IFS
3734 CC=$ac_cv_prog_CC
3735 if test -n "$CC"; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3737 $as_echo "$CC" >&6; }
3738 else
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3745 if test -z "$ac_cv_prog_CC"; then
3746 ac_ct_CC=$CC
3747 # Extract the first word of "gcc", so it can be a program name with args.
3748 set dummy gcc; ac_word=$2
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3750 $as_echo_n "checking for $ac_word... " >&6; }
3751 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3752 $as_echo_n "(cached) " >&6
3753 else
3754 if test -n "$ac_ct_CC"; then
3755 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3756 else
3757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3758 for as_dir in $PATH
3760 IFS=$as_save_IFS
3761 test -z "$as_dir" && as_dir=.
3762 for ac_exec_ext in '' $ac_executable_extensions; do
3763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3764 ac_cv_prog_ac_ct_CC="gcc"
3765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3766 break 2
3768 done
3769 done
3770 IFS=$as_save_IFS
3774 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3775 if test -n "$ac_ct_CC"; then
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3777 $as_echo "$ac_ct_CC" >&6; }
3778 else
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3780 $as_echo "no" >&6; }
3783 if test "x$ac_ct_CC" = x; then
3784 CC=""
3785 else
3786 case $cross_compiling:$ac_tool_warned in
3787 yes:)
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3790 ac_tool_warned=yes ;;
3791 esac
3792 CC=$ac_ct_CC
3794 else
3795 CC="$ac_cv_prog_CC"
3798 if test -z "$CC"; then
3799 if test -n "$ac_tool_prefix"; then
3800 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3801 set dummy ${ac_tool_prefix}cc; ac_word=$2
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803 $as_echo_n "checking for $ac_word... " >&6; }
3804 if ${ac_cv_prog_CC+:} false; then :
3805 $as_echo_n "(cached) " >&6
3806 else
3807 if test -n "$CC"; then
3808 ac_cv_prog_CC="$CC" # Let the user override the test.
3809 else
3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3811 for as_dir in $PATH
3813 IFS=$as_save_IFS
3814 test -z "$as_dir" && as_dir=.
3815 for ac_exec_ext in '' $ac_executable_extensions; do
3816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3817 ac_cv_prog_CC="${ac_tool_prefix}cc"
3818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3819 break 2
3821 done
3822 done
3823 IFS=$as_save_IFS
3827 CC=$ac_cv_prog_CC
3828 if test -n "$CC"; then
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3830 $as_echo "$CC" >&6; }
3831 else
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3833 $as_echo "no" >&6; }
3839 if test -z "$CC"; then
3840 # Extract the first word of "cc", so it can be a program name with args.
3841 set dummy cc; ac_word=$2
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3843 $as_echo_n "checking for $ac_word... " >&6; }
3844 if ${ac_cv_prog_CC+:} false; then :
3845 $as_echo_n "(cached) " >&6
3846 else
3847 if test -n "$CC"; then
3848 ac_cv_prog_CC="$CC" # Let the user override the test.
3849 else
3850 ac_prog_rejected=no
3851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3852 for as_dir in $PATH
3854 IFS=$as_save_IFS
3855 test -z "$as_dir" && as_dir=.
3856 for ac_exec_ext in '' $ac_executable_extensions; do
3857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3858 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3859 ac_prog_rejected=yes
3860 continue
3862 ac_cv_prog_CC="cc"
3863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3864 break 2
3866 done
3867 done
3868 IFS=$as_save_IFS
3870 if test $ac_prog_rejected = yes; then
3871 # We found a bogon in the path, so make sure we never use it.
3872 set dummy $ac_cv_prog_CC
3873 shift
3874 if test $# != 0; then
3875 # We chose a different compiler from the bogus one.
3876 # However, it has the same basename, so the bogon will be chosen
3877 # first if we set CC to just the basename; use the full file name.
3878 shift
3879 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3884 CC=$ac_cv_prog_CC
3885 if test -n "$CC"; then
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3887 $as_echo "$CC" >&6; }
3888 else
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3890 $as_echo "no" >&6; }
3895 if test -z "$CC"; then
3896 if test -n "$ac_tool_prefix"; then
3897 for ac_prog in cl.exe
3899 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3900 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3902 $as_echo_n "checking for $ac_word... " >&6; }
3903 if ${ac_cv_prog_CC+:} false; then :
3904 $as_echo_n "(cached) " >&6
3905 else
3906 if test -n "$CC"; then
3907 ac_cv_prog_CC="$CC" # Let the user override the test.
3908 else
3909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3910 for as_dir in $PATH
3912 IFS=$as_save_IFS
3913 test -z "$as_dir" && as_dir=.
3914 for ac_exec_ext in '' $ac_executable_extensions; do
3915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3916 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3918 break 2
3920 done
3921 done
3922 IFS=$as_save_IFS
3926 CC=$ac_cv_prog_CC
3927 if test -n "$CC"; then
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3929 $as_echo "$CC" >&6; }
3930 else
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3932 $as_echo "no" >&6; }
3936 test -n "$CC" && break
3937 done
3939 if test -z "$CC"; then
3940 ac_ct_CC=$CC
3941 for ac_prog in cl.exe
3943 # Extract the first word of "$ac_prog", so it can be a program name with args.
3944 set dummy $ac_prog; ac_word=$2
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3946 $as_echo_n "checking for $ac_word... " >&6; }
3947 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3948 $as_echo_n "(cached) " >&6
3949 else
3950 if test -n "$ac_ct_CC"; then
3951 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3952 else
3953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3954 for as_dir in $PATH
3956 IFS=$as_save_IFS
3957 test -z "$as_dir" && as_dir=.
3958 for ac_exec_ext in '' $ac_executable_extensions; do
3959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3960 ac_cv_prog_ac_ct_CC="$ac_prog"
3961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3962 break 2
3964 done
3965 done
3966 IFS=$as_save_IFS
3970 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3971 if test -n "$ac_ct_CC"; then
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3973 $as_echo "$ac_ct_CC" >&6; }
3974 else
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3976 $as_echo "no" >&6; }
3980 test -n "$ac_ct_CC" && break
3981 done
3983 if test "x$ac_ct_CC" = x; then
3984 CC=""
3985 else
3986 case $cross_compiling:$ac_tool_warned in
3987 yes:)
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3989 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3990 ac_tool_warned=yes ;;
3991 esac
3992 CC=$ac_ct_CC
3999 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4001 as_fn_error $? "no acceptable C compiler found in \$PATH
4002 See \`config.log' for more details" "$LINENO" 5; }
4004 # Provide some information about the compiler.
4005 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4006 set X $ac_compile
4007 ac_compiler=$2
4008 for ac_option in --version -v -V -qversion; do
4009 { { ac_try="$ac_compiler $ac_option >&5"
4010 case "(($ac_try" in
4011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4012 *) ac_try_echo=$ac_try;;
4013 esac
4014 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4015 $as_echo "$ac_try_echo"; } >&5
4016 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4017 ac_status=$?
4018 if test -s conftest.err; then
4019 sed '10a\
4020 ... rest of stderr output deleted ...
4021 10q' conftest.err >conftest.er1
4022 cat conftest.er1 >&5
4024 rm -f conftest.er1 conftest.err
4025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4026 test $ac_status = 0; }
4027 done
4029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4030 /* end confdefs.h. */
4033 main ()
4037 return 0;
4039 _ACEOF
4040 ac_clean_files_save=$ac_clean_files
4041 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4042 # Try to create an executable without -o first, disregard a.out.
4043 # It will help us diagnose broken compilers, and finding out an intuition
4044 # of exeext.
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4046 $as_echo_n "checking whether the C compiler works... " >&6; }
4047 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4049 # The possible output files:
4050 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4052 ac_rmfiles=
4053 for ac_file in $ac_files
4055 case $ac_file in
4056 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4057 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4058 esac
4059 done
4060 rm -f $ac_rmfiles
4062 if { { ac_try="$ac_link_default"
4063 case "(($ac_try" in
4064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4065 *) ac_try_echo=$ac_try;;
4066 esac
4067 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4068 $as_echo "$ac_try_echo"; } >&5
4069 (eval "$ac_link_default") 2>&5
4070 ac_status=$?
4071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4072 test $ac_status = 0; }; then :
4073 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4074 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4075 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4076 # so that the user can short-circuit this test for compilers unknown to
4077 # Autoconf.
4078 for ac_file in $ac_files ''
4080 test -f "$ac_file" || continue
4081 case $ac_file in
4082 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4084 [ab].out )
4085 # We found the default executable, but exeext='' is most
4086 # certainly right.
4087 break;;
4088 *.* )
4089 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4090 then :; else
4091 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4093 # We set ac_cv_exeext here because the later test for it is not
4094 # safe: cross compilers may not add the suffix if given an `-o'
4095 # argument, so we may need to know it at that point already.
4096 # Even if this section looks crufty: it has the advantage of
4097 # actually working.
4098 break;;
4100 break;;
4101 esac
4102 done
4103 test "$ac_cv_exeext" = no && ac_cv_exeext=
4105 else
4106 ac_file=''
4108 if test -z "$ac_file"; then :
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4110 $as_echo "no" >&6; }
4111 $as_echo "$as_me: failed program was:" >&5
4112 sed 's/^/| /' conftest.$ac_ext >&5
4114 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4115 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4116 as_fn_error 77 "C compiler cannot create executables
4117 See \`config.log' for more details" "$LINENO" 5; }
4118 else
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4120 $as_echo "yes" >&6; }
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4123 $as_echo_n "checking for C compiler default output file name... " >&6; }
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4125 $as_echo "$ac_file" >&6; }
4126 ac_exeext=$ac_cv_exeext
4128 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4129 ac_clean_files=$ac_clean_files_save
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4131 $as_echo_n "checking for suffix of executables... " >&6; }
4132 if { { ac_try="$ac_link"
4133 case "(($ac_try" in
4134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4135 *) ac_try_echo=$ac_try;;
4136 esac
4137 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4138 $as_echo "$ac_try_echo"; } >&5
4139 (eval "$ac_link") 2>&5
4140 ac_status=$?
4141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4142 test $ac_status = 0; }; then :
4143 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4144 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4145 # work properly (i.e., refer to `conftest.exe'), while it won't with
4146 # `rm'.
4147 for ac_file in conftest.exe conftest conftest.*; do
4148 test -f "$ac_file" || continue
4149 case $ac_file in
4150 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4151 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4152 break;;
4153 * ) break;;
4154 esac
4155 done
4156 else
4157 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4159 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4160 See \`config.log' for more details" "$LINENO" 5; }
4162 rm -f conftest conftest$ac_cv_exeext
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4164 $as_echo "$ac_cv_exeext" >&6; }
4166 rm -f conftest.$ac_ext
4167 EXEEXT=$ac_cv_exeext
4168 ac_exeext=$EXEEXT
4169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h. */
4171 #include <stdio.h>
4173 main ()
4175 FILE *f = fopen ("conftest.out", "w");
4176 return ferror (f) || fclose (f) != 0;
4179 return 0;
4181 _ACEOF
4182 ac_clean_files="$ac_clean_files conftest.out"
4183 # Check that the compiler produces executables we can run. If not, either
4184 # the compiler is broken, or we cross compile.
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4186 $as_echo_n "checking whether we are cross compiling... " >&6; }
4187 if test "$cross_compiling" != yes; then
4188 { { ac_try="$ac_link"
4189 case "(($ac_try" in
4190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4191 *) ac_try_echo=$ac_try;;
4192 esac
4193 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4194 $as_echo "$ac_try_echo"; } >&5
4195 (eval "$ac_link") 2>&5
4196 ac_status=$?
4197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4198 test $ac_status = 0; }
4199 if { ac_try='./conftest$ac_cv_exeext'
4200 { { case "(($ac_try" in
4201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4202 *) ac_try_echo=$ac_try;;
4203 esac
4204 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4205 $as_echo "$ac_try_echo"; } >&5
4206 (eval "$ac_try") 2>&5
4207 ac_status=$?
4208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4209 test $ac_status = 0; }; }; then
4210 cross_compiling=no
4211 else
4212 if test "$cross_compiling" = maybe; then
4213 cross_compiling=yes
4214 else
4215 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4217 as_fn_error $? "cannot run C compiled programs.
4218 If you meant to cross compile, use \`--host'.
4219 See \`config.log' for more details" "$LINENO" 5; }
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4224 $as_echo "$cross_compiling" >&6; }
4226 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4227 ac_clean_files=$ac_clean_files_save
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4229 $as_echo_n "checking for suffix of object files... " >&6; }
4230 if ${ac_cv_objext+:} false; then :
4231 $as_echo_n "(cached) " >&6
4232 else
4233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4234 /* end confdefs.h. */
4237 main ()
4241 return 0;
4243 _ACEOF
4244 rm -f conftest.o conftest.obj
4245 if { { ac_try="$ac_compile"
4246 case "(($ac_try" in
4247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4248 *) ac_try_echo=$ac_try;;
4249 esac
4250 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4251 $as_echo "$ac_try_echo"; } >&5
4252 (eval "$ac_compile") 2>&5
4253 ac_status=$?
4254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4255 test $ac_status = 0; }; then :
4256 for ac_file in conftest.o conftest.obj conftest.*; do
4257 test -f "$ac_file" || continue;
4258 case $ac_file in
4259 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4260 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4261 break;;
4262 esac
4263 done
4264 else
4265 $as_echo "$as_me: failed program was:" >&5
4266 sed 's/^/| /' conftest.$ac_ext >&5
4268 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4270 as_fn_error $? "cannot compute suffix of object files: cannot compile
4271 See \`config.log' for more details" "$LINENO" 5; }
4273 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4276 $as_echo "$ac_cv_objext" >&6; }
4277 OBJEXT=$ac_cv_objext
4278 ac_objext=$OBJEXT
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4280 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4281 if ${ac_cv_c_compiler_gnu+:} false; then :
4282 $as_echo_n "(cached) " >&6
4283 else
4284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4285 /* end confdefs.h. */
4288 main ()
4290 #ifndef __GNUC__
4291 choke me
4292 #endif
4295 return 0;
4297 _ACEOF
4298 if ac_fn_c_try_compile "$LINENO"; then :
4299 ac_compiler_gnu=yes
4300 else
4301 ac_compiler_gnu=no
4303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4304 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4308 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4309 if test $ac_compiler_gnu = yes; then
4310 GCC=yes
4311 else
4312 GCC=
4314 ac_test_CFLAGS=${CFLAGS+set}
4315 ac_save_CFLAGS=$CFLAGS
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4317 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4318 if ${ac_cv_prog_cc_g+:} false; then :
4319 $as_echo_n "(cached) " >&6
4320 else
4321 ac_save_c_werror_flag=$ac_c_werror_flag
4322 ac_c_werror_flag=yes
4323 ac_cv_prog_cc_g=no
4324 CFLAGS="-g"
4325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4326 /* end confdefs.h. */
4329 main ()
4333 return 0;
4335 _ACEOF
4336 if ac_fn_c_try_compile "$LINENO"; then :
4337 ac_cv_prog_cc_g=yes
4338 else
4339 CFLAGS=""
4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4344 main ()
4348 return 0;
4350 _ACEOF
4351 if ac_fn_c_try_compile "$LINENO"; then :
4353 else
4354 ac_c_werror_flag=$ac_save_c_werror_flag
4355 CFLAGS="-g"
4356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4357 /* end confdefs.h. */
4360 main ()
4364 return 0;
4366 _ACEOF
4367 if ac_fn_c_try_compile "$LINENO"; then :
4368 ac_cv_prog_cc_g=yes
4370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4375 ac_c_werror_flag=$ac_save_c_werror_flag
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4378 $as_echo "$ac_cv_prog_cc_g" >&6; }
4379 if test "$ac_test_CFLAGS" = set; then
4380 CFLAGS=$ac_save_CFLAGS
4381 elif test $ac_cv_prog_cc_g = yes; then
4382 if test "$GCC" = yes; then
4383 CFLAGS="-g -O2"
4384 else
4385 CFLAGS="-g"
4387 else
4388 if test "$GCC" = yes; then
4389 CFLAGS="-O2"
4390 else
4391 CFLAGS=
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4395 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4396 if ${ac_cv_prog_cc_c89+:} false; then :
4397 $as_echo_n "(cached) " >&6
4398 else
4399 ac_cv_prog_cc_c89=no
4400 ac_save_CC=$CC
4401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4402 /* end confdefs.h. */
4403 #include <stdarg.h>
4404 #include <stdio.h>
4405 struct stat;
4406 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4407 struct buf { int x; };
4408 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4409 static char *e (p, i)
4410 char **p;
4411 int i;
4413 return p[i];
4415 static char *f (char * (*g) (char **, int), char **p, ...)
4417 char *s;
4418 va_list v;
4419 va_start (v,p);
4420 s = g (p, va_arg (v,int));
4421 va_end (v);
4422 return s;
4425 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4426 function prototypes and stuff, but not '\xHH' hex character constants.
4427 These don't provoke an error unfortunately, instead are silently treated
4428 as 'x'. The following induces an error, until -std is added to get
4429 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4430 array size at least. It's necessary to write '\x00'==0 to get something
4431 that's true only with -std. */
4432 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4434 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4435 inside strings and character constants. */
4436 #define FOO(x) 'x'
4437 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4439 int test (int i, double x);
4440 struct s1 {int (*f) (int a);};
4441 struct s2 {int (*f) (double a);};
4442 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4443 int argc;
4444 char **argv;
4446 main ()
4448 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4450 return 0;
4452 _ACEOF
4453 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4454 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4456 CC="$ac_save_CC $ac_arg"
4457 if ac_fn_c_try_compile "$LINENO"; then :
4458 ac_cv_prog_cc_c89=$ac_arg
4460 rm -f core conftest.err conftest.$ac_objext
4461 test "x$ac_cv_prog_cc_c89" != "xno" && break
4462 done
4463 rm -f conftest.$ac_ext
4464 CC=$ac_save_CC
4467 # AC_CACHE_VAL
4468 case "x$ac_cv_prog_cc_c89" in
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4471 $as_echo "none needed" >&6; } ;;
4472 xno)
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4474 $as_echo "unsupported" >&6; } ;;
4476 CC="$CC $ac_cv_prog_cc_c89"
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4478 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4479 esac
4480 if test "x$ac_cv_prog_cc_c89" != xno; then :
4484 ac_ext=c
4485 ac_cpp='$CPP $CPPFLAGS'
4486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4490 ac_ext=cpp
4491 ac_cpp='$CXXCPP $CPPFLAGS'
4492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4495 if test -z "$CXX"; then
4496 if test -n "$CCC"; then
4497 CXX=$CCC
4498 else
4499 if test -n "$ac_tool_prefix"; then
4500 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4502 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4503 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4505 $as_echo_n "checking for $ac_word... " >&6; }
4506 if ${ac_cv_prog_CXX+:} false; then :
4507 $as_echo_n "(cached) " >&6
4508 else
4509 if test -n "$CXX"; then
4510 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4511 else
4512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4513 for as_dir in $PATH
4515 IFS=$as_save_IFS
4516 test -z "$as_dir" && as_dir=.
4517 for ac_exec_ext in '' $ac_executable_extensions; do
4518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4519 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4521 break 2
4523 done
4524 done
4525 IFS=$as_save_IFS
4529 CXX=$ac_cv_prog_CXX
4530 if test -n "$CXX"; then
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4532 $as_echo "$CXX" >&6; }
4533 else
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4535 $as_echo "no" >&6; }
4539 test -n "$CXX" && break
4540 done
4542 if test -z "$CXX"; then
4543 ac_ct_CXX=$CXX
4544 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4546 # Extract the first word of "$ac_prog", so it can be a program name with args.
4547 set dummy $ac_prog; ac_word=$2
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4549 $as_echo_n "checking for $ac_word... " >&6; }
4550 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4551 $as_echo_n "(cached) " >&6
4552 else
4553 if test -n "$ac_ct_CXX"; then
4554 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4555 else
4556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4557 for as_dir in $PATH
4559 IFS=$as_save_IFS
4560 test -z "$as_dir" && as_dir=.
4561 for ac_exec_ext in '' $ac_executable_extensions; do
4562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4563 ac_cv_prog_ac_ct_CXX="$ac_prog"
4564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4565 break 2
4567 done
4568 done
4569 IFS=$as_save_IFS
4573 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4574 if test -n "$ac_ct_CXX"; then
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4576 $as_echo "$ac_ct_CXX" >&6; }
4577 else
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4579 $as_echo "no" >&6; }
4583 test -n "$ac_ct_CXX" && break
4584 done
4586 if test "x$ac_ct_CXX" = x; then
4587 CXX="g++"
4588 else
4589 case $cross_compiling:$ac_tool_warned in
4590 yes:)
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4592 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4593 ac_tool_warned=yes ;;
4594 esac
4595 CXX=$ac_ct_CXX
4601 # Provide some information about the compiler.
4602 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4603 set X $ac_compile
4604 ac_compiler=$2
4605 for ac_option in --version -v -V -qversion; do
4606 { { ac_try="$ac_compiler $ac_option >&5"
4607 case "(($ac_try" in
4608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4609 *) ac_try_echo=$ac_try;;
4610 esac
4611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4612 $as_echo "$ac_try_echo"; } >&5
4613 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4614 ac_status=$?
4615 if test -s conftest.err; then
4616 sed '10a\
4617 ... rest of stderr output deleted ...
4618 10q' conftest.err >conftest.er1
4619 cat conftest.er1 >&5
4621 rm -f conftest.er1 conftest.err
4622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4623 test $ac_status = 0; }
4624 done
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4627 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4628 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4629 $as_echo_n "(cached) " >&6
4630 else
4631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4632 /* end confdefs.h. */
4635 main ()
4637 #ifndef __GNUC__
4638 choke me
4639 #endif
4642 return 0;
4644 _ACEOF
4645 if ac_fn_cxx_try_compile "$LINENO"; then :
4646 ac_compiler_gnu=yes
4647 else
4648 ac_compiler_gnu=no
4650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4651 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4655 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4656 if test $ac_compiler_gnu = yes; then
4657 GXX=yes
4658 else
4659 GXX=
4661 ac_test_CXXFLAGS=${CXXFLAGS+set}
4662 ac_save_CXXFLAGS=$CXXFLAGS
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4664 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4665 if ${ac_cv_prog_cxx_g+:} false; then :
4666 $as_echo_n "(cached) " >&6
4667 else
4668 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4669 ac_cxx_werror_flag=yes
4670 ac_cv_prog_cxx_g=no
4671 CXXFLAGS="-g"
4672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4673 /* end confdefs.h. */
4676 main ()
4680 return 0;
4682 _ACEOF
4683 if ac_fn_cxx_try_compile "$LINENO"; then :
4684 ac_cv_prog_cxx_g=yes
4685 else
4686 CXXFLAGS=""
4687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4688 /* end confdefs.h. */
4691 main ()
4695 return 0;
4697 _ACEOF
4698 if ac_fn_cxx_try_compile "$LINENO"; then :
4700 else
4701 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4702 CXXFLAGS="-g"
4703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h. */
4707 main ()
4711 return 0;
4713 _ACEOF
4714 if ac_fn_cxx_try_compile "$LINENO"; then :
4715 ac_cv_prog_cxx_g=yes
4717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4722 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4725 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4726 if test "$ac_test_CXXFLAGS" = set; then
4727 CXXFLAGS=$ac_save_CXXFLAGS
4728 elif test $ac_cv_prog_cxx_g = yes; then
4729 if test "$GXX" = yes; then
4730 CXXFLAGS="-g -O2"
4731 else
4732 CXXFLAGS="-g"
4734 else
4735 if test "$GXX" = yes; then
4736 CXXFLAGS="-O2"
4737 else
4738 CXXFLAGS=
4741 ac_ext=c
4742 ac_cpp='$CPP $CPPFLAGS'
4743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4747 if test -n "$ac_tool_prefix"; then
4748 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4749 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4751 $as_echo_n "checking for $ac_word... " >&6; }
4752 if ${ac_cv_prog_CPPBIN+:} false; then :
4753 $as_echo_n "(cached) " >&6
4754 else
4755 if test -n "$CPPBIN"; then
4756 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4757 else
4758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4759 for as_dir in $PATH
4761 IFS=$as_save_IFS
4762 test -z "$as_dir" && as_dir=.
4763 for ac_exec_ext in '' $ac_executable_extensions; do
4764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4765 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4767 break 2
4769 done
4770 done
4771 IFS=$as_save_IFS
4775 CPPBIN=$ac_cv_prog_CPPBIN
4776 if test -n "$CPPBIN"; then
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4778 $as_echo "$CPPBIN" >&6; }
4779 else
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4781 $as_echo "no" >&6; }
4786 if test -z "$ac_cv_prog_CPPBIN"; then
4787 ac_ct_CPPBIN=$CPPBIN
4788 # Extract the first word of "cpp", so it can be a program name with args.
4789 set dummy cpp; ac_word=$2
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4791 $as_echo_n "checking for $ac_word... " >&6; }
4792 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4793 $as_echo_n "(cached) " >&6
4794 else
4795 if test -n "$ac_ct_CPPBIN"; then
4796 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4797 else
4798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4799 for as_dir in $PATH
4801 IFS=$as_save_IFS
4802 test -z "$as_dir" && as_dir=.
4803 for ac_exec_ext in '' $ac_executable_extensions; do
4804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4805 ac_cv_prog_ac_ct_CPPBIN="cpp"
4806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4807 break 2
4809 done
4810 done
4811 IFS=$as_save_IFS
4815 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4816 if test -n "$ac_ct_CPPBIN"; then
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4818 $as_echo "$ac_ct_CPPBIN" >&6; }
4819 else
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4821 $as_echo "no" >&6; }
4824 if test "x$ac_ct_CPPBIN" = x; then
4825 CPPBIN="cpp"
4826 else
4827 case $cross_compiling:$ac_tool_warned in
4828 yes:)
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4831 ac_tool_warned=yes ;;
4832 esac
4833 CPPBIN=$ac_ct_CPPBIN
4835 else
4836 CPPBIN="$ac_cv_prog_CPPBIN"
4840 cat >>confdefs.h <<_ACEOF
4841 #define EXEEXT "$ac_exeext"
4842 _ACEOF
4844 if test -n "$ac_tool_prefix"; then
4845 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4846 set dummy ${ac_tool_prefix}ld; ac_word=$2
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4848 $as_echo_n "checking for $ac_word... " >&6; }
4849 if ${ac_cv_prog_LD+:} false; then :
4850 $as_echo_n "(cached) " >&6
4851 else
4852 if test -n "$LD"; then
4853 ac_cv_prog_LD="$LD" # Let the user override the test.
4854 else
4855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4856 for as_dir in $PATH
4858 IFS=$as_save_IFS
4859 test -z "$as_dir" && as_dir=.
4860 for ac_exec_ext in '' $ac_executable_extensions; do
4861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4862 ac_cv_prog_LD="${ac_tool_prefix}ld"
4863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4864 break 2
4866 done
4867 done
4868 IFS=$as_save_IFS
4872 LD=$ac_cv_prog_LD
4873 if test -n "$LD"; then
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4875 $as_echo "$LD" >&6; }
4876 else
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4878 $as_echo "no" >&6; }
4883 if test -z "$ac_cv_prog_LD"; then
4884 ac_ct_LD=$LD
4885 # Extract the first word of "ld", so it can be a program name with args.
4886 set dummy ld; ac_word=$2
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4888 $as_echo_n "checking for $ac_word... " >&6; }
4889 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4890 $as_echo_n "(cached) " >&6
4891 else
4892 if test -n "$ac_ct_LD"; then
4893 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4894 else
4895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4896 for as_dir in $PATH
4898 IFS=$as_save_IFS
4899 test -z "$as_dir" && as_dir=.
4900 for ac_exec_ext in '' $ac_executable_extensions; do
4901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4902 ac_cv_prog_ac_ct_LD="ld"
4903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4904 break 2
4906 done
4907 done
4908 IFS=$as_save_IFS
4912 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4913 if test -n "$ac_ct_LD"; then
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4915 $as_echo "$ac_ct_LD" >&6; }
4916 else
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4918 $as_echo "no" >&6; }
4921 if test "x$ac_ct_LD" = x; then
4922 LD=""
4923 else
4924 case $cross_compiling:$ac_tool_warned in
4925 yes:)
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4928 ac_tool_warned=yes ;;
4929 esac
4930 LD=$ac_ct_LD
4932 else
4933 LD="$ac_cv_prog_LD"
4937 case $host in
4938 *-darwin*)
4939 with_fontconfig=${with_fontconfig:-no}
4941 *-mingw32*|*-cygwin*)
4942 enable_win16=${enable_win16:-no}
4943 CFLAGS="$CFLAGS -D_WIN32"
4945 esac
4947 case $host in
4948 x86_64*|amd64*)
4949 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4950 then
4951 CC="$CC -m32"
4952 CXX="$CXX -m32"
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4954 $as_echo_n "checking whether $CC works... " >&6; }
4956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4957 /* end confdefs.h. */
4960 main ()
4964 return 0;
4966 _ACEOF
4967 if ac_fn_c_try_link "$LINENO"; then :
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4969 $as_echo "yes" >&6; }
4970 else
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4972 $as_echo "no" >&6; }
4973 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4975 rm -f core conftest.err conftest.$ac_objext \
4976 conftest$ac_exeext conftest.$ac_ext
4977 host_cpu="i386"
4978 notice_platform="32-bit "
4979 TARGETFLAGS="-m32"
4981 enable_win16=${enable_win16:-yes}
4982 else
4983 if test "x${GCC}" = "xyes"
4984 then
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4986 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4988 /* end confdefs.h. */
4989 #include <stdarg.h>
4991 main ()
4993 void func(__builtin_ms_va_list *args);
4995 return 0;
4997 _ACEOF
4998 if ac_fn_c_try_compile "$LINENO"; then :
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5000 $as_echo "yes" >&6; }
5001 else
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5003 $as_echo "no" >&6; }
5004 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5008 CC="$CC -m64"
5009 CXX="$CXX -m64"
5010 host_cpu="x86_64"
5011 notice_platform="64-bit "
5012 TARGETFLAGS="-m64"
5016 arm*)
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5018 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5020 /* end confdefs.h. */
5021 int ac_test(int i) { return i; }
5023 main ()
5025 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5027 return 0;
5029 _ACEOF
5030 if ac_fn_c_try_link "$LINENO"; then :
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5032 $as_echo "yes" >&6; }
5033 else
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5035 $as_echo "no" >&6; }
5036 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5038 rm -f core conftest.err conftest.$ac_objext \
5039 conftest$ac_exeext conftest.$ac_ext
5040 CFLAGS="$CFLAGS -marm"
5041 TARGETFLAGS="-marm"
5044 i[3456789]86*)
5045 enable_win16=${enable_win16:-yes}
5047 esac
5049 enable_win16=${enable_win16:-no}
5050 enable_win64=${enable_win64:-no}
5052 enable_winetest=${enable_winetest:-$enable_tests}
5054 if test -n "$with_wine64"
5055 then
5056 if test "x$enable_win64" = "xyes"
5057 then
5058 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5059 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5061 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5062 You should create a separate build directory and run configure from there." "$LINENO" 5
5063 enable_fonts=${enable_fonts:-no}
5064 enable_server=${enable_server:-no}
5065 elif test "x$enable_win64" = "xyes"
5066 then
5067 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5071 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5072 if ${wine_cv_toolsdir+:} false; then :
5073 $as_echo_n "(cached) " >&6
5074 else
5075 wine_cv_toolsdir="$with_wine_tools"
5076 if test -z "$with_wine_tools"; then
5077 if test "$cross_compiling" = "yes"; then
5078 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5079 elif test -n "$with_wine64"; then
5080 wine_cv_toolsdir="$with_wine64"
5083 if test -z "$wine_cv_toolsdir"; then
5084 wine_makedep=tools/makedep
5085 wine_cv_toolsdir="\$(top_builddir)"
5086 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5087 wine_makedep=$wine_cv_toolsdir/tools/makedep
5088 case "$wine_cv_toolsdir" in
5089 /*) ;;
5090 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5091 esac
5092 enable_tools=${enable_tools:-no}
5093 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5094 else
5095 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5099 $as_echo "$wine_cv_toolsdir" >&6; }
5100 TOOLSDIR=$wine_cv_toolsdir
5102 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5103 then
5104 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5108 for ac_prog in flex
5110 # Extract the first word of "$ac_prog", so it can be a program name with args.
5111 set dummy $ac_prog; ac_word=$2
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5113 $as_echo_n "checking for $ac_word... " >&6; }
5114 if ${ac_cv_prog_FLEX+:} false; then :
5115 $as_echo_n "(cached) " >&6
5116 else
5117 if test -n "$FLEX"; then
5118 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5119 else
5120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5121 for as_dir in $PATH
5123 IFS=$as_save_IFS
5124 test -z "$as_dir" && as_dir=.
5125 for ac_exec_ext in '' $ac_executable_extensions; do
5126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5127 ac_cv_prog_FLEX="$ac_prog"
5128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5129 break 2
5131 done
5132 done
5133 IFS=$as_save_IFS
5137 FLEX=$ac_cv_prog_FLEX
5138 if test -n "$FLEX"; then
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5140 $as_echo "$FLEX" >&6; }
5141 else
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5143 $as_echo "no" >&6; }
5147 test -n "$FLEX" && break
5148 done
5149 test -n "$FLEX" || FLEX="none"
5151 if test "$FLEX" = "none"
5152 then
5153 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5156 $as_echo_n "checking whether flex is recent enough... " >&6; }
5157 cat >conftest.l <<EOF
5158 %top{
5159 #include "prediluvian.h"
5163 if $FLEX -t conftest.l >/dev/null 2>&5
5164 then
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5166 $as_echo "yes" >&6; }
5167 else
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5169 $as_echo "no" >&6; }
5170 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5173 for ac_prog in bison
5175 # Extract the first word of "$ac_prog", so it can be a program name with args.
5176 set dummy $ac_prog; ac_word=$2
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5178 $as_echo_n "checking for $ac_word... " >&6; }
5179 if ${ac_cv_prog_BISON+:} false; then :
5180 $as_echo_n "(cached) " >&6
5181 else
5182 if test -n "$BISON"; then
5183 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5184 else
5185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5186 for as_dir in $PATH
5188 IFS=$as_save_IFS
5189 test -z "$as_dir" && as_dir=.
5190 for ac_exec_ext in '' $ac_executable_extensions; do
5191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5192 ac_cv_prog_BISON="$ac_prog"
5193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5194 break 2
5196 done
5197 done
5198 IFS=$as_save_IFS
5202 BISON=$ac_cv_prog_BISON
5203 if test -n "$BISON"; then
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5205 $as_echo "$BISON" >&6; }
5206 else
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5208 $as_echo "no" >&6; }
5212 test -n "$BISON" && break
5213 done
5214 test -n "$BISON" || BISON="none"
5216 if test "$BISON" = "none"
5217 then
5218 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5221 if test -n "$ac_tool_prefix"; then
5222 for ac_prog in ar gar
5224 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5225 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if ${ac_cv_prog_AR+:} false; then :
5229 $as_echo_n "(cached) " >&6
5230 else
5231 if test -n "$AR"; then
5232 ac_cv_prog_AR="$AR" # Let the user override the test.
5233 else
5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235 for as_dir in $PATH
5237 IFS=$as_save_IFS
5238 test -z "$as_dir" && as_dir=.
5239 for ac_exec_ext in '' $ac_executable_extensions; do
5240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5241 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5243 break 2
5245 done
5246 done
5247 IFS=$as_save_IFS
5251 AR=$ac_cv_prog_AR
5252 if test -n "$AR"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5254 $as_echo "$AR" >&6; }
5255 else
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5261 test -n "$AR" && break
5262 done
5264 if test -z "$AR"; then
5265 ac_ct_AR=$AR
5266 for ac_prog in ar gar
5268 # Extract the first word of "$ac_prog", so it can be a program name with args.
5269 set dummy $ac_prog; ac_word=$2
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5271 $as_echo_n "checking for $ac_word... " >&6; }
5272 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5273 $as_echo_n "(cached) " >&6
5274 else
5275 if test -n "$ac_ct_AR"; then
5276 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5277 else
5278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5279 for as_dir in $PATH
5281 IFS=$as_save_IFS
5282 test -z "$as_dir" && as_dir=.
5283 for ac_exec_ext in '' $ac_executable_extensions; do
5284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5285 ac_cv_prog_ac_ct_AR="$ac_prog"
5286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5287 break 2
5289 done
5290 done
5291 IFS=$as_save_IFS
5295 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5296 if test -n "$ac_ct_AR"; then
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5298 $as_echo "$ac_ct_AR" >&6; }
5299 else
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5301 $as_echo "no" >&6; }
5305 test -n "$ac_ct_AR" && break
5306 done
5308 if test "x$ac_ct_AR" = x; then
5309 AR="ar"
5310 else
5311 case $cross_compiling:$ac_tool_warned in
5312 yes:)
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5315 ac_tool_warned=yes ;;
5316 esac
5317 AR=$ac_ct_AR
5321 if test -n "$ac_tool_prefix"; then
5322 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5323 set dummy ${ac_tool_prefix}strip; ac_word=$2
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5325 $as_echo_n "checking for $ac_word... " >&6; }
5326 if ${ac_cv_prog_STRIP+:} false; then :
5327 $as_echo_n "(cached) " >&6
5328 else
5329 if test -n "$STRIP"; then
5330 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5331 else
5332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 for as_dir in $PATH
5335 IFS=$as_save_IFS
5336 test -z "$as_dir" && as_dir=.
5337 for ac_exec_ext in '' $ac_executable_extensions; do
5338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5339 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5341 break 2
5343 done
5344 done
5345 IFS=$as_save_IFS
5349 STRIP=$ac_cv_prog_STRIP
5350 if test -n "$STRIP"; then
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5352 $as_echo "$STRIP" >&6; }
5353 else
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5355 $as_echo "no" >&6; }
5360 if test -z "$ac_cv_prog_STRIP"; then
5361 ac_ct_STRIP=$STRIP
5362 # Extract the first word of "strip", so it can be a program name with args.
5363 set dummy strip; ac_word=$2
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5365 $as_echo_n "checking for $ac_word... " >&6; }
5366 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5367 $as_echo_n "(cached) " >&6
5368 else
5369 if test -n "$ac_ct_STRIP"; then
5370 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5371 else
5372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5373 for as_dir in $PATH
5375 IFS=$as_save_IFS
5376 test -z "$as_dir" && as_dir=.
5377 for ac_exec_ext in '' $ac_executable_extensions; do
5378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5379 ac_cv_prog_ac_ct_STRIP="strip"
5380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5381 break 2
5383 done
5384 done
5385 IFS=$as_save_IFS
5389 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5390 if test -n "$ac_ct_STRIP"; then
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5392 $as_echo "$ac_ct_STRIP" >&6; }
5393 else
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5398 if test "x$ac_ct_STRIP" = x; then
5399 STRIP="strip"
5400 else
5401 case $cross_compiling:$ac_tool_warned in
5402 yes:)
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5405 ac_tool_warned=yes ;;
5406 esac
5407 STRIP=$ac_ct_STRIP
5409 else
5410 STRIP="$ac_cv_prog_STRIP"
5413 ARFLAGS=rc
5415 if test -n "$ac_tool_prefix"; then
5416 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5417 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5419 $as_echo_n "checking for $ac_word... " >&6; }
5420 if ${ac_cv_prog_RANLIB+:} false; then :
5421 $as_echo_n "(cached) " >&6
5422 else
5423 if test -n "$RANLIB"; then
5424 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5425 else
5426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5427 for as_dir in $PATH
5429 IFS=$as_save_IFS
5430 test -z "$as_dir" && as_dir=.
5431 for ac_exec_ext in '' $ac_executable_extensions; do
5432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5433 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5435 break 2
5437 done
5438 done
5439 IFS=$as_save_IFS
5443 RANLIB=$ac_cv_prog_RANLIB
5444 if test -n "$RANLIB"; then
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5446 $as_echo "$RANLIB" >&6; }
5447 else
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5449 $as_echo "no" >&6; }
5454 if test -z "$ac_cv_prog_RANLIB"; then
5455 ac_ct_RANLIB=$RANLIB
5456 # Extract the first word of "ranlib", so it can be a program name with args.
5457 set dummy ranlib; ac_word=$2
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5459 $as_echo_n "checking for $ac_word... " >&6; }
5460 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5461 $as_echo_n "(cached) " >&6
5462 else
5463 if test -n "$ac_ct_RANLIB"; then
5464 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5465 else
5466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5467 for as_dir in $PATH
5469 IFS=$as_save_IFS
5470 test -z "$as_dir" && as_dir=.
5471 for ac_exec_ext in '' $ac_executable_extensions; do
5472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5473 ac_cv_prog_ac_ct_RANLIB="ranlib"
5474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5475 break 2
5477 done
5478 done
5479 IFS=$as_save_IFS
5483 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5484 if test -n "$ac_ct_RANLIB"; then
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5486 $as_echo "$ac_ct_RANLIB" >&6; }
5487 else
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5489 $as_echo "no" >&6; }
5492 if test "x$ac_ct_RANLIB" = x; then
5493 RANLIB=":"
5494 else
5495 case $cross_compiling:$ac_tool_warned in
5496 yes:)
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5498 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5499 ac_tool_warned=yes ;;
5500 esac
5501 RANLIB=$ac_ct_RANLIB
5503 else
5504 RANLIB="$ac_cv_prog_RANLIB"
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5508 $as_echo_n "checking whether ln -s works... " >&6; }
5509 LN_S=$as_ln_s
5510 if test "$LN_S" = "ln -s"; then
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5512 $as_echo "yes" >&6; }
5513 else
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5515 $as_echo "no, using $LN_S" >&6; }
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5519 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5520 if ${ac_cv_path_GREP+:} false; then :
5521 $as_echo_n "(cached) " >&6
5522 else
5523 if test -z "$GREP"; then
5524 ac_path_GREP_found=false
5525 # Loop through the user's path and test for each of PROGNAME-LIST
5526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5527 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5529 IFS=$as_save_IFS
5530 test -z "$as_dir" && as_dir=.
5531 for ac_prog in grep ggrep; do
5532 for ac_exec_ext in '' $ac_executable_extensions; do
5533 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5534 as_fn_executable_p "$ac_path_GREP" || continue
5535 # Check for GNU ac_path_GREP and select it if it is found.
5536 # Check for GNU $ac_path_GREP
5537 case `"$ac_path_GREP" --version 2>&1` in
5538 *GNU*)
5539 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5541 ac_count=0
5542 $as_echo_n 0123456789 >"conftest.in"
5543 while :
5545 cat "conftest.in" "conftest.in" >"conftest.tmp"
5546 mv "conftest.tmp" "conftest.in"
5547 cp "conftest.in" "conftest.nl"
5548 $as_echo 'GREP' >> "conftest.nl"
5549 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5550 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5551 as_fn_arith $ac_count + 1 && ac_count=$as_val
5552 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5553 # Best one so far, save it but keep looking for a better one
5554 ac_cv_path_GREP="$ac_path_GREP"
5555 ac_path_GREP_max=$ac_count
5557 # 10*(2^10) chars as input seems more than enough
5558 test $ac_count -gt 10 && break
5559 done
5560 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5561 esac
5563 $ac_path_GREP_found && break 3
5564 done
5565 done
5566 done
5567 IFS=$as_save_IFS
5568 if test -z "$ac_cv_path_GREP"; then
5569 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5571 else
5572 ac_cv_path_GREP=$GREP
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5577 $as_echo "$ac_cv_path_GREP" >&6; }
5578 GREP="$ac_cv_path_GREP"
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5582 $as_echo_n "checking for egrep... " >&6; }
5583 if ${ac_cv_path_EGREP+:} false; then :
5584 $as_echo_n "(cached) " >&6
5585 else
5586 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5587 then ac_cv_path_EGREP="$GREP -E"
5588 else
5589 if test -z "$EGREP"; then
5590 ac_path_EGREP_found=false
5591 # Loop through the user's path and test for each of PROGNAME-LIST
5592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5593 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5595 IFS=$as_save_IFS
5596 test -z "$as_dir" && as_dir=.
5597 for ac_prog in egrep; do
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5600 as_fn_executable_p "$ac_path_EGREP" || continue
5601 # Check for GNU ac_path_EGREP and select it if it is found.
5602 # Check for GNU $ac_path_EGREP
5603 case `"$ac_path_EGREP" --version 2>&1` in
5604 *GNU*)
5605 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5607 ac_count=0
5608 $as_echo_n 0123456789 >"conftest.in"
5609 while :
5611 cat "conftest.in" "conftest.in" >"conftest.tmp"
5612 mv "conftest.tmp" "conftest.in"
5613 cp "conftest.in" "conftest.nl"
5614 $as_echo 'EGREP' >> "conftest.nl"
5615 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5616 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5617 as_fn_arith $ac_count + 1 && ac_count=$as_val
5618 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5619 # Best one so far, save it but keep looking for a better one
5620 ac_cv_path_EGREP="$ac_path_EGREP"
5621 ac_path_EGREP_max=$ac_count
5623 # 10*(2^10) chars as input seems more than enough
5624 test $ac_count -gt 10 && break
5625 done
5626 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5627 esac
5629 $ac_path_EGREP_found && break 3
5630 done
5631 done
5632 done
5633 IFS=$as_save_IFS
5634 if test -z "$ac_cv_path_EGREP"; then
5635 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5637 else
5638 ac_cv_path_EGREP=$EGREP
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5644 $as_echo "$ac_cv_path_EGREP" >&6; }
5645 EGREP="$ac_cv_path_EGREP"
5648 # Extract the first word of "ldconfig", so it can be a program name with args.
5649 set dummy ldconfig; ac_word=$2
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5651 $as_echo_n "checking for $ac_word... " >&6; }
5652 if ${ac_cv_path_LDCONFIG+:} false; then :
5653 $as_echo_n "(cached) " >&6
5654 else
5655 case $LDCONFIG in
5656 [\\/]* | ?:[\\/]*)
5657 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5661 for as_dir in /sbin /usr/sbin $PATH
5663 IFS=$as_save_IFS
5664 test -z "$as_dir" && as_dir=.
5665 for ac_exec_ext in '' $ac_executable_extensions; do
5666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5667 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5669 break 2
5671 done
5672 done
5673 IFS=$as_save_IFS
5675 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5677 esac
5679 LDCONFIG=$ac_cv_path_LDCONFIG
5680 if test -n "$LDCONFIG"; then
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5682 $as_echo "$LDCONFIG" >&6; }
5683 else
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5685 $as_echo "no" >&6; }
5689 for ac_prog in msgfmt
5691 # Extract the first word of "$ac_prog", so it can be a program name with args.
5692 set dummy $ac_prog; ac_word=$2
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5694 $as_echo_n "checking for $ac_word... " >&6; }
5695 if ${ac_cv_prog_MSGFMT+:} false; then :
5696 $as_echo_n "(cached) " >&6
5697 else
5698 if test -n "$MSGFMT"; then
5699 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5700 else
5701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5702 for as_dir in $PATH
5704 IFS=$as_save_IFS
5705 test -z "$as_dir" && as_dir=.
5706 for ac_exec_ext in '' $ac_executable_extensions; do
5707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5708 ac_cv_prog_MSGFMT="$ac_prog"
5709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5710 break 2
5712 done
5713 done
5714 IFS=$as_save_IFS
5718 MSGFMT=$ac_cv_prog_MSGFMT
5719 if test -n "$MSGFMT"; then
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5721 $as_echo "$MSGFMT" >&6; }
5722 else
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5724 $as_echo "no" >&6; }
5728 test -n "$MSGFMT" && break
5729 done
5730 test -n "$MSGFMT" || MSGFMT="false"
5732 if ${ac_tool_prefix+:} false; then :
5733 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5734 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5736 $as_echo_n "checking for $ac_word... " >&6; }
5737 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5738 $as_echo_n "(cached) " >&6
5739 else
5740 if test -n "$PKG_CONFIG"; then
5741 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5742 else
5743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5744 for as_dir in $PATH
5746 IFS=$as_save_IFS
5747 test -z "$as_dir" && as_dir=.
5748 for ac_exec_ext in '' $ac_executable_extensions; do
5749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5750 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5752 break 2
5754 done
5755 done
5756 IFS=$as_save_IFS
5760 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5761 if test -n "$PKG_CONFIG"; then
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5763 $as_echo "$PKG_CONFIG" >&6; }
5764 else
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5766 $as_echo "no" >&6; }
5771 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5772 if test "x$cross_compiling" = xyes; then :
5774 else
5775 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5776 # Extract the first word of "pkg-config", so it can be a program name with args.
5777 set dummy pkg-config; ac_word=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 if test -n "$PKG_CONFIG"; then
5784 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5785 else
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787 for as_dir in $PATH
5789 IFS=$as_save_IFS
5790 test -z "$as_dir" && as_dir=.
5791 for ac_exec_ext in '' $ac_executable_extensions; do
5792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5793 ac_cv_prog_PKG_CONFIG="pkg-config"
5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795 break 2
5797 done
5798 done
5799 IFS=$as_save_IFS
5803 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5804 if test -n "$PKG_CONFIG"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5806 $as_echo "$PKG_CONFIG" >&6; }
5807 else
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5814 else
5815 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5818 if test "x$enable_maintainer_mode" != "xyes"
5819 then
5820 FONTFORGE=""
5821 RSVG=""
5822 CONVERT=""
5823 ICOTOOL=""
5824 else
5825 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5826 for ac_prog in fontforge
5828 # Extract the first word of "$ac_prog", so it can be a program name with args.
5829 set dummy $ac_prog; ac_word=$2
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5831 $as_echo_n "checking for $ac_word... " >&6; }
5832 if ${ac_cv_prog_FONTFORGE+:} false; then :
5833 $as_echo_n "(cached) " >&6
5834 else
5835 if test -n "$FONTFORGE"; then
5836 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5837 else
5838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5839 for as_dir in $PATH
5841 IFS=$as_save_IFS
5842 test -z "$as_dir" && as_dir=.
5843 for ac_exec_ext in '' $ac_executable_extensions; do
5844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5845 ac_cv_prog_FONTFORGE="$ac_prog"
5846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5847 break 2
5849 done
5850 done
5851 IFS=$as_save_IFS
5855 FONTFORGE=$ac_cv_prog_FONTFORGE
5856 if test -n "$FONTFORGE"; then
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5858 $as_echo "$FONTFORGE" >&6; }
5859 else
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5861 $as_echo "no" >&6; }
5865 test -n "$FONTFORGE" && break
5866 done
5867 test -n "$FONTFORGE" || FONTFORGE="false"
5869 for ac_prog in rsvg-convert rsvg
5871 # Extract the first word of "$ac_prog", so it can be a program name with args.
5872 set dummy $ac_prog; ac_word=$2
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5874 $as_echo_n "checking for $ac_word... " >&6; }
5875 if ${ac_cv_prog_RSVG+:} false; then :
5876 $as_echo_n "(cached) " >&6
5877 else
5878 if test -n "$RSVG"; then
5879 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5880 else
5881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5882 for as_dir in $PATH
5884 IFS=$as_save_IFS
5885 test -z "$as_dir" && as_dir=.
5886 for ac_exec_ext in '' $ac_executable_extensions; do
5887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5888 ac_cv_prog_RSVG="$ac_prog"
5889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5890 break 2
5892 done
5893 done
5894 IFS=$as_save_IFS
5898 RSVG=$ac_cv_prog_RSVG
5899 if test -n "$RSVG"; then
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5901 $as_echo "$RSVG" >&6; }
5902 else
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5904 $as_echo "no" >&6; }
5908 test -n "$RSVG" && break
5909 done
5910 test -n "$RSVG" || RSVG="false"
5912 for ac_prog in convert
5914 # Extract the first word of "$ac_prog", so it can be a program name with args.
5915 set dummy $ac_prog; ac_word=$2
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5917 $as_echo_n "checking for $ac_word... " >&6; }
5918 if ${ac_cv_prog_CONVERT+:} false; then :
5919 $as_echo_n "(cached) " >&6
5920 else
5921 if test -n "$CONVERT"; then
5922 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5923 else
5924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5925 for as_dir in $PATH
5927 IFS=$as_save_IFS
5928 test -z "$as_dir" && as_dir=.
5929 for ac_exec_ext in '' $ac_executable_extensions; do
5930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5931 ac_cv_prog_CONVERT="$ac_prog"
5932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5933 break 2
5935 done
5936 done
5937 IFS=$as_save_IFS
5941 CONVERT=$ac_cv_prog_CONVERT
5942 if test -n "$CONVERT"; then
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5944 $as_echo "$CONVERT" >&6; }
5945 else
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5947 $as_echo "no" >&6; }
5951 test -n "$CONVERT" && break
5952 done
5953 test -n "$CONVERT" || CONVERT="false"
5955 for ac_prog in icotool
5957 # Extract the first word of "$ac_prog", so it can be a program name with args.
5958 set dummy $ac_prog; ac_word=$2
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5960 $as_echo_n "checking for $ac_word... " >&6; }
5961 if ${ac_cv_prog_ICOTOOL+:} false; then :
5962 $as_echo_n "(cached) " >&6
5963 else
5964 if test -n "$ICOTOOL"; then
5965 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5966 else
5967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5968 for as_dir in $PATH
5970 IFS=$as_save_IFS
5971 test -z "$as_dir" && as_dir=.
5972 for ac_exec_ext in '' $ac_executable_extensions; do
5973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5974 ac_cv_prog_ICOTOOL="$ac_prog"
5975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5976 break 2
5978 done
5979 done
5980 IFS=$as_save_IFS
5984 ICOTOOL=$ac_cv_prog_ICOTOOL
5985 if test -n "$ICOTOOL"; then
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5987 $as_echo "$ICOTOOL" >&6; }
5988 else
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5990 $as_echo "no" >&6; }
5994 test -n "$ICOTOOL" && break
5995 done
5996 test -n "$ICOTOOL" || ICOTOOL="false"
5998 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5999 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6001 if test "$CONVERT" = false
6002 then
6003 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6004 else
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6006 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6007 convert_version=`convert --version | head -n1`
6008 if test "x$convert_version" != "x"
6009 then
6010 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6011 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6012 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6013 then
6014 CONVERT=false
6017 if test "$CONVERT" = false
6018 then
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6020 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6021 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6022 else
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6024 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6028 if test "$ICOTOOL" = false
6029 then
6030 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6031 else
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6033 $as_echo_n "checking for recent enough icotool... " >&6; }
6034 icotool_version=`icotool --version | head -n1`
6035 if test "x$icotool_version" != "x"
6036 then
6037 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6038 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6039 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6040 then
6041 ICOTOOL=false
6042 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6045 if test "$ICOTOOL" = false
6046 then
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6048 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6049 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6050 else
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6052 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6056 with_gettext=yes
6057 with_gettextpo=yes
6058 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6061 test "x$with_gettext" != xno || MSGFMT=false
6062 if test "$MSGFMT" != "false"
6063 then
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6065 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6066 cat >conftest.po <<EOF
6067 # comment
6068 msgctxt "ctxt"
6069 msgid "id"
6070 msgstr "str"
6072 if $MSGFMT -o /dev/null conftest.po 2>&5
6073 then
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6075 $as_echo "yes" >&6; }
6076 else
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6078 $as_echo "no" >&6; }
6079 MSGFMT=false
6082 if test "$MSGFMT" = false; then :
6083 case "x$with_gettext" in
6084 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6085 xno) ;;
6086 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6087 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6088 esac
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6093 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6094 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6095 $as_echo_n "(cached) " >&6
6096 else
6097 ac_check_lib_save_LIBS=$LIBS
6098 LIBS="-li386 $LIBS"
6099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6100 /* end confdefs.h. */
6102 /* Override any GCC internal prototype to avoid an error.
6103 Use char because int might match the return type of a GCC
6104 builtin and then its argument prototype would still apply. */
6105 #ifdef __cplusplus
6106 extern "C"
6107 #endif
6108 char i386_set_ldt ();
6110 main ()
6112 return i386_set_ldt ();
6114 return 0;
6116 _ACEOF
6117 if ac_fn_c_try_link "$LINENO"; then :
6118 ac_cv_lib_i386_i386_set_ldt=yes
6119 else
6120 ac_cv_lib_i386_i386_set_ldt=no
6122 rm -f core conftest.err conftest.$ac_objext \
6123 conftest$ac_exeext conftest.$ac_ext
6124 LIBS=$ac_check_lib_save_LIBS
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6127 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6128 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6129 cat >>confdefs.h <<_ACEOF
6130 #define HAVE_LIBI386 1
6131 _ACEOF
6133 LIBS="-li386 $LIBS"
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6138 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6139 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6140 $as_echo_n "(cached) " >&6
6141 else
6142 ac_check_lib_save_LIBS=$LIBS
6143 LIBS="-lossaudio $LIBS"
6144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6145 /* end confdefs.h. */
6147 /* Override any GCC internal prototype to avoid an error.
6148 Use char because int might match the return type of a GCC
6149 builtin and then its argument prototype would still apply. */
6150 #ifdef __cplusplus
6151 extern "C"
6152 #endif
6153 char _oss_ioctl ();
6155 main ()
6157 return _oss_ioctl ();
6159 return 0;
6161 _ACEOF
6162 if ac_fn_c_try_link "$LINENO"; then :
6163 ac_cv_lib_ossaudio__oss_ioctl=yes
6164 else
6165 ac_cv_lib_ossaudio__oss_ioctl=no
6167 rm -f core conftest.err conftest.$ac_objext \
6168 conftest$ac_exeext conftest.$ac_ext
6169 LIBS=$ac_check_lib_save_LIBS
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6172 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6173 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6174 cat >>confdefs.h <<_ACEOF
6175 #define HAVE_LIBOSSAUDIO 1
6176 _ACEOF
6178 LIBS="-lossaudio $LIBS"
6183 OPENGL_LIBS=""
6187 # Check whether --enable-largefile was given.
6188 if test "${enable_largefile+set}" = set; then :
6189 enableval=$enable_largefile;
6192 if test "$enable_largefile" != no; then
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6195 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6196 if ${ac_cv_sys_largefile_CC+:} false; then :
6197 $as_echo_n "(cached) " >&6
6198 else
6199 ac_cv_sys_largefile_CC=no
6200 if test "$GCC" != yes; then
6201 ac_save_CC=$CC
6202 while :; do
6203 # IRIX 6.2 and later do not support large files by default,
6204 # so use the C compiler's -n32 option if that helps.
6205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6206 /* end confdefs.h. */
6207 #include <sys/types.h>
6208 /* Check that off_t can represent 2**63 - 1 correctly.
6209 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6210 since some C++ compilers masquerading as C compilers
6211 incorrectly reject 9223372036854775807. */
6212 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6213 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6214 && LARGE_OFF_T % 2147483647 == 1)
6215 ? 1 : -1];
6217 main ()
6221 return 0;
6223 _ACEOF
6224 if ac_fn_c_try_compile "$LINENO"; then :
6225 break
6227 rm -f core conftest.err conftest.$ac_objext
6228 CC="$CC -n32"
6229 if ac_fn_c_try_compile "$LINENO"; then :
6230 ac_cv_sys_largefile_CC=' -n32'; break
6232 rm -f core conftest.err conftest.$ac_objext
6233 break
6234 done
6235 CC=$ac_save_CC
6236 rm -f conftest.$ac_ext
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6240 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6241 if test "$ac_cv_sys_largefile_CC" != no; then
6242 CC=$CC$ac_cv_sys_largefile_CC
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6246 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6247 if ${ac_cv_sys_file_offset_bits+:} false; then :
6248 $as_echo_n "(cached) " >&6
6249 else
6250 while :; do
6251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6252 /* end confdefs.h. */
6253 #include <sys/types.h>
6254 /* Check that off_t can represent 2**63 - 1 correctly.
6255 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6256 since some C++ compilers masquerading as C compilers
6257 incorrectly reject 9223372036854775807. */
6258 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6259 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6260 && LARGE_OFF_T % 2147483647 == 1)
6261 ? 1 : -1];
6263 main ()
6267 return 0;
6269 _ACEOF
6270 if ac_fn_c_try_compile "$LINENO"; then :
6271 ac_cv_sys_file_offset_bits=no; break
6273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6275 /* end confdefs.h. */
6276 #define _FILE_OFFSET_BITS 64
6277 #include <sys/types.h>
6278 /* Check that off_t can represent 2**63 - 1 correctly.
6279 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6280 since some C++ compilers masquerading as C compilers
6281 incorrectly reject 9223372036854775807. */
6282 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6283 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6284 && LARGE_OFF_T % 2147483647 == 1)
6285 ? 1 : -1];
6287 main ()
6291 return 0;
6293 _ACEOF
6294 if ac_fn_c_try_compile "$LINENO"; then :
6295 ac_cv_sys_file_offset_bits=64; break
6297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6298 ac_cv_sys_file_offset_bits=unknown
6299 break
6300 done
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6303 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6304 case $ac_cv_sys_file_offset_bits in #(
6305 no | unknown) ;;
6307 cat >>confdefs.h <<_ACEOF
6308 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6309 _ACEOF
6311 esac
6312 rm -rf conftest*
6313 if test $ac_cv_sys_file_offset_bits = unknown; then
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6315 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6316 if ${ac_cv_sys_large_files+:} false; then :
6317 $as_echo_n "(cached) " >&6
6318 else
6319 while :; do
6320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6321 /* end confdefs.h. */
6322 #include <sys/types.h>
6323 /* Check that off_t can represent 2**63 - 1 correctly.
6324 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6325 since some C++ compilers masquerading as C compilers
6326 incorrectly reject 9223372036854775807. */
6327 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6328 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6329 && LARGE_OFF_T % 2147483647 == 1)
6330 ? 1 : -1];
6332 main ()
6336 return 0;
6338 _ACEOF
6339 if ac_fn_c_try_compile "$LINENO"; then :
6340 ac_cv_sys_large_files=no; break
6342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6344 /* end confdefs.h. */
6345 #define _LARGE_FILES 1
6346 #include <sys/types.h>
6347 /* Check that off_t can represent 2**63 - 1 correctly.
6348 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6349 since some C++ compilers masquerading as C compilers
6350 incorrectly reject 9223372036854775807. */
6351 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6352 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6353 && LARGE_OFF_T % 2147483647 == 1)
6354 ? 1 : -1];
6356 main ()
6360 return 0;
6362 _ACEOF
6363 if ac_fn_c_try_compile "$LINENO"; then :
6364 ac_cv_sys_large_files=1; break
6366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6367 ac_cv_sys_large_files=unknown
6368 break
6369 done
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6372 $as_echo "$ac_cv_sys_large_files" >&6; }
6373 case $ac_cv_sys_large_files in #(
6374 no | unknown) ;;
6376 cat >>confdefs.h <<_ACEOF
6377 #define _LARGE_FILES $ac_cv_sys_large_files
6378 _ACEOF
6380 esac
6381 rm -rf conftest*
6388 ac_ext=c
6389 ac_cpp='$CPP $CPPFLAGS'
6390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6394 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6395 # On Suns, sometimes $CPP names a directory.
6396 if test -n "$CPP" && test -d "$CPP"; then
6397 CPP=
6399 if test -z "$CPP"; then
6400 if ${ac_cv_prog_CPP+:} false; then :
6401 $as_echo_n "(cached) " >&6
6402 else
6403 # Double quotes because CPP needs to be expanded
6404 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6406 ac_preproc_ok=false
6407 for ac_c_preproc_warn_flag in '' yes
6409 # Use a header file that comes with gcc, so configuring glibc
6410 # with a fresh cross-compiler works.
6411 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6412 # <limits.h> exists even on freestanding compilers.
6413 # On the NeXT, cc -E runs the code through the compiler's parser,
6414 # not just through cpp. "Syntax error" is here to catch this case.
6415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6416 /* end confdefs.h. */
6417 #ifdef __STDC__
6418 # include <limits.h>
6419 #else
6420 # include <assert.h>
6421 #endif
6422 Syntax error
6423 _ACEOF
6424 if ac_fn_c_try_cpp "$LINENO"; then :
6426 else
6427 # Broken: fails on valid input.
6428 continue
6430 rm -f conftest.err conftest.i conftest.$ac_ext
6432 # OK, works on sane cases. Now check whether nonexistent headers
6433 # can be detected and how.
6434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6435 /* end confdefs.h. */
6436 #include <ac_nonexistent.h>
6437 _ACEOF
6438 if ac_fn_c_try_cpp "$LINENO"; then :
6439 # Broken: success on invalid input.
6440 continue
6441 else
6442 # Passes both tests.
6443 ac_preproc_ok=:
6444 break
6446 rm -f conftest.err conftest.i conftest.$ac_ext
6448 done
6449 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6450 rm -f conftest.i conftest.err conftest.$ac_ext
6451 if $ac_preproc_ok; then :
6452 break
6455 done
6456 ac_cv_prog_CPP=$CPP
6459 CPP=$ac_cv_prog_CPP
6460 else
6461 ac_cv_prog_CPP=$CPP
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6464 $as_echo "$CPP" >&6; }
6465 ac_preproc_ok=false
6466 for ac_c_preproc_warn_flag in '' yes
6468 # Use a header file that comes with gcc, so configuring glibc
6469 # with a fresh cross-compiler works.
6470 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6471 # <limits.h> exists even on freestanding compilers.
6472 # On the NeXT, cc -E runs the code through the compiler's parser,
6473 # not just through cpp. "Syntax error" is here to catch this case.
6474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6475 /* end confdefs.h. */
6476 #ifdef __STDC__
6477 # include <limits.h>
6478 #else
6479 # include <assert.h>
6480 #endif
6481 Syntax error
6482 _ACEOF
6483 if ac_fn_c_try_cpp "$LINENO"; then :
6485 else
6486 # Broken: fails on valid input.
6487 continue
6489 rm -f conftest.err conftest.i conftest.$ac_ext
6491 # OK, works on sane cases. Now check whether nonexistent headers
6492 # can be detected and how.
6493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6494 /* end confdefs.h. */
6495 #include <ac_nonexistent.h>
6496 _ACEOF
6497 if ac_fn_c_try_cpp "$LINENO"; then :
6498 # Broken: success on invalid input.
6499 continue
6500 else
6501 # Passes both tests.
6502 ac_preproc_ok=:
6503 break
6505 rm -f conftest.err conftest.i conftest.$ac_ext
6507 done
6508 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6509 rm -f conftest.i conftest.err conftest.$ac_ext
6510 if $ac_preproc_ok; then :
6512 else
6513 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6514 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6515 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6516 See \`config.log' for more details" "$LINENO" 5; }
6519 ac_ext=c
6520 ac_cpp='$CPP $CPPFLAGS'
6521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6527 $as_echo_n "checking for ANSI C header files... " >&6; }
6528 if ${ac_cv_header_stdc+:} false; then :
6529 $as_echo_n "(cached) " >&6
6530 else
6531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6532 /* end confdefs.h. */
6533 #include <stdlib.h>
6534 #include <stdarg.h>
6535 #include <string.h>
6536 #include <float.h>
6539 main ()
6543 return 0;
6545 _ACEOF
6546 if ac_fn_c_try_compile "$LINENO"; then :
6547 ac_cv_header_stdc=yes
6548 else
6549 ac_cv_header_stdc=no
6551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6553 if test $ac_cv_header_stdc = yes; then
6554 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6556 /* end confdefs.h. */
6557 #include <string.h>
6559 _ACEOF
6560 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6561 $EGREP "memchr" >/dev/null 2>&1; then :
6563 else
6564 ac_cv_header_stdc=no
6566 rm -f conftest*
6570 if test $ac_cv_header_stdc = yes; then
6571 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6573 /* end confdefs.h. */
6574 #include <stdlib.h>
6576 _ACEOF
6577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6578 $EGREP "free" >/dev/null 2>&1; then :
6580 else
6581 ac_cv_header_stdc=no
6583 rm -f conftest*
6587 if test $ac_cv_header_stdc = yes; then
6588 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6589 if test "$cross_compiling" = yes; then :
6591 else
6592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6593 /* end confdefs.h. */
6594 #include <ctype.h>
6595 #include <stdlib.h>
6596 #if ((' ' & 0x0FF) == 0x020)
6597 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6598 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6599 #else
6600 # define ISLOWER(c) \
6601 (('a' <= (c) && (c) <= 'i') \
6602 || ('j' <= (c) && (c) <= 'r') \
6603 || ('s' <= (c) && (c) <= 'z'))
6604 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6605 #endif
6607 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6609 main ()
6611 int i;
6612 for (i = 0; i < 256; i++)
6613 if (XOR (islower (i), ISLOWER (i))
6614 || toupper (i) != TOUPPER (i))
6615 return 2;
6616 return 0;
6618 _ACEOF
6619 if ac_fn_c_try_run "$LINENO"; then :
6621 else
6622 ac_cv_header_stdc=no
6624 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6625 conftest.$ac_objext conftest.beam conftest.$ac_ext
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6631 $as_echo "$ac_cv_header_stdc" >&6; }
6632 if test $ac_cv_header_stdc = yes; then
6634 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6638 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6639 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6640 inttypes.h stdint.h unistd.h
6641 do :
6642 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6643 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6645 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6646 cat >>confdefs.h <<_ACEOF
6647 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6648 _ACEOF
6652 done
6655 for ac_header in \
6656 AL/al.h \
6657 ApplicationServices/ApplicationServices.h \
6658 AudioToolbox/AudioConverter.h \
6659 AudioUnit/AudioUnit.h \
6660 AudioUnit/AudioComponent.h \
6661 CL/cl.h \
6662 Carbon/Carbon.h \
6663 CoreAudio/CoreAudio.h \
6664 CoreServices/CoreServices.h \
6665 DiskArbitration/DiskArbitration.h \
6666 IOKit/IOKitLib.h \
6667 IOKit/hid/IOHIDLib.h \
6668 OpenAL/al.h \
6669 OpenCL/opencl.h \
6670 QuickTime/ImageCompression.h \
6671 Security/Security.h \
6672 alias.h \
6673 alsa/asoundlib.h \
6674 arpa/inet.h \
6675 arpa/nameser.h \
6676 asm/types.h \
6677 asm/user.h \
6678 curses.h \
6679 direct.h \
6680 dirent.h \
6681 dlfcn.h \
6682 elf.h \
6683 float.h \
6684 fnmatch.h \
6685 getopt.h \
6686 gettext-po.h \
6687 grp.h \
6688 gsm.h \
6689 gsm/gsm.h \
6690 ieeefp.h \
6691 inet/mib2.h \
6692 io.h \
6693 kstat.h \
6694 lber.h \
6695 ldap.h \
6696 libproc.h \
6697 link.h \
6698 linux/cdrom.h \
6699 linux/compiler.h \
6700 linux/filter.h \
6701 linux/hdreg.h \
6702 linux/input.h \
6703 linux/ioctl.h \
6704 linux/joystick.h \
6705 linux/major.h \
6706 linux/param.h \
6707 linux/serial.h \
6708 linux/types.h \
6709 linux/ucdrom.h \
6710 lwp.h \
6711 mach-o/nlist.h \
6712 mach-o/loader.h \
6713 mach/mach.h \
6714 mach/machine.h \
6715 machine/cpu.h \
6716 machine/limits.h \
6717 machine/sysarch.h \
6718 mntent.h \
6719 ncurses.h \
6720 netdb.h \
6721 netinet/in.h \
6722 netinet/in_systm.h \
6723 netinet/tcp.h \
6724 netinet/tcp_fsm.h \
6725 pcap/pcap.h \
6726 poll.h \
6727 port.h \
6728 process.h \
6729 pthread.h \
6730 pwd.h \
6731 sched.h \
6732 scsi/scsi.h \
6733 scsi/scsi_ioctl.h \
6734 scsi/sg.h \
6735 stdbool.h \
6736 stdint.h \
6737 stropts.h \
6738 sys/asoundlib.h \
6739 sys/attr.h \
6740 sys/cdio.h \
6741 sys/elf32.h \
6742 sys/epoll.h \
6743 sys/event.h \
6744 sys/exec_elf.h \
6745 sys/filio.h \
6746 sys/inotify.h \
6747 sys/ioctl.h \
6748 sys/ipc.h \
6749 sys/limits.h \
6750 sys/link.h \
6751 sys/mman.h \
6752 sys/modem.h \
6753 sys/msg.h \
6754 sys/mtio.h \
6755 sys/param.h \
6756 sys/poll.h \
6757 sys/prctl.h \
6758 sys/protosw.h \
6759 sys/ptrace.h \
6760 sys/queue.h \
6761 sys/resource.h \
6762 sys/scsiio.h \
6763 sys/shm.h \
6764 sys/signal.h \
6765 sys/socket.h \
6766 sys/socketvar.h \
6767 sys/sockio.h \
6768 sys/statvfs.h \
6769 sys/strtio.h \
6770 sys/syscall.h \
6771 sys/tihdr.h \
6772 sys/time.h \
6773 sys/timeout.h \
6774 sys/times.h \
6775 sys/uio.h \
6776 sys/user.h \
6777 sys/utsname.h \
6778 sys/vm86.h \
6779 sys/vnode.h \
6780 sys/wait.h \
6781 syscall.h \
6782 termios.h \
6783 unistd.h \
6784 utime.h \
6785 valgrind/memcheck.h \
6786 valgrind/valgrind.h \
6787 zlib.h
6789 do :
6790 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6791 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6792 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6793 cat >>confdefs.h <<_ACEOF
6794 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6795 _ACEOF
6799 done
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6802 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6803 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6804 $as_echo_n "(cached) " >&6
6805 else
6806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6807 /* end confdefs.h. */
6808 #include <sys/types.h>
6810 main ()
6812 return makedev(0, 0);
6814 return 0;
6816 _ACEOF
6817 if ac_fn_c_try_link "$LINENO"; then :
6818 ac_cv_header_sys_types_h_makedev=yes
6819 else
6820 ac_cv_header_sys_types_h_makedev=no
6822 rm -f core conftest.err conftest.$ac_objext \
6823 conftest$ac_exeext conftest.$ac_ext
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6827 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6829 if test $ac_cv_header_sys_types_h_makedev = no; then
6830 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6831 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6833 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6839 if test $ac_cv_header_sys_mkdev_h = no; then
6840 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6841 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6843 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6852 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6853 if ${ac_cv_header_stat_broken+:} false; then :
6854 $as_echo_n "(cached) " >&6
6855 else
6856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6857 /* end confdefs.h. */
6858 #include <sys/types.h>
6859 #include <sys/stat.h>
6861 #if defined S_ISBLK && defined S_IFDIR
6862 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6863 #endif
6865 #if defined S_ISBLK && defined S_IFCHR
6866 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6867 #endif
6869 #if defined S_ISLNK && defined S_IFREG
6870 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6871 #endif
6873 #if defined S_ISSOCK && defined S_IFREG
6874 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6875 #endif
6877 _ACEOF
6878 if ac_fn_c_try_compile "$LINENO"; then :
6879 ac_cv_header_stat_broken=no
6880 else
6881 ac_cv_header_stat_broken=yes
6883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6886 $as_echo "$ac_cv_header_stat_broken" >&6; }
6887 if test $ac_cv_header_stat_broken = yes; then
6889 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6895 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6896 do :
6897 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6898 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6899 #ifdef HAVE_SYS_PARAM_H
6900 # include <sys/param.h>
6901 #endif
6903 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6904 cat >>confdefs.h <<_ACEOF
6905 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6906 _ACEOF
6910 done
6913 for ac_header in \
6914 netinet/ip.h \
6915 net/if.h \
6916 net/if_arp.h \
6917 net/if_dl.h \
6918 net/if_types.h \
6919 net/route.h \
6920 netinet/if_ether.h \
6921 netinet/if_inarp.h \
6922 netinet/in_pcb.h \
6923 netinet/ip_icmp.h \
6924 netinet/ip_var.h \
6925 netinet/udp.h \
6926 netipx/ipx.h \
6927 sys/un.h \
6929 do :
6930 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6931 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6932 #ifdef HAVE_SYS_SOCKET_H
6933 # include <sys/socket.h>
6934 #endif
6935 #ifdef HAVE_SYS_SOCKETVAR_H
6936 # include <sys/socketvar.h>
6937 #endif
6938 #ifdef HAVE_NET_ROUTE_H
6939 # include <net/route.h>
6940 #endif
6941 #ifdef HAVE_NETINET_IN_H
6942 # include <netinet/in.h>
6943 #endif
6944 #ifdef HAVE_NETINET_IN_SYSTM_H
6945 # include <netinet/in_systm.h>
6946 #endif
6947 #ifdef HAVE_NET_IF_H
6948 # include <net/if.h>
6949 #endif
6950 #ifdef HAVE_NETINET_IP_H
6951 # include <netinet/ip.h>
6952 #endif
6954 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6955 cat >>confdefs.h <<_ACEOF
6956 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6957 _ACEOF
6961 done
6964 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6965 do :
6966 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6967 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6968 #ifdef HAVE_ALIAS_H
6969 # include <alias.h>
6970 #endif
6971 #ifdef HAVE_SYS_SOCKET_H
6972 # include <sys/socket.h>
6973 #endif
6974 #ifdef HAVE_SYS_SOCKETVAR_H
6975 # include <sys/socketvar.h>
6976 #endif
6977 #ifdef HAVE_SYS_TIMEOUT_H
6978 # include <sys/timeout.h>
6979 #endif
6980 #ifdef HAVE_NETINET_IN_H
6981 # include <netinet/in.h>
6982 #endif
6983 #ifdef HAVE_NETINET_IN_SYSTM_H
6984 # include <netinet/in_systm.h>
6985 #endif
6986 #ifdef HAVE_NETINET_IP_H
6987 # include <netinet/ip.h>
6988 #endif
6989 #ifdef HAVE_NETINET_IP_VAR_H
6990 # include <netinet/ip_var.h>
6991 #endif
6992 #ifdef HAVE_NETINET_IP_ICMP_H
6993 # include <netinet/ip_icmp.h>
6994 #endif
6995 #ifdef HAVE_NETINET_UDP_H
6996 # include <netinet/udp.h>
6997 #endif
6998 #ifdef HAVE_NETINET_TCP_H
6999 # include <netinet/tcp.h>
7000 #endif
7001 #ifdef HAVE_NETINET_TCP_TIMER_H
7002 #include <netinet/tcp_timer.h>
7003 #endif
7005 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7006 cat >>confdefs.h <<_ACEOF
7007 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7008 _ACEOF
7012 done
7015 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7016 do :
7017 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7018 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7019 #ifdef HAVE_ASM_TYPES_H
7020 # include <asm/types.h>
7021 #endif
7022 #ifdef HAVE_SYS_SOCKET_H
7023 # include <sys/socket.h>
7024 #endif
7025 #ifdef HAVE_LINUX_TYPES_H
7026 # include <linux/types.h>
7027 #endif
7029 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7030 cat >>confdefs.h <<_ACEOF
7031 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7032 _ACEOF
7036 done
7039 for ac_header in mach-o/dyld_images.h
7040 do :
7041 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7042 # include <stdbool.h>
7043 #endif
7044 #ifdef HAVE_STDINT_H
7045 # include <stdint.h>
7046 #endif
7048 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7049 cat >>confdefs.h <<_ACEOF
7050 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7051 _ACEOF
7055 done
7058 for ac_header in resolv.h
7059 do :
7060 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7061 #ifdef HAVE_SYS_SOCKET_H
7062 # include <sys/socket.h>
7063 #endif
7064 #ifdef HAVE_NETINET_IN_H
7065 # include <netinet/in.h>
7066 #endif
7067 #ifdef HAVE_ARPA_NAMESER_H
7068 # include <arpa/nameser.h>
7069 #endif
7071 if test "x$ac_cv_header_resolv_h" = xyes; then :
7072 cat >>confdefs.h <<_ACEOF
7073 #define HAVE_RESOLV_H 1
7074 _ACEOF
7078 done
7081 for ac_header in ifaddrs.h
7082 do :
7083 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7085 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7086 cat >>confdefs.h <<_ACEOF
7087 #define HAVE_IFADDRS_H 1
7088 _ACEOF
7092 done
7095 for ac_header in sys/ucontext.h
7096 do :
7097 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7099 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7100 cat >>confdefs.h <<_ACEOF
7101 #define HAVE_SYS_UCONTEXT_H 1
7102 _ACEOF
7106 done
7109 for ac_header in sys/thr.h
7110 do :
7111 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7112 #ifdef HAVE_SYS_UCONTEXT_H
7113 #include <sys/ucontext.h>
7114 #endif
7116 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7117 cat >>confdefs.h <<_ACEOF
7118 #define HAVE_SYS_THR_H 1
7119 _ACEOF
7123 done
7126 for ac_header in pthread_np.h
7127 do :
7128 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7129 #include <pthread.h>
7130 #endif
7132 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7133 cat >>confdefs.h <<_ACEOF
7134 #define HAVE_PTHREAD_NP_H 1
7135 _ACEOF
7139 done
7142 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7143 do :
7144 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7145 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7146 #include <sys/time.h>
7147 #endif
7148 #include <sys/types.h>
7149 #ifdef HAVE_ASM_TYPES_H
7150 #include <asm/types.h>
7151 #endif
7153 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7154 cat >>confdefs.h <<_ACEOF
7155 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7156 _ACEOF
7160 done
7163 for ac_header in libprocstat.h
7164 do :
7165 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7166 #include <sys/param.h>
7167 #endif
7168 #ifdef HAVE_SYS_QUEUE_H
7169 #include <sys/queue.h>
7170 #endif
7171 #ifdef HAVE_SYS_SOCKET_H
7172 #include <sys/socket.h>
7173 #endif
7175 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7176 cat >>confdefs.h <<_ACEOF
7177 #define HAVE_LIBPROCSTAT_H 1
7178 _ACEOF
7182 done
7186 dlldir="\${libdir}/wine"
7188 DLLFLAGS="-D_REENTRANT"
7190 LDRPATH_INSTALL=""
7192 LDRPATH_LOCAL=""
7194 LDEXECFLAGS=""
7196 LIBEXT="so"
7197 DLLEXT=".so"
7198 IMPLIBEXT="def"
7199 STATIC_IMPLIBEXT="def.a"
7200 # Extract the first word of "ldd", so it can be a program name with args.
7201 set dummy ldd; ac_word=$2
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7203 $as_echo_n "checking for $ac_word... " >&6; }
7204 if ${ac_cv_path_LDD+:} false; then :
7205 $as_echo_n "(cached) " >&6
7206 else
7207 case $LDD in
7208 [\\/]* | ?:[\\/]*)
7209 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7213 as_dummy="/sbin:/usr/sbin:$PATH"
7214 for as_dir in $as_dummy
7216 IFS=$as_save_IFS
7217 test -z "$as_dir" && as_dir=.
7218 for ac_exec_ext in '' $ac_executable_extensions; do
7219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7220 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7222 break 2
7224 done
7225 done
7226 IFS=$as_save_IFS
7228 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7230 esac
7232 LDD=$ac_cv_path_LDD
7233 if test -n "$LDD"; then
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7235 $as_echo "$LDD" >&6; }
7236 else
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7238 $as_echo "no" >&6; }
7242 if test -n "$ac_tool_prefix"; then
7243 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7244 set dummy ${ac_tool_prefix}otool; ac_word=$2
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7246 $as_echo_n "checking for $ac_word... " >&6; }
7247 if ${ac_cv_prog_OTOOL+:} false; then :
7248 $as_echo_n "(cached) " >&6
7249 else
7250 if test -n "$OTOOL"; then
7251 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7252 else
7253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7254 for as_dir in $PATH
7256 IFS=$as_save_IFS
7257 test -z "$as_dir" && as_dir=.
7258 for ac_exec_ext in '' $ac_executable_extensions; do
7259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7260 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7262 break 2
7264 done
7265 done
7266 IFS=$as_save_IFS
7270 OTOOL=$ac_cv_prog_OTOOL
7271 if test -n "$OTOOL"; then
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7273 $as_echo "$OTOOL" >&6; }
7274 else
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7276 $as_echo "no" >&6; }
7281 if test -z "$ac_cv_prog_OTOOL"; then
7282 ac_ct_OTOOL=$OTOOL
7283 # Extract the first word of "otool", so it can be a program name with args.
7284 set dummy otool; ac_word=$2
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7286 $as_echo_n "checking for $ac_word... " >&6; }
7287 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7288 $as_echo_n "(cached) " >&6
7289 else
7290 if test -n "$ac_ct_OTOOL"; then
7291 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7292 else
7293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7294 for as_dir in $PATH
7296 IFS=$as_save_IFS
7297 test -z "$as_dir" && as_dir=.
7298 for ac_exec_ext in '' $ac_executable_extensions; do
7299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7300 ac_cv_prog_ac_ct_OTOOL="otool"
7301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7302 break 2
7304 done
7305 done
7306 IFS=$as_save_IFS
7310 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7311 if test -n "$ac_ct_OTOOL"; then
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7313 $as_echo "$ac_ct_OTOOL" >&6; }
7314 else
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7316 $as_echo "no" >&6; }
7319 if test "x$ac_ct_OTOOL" = x; then
7320 OTOOL="otool"
7321 else
7322 case $cross_compiling:$ac_tool_warned in
7323 yes:)
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7326 ac_tool_warned=yes ;;
7327 esac
7328 OTOOL=$ac_ct_OTOOL
7330 else
7331 OTOOL="$ac_cv_prog_OTOOL"
7334 if test -n "$ac_tool_prefix"; then
7335 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7336 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7338 $as_echo_n "checking for $ac_word... " >&6; }
7339 if ${ac_cv_prog_READELF+:} false; then :
7340 $as_echo_n "(cached) " >&6
7341 else
7342 if test -n "$READELF"; then
7343 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7344 else
7345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7346 for as_dir in $PATH
7348 IFS=$as_save_IFS
7349 test -z "$as_dir" && as_dir=.
7350 for ac_exec_ext in '' $ac_executable_extensions; do
7351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7352 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7354 break 2
7356 done
7357 done
7358 IFS=$as_save_IFS
7362 READELF=$ac_cv_prog_READELF
7363 if test -n "$READELF"; then
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7365 $as_echo "$READELF" >&6; }
7366 else
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7368 $as_echo "no" >&6; }
7373 if test -z "$ac_cv_prog_READELF"; then
7374 ac_ct_READELF=$READELF
7375 # Extract the first word of "readelf", so it can be a program name with args.
7376 set dummy readelf; ac_word=$2
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7378 $as_echo_n "checking for $ac_word... " >&6; }
7379 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7380 $as_echo_n "(cached) " >&6
7381 else
7382 if test -n "$ac_ct_READELF"; then
7383 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7384 else
7385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7386 for as_dir in $PATH
7388 IFS=$as_save_IFS
7389 test -z "$as_dir" && as_dir=.
7390 for ac_exec_ext in '' $ac_executable_extensions; do
7391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7392 ac_cv_prog_ac_ct_READELF="readelf"
7393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7394 break 2
7396 done
7397 done
7398 IFS=$as_save_IFS
7402 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7403 if test -n "$ac_ct_READELF"; then
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7405 $as_echo "$ac_ct_READELF" >&6; }
7406 else
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7408 $as_echo "no" >&6; }
7411 if test "x$ac_ct_READELF" = x; then
7412 READELF="true"
7413 else
7414 case $cross_compiling:$ac_tool_warned in
7415 yes:)
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7418 ac_tool_warned=yes ;;
7419 esac
7420 READELF=$ac_ct_READELF
7422 else
7423 READELF="$ac_cv_prog_READELF"
7426 wine_rules_file=conf$$rules.make
7427 rm -f $wine_rules_file
7428 ALL_POT_FILES=""
7429 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7430 ALL_TEST_RESOURCES=""
7433 wine_fn_append_file ()
7435 as_fn_append $1 " \\$as_nl $2"
7438 wine_fn_ignore_file ()
7440 case "$1" in
7441 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7442 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7443 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7444 esac
7447 wine_fn_append_rule ()
7449 $as_echo "$1" >>$wine_rules_file
7452 wine_fn_has_flag ()
7454 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7457 wine_fn_depend_rules ()
7459 wine_fn_append_rule \
7460 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in Makefile \$(MAKEDEP)
7461 \$(MAKEDEP) $ac_dir
7462 depend: $ac_dir/depend
7463 .PHONY: $ac_dir/depend
7464 $ac_dir/depend: \$(MAKEDEP) dummy
7465 \$(MAKEDEP) $ac_dir"
7468 wine_fn_pot_rules ()
7470 test "x$with_gettextpo" = xyes || return
7472 if wine_fn_has_flag mc
7473 then
7474 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7475 wine_fn_append_rule \
7476 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7477 @cd $ac_dir && \$(MAKE) msg.pot
7478 $ac_dir/msg.pot: tools/wmc include"
7480 if wine_fn_has_flag po
7481 then
7482 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7483 wine_fn_append_rule \
7484 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7485 @cd $ac_dir && \$(MAKE) rsrc.pot
7486 $ac_dir/rsrc.pot: tools/wrc include"
7490 wine_fn_all_rules ()
7492 wine_fn_depend_rules
7493 wine_fn_append_rule \
7494 "all: $ac_dir
7495 .PHONY: $ac_dir
7496 $ac_dir: $ac_dir/Makefile dummy
7497 @cd $ac_dir && \$(MAKE)"
7500 wine_fn_install_rules ()
7502 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7504 wine_fn_append_rule \
7505 ".PHONY: $ac_dir/install $ac_dir/uninstall
7506 $ac_dir/install:: $ac_dir
7507 @cd $ac_dir && \$(MAKE) install
7508 $ac_dir/uninstall:: $ac_dir/Makefile
7509 @cd $ac_dir && \$(MAKE) uninstall
7510 install:: $ac_dir/install
7511 __uninstall__: $ac_dir/uninstall"
7513 if wine_fn_has_flag install-lib
7514 then
7515 wine_fn_append_rule \
7516 ".PHONY: $ac_dir/install-lib
7517 $ac_dir/install-lib:: $ac_dir
7518 @cd $ac_dir && \$(MAKE) install-lib
7519 install-lib:: $ac_dir/install-lib"
7522 if wine_fn_has_flag install-dev
7523 then
7524 wine_fn_append_rule \
7525 ".PHONY: $ac_dir/install-dev
7526 $ac_dir/install-dev:: $ac_dir
7527 @cd $ac_dir && \$(MAKE) install-dev
7528 install-dev:: $ac_dir/install-dev"
7532 wine_fn_clean_rules ()
7534 ac_clean=$@
7535 ac_extraclean="$ac_dir/Makefile"
7536 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7537 case $ac_dir in
7538 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7539 esac
7541 if wine_fn_has_flag clean
7542 then
7543 wine_fn_append_rule \
7544 "__clean__: $ac_dir/clean
7545 .PHONY: $ac_dir/clean
7546 $ac_dir/clean: $ac_dir/Makefile
7547 @cd $ac_dir && \$(MAKE) clean
7548 \$(RM) $ac_extraclean"
7549 else
7550 wine_fn_append_rule \
7551 "__clean__: $ac_dir/clean
7552 .PHONY: $ac_dir/clean
7553 $ac_dir/clean: dummy
7554 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7558 wine_fn_disabled_rules ()
7560 ac_clean=$@
7561 ac_extraclean="$ac_dir/Makefile"
7562 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7564 wine_fn_append_rule \
7565 "__clean__: $ac_dir/clean
7566 .PHONY: $ac_dir/clean
7567 $ac_dir/clean: dummy
7568 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7571 wine_fn_config_makefile ()
7573 ac_dir=$1
7574 ac_enable=$2
7575 ac_flags=$3
7577 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7578 wine_fn_disabled_rules; return
7580 wine_fn_all_rules
7581 wine_fn_install_rules
7582 wine_fn_clean_rules
7585 wine_fn_config_lib ()
7587 ac_name=$1
7588 ac_flags=$2
7589 ac_dir=dlls/$ac_name
7590 ac_deps="include"
7592 if test "x$enable_tools" = xno; then :
7594 else
7595 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7597 wine_fn_all_rules
7598 wine_fn_clean_rules
7600 wine_fn_append_rule \
7601 ".PHONY: $ac_dir/install $ac_dir/uninstall
7602 $ac_dir/install:: $ac_dir
7603 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7604 $ac_dir/uninstall::
7605 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7606 install install-dev:: $ac_dir/install
7607 __uninstall__: $ac_dir/uninstall
7608 __builddeps__: $ac_dir
7609 $ac_dir: $ac_deps"
7612 wine_fn_config_dll ()
7614 ac_name=$1
7615 ac_dir=dlls/$ac_name
7616 ac_enable=$2
7617 ac_flags=$3
7618 ac_implib=${4:-$ac_name}
7619 ac_file=$ac_dir/lib$ac_implib
7620 ac_dll=$ac_name
7621 ac_deps="include"
7622 ac_implibflags=""
7624 if test "x$enable_tools" = xno; then :
7626 else
7627 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7629 case $ac_name in
7630 *16) ac_implibflags=" -m16" ;;
7631 *.*) ;;
7632 *) ac_dll=$ac_dll.dll ;;
7633 esac
7635 ac_clean=
7636 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7637 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7638 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7639 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7641 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7642 if test "$ac_enable" != enable_win16
7643 then
7644 wine_fn_depend_rules
7645 wine_fn_clean_rules $ac_clean
7646 wine_fn_pot_rules
7647 else
7648 wine_fn_disabled_rules $ac_clean
7649 return
7651 else
7652 wine_fn_all_rules
7653 wine_fn_clean_rules $ac_clean
7654 wine_fn_append_rule \
7655 "$ac_dir: __builddeps__
7656 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7657 @cd $ac_dir && \$(MAKE) \$@
7658 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7659 install install-lib:: $ac_dir/install-lib
7660 __uninstall__: $ac_dir/uninstall"
7661 if test -n "$DLLEXT"
7662 then
7663 wine_fn_append_rule \
7664 "$ac_dir/install-lib:: $ac_dir
7665 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7666 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7667 $ac_dir/uninstall::
7668 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7669 else
7670 wine_fn_append_rule \
7671 "$ac_dir/install-lib:: $ac_dir
7672 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7673 $ac_dir/uninstall::
7674 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7677 wine_fn_pot_rules
7680 if wine_fn_has_flag staticimplib
7681 then
7682 wine_fn_append_rule \
7683 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7684 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7685 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7686 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7687 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7688 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7689 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7690 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7691 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7692 $ac_dir/uninstall::
7693 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7694 install install-dev:: $ac_dir/install-dev
7695 __uninstall__: $ac_dir/uninstall"
7697 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7698 then
7699 wine_fn_append_rule \
7700 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7701 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7702 $ac_dir/uninstall::
7703 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7706 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7707 then
7708 wine_fn_append_rule \
7709 "__builddeps__: $ac_file.cross.a
7710 $ac_file.cross.a: $ac_dir/Makefile dummy
7711 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7714 elif wine_fn_has_flag implib
7715 then
7716 wine_fn_append_rule \
7717 "__builddeps__: $ac_file.$IMPLIBEXT
7718 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7719 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7720 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7721 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7722 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7723 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7724 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7725 $ac_dir/uninstall::
7726 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7727 install install-dev:: $ac_dir/install-dev
7728 __uninstall__: $ac_dir/uninstall"
7729 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7730 then
7731 wine_fn_append_rule \
7732 "__builddeps__: $ac_file.cross.a
7733 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7734 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7737 if test "$ac_name" != "$ac_implib"
7738 then
7739 wine_fn_append_rule \
7740 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7741 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7742 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7743 clean::
7744 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7745 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7746 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7747 then
7748 wine_fn_append_rule \
7749 "__builddeps__: dlls/lib$ac_implib.cross.a
7750 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7751 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7752 clean::
7753 \$(RM) dlls/lib$ac_implib.cross.a"
7754 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7760 wine_fn_config_program ()
7762 ac_name=$1
7763 ac_dir=programs/$ac_name
7764 ac_enable=$2
7765 ac_flags=$3
7766 ac_program=$ac_name
7768 case $ac_name in
7769 *.*) ;;
7770 *) ac_program=$ac_program.exe ;;
7771 esac
7773 ac_clean=
7774 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7775 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7776 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7777 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7779 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7780 wine_fn_disabled_rules $ac_clean; return
7783 wine_fn_all_rules
7784 wine_fn_clean_rules $ac_clean
7785 wine_fn_append_rule "$ac_dir: __builddeps__"
7786 wine_fn_pot_rules
7788 wine_fn_has_flag install || return
7789 wine_fn_append_rule \
7790 ".PHONY: $ac_dir/install $ac_dir/uninstall
7791 install install-lib:: $ac_dir/install
7792 __uninstall__: $ac_dir/uninstall"
7794 if test -n "$DLLEXT"
7795 then
7796 wine_fn_append_rule \
7797 "$ac_dir/install:: $ac_dir
7798 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7799 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7800 $ac_dir/uninstall::
7801 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7803 if test -z "$with_wine64" && wine_fn_has_flag installbin
7804 then
7805 wine_fn_append_rule \
7806 "$ac_dir/install:: __tooldeps__
7807 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7808 $ac_dir/uninstall::
7809 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7811 else
7812 wine_fn_append_rule \
7813 "$ac_dir/install:: $ac_dir
7814 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7815 $ac_dir/uninstall::
7816 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7819 if test -z "$with_wine64" && wine_fn_has_flag manpage
7820 then
7821 wine_fn_append_rule \
7822 "$ac_dir/install:: $ac_dir
7823 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7824 $ac_dir/uninstall::
7825 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7829 wine_fn_config_test ()
7831 ac_dir=$1
7832 ac_name=$2
7833 ac_flags=$3
7835 ac_clean=
7836 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7837 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7839 if test "x$enable_tests" = xno; then :
7840 wine_fn_disabled_rules $ac_clean; return
7843 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7844 wine_fn_all_rules
7845 wine_fn_clean_rules $ac_clean
7847 wine_fn_append_rule \
7848 "$ac_dir: programs/winetest/Makefile __builddeps__
7849 programs/winetest: $ac_dir
7850 check test: $ac_dir/test
7851 .PHONY: $ac_dir/test
7852 $ac_dir/test: dummy
7853 @cd $ac_dir && \$(MAKE) test
7854 testclean::
7855 \$(RM) $ac_dir/*.ok"
7857 if test -n "$CROSSTARGET"
7858 then
7859 wine_fn_append_rule \
7860 "crosstest: $ac_dir/crosstest
7861 .PHONY: $ac_dir/crosstest
7862 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7863 @cd $ac_dir && \$(MAKE) crosstest"
7867 wine_fn_config_tool ()
7869 ac_dir=$1
7870 ac_flags=$2
7871 if test "x$enable_tools" = xno; then :
7872 return
7875 wine_fn_all_rules
7876 wine_fn_install_rules
7877 wine_fn_clean_rules
7879 wine_fn_append_rule "__tooldeps__: $ac_dir"
7880 wine_fn_append_rule "$ac_dir: libs/port"
7881 case $ac_dir in
7882 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7883 esac
7886 wine_fn_config_symlink ()
7888 ac_linkdir=
7889 if test "x$1" = "x-d"
7890 then
7891 ac_linkdir=$2
7892 shift; shift
7894 ac_links=$@
7895 wine_fn_append_rule \
7896 "$ac_links:
7897 @./config.status \$@
7898 distclean::
7899 \$(RM) $ac_links"
7900 for f in $ac_links; do wine_fn_ignore_file $f; done
7901 test -n "$ac_linkdir" || return
7902 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7905 wine_binary="wine"
7906 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7907 WINELOADER_PROGRAMS="$wine_binary"
7909 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7911 case $host_os in
7912 cygwin*|mingw32*)
7913 if test -n "$ac_tool_prefix"; then
7914 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7915 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7917 $as_echo_n "checking for $ac_word... " >&6; }
7918 if ${ac_cv_prog_DLLTOOL+:} false; then :
7919 $as_echo_n "(cached) " >&6
7920 else
7921 if test -n "$DLLTOOL"; then
7922 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7923 else
7924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7925 for as_dir in $PATH
7927 IFS=$as_save_IFS
7928 test -z "$as_dir" && as_dir=.
7929 for ac_exec_ext in '' $ac_executable_extensions; do
7930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7931 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7933 break 2
7935 done
7936 done
7937 IFS=$as_save_IFS
7941 DLLTOOL=$ac_cv_prog_DLLTOOL
7942 if test -n "$DLLTOOL"; then
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7944 $as_echo "$DLLTOOL" >&6; }
7945 else
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7947 $as_echo "no" >&6; }
7952 if test -z "$ac_cv_prog_DLLTOOL"; then
7953 ac_ct_DLLTOOL=$DLLTOOL
7954 # Extract the first word of "dlltool", so it can be a program name with args.
7955 set dummy dlltool; ac_word=$2
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7957 $as_echo_n "checking for $ac_word... " >&6; }
7958 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7959 $as_echo_n "(cached) " >&6
7960 else
7961 if test -n "$ac_ct_DLLTOOL"; then
7962 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7963 else
7964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7965 for as_dir in $PATH
7967 IFS=$as_save_IFS
7968 test -z "$as_dir" && as_dir=.
7969 for ac_exec_ext in '' $ac_executable_extensions; do
7970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7971 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7973 break 2
7975 done
7976 done
7977 IFS=$as_save_IFS
7981 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7982 if test -n "$ac_ct_DLLTOOL"; then
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7984 $as_echo "$ac_ct_DLLTOOL" >&6; }
7985 else
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7987 $as_echo "no" >&6; }
7990 if test "x$ac_ct_DLLTOOL" = x; then
7991 DLLTOOL="false"
7992 else
7993 case $cross_compiling:$ac_tool_warned in
7994 yes:)
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7997 ac_tool_warned=yes ;;
7998 esac
7999 DLLTOOL=$ac_ct_DLLTOOL
8001 else
8002 DLLTOOL="$ac_cv_prog_DLLTOOL"
8005 LIBEXT="dll"
8006 DLLEXT=""
8007 IMPLIBEXT="a"
8008 STATIC_IMPLIBEXT="a"
8009 enable_iphlpapi=${enable_iphlpapi:-no}
8010 enable_kernel32=${enable_kernel32:-no}
8011 enable_msvcrt=${enable_msvcrt:-no}
8012 enable_ntdll=${enable_ntdll:-no}
8013 enable_ws2_32=${enable_ws2_32:-no}
8014 enable_loader=${enable_loader:-no}
8015 enable_server=${enable_server:-no}
8016 with_x=${with_x:-no}
8017 with_pthread=${with_pthread:-no}
8019 crtlibs=""
8020 case $host_os in
8021 mingw32*)
8022 crtlibs="-lmsvcrt"
8023 SOCKET_LIBS="-lws2_32"
8025 esac
8027 LIBWINE_SHAREDLIB="libwine.dll"
8029 LIBWINE_IMPORTLIB="libwine.a"
8031 LIBWINE_INSTALL_LIB="libwine.dll"
8033 LIBWINE_INSTALL_DEV="libwine.a"
8035 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8037 LIBWINE_DEPENDS="wine.def"
8041 darwin*|macosx*)
8042 for ac_header in libunwind.h
8043 do :
8044 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8045 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8046 cat >>confdefs.h <<_ACEOF
8047 #define HAVE_LIBUNWIND_H 1
8048 _ACEOF
8052 done
8054 LIBEXT="dylib"
8055 DLLFLAGS="$DLLFLAGS -fPIC"
8056 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8057 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8058 COREFOUNDATION_LIBS="-framework CoreFoundation"
8060 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8062 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8064 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8066 CORESERVICES_LIBS="-framework CoreServices"
8068 APPKIT_LIBS="-framework AppKit"
8070 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8072 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8073 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8074 $as_echo_n "(cached) " >&6
8075 else
8076 ac_wine_try_cflags_saved=$CFLAGS
8077 CFLAGS="$CFLAGS -Wl,-no_pie"
8078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8079 /* end confdefs.h. */
8080 int main(int argc, char **argv) { return 0; }
8081 _ACEOF
8082 if ac_fn_c_try_link "$LINENO"; then :
8083 ac_cv_cflags__Wl__no_pie=yes
8084 else
8085 ac_cv_cflags__Wl__no_pie=no
8087 rm -f core conftest.err conftest.$ac_objext \
8088 conftest$ac_exeext conftest.$ac_ext
8089 CFLAGS=$ac_wine_try_cflags_saved
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8092 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8093 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8094 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8096 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8097 then
8098 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8101 if test "$ac_cv_header_Security_Security_h" = "yes"
8102 then
8103 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8105 ac_save_LIBS="$LIBS"
8106 LIBS="$LIBS $SECURITY_LIBS"
8107 for ac_func in SSLCopyPeerCertificates
8108 do :
8109 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8110 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8111 cat >>confdefs.h <<_ACEOF
8112 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8113 _ACEOF
8116 done
8118 LIBS="$ac_save_LIBS"
8119 with_gnutls=${with_gnutls:-no}
8121 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8122 then
8123 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8124 then
8125 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8127 else
8128 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8131 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8132 ac_save_LIBS="$LIBS"
8133 LIBS="$LIBS $COREAUDIO_LIBS"
8134 for ac_func in AUGraphAddNode
8135 do :
8136 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8137 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8138 cat >>confdefs.h <<_ACEOF
8139 #define HAVE_AUGRAPHADDNODE 1
8140 _ACEOF
8143 done
8145 LIBS="$ac_save_LIBS"
8147 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8148 then
8149 OPENAL_LIBS="-framework OpenAL"
8152 cat >>confdefs.h <<_ACEOF
8153 #define HAVE_OPENAL 1
8154 _ACEOF
8156 ac_cv_lib_openal=yes
8158 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8159 then
8160 OPENCL_LIBS="-framework OpenCL"
8162 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8164 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8165 then
8166 ac_save_LIBS="$LIBS"
8167 LIBS="$LIBS $IOKIT_LIBS"
8168 for ac_func in IOHIDManagerCreate
8169 do :
8170 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8171 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8172 cat >>confdefs.h <<_ACEOF
8173 #define HAVE_IOHIDMANAGERCREATE 1
8174 _ACEOF
8177 done
8179 LIBS="$ac_save_LIBS"
8181 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8182 then
8183 ac_save_LIBS="$LIBS"
8184 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8186 $as_echo_n "checking for the QuickTime framework... " >&6; }
8187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8188 /* end confdefs.h. */
8189 #include <QuickTime/ImageCompression.h>
8191 main ()
8193 CodecManagerVersion(NULL);
8195 return 0;
8197 _ACEOF
8198 if ac_fn_c_try_link "$LINENO"; then :
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8200 $as_echo "yes" >&6; }
8201 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8203 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8204 else
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8206 $as_echo "no" >&6; }
8207 ac_cv_header_QuickTime_ImageCompression_h=no
8209 rm -f core conftest.err conftest.$ac_objext \
8210 conftest$ac_exeext conftest.$ac_ext
8211 LIBS="$ac_save_LIBS"
8213 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8214 then
8215 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8217 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8218 then
8219 CARBON_LIBS="-framework Carbon"
8223 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8224 then
8225 ac_save_LIBS="$LIBS"
8226 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8227 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8228 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8229 enable_winemac_drv=${enable_winemac_drv:-yes}
8232 LIBS="$ac_save_LIBS"
8235 if test "x$enable_win16" = "xyes"
8236 then
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8238 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8239 if test "$cross_compiling" = yes; then :
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8241 $as_echo "cross-compiling, assuming yes" >&6; }
8242 else
8243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8244 /* end confdefs.h. */
8245 asm(".text\n"
8246 "bad:\tnop;nop\n"
8247 "good:\tnop;nop\n\t"
8248 ".globl _testfunc\n"
8249 "_testfunc:\tcallw good");
8250 extern void testfunc();
8252 main ()
8254 unsigned short *p = (unsigned short *)testfunc;
8255 return p[0] != 0xe866 || p[1] != 0xfffa
8257 return 0;
8259 _ACEOF
8260 if ac_fn_c_try_run "$LINENO"; then :
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8262 $as_echo "yes" >&6; }
8263 else
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8265 $as_echo "no" >&6; }
8266 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
8268 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8269 conftest.$ac_objext conftest.beam conftest.$ac_ext
8274 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8276 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8278 LIBWINE_INSTALL_DEV="libwine.dylib"
8280 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8282 WINELOADER_DEPENDS="wine_info.plist"
8286 linux-android*)
8287 DLLFLAGS="$DLLFLAGS -fPIC"
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8289 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8290 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8291 $as_echo_n "(cached) " >&6
8292 else
8293 ac_wine_try_cflags_saved=$CFLAGS
8294 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8296 /* end confdefs.h. */
8297 int main(int argc, char **argv) { return 0; }
8298 _ACEOF
8299 if ac_fn_c_try_link "$LINENO"; then :
8300 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8301 else
8302 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8304 rm -f core conftest.err conftest.$ac_objext \
8305 conftest$ac_exeext conftest.$ac_ext
8306 CFLAGS=$ac_wine_try_cflags_saved
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8309 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8310 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8311 LDEXECFLAGS="-Wl,--export-dynamic"
8313 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8315 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8316 if eval \${$as_ac_var+:} false; then :
8317 $as_echo_n "(cached) " >&6
8318 else
8319 ac_wine_try_cflags_saved=$CFLAGS
8320 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8322 /* end confdefs.h. */
8323 int main(int argc, char **argv) { return 0; }
8324 _ACEOF
8325 if ac_fn_c_try_link "$LINENO"; then :
8326 eval "$as_ac_var=yes"
8327 else
8328 eval "$as_ac_var=no"
8330 rm -f core conftest.err conftest.$ac_objext \
8331 conftest$ac_exeext conftest.$ac_ext
8332 CFLAGS=$ac_wine_try_cflags_saved
8334 eval ac_res=\$$as_ac_var
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8336 $as_echo "$ac_res" >&6; }
8337 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8338 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8339 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8340 else
8341 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8343 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8344 if eval \${$as_ac_var+:} false; then :
8345 $as_echo_n "(cached) " >&6
8346 else
8347 ac_wine_try_cflags_saved=$CFLAGS
8348 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8350 /* end confdefs.h. */
8351 int main(int argc, char **argv) { return 0; }
8352 _ACEOF
8353 if ac_fn_c_try_link "$LINENO"; then :
8354 eval "$as_ac_var=yes"
8355 else
8356 eval "$as_ac_var=no"
8358 rm -f core conftest.err conftest.$ac_objext \
8359 conftest$ac_exeext conftest.$ac_ext
8360 CFLAGS=$ac_wine_try_cflags_saved
8362 eval ac_res=\$$as_ac_var
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8364 $as_echo "$ac_res" >&6; }
8365 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8366 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8367 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8372 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8373 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8374 $as_echo_n "(cached) " >&6
8375 else
8376 ac_wine_try_cflags_saved=$CFLAGS
8377 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8379 /* end confdefs.h. */
8380 int main(int argc, char **argv) { return 0; }
8381 _ACEOF
8382 if ac_fn_c_try_link "$LINENO"; then :
8383 ac_cv_cflags__Wl___enable_new_dtags=yes
8384 else
8385 ac_cv_cflags__Wl___enable_new_dtags=no
8387 rm -f core conftest.err conftest.$ac_objext \
8388 conftest$ac_exeext conftest.$ac_ext
8389 CFLAGS=$ac_wine_try_cflags_saved
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8392 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8393 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8394 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8397 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8398 if ${ac_cv_cflags__Wl__pie+:} false; then :
8399 $as_echo_n "(cached) " >&6
8400 else
8401 ac_wine_try_cflags_saved=$CFLAGS
8402 CFLAGS="$CFLAGS -Wl,-pie"
8403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8404 /* end confdefs.h. */
8405 int main(int argc, char **argv) { return 0; }
8406 _ACEOF
8407 if ac_fn_c_try_link "$LINENO"; then :
8408 ac_cv_cflags__Wl__pie=yes
8409 else
8410 ac_cv_cflags__Wl__pie=no
8412 rm -f core conftest.err conftest.$ac_objext \
8413 conftest$ac_exeext conftest.$ac_ext
8414 CFLAGS=$ac_wine_try_cflags_saved
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8417 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8418 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8419 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8422 LIBWINE_SHAREDLIB="libwine.so"
8424 LIBWINE_INSTALL_LIB="libwine.so"
8426 LIBWINE_LDFLAGS="-shared"
8431 DLLFLAGS="$DLLFLAGS -fPIC"
8432 LDEXECFLAGS=""
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8434 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8435 if ${ac_cv_c_dll_gnuelf+:} false; then :
8436 $as_echo_n "(cached) " >&6
8437 else
8438 ac_wine_try_cflags_saved=$CFLAGS
8439 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8441 /* end confdefs.h. */
8442 void myfunc() {}
8443 _ACEOF
8444 if ac_fn_c_try_link "$LINENO"; then :
8445 ac_cv_c_dll_gnuelf="yes"
8446 else
8447 ac_cv_c_dll_gnuelf="no"
8449 rm -f core conftest.err conftest.$ac_objext \
8450 conftest$ac_exeext conftest.$ac_ext
8451 CFLAGS=$ac_wine_try_cflags_saved
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8454 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8455 if test "$ac_cv_c_dll_gnuelf" = "yes"
8456 then
8457 LIBWINE_LDFLAGS="-shared"
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8459 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8460 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8461 $as_echo_n "(cached) " >&6
8462 else
8463 ac_wine_try_cflags_saved=$CFLAGS
8464 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8466 /* end confdefs.h. */
8467 int main(int argc, char **argv) { return 0; }
8468 _ACEOF
8469 if ac_fn_c_try_link "$LINENO"; then :
8470 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8471 else
8472 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8474 rm -f core conftest.err conftest.$ac_objext \
8475 conftest$ac_exeext conftest.$ac_ext
8476 CFLAGS=$ac_wine_try_cflags_saved
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8479 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8480 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8481 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8482 else
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8484 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8485 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8486 $as_echo_n "(cached) " >&6
8487 else
8488 ac_wine_try_cflags_saved=$CFLAGS
8489 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8491 /* end confdefs.h. */
8492 int main(int argc, char **argv) { return 0; }
8493 _ACEOF
8494 if ac_fn_c_try_link "$LINENO"; then :
8495 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8496 else
8497 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8499 rm -f core conftest.err conftest.$ac_objext \
8500 conftest$ac_exeext conftest.$ac_ext
8501 CFLAGS=$ac_wine_try_cflags_saved
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8504 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8505 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8506 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8510 echo '{ global: *; };' >conftest.map
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8512 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8513 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8514 $as_echo_n "(cached) " >&6
8515 else
8516 ac_wine_try_cflags_saved=$CFLAGS
8517 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8519 /* end confdefs.h. */
8520 int main(int argc, char **argv) { return 0; }
8521 _ACEOF
8522 if ac_fn_c_try_link "$LINENO"; then :
8523 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8524 else
8525 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8527 rm -f core conftest.err conftest.$ac_objext \
8528 conftest$ac_exeext conftest.$ac_ext
8529 CFLAGS=$ac_wine_try_cflags_saved
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8532 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8533 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8534 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8536 rm -f conftest.map
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8539 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8540 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8541 $as_echo_n "(cached) " >&6
8542 else
8543 ac_wine_try_cflags_saved=$CFLAGS
8544 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8546 /* end confdefs.h. */
8547 int main(int argc, char **argv) { return 0; }
8548 _ACEOF
8549 if ac_fn_c_try_link "$LINENO"; then :
8550 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8551 else
8552 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8554 rm -f core conftest.err conftest.$ac_objext \
8555 conftest$ac_exeext conftest.$ac_ext
8556 CFLAGS=$ac_wine_try_cflags_saved
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8559 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8560 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8561 LDEXECFLAGS="-Wl,--export-dynamic"
8564 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8566 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8567 if eval \${$as_ac_var+:} false; then :
8568 $as_echo_n "(cached) " >&6
8569 else
8570 ac_wine_try_cflags_saved=$CFLAGS
8571 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8573 /* end confdefs.h. */
8574 int main(int argc, char **argv) { return 0; }
8575 _ACEOF
8576 if ac_fn_c_try_link "$LINENO"; then :
8577 eval "$as_ac_var=yes"
8578 else
8579 eval "$as_ac_var=no"
8581 rm -f core conftest.err conftest.$ac_objext \
8582 conftest$ac_exeext conftest.$ac_ext
8583 CFLAGS=$ac_wine_try_cflags_saved
8585 eval ac_res=\$$as_ac_var
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8587 $as_echo "$ac_res" >&6; }
8588 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8589 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8590 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8591 else
8592 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8594 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8595 if eval \${$as_ac_var+:} false; then :
8596 $as_echo_n "(cached) " >&6
8597 else
8598 ac_wine_try_cflags_saved=$CFLAGS
8599 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8601 /* end confdefs.h. */
8602 int main(int argc, char **argv) { return 0; }
8603 _ACEOF
8604 if ac_fn_c_try_link "$LINENO"; then :
8605 eval "$as_ac_var=yes"
8606 else
8607 eval "$as_ac_var=no"
8609 rm -f core conftest.err conftest.$ac_objext \
8610 conftest$ac_exeext conftest.$ac_ext
8611 CFLAGS=$ac_wine_try_cflags_saved
8613 eval ac_res=\$$as_ac_var
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8615 $as_echo "$ac_res" >&6; }
8616 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8617 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8618 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8623 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8624 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8625 $as_echo_n "(cached) " >&6
8626 else
8627 ac_wine_try_cflags_saved=$CFLAGS
8628 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8630 /* end confdefs.h. */
8631 int main(int argc, char **argv) { return 0; }
8632 _ACEOF
8633 if ac_fn_c_try_link "$LINENO"; then :
8634 ac_cv_cflags__Wl___enable_new_dtags=yes
8635 else
8636 ac_cv_cflags__Wl___enable_new_dtags=no
8638 rm -f core conftest.err conftest.$ac_objext \
8639 conftest$ac_exeext conftest.$ac_ext
8640 CFLAGS=$ac_wine_try_cflags_saved
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8643 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8644 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8645 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8648 case $host_cpu in
8649 *i[3456789]86* | x86_64)
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8651 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8652 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8653 $as_echo_n "(cached) " >&6
8654 else
8655 ac_wine_try_cflags_saved=$CFLAGS
8656 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8658 /* end confdefs.h. */
8659 int main(int argc, char **argv) { return 0; }
8660 _ACEOF
8661 if ac_fn_c_try_link "$LINENO"; then :
8662 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8663 else
8664 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8666 rm -f core conftest.err conftest.$ac_objext \
8667 conftest$ac_exeext conftest.$ac_ext
8668 CFLAGS=$ac_wine_try_cflags_saved
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8671 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8672 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8673 case $host_os in
8674 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8675 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8676 esac
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8680 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8681 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8682 $as_echo_n "(cached) " >&6
8683 else
8684 ac_wine_try_cflags_saved=$CFLAGS
8685 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8687 /* end confdefs.h. */
8688 int main(int argc, char **argv) { return 0; }
8689 _ACEOF
8690 if ac_fn_c_try_link "$LINENO"; then :
8691 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8692 else
8693 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8695 rm -f core conftest.err conftest.$ac_objext \
8696 conftest$ac_exeext conftest.$ac_ext
8697 CFLAGS=$ac_wine_try_cflags_saved
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8700 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8701 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8703 else
8704 # Extract the first word of "prelink", so it can be a program name with args.
8705 set dummy prelink; ac_word=$2
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8707 $as_echo_n "checking for $ac_word... " >&6; }
8708 if ${ac_cv_path_PRELINK+:} false; then :
8709 $as_echo_n "(cached) " >&6
8710 else
8711 case $PRELINK in
8712 [\\/]* | ?:[\\/]*)
8713 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8717 for as_dir in /sbin /usr/sbin $PATH
8719 IFS=$as_save_IFS
8720 test -z "$as_dir" && as_dir=.
8721 for ac_exec_ext in '' $ac_executable_extensions; do
8722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8723 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8725 break 2
8727 done
8728 done
8729 IFS=$as_save_IFS
8731 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8733 esac
8735 PRELINK=$ac_cv_path_PRELINK
8736 if test -n "$PRELINK"; then
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8738 $as_echo "$PRELINK" >&6; }
8739 else
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8741 $as_echo "no" >&6; }
8745 if test "x$PRELINK" = xfalse
8746 then
8747 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8751 esac
8753 else
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8755 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8756 if ${ac_cv_c_dll_unixware+:} false; then :
8757 $as_echo_n "(cached) " >&6
8758 else
8759 ac_wine_try_cflags_saved=$CFLAGS
8760 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8762 /* end confdefs.h. */
8763 void myfunc() {}
8764 _ACEOF
8765 if ac_fn_c_try_link "$LINENO"; then :
8766 ac_cv_c_dll_unixware="yes"
8767 else
8768 ac_cv_c_dll_unixware="no"
8770 rm -f core conftest.err conftest.$ac_objext \
8771 conftest$ac_exeext conftest.$ac_ext
8772 CFLAGS=$ac_wine_try_cflags_saved
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8775 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8776 if test "$ac_cv_c_dll_unixware" = "yes"
8777 then
8778 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8781 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8783 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8785 LIBWINE_INSTALL_DEV="libwine.so"
8787 LIBWINE_DEPENDS="wine.map"
8790 esac
8792 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8793 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8794 enable_winemac_drv=${enable_winemac_drv:-no}
8795 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8797 CROSSTARGET=""
8799 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8800 then
8801 case "$host_cpu" in
8802 i[3456789]86*)
8803 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
8804 mingw32-gcc" ;;
8805 x86_64)
8806 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 " ;;
8808 ac_prefix_list="" ;;
8809 esac
8810 for ac_prog in $ac_prefix_list
8812 # Extract the first word of "$ac_prog", so it can be a program name with args.
8813 set dummy $ac_prog; ac_word=$2
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8815 $as_echo_n "checking for $ac_word... " >&6; }
8816 if ${ac_cv_prog_CROSSCC+:} false; then :
8817 $as_echo_n "(cached) " >&6
8818 else
8819 if test -n "$CROSSCC"; then
8820 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8821 else
8822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8823 for as_dir in $PATH
8825 IFS=$as_save_IFS
8826 test -z "$as_dir" && as_dir=.
8827 for ac_exec_ext in '' $ac_executable_extensions; do
8828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8829 ac_cv_prog_CROSSCC="$ac_prog"
8830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8831 break 2
8833 done
8834 done
8835 IFS=$as_save_IFS
8839 CROSSCC=$ac_cv_prog_CROSSCC
8840 if test -n "$CROSSCC"; then
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8842 $as_echo "$CROSSCC" >&6; }
8843 else
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8845 $as_echo "no" >&6; }
8849 test -n "$CROSSCC" && break
8850 done
8851 test -n "$CROSSCC" || CROSSCC="false"
8853 if test "$CROSSCC" != "false"
8854 then
8855 ac_save_CC="$CC"
8856 CC="$CROSSCC"
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8858 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8860 /* end confdefs.h. */
8863 main ()
8867 return 0;
8869 _ACEOF
8870 if ac_fn_c_try_compile "$LINENO"; then :
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8872 $as_echo "yes" >&6; }
8873 set x $CROSSCC
8874 shift
8875 while test $# -ge 1
8877 case "$1" in
8878 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8879 esac
8880 shift
8881 done
8882 else
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8884 $as_echo "no" >&6; }
8886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8887 CC="$ac_save_CC"
8892 if test "$ac_cv_header_pthread_h" = "yes"
8893 then
8894 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8895 if test "x$ac_cv_func_pthread_create" = xyes; then :
8897 else
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8899 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8900 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8901 $as_echo_n "(cached) " >&6
8902 else
8903 ac_check_lib_save_LIBS=$LIBS
8904 LIBS="-lpthread $LIBS"
8905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8906 /* end confdefs.h. */
8908 /* Override any GCC internal prototype to avoid an error.
8909 Use char because int might match the return type of a GCC
8910 builtin and then its argument prototype would still apply. */
8911 #ifdef __cplusplus
8912 extern "C"
8913 #endif
8914 char pthread_create ();
8916 main ()
8918 return pthread_create ();
8920 return 0;
8922 _ACEOF
8923 if ac_fn_c_try_link "$LINENO"; then :
8924 ac_cv_lib_pthread_pthread_create=yes
8925 else
8926 ac_cv_lib_pthread_pthread_create=no
8928 rm -f core conftest.err conftest.$ac_objext \
8929 conftest$ac_exeext conftest.$ac_ext
8930 LIBS=$ac_check_lib_save_LIBS
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8933 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8934 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8935 PTHREAD_LIBS="-lpthread"
8942 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8943 case "x$with_pthread" in
8944 xno) ;;
8945 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8946 Wine cannot support threads without libpthread.
8947 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8948 esac
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8953 $as_echo_n "checking for X... " >&6; }
8956 # Check whether --with-x was given.
8957 if test "${with_x+set}" = set; then :
8958 withval=$with_x;
8961 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8962 if test "x$with_x" = xno; then
8963 # The user explicitly disabled X.
8964 have_x=disabled
8965 else
8966 case $x_includes,$x_libraries in #(
8967 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8968 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8969 $as_echo_n "(cached) " >&6
8970 else
8971 # One or both of the vars are not set, and there is no cached value.
8972 ac_x_includes=no ac_x_libraries=no
8973 rm -f -r conftest.dir
8974 if mkdir conftest.dir; then
8975 cd conftest.dir
8976 cat >Imakefile <<'_ACEOF'
8977 incroot:
8978 @echo incroot='${INCROOT}'
8979 usrlibdir:
8980 @echo usrlibdir='${USRLIBDIR}'
8981 libdir:
8982 @echo libdir='${LIBDIR}'
8983 _ACEOF
8984 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8985 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8986 for ac_var in incroot usrlibdir libdir; do
8987 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8988 done
8989 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8990 for ac_extension in a so sl dylib la dll; do
8991 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8992 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8993 ac_im_usrlibdir=$ac_im_libdir; break
8995 done
8996 # Screen out bogus values from the imake configuration. They are
8997 # bogus both because they are the default anyway, and because
8998 # using them would break gcc on systems where it needs fixed includes.
8999 case $ac_im_incroot in
9000 /usr/include) ac_x_includes= ;;
9001 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9002 esac
9003 case $ac_im_usrlibdir in
9004 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9005 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9006 esac
9008 cd ..
9009 rm -f -r conftest.dir
9012 # Standard set of common directories for X headers.
9013 # Check X11 before X11Rn because it is often a symlink to the current release.
9014 ac_x_header_dirs='
9015 /usr/X11/include
9016 /usr/X11R7/include
9017 /usr/X11R6/include
9018 /usr/X11R5/include
9019 /usr/X11R4/include
9021 /usr/include/X11
9022 /usr/include/X11R7
9023 /usr/include/X11R6
9024 /usr/include/X11R5
9025 /usr/include/X11R4
9027 /usr/local/X11/include
9028 /usr/local/X11R7/include
9029 /usr/local/X11R6/include
9030 /usr/local/X11R5/include
9031 /usr/local/X11R4/include
9033 /usr/local/include/X11
9034 /usr/local/include/X11R7
9035 /usr/local/include/X11R6
9036 /usr/local/include/X11R5
9037 /usr/local/include/X11R4
9039 /usr/X386/include
9040 /usr/x386/include
9041 /usr/XFree86/include/X11
9043 /usr/include
9044 /usr/local/include
9045 /usr/unsupported/include
9046 /usr/athena/include
9047 /usr/local/x11r5/include
9048 /usr/lpp/Xamples/include
9050 /usr/openwin/include
9051 /usr/openwin/share/include'
9053 if test "$ac_x_includes" = no; then
9054 # Guess where to find include files, by looking for Xlib.h.
9055 # First, try using that file with no special directory specified.
9056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9057 /* end confdefs.h. */
9058 #include <X11/Xlib.h>
9059 _ACEOF
9060 if ac_fn_c_try_cpp "$LINENO"; then :
9061 # We can compile using X headers with no special include directory.
9062 ac_x_includes=
9063 else
9064 for ac_dir in $ac_x_header_dirs; do
9065 if test -r "$ac_dir/X11/Xlib.h"; then
9066 ac_x_includes=$ac_dir
9067 break
9069 done
9071 rm -f conftest.err conftest.i conftest.$ac_ext
9072 fi # $ac_x_includes = no
9074 if test "$ac_x_libraries" = no; then
9075 # Check for the libraries.
9076 # See if we find them without any special options.
9077 # Don't add to $LIBS permanently.
9078 ac_save_LIBS=$LIBS
9079 LIBS="-lX11 $LIBS"
9080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9081 /* end confdefs.h. */
9082 #include <X11/Xlib.h>
9084 main ()
9086 XrmInitialize ()
9088 return 0;
9090 _ACEOF
9091 if ac_fn_c_try_link "$LINENO"; then :
9092 LIBS=$ac_save_LIBS
9093 # We can link X programs with no special library path.
9094 ac_x_libraries=
9095 else
9096 LIBS=$ac_save_LIBS
9097 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9099 # Don't even attempt the hair of trying to link an X program!
9100 for ac_extension in a so sl dylib la dll; do
9101 if test -r "$ac_dir/libX11.$ac_extension"; then
9102 ac_x_libraries=$ac_dir
9103 break 2
9105 done
9106 done
9108 rm -f core conftest.err conftest.$ac_objext \
9109 conftest$ac_exeext conftest.$ac_ext
9110 fi # $ac_x_libraries = no
9112 case $ac_x_includes,$ac_x_libraries in #(
9113 no,* | *,no | *\'*)
9114 # Didn't find X, or a directory has "'" in its name.
9115 ac_cv_have_x="have_x=no";; #(
9117 # Record where we found X for the cache.
9118 ac_cv_have_x="have_x=yes\
9119 ac_x_includes='$ac_x_includes'\
9120 ac_x_libraries='$ac_x_libraries'"
9121 esac
9123 ;; #(
9124 *) have_x=yes;;
9125 esac
9126 eval "$ac_cv_have_x"
9127 fi # $with_x != no
9129 if test "$have_x" != yes; then
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9131 $as_echo "$have_x" >&6; }
9132 no_x=yes
9133 else
9134 # If each of the values was on the command line, it overrides each guess.
9135 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9136 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9137 # Update the cache value to reflect the command line values.
9138 ac_cv_have_x="have_x=yes\
9139 ac_x_includes='$x_includes'\
9140 ac_x_libraries='$x_libraries'"
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9142 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9145 if test "$no_x" = yes; then
9146 # Not all programs may use this symbol, but it does not hurt to define it.
9148 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9150 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9151 else
9152 if test -n "$x_includes"; then
9153 X_CFLAGS="$X_CFLAGS -I$x_includes"
9156 # It would also be nice to do this for all -L options, not just this one.
9157 if test -n "$x_libraries"; then
9158 X_LIBS="$X_LIBS -L$x_libraries"
9159 # For Solaris; some versions of Sun CC require a space after -R and
9160 # others require no space. Words are not sufficient . . . .
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9162 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9163 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9164 ac_xsave_c_werror_flag=$ac_c_werror_flag
9165 ac_c_werror_flag=yes
9166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9167 /* end confdefs.h. */
9170 main ()
9174 return 0;
9176 _ACEOF
9177 if ac_fn_c_try_link "$LINENO"; then :
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9179 $as_echo "no" >&6; }
9180 X_LIBS="$X_LIBS -R$x_libraries"
9181 else
9182 LIBS="$ac_xsave_LIBS -R $x_libraries"
9183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9184 /* end confdefs.h. */
9187 main ()
9191 return 0;
9193 _ACEOF
9194 if ac_fn_c_try_link "$LINENO"; then :
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9196 $as_echo "yes" >&6; }
9197 X_LIBS="$X_LIBS -R $x_libraries"
9198 else
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9200 $as_echo "neither works" >&6; }
9202 rm -f core conftest.err conftest.$ac_objext \
9203 conftest$ac_exeext conftest.$ac_ext
9205 rm -f core conftest.err conftest.$ac_objext \
9206 conftest$ac_exeext conftest.$ac_ext
9207 ac_c_werror_flag=$ac_xsave_c_werror_flag
9208 LIBS=$ac_xsave_LIBS
9211 # Check for system-dependent libraries X programs must link with.
9212 # Do this before checking for the system-independent R6 libraries
9213 # (-lICE), since we may need -lsocket or whatever for X linking.
9215 if test "$ISC" = yes; then
9216 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9217 else
9218 # Martyn Johnson says this is needed for Ultrix, if the X
9219 # libraries were built with DECnet support. And Karl Berry says
9220 # the Alpha needs dnet_stub (dnet does not exist).
9221 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9223 /* end confdefs.h. */
9225 /* Override any GCC internal prototype to avoid an error.
9226 Use char because int might match the return type of a GCC
9227 builtin and then its argument prototype would still apply. */
9228 #ifdef __cplusplus
9229 extern "C"
9230 #endif
9231 char XOpenDisplay ();
9233 main ()
9235 return XOpenDisplay ();
9237 return 0;
9239 _ACEOF
9240 if ac_fn_c_try_link "$LINENO"; then :
9242 else
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9244 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9245 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9246 $as_echo_n "(cached) " >&6
9247 else
9248 ac_check_lib_save_LIBS=$LIBS
9249 LIBS="-ldnet $LIBS"
9250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9251 /* end confdefs.h. */
9253 /* Override any GCC internal prototype to avoid an error.
9254 Use char because int might match the return type of a GCC
9255 builtin and then its argument prototype would still apply. */
9256 #ifdef __cplusplus
9257 extern "C"
9258 #endif
9259 char dnet_ntoa ();
9261 main ()
9263 return dnet_ntoa ();
9265 return 0;
9267 _ACEOF
9268 if ac_fn_c_try_link "$LINENO"; then :
9269 ac_cv_lib_dnet_dnet_ntoa=yes
9270 else
9271 ac_cv_lib_dnet_dnet_ntoa=no
9273 rm -f core conftest.err conftest.$ac_objext \
9274 conftest$ac_exeext conftest.$ac_ext
9275 LIBS=$ac_check_lib_save_LIBS
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9278 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9279 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9280 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9283 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9285 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9286 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9287 $as_echo_n "(cached) " >&6
9288 else
9289 ac_check_lib_save_LIBS=$LIBS
9290 LIBS="-ldnet_stub $LIBS"
9291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9292 /* end confdefs.h. */
9294 /* Override any GCC internal prototype to avoid an error.
9295 Use char because int might match the return type of a GCC
9296 builtin and then its argument prototype would still apply. */
9297 #ifdef __cplusplus
9298 extern "C"
9299 #endif
9300 char dnet_ntoa ();
9302 main ()
9304 return dnet_ntoa ();
9306 return 0;
9308 _ACEOF
9309 if ac_fn_c_try_link "$LINENO"; then :
9310 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9311 else
9312 ac_cv_lib_dnet_stub_dnet_ntoa=no
9314 rm -f core conftest.err conftest.$ac_objext \
9315 conftest$ac_exeext conftest.$ac_ext
9316 LIBS=$ac_check_lib_save_LIBS
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9319 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9320 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9321 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9326 rm -f core conftest.err conftest.$ac_objext \
9327 conftest$ac_exeext conftest.$ac_ext
9328 LIBS="$ac_xsave_LIBS"
9330 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9331 # to get the SysV transport functions.
9332 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9333 # needs -lnsl.
9334 # The nsl library prevents programs from opening the X display
9335 # on Irix 5.2, according to T.E. Dickey.
9336 # The functions gethostbyname, getservbyname, and inet_addr are
9337 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9338 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9339 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9343 if test $ac_cv_func_gethostbyname = no; then
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9345 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9346 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9347 $as_echo_n "(cached) " >&6
9348 else
9349 ac_check_lib_save_LIBS=$LIBS
9350 LIBS="-lnsl $LIBS"
9351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9352 /* end confdefs.h. */
9354 /* Override any GCC internal prototype to avoid an error.
9355 Use char because int might match the return type of a GCC
9356 builtin and then its argument prototype would still apply. */
9357 #ifdef __cplusplus
9358 extern "C"
9359 #endif
9360 char gethostbyname ();
9362 main ()
9364 return gethostbyname ();
9366 return 0;
9368 _ACEOF
9369 if ac_fn_c_try_link "$LINENO"; then :
9370 ac_cv_lib_nsl_gethostbyname=yes
9371 else
9372 ac_cv_lib_nsl_gethostbyname=no
9374 rm -f core conftest.err conftest.$ac_objext \
9375 conftest$ac_exeext conftest.$ac_ext
9376 LIBS=$ac_check_lib_save_LIBS
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9379 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9380 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9381 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9384 if test $ac_cv_lib_nsl_gethostbyname = no; then
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9386 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9387 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9388 $as_echo_n "(cached) " >&6
9389 else
9390 ac_check_lib_save_LIBS=$LIBS
9391 LIBS="-lbsd $LIBS"
9392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9393 /* end confdefs.h. */
9395 /* Override any GCC internal prototype to avoid an error.
9396 Use char because int might match the return type of a GCC
9397 builtin and then its argument prototype would still apply. */
9398 #ifdef __cplusplus
9399 extern "C"
9400 #endif
9401 char gethostbyname ();
9403 main ()
9405 return gethostbyname ();
9407 return 0;
9409 _ACEOF
9410 if ac_fn_c_try_link "$LINENO"; then :
9411 ac_cv_lib_bsd_gethostbyname=yes
9412 else
9413 ac_cv_lib_bsd_gethostbyname=no
9415 rm -f core conftest.err conftest.$ac_objext \
9416 conftest$ac_exeext conftest.$ac_ext
9417 LIBS=$ac_check_lib_save_LIBS
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9420 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9421 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9422 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9428 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9429 # socket/setsockopt and other routines are undefined under SCO ODT
9430 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9431 # on later versions), says Simon Leinen: it contains gethostby*
9432 # variants that don't use the name server (or something). -lsocket
9433 # must be given before -lnsl if both are needed. We assume that
9434 # if connect needs -lnsl, so does gethostbyname.
9435 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9436 if test "x$ac_cv_func_connect" = xyes; then :
9440 if test $ac_cv_func_connect = no; then
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9442 $as_echo_n "checking for connect in -lsocket... " >&6; }
9443 if ${ac_cv_lib_socket_connect+:} false; then :
9444 $as_echo_n "(cached) " >&6
9445 else
9446 ac_check_lib_save_LIBS=$LIBS
9447 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9449 /* end confdefs.h. */
9451 /* Override any GCC internal prototype to avoid an error.
9452 Use char because int might match the return type of a GCC
9453 builtin and then its argument prototype would still apply. */
9454 #ifdef __cplusplus
9455 extern "C"
9456 #endif
9457 char connect ();
9459 main ()
9461 return connect ();
9463 return 0;
9465 _ACEOF
9466 if ac_fn_c_try_link "$LINENO"; then :
9467 ac_cv_lib_socket_connect=yes
9468 else
9469 ac_cv_lib_socket_connect=no
9471 rm -f core conftest.err conftest.$ac_objext \
9472 conftest$ac_exeext conftest.$ac_ext
9473 LIBS=$ac_check_lib_save_LIBS
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9476 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9477 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9478 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9483 # Guillermo Gomez says -lposix is necessary on A/UX.
9484 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9485 if test "x$ac_cv_func_remove" = xyes; then :
9489 if test $ac_cv_func_remove = no; then
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9491 $as_echo_n "checking for remove in -lposix... " >&6; }
9492 if ${ac_cv_lib_posix_remove+:} false; then :
9493 $as_echo_n "(cached) " >&6
9494 else
9495 ac_check_lib_save_LIBS=$LIBS
9496 LIBS="-lposix $LIBS"
9497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9498 /* end confdefs.h. */
9500 /* Override any GCC internal prototype to avoid an error.
9501 Use char because int might match the return type of a GCC
9502 builtin and then its argument prototype would still apply. */
9503 #ifdef __cplusplus
9504 extern "C"
9505 #endif
9506 char remove ();
9508 main ()
9510 return remove ();
9512 return 0;
9514 _ACEOF
9515 if ac_fn_c_try_link "$LINENO"; then :
9516 ac_cv_lib_posix_remove=yes
9517 else
9518 ac_cv_lib_posix_remove=no
9520 rm -f core conftest.err conftest.$ac_objext \
9521 conftest$ac_exeext conftest.$ac_ext
9522 LIBS=$ac_check_lib_save_LIBS
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9525 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9526 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9527 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9532 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9533 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9534 if test "x$ac_cv_func_shmat" = xyes; then :
9538 if test $ac_cv_func_shmat = no; then
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9540 $as_echo_n "checking for shmat in -lipc... " >&6; }
9541 if ${ac_cv_lib_ipc_shmat+:} false; then :
9542 $as_echo_n "(cached) " >&6
9543 else
9544 ac_check_lib_save_LIBS=$LIBS
9545 LIBS="-lipc $LIBS"
9546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9547 /* end confdefs.h. */
9549 /* Override any GCC internal prototype to avoid an error.
9550 Use char because int might match the return type of a GCC
9551 builtin and then its argument prototype would still apply. */
9552 #ifdef __cplusplus
9553 extern "C"
9554 #endif
9555 char shmat ();
9557 main ()
9559 return shmat ();
9561 return 0;
9563 _ACEOF
9564 if ac_fn_c_try_link "$LINENO"; then :
9565 ac_cv_lib_ipc_shmat=yes
9566 else
9567 ac_cv_lib_ipc_shmat=no
9569 rm -f core conftest.err conftest.$ac_objext \
9570 conftest$ac_exeext conftest.$ac_ext
9571 LIBS=$ac_check_lib_save_LIBS
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9574 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9575 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9576 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9582 # Check for libraries that X11R6 Xt/Xaw programs need.
9583 ac_save_LDFLAGS=$LDFLAGS
9584 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9585 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9586 # check for ICE first), but we must link in the order -lSM -lICE or
9587 # we get undefined symbols. So assume we have SM if we have ICE.
9588 # These have to be linked with before -lX11, unlike the other
9589 # libraries we check for below, so use a different variable.
9590 # John Interrante, Karl Berry
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9592 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9593 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9594 $as_echo_n "(cached) " >&6
9595 else
9596 ac_check_lib_save_LIBS=$LIBS
9597 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9599 /* end confdefs.h. */
9601 /* Override any GCC internal prototype to avoid an error.
9602 Use char because int might match the return type of a GCC
9603 builtin and then its argument prototype would still apply. */
9604 #ifdef __cplusplus
9605 extern "C"
9606 #endif
9607 char IceConnectionNumber ();
9609 main ()
9611 return IceConnectionNumber ();
9613 return 0;
9615 _ACEOF
9616 if ac_fn_c_try_link "$LINENO"; then :
9617 ac_cv_lib_ICE_IceConnectionNumber=yes
9618 else
9619 ac_cv_lib_ICE_IceConnectionNumber=no
9621 rm -f core conftest.err conftest.$ac_objext \
9622 conftest$ac_exeext conftest.$ac_ext
9623 LIBS=$ac_check_lib_save_LIBS
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9626 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9627 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9628 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9631 LDFLAGS=$ac_save_LDFLAGS
9636 if test "$have_x" = "yes"
9637 then
9638 ac_save_CPPFLAGS="$CPPFLAGS"
9639 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9642 $as_echo_n "checking for -lX11... " >&6; }
9643 if ${ac_cv_lib_soname_X11+:} false; then :
9644 $as_echo_n "(cached) " >&6
9645 else
9646 ac_check_soname_save_LIBS=$LIBS
9647 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9649 /* end confdefs.h. */
9651 /* Override any GCC internal prototype to avoid an error.
9652 Use char because int might match the return type of a GCC
9653 builtin and then its argument prototype would still apply. */
9654 #ifdef __cplusplus
9655 extern "C"
9656 #endif
9657 char XCreateWindow ();
9659 main ()
9661 return XCreateWindow ();
9663 return 0;
9665 _ACEOF
9666 if ac_fn_c_try_link "$LINENO"; then :
9667 case "$LIBEXT" in
9668 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9669 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'` ;;
9670 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9671 if ${ac_cv_lib_soname_X11:+false} :; then :
9672 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9673 fi ;;
9674 esac
9676 rm -f core conftest.err conftest.$ac_objext \
9677 conftest$ac_exeext conftest.$ac_ext
9678 LIBS=$ac_check_soname_save_LIBS
9680 if ${ac_cv_lib_soname_X11:+false} :; then :
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9682 $as_echo "not found" >&6; }
9684 else
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9686 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9688 cat >>confdefs.h <<_ACEOF
9689 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9690 _ACEOF
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9695 $as_echo_n "checking for -lXext... " >&6; }
9696 if ${ac_cv_lib_soname_Xext+:} false; then :
9697 $as_echo_n "(cached) " >&6
9698 else
9699 ac_check_soname_save_LIBS=$LIBS
9700 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9702 /* end confdefs.h. */
9704 /* Override any GCC internal prototype to avoid an error.
9705 Use char because int might match the return type of a GCC
9706 builtin and then its argument prototype would still apply. */
9707 #ifdef __cplusplus
9708 extern "C"
9709 #endif
9710 char XextCreateExtension ();
9712 main ()
9714 return XextCreateExtension ();
9716 return 0;
9718 _ACEOF
9719 if ac_fn_c_try_link "$LINENO"; then :
9720 case "$LIBEXT" in
9721 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9722 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'` ;;
9723 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9724 if ${ac_cv_lib_soname_Xext:+false} :; then :
9725 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9726 fi ;;
9727 esac
9729 rm -f core conftest.err conftest.$ac_objext \
9730 conftest$ac_exeext conftest.$ac_ext
9731 LIBS=$ac_check_soname_save_LIBS
9733 if ${ac_cv_lib_soname_Xext:+false} :; then :
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9735 $as_echo "not found" >&6; }
9737 else
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9739 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9741 cat >>confdefs.h <<_ACEOF
9742 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9743 _ACEOF
9745 X_LIBS="$X_LIBS -lXext"
9747 X_LIBS="$X_LIBS -lX11"
9749 for ac_header in X11/Xlib.h \
9750 X11/XKBlib.h \
9751 X11/Xutil.h \
9752 X11/Xcursor/Xcursor.h \
9753 X11/extensions/shape.h \
9754 X11/extensions/XInput.h \
9755 X11/extensions/XInput2.h \
9756 X11/extensions/XShm.h \
9757 X11/extensions/Xcomposite.h \
9758 X11/extensions/Xinerama.h \
9759 X11/extensions/Xrandr.h \
9760 X11/extensions/Xrender.h \
9761 X11/extensions/xf86vmode.h \
9762 X11/extensions/xf86vmproto.h
9763 do :
9764 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9765 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9766 # include <X11/Xlib.h>
9767 #endif
9768 #ifdef HAVE_X11_XUTIL_H
9769 # include <X11/Xutil.h>
9770 #endif
9772 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9773 cat >>confdefs.h <<_ACEOF
9774 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9775 _ACEOF
9779 done
9782 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9783 then
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9785 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9786 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9787 $as_echo_n "(cached) " >&6
9788 else
9789 ac_check_lib_save_LIBS=$LIBS
9790 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9792 /* end confdefs.h. */
9794 /* Override any GCC internal prototype to avoid an error.
9795 Use char because int might match the return type of a GCC
9796 builtin and then its argument prototype would still apply. */
9797 #ifdef __cplusplus
9798 extern "C"
9799 #endif
9800 char XkbQueryExtension ();
9802 main ()
9804 return XkbQueryExtension ();
9806 return 0;
9808 _ACEOF
9809 if ac_fn_c_try_link "$LINENO"; then :
9810 ac_cv_lib_X11_XkbQueryExtension=yes
9811 else
9812 ac_cv_lib_X11_XkbQueryExtension=no
9814 rm -f core conftest.err conftest.$ac_objext \
9815 conftest$ac_exeext conftest.$ac_ext
9816 LIBS=$ac_check_lib_save_LIBS
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9819 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9820 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9822 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9828 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9829 then
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9831 $as_echo_n "checking for -lXcursor... " >&6; }
9832 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9833 $as_echo_n "(cached) " >&6
9834 else
9835 ac_check_soname_save_LIBS=$LIBS
9836 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9838 /* end confdefs.h. */
9840 /* Override any GCC internal prototype to avoid an error.
9841 Use char because int might match the return type of a GCC
9842 builtin and then its argument prototype would still apply. */
9843 #ifdef __cplusplus
9844 extern "C"
9845 #endif
9846 char XcursorImageLoadCursor ();
9848 main ()
9850 return XcursorImageLoadCursor ();
9852 return 0;
9854 _ACEOF
9855 if ac_fn_c_try_link "$LINENO"; then :
9856 case "$LIBEXT" in
9857 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9858 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'` ;;
9859 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9860 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9861 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9862 fi ;;
9863 esac
9865 rm -f core conftest.err conftest.$ac_objext \
9866 conftest$ac_exeext conftest.$ac_ext
9867 LIBS=$ac_check_soname_save_LIBS
9869 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9871 $as_echo "not found" >&6; }
9873 else
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9875 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9877 cat >>confdefs.h <<_ACEOF
9878 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9879 _ACEOF
9884 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9885 case "x$with_xcursor" in
9886 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9887 xno) ;;
9888 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9889 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9890 esac
9893 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9894 then
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9896 $as_echo_n "checking for -lXi... " >&6; }
9897 if ${ac_cv_lib_soname_Xi+:} false; then :
9898 $as_echo_n "(cached) " >&6
9899 else
9900 ac_check_soname_save_LIBS=$LIBS
9901 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9903 /* end confdefs.h. */
9905 /* Override any GCC internal prototype to avoid an error.
9906 Use char because int might match the return type of a GCC
9907 builtin and then its argument prototype would still apply. */
9908 #ifdef __cplusplus
9909 extern "C"
9910 #endif
9911 char XOpenDevice ();
9913 main ()
9915 return XOpenDevice ();
9917 return 0;
9919 _ACEOF
9920 if ac_fn_c_try_link "$LINENO"; then :
9921 case "$LIBEXT" in
9922 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9923 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'` ;;
9924 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9925 if ${ac_cv_lib_soname_Xi:+false} :; then :
9926 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9927 fi ;;
9928 esac
9930 rm -f core conftest.err conftest.$ac_objext \
9931 conftest$ac_exeext conftest.$ac_ext
9932 LIBS=$ac_check_soname_save_LIBS
9934 if ${ac_cv_lib_soname_Xi:+false} :; then :
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9936 $as_echo "not found" >&6; }
9938 else
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9940 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9942 cat >>confdefs.h <<_ACEOF
9943 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9944 _ACEOF
9949 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9950 case "x$with_xinput" in
9951 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9952 xno) ;;
9953 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9954 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9955 esac
9958 if test "x$ac_cv_lib_soname_Xi" != x
9959 then
9960 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9961 case "x$with_xinput2" in
9962 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9963 xno) ;;
9964 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9965 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9966 esac
9970 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9971 then
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9973 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9974 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9975 $as_echo_n "(cached) " >&6
9976 else
9977 ac_check_lib_save_LIBS=$LIBS
9978 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9980 /* end confdefs.h. */
9982 /* Override any GCC internal prototype to avoid an error.
9983 Use char because int might match the return type of a GCC
9984 builtin and then its argument prototype would still apply. */
9985 #ifdef __cplusplus
9986 extern "C"
9987 #endif
9988 char XShmQueryExtension ();
9990 main ()
9992 return XShmQueryExtension ();
9994 return 0;
9996 _ACEOF
9997 if ac_fn_c_try_link "$LINENO"; then :
9998 ac_cv_lib_Xext_XShmQueryExtension=yes
9999 else
10000 ac_cv_lib_Xext_XShmQueryExtension=no
10002 rm -f core conftest.err conftest.$ac_objext \
10003 conftest$ac_exeext conftest.$ac_ext
10004 LIBS=$ac_check_lib_save_LIBS
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10007 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10008 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10010 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10015 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10016 case "x$with_xshm" in
10017 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10018 xno) ;;
10019 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10020 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10021 esac
10024 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10025 then
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10027 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10028 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10029 $as_echo_n "(cached) " >&6
10030 else
10031 ac_check_lib_save_LIBS=$LIBS
10032 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10034 /* end confdefs.h. */
10036 /* Override any GCC internal prototype to avoid an error.
10037 Use char because int might match the return type of a GCC
10038 builtin and then its argument prototype would still apply. */
10039 #ifdef __cplusplus
10040 extern "C"
10041 #endif
10042 char XShapeQueryExtension ();
10044 main ()
10046 return XShapeQueryExtension ();
10048 return 0;
10050 _ACEOF
10051 if ac_fn_c_try_link "$LINENO"; then :
10052 ac_cv_lib_Xext_XShapeQueryExtension=yes
10053 else
10054 ac_cv_lib_Xext_XShapeQueryExtension=no
10056 rm -f core conftest.err conftest.$ac_objext \
10057 conftest$ac_exeext conftest.$ac_ext
10058 LIBS=$ac_check_lib_save_LIBS
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10061 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10062 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10064 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10069 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10070 case "x$with_xshape" in
10071 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10072 xno) ;;
10073 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10074 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10075 esac
10078 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10079 then
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10081 $as_echo_n "checking for -lXxf86vm... " >&6; }
10082 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10083 $as_echo_n "(cached) " >&6
10084 else
10085 ac_check_soname_save_LIBS=$LIBS
10086 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10088 /* end confdefs.h. */
10090 /* Override any GCC internal prototype to avoid an error.
10091 Use char because int might match the return type of a GCC
10092 builtin and then its argument prototype would still apply. */
10093 #ifdef __cplusplus
10094 extern "C"
10095 #endif
10096 char XF86VidModeQueryExtension ();
10098 main ()
10100 return XF86VidModeQueryExtension ();
10102 return 0;
10104 _ACEOF
10105 if ac_fn_c_try_link "$LINENO"; then :
10106 case "$LIBEXT" in
10107 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10108 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'` ;;
10109 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10110 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10111 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10112 fi ;;
10113 esac
10115 rm -f core conftest.err conftest.$ac_objext \
10116 conftest$ac_exeext conftest.$ac_ext
10117 LIBS=$ac_check_soname_save_LIBS
10119 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10121 $as_echo "not found" >&6; }
10123 else
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10125 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10127 cat >>confdefs.h <<_ACEOF
10128 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10129 _ACEOF
10134 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10135 case "x$with_xxf86vm" in
10136 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10137 xno) ;;
10138 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10139 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10140 esac
10143 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10144 then
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10146 $as_echo_n "checking for -lXrender... " >&6; }
10147 if ${ac_cv_lib_soname_Xrender+:} false; then :
10148 $as_echo_n "(cached) " >&6
10149 else
10150 ac_check_soname_save_LIBS=$LIBS
10151 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10153 /* end confdefs.h. */
10155 /* Override any GCC internal prototype to avoid an error.
10156 Use char because int might match the return type of a GCC
10157 builtin and then its argument prototype would still apply. */
10158 #ifdef __cplusplus
10159 extern "C"
10160 #endif
10161 char XRenderQueryExtension ();
10163 main ()
10165 return XRenderQueryExtension ();
10167 return 0;
10169 _ACEOF
10170 if ac_fn_c_try_link "$LINENO"; then :
10171 case "$LIBEXT" in
10172 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10173 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'` ;;
10174 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10175 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10176 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10177 fi ;;
10178 esac
10180 rm -f core conftest.err conftest.$ac_objext \
10181 conftest$ac_exeext conftest.$ac_ext
10182 LIBS=$ac_check_soname_save_LIBS
10184 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10186 $as_echo "not found" >&6; }
10188 else
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10190 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10192 cat >>confdefs.h <<_ACEOF
10193 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10194 _ACEOF
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10197 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10198 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10199 $as_echo_n "(cached) " >&6
10200 else
10201 ac_check_lib_save_LIBS=$LIBS
10202 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10204 /* end confdefs.h. */
10206 /* Override any GCC internal prototype to avoid an error.
10207 Use char because int might match the return type of a GCC
10208 builtin and then its argument prototype would still apply. */
10209 #ifdef __cplusplus
10210 extern "C"
10211 #endif
10212 char XRenderSetPictureTransform ();
10214 main ()
10216 return XRenderSetPictureTransform ();
10218 return 0;
10220 _ACEOF
10221 if ac_fn_c_try_link "$LINENO"; then :
10222 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10223 else
10224 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10226 rm -f core conftest.err conftest.$ac_objext \
10227 conftest$ac_exeext conftest.$ac_ext
10228 LIBS=$ac_check_lib_save_LIBS
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10231 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10232 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10234 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10239 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10240 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10241 $as_echo_n "(cached) " >&6
10242 else
10243 ac_check_lib_save_LIBS=$LIBS
10244 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10246 /* end confdefs.h. */
10248 /* Override any GCC internal prototype to avoid an error.
10249 Use char because int might match the return type of a GCC
10250 builtin and then its argument prototype would still apply. */
10251 #ifdef __cplusplus
10252 extern "C"
10253 #endif
10254 char XRenderCreateLinearGradient ();
10256 main ()
10258 return XRenderCreateLinearGradient ();
10260 return 0;
10262 _ACEOF
10263 if ac_fn_c_try_link "$LINENO"; then :
10264 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10265 else
10266 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10268 rm -f core conftest.err conftest.$ac_objext \
10269 conftest$ac_exeext conftest.$ac_ext
10270 LIBS=$ac_check_lib_save_LIBS
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10273 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10274 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10276 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10283 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10284 case "x$with_xrender" in
10285 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10286 xno) ;;
10287 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10288 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10289 esac
10292 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10293 then
10294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10295 /* end confdefs.h. */
10296 #include <X11/Xlib.h>
10297 #include <X11/extensions/Xrandr.h>
10299 main ()
10301 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10303 return 0;
10305 _ACEOF
10306 if ac_fn_c_try_compile "$LINENO"; then :
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10308 $as_echo_n "checking for -lXrandr... " >&6; }
10309 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10310 $as_echo_n "(cached) " >&6
10311 else
10312 ac_check_soname_save_LIBS=$LIBS
10313 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10315 /* end confdefs.h. */
10317 /* Override any GCC internal prototype to avoid an error.
10318 Use char because int might match the return type of a GCC
10319 builtin and then its argument prototype would still apply. */
10320 #ifdef __cplusplus
10321 extern "C"
10322 #endif
10323 char XRRQueryExtension ();
10325 main ()
10327 return XRRQueryExtension ();
10329 return 0;
10331 _ACEOF
10332 if ac_fn_c_try_link "$LINENO"; then :
10333 case "$LIBEXT" in
10334 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10335 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'` ;;
10336 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10337 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10338 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10339 fi ;;
10340 esac
10342 rm -f core conftest.err conftest.$ac_objext \
10343 conftest$ac_exeext conftest.$ac_ext
10344 LIBS=$ac_check_soname_save_LIBS
10346 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10348 $as_echo "not found" >&6; }
10350 else
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10352 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10354 cat >>confdefs.h <<_ACEOF
10355 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10356 _ACEOF
10358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10359 /* end confdefs.h. */
10360 #include <X11/Xlib.h>
10361 #include <X11/extensions/Xrandr.h>
10363 main ()
10365 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10367 return 0;
10369 _ACEOF
10370 if ac_fn_c_try_compile "$LINENO"; then :
10372 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10380 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10381 case "x$with_xrandr" in
10382 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10383 xno) ;;
10384 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10385 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10386 esac
10389 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10390 then
10391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10392 /* end confdefs.h. */
10393 #include <X11/Xlib.h>
10394 #include <X11/extensions/Xinerama.h>
10396 main ()
10398 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10400 return 0;
10402 _ACEOF
10403 if ac_fn_c_try_compile "$LINENO"; then :
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10405 $as_echo_n "checking for -lXinerama... " >&6; }
10406 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10407 $as_echo_n "(cached) " >&6
10408 else
10409 ac_check_soname_save_LIBS=$LIBS
10410 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10412 /* end confdefs.h. */
10414 /* Override any GCC internal prototype to avoid an error.
10415 Use char because int might match the return type of a GCC
10416 builtin and then its argument prototype would still apply. */
10417 #ifdef __cplusplus
10418 extern "C"
10419 #endif
10420 char XineramaQueryScreens ();
10422 main ()
10424 return XineramaQueryScreens ();
10426 return 0;
10428 _ACEOF
10429 if ac_fn_c_try_link "$LINENO"; then :
10430 case "$LIBEXT" in
10431 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10432 dylib) ac_cv_lib_soname_Xinerama=`$OTOOL -L conftest$ac_exeext | grep "libXinerama\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXinerama\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10433 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10434 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10435 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10436 fi ;;
10437 esac
10439 rm -f core conftest.err conftest.$ac_objext \
10440 conftest$ac_exeext conftest.$ac_ext
10441 LIBS=$ac_check_soname_save_LIBS
10443 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10445 $as_echo "not found" >&6; }
10447 else
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10449 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10451 cat >>confdefs.h <<_ACEOF
10452 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10453 _ACEOF
10458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10460 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10461 case "x$with_xinerama" in
10462 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10463 xno) ;;
10464 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10465 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10466 esac
10469 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10470 then
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10472 $as_echo_n "checking for -lXcomposite... " >&6; }
10473 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10474 $as_echo_n "(cached) " >&6
10475 else
10476 ac_check_soname_save_LIBS=$LIBS
10477 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10479 /* end confdefs.h. */
10481 /* Override any GCC internal prototype to avoid an error.
10482 Use char because int might match the return type of a GCC
10483 builtin and then its argument prototype would still apply. */
10484 #ifdef __cplusplus
10485 extern "C"
10486 #endif
10487 char XCompositeRedirectWindow ();
10489 main ()
10491 return XCompositeRedirectWindow ();
10493 return 0;
10495 _ACEOF
10496 if ac_fn_c_try_link "$LINENO"; then :
10497 case "$LIBEXT" in
10498 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10499 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'` ;;
10500 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10501 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10502 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10503 fi ;;
10504 esac
10506 rm -f core conftest.err conftest.$ac_objext \
10507 conftest$ac_exeext conftest.$ac_ext
10508 LIBS=$ac_check_soname_save_LIBS
10510 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10512 $as_echo "not found" >&6; }
10514 else
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10516 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10518 cat >>confdefs.h <<_ACEOF
10519 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10520 _ACEOF
10525 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10526 case "x$with_xcomposite" in
10527 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10528 xno) ;;
10529 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10530 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10531 esac
10534 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10535 #include <X11/Xlib.h>
10536 #endif
10538 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10540 cat >>confdefs.h <<_ACEOF
10541 #define HAVE_XICCALLBACK_CALLBACK 1
10542 _ACEOF
10546 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10547 #include <X11/Xlib.h>
10548 #endif
10550 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10552 cat >>confdefs.h <<_ACEOF
10553 #define HAVE_XEVENT_XCOOKIE 1
10554 _ACEOF
10561 opengl_msg=""
10562 if test "x$with_opengl" != "xno"
10563 then
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10565 $as_echo_n "checking for -lGL... " >&6; }
10566 if ${ac_cv_lib_soname_GL+:} false; then :
10567 $as_echo_n "(cached) " >&6
10568 else
10569 ac_check_soname_save_LIBS=$LIBS
10570 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10572 /* end confdefs.h. */
10574 /* Override any GCC internal prototype to avoid an error.
10575 Use char because int might match the return type of a GCC
10576 builtin and then its argument prototype would still apply. */
10577 #ifdef __cplusplus
10578 extern "C"
10579 #endif
10580 char glXCreateContext ();
10582 main ()
10584 return glXCreateContext ();
10586 return 0;
10588 _ACEOF
10589 if ac_fn_c_try_link "$LINENO"; then :
10590 case "$LIBEXT" in
10591 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10592 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'` ;;
10593 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10594 if ${ac_cv_lib_soname_GL:+false} :; then :
10595 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10596 fi ;;
10597 esac
10599 rm -f core conftest.err conftest.$ac_objext \
10600 conftest$ac_exeext conftest.$ac_ext
10601 LIBS=$ac_check_soname_save_LIBS
10603 if ${ac_cv_lib_soname_GL:+false} :; then :
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10605 $as_echo "not found" >&6; }
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10607 $as_echo_n "checking for -lGL... " >&6; }
10608 if ${ac_cv_lib_soname_GL+:} false; then :
10609 $as_echo_n "(cached) " >&6
10610 else
10611 ac_check_soname_save_LIBS=$LIBS
10612 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"
10613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10614 /* end confdefs.h. */
10616 /* Override any GCC internal prototype to avoid an error.
10617 Use char because int might match the return type of a GCC
10618 builtin and then its argument prototype would still apply. */
10619 #ifdef __cplusplus
10620 extern "C"
10621 #endif
10622 char glXCreateContext ();
10624 main ()
10626 return glXCreateContext ();
10628 return 0;
10630 _ACEOF
10631 if ac_fn_c_try_link "$LINENO"; then :
10632 case "$LIBEXT" in
10633 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10634 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'` ;;
10635 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10636 if ${ac_cv_lib_soname_GL:+false} :; then :
10637 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10638 fi ;;
10639 esac
10641 rm -f core conftest.err conftest.$ac_objext \
10642 conftest$ac_exeext conftest.$ac_ext
10643 LIBS=$ac_check_soname_save_LIBS
10645 if ${ac_cv_lib_soname_GL:+false} :; then :
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10647 $as_echo "not found" >&6; }
10648 if test -f /usr/X11R6/lib/libGL.a
10649 then
10650 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10651 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10652 else
10653 opengl_msg="No OpenGL library found on this system."
10655 else
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10657 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10659 cat >>confdefs.h <<_ACEOF
10660 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10661 _ACEOF
10663 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"
10665 else
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10667 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10669 cat >>confdefs.h <<_ACEOF
10670 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10671 _ACEOF
10673 OPENGL_LIBS="-lGL"
10675 if test "x$with_glu" != "xno"
10676 then
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10678 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10679 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10680 $as_echo_n "(cached) " >&6
10681 else
10682 ac_check_lib_save_LIBS=$LIBS
10683 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10685 /* end confdefs.h. */
10687 /* Override any GCC internal prototype to avoid an error.
10688 Use char because int might match the return type of a GCC
10689 builtin and then its argument prototype would still apply. */
10690 #ifdef __cplusplus
10691 extern "C"
10692 #endif
10693 char gluLookAt ();
10695 main ()
10697 return gluLookAt ();
10699 return 0;
10701 _ACEOF
10702 if ac_fn_c_try_link "$LINENO"; then :
10703 ac_cv_lib_GLU_gluLookAt=yes
10704 else
10705 ac_cv_lib_GLU_gluLookAt=no
10707 rm -f core conftest.err conftest.$ac_objext \
10708 conftest$ac_exeext conftest.$ac_ext
10709 LIBS=$ac_check_lib_save_LIBS
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10712 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10713 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10717 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10718 case "x$with_glu" in
10719 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10720 xno) ;;
10721 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10722 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10723 esac
10727 if test "x$with_osmesa" != "xno"
10728 then
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10730 $as_echo_n "checking for -lOSMesa... " >&6; }
10731 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10732 $as_echo_n "(cached) " >&6
10733 else
10734 ac_check_soname_save_LIBS=$LIBS
10735 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10737 /* end confdefs.h. */
10739 /* Override any GCC internal prototype to avoid an error.
10740 Use char because int might match the return type of a GCC
10741 builtin and then its argument prototype would still apply. */
10742 #ifdef __cplusplus
10743 extern "C"
10744 #endif
10745 char glAccum ();
10747 main ()
10749 return glAccum ();
10751 return 0;
10753 _ACEOF
10754 if ac_fn_c_try_link "$LINENO"; then :
10755 case "$LIBEXT" in
10756 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10757 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'` ;;
10758 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10759 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10760 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10761 fi ;;
10762 esac
10764 rm -f core conftest.err conftest.$ac_objext \
10765 conftest$ac_exeext conftest.$ac_ext
10766 LIBS=$ac_check_soname_save_LIBS
10768 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10770 $as_echo "not found" >&6; }
10772 else
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10774 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10776 cat >>confdefs.h <<_ACEOF
10777 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10778 _ACEOF
10782 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10783 case "x$with_osmesa" in
10784 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10785 xno) ;;
10786 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10787 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10788 esac
10792 if test -n "$opengl_msg"; then :
10793 case "x$with_opengl" in
10794 x) as_fn_append wine_warnings "|$opengl_msg
10795 OpenGL and Direct3D won't be supported." ;;
10796 xno) ;;
10797 *) as_fn_error $? "$opengl_msg
10798 OpenGL and Direct3D won't be supported.
10799 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10800 esac
10803 CPPFLAGS="$ac_save_CPPFLAGS"
10804 else
10805 X_CFLAGS=""
10806 X_LIBS=""
10807 enable_winex11_drv=${enable_winex11_drv:-no}
10809 if test "x$X_LIBS" = "x"; then :
10810 case "x$with_x" in
10811 xno) ;;
10812 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10813 without X support, which probably isn't what you want. You will need
10814 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10815 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10816 esac
10819 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10821 if test "$ac_cv_header_CL_cl_h" = "yes"
10822 then
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10824 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10825 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10826 $as_echo_n "(cached) " >&6
10827 else
10828 ac_check_lib_save_LIBS=$LIBS
10829 LIBS="-lOpenCL $LIBS"
10830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10831 /* end confdefs.h. */
10833 /* Override any GCC internal prototype to avoid an error.
10834 Use char because int might match the return type of a GCC
10835 builtin and then its argument prototype would still apply. */
10836 #ifdef __cplusplus
10837 extern "C"
10838 #endif
10839 char clGetPlatformInfo ();
10841 main ()
10843 return clGetPlatformInfo ();
10845 return 0;
10847 _ACEOF
10848 if ac_fn_c_try_link "$LINENO"; then :
10849 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10850 else
10851 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10853 rm -f core conftest.err conftest.$ac_objext \
10854 conftest$ac_exeext conftest.$ac_ext
10855 LIBS=$ac_check_lib_save_LIBS
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10858 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10859 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10860 OPENCL_LIBS="-lOpenCL"
10865 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10866 case "x$with_opencl" in
10867 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10868 xno) ;;
10869 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10870 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10871 esac
10873 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10875 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10876 then
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10878 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10879 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10880 $as_echo_n "(cached) " >&6
10881 else
10882 ac_check_lib_save_LIBS=$LIBS
10883 LIBS="-lpcap $LIBS"
10884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10885 /* end confdefs.h. */
10887 /* Override any GCC internal prototype to avoid an error.
10888 Use char because int might match the return type of a GCC
10889 builtin and then its argument prototype would still apply. */
10890 #ifdef __cplusplus
10891 extern "C"
10892 #endif
10893 char pcap_create ();
10895 main ()
10897 return pcap_create ();
10899 return 0;
10901 _ACEOF
10902 if ac_fn_c_try_link "$LINENO"; then :
10903 ac_cv_lib_pcap_pcap_create=yes
10904 else
10905 ac_cv_lib_pcap_pcap_create=no
10907 rm -f core conftest.err conftest.$ac_objext \
10908 conftest$ac_exeext conftest.$ac_ext
10909 LIBS=$ac_check_lib_save_LIBS
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10912 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10913 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10914 PCAP_LIBS="-lpcap"
10919 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10920 case "x$with_pcap" in
10921 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10922 xno) ;;
10923 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10924 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10925 esac
10927 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10930 if test "x$with_xml" != "xno"
10931 then
10932 if ${XML2_CFLAGS:+false} :; then :
10933 if ${PKG_CONFIG+:} false; then :
10934 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10937 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10938 if ${XML2_LIBS:+false} :; then :
10939 if ${PKG_CONFIG+:} false; then :
10940 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10943 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10944 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10945 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10946 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10947 ac_save_CPPFLAGS=$CPPFLAGS
10948 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10949 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10950 do :
10951 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10952 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10953 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10954 cat >>confdefs.h <<_ACEOF
10955 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10956 _ACEOF
10960 done
10962 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"
10963 then
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10965 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10966 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10967 $as_echo_n "(cached) " >&6
10968 else
10969 ac_check_lib_save_LIBS=$LIBS
10970 LIBS="-lxml2 $XML2_LIBS $LIBS"
10971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10972 /* end confdefs.h. */
10974 /* Override any GCC internal prototype to avoid an error.
10975 Use char because int might match the return type of a GCC
10976 builtin and then its argument prototype would still apply. */
10977 #ifdef __cplusplus
10978 extern "C"
10979 #endif
10980 char xmlParseMemory ();
10982 main ()
10984 return xmlParseMemory ();
10986 return 0;
10988 _ACEOF
10989 if ac_fn_c_try_link "$LINENO"; then :
10990 ac_cv_lib_xml2_xmlParseMemory=yes
10991 else
10992 ac_cv_lib_xml2_xmlParseMemory=no
10994 rm -f core conftest.err conftest.$ac_objext \
10995 conftest$ac_exeext conftest.$ac_ext
10996 LIBS=$ac_check_lib_save_LIBS
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10999 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11000 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11002 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11004 else
11005 XML2_LIBS=""
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11009 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11010 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11011 $as_echo_n "(cached) " >&6
11012 else
11013 ac_check_lib_save_LIBS=$LIBS
11014 LIBS="-lxml2 $XML2_LIBS $LIBS"
11015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11016 /* end confdefs.h. */
11018 /* Override any GCC internal prototype to avoid an error.
11019 Use char because int might match the return type of a GCC
11020 builtin and then its argument prototype would still apply. */
11021 #ifdef __cplusplus
11022 extern "C"
11023 #endif
11024 char xmlReadMemory ();
11026 main ()
11028 return xmlReadMemory ();
11030 return 0;
11032 _ACEOF
11033 if ac_fn_c_try_link "$LINENO"; then :
11034 ac_cv_lib_xml2_xmlReadMemory=yes
11035 else
11036 ac_cv_lib_xml2_xmlReadMemory=no
11038 rm -f core conftest.err conftest.$ac_objext \
11039 conftest$ac_exeext conftest.$ac_ext
11040 LIBS=$ac_check_lib_save_LIBS
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11043 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11044 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11046 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11051 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11052 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11053 $as_echo_n "(cached) " >&6
11054 else
11055 ac_check_lib_save_LIBS=$LIBS
11056 LIBS="-lxml2 $XML2_LIBS $LIBS"
11057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11058 /* end confdefs.h. */
11060 /* Override any GCC internal prototype to avoid an error.
11061 Use char because int might match the return type of a GCC
11062 builtin and then its argument prototype would still apply. */
11063 #ifdef __cplusplus
11064 extern "C"
11065 #endif
11066 char xmlNewDocPI ();
11068 main ()
11070 return xmlNewDocPI ();
11072 return 0;
11074 _ACEOF
11075 if ac_fn_c_try_link "$LINENO"; then :
11076 ac_cv_lib_xml2_xmlNewDocPI=yes
11077 else
11078 ac_cv_lib_xml2_xmlNewDocPI=no
11080 rm -f core conftest.err conftest.$ac_objext \
11081 conftest$ac_exeext conftest.$ac_ext
11082 LIBS=$ac_check_lib_save_LIBS
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11085 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11086 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11088 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11093 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11094 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11095 $as_echo_n "(cached) " >&6
11096 else
11097 ac_check_lib_save_LIBS=$LIBS
11098 LIBS="-lxml2 $XML2_LIBS $LIBS"
11099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11100 /* end confdefs.h. */
11102 /* Override any GCC internal prototype to avoid an error.
11103 Use char because int might match the return type of a GCC
11104 builtin and then its argument prototype would still apply. */
11105 #ifdef __cplusplus
11106 extern "C"
11107 #endif
11108 char xmlSchemaSetParserStructuredErrors ();
11110 main ()
11112 return xmlSchemaSetParserStructuredErrors ();
11114 return 0;
11116 _ACEOF
11117 if ac_fn_c_try_link "$LINENO"; then :
11118 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11119 else
11120 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11122 rm -f core conftest.err conftest.$ac_objext \
11123 conftest$ac_exeext conftest.$ac_ext
11124 LIBS=$ac_check_lib_save_LIBS
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11127 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11128 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11130 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11135 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11136 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11137 $as_echo_n "(cached) " >&6
11138 else
11139 ac_check_lib_save_LIBS=$LIBS
11140 LIBS="-lxml2 $XML2_LIBS $LIBS"
11141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11142 /* end confdefs.h. */
11144 /* Override any GCC internal prototype to avoid an error.
11145 Use char because int might match the return type of a GCC
11146 builtin and then its argument prototype would still apply. */
11147 #ifdef __cplusplus
11148 extern "C"
11149 #endif
11150 char xmlSchemaSetValidStructuredErrors ();
11152 main ()
11154 return xmlSchemaSetValidStructuredErrors ();
11156 return 0;
11158 _ACEOF
11159 if ac_fn_c_try_link "$LINENO"; then :
11160 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11161 else
11162 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11164 rm -f core conftest.err conftest.$ac_objext \
11165 conftest$ac_exeext conftest.$ac_ext
11166 LIBS=$ac_check_lib_save_LIBS
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11169 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11170 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11172 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11177 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11178 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11179 $as_echo_n "(cached) " >&6
11180 else
11181 ac_check_lib_save_LIBS=$LIBS
11182 LIBS="-lxml2 $XML2_LIBS $LIBS"
11183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11184 /* end confdefs.h. */
11186 /* Override any GCC internal prototype to avoid an error.
11187 Use char because int might match the return type of a GCC
11188 builtin and then its argument prototype would still apply. */
11189 #ifdef __cplusplus
11190 extern "C"
11191 #endif
11192 char xmlFirstElementChild ();
11194 main ()
11196 return xmlFirstElementChild ();
11198 return 0;
11200 _ACEOF
11201 if ac_fn_c_try_link "$LINENO"; then :
11202 ac_cv_lib_xml2_xmlFirstElementChild=yes
11203 else
11204 ac_cv_lib_xml2_xmlFirstElementChild=no
11206 rm -f core conftest.err conftest.$ac_objext \
11207 conftest$ac_exeext conftest.$ac_ext
11208 LIBS=$ac_check_lib_save_LIBS
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11211 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11212 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11214 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11218 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11220 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11222 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11226 else
11227 XML2_CFLAGS=""
11228 XML2_LIBS=""
11230 CPPFLAGS=$ac_save_CPPFLAGS
11231 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11232 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11235 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11236 case "x$with_xml" in
11237 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11238 xno) ;;
11239 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11240 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11241 esac
11244 if test "x$with_xslt" != "xno"
11245 then
11246 if ${XSLT_CFLAGS:+false} :; then :
11247 if ${PKG_CONFIG+:} false; then :
11248 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11251 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11252 if ${XSLT_LIBS:+false} :; then :
11253 if ${PKG_CONFIG+:} false; then :
11254 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11257 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11258 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11259 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11260 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11261 ac_save_CPPFLAGS=$CPPFLAGS
11262 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11263 for ac_header in libxslt/pattern.h libxslt/transform.h
11264 do :
11265 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11266 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11267 # include <libxslt/pattern.h>
11268 #endif
11270 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11271 cat >>confdefs.h <<_ACEOF
11272 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11273 _ACEOF
11277 done
11279 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11280 then
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11282 $as_echo_n "checking for -lxslt... " >&6; }
11283 if ${ac_cv_lib_soname_xslt+:} false; then :
11284 $as_echo_n "(cached) " >&6
11285 else
11286 ac_check_soname_save_LIBS=$LIBS
11287 LIBS="-lxslt $XSLT_LIBS $LIBS"
11288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11289 /* end confdefs.h. */
11291 /* Override any GCC internal prototype to avoid an error.
11292 Use char because int might match the return type of a GCC
11293 builtin and then its argument prototype would still apply. */
11294 #ifdef __cplusplus
11295 extern "C"
11296 #endif
11297 char xsltCompilePattern ();
11299 main ()
11301 return xsltCompilePattern ();
11303 return 0;
11305 _ACEOF
11306 if ac_fn_c_try_link "$LINENO"; then :
11307 case "$LIBEXT" in
11308 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11309 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'` ;;
11310 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11311 if ${ac_cv_lib_soname_xslt:+false} :; then :
11312 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11313 fi ;;
11314 esac
11316 rm -f core conftest.err conftest.$ac_objext \
11317 conftest$ac_exeext conftest.$ac_ext
11318 LIBS=$ac_check_soname_save_LIBS
11320 if ${ac_cv_lib_soname_xslt:+false} :; then :
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11322 $as_echo "not found" >&6; }
11324 else
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11326 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11328 cat >>confdefs.h <<_ACEOF
11329 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11330 _ACEOF
11334 else
11335 XSLT_CFLAGS=""
11337 CPPFLAGS=$ac_save_CPPFLAGS
11338 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11339 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11342 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11343 case "x$with_xslt" in
11344 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11345 xno) ;;
11346 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11347 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11348 esac
11351 if test "x$with_dbus" != "xno"
11352 then
11353 if ${DBUS_CFLAGS:+false} :; then :
11354 if ${PKG_CONFIG+:} false; then :
11355 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11359 if ${DBUS_LIBS:+false} :; then :
11360 if ${PKG_CONFIG+:} false; then :
11361 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11366 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11367 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11368 ac_save_CPPFLAGS=$CPPFLAGS
11369 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11370 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11371 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11373 $as_echo_n "checking for -ldbus-1... " >&6; }
11374 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11375 $as_echo_n "(cached) " >&6
11376 else
11377 ac_check_soname_save_LIBS=$LIBS
11378 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11380 /* end confdefs.h. */
11382 /* Override any GCC internal prototype to avoid an error.
11383 Use char because int might match the return type of a GCC
11384 builtin and then its argument prototype would still apply. */
11385 #ifdef __cplusplus
11386 extern "C"
11387 #endif
11388 char dbus_connection_close ();
11390 main ()
11392 return dbus_connection_close ();
11394 return 0;
11396 _ACEOF
11397 if ac_fn_c_try_link "$LINENO"; then :
11398 case "$LIBEXT" in
11399 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11400 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'` ;;
11401 *) 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'`
11402 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11403 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11404 fi ;;
11405 esac
11407 rm -f core conftest.err conftest.$ac_objext \
11408 conftest$ac_exeext conftest.$ac_ext
11409 LIBS=$ac_check_soname_save_LIBS
11411 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11413 $as_echo "not found" >&6; }
11414 DBUS_CFLAGS=""
11415 else
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11417 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11419 cat >>confdefs.h <<_ACEOF
11420 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11421 _ACEOF
11425 else
11426 DBUS_CFLAGS=""
11430 CPPFLAGS=$ac_save_CPPFLAGS
11431 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11432 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11435 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11436 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11437 case "x$with_dbus" in
11438 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11439 xno) ;;
11440 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11441 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11442 esac
11445 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11446 then
11447 if ${HAL_CFLAGS:+false} :; then :
11448 if ${PKG_CONFIG+:} false; then :
11449 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11453 if ${HAL_LIBS:+false} :; then :
11454 if ${PKG_CONFIG+:} false; then :
11455 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11459 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11460 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11461 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11462 ac_save_CPPFLAGS=$CPPFLAGS
11463 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11464 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11465 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11467 $as_echo_n "checking for -lhal... " >&6; }
11468 if ${ac_cv_lib_soname_hal+:} false; then :
11469 $as_echo_n "(cached) " >&6
11470 else
11471 ac_check_soname_save_LIBS=$LIBS
11472 LIBS="-lhal $HAL_LIBS $LIBS"
11473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11474 /* end confdefs.h. */
11476 /* Override any GCC internal prototype to avoid an error.
11477 Use char because int might match the return type of a GCC
11478 builtin and then its argument prototype would still apply. */
11479 #ifdef __cplusplus
11480 extern "C"
11481 #endif
11482 char libhal_ctx_new ();
11484 main ()
11486 return libhal_ctx_new ();
11488 return 0;
11490 _ACEOF
11491 if ac_fn_c_try_link "$LINENO"; then :
11492 case "$LIBEXT" in
11493 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11494 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'` ;;
11495 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11496 if ${ac_cv_lib_soname_hal:+false} :; then :
11497 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11498 fi ;;
11499 esac
11501 rm -f core conftest.err conftest.$ac_objext \
11502 conftest$ac_exeext conftest.$ac_ext
11503 LIBS=$ac_check_soname_save_LIBS
11505 if ${ac_cv_lib_soname_hal:+false} :; then :
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11507 $as_echo "not found" >&6; }
11508 HAL_CFLAGS=""
11509 else
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11511 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11513 cat >>confdefs.h <<_ACEOF
11514 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11515 _ACEOF
11519 else
11520 HAL_CFLAGS=""
11524 CPPFLAGS=$ac_save_CPPFLAGS
11525 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11526 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11528 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11529 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11530 case "x$with_hal" in
11531 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11532 xno) ;;
11533 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11534 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11535 esac
11539 if test "x$with_gnutls" != "xno"
11540 then
11541 if ${GNUTLS_CFLAGS:+false} :; then :
11542 if ${PKG_CONFIG+:} false; then :
11543 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11547 if ${GNUTLS_LIBS:+false} :; then :
11548 if ${PKG_CONFIG+:} false; then :
11549 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11554 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11555 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11556 ac_save_CPPFLAGS=$CPPFLAGS
11557 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11558 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11559 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11561 /* end confdefs.h. */
11562 #include <gnutls/gnutls.h>
11563 #include <gnutls/crypto.h>
11565 main ()
11567 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11569 return 0;
11571 _ACEOF
11572 if ac_fn_c_try_compile "$LINENO"; then :
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11574 $as_echo_n "checking for -lgnutls... " >&6; }
11575 if ${ac_cv_lib_soname_gnutls+:} false; then :
11576 $as_echo_n "(cached) " >&6
11577 else
11578 ac_check_soname_save_LIBS=$LIBS
11579 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11581 /* end confdefs.h. */
11583 /* Override any GCC internal prototype to avoid an error.
11584 Use char because int might match the return type of a GCC
11585 builtin and then its argument prototype would still apply. */
11586 #ifdef __cplusplus
11587 extern "C"
11588 #endif
11589 char gnutls_global_init ();
11591 main ()
11593 return gnutls_global_init ();
11595 return 0;
11597 _ACEOF
11598 if ac_fn_c_try_link "$LINENO"; then :
11599 case "$LIBEXT" in
11600 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11601 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'` ;;
11602 *) 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'`
11603 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11604 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'`
11605 fi ;;
11606 esac
11608 rm -f core conftest.err conftest.$ac_objext \
11609 conftest$ac_exeext conftest.$ac_ext
11610 LIBS=$ac_check_soname_save_LIBS
11612 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11614 $as_echo "not found" >&6; }
11615 GNUTLS_CFLAGS=""
11616 else
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11618 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11620 cat >>confdefs.h <<_ACEOF
11621 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11622 _ACEOF
11627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11628 else
11629 GNUTLS_CFLAGS=""
11633 CPPFLAGS=$ac_save_CPPFLAGS
11634 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11635 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11638 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11639 case "x$with_gnutls" in
11640 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11641 xno) ;;
11642 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11643 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11644 esac
11647 CURSES_LIBS=""
11648 if test "$ac_cv_header_ncurses_h" = "yes"
11649 then
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11651 $as_echo_n "checking for -lncurses... " >&6; }
11652 if ${ac_cv_lib_soname_ncurses+:} false; then :
11653 $as_echo_n "(cached) " >&6
11654 else
11655 ac_check_soname_save_LIBS=$LIBS
11656 LIBS="-lncurses $LIBS"
11657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11658 /* end confdefs.h. */
11660 /* Override any GCC internal prototype to avoid an error.
11661 Use char because int might match the return type of a GCC
11662 builtin and then its argument prototype would still apply. */
11663 #ifdef __cplusplus
11664 extern "C"
11665 #endif
11666 char waddch ();
11668 main ()
11670 return waddch ();
11672 return 0;
11674 _ACEOF
11675 if ac_fn_c_try_link "$LINENO"; then :
11676 case "$LIBEXT" in
11677 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11678 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'` ;;
11679 *) 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'`
11680 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11681 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11682 fi ;;
11683 esac
11685 rm -f core conftest.err conftest.$ac_objext \
11686 conftest$ac_exeext conftest.$ac_ext
11687 LIBS=$ac_check_soname_save_LIBS
11689 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11691 $as_echo "not found" >&6; }
11693 else
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11695 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11697 cat >>confdefs.h <<_ACEOF
11698 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11699 _ACEOF
11701 CURSES_LIBS="-lncurses"
11703 elif test "$ac_cv_header_curses_h" = "yes"
11704 then
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11706 $as_echo_n "checking for -lcurses... " >&6; }
11707 if ${ac_cv_lib_soname_curses+:} false; then :
11708 $as_echo_n "(cached) " >&6
11709 else
11710 ac_check_soname_save_LIBS=$LIBS
11711 LIBS="-lcurses $LIBS"
11712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11713 /* end confdefs.h. */
11715 /* Override any GCC internal prototype to avoid an error.
11716 Use char because int might match the return type of a GCC
11717 builtin and then its argument prototype would still apply. */
11718 #ifdef __cplusplus
11719 extern "C"
11720 #endif
11721 char waddch ();
11723 main ()
11725 return waddch ();
11727 return 0;
11729 _ACEOF
11730 if ac_fn_c_try_link "$LINENO"; then :
11731 case "$LIBEXT" in
11732 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11733 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'` ;;
11734 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11735 if ${ac_cv_lib_soname_curses:+false} :; then :
11736 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11737 fi ;;
11738 esac
11740 rm -f core conftest.err conftest.$ac_objext \
11741 conftest$ac_exeext conftest.$ac_ext
11742 LIBS=$ac_check_soname_save_LIBS
11744 if ${ac_cv_lib_soname_curses:+false} :; then :
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11746 $as_echo "not found" >&6; }
11748 else
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11750 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11752 cat >>confdefs.h <<_ACEOF
11753 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11754 _ACEOF
11756 CURSES_LIBS="-lcurses"
11759 ac_save_LIBS="$LIBS"
11760 LIBS="$LIBS $CURSES_LIBS"
11761 for ac_func in mousemask
11762 do :
11763 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11764 if test "x$ac_cv_func_mousemask" = xyes; then :
11765 cat >>confdefs.h <<_ACEOF
11766 #define HAVE_MOUSEMASK 1
11767 _ACEOF
11770 done
11772 LIBS="$ac_save_LIBS"
11773 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11774 case "x$with_curses" in
11775 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11776 xno) ;;
11777 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11778 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11779 esac
11782 if test "x$with_sane" != "xno"
11783 then
11784 if ${SANE_CFLAGS:+false} :; then :
11785 if ${PKG_CONFIG+:} false; then :
11786 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11789 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11790 if ${SANE_LIBS:+false} :; then :
11791 if ${PKG_CONFIG+:} false; then :
11792 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11795 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11797 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11798 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11799 ac_save_CPPFLAGS=$CPPFLAGS
11800 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11801 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11802 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11804 $as_echo_n "checking for -lsane... " >&6; }
11805 if ${ac_cv_lib_soname_sane+:} false; then :
11806 $as_echo_n "(cached) " >&6
11807 else
11808 ac_check_soname_save_LIBS=$LIBS
11809 LIBS="-lsane $SANE_LIBS $LIBS"
11810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11811 /* end confdefs.h. */
11813 /* Override any GCC internal prototype to avoid an error.
11814 Use char because int might match the return type of a GCC
11815 builtin and then its argument prototype would still apply. */
11816 #ifdef __cplusplus
11817 extern "C"
11818 #endif
11819 char sane_init ();
11821 main ()
11823 return sane_init ();
11825 return 0;
11827 _ACEOF
11828 if ac_fn_c_try_link "$LINENO"; then :
11829 case "$LIBEXT" in
11830 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11831 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'` ;;
11832 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11833 if ${ac_cv_lib_soname_sane:+false} :; then :
11834 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11835 fi ;;
11836 esac
11838 rm -f core conftest.err conftest.$ac_objext \
11839 conftest$ac_exeext conftest.$ac_ext
11840 LIBS=$ac_check_soname_save_LIBS
11842 if ${ac_cv_lib_soname_sane:+false} :; then :
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11844 $as_echo "not found" >&6; }
11845 SANE_CFLAGS=""
11846 else
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11848 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11850 cat >>confdefs.h <<_ACEOF
11851 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11852 _ACEOF
11856 else
11857 SANE_CFLAGS=""
11861 CPPFLAGS=$ac_save_CPPFLAGS
11862 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11863 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11866 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11867 case "x$with_sane" in
11868 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11869 xno) ;;
11870 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11871 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11872 esac
11875 if test "x$with_v4l" != "xno"
11876 then
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11878 $as_echo_n "checking for -lv4l1... " >&6; }
11879 if ${ac_cv_lib_soname_v4l1+:} false; then :
11880 $as_echo_n "(cached) " >&6
11881 else
11882 ac_check_soname_save_LIBS=$LIBS
11883 LIBS="-lv4l1 $LIBS"
11884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11887 /* Override any GCC internal prototype to avoid an error.
11888 Use char because int might match the return type of a GCC
11889 builtin and then its argument prototype would still apply. */
11890 #ifdef __cplusplus
11891 extern "C"
11892 #endif
11893 char v4l1_open ();
11895 main ()
11897 return v4l1_open ();
11899 return 0;
11901 _ACEOF
11902 if ac_fn_c_try_link "$LINENO"; then :
11903 case "$LIBEXT" in
11904 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11905 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'` ;;
11906 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11907 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11908 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11909 fi ;;
11910 esac
11912 rm -f core conftest.err conftest.$ac_objext \
11913 conftest$ac_exeext conftest.$ac_ext
11914 LIBS=$ac_check_soname_save_LIBS
11916 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11918 $as_echo "not found" >&6; }
11920 else
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11922 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11924 cat >>confdefs.h <<_ACEOF
11925 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11926 _ACEOF
11931 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11932 case "x$with_v4l" in
11933 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11934 xno) ;;
11935 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11936 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11937 esac
11940 if test "x$with_gphoto" != "xno"
11941 then
11942 if ${GPHOTO2_CFLAGS:+false} :; then :
11943 if ${PKG_CONFIG+:} false; then :
11944 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11947 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11948 if ${GPHOTO2_LIBS:+false} :; then :
11949 if ${PKG_CONFIG+:} false; then :
11950 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11953 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11954 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11955 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11956 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11957 ac_save_CPPFLAGS=$CPPFLAGS
11958 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11959 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11960 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11962 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11963 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11964 $as_echo_n "(cached) " >&6
11965 else
11966 ac_check_lib_save_LIBS=$LIBS
11967 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11969 /* end confdefs.h. */
11971 /* Override any GCC internal prototype to avoid an error.
11972 Use char because int might match the return type of a GCC
11973 builtin and then its argument prototype would still apply. */
11974 #ifdef __cplusplus
11975 extern "C"
11976 #endif
11977 char gp_camera_new ();
11979 main ()
11981 return gp_camera_new ();
11983 return 0;
11985 _ACEOF
11986 if ac_fn_c_try_link "$LINENO"; then :
11987 ac_cv_lib_gphoto2_gp_camera_new=yes
11988 else
11989 ac_cv_lib_gphoto2_gp_camera_new=no
11991 rm -f core conftest.err conftest.$ac_objext \
11992 conftest$ac_exeext conftest.$ac_ext
11993 LIBS=$ac_check_lib_save_LIBS
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11996 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11997 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11999 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12001 else
12002 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12005 else
12006 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12010 CPPFLAGS=$ac_save_CPPFLAGS
12011 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12012 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12014 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12015 if ${PKG_CONFIG+:} false; then :
12016 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12019 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12020 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12021 if ${PKG_CONFIG+:} false; then :
12022 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12025 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12026 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12027 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12028 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12029 ac_save_CPPFLAGS=$CPPFLAGS
12030 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12031 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12032 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12034 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12035 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12036 $as_echo_n "(cached) " >&6
12037 else
12038 ac_check_lib_save_LIBS=$LIBS
12039 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12041 /* end confdefs.h. */
12043 /* Override any GCC internal prototype to avoid an error.
12044 Use char because int might match the return type of a GCC
12045 builtin and then its argument prototype would still apply. */
12046 #ifdef __cplusplus
12047 extern "C"
12048 #endif
12049 char gp_port_info_list_new ();
12051 main ()
12053 return gp_port_info_list_new ();
12055 return 0;
12057 _ACEOF
12058 if ac_fn_c_try_link "$LINENO"; then :
12059 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12060 else
12061 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12063 rm -f core conftest.err conftest.$ac_objext \
12064 conftest$ac_exeext conftest.$ac_ext
12065 LIBS=$ac_check_lib_save_LIBS
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12068 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12069 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12071 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12073 else
12074 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12077 else
12078 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12082 CPPFLAGS=$ac_save_CPPFLAGS
12083 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12084 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12087 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12088 case "x$with_gphoto" in
12089 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12090 xno) ;;
12091 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12092 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12093 esac
12095 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12096 case "x$with_gphoto" in
12097 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12098 xno) ;;
12099 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12100 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12101 esac
12105 if test "$ac_cv_header_resolv_h" = "yes"
12106 then
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12108 $as_echo_n "checking for resolver library... " >&6; }
12109 if ${ac_cv_have_resolv+:} false; then :
12110 $as_echo_n "(cached) " >&6
12111 else
12112 ac_save_LIBS="$LIBS"
12113 for lib in '' -lresolv
12115 LIBS="$lib $ac_save_LIBS"
12116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12117 /* end confdefs.h. */
12118 #ifdef HAVE_NETINET_IN_H
12119 #include <netinet/in.h>
12120 #endif
12121 #include <resolv.h>
12123 main ()
12125 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12127 return 0;
12129 _ACEOF
12130 if ac_fn_c_try_link "$LINENO"; then :
12131 ac_cv_have_resolv=${lib:-"none required"}
12132 else
12133 ac_cv_have_resolv="not found"
12135 rm -f core conftest.err conftest.$ac_objext \
12136 conftest$ac_exeext conftest.$ac_ext
12137 test "x$ac_cv_have_resolv" = "xnot found" || break
12138 done
12139 LIBS="$ac_save_LIBS"
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12142 $as_echo "$ac_cv_have_resolv" >&6; }
12144 case "$ac_cv_have_resolv" in
12145 "not found") ;;
12146 "none required")
12148 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12151 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12153 RESOLV_LIBS=$ac_cv_have_resolv
12155 esac
12158 if test "x$with_cms" != "xno"
12159 then
12160 if ${LCMS2_CFLAGS:+false} :; then :
12161 if ${PKG_CONFIG+:} false; then :
12162 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12166 if ${LCMS2_LIBS:+false} :; then :
12167 if ${PKG_CONFIG+:} false; then :
12168 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12172 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12173 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12174 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12175 ac_save_CPPFLAGS=$CPPFLAGS
12176 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12177 for ac_header in lcms2.h
12178 do :
12179 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12180 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12181 cat >>confdefs.h <<_ACEOF
12182 #define HAVE_LCMS2_H 1
12183 _ACEOF
12187 done
12189 if test "$ac_cv_header_lcms2_h" = "yes"
12190 then
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12192 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12193 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12194 $as_echo_n "(cached) " >&6
12195 else
12196 ac_check_lib_save_LIBS=$LIBS
12197 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12199 /* end confdefs.h. */
12201 /* Override any GCC internal prototype to avoid an error.
12202 Use char because int might match the return type of a GCC
12203 builtin and then its argument prototype would still apply. */
12204 #ifdef __cplusplus
12205 extern "C"
12206 #endif
12207 char cmsOpenProfileFromFile ();
12209 main ()
12211 return cmsOpenProfileFromFile ();
12213 return 0;
12215 _ACEOF
12216 if ac_fn_c_try_link "$LINENO"; then :
12217 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12218 else
12219 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12221 rm -f core conftest.err conftest.$ac_objext \
12222 conftest$ac_exeext conftest.$ac_ext
12223 LIBS=$ac_check_lib_save_LIBS
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12226 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12227 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12229 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12231 else
12232 LCMS2_LIBS=""
12235 else
12236 LCMS2_CFLAGS=""
12237 LCMS2_LIBS=""
12239 CPPFLAGS=$ac_save_CPPFLAGS
12240 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12241 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12244 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12245 case "x$with_cms" in
12246 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12247 xno) ;;
12248 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12249 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12250 esac
12253 if test "x$with_freetype" != "xno"
12254 then
12255 if ${FREETYPE_CFLAGS:+false} :; then :
12256 if ${PKG_CONFIG+:} false; then :
12257 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12260 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12261 if ${FREETYPE_LIBS:+false} :; then :
12262 if ${PKG_CONFIG+:} false; then :
12263 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12266 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12267 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12268 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12269 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12270 ac_save_CPPFLAGS=$CPPFLAGS
12271 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12272 for ac_header in ft2build.h
12273 do :
12274 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12275 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12276 cat >>confdefs.h <<_ACEOF
12277 #define HAVE_FT2BUILD_H 1
12278 _ACEOF
12282 done
12284 if test "$ac_cv_header_ft2build_h" = "yes"
12285 then
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12287 $as_echo_n "checking for -lfreetype... " >&6; }
12288 if ${ac_cv_lib_soname_freetype+:} false; then :
12289 $as_echo_n "(cached) " >&6
12290 else
12291 ac_check_soname_save_LIBS=$LIBS
12292 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12294 /* end confdefs.h. */
12296 /* Override any GCC internal prototype to avoid an error.
12297 Use char because int might match the return type of a GCC
12298 builtin and then its argument prototype would still apply. */
12299 #ifdef __cplusplus
12300 extern "C"
12301 #endif
12302 char FT_Init_FreeType ();
12304 main ()
12306 return FT_Init_FreeType ();
12308 return 0;
12310 _ACEOF
12311 if ac_fn_c_try_link "$LINENO"; then :
12312 case "$LIBEXT" in
12313 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12314 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'` ;;
12315 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12316 if ${ac_cv_lib_soname_freetype:+false} :; then :
12317 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12318 fi ;;
12319 esac
12321 rm -f core conftest.err conftest.$ac_objext \
12322 conftest$ac_exeext conftest.$ac_ext
12323 LIBS=$ac_check_soname_save_LIBS
12325 if ${ac_cv_lib_soname_freetype:+false} :; then :
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12327 $as_echo "not found" >&6; }
12328 FREETYPE_LIBS=""
12329 else
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12331 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12333 cat >>confdefs.h <<_ACEOF
12334 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12335 _ACEOF
12338 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12340 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12341 #include FT_MODULE_H
12343 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12345 cat >>confdefs.h <<_ACEOF
12346 #define HAVE_FT_TRUETYPEENGINETYPE 1
12347 _ACEOF
12353 else
12354 FREETYPE_CFLAGS=""
12355 FREETYPE_LIBS=""
12357 CPPFLAGS=$ac_save_CPPFLAGS
12358 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12359 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12362 if test "x$ac_cv_lib_soname_freetype" = x; then :
12363 case "x$with_freetype" in
12364 xno) ;;
12365 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12366 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12367 esac
12369 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12372 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12373 if ${ac_cv_c_ppdev+:} false; then :
12374 $as_echo_n "(cached) " >&6
12375 else
12376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12377 /* end confdefs.h. */
12378 #ifdef HAVE_SYS_IOCTL_H
12379 # include <sys/ioctl.h>
12380 #endif
12381 #include <linux/ppdev.h>
12383 main ()
12385 ioctl (1,PPCLAIM,0)
12387 return 0;
12389 _ACEOF
12390 if ac_fn_c_try_compile "$LINENO"; then :
12391 ac_cv_c_ppdev="yes"
12392 else
12393 ac_cv_c_ppdev="no"
12395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12398 $as_echo "$ac_cv_c_ppdev" >&6; }
12399 if test "$ac_cv_c_ppdev" = "yes"
12400 then
12402 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12406 ac_wine_check_funcs_save_LIBS="$LIBS"
12407 LIBS="$LIBS $PTHREAD_LIBS"
12408 for ac_func in \
12409 pthread_attr_get_np \
12410 pthread_getattr_np \
12411 pthread_getthreadid_np \
12412 pthread_get_stackaddr_np \
12413 pthread_get_stacksize_np
12414 do :
12415 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12416 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12417 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12418 cat >>confdefs.h <<_ACEOF
12419 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12420 _ACEOF
12423 done
12425 LIBS="$ac_wine_check_funcs_save_LIBS"
12427 if test "$ac_cv_header_zlib_h" = "yes"
12428 then
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12430 $as_echo_n "checking for inflate in -lz... " >&6; }
12431 if ${ac_cv_lib_z_inflate+:} false; then :
12432 $as_echo_n "(cached) " >&6
12433 else
12434 ac_check_lib_save_LIBS=$LIBS
12435 LIBS="-lz $LIBS"
12436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12437 /* end confdefs.h. */
12439 /* Override any GCC internal prototype to avoid an error.
12440 Use char because int might match the return type of a GCC
12441 builtin and then its argument prototype would still apply. */
12442 #ifdef __cplusplus
12443 extern "C"
12444 #endif
12445 char inflate ();
12447 main ()
12449 return inflate ();
12451 return 0;
12453 _ACEOF
12454 if ac_fn_c_try_link "$LINENO"; then :
12455 ac_cv_lib_z_inflate=yes
12456 else
12457 ac_cv_lib_z_inflate=no
12459 rm -f core conftest.err conftest.$ac_objext \
12460 conftest$ac_exeext conftest.$ac_ext
12461 LIBS=$ac_check_lib_save_LIBS
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12464 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12465 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12467 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12469 Z_LIBS="-lz"
12474 if test "x$Z_LIBS" = "x"; then :
12475 case "x$with_zlib" in
12476 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12477 xno) ;;
12478 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12479 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12480 esac
12483 if test "x$enable_tools" != xno
12484 then
12485 if test "$ac_cv_header_gettext_po_h" = "yes"
12486 then
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12488 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12489 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12490 $as_echo_n "(cached) " >&6
12491 else
12492 ac_check_lib_save_LIBS=$LIBS
12493 LIBS="-lgettextpo $LIBS"
12494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12495 /* end confdefs.h. */
12497 /* Override any GCC internal prototype to avoid an error.
12498 Use char because int might match the return type of a GCC
12499 builtin and then its argument prototype would still apply. */
12500 #ifdef __cplusplus
12501 extern "C"
12502 #endif
12503 char po_message_msgctxt ();
12505 main ()
12507 return po_message_msgctxt ();
12509 return 0;
12511 _ACEOF
12512 if ac_fn_c_try_link "$LINENO"; then :
12513 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12514 else
12515 ac_cv_lib_gettextpo_po_message_msgctxt=no
12517 rm -f core conftest.err conftest.$ac_objext \
12518 conftest$ac_exeext conftest.$ac_ext
12519 LIBS=$ac_check_lib_save_LIBS
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12522 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12523 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12525 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12527 GETTEXTPO_LIBS="-lgettextpo"
12532 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12533 case "x$with_gettextpo" in
12534 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12535 xno) ;;
12536 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12537 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12538 esac
12542 if test "x$with_pulse" != "xno";
12543 then
12544 if ${PULSE_CFLAGS:+false} :; then :
12545 if ${PKG_CONFIG+:} false; then :
12546 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12550 if ${PULSE_LIBS:+false} :; then :
12551 if ${PKG_CONFIG+:} false; then :
12552 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12557 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12558 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12559 ac_save_CPPFLAGS=$CPPFLAGS
12560 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12561 for ac_header in pulse/pulseaudio.h
12562 do :
12563 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12564 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12565 cat >>confdefs.h <<_ACEOF
12566 #define HAVE_PULSE_PULSEAUDIO_H 1
12567 _ACEOF
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12569 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12570 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12571 $as_echo_n "(cached) " >&6
12572 else
12573 ac_check_lib_save_LIBS=$LIBS
12574 LIBS="-lpulse $PULSE_LIBS $LIBS"
12575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12576 /* end confdefs.h. */
12578 /* Override any GCC internal prototype to avoid an error.
12579 Use char because int might match the return type of a GCC
12580 builtin and then its argument prototype would still apply. */
12581 #ifdef __cplusplus
12582 extern "C"
12583 #endif
12584 char pa_stream_is_corked ();
12586 main ()
12588 return pa_stream_is_corked ();
12590 return 0;
12592 _ACEOF
12593 if ac_fn_c_try_link "$LINENO"; then :
12594 ac_cv_lib_pulse_pa_stream_is_corked=yes
12595 else
12596 ac_cv_lib_pulse_pa_stream_is_corked=no
12598 rm -f core conftest.err conftest.$ac_objext \
12599 conftest$ac_exeext conftest.$ac_ext
12600 LIBS=$ac_check_lib_save_LIBS
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12603 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12604 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12606 else
12607 PULSE_LIBS=""
12610 else
12611 PULSE_LIBS=""
12614 done
12616 CPPFLAGS=$ac_save_CPPFLAGS
12617 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12618 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12621 if test -z "$PULSE_LIBS"; then :
12622 case "x$with_pulse" in
12623 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12624 xno) ;;
12625 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12626 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12627 esac
12629 test -n "$PULSE_LIBS" || enable_winepulse_drv=${enable_winepulse_drv:-no}
12631 if test "x$with_gstreamer" != "xno"
12632 then
12633 if ${GSTREAMER_CFLAGS:+false} :; then :
12634 if ${PKG_CONFIG+:} false; then :
12635 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12639 if ${GSTREAMER_LIBS:+false} :; then :
12640 if ${PKG_CONFIG+:} false; then :
12641 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12646 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12647 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12648 ac_save_CPPFLAGS=$CPPFLAGS
12649 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12650 ac_gst_incl=""
12651 for i in $GSTREAMER_CFLAGS
12653 case "$i" in
12654 -I*) ac_gst_incl="$ac_gst_incl $i";;
12655 esac
12656 done
12657 GSTREAMER_CFLAGS=$ac_gst_incl
12658 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12659 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12660 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12661 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12662 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12664 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12666 /* end confdefs.h. */
12667 #include <gst/app/gstappsink.h>
12669 main ()
12671 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12673 return 0;
12675 _ACEOF
12676 if ac_fn_c_try_compile "$LINENO"; then :
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12678 $as_echo "yes" >&6; }
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12680 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12681 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12682 $as_echo_n "(cached) " >&6
12683 else
12684 ac_check_lib_save_LIBS=$LIBS
12685 LIBS="-lgstreamer-0.10 $LIBS"
12686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12687 /* end confdefs.h. */
12689 /* Override any GCC internal prototype to avoid an error.
12690 Use char because int might match the return type of a GCC
12691 builtin and then its argument prototype would still apply. */
12692 #ifdef __cplusplus
12693 extern "C"
12694 #endif
12695 char gst_pad_get_caps_reffed ();
12697 main ()
12699 return gst_pad_get_caps_reffed ();
12701 return 0;
12703 _ACEOF
12704 if ac_fn_c_try_link "$LINENO"; then :
12705 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12706 else
12707 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12709 rm -f core conftest.err conftest.$ac_objext \
12710 conftest$ac_exeext conftest.$ac_ext
12711 LIBS=$ac_check_lib_save_LIBS
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12714 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12715 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12717 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12718 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12719 $as_echo_n "(cached) " >&6
12720 else
12721 ac_check_lib_save_LIBS=$LIBS
12722 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12724 /* end confdefs.h. */
12726 /* Override any GCC internal prototype to avoid an error.
12727 Use char because int might match the return type of a GCC
12728 builtin and then its argument prototype would still apply. */
12729 #ifdef __cplusplus
12730 extern "C"
12731 #endif
12732 char gst_app_buffer_new ();
12734 main ()
12736 return gst_app_buffer_new ();
12738 return 0;
12740 _ACEOF
12741 if ac_fn_c_try_link "$LINENO"; then :
12742 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12743 else
12744 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12746 rm -f core conftest.err conftest.$ac_objext \
12747 conftest$ac_exeext conftest.$ac_ext
12748 LIBS=$ac_check_lib_save_LIBS
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12751 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12752 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12758 else
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12760 $as_echo "no" >&6; }
12762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12766 else
12767 GSTREAMER_CFLAGS=""
12771 CPPFLAGS=$ac_save_CPPFLAGS
12772 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12773 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12776 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12777 case "x$with_gstreamer" in
12778 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12779 xno) ;;
12780 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12781 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12782 esac
12784 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12786 ALSA_LIBS=""
12788 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12789 then
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12791 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12792 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12793 $as_echo_n "(cached) " >&6
12794 else
12795 ac_check_lib_save_LIBS=$LIBS
12796 LIBS="-lasound $LIBS"
12797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12798 /* end confdefs.h. */
12800 /* Override any GCC internal prototype to avoid an error.
12801 Use char because int might match the return type of a GCC
12802 builtin and then its argument prototype would still apply. */
12803 #ifdef __cplusplus
12804 extern "C"
12805 #endif
12806 char snd_pcm_hw_params_get_access_mask ();
12808 main ()
12810 return snd_pcm_hw_params_get_access_mask ();
12812 return 0;
12814 _ACEOF
12815 if ac_fn_c_try_link "$LINENO"; then :
12816 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12817 else
12818 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12820 rm -f core conftest.err conftest.$ac_objext \
12821 conftest$ac_exeext conftest.$ac_ext
12822 LIBS=$ac_check_lib_save_LIBS
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12825 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12826 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12828 /* end confdefs.h. */
12829 #ifdef HAVE_ALSA_ASOUNDLIB_H
12830 #include <alsa/asoundlib.h>
12831 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12832 #include <sys/asoundlib.h>
12833 #endif
12835 main ()
12837 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12839 return 0;
12841 _ACEOF
12842 if ac_fn_c_try_compile "$LINENO"; then :
12843 ALSA_LIBS="-lasound"
12845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12849 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12851 if test "x$with_oss" != xno
12852 then
12853 ac_save_CPPFLAGS="$CPPFLAGS"
12854 if test -f /etc/oss.conf
12855 then
12856 . /etc/oss.conf
12858 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12859 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12860 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12861 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12862 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12864 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12866 cat >>confdefs.h <<_ACEOF
12867 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12868 _ACEOF
12870 OSS4_CFLAGS="$ac_oss_incl"
12877 CPPFLAGS="$ac_save_CPPFLAGS"
12878 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12879 then
12880 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12883 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12885 if test "x$with_capi" != "xno"
12886 then
12887 if ${CAPI20_CFLAGS:+false} :; then :
12888 if ${PKG_CONFIG+:} false; then :
12889 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12893 if ${CAPI20_LIBS:+false} :; then :
12894 if ${PKG_CONFIG+:} false; then :
12895 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12900 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12901 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12902 ac_save_CPPFLAGS=$CPPFLAGS
12903 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12904 for ac_header in capi20.h linux/capi.h
12905 do :
12906 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12907 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12909 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12910 cat >>confdefs.h <<_ACEOF
12911 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12912 _ACEOF
12916 done
12918 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12919 then
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12921 $as_echo_n "checking for -lcapi20... " >&6; }
12922 if ${ac_cv_lib_soname_capi20+:} false; then :
12923 $as_echo_n "(cached) " >&6
12924 else
12925 ac_check_soname_save_LIBS=$LIBS
12926 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12928 /* end confdefs.h. */
12930 /* Override any GCC internal prototype to avoid an error.
12931 Use char because int might match the return type of a GCC
12932 builtin and then its argument prototype would still apply. */
12933 #ifdef __cplusplus
12934 extern "C"
12935 #endif
12936 char capi20_register ();
12938 main ()
12940 return capi20_register ();
12942 return 0;
12944 _ACEOF
12945 if ac_fn_c_try_link "$LINENO"; then :
12946 case "$LIBEXT" in
12947 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12948 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'` ;;
12949 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12950 if ${ac_cv_lib_soname_capi20:+false} :; then :
12951 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12952 fi ;;
12953 esac
12955 rm -f core conftest.err conftest.$ac_objext \
12956 conftest$ac_exeext conftest.$ac_ext
12957 LIBS=$ac_check_soname_save_LIBS
12959 if ${ac_cv_lib_soname_capi20:+false} :; then :
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12961 $as_echo "not found" >&6; }
12963 else
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12965 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12967 cat >>confdefs.h <<_ACEOF
12968 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12969 _ACEOF
12974 CPPFLAGS=$ac_save_CPPFLAGS
12975 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12976 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12979 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12980 case "x$with_capi" in
12981 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12982 xno) ;;
12983 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12984 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12985 esac
12988 CUPS_CFLAGS=""
12990 if test "x$with_cups" != "xno"
12991 then
12992 ac_save_CPPFLAGS="$CPPFLAGS"
12993 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12994 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12995 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12996 for ac_header in cups/cups.h
12997 do :
12998 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12999 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13000 cat >>confdefs.h <<_ACEOF
13001 #define HAVE_CUPS_CUPS_H 1
13002 _ACEOF
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13004 $as_echo_n "checking for -lcups... " >&6; }
13005 if ${ac_cv_lib_soname_cups+:} false; then :
13006 $as_echo_n "(cached) " >&6
13007 else
13008 ac_check_soname_save_LIBS=$LIBS
13009 LIBS="-lcups $ac_cups_libs $LIBS"
13010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13011 /* end confdefs.h. */
13013 /* Override any GCC internal prototype to avoid an error.
13014 Use char because int might match the return type of a GCC
13015 builtin and then its argument prototype would still apply. */
13016 #ifdef __cplusplus
13017 extern "C"
13018 #endif
13019 char cupsGetDefault ();
13021 main ()
13023 return cupsGetDefault ();
13025 return 0;
13027 _ACEOF
13028 if ac_fn_c_try_link "$LINENO"; then :
13029 case "$LIBEXT" in
13030 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13031 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'` ;;
13032 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13033 if ${ac_cv_lib_soname_cups:+false} :; then :
13034 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13035 fi ;;
13036 esac
13038 rm -f core conftest.err conftest.$ac_objext \
13039 conftest$ac_exeext conftest.$ac_ext
13040 LIBS=$ac_check_soname_save_LIBS
13042 if ${ac_cv_lib_soname_cups:+false} :; then :
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13044 $as_echo "not found" >&6; }
13046 else
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13048 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13050 cat >>confdefs.h <<_ACEOF
13051 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13052 _ACEOF
13054 CUPS_CFLAGS="$ac_cups_cflags"
13058 done
13060 CPPFLAGS="$ac_save_CPPFLAGS"
13062 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13063 case "x$with_cups" in
13064 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13065 xno) ;;
13066 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13067 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13068 esac
13071 if test "x$with_fontconfig" != "xno"
13072 then
13073 if ${FONTCONFIG_CFLAGS:+false} :; then :
13074 if ${PKG_CONFIG+:} false; then :
13075 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13078 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13079 if ${FONTCONFIG_LIBS:+false} :; then :
13080 if ${PKG_CONFIG+:} false; then :
13081 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13084 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13086 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13087 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13088 ac_save_CPPFLAGS=$CPPFLAGS
13089 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13090 for ac_header in fontconfig/fontconfig.h
13091 do :
13092 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13093 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13094 cat >>confdefs.h <<_ACEOF
13095 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13096 _ACEOF
13100 done
13102 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13103 then
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13105 $as_echo_n "checking for -lfontconfig... " >&6; }
13106 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13107 $as_echo_n "(cached) " >&6
13108 else
13109 ac_check_soname_save_LIBS=$LIBS
13110 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13112 /* end confdefs.h. */
13114 /* Override any GCC internal prototype to avoid an error.
13115 Use char because int might match the return type of a GCC
13116 builtin and then its argument prototype would still apply. */
13117 #ifdef __cplusplus
13118 extern "C"
13119 #endif
13120 char FcInit ();
13122 main ()
13124 return FcInit ();
13126 return 0;
13128 _ACEOF
13129 if ac_fn_c_try_link "$LINENO"; then :
13130 case "$LIBEXT" in
13131 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13132 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'` ;;
13133 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13134 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13135 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13136 fi ;;
13137 esac
13139 rm -f core conftest.err conftest.$ac_objext \
13140 conftest$ac_exeext conftest.$ac_ext
13141 LIBS=$ac_check_soname_save_LIBS
13143 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13145 $as_echo "not found" >&6; }
13146 FONTCONFIG_CFLAGS=""
13147 else
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13149 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13151 cat >>confdefs.h <<_ACEOF
13152 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13153 _ACEOF
13157 else
13158 FONTCONFIG_CFLAGS=""
13160 CPPFLAGS=$ac_save_CPPFLAGS
13161 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13162 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13165 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13166 case "x$with_fontconfig" in
13167 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13168 xno) ;;
13169 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13170 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13171 esac
13174 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13175 then
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13177 $as_echo_n "checking for -lgsm... " >&6; }
13178 if ${ac_cv_lib_soname_gsm+:} false; then :
13179 $as_echo_n "(cached) " >&6
13180 else
13181 ac_check_soname_save_LIBS=$LIBS
13182 LIBS="-lgsm $LIBS"
13183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13184 /* end confdefs.h. */
13186 /* Override any GCC internal prototype to avoid an error.
13187 Use char because int might match the return type of a GCC
13188 builtin and then its argument prototype would still apply. */
13189 #ifdef __cplusplus
13190 extern "C"
13191 #endif
13192 char gsm_create ();
13194 main ()
13196 return gsm_create ();
13198 return 0;
13200 _ACEOF
13201 if ac_fn_c_try_link "$LINENO"; then :
13202 case "$LIBEXT" in
13203 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13204 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'` ;;
13205 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13206 if ${ac_cv_lib_soname_gsm:+false} :; then :
13207 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13208 fi ;;
13209 esac
13211 rm -f core conftest.err conftest.$ac_objext \
13212 conftest$ac_exeext conftest.$ac_ext
13213 LIBS=$ac_check_soname_save_LIBS
13215 if ${ac_cv_lib_soname_gsm:+false} :; then :
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13217 $as_echo "not found" >&6; }
13219 else
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13221 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13223 cat >>confdefs.h <<_ACEOF
13224 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13225 _ACEOF
13230 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13231 case "x$with_gsm" in
13232 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13233 xno) ;;
13234 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13235 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13236 esac
13239 if test "x$with_jpeg" != "xno"
13240 then
13241 if ${JPEG_CFLAGS:+false} :; then :
13242 if ${PKG_CONFIG+:} false; then :
13243 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13247 if ${JPEG_LIBS:+false} :; then :
13248 if ${PKG_CONFIG+:} false; then :
13249 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13254 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13255 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13256 ac_save_CPPFLAGS=$CPPFLAGS
13257 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13258 for ac_header in jpeglib.h
13259 do :
13260 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13261 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13262 cat >>confdefs.h <<_ACEOF
13263 #define HAVE_JPEGLIB_H 1
13264 _ACEOF
13268 done
13270 if test "$ac_cv_header_jpeglib_h" = "yes"
13271 then
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13273 $as_echo_n "checking for -ljpeg... " >&6; }
13274 if ${ac_cv_lib_soname_jpeg+:} false; then :
13275 $as_echo_n "(cached) " >&6
13276 else
13277 ac_check_soname_save_LIBS=$LIBS
13278 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13280 /* end confdefs.h. */
13282 /* Override any GCC internal prototype to avoid an error.
13283 Use char because int might match the return type of a GCC
13284 builtin and then its argument prototype would still apply. */
13285 #ifdef __cplusplus
13286 extern "C"
13287 #endif
13288 char jpeg_start_decompress ();
13290 main ()
13292 return jpeg_start_decompress ();
13294 return 0;
13296 _ACEOF
13297 if ac_fn_c_try_link "$LINENO"; then :
13298 case "$LIBEXT" in
13299 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13300 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'` ;;
13301 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13302 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13303 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13304 fi ;;
13305 esac
13307 rm -f core conftest.err conftest.$ac_objext \
13308 conftest$ac_exeext conftest.$ac_ext
13309 LIBS=$ac_check_soname_save_LIBS
13311 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13313 $as_echo "not found" >&6; }
13314 JPEG_CFLAGS=""
13315 else
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13317 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13319 cat >>confdefs.h <<_ACEOF
13320 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13321 _ACEOF
13325 else
13326 JPEG_CFLAGS=""
13328 CPPFLAGS=$ac_save_CPPFLAGS
13329 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13330 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13333 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13334 case "x$with_jpeg" in
13335 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13336 xno) ;;
13337 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13338 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13339 esac
13342 if test "x$with_png" != "xno"
13343 then
13344 if ${PNG_CFLAGS:+false} :; then :
13345 if ${PKG_CONFIG+:} false; then :
13346 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13349 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13350 if ${PNG_LIBS:+false} :; then :
13351 if ${PKG_CONFIG+:} false; then :
13352 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13355 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13357 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13358 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13359 ac_save_CPPFLAGS=$CPPFLAGS
13360 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13361 for ac_header in png.h
13362 do :
13363 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13364 if test "x$ac_cv_header_png_h" = xyes; then :
13365 cat >>confdefs.h <<_ACEOF
13366 #define HAVE_PNG_H 1
13367 _ACEOF
13371 done
13373 if test "$ac_cv_header_png_h" = "yes"
13374 then
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13376 $as_echo_n "checking for -lpng... " >&6; }
13377 if ${ac_cv_lib_soname_png+:} false; then :
13378 $as_echo_n "(cached) " >&6
13379 else
13380 ac_check_soname_save_LIBS=$LIBS
13381 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13383 /* end confdefs.h. */
13385 /* Override any GCC internal prototype to avoid an error.
13386 Use char because int might match the return type of a GCC
13387 builtin and then its argument prototype would still apply. */
13388 #ifdef __cplusplus
13389 extern "C"
13390 #endif
13391 char png_create_read_struct ();
13393 main ()
13395 return png_create_read_struct ();
13397 return 0;
13399 _ACEOF
13400 if ac_fn_c_try_link "$LINENO"; then :
13401 case "$LIBEXT" in
13402 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13403 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'` ;;
13404 *) 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'`
13405 if ${ac_cv_lib_soname_png:+false} :; then :
13406 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13407 fi ;;
13408 esac
13410 rm -f core conftest.err conftest.$ac_objext \
13411 conftest$ac_exeext conftest.$ac_ext
13412 LIBS=$ac_check_soname_save_LIBS
13414 if ${ac_cv_lib_soname_png:+false} :; then :
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13416 $as_echo "not found" >&6; }
13417 PNG_CFLAGS=""
13418 else
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13420 $as_echo "$ac_cv_lib_soname_png" >&6; }
13422 cat >>confdefs.h <<_ACEOF
13423 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13424 _ACEOF
13426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13427 /* end confdefs.h. */
13428 #include <png.h>
13430 main ()
13432 typeof(png_set_expand_gray_1_2_4_to_8) *p
13434 return 0;
13436 _ACEOF
13437 if ac_fn_c_try_compile "$LINENO"; then :
13439 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13444 else
13445 PNG_CFLAGS=""
13447 CPPFLAGS=$ac_save_CPPFLAGS
13448 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13449 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13452 if test "x$ac_cv_lib_soname_png" = "x"; then :
13453 case "x$with_png" in
13454 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13455 xno) ;;
13456 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13457 This is an error since --with-png was requested." "$LINENO" 5 ;;
13458 esac
13461 if test "x$with_tiff" != "xno"
13462 then
13463 if ${TIFF_CFLAGS:+false} :; then :
13464 if ${PKG_CONFIG+:} false; then :
13465 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13469 if ${TIFF_LIBS:+false} :; then :
13470 if ${PKG_CONFIG+:} false; then :
13471 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13476 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13477 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13478 ac_save_CPPFLAGS=$CPPFLAGS
13479 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13480 for ac_header in tiffio.h
13481 do :
13482 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13483 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13484 cat >>confdefs.h <<_ACEOF
13485 #define HAVE_TIFFIO_H 1
13486 _ACEOF
13490 done
13492 if test "$ac_cv_header_tiffio_h" = "yes"
13493 then
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13495 $as_echo_n "checking for -ltiff... " >&6; }
13496 if ${ac_cv_lib_soname_tiff+:} false; then :
13497 $as_echo_n "(cached) " >&6
13498 else
13499 ac_check_soname_save_LIBS=$LIBS
13500 LIBS="-ltiff $TIFF_LIBS $LIBS"
13501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13502 /* end confdefs.h. */
13504 /* Override any GCC internal prototype to avoid an error.
13505 Use char because int might match the return type of a GCC
13506 builtin and then its argument prototype would still apply. */
13507 #ifdef __cplusplus
13508 extern "C"
13509 #endif
13510 char TIFFClientOpen ();
13512 main ()
13514 return TIFFClientOpen ();
13516 return 0;
13518 _ACEOF
13519 if ac_fn_c_try_link "$LINENO"; then :
13520 case "$LIBEXT" in
13521 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13522 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'` ;;
13523 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13524 if ${ac_cv_lib_soname_tiff:+false} :; then :
13525 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13526 fi ;;
13527 esac
13529 rm -f core conftest.err conftest.$ac_objext \
13530 conftest$ac_exeext conftest.$ac_ext
13531 LIBS=$ac_check_soname_save_LIBS
13533 if ${ac_cv_lib_soname_tiff:+false} :; then :
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13535 $as_echo "not found" >&6; }
13537 else
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13539 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13541 cat >>confdefs.h <<_ACEOF
13542 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13543 _ACEOF
13548 CPPFLAGS=$ac_save_CPPFLAGS
13549 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13550 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13553 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13554 case "x$with_tiff" in
13555 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13556 xno) ;;
13557 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13558 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13559 esac
13562 if test "x$with_mpg123" != "xno"
13563 then
13564 if ${MPG123_CFLAGS:+false} :; then :
13565 if ${PKG_CONFIG+:} false; then :
13566 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13570 if ${MPG123_LIBS:+false} :; then :
13571 if ${PKG_CONFIG+:} false; then :
13572 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13576 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13577 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13578 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13579 ac_save_CPPFLAGS=$CPPFLAGS
13580 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13581 for ac_header in mpg123.h
13582 do :
13583 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13584 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13585 cat >>confdefs.h <<_ACEOF
13586 #define HAVE_MPG123_H 1
13587 _ACEOF
13591 done
13593 if test "$ac_cv_header_mpg123_h" = "yes"
13594 then
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13596 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13597 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13598 $as_echo_n "(cached) " >&6
13599 else
13600 ac_check_lib_save_LIBS=$LIBS
13601 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13603 /* end confdefs.h. */
13605 /* Override any GCC internal prototype to avoid an error.
13606 Use char because int might match the return type of a GCC
13607 builtin and then its argument prototype would still apply. */
13608 #ifdef __cplusplus
13609 extern "C"
13610 #endif
13611 char mpg123_feed ();
13613 main ()
13615 return mpg123_feed ();
13617 return 0;
13619 _ACEOF
13620 if ac_fn_c_try_link "$LINENO"; then :
13621 ac_cv_lib_mpg123_mpg123_feed=yes
13622 else
13623 ac_cv_lib_mpg123_mpg123_feed=no
13625 rm -f core conftest.err conftest.$ac_objext \
13626 conftest$ac_exeext conftest.$ac_ext
13627 LIBS=$ac_check_lib_save_LIBS
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13630 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13631 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13633 else
13634 MPG123_LIBS=""
13637 else
13638 MPG123_CFLAGS=""
13639 MPG123_LIBS=""
13641 CPPFLAGS=$ac_save_CPPFLAGS
13642 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13643 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13646 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13647 case "x$with_mpg123" in
13648 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13649 xno) ;;
13650 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13651 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13652 esac
13654 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}
13656 if test "$ac_cv_header_AL_al_h" = "yes"
13657 then
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13659 $as_echo_n "checking for -lopenal... " >&6; }
13660 if ${ac_cv_lib_soname_openal+:} false; then :
13661 $as_echo_n "(cached) " >&6
13662 else
13663 ac_check_soname_save_LIBS=$LIBS
13664 LIBS="-lopenal $LIBS"
13665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13666 /* end confdefs.h. */
13668 /* Override any GCC internal prototype to avoid an error.
13669 Use char because int might match the return type of a GCC
13670 builtin and then its argument prototype would still apply. */
13671 #ifdef __cplusplus
13672 extern "C"
13673 #endif
13674 char alGetSource3i ();
13676 main ()
13678 return alGetSource3i ();
13680 return 0;
13682 _ACEOF
13683 if ac_fn_c_try_link "$LINENO"; then :
13684 case "$LIBEXT" in
13685 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13686 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'` ;;
13687 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13688 if ${ac_cv_lib_soname_openal:+false} :; then :
13689 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13690 fi ;;
13691 esac
13693 rm -f core conftest.err conftest.$ac_objext \
13694 conftest$ac_exeext conftest.$ac_ext
13695 LIBS=$ac_check_soname_save_LIBS
13697 if ${ac_cv_lib_soname_openal:+false} :; then :
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13699 $as_echo "not found" >&6; }
13701 else
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13703 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13705 cat >>confdefs.h <<_ACEOF
13706 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13707 _ACEOF
13709 OPENAL_LIBS="-lopenal"
13711 ac_cv_lib_openal=yes
13713 cat >>confdefs.h <<_ACEOF
13714 #define HAVE_OPENAL 1
13715 _ACEOF
13719 if test "x$ac_cv_lib_openal" != xyes; then :
13720 case "x$with_openal" in
13721 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13722 xno) ;;
13723 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13724 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13725 esac
13727 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13729 if test "x$ac_cv_lib_openal" = xyes
13730 then
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13732 $as_echo_n "checking for openal-soft... " >&6; }
13733 if ${ac_cv_have_openalsoft+:} false; then :
13734 $as_echo_n "(cached) " >&6
13735 else
13736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13737 /* end confdefs.h. */
13738 #include <AL/al.h>
13739 #include <AL/alc.h>
13740 #include <AL/alext.h>
13741 LPALCRENDERSAMPLESSOFT x;
13743 main ()
13747 return 0;
13749 _ACEOF
13750 if ac_fn_c_try_compile "$LINENO"; then :
13751 ac_cv_have_openalsoft=yes
13752 else
13753 ac_cv_have_openalsoft=no
13755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13758 $as_echo "$ac_cv_have_openalsoft" >&6; }
13760 if test "x$ac_cv_have_openalsoft" != xyes
13761 then
13762 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13763 enable_xaudio2_7=${enable_xaudio2_7:-no}
13764 enable_xaudio2_8=${enable_xaudio2_8:-no}
13767 if test "$ac_cv_header_kstat_h" = "yes"
13768 then
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13770 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13771 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13772 $as_echo_n "(cached) " >&6
13773 else
13774 ac_check_lib_save_LIBS=$LIBS
13775 LIBS="-lkstat $LIBS"
13776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13777 /* end confdefs.h. */
13779 /* Override any GCC internal prototype to avoid an error.
13780 Use char because int might match the return type of a GCC
13781 builtin and then its argument prototype would still apply. */
13782 #ifdef __cplusplus
13783 extern "C"
13784 #endif
13785 char kstat_open ();
13787 main ()
13789 return kstat_open ();
13791 return 0;
13793 _ACEOF
13794 if ac_fn_c_try_link "$LINENO"; then :
13795 ac_cv_lib_kstat_kstat_open=yes
13796 else
13797 ac_cv_lib_kstat_kstat_open=no
13799 rm -f core conftest.err conftest.$ac_objext \
13800 conftest$ac_exeext conftest.$ac_ext
13801 LIBS=$ac_check_lib_save_LIBS
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13804 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13805 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13807 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13809 KSTAT_LIBS="-lkstat"
13815 if test "$ac_cv_header_libprocstat_h" = "yes"
13816 then
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13818 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13819 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13820 $as_echo_n "(cached) " >&6
13821 else
13822 ac_check_lib_save_LIBS=$LIBS
13823 LIBS="-lprocstat $LIBS"
13824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13825 /* end confdefs.h. */
13827 /* Override any GCC internal prototype to avoid an error.
13828 Use char because int might match the return type of a GCC
13829 builtin and then its argument prototype would still apply. */
13830 #ifdef __cplusplus
13831 extern "C"
13832 #endif
13833 char procstat_open_sysctl ();
13835 main ()
13837 return procstat_open_sysctl ();
13839 return 0;
13841 _ACEOF
13842 if ac_fn_c_try_link "$LINENO"; then :
13843 ac_cv_lib_procstat_procstat_open_sysctl=yes
13844 else
13845 ac_cv_lib_procstat_procstat_open_sysctl=no
13847 rm -f core conftest.err conftest.$ac_objext \
13848 conftest$ac_exeext conftest.$ac_ext
13849 LIBS=$ac_check_lib_save_LIBS
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13852 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13853 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13855 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13857 PROCSTAT_LIBS="-lprocstat"
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13864 $as_echo_n "checking for -lodbc... " >&6; }
13865 if ${ac_cv_lib_soname_odbc+:} false; then :
13866 $as_echo_n "(cached) " >&6
13867 else
13868 ac_check_soname_save_LIBS=$LIBS
13869 LIBS="-lodbc $LIBS"
13870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13871 /* end confdefs.h. */
13873 /* Override any GCC internal prototype to avoid an error.
13874 Use char because int might match the return type of a GCC
13875 builtin and then its argument prototype would still apply. */
13876 #ifdef __cplusplus
13877 extern "C"
13878 #endif
13879 char SQLConnect ();
13881 main ()
13883 return SQLConnect ();
13885 return 0;
13887 _ACEOF
13888 if ac_fn_c_try_link "$LINENO"; then :
13889 case "$LIBEXT" in
13890 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13891 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'` ;;
13892 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13893 if ${ac_cv_lib_soname_odbc:+false} :; then :
13894 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13895 fi ;;
13896 esac
13898 rm -f core conftest.err conftest.$ac_objext \
13899 conftest$ac_exeext conftest.$ac_ext
13900 LIBS=$ac_check_soname_save_LIBS
13902 if ${ac_cv_lib_soname_odbc:+false} :; then :
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13904 $as_echo "not found" >&6; }
13905 cat >>confdefs.h <<_ACEOF
13906 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13907 _ACEOF
13909 else
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13911 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13913 cat >>confdefs.h <<_ACEOF
13914 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13915 _ACEOF
13920 if test "x$with_netapi" != "xno"
13921 then
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13923 $as_echo_n "checking for -lnetapi... " >&6; }
13924 if ${ac_cv_lib_soname_netapi+:} false; then :
13925 $as_echo_n "(cached) " >&6
13926 else
13927 ac_check_soname_save_LIBS=$LIBS
13928 LIBS="-lnetapi $LIBS"
13929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13930 /* end confdefs.h. */
13932 /* Override any GCC internal prototype to avoid an error.
13933 Use char because int might match the return type of a GCC
13934 builtin and then its argument prototype would still apply. */
13935 #ifdef __cplusplus
13936 extern "C"
13937 #endif
13938 char libnetapi_init ();
13940 main ()
13942 return libnetapi_init ();
13944 return 0;
13946 _ACEOF
13947 if ac_fn_c_try_link "$LINENO"; then :
13948 case "$LIBEXT" in
13949 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13950 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'` ;;
13951 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13952 if ${ac_cv_lib_soname_netapi:+false} :; then :
13953 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13954 fi ;;
13955 esac
13957 rm -f core conftest.err conftest.$ac_objext \
13958 conftest$ac_exeext conftest.$ac_ext
13959 LIBS=$ac_check_soname_save_LIBS
13961 if ${ac_cv_lib_soname_netapi:+false} :; then :
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13963 $as_echo "not found" >&6; }
13964 cat >>confdefs.h <<_ACEOF
13965 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13966 _ACEOF
13968 else
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13970 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13972 cat >>confdefs.h <<_ACEOF
13973 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13974 _ACEOF
13980 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
13981 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
13982 then
13983 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13987 EXTRACFLAGS=""
13989 if test "x${GCC}" = "xyes"
13990 then
13991 EXTRACFLAGS="-Wall -pipe"
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13994 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13995 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13996 $as_echo_n "(cached) " >&6
13997 else
13998 if test "$cross_compiling" = yes; then :
13999 ac_cv_c_gcc_strength_bug="no"
14000 else
14001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14002 /* end confdefs.h. */
14003 int L[4] = {0,1,2,3};
14005 main ()
14007 static int Array[3];
14008 unsigned int B = 3;
14009 int i;
14010 for(i=0; i<B; i++) Array[i] = i - 3;
14011 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14012 L[i] = 4;
14013 return (Array[1] != -2 || L[2] != 3)
14015 return 0;
14017 _ACEOF
14018 if ac_fn_c_try_run "$LINENO"; then :
14019 ac_cv_c_gcc_strength_bug="no"
14020 else
14021 ac_cv_c_gcc_strength_bug="yes"
14023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14024 conftest.$ac_objext conftest.beam conftest.$ac_ext
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14029 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14030 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14031 then
14032 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14036 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14037 if ${ac_cv_cflags__fno_builtin+:} false; then :
14038 $as_echo_n "(cached) " >&6
14039 else
14040 ac_wine_try_cflags_saved=$CFLAGS
14041 CFLAGS="$CFLAGS -fno-builtin"
14042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14043 /* end confdefs.h. */
14044 int main(int argc, char **argv) { return 0; }
14045 _ACEOF
14046 if ac_fn_c_try_link "$LINENO"; then :
14047 ac_cv_cflags__fno_builtin=yes
14048 else
14049 ac_cv_cflags__fno_builtin=no
14051 rm -f core conftest.err conftest.$ac_objext \
14052 conftest$ac_exeext conftest.$ac_ext
14053 CFLAGS=$ac_wine_try_cflags_saved
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14056 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14057 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14058 BUILTINFLAG="-fno-builtin"
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14062 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14063 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14064 $as_echo_n "(cached) " >&6
14065 else
14066 ac_wine_try_cflags_saved=$CFLAGS
14067 CFLAGS="$CFLAGS -fno-strict-aliasing"
14068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14069 /* end confdefs.h. */
14070 int main(int argc, char **argv) { return 0; }
14071 _ACEOF
14072 if ac_fn_c_try_link "$LINENO"; then :
14073 ac_cv_cflags__fno_strict_aliasing=yes
14074 else
14075 ac_cv_cflags__fno_strict_aliasing=no
14077 rm -f core conftest.err conftest.$ac_objext \
14078 conftest$ac_exeext conftest.$ac_ext
14079 CFLAGS=$ac_wine_try_cflags_saved
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14082 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14083 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14084 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14087 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14088 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14089 $as_echo_n "(cached) " >&6
14090 else
14091 ac_wine_try_cflags_saved=$CFLAGS
14092 CFLAGS="$CFLAGS -fexcess-precision=standard"
14093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14094 /* end confdefs.h. */
14095 int main(int argc, char **argv) { return 0; }
14096 _ACEOF
14097 if ac_fn_c_try_link "$LINENO"; then :
14098 ac_cv_cflags__fexcess_precision_standard=yes
14099 else
14100 ac_cv_cflags__fexcess_precision_standard=no
14102 rm -f core conftest.err conftest.$ac_objext \
14103 conftest$ac_exeext conftest.$ac_ext
14104 CFLAGS=$ac_wine_try_cflags_saved
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14107 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14108 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14109 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14112 saved_CFLAGS=$CFLAGS
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14114 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14115 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14116 $as_echo_n "(cached) " >&6
14117 else
14118 ac_wine_try_cflags_saved=$CFLAGS
14119 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14121 /* end confdefs.h. */
14122 int main(int argc, char **argv) { return 0; }
14123 _ACEOF
14124 if ac_fn_c_try_link "$LINENO"; then :
14125 ac_cv_cflags__Werror_unknown_warning_option=yes
14126 else
14127 ac_cv_cflags__Werror_unknown_warning_option=no
14129 rm -f core conftest.err conftest.$ac_objext \
14130 conftest$ac_exeext conftest.$ac_ext
14131 CFLAGS=$ac_wine_try_cflags_saved
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14134 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14135 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14136 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14139 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14140 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14141 $as_echo_n "(cached) " >&6
14142 else
14143 ac_wine_try_cflags_saved=$CFLAGS
14144 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14146 /* end confdefs.h. */
14147 int main(int argc, char **argv) { return 0; }
14148 _ACEOF
14149 if ac_fn_c_try_link "$LINENO"; then :
14150 ac_cv_cflags__Wdeclaration_after_statement=yes
14151 else
14152 ac_cv_cflags__Wdeclaration_after_statement=no
14154 rm -f core conftest.err conftest.$ac_objext \
14155 conftest$ac_exeext conftest.$ac_ext
14156 CFLAGS=$ac_wine_try_cflags_saved
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14159 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14160 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14161 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14164 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14165 if ${ac_cv_cflags__Wempty_body+:} false; then :
14166 $as_echo_n "(cached) " >&6
14167 else
14168 ac_wine_try_cflags_saved=$CFLAGS
14169 CFLAGS="$CFLAGS -Wempty-body"
14170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14171 /* end confdefs.h. */
14172 int main(int argc, char **argv) { return 0; }
14173 _ACEOF
14174 if ac_fn_c_try_link "$LINENO"; then :
14175 ac_cv_cflags__Wempty_body=yes
14176 else
14177 ac_cv_cflags__Wempty_body=no
14179 rm -f core conftest.err conftest.$ac_objext \
14180 conftest$ac_exeext conftest.$ac_ext
14181 CFLAGS=$ac_wine_try_cflags_saved
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14184 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14185 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14186 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14189 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14190 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14191 $as_echo_n "(cached) " >&6
14192 else
14193 ac_wine_try_cflags_saved=$CFLAGS
14194 CFLAGS="$CFLAGS -Wignored-qualifiers"
14195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14196 /* end confdefs.h. */
14197 int main(int argc, char **argv) { return 0; }
14198 _ACEOF
14199 if ac_fn_c_try_link "$LINENO"; then :
14200 ac_cv_cflags__Wignored_qualifiers=yes
14201 else
14202 ac_cv_cflags__Wignored_qualifiers=no
14204 rm -f core conftest.err conftest.$ac_objext \
14205 conftest$ac_exeext conftest.$ac_ext
14206 CFLAGS=$ac_wine_try_cflags_saved
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14209 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14210 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14211 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14214 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14215 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14216 $as_echo_n "(cached) " >&6
14217 else
14218 ac_wine_try_cflags_saved=$CFLAGS
14219 CFLAGS="$CFLAGS -Wshift-overflow=2"
14220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14221 /* end confdefs.h. */
14222 int main(int argc, char **argv) { return 0; }
14223 _ACEOF
14224 if ac_fn_c_try_link "$LINENO"; then :
14225 ac_cv_cflags__Wshift_overflow_2=yes
14226 else
14227 ac_cv_cflags__Wshift_overflow_2=no
14229 rm -f core conftest.err conftest.$ac_objext \
14230 conftest$ac_exeext conftest.$ac_ext
14231 CFLAGS=$ac_wine_try_cflags_saved
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14234 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14235 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14236 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14239 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14240 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14241 $as_echo_n "(cached) " >&6
14242 else
14243 ac_wine_try_cflags_saved=$CFLAGS
14244 CFLAGS="$CFLAGS -Wstrict-prototypes"
14245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14246 /* end confdefs.h. */
14247 int main(int argc, char **argv) { return 0; }
14248 _ACEOF
14249 if ac_fn_c_try_link "$LINENO"; then :
14250 ac_cv_cflags__Wstrict_prototypes=yes
14251 else
14252 ac_cv_cflags__Wstrict_prototypes=no
14254 rm -f core conftest.err conftest.$ac_objext \
14255 conftest$ac_exeext conftest.$ac_ext
14256 CFLAGS=$ac_wine_try_cflags_saved
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14259 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14260 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14261 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14264 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14265 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14266 $as_echo_n "(cached) " >&6
14267 else
14268 ac_wine_try_cflags_saved=$CFLAGS
14269 CFLAGS="$CFLAGS -Wtype-limits"
14270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14271 /* end confdefs.h. */
14272 int main(int argc, char **argv) { return 0; }
14273 _ACEOF
14274 if ac_fn_c_try_link "$LINENO"; then :
14275 ac_cv_cflags__Wtype_limits=yes
14276 else
14277 ac_cv_cflags__Wtype_limits=no
14279 rm -f core conftest.err conftest.$ac_objext \
14280 conftest$ac_exeext conftest.$ac_ext
14281 CFLAGS=$ac_wine_try_cflags_saved
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14284 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14285 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14286 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14289 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14290 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14291 $as_echo_n "(cached) " >&6
14292 else
14293 ac_wine_try_cflags_saved=$CFLAGS
14294 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14296 /* end confdefs.h. */
14297 int main(int argc, char **argv) { return 0; }
14298 _ACEOF
14299 if ac_fn_c_try_link "$LINENO"; then :
14300 ac_cv_cflags__Wunused_but_set_parameter=yes
14301 else
14302 ac_cv_cflags__Wunused_but_set_parameter=no
14304 rm -f core conftest.err conftest.$ac_objext \
14305 conftest$ac_exeext conftest.$ac_ext
14306 CFLAGS=$ac_wine_try_cflags_saved
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14309 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14310 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14311 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14314 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14315 if ${ac_cv_cflags__Wvla+:} false; then :
14316 $as_echo_n "(cached) " >&6
14317 else
14318 ac_wine_try_cflags_saved=$CFLAGS
14319 CFLAGS="$CFLAGS -Wvla"
14320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14321 /* end confdefs.h. */
14322 int main(int argc, char **argv) { return 0; }
14323 _ACEOF
14324 if ac_fn_c_try_link "$LINENO"; then :
14325 ac_cv_cflags__Wvla=yes
14326 else
14327 ac_cv_cflags__Wvla=no
14329 rm -f core conftest.err conftest.$ac_objext \
14330 conftest$ac_exeext conftest.$ac_ext
14331 CFLAGS=$ac_wine_try_cflags_saved
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14334 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14335 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14336 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14339 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14340 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14341 $as_echo_n "(cached) " >&6
14342 else
14343 ac_wine_try_cflags_saved=$CFLAGS
14344 CFLAGS="$CFLAGS -Wwrite-strings"
14345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14346 /* end confdefs.h. */
14347 int main(int argc, char **argv) { return 0; }
14348 _ACEOF
14349 if ac_fn_c_try_link "$LINENO"; then :
14350 ac_cv_cflags__Wwrite_strings=yes
14351 else
14352 ac_cv_cflags__Wwrite_strings=no
14354 rm -f core conftest.err conftest.$ac_objext \
14355 conftest$ac_exeext conftest.$ac_ext
14356 CFLAGS=$ac_wine_try_cflags_saved
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14359 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14360 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14361 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14365 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14366 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14367 $as_echo_n "(cached) " >&6
14368 else
14369 ac_wine_try_cflags_saved=$CFLAGS
14370 CFLAGS="$CFLAGS -Wpointer-arith"
14371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14372 /* end confdefs.h. */
14373 int main(int argc, char **argv) { return 0; }
14374 _ACEOF
14375 if ac_fn_c_try_link "$LINENO"; then :
14376 ac_cv_cflags__Wpointer_arith=yes
14377 else
14378 ac_cv_cflags__Wpointer_arith=no
14380 rm -f core conftest.err conftest.$ac_objext \
14381 conftest$ac_exeext conftest.$ac_ext
14382 CFLAGS=$ac_wine_try_cflags_saved
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14385 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14386 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14387 saved_string_h_CFLAGS=$CFLAGS
14388 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14390 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14391 if ${ac_cv_c_string_h_warnings+:} false; then :
14392 $as_echo_n "(cached) " >&6
14393 else
14394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14395 /* end confdefs.h. */
14396 #include <string.h>
14398 main ()
14402 return 0;
14404 _ACEOF
14405 if ac_fn_c_try_compile "$LINENO"; then :
14406 ac_cv_c_string_h_warnings=no
14407 else
14408 ac_cv_c_string_h_warnings=yes
14410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14413 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14414 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14415 CFLAGS=$saved_string_h_CFLAGS
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14419 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14420 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14421 $as_echo_n "(cached) " >&6
14422 else
14423 ac_wine_try_cflags_saved=$CFLAGS
14424 CFLAGS="$CFLAGS -Wlogical-op"
14425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14426 /* end confdefs.h. */
14427 int main(int argc, char **argv) { return 0; }
14428 _ACEOF
14429 if ac_fn_c_try_link "$LINENO"; then :
14430 ac_cv_cflags__Wlogical_op=yes
14431 else
14432 ac_cv_cflags__Wlogical_op=no
14434 rm -f core conftest.err conftest.$ac_objext \
14435 conftest$ac_exeext conftest.$ac_ext
14436 CFLAGS=$ac_wine_try_cflags_saved
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14439 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14440 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14441 saved_string_h_CFLAGS=$CFLAGS
14442 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14444 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14445 if ${ac_cv_c_logicalop_noisy+:} false; then :
14446 $as_echo_n "(cached) " >&6
14447 else
14448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14449 /* end confdefs.h. */
14450 #include <string.h>
14451 char*f(const char *h,char n) {return strchr(h,n);}
14453 main ()
14457 return 0;
14459 _ACEOF
14460 if ac_fn_c_try_compile "$LINENO"; then :
14461 ac_cv_c_logicalop_noisy=no
14462 else
14463 ac_cv_c_logicalop_noisy=yes
14465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14468 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14469 CFLAGS=$saved_string_h_CFLAGS
14470 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14473 CFLAGS=$saved_CFLAGS
14475 for ac_flag in $CFLAGS; do
14476 case $ac_flag in
14477 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14478 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14479 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14480 $as_echo_n "(cached) " >&6
14481 else
14482 ac_wine_try_cflags_saved=$CFLAGS
14483 CFLAGS="$CFLAGS -gdwarf-2"
14484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14485 /* end confdefs.h. */
14486 int main(int argc, char **argv) { return 0; }
14487 _ACEOF
14488 if ac_fn_c_try_link "$LINENO"; then :
14489 ac_cv_cflags__gdwarf_2=yes
14490 else
14491 ac_cv_cflags__gdwarf_2=no
14493 rm -f core conftest.err conftest.$ac_objext \
14494 conftest$ac_exeext conftest.$ac_ext
14495 CFLAGS=$ac_wine_try_cflags_saved
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14498 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14499 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14500 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14503 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14504 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14505 $as_echo_n "(cached) " >&6
14506 else
14507 ac_wine_try_cflags_saved=$CFLAGS
14508 CFLAGS="$CFLAGS -gstrict-dwarf"
14509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14510 /* end confdefs.h. */
14511 int main(int argc, char **argv) { return 0; }
14512 _ACEOF
14513 if ac_fn_c_try_link "$LINENO"; then :
14514 ac_cv_cflags__gstrict_dwarf=yes
14515 else
14516 ac_cv_cflags__gstrict_dwarf=no
14518 rm -f core conftest.err conftest.$ac_objext \
14519 conftest$ac_exeext conftest.$ac_ext
14520 CFLAGS=$ac_wine_try_cflags_saved
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14523 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14524 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14525 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14526 fi ;;
14527 esac
14528 done
14530 case $host_cpu in
14531 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14532 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14533 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14534 $as_echo_n "(cached) " >&6
14535 else
14536 ac_wine_try_cflags_saved=$CFLAGS
14537 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14539 /* end confdefs.h. */
14540 int main(int argc, char **argv) { return 0; }
14541 _ACEOF
14542 if ac_fn_c_try_link "$LINENO"; then :
14543 ac_cv_cflags__fno_omit_frame_pointer=yes
14544 else
14545 ac_cv_cflags__fno_omit_frame_pointer=no
14547 rm -f core conftest.err conftest.$ac_objext \
14548 conftest$ac_exeext conftest.$ac_ext
14549 CFLAGS=$ac_wine_try_cflags_saved
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14552 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14553 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14554 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14555 fi ;;
14556 esac
14558 case $host in
14559 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14560 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14561 if ${ac_cv_cflags__Wno_format+:} false; then :
14562 $as_echo_n "(cached) " >&6
14563 else
14564 ac_wine_try_cflags_saved=$CFLAGS
14565 CFLAGS="$CFLAGS -Wno-format"
14566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14567 /* end confdefs.h. */
14568 int main(int argc, char **argv) { return 0; }
14569 _ACEOF
14570 if ac_fn_c_try_link "$LINENO"; then :
14571 ac_cv_cflags__Wno_format=yes
14572 else
14573 ac_cv_cflags__Wno_format=no
14575 rm -f core conftest.err conftest.$ac_objext \
14576 conftest$ac_exeext conftest.$ac_ext
14577 CFLAGS=$ac_wine_try_cflags_saved
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14580 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14581 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14582 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14583 fi ;;
14584 esac
14586 if test "x$enable_maintainer_mode" = "xyes"
14587 then
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14589 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14590 if ${ac_cv_cflags__Werror+:} false; then :
14591 $as_echo_n "(cached) " >&6
14592 else
14593 ac_wine_try_cflags_saved=$CFLAGS
14594 CFLAGS="$CFLAGS -Werror"
14595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14596 /* end confdefs.h. */
14597 int main(int argc, char **argv) { return 0; }
14598 _ACEOF
14599 if ac_fn_c_try_link "$LINENO"; then :
14600 ac_cv_cflags__Werror=yes
14601 else
14602 ac_cv_cflags__Werror=no
14604 rm -f core conftest.err conftest.$ac_objext \
14605 conftest$ac_exeext conftest.$ac_ext
14606 CFLAGS=$ac_wine_try_cflags_saved
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14609 $as_echo "$ac_cv_cflags__Werror" >&6; }
14610 if test "x$ac_cv_cflags__Werror" = xyes; then :
14611 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14615 saved_CFLAGS="$CFLAGS"
14616 CFLAGS="$CFLAGS -Werror"
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14618 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14619 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14620 $as_echo_n "(cached) " >&6
14621 else
14622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14623 /* end confdefs.h. */
14624 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14626 main ()
14630 return 0;
14632 _ACEOF
14633 if ac_fn_c_try_compile "$LINENO"; then :
14634 ac_cv_have_ms_hook_prologue="yes"
14635 else
14636 ac_cv_have_ms_hook_prologue="no"
14638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14641 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14642 CFLAGS="$saved_CFLAGS"
14643 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14644 then
14646 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14648 else
14649 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14656 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14657 if ${ac_cv_c_fortify_enabled+:} false; then :
14658 $as_echo_n "(cached) " >&6
14659 else
14660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14661 /* end confdefs.h. */
14662 #include <string.h>
14664 main ()
14666 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14667 #error Fortify enabled
14668 #endif
14670 return 0;
14672 _ACEOF
14673 if ac_fn_c_try_compile "$LINENO"; then :
14674 ac_cv_c_fortify_enabled=no
14675 else
14676 ac_cv_c_fortify_enabled=yes
14678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14681 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14682 if test "$ac_cv_c_fortify_enabled" = yes
14683 then
14684 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14689 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14690 if ${ac_cv_c_extern_prefix+:} false; then :
14691 $as_echo_n "(cached) " >&6
14692 else
14693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14694 /* end confdefs.h. */
14695 extern int ac_test;
14697 main ()
14699 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14701 return 0;
14703 _ACEOF
14704 if ac_fn_c_try_link "$LINENO"; then :
14705 ac_cv_c_extern_prefix="yes"
14706 else
14707 ac_cv_c_extern_prefix="no"
14709 rm -f core conftest.err conftest.$ac_objext \
14710 conftest$ac_exeext conftest.$ac_ext
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14713 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14715 case $host_cpu in
14716 *i[3456789]86*)
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14718 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14719 if ${ac_cv_c_stdcall_suffix+:} false; then :
14720 $as_echo_n "(cached) " >&6
14721 else
14722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14723 /* end confdefs.h. */
14724 #ifndef _MSC_VER
14725 #define __stdcall __attribute__((__stdcall__))
14726 #endif
14727 int __stdcall ac_test(int i) { return i; }
14729 main ()
14731 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14733 return 0;
14735 _ACEOF
14736 if ac_fn_c_try_link "$LINENO"; then :
14737 ac_cv_c_stdcall_suffix="yes"
14738 else
14739 ac_cv_c_stdcall_suffix="no"
14741 rm -f core conftest.err conftest.$ac_objext \
14742 conftest$ac_exeext conftest.$ac_ext
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14745 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14746 *) ac_cv_c_stdcall_suffix="no" ;;
14747 esac
14750 if test "$ac_cv_c_extern_prefix" = "yes"
14751 then
14752 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14754 asm_name_prefix="_"
14755 else
14756 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14758 asm_name_prefix=""
14762 if test "$ac_cv_c_stdcall_suffix" = "yes"
14763 then
14764 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14766 else
14767 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14773 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14774 if ${ac_cv_asm_func_def+:} false; then :
14775 $as_echo_n "(cached) " >&6
14776 else
14777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14778 /* end confdefs.h. */
14781 main ()
14783 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14785 return 0;
14787 _ACEOF
14788 if ac_fn_c_try_link "$LINENO"; then :
14789 ac_cv_asm_func_def=".def"
14790 else
14791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14792 /* end confdefs.h. */
14795 main ()
14797 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14799 return 0;
14801 _ACEOF
14802 if ac_fn_c_try_link "$LINENO"; then :
14803 ac_cv_asm_func_def=".type @function"
14804 else
14805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14806 /* end confdefs.h. */
14809 main ()
14811 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14813 return 0;
14815 _ACEOF
14816 if ac_fn_c_try_link "$LINENO"; then :
14817 ac_cv_asm_func_def=".type 2"
14818 else
14819 ac_cv_asm_func_def="unknown"
14821 rm -f core conftest.err conftest.$ac_objext \
14822 conftest$ac_exeext conftest.$ac_ext
14824 rm -f core conftest.err conftest.$ac_objext \
14825 conftest$ac_exeext conftest.$ac_ext
14827 rm -f core conftest.err conftest.$ac_objext \
14828 conftest$ac_exeext conftest.$ac_ext
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14831 $as_echo "$ac_cv_asm_func_def" >&6; }
14834 case "$ac_cv_asm_func_def" in
14835 ".def")
14836 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14838 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14839 ".type @function")
14840 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14842 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14843 ".type 2")
14844 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14846 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14848 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14850 asm_func_header="" ;;
14851 esac
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14854 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14855 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14856 $as_echo_n "(cached) " >&6
14857 else
14858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14859 /* end confdefs.h. */
14860 asm(".text\n\t.long 0");
14862 main ()
14866 return 0;
14868 _ACEOF
14869 if ac_fn_c_try_compile "$LINENO"; then :
14870 ac_cv_c_asm_outside_funcs="yes"
14871 else
14872 ac_cv_c_asm_outside_funcs="no"
14874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14877 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14880 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14881 if ${ac_cv_c_dot_previous+:} false; then :
14882 $as_echo_n "(cached) " >&6
14883 else
14884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14885 /* end confdefs.h. */
14888 main ()
14890 asm(".text\nac_test:\t.long 0\n\t.previous");
14892 return 0;
14894 _ACEOF
14895 if ac_fn_c_try_link "$LINENO"; then :
14896 ac_cv_c_dot_previous="yes"
14897 else
14898 ac_cv_c_dot_previous="no"
14900 rm -f core conftest.err conftest.$ac_objext \
14901 conftest$ac_exeext conftest.$ac_ext
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14904 $as_echo "$ac_cv_c_dot_previous" >&6; }
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14907 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14908 if ${ac_cv_c_cfi_support+:} false; then :
14909 $as_echo_n "(cached) " >&6
14910 else
14911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14912 /* end confdefs.h. */
14913 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14915 main ()
14919 return 0;
14921 _ACEOF
14922 if ac_fn_c_try_compile "$LINENO"; then :
14923 ac_cv_c_cfi_support="yes"
14924 else
14925 ac_cv_c_cfi_support="no"
14927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14930 $as_echo "$ac_cv_c_cfi_support" >&6; }
14932 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14933 asm_func_trailer=""
14934 if test "$ac_cv_c_dot_previous" = "yes"
14935 then
14936 asm_func_trailer="\\n\\t.previous"
14938 if test "$ac_cv_c_cfi_support" = "yes"
14939 then
14940 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14941 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14943 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14945 UNWINDFLAGS=-fasynchronous-unwind-tables
14947 else
14948 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14950 if test "x$enable_win64" = "xyes"
14951 then
14952 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14956 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14959 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14960 then
14961 cat >>confdefs.h <<_ACEOF
14962 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14963 _ACEOF
14965 else
14966 cat >>confdefs.h <<_ACEOF
14967 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14968 _ACEOF
14972 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14975 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14979 case $build_os in
14980 cygwin*|mingw32*) TOOLSEXT=".exe"
14982 esac
14984 case $host_os in
14985 linux-android*) ;;
14986 linux*)
14987 case $host_cpu in
14988 *i[3456789]86*|x86_64*)
14989 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14990 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
14992 esac
14994 esac
14997 ac_save_CFLAGS="$CFLAGS"
14998 CFLAGS="$CFLAGS $BUILTINFLAG"
14999 for ac_func in \
15000 __res_get_state \
15001 __res_getservers \
15002 _finite \
15003 _isnan \
15004 _pclose \
15005 _popen \
15006 _snprintf \
15007 _spawnvp \
15008 _strdup \
15009 _stricmp \
15010 _strnicmp \
15011 _strtoi64 \
15012 _strtoui64 \
15013 _vsnprintf \
15014 asctime_r \
15015 chsize \
15016 dlopen \
15017 epoll_create \
15018 ffs \
15019 finitef \
15020 fnmatch \
15021 fork \
15022 fpclass \
15023 fstatfs \
15024 fstatvfs \
15025 ftruncate \
15026 futimens \
15027 futimes \
15028 futimesat \
15029 getattrlist \
15030 getdirentries \
15031 getopt_long_only \
15032 getpwuid \
15033 gettimeofday \
15034 getuid \
15035 if_nameindex \
15036 isnanf \
15037 kqueue \
15038 lstat \
15039 memmove \
15040 mmap \
15041 pclose \
15042 pipe2 \
15043 poll \
15044 popen \
15045 port_create \
15046 prctl \
15047 pread \
15048 proc_pidinfo \
15049 pwrite \
15050 readdir \
15051 readlink \
15052 sched_yield \
15053 select \
15054 setproctitle \
15055 setrlimit \
15056 settimeofday \
15057 sigaltstack \
15058 sigprocmask \
15059 snprintf \
15060 statfs \
15061 statvfs \
15062 strcasecmp \
15063 strdup \
15064 strerror \
15065 strncasecmp \
15066 strtold \
15067 strtoll \
15068 strtoull \
15069 symlink \
15070 tcdrain \
15071 thr_kill2 \
15072 timegm \
15073 usleep \
15074 vsnprintf
15076 do :
15077 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15078 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15079 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15080 cat >>confdefs.h <<_ACEOF
15081 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15082 _ACEOF
15085 done
15087 CFLAGS="$ac_save_CFLAGS"
15089 if test "$ac_cv_func_dlopen" = no
15090 then
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15092 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15093 if ${ac_cv_lib_dl_dlopen+:} false; then :
15094 $as_echo_n "(cached) " >&6
15095 else
15096 ac_check_lib_save_LIBS=$LIBS
15097 LIBS="-ldl $LIBS"
15098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15099 /* end confdefs.h. */
15101 /* Override any GCC internal prototype to avoid an error.
15102 Use char because int might match the return type of a GCC
15103 builtin and then its argument prototype would still apply. */
15104 #ifdef __cplusplus
15105 extern "C"
15106 #endif
15107 char dlopen ();
15109 main ()
15111 return dlopen ();
15113 return 0;
15115 _ACEOF
15116 if ac_fn_c_try_link "$LINENO"; then :
15117 ac_cv_lib_dl_dlopen=yes
15118 else
15119 ac_cv_lib_dl_dlopen=no
15121 rm -f core conftest.err conftest.$ac_objext \
15122 conftest$ac_exeext conftest.$ac_ext
15123 LIBS=$ac_check_lib_save_LIBS
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15126 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15127 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15128 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15129 DL_LIBS="-ldl"
15134 ac_wine_check_funcs_save_LIBS="$LIBS"
15135 LIBS="$LIBS $DL_LIBS"
15136 for ac_func in dladdr
15137 do :
15138 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15139 if test "x$ac_cv_func_dladdr" = xyes; then :
15140 cat >>confdefs.h <<_ACEOF
15141 #define HAVE_DLADDR 1
15142 _ACEOF
15145 done
15147 LIBS="$ac_wine_check_funcs_save_LIBS"
15149 if test "$ac_cv_func_poll" = no
15150 then
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15152 $as_echo_n "checking for poll in -lpoll... " >&6; }
15153 if ${ac_cv_lib_poll_poll+:} false; then :
15154 $as_echo_n "(cached) " >&6
15155 else
15156 ac_check_lib_save_LIBS=$LIBS
15157 LIBS="-lpoll $LIBS"
15158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15159 /* end confdefs.h. */
15161 /* Override any GCC internal prototype to avoid an error.
15162 Use char because int might match the return type of a GCC
15163 builtin and then its argument prototype would still apply. */
15164 #ifdef __cplusplus
15165 extern "C"
15166 #endif
15167 char poll ();
15169 main ()
15171 return poll ();
15173 return 0;
15175 _ACEOF
15176 if ac_fn_c_try_link "$LINENO"; then :
15177 ac_cv_lib_poll_poll=yes
15178 else
15179 ac_cv_lib_poll_poll=no
15181 rm -f core conftest.err conftest.$ac_objext \
15182 conftest$ac_exeext conftest.$ac_ext
15183 LIBS=$ac_check_lib_save_LIBS
15185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15186 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15187 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15188 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15189 POLL_LIBS="-lpoll"
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15196 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15197 if ${ac_cv_search_gethostbyname+:} false; then :
15198 $as_echo_n "(cached) " >&6
15199 else
15200 ac_func_search_save_LIBS=$LIBS
15201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15202 /* end confdefs.h. */
15204 /* Override any GCC internal prototype to avoid an error.
15205 Use char because int might match the return type of a GCC
15206 builtin and then its argument prototype would still apply. */
15207 #ifdef __cplusplus
15208 extern "C"
15209 #endif
15210 char gethostbyname ();
15212 main ()
15214 return gethostbyname ();
15216 return 0;
15218 _ACEOF
15219 for ac_lib in '' nsl; do
15220 if test -z "$ac_lib"; then
15221 ac_res="none required"
15222 else
15223 ac_res=-l$ac_lib
15224 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15226 if ac_fn_c_try_link "$LINENO"; then :
15227 ac_cv_search_gethostbyname=$ac_res
15229 rm -f core conftest.err conftest.$ac_objext \
15230 conftest$ac_exeext
15231 if ${ac_cv_search_gethostbyname+:} false; then :
15232 break
15234 done
15235 if ${ac_cv_search_gethostbyname+:} false; then :
15237 else
15238 ac_cv_search_gethostbyname=no
15240 rm conftest.$ac_ext
15241 LIBS=$ac_func_search_save_LIBS
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15244 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15245 ac_res=$ac_cv_search_gethostbyname
15246 if test "$ac_res" != no; then :
15247 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15253 $as_echo_n "checking for library containing connect... " >&6; }
15254 if ${ac_cv_search_connect+:} false; then :
15255 $as_echo_n "(cached) " >&6
15256 else
15257 ac_func_search_save_LIBS=$LIBS
15258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15259 /* end confdefs.h. */
15261 /* Override any GCC internal prototype to avoid an error.
15262 Use char because int might match the return type of a GCC
15263 builtin and then its argument prototype would still apply. */
15264 #ifdef __cplusplus
15265 extern "C"
15266 #endif
15267 char connect ();
15269 main ()
15271 return connect ();
15273 return 0;
15275 _ACEOF
15276 for ac_lib in '' socket; do
15277 if test -z "$ac_lib"; then
15278 ac_res="none required"
15279 else
15280 ac_res=-l$ac_lib
15281 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15283 if ac_fn_c_try_link "$LINENO"; then :
15284 ac_cv_search_connect=$ac_res
15286 rm -f core conftest.err conftest.$ac_objext \
15287 conftest$ac_exeext
15288 if ${ac_cv_search_connect+:} false; then :
15289 break
15291 done
15292 if ${ac_cv_search_connect+:} false; then :
15294 else
15295 ac_cv_search_connect=no
15297 rm conftest.$ac_ext
15298 LIBS=$ac_func_search_save_LIBS
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15301 $as_echo "$ac_cv_search_connect" >&6; }
15302 ac_res=$ac_cv_search_connect
15303 if test "$ac_res" != no; then :
15304 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15310 $as_echo_n "checking for library containing inet_aton... " >&6; }
15311 if ${ac_cv_search_inet_aton+:} false; then :
15312 $as_echo_n "(cached) " >&6
15313 else
15314 ac_func_search_save_LIBS=$LIBS
15315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15316 /* end confdefs.h. */
15318 /* Override any GCC internal prototype to avoid an error.
15319 Use char because int might match the return type of a GCC
15320 builtin and then its argument prototype would still apply. */
15321 #ifdef __cplusplus
15322 extern "C"
15323 #endif
15324 char inet_aton ();
15326 main ()
15328 return inet_aton ();
15330 return 0;
15332 _ACEOF
15333 for ac_lib in '' resolv; do
15334 if test -z "$ac_lib"; then
15335 ac_res="none required"
15336 else
15337 ac_res=-l$ac_lib
15338 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15340 if ac_fn_c_try_link "$LINENO"; then :
15341 ac_cv_search_inet_aton=$ac_res
15343 rm -f core conftest.err conftest.$ac_objext \
15344 conftest$ac_exeext
15345 if ${ac_cv_search_inet_aton+:} false; then :
15346 break
15348 done
15349 if ${ac_cv_search_inet_aton+:} false; then :
15351 else
15352 ac_cv_search_inet_aton=no
15354 rm conftest.$ac_ext
15355 LIBS=$ac_func_search_save_LIBS
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15358 $as_echo "$ac_cv_search_inet_aton" >&6; }
15359 ac_res=$ac_cv_search_inet_aton
15360 if test "$ac_res" != no; then :
15361 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15366 for ac_func in \
15367 getaddrinfo \
15368 getnameinfo \
15369 getnetbyname \
15370 getprotobyname \
15371 getprotobynumber \
15372 getservbyport \
15373 inet_addr \
15374 inet_network \
15375 inet_ntop \
15376 inet_pton \
15377 sendmsg \
15378 socketpair \
15380 do :
15381 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15382 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15383 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15384 cat >>confdefs.h <<_ACEOF
15385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15386 _ACEOF
15389 done
15392 ac_save_LIBS=$LIBS
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15394 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15395 if ${ac_cv_search_clock_gettime+:} false; then :
15396 $as_echo_n "(cached) " >&6
15397 else
15398 ac_func_search_save_LIBS=$LIBS
15399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15400 /* end confdefs.h. */
15402 /* Override any GCC internal prototype to avoid an error.
15403 Use char because int might match the return type of a GCC
15404 builtin and then its argument prototype would still apply. */
15405 #ifdef __cplusplus
15406 extern "C"
15407 #endif
15408 char clock_gettime ();
15410 main ()
15412 return clock_gettime ();
15414 return 0;
15416 _ACEOF
15417 for ac_lib in '' rt; do
15418 if test -z "$ac_lib"; then
15419 ac_res="none required"
15420 else
15421 ac_res=-l$ac_lib
15422 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15424 if ac_fn_c_try_link "$LINENO"; then :
15425 ac_cv_search_clock_gettime=$ac_res
15427 rm -f core conftest.err conftest.$ac_objext \
15428 conftest$ac_exeext
15429 if ${ac_cv_search_clock_gettime+:} false; then :
15430 break
15432 done
15433 if ${ac_cv_search_clock_gettime+:} false; then :
15435 else
15436 ac_cv_search_clock_gettime=no
15438 rm conftest.$ac_ext
15439 LIBS=$ac_func_search_save_LIBS
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15442 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15443 ac_res=$ac_cv_search_clock_gettime
15444 if test "$ac_res" != no; then :
15445 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15447 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15449 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15453 LIBS=$ac_save_LIBS
15455 LDAP_LIBS=""
15457 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15458 then
15459 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15461 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15463 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15464 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15465 $as_echo_n "(cached) " >&6
15466 else
15467 ac_check_lib_save_LIBS=$LIBS
15468 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15470 /* end confdefs.h. */
15472 /* Override any GCC internal prototype to avoid an error.
15473 Use char because int might match the return type of a GCC
15474 builtin and then its argument prototype would still apply. */
15475 #ifdef __cplusplus
15476 extern "C"
15477 #endif
15478 char ldap_initialize ();
15480 main ()
15482 return ldap_initialize ();
15484 return 0;
15486 _ACEOF
15487 if ac_fn_c_try_link "$LINENO"; then :
15488 ac_cv_lib_ldap_r_ldap_initialize=yes
15489 else
15490 ac_cv_lib_ldap_r_ldap_initialize=no
15492 rm -f core conftest.err conftest.$ac_objext \
15493 conftest$ac_exeext conftest.$ac_ext
15494 LIBS=$ac_check_lib_save_LIBS
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15497 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15498 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15500 $as_echo_n "checking for ber_init in -llber... " >&6; }
15501 if ${ac_cv_lib_lber_ber_init+:} false; then :
15502 $as_echo_n "(cached) " >&6
15503 else
15504 ac_check_lib_save_LIBS=$LIBS
15505 LIBS="-llber $PTHREAD_LIBS $LIBS"
15506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15507 /* end confdefs.h. */
15509 /* Override any GCC internal prototype to avoid an error.
15510 Use char because int might match the return type of a GCC
15511 builtin and then its argument prototype would still apply. */
15512 #ifdef __cplusplus
15513 extern "C"
15514 #endif
15515 char ber_init ();
15517 main ()
15519 return ber_init ();
15521 return 0;
15523 _ACEOF
15524 if ac_fn_c_try_link "$LINENO"; then :
15525 ac_cv_lib_lber_ber_init=yes
15526 else
15527 ac_cv_lib_lber_ber_init=no
15529 rm -f core conftest.err conftest.$ac_objext \
15530 conftest$ac_exeext conftest.$ac_ext
15531 LIBS=$ac_check_lib_save_LIBS
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15534 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15535 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15537 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15539 LDAP_LIBS="-lldap_r -llber"
15546 ac_wine_check_funcs_save_LIBS="$LIBS"
15547 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15548 for ac_func in \
15549 ldap_count_references \
15550 ldap_first_reference \
15551 ldap_next_reference \
15552 ldap_parse_reference \
15553 ldap_parse_sort_control \
15554 ldap_parse_sortresponse_control \
15555 ldap_parse_vlv_control \
15556 ldap_parse_vlvresponse_control
15557 do :
15558 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15559 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15560 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15561 cat >>confdefs.h <<_ACEOF
15562 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15563 _ACEOF
15566 done
15568 LIBS="$ac_wine_check_funcs_save_LIBS"
15570 if test "x$LDAP_LIBS" = "x"; then :
15571 case "x$with_ldap" in
15572 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15573 xno) ;;
15574 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15575 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15576 esac
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15580 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15581 if ${wine_cv_one_arg_mkdir+:} false; then :
15582 $as_echo_n "(cached) " >&6
15583 else
15584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15585 /* end confdefs.h. */
15586 #include <sys/stat.h>
15588 main ()
15590 mkdir("foo");
15592 return 0;
15594 _ACEOF
15595 if ac_fn_c_try_compile "$LINENO"; then :
15596 wine_cv_one_arg_mkdir=yes
15597 else
15598 wine_cv_one_arg_mkdir=no
15600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15603 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15604 if test "$wine_cv_one_arg_mkdir" = "yes"
15605 then
15607 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15612 $as_echo_n "checking for sched_setaffinity... " >&6; }
15613 if ${wine_cv_have_sched_setaffinity+:} false; then :
15614 $as_echo_n "(cached) " >&6
15615 else
15616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15617 /* end confdefs.h. */
15618 #define _GNU_SOURCE
15619 #include <sched.h>
15621 main ()
15623 sched_setaffinity(0, 0, 0);
15625 return 0;
15627 _ACEOF
15628 if ac_fn_c_try_link "$LINENO"; then :
15629 wine_cv_have_sched_setaffinity=yes
15630 else
15631 wine_cv_have_sched_setaffinity=no
15633 rm -f core conftest.err conftest.$ac_objext \
15634 conftest$ac_exeext conftest.$ac_ext
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15637 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15638 if test "$wine_cv_have_sched_setaffinity" = "yes"
15639 then
15641 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15646 $as_echo_n "checking for fallocate... " >&6; }
15647 if ${wine_cv_have_fallocate+:} false; then :
15648 $as_echo_n "(cached) " >&6
15649 else
15650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15651 /* end confdefs.h. */
15652 #define _GNU_SOURCE
15653 #include <fcntl.h>
15655 main ()
15657 fallocate(-1, 0, 0, 0);
15659 return 0;
15661 _ACEOF
15662 if ac_fn_c_try_link "$LINENO"; then :
15663 wine_cv_have_fallocate=yes
15664 else
15665 wine_cv_have_fallocate=no
15667 rm -f core conftest.err conftest.$ac_objext \
15668 conftest$ac_exeext conftest.$ac_ext
15670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15671 $as_echo "$wine_cv_have_fallocate" >&6; }
15672 if test "$wine_cv_have_fallocate" = "yes"
15673 then
15675 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15681 $as_echo_n "checking for inline... " >&6; }
15682 if ${ac_cv_c_inline+:} false; then :
15683 $as_echo_n "(cached) " >&6
15684 else
15685 ac_cv_c_inline=no
15686 for ac_kw in inline __inline__ __inline; do
15687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15688 /* end confdefs.h. */
15689 #ifndef __cplusplus
15690 typedef int foo_t;
15691 static $ac_kw foo_t static_foo () {return 0; }
15692 $ac_kw foo_t foo () {return 0; }
15693 #endif
15695 _ACEOF
15696 if ac_fn_c_try_compile "$LINENO"; then :
15697 ac_cv_c_inline=$ac_kw
15699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15700 test "$ac_cv_c_inline" != no && break
15701 done
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15705 $as_echo "$ac_cv_c_inline" >&6; }
15707 case $ac_cv_c_inline in
15708 inline | yes) ;;
15710 case $ac_cv_c_inline in
15711 no) ac_val=;;
15712 *) ac_val=$ac_cv_c_inline;;
15713 esac
15714 cat >>confdefs.h <<_ACEOF
15715 #ifndef __cplusplus
15716 #define inline $ac_val
15717 #endif
15718 _ACEOF
15720 esac
15722 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15723 if test "x$ac_cv_type_mode_t" = xyes; then :
15725 cat >>confdefs.h <<_ACEOF
15726 #define HAVE_MODE_T 1
15727 _ACEOF
15731 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15732 if test "x$ac_cv_type_off_t" = xyes; then :
15734 cat >>confdefs.h <<_ACEOF
15735 #define HAVE_OFF_T 1
15736 _ACEOF
15740 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15741 if test "x$ac_cv_type_pid_t" = xyes; then :
15743 cat >>confdefs.h <<_ACEOF
15744 #define HAVE_PID_T 1
15745 _ACEOF
15749 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15750 if test "x$ac_cv_type_size_t" = xyes; then :
15752 cat >>confdefs.h <<_ACEOF
15753 #define HAVE_SIZE_T 1
15754 _ACEOF
15758 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15759 if test "x$ac_cv_type_ssize_t" = xyes; then :
15761 cat >>confdefs.h <<_ACEOF
15762 #define HAVE_SSIZE_T 1
15763 _ACEOF
15767 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15768 if test "x$ac_cv_type_long_long" = xyes; then :
15770 cat >>confdefs.h <<_ACEOF
15771 #define HAVE_LONG_LONG 1
15772 _ACEOF
15776 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15777 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15779 cat >>confdefs.h <<_ACEOF
15780 #define HAVE_FSBLKCNT_T 1
15781 _ACEOF
15785 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15786 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15788 cat >>confdefs.h <<_ACEOF
15789 #define HAVE_FSFILCNT_T 1
15790 _ACEOF
15795 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15796 #include <signal.h>
15798 if test "x$ac_cv_type_sigset_t" = xyes; then :
15800 cat >>confdefs.h <<_ACEOF
15801 #define HAVE_SIGSET_T 1
15802 _ACEOF
15807 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15809 if test "x$ac_cv_type_request_sense" = xyes; then :
15811 cat >>confdefs.h <<_ACEOF
15812 #define HAVE_REQUEST_SENSE 1
15813 _ACEOF
15819 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15820 #ifdef HAVE_SYS_SOCKET_H
15821 #include <sys/socket.h>
15822 #endif
15823 #ifdef HAVE_SYS_SOCKETVAR_H
15824 #include <sys/socketvar.h>
15825 #endif
15826 #ifdef HAVE_NET_ROUTE_H
15827 #include <net/route.h>
15828 #endif
15829 #ifdef HAVE_NETINET_IN_H
15830 #include <netinet/in.h>
15831 #endif
15832 #ifdef HAVE_NETINET_IN_SYSTM_H
15833 #include <netinet/in_systm.h>
15834 #endif
15835 #ifdef HAVE_NETINET_IP_H
15836 #include <netinet/ip.h>
15837 #endif
15838 #ifdef HAVE_NETINET_IN_PCB_H
15839 #include <netinet/in_pcb.h>
15840 #endif
15842 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15844 cat >>confdefs.h <<_ACEOF
15845 #define HAVE_STRUCT_XINPGEN 1
15846 _ACEOF
15852 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15853 #include <link.h>
15854 #endif
15855 #ifdef HAVE_SYS_LINK_H
15856 #include <sys/link.h>
15857 #endif
15859 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15861 cat >>confdefs.h <<_ACEOF
15862 #define HAVE_STRUCT_R_DEBUG 1
15863 _ACEOF
15867 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15868 #include <link.h>
15869 #endif
15870 #ifdef HAVE_SYS_LINK_H
15871 #include <sys/link.h>
15872 #endif
15874 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15876 cat >>confdefs.h <<_ACEOF
15877 #define HAVE_STRUCT_LINK_MAP 1
15878 _ACEOF
15884 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15885 #include <linux/input.h>
15886 #endif
15888 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15890 cat >>confdefs.h <<_ACEOF
15891 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15892 _ACEOF
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15899 $as_echo_n "checking for sigaddset... " >&6; }
15900 if ${wine_cv_have_sigaddset+:} false; then :
15901 $as_echo_n "(cached) " >&6
15902 else
15903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15904 /* end confdefs.h. */
15905 #include <signal.h>
15907 main ()
15909 sigset_t set; sigaddset(&set,SIGTERM);
15911 return 0;
15913 _ACEOF
15914 if ac_fn_c_try_link "$LINENO"; then :
15915 wine_cv_have_sigaddset=yes
15916 else
15917 wine_cv_have_sigaddset=no
15919 rm -f core conftest.err conftest.$ac_objext \
15920 conftest$ac_exeext conftest.$ac_ext
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15923 $as_echo "$wine_cv_have_sigaddset" >&6; }
15924 if test "$wine_cv_have_sigaddset" = "yes"
15925 then
15927 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15933 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15934 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15935 $as_echo_n "(cached) " >&6
15936 else
15937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15938 /* end confdefs.h. */
15939 #include <netdb.h>
15941 main ()
15944 char *name=0;
15945 struct hostent he;
15946 struct hostent *result;
15947 char *buf=0;
15948 int bufsize=0;
15949 int errnr;
15950 char *addr=0;
15951 int addrlen=0;
15952 int addrtype=0;
15953 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15954 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15957 return 0;
15959 _ACEOF
15960 if ac_fn_c_try_link "$LINENO"; then :
15961 wine_cv_linux_gethostbyname_r_6=yes
15962 else
15963 wine_cv_linux_gethostbyname_r_6=no
15966 rm -f core conftest.err conftest.$ac_objext \
15967 conftest$ac_exeext conftest.$ac_ext
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15971 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15972 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15973 then
15975 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15979 if test "$ac_cv_header_linux_joystick_h" = "yes"
15980 then
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15982 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15983 if ${wine_cv_linux_joystick_22_api+:} false; then :
15984 $as_echo_n "(cached) " >&6
15985 else
15986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15987 /* end confdefs.h. */
15989 #include <sys/ioctl.h>
15990 #include <sys/types.h>
15991 #include <linux/joystick.h>
15993 struct js_event blub;
15994 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15995 #error "no 2.2 header"
15996 #endif
15999 main ()
16001 /*empty*/
16003 return 0;
16005 _ACEOF
16006 if ac_fn_c_try_compile "$LINENO"; then :
16007 wine_cv_linux_joystick_22_api=yes
16008 else
16009 wine_cv_linux_joystick_22_api=no
16011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16015 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16016 if test "$wine_cv_linux_joystick_22_api" = "yes"
16017 then
16019 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16025 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16026 #ifdef HAVE_SYS_PARAM_H
16027 # include <sys/param.h>
16028 #endif
16029 #ifdef HAVE_SYS_MOUNT_H
16030 # include <sys/mount.h>
16031 #endif
16032 #ifdef HAVE_SYS_VFS_H
16033 # include <sys/vfs.h>
16034 #endif
16035 #ifdef HAVE_SYS_STATFS_H
16036 # include <sys/statfs.h>
16037 #endif
16039 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16041 cat >>confdefs.h <<_ACEOF
16042 #define HAVE_STRUCT_STATFS_F_BFREE 1
16043 _ACEOF
16047 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16048 #ifdef HAVE_SYS_PARAM_H
16049 # include <sys/param.h>
16050 #endif
16051 #ifdef HAVE_SYS_MOUNT_H
16052 # include <sys/mount.h>
16053 #endif
16054 #ifdef HAVE_SYS_VFS_H
16055 # include <sys/vfs.h>
16056 #endif
16057 #ifdef HAVE_SYS_STATFS_H
16058 # include <sys/statfs.h>
16059 #endif
16061 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16063 cat >>confdefs.h <<_ACEOF
16064 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16065 _ACEOF
16069 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16070 #ifdef HAVE_SYS_PARAM_H
16071 # include <sys/param.h>
16072 #endif
16073 #ifdef HAVE_SYS_MOUNT_H
16074 # include <sys/mount.h>
16075 #endif
16076 #ifdef HAVE_SYS_VFS_H
16077 # include <sys/vfs.h>
16078 #endif
16079 #ifdef HAVE_SYS_STATFS_H
16080 # include <sys/statfs.h>
16081 #endif
16083 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16085 cat >>confdefs.h <<_ACEOF
16086 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16087 _ACEOF
16091 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16092 #ifdef HAVE_SYS_PARAM_H
16093 # include <sys/param.h>
16094 #endif
16095 #ifdef HAVE_SYS_MOUNT_H
16096 # include <sys/mount.h>
16097 #endif
16098 #ifdef HAVE_SYS_VFS_H
16099 # include <sys/vfs.h>
16100 #endif
16101 #ifdef HAVE_SYS_STATFS_H
16102 # include <sys/statfs.h>
16103 #endif
16105 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16107 cat >>confdefs.h <<_ACEOF
16108 #define HAVE_STRUCT_STATFS_F_FFREE 1
16109 _ACEOF
16113 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16114 #ifdef HAVE_SYS_PARAM_H
16115 # include <sys/param.h>
16116 #endif
16117 #ifdef HAVE_SYS_MOUNT_H
16118 # include <sys/mount.h>
16119 #endif
16120 #ifdef HAVE_SYS_VFS_H
16121 # include <sys/vfs.h>
16122 #endif
16123 #ifdef HAVE_SYS_STATFS_H
16124 # include <sys/statfs.h>
16125 #endif
16127 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16129 cat >>confdefs.h <<_ACEOF
16130 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16131 _ACEOF
16135 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16136 #ifdef HAVE_SYS_PARAM_H
16137 # include <sys/param.h>
16138 #endif
16139 #ifdef HAVE_SYS_MOUNT_H
16140 # include <sys/mount.h>
16141 #endif
16142 #ifdef HAVE_SYS_VFS_H
16143 # include <sys/vfs.h>
16144 #endif
16145 #ifdef HAVE_SYS_STATFS_H
16146 # include <sys/statfs.h>
16147 #endif
16149 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16151 cat >>confdefs.h <<_ACEOF
16152 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16153 _ACEOF
16159 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16160 #include <sys/statvfs.h>
16161 #endif
16163 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16165 cat >>confdefs.h <<_ACEOF
16166 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16167 _ACEOF
16173 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16174 #include <dirent.h>
16175 #endif
16177 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16179 cat >>confdefs.h <<_ACEOF
16180 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16181 _ACEOF
16187 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16188 #ifdef HAVE_SYS_SOCKET_H
16189 # include <sys/socket.h>
16190 #endif
16191 #ifdef HAVE_SYS_UN_H
16192 # include <sys/un.h>
16193 #endif
16195 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16197 cat >>confdefs.h <<_ACEOF
16198 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16199 _ACEOF
16203 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16204 #ifdef HAVE_SYS_SOCKET_H
16205 # include <sys/socket.h>
16206 #endif
16207 #ifdef HAVE_SYS_UN_H
16208 # include <sys/un.h>
16209 #endif
16211 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16213 cat >>confdefs.h <<_ACEOF
16214 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16215 _ACEOF
16219 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16220 #ifdef HAVE_SYS_SOCKET_H
16221 # include <sys/socket.h>
16222 #endif
16223 #ifdef HAVE_SYS_UN_H
16224 # include <sys/un.h>
16225 #endif
16227 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16229 cat >>confdefs.h <<_ACEOF
16230 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16231 _ACEOF
16237 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16238 #ifdef HAVE_SCSI_SG_H
16239 #include <scsi/sg.h>
16240 #endif
16242 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16244 cat >>confdefs.h <<_ACEOF
16245 #define HAVE_SCSIREQ_T_CMD 1
16246 _ACEOF
16250 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>
16251 #ifdef HAVE_SCSI_SG_H
16252 #include <scsi/sg.h>
16253 #endif
16255 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16257 cat >>confdefs.h <<_ACEOF
16258 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16259 _ACEOF
16265 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16267 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16269 cat >>confdefs.h <<_ACEOF
16270 #define HAVE_SIGINFO_T_SI_FD 1
16271 _ACEOF
16277 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16278 #ifdef HAVE_SYS_MTIO_H
16279 #include <sys/mtio.h>
16280 #endif
16282 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16284 cat >>confdefs.h <<_ACEOF
16285 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16286 _ACEOF
16290 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16291 #ifdef HAVE_SYS_MTIO_H
16292 #include <sys/mtio.h>
16293 #endif
16295 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16297 cat >>confdefs.h <<_ACEOF
16298 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16299 _ACEOF
16303 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16304 #ifdef HAVE_SYS_MTIO_H
16305 #include <sys/mtio.h>
16306 #endif
16308 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16310 cat >>confdefs.h <<_ACEOF
16311 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16312 _ACEOF
16318 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16319 #include <getopt.h>
16320 #endif
16322 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16324 cat >>confdefs.h <<_ACEOF
16325 #define HAVE_STRUCT_OPTION_NAME 1
16326 _ACEOF
16332 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16333 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16335 cat >>confdefs.h <<_ACEOF
16336 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16337 _ACEOF
16341 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16342 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16344 cat >>confdefs.h <<_ACEOF
16345 #define HAVE_STRUCT_STAT_ST_MTIM 1
16346 _ACEOF
16350 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16351 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16353 cat >>confdefs.h <<_ACEOF
16354 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16355 _ACEOF
16359 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16360 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16362 cat >>confdefs.h <<_ACEOF
16363 #define HAVE_STRUCT_STAT_ST_CTIM 1
16364 _ACEOF
16368 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16369 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16371 cat >>confdefs.h <<_ACEOF
16372 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16373 _ACEOF
16377 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16378 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16380 cat >>confdefs.h <<_ACEOF
16381 #define HAVE_STRUCT_STAT_ST_ATIM 1
16382 _ACEOF
16386 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16387 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16389 cat >>confdefs.h <<_ACEOF
16390 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16391 _ACEOF
16395 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16396 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16398 cat >>confdefs.h <<_ACEOF
16399 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16400 _ACEOF
16404 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16405 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16407 cat >>confdefs.h <<_ACEOF
16408 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16409 _ACEOF
16413 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16414 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16416 cat >>confdefs.h <<_ACEOF
16417 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16418 _ACEOF
16422 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16423 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16425 cat >>confdefs.h <<_ACEOF
16426 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16427 _ACEOF
16431 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16432 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16434 cat >>confdefs.h <<_ACEOF
16435 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16436 _ACEOF
16442 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
16443 #include <sys/types.h>
16444 #endif
16445 #ifdef HAVE_NETINET_IN_H
16446 #include <netinet/in.h>
16447 #endif
16449 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16451 cat >>confdefs.h <<_ACEOF
16452 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16453 _ACEOF
16459 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16460 #include <resolv.h>
16461 #endif
16463 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16465 cat >>confdefs.h <<_ACEOF
16466 #define HAVE_STRUCT___RES_STATE 1
16467 _ACEOF
16473 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
16474 #include <resolv.h>
16475 #endif
16477 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16479 cat >>confdefs.h <<_ACEOF
16480 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16481 _ACEOF
16487 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16488 #include <sys/types.h>
16489 #endif
16490 #ifdef HAVE_NETINET_IN_H
16491 # include <netinet/in.h>
16492 #endif
16493 #ifdef HAVE_ARPA_NAMESER_H
16494 # include <arpa/nameser.h>
16495 #endif
16497 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16499 cat >>confdefs.h <<_ACEOF
16500 #define HAVE_NS_MSG__MSG_PTR 1
16501 _ACEOF
16507 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16508 #include <sys/types.h>
16509 #endif
16510 #ifdef HAVE_NETINET_IP_H
16511 #include <netinet/ip.h>
16512 #endif
16513 #ifdef HAVE_NETINET_IP_ICMP_H
16514 #include <netinet/ip_icmp.h>
16515 #endif
16516 #ifdef HAVE_NETINET_ICMP_VAR_H
16517 #include <netinet/icmp_var.h>
16518 #endif
16520 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16522 cat >>confdefs.h <<_ACEOF
16523 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16524 _ACEOF
16530 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16531 #include <sys/types.h>
16532 #endif
16533 #ifdef HAVE_ALIAS_H
16534 #include <alias.h>
16535 #endif
16536 #ifdef HAVE_SYS_SOCKET_H
16537 #include <sys/socket.h>
16538 #endif
16539 #ifdef HAVE_SYS_SOCKETVAR_H
16540 #include <sys/socketvar.h>
16541 #endif
16542 #ifdef HAVE_SYS_TIMEOUT_H
16543 #include <sys/timeout.h>
16544 #endif
16545 #ifdef HAVE_NETINET_IN_H
16546 #include <netinet/in.h>
16547 #endif
16548 #ifdef HAVE_NETINET_IN_SYSTM_H
16549 #include <netinet/in_systm.h>
16550 #endif
16551 #ifdef HAVE_NETINET_IP_H
16552 #include <netinet/ip.h>
16553 #endif
16554 #ifdef HAVE_NETINET_IP_VAR_H
16555 #include <netinet/ip_var.h>
16556 #endif
16557 #ifdef HAVE_NETINET_IP_ICMP_H
16558 #include <netinet/ip_icmp.h>
16559 #endif
16560 #ifdef HAVE_NETINET_ICMP_VAR_H
16561 #include <netinet/icmp_var.h>
16562 #endif
16564 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16566 cat >>confdefs.h <<_ACEOF
16567 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16568 _ACEOF
16574 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16575 #include <sys/types.h>
16576 #endif
16577 #ifdef HAVE_SYS_SOCKETVAR_H
16578 #include <sys/socketvar.h>
16579 #endif
16580 #ifdef HAVE_NETINET_IN_H
16581 #include <netinet/in.h>
16582 #endif
16583 #ifdef HAVE_NETINET_IP_VAR_H
16584 #include <netinet/ip_var.h>
16585 #endif
16587 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16589 cat >>confdefs.h <<_ACEOF
16590 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16591 _ACEOF
16597 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
16598 #include <netinet/ip_var.h>
16599 #endif
16601 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16603 cat >>confdefs.h <<_ACEOF
16604 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16605 _ACEOF
16611 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16612 #include <sys/types.h>
16613 #endif
16614 #ifdef HAVE_SYS_SOCKETVAR_H
16615 #include <sys/socketvar.h>
16616 #endif
16617 #ifdef HAVE_NETINET_IN_H
16618 #include <netinet/in.h>
16619 #endif
16620 #ifdef HAVE_NETINET_TCP_H
16621 #include <netinet/tcp.h>
16622 #endif
16623 #ifdef HAVE_NETINET_TCP_VAR_H
16624 #include <netinet/tcp_var.h>
16625 #endif
16627 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16629 cat >>confdefs.h <<_ACEOF
16630 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16631 _ACEOF
16637 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
16638 #include <netinet/tcp_var.h>
16639 #endif
16641 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16643 cat >>confdefs.h <<_ACEOF
16644 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16645 _ACEOF
16651 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16652 #include <sys/types.h>
16653 #endif
16654 #ifdef HAVE_NETINET_IN_H
16655 #include <netinet/in.h>
16656 #endif
16657 #ifdef HAVE_NETINET_IP_VAR_H
16658 #include <netinet/ip_var.h>
16659 #endif
16660 #ifdef HAVE_NETINET_UDP_H
16661 #include <netinet/udp.h>
16662 #endif
16663 #ifdef HAVE_NETINET_UDP_VAR_H
16664 #include <netinet/udp_var.h>
16665 #endif
16667 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16669 cat >>confdefs.h <<_ACEOF
16670 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16671 _ACEOF
16677 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16678 #include <sys/types.h>
16679 #endif
16680 #ifdef HAVE_NET_IF_H
16681 # include <net/if.h>
16682 #endif
16684 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16686 cat >>confdefs.h <<_ACEOF
16687 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16688 _ACEOF
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16695 $as_echo_n "checking for timezone variable... " >&6; }
16696 if ${ac_cv_have_timezone+:} false; then :
16697 $as_echo_n "(cached) " >&6
16698 else
16699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16700 /* end confdefs.h. */
16701 #include <time.h>
16703 main ()
16705 timezone = 1
16707 return 0;
16709 _ACEOF
16710 if ac_fn_c_try_link "$LINENO"; then :
16711 ac_cv_have_timezone="yes"
16712 else
16713 ac_cv_have_timezone="no"
16715 rm -f core conftest.err conftest.$ac_objext \
16716 conftest$ac_exeext conftest.$ac_ext
16718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16719 $as_echo "$ac_cv_have_timezone" >&6; }
16720 if test "$ac_cv_have_timezone" = "yes"
16721 then
16723 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16727 $as_echo_n "checking for daylight variable... " >&6; }
16728 if ${ac_cv_have_daylight+:} false; then :
16729 $as_echo_n "(cached) " >&6
16730 else
16731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16732 /* end confdefs.h. */
16733 #include <time.h>
16735 main ()
16737 daylight = 1
16739 return 0;
16741 _ACEOF
16742 if ac_fn_c_try_link "$LINENO"; then :
16743 ac_cv_have_daylight="yes"
16744 else
16745 ac_cv_have_daylight="no"
16747 rm -f core conftest.err conftest.$ac_objext \
16748 conftest$ac_exeext conftest.$ac_ext
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16751 $as_echo "$ac_cv_have_daylight" >&6; }
16752 if test "$ac_cv_have_daylight" = "yes"
16753 then
16755 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16759 ac_save_LIBS="$LIBS"
16760 LIBS="$LIBS -lm"
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16762 $as_echo_n "checking for isfinite... " >&6; }
16763 if ${ac_cv_have_isfinite+:} false; then :
16764 $as_echo_n "(cached) " >&6
16765 else
16766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16767 /* end confdefs.h. */
16768 #define _GNU_SOURCE
16769 #include <math.h>
16771 main ()
16773 float f = 0.0; return isfinite(f)
16775 return 0;
16777 _ACEOF
16778 if ac_fn_c_try_link "$LINENO"; then :
16779 ac_cv_have_isfinite="yes"
16780 else
16781 ac_cv_have_isfinite="no"
16783 rm -f core conftest.err conftest.$ac_objext \
16784 conftest$ac_exeext conftest.$ac_ext
16786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16787 $as_echo "$ac_cv_have_isfinite" >&6; }
16788 if test "$ac_cv_have_isfinite" = "yes"
16789 then
16791 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16796 $as_echo_n "checking for isinf... " >&6; }
16797 if ${ac_cv_have_isinf+:} false; then :
16798 $as_echo_n "(cached) " >&6
16799 else
16800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16801 /* end confdefs.h. */
16802 #include <math.h>
16804 main ()
16806 float f = 0.0; return isinf(f)
16808 return 0;
16810 _ACEOF
16811 if ac_fn_c_try_link "$LINENO"; then :
16812 ac_cv_have_isinf="yes"
16813 else
16814 ac_cv_have_isinf="no"
16816 rm -f core conftest.err conftest.$ac_objext \
16817 conftest$ac_exeext conftest.$ac_ext
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16820 $as_echo "$ac_cv_have_isinf" >&6; }
16821 if test "$ac_cv_have_isinf" = "yes"
16822 then
16824 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16829 $as_echo_n "checking for isnan... " >&6; }
16830 if ${ac_cv_have_isnan+:} false; then :
16831 $as_echo_n "(cached) " >&6
16832 else
16833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16834 /* end confdefs.h. */
16835 #include <math.h>
16837 main ()
16839 float f = 0.0; return isnan(f)
16841 return 0;
16843 _ACEOF
16844 if ac_fn_c_try_link "$LINENO"; then :
16845 ac_cv_have_isnan="yes"
16846 else
16847 ac_cv_have_isnan="no"
16849 rm -f core conftest.err conftest.$ac_objext \
16850 conftest$ac_exeext conftest.$ac_ext
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16853 $as_echo "$ac_cv_have_isnan" >&6; }
16854 if test "$ac_cv_have_isnan" = "yes"
16855 then
16857 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16861 for ac_func in \
16862 cbrt \
16863 cbrtf \
16864 erf \
16865 erff \
16866 exp2 \
16867 exp2f \
16868 llrint \
16869 llrintf \
16870 llround \
16871 llroundf \
16872 log2 \
16873 log2f \
16874 lrint \
16875 lrintf \
16876 lround \
16877 lroundf \
16878 rint \
16879 rintf \
16880 round \
16881 roundf \
16882 trunc \
16883 truncf
16885 do :
16886 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16887 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16888 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16889 cat >>confdefs.h <<_ACEOF
16890 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16891 _ACEOF
16894 done
16896 LIBS="$ac_save_LIBS"
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16899 $as_echo_n "checking for __builtin_clz... " >&6; }
16900 if ${ac_cv_have___builtin_clz+:} false; then :
16901 $as_echo_n "(cached) " >&6
16902 else
16903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16904 /* end confdefs.h. */
16907 main ()
16909 return __builtin_clz(1)
16911 return 0;
16913 _ACEOF
16914 if ac_fn_c_try_link "$LINENO"; then :
16915 ac_cv_have___builtin_clz="yes"
16916 else
16917 ac_cv_have___builtin_clz="no"
16919 rm -f core conftest.err conftest.$ac_objext \
16920 conftest$ac_exeext conftest.$ac_ext
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16923 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16924 if test "$ac_cv_have___builtin_clz" = "yes"
16925 then
16927 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16932 case $host_cpu in
16933 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16934 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16935 if ${ac_cv_cpp_def___i386__+:} false; then :
16936 $as_echo_n "(cached) " >&6
16937 else
16938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16939 /* end confdefs.h. */
16940 #ifndef __i386__
16942 #endif
16943 _ACEOF
16944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16945 $EGREP "yes" >/dev/null 2>&1; then :
16946 ac_cv_cpp_def___i386__=yes
16947 else
16948 ac_cv_cpp_def___i386__=no
16950 rm -f conftest*
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16954 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16955 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16956 CFLAGS="$CFLAGS -D__i386__"
16957 LINTFLAGS="$LINTFLAGS -D__i386__"
16958 fi ;;
16959 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16960 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16961 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16962 $as_echo_n "(cached) " >&6
16963 else
16964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16965 /* end confdefs.h. */
16966 #ifndef __x86_64__
16968 #endif
16969 _ACEOF
16970 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16971 $EGREP "yes" >/dev/null 2>&1; then :
16972 ac_cv_cpp_def___x86_64__=yes
16973 else
16974 ac_cv_cpp_def___x86_64__=no
16976 rm -f conftest*
16979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16980 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16981 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16982 CFLAGS="$CFLAGS -D__x86_64__"
16983 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16984 fi ;;
16985 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16986 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16987 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16988 $as_echo_n "(cached) " >&6
16989 else
16990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16991 /* end confdefs.h. */
16992 #ifndef __sparc64__
16994 #endif
16995 _ACEOF
16996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16997 $EGREP "yes" >/dev/null 2>&1; then :
16998 ac_cv_cpp_def___sparc64__=yes
16999 else
17000 ac_cv_cpp_def___sparc64__=no
17002 rm -f conftest*
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17006 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17007 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17008 CFLAGS="$CFLAGS -D__sparc64__"
17009 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17010 fi ;;
17011 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17012 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17013 if ${ac_cv_cpp_def___sparc__+:} false; then :
17014 $as_echo_n "(cached) " >&6
17015 else
17016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17017 /* end confdefs.h. */
17018 #ifndef __sparc__
17020 #endif
17021 _ACEOF
17022 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17023 $EGREP "yes" >/dev/null 2>&1; then :
17024 ac_cv_cpp_def___sparc__=yes
17025 else
17026 ac_cv_cpp_def___sparc__=no
17028 rm -f conftest*
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17032 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17033 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17034 CFLAGS="$CFLAGS -D__sparc__"
17035 LINTFLAGS="$LINTFLAGS -D__sparc__"
17036 fi ;;
17037 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17038 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17039 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17040 $as_echo_n "(cached) " >&6
17041 else
17042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17043 /* end confdefs.h. */
17044 #ifndef __powerpc64__
17046 #endif
17047 _ACEOF
17048 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17049 $EGREP "yes" >/dev/null 2>&1; then :
17050 ac_cv_cpp_def___powerpc64__=yes
17051 else
17052 ac_cv_cpp_def___powerpc64__=no
17054 rm -f conftest*
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17058 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17059 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17060 CFLAGS="$CFLAGS -D__powerpc64__"
17061 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17062 fi ;;
17063 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17064 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17065 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17066 $as_echo_n "(cached) " >&6
17067 else
17068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17069 /* end confdefs.h. */
17070 #ifndef __powerpc__
17072 #endif
17073 _ACEOF
17074 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17075 $EGREP "yes" >/dev/null 2>&1; then :
17076 ac_cv_cpp_def___powerpc__=yes
17077 else
17078 ac_cv_cpp_def___powerpc__=no
17080 rm -f conftest*
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17084 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17085 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17086 CFLAGS="$CFLAGS -D__powerpc__"
17087 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17088 fi ;;
17089 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17090 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17091 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17092 $as_echo_n "(cached) " >&6
17093 else
17094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17095 /* end confdefs.h. */
17096 #ifndef __aarch64__
17098 #endif
17099 _ACEOF
17100 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17101 $EGREP "yes" >/dev/null 2>&1; then :
17102 ac_cv_cpp_def___aarch64__=yes
17103 else
17104 ac_cv_cpp_def___aarch64__=no
17106 rm -f conftest*
17109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17110 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17111 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17112 CFLAGS="$CFLAGS -D__aarch64__"
17113 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17114 fi ;;
17115 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17116 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17117 if ${ac_cv_cpp_def___arm__+:} false; then :
17118 $as_echo_n "(cached) " >&6
17119 else
17120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17121 /* end confdefs.h. */
17122 #ifndef __arm__
17124 #endif
17125 _ACEOF
17126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17127 $EGREP "yes" >/dev/null 2>&1; then :
17128 ac_cv_cpp_def___arm__=yes
17129 else
17130 ac_cv_cpp_def___arm__=no
17132 rm -f conftest*
17135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17136 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17137 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17138 CFLAGS="$CFLAGS -D__arm__"
17139 LINTFLAGS="$LINTFLAGS -D__arm__"
17140 fi ;;
17141 esac
17143 case $host_vendor in
17144 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17145 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17146 if ${ac_cv_cpp_def___sun__+:} false; then :
17147 $as_echo_n "(cached) " >&6
17148 else
17149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17150 /* end confdefs.h. */
17151 #ifndef __sun__
17153 #endif
17154 _ACEOF
17155 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17156 $EGREP "yes" >/dev/null 2>&1; then :
17157 ac_cv_cpp_def___sun__=yes
17158 else
17159 ac_cv_cpp_def___sun__=no
17161 rm -f conftest*
17164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17165 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17166 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17167 CFLAGS="$CFLAGS -D__sun__"
17168 LINTFLAGS="$LINTFLAGS -D__sun__"
17169 fi ;;
17170 esac
17176 ac_config_commands="$ac_config_commands include/stamp-h"
17178 $as_echo_n "creating Makefile rules..." >&6
17180 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17181 SOCKET_LIBS = $SOCKET_LIBS
17182 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17183 IOKIT_LIBS = $IOKIT_LIBS
17184 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17185 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17186 CORESERVICES_LIBS = $CORESERVICES_LIBS
17187 APPKIT_LIBS = $APPKIT_LIBS
17188 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17189 SECURITY_LIBS = $SECURITY_LIBS
17190 COREAUDIO_LIBS = $COREAUDIO_LIBS
17191 OPENAL_LIBS = $OPENAL_LIBS
17192 OPENCL_LIBS = $OPENCL_LIBS
17193 QUICKTIME_LIBS = $QUICKTIME_LIBS
17194 CARBON_LIBS = $CARBON_LIBS
17195 PTHREAD_LIBS = $PTHREAD_LIBS
17196 X_CFLAGS = $X_CFLAGS
17197 X_PRE_LIBS = $X_PRE_LIBS
17198 X_LIBS = $X_LIBS
17199 X_EXTRA_LIBS = $X_EXTRA_LIBS
17200 PCAP_LIBS = $PCAP_LIBS
17201 XML2_CFLAGS = $XML2_CFLAGS
17202 XML2_LIBS = $XML2_LIBS
17203 XSLT_CFLAGS = $XSLT_CFLAGS
17204 XSLT_LIBS = $XSLT_LIBS
17205 DBUS_CFLAGS = $DBUS_CFLAGS
17206 DBUS_LIBS = $DBUS_LIBS
17207 HAL_CFLAGS = $HAL_CFLAGS
17208 HAL_LIBS = $HAL_LIBS
17209 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17210 GNUTLS_LIBS = $GNUTLS_LIBS
17211 SANE_CFLAGS = $SANE_CFLAGS
17212 SANE_LIBS = $SANE_LIBS
17213 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17214 GPHOTO2_LIBS = $GPHOTO2_LIBS
17215 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17216 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17217 RESOLV_LIBS = $RESOLV_LIBS
17218 LCMS2_CFLAGS = $LCMS2_CFLAGS
17219 LCMS2_LIBS = $LCMS2_LIBS
17220 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17221 FREETYPE_LIBS = $FREETYPE_LIBS
17222 Z_LIBS = $Z_LIBS
17223 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17224 PULSE_CFLAGS = $PULSE_CFLAGS
17225 PULSE_LIBS = $PULSE_LIBS
17226 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17227 GSTREAMER_LIBS = $GSTREAMER_LIBS
17228 ALSA_LIBS = $ALSA_LIBS
17229 OSS4_CFLAGS = $OSS4_CFLAGS
17230 CAPI20_CFLAGS = $CAPI20_CFLAGS
17231 CAPI20_LIBS = $CAPI20_LIBS
17232 CUPS_CFLAGS = $CUPS_CFLAGS
17233 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17234 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17235 JPEG_CFLAGS = $JPEG_CFLAGS
17236 JPEG_LIBS = $JPEG_LIBS
17237 PNG_CFLAGS = $PNG_CFLAGS
17238 PNG_LIBS = $PNG_LIBS
17239 TIFF_CFLAGS = $TIFF_CFLAGS
17240 TIFF_LIBS = $TIFF_LIBS
17241 MPG123_CFLAGS = $MPG123_CFLAGS
17242 MPG123_LIBS = $MPG123_LIBS
17243 KSTAT_LIBS = $KSTAT_LIBS
17244 PROCSTAT_LIBS = $PROCSTAT_LIBS
17245 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17246 DL_LIBS = $DL_LIBS
17247 POLL_LIBS = $POLL_LIBS
17248 RT_LIBS = $RT_LIBS
17249 LDAP_LIBS = $LDAP_LIBS
17254 wine_fn_append_rule "
17255 # Rules automatically generated by configure
17257 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17259 .INIT: Makefile
17260 .MAKEFILEDEPS:
17261 all: Makefile
17262 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17263 @./config.status Make.tmp Makefile"
17265 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
17266 .gitignore: config.status
17267 @./config.status .gitignore"
17269 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17270 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17272 if test "x$enable_fonts" != xno; then
17273 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17274 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17275 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17276 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17277 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17278 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17280 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17281 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17282 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17283 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17284 ac_config_links="$ac_config_links wine:tools/winewrapper"
17285 wine_fn_config_symlink wine
17286 if test "x$enable_win64" != xno; then
17287 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17288 wine_fn_config_symlink wine64
17291 wine_fn_config_dll acledit enable_acledit
17292 wine_fn_config_dll aclui enable_aclui implib
17293 wine_fn_config_dll activeds enable_activeds implib
17294 wine_fn_config_dll actxprxy enable_actxprxy clean
17295 wine_fn_config_lib adsiid
17296 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17297 wine_fn_config_test dlls/advapi32/tests advapi32_test
17298 wine_fn_config_dll advpack enable_advpack implib
17299 wine_fn_config_test dlls/advpack/tests advpack_test
17300 wine_fn_config_dll amstream enable_amstream clean
17301 wine_fn_config_test dlls/amstream/tests amstream_test
17302 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17303 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17304 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17305 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17306 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17307 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17308 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17309 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17310 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17311 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17312 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17313 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17314 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17315 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17316 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17317 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17318 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17319 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17320 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17321 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17322 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17323 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17324 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17325 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17326 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17327 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17328 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17329 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17330 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17331 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17332 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17333 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17334 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17335 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17336 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17337 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17338 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17339 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17340 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17341 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17342 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17343 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17344 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17345 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17346 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17347 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17348 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17349 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17350 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17351 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17352 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17353 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17354 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17355 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17356 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17357 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17358 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17359 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17360 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17361 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17362 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17363 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17364 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17365 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17366 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17367 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17368 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17369 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17370 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17371 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17372 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17373 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17374 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17375 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17376 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17377 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17378 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17379 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17380 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17381 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17382 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17383 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17384 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17385 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17386 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17387 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17388 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17389 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17390 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17391 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17392 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17393 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17394 wine_fn_config_dll apphelp enable_apphelp
17395 wine_fn_config_test dlls/apphelp/tests apphelp_test
17396 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17397 wine_fn_config_dll atl enable_atl clean,implib
17398 wine_fn_config_test dlls/atl/tests atl_test
17399 wine_fn_config_dll atl100 enable_atl100 clean,implib
17400 wine_fn_config_test dlls/atl100/tests atl100_test
17401 wine_fn_config_dll atl110 enable_atl110 clean
17402 wine_fn_config_dll atl80 enable_atl80 clean,implib
17403 wine_fn_config_test dlls/atl80/tests atl80_test
17404 wine_fn_config_dll atl90 enable_atl90 clean
17405 wine_fn_config_dll authz enable_authz
17406 wine_fn_config_dll avicap32 enable_avicap32 implib
17407 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17408 wine_fn_config_test dlls/avifil32/tests avifil32_test
17409 wine_fn_config_dll avifile.dll16 enable_win16
17410 wine_fn_config_dll avrt enable_avrt implib
17411 wine_fn_config_dll bcrypt enable_bcrypt
17412 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17413 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17414 wine_fn_config_dll browseui enable_browseui clean,po
17415 wine_fn_config_test dlls/browseui/tests browseui_test
17416 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17417 wine_fn_config_dll cabinet enable_cabinet implib
17418 wine_fn_config_test dlls/cabinet/tests cabinet_test
17419 wine_fn_config_dll capi2032 enable_capi2032 implib
17420 wine_fn_config_dll cards enable_cards implib
17421 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17422 wine_fn_config_dll clusapi enable_clusapi implib
17423 wine_fn_config_dll combase enable_combase
17424 wine_fn_config_test dlls/combase/tests combase_test
17425 wine_fn_config_dll comcat enable_comcat
17426 wine_fn_config_test dlls/comcat/tests comcat_test
17427 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17428 wine_fn_config_test dlls/comctl32/tests comctl32_test
17429 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17430 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17431 wine_fn_config_dll comm.drv16 enable_win16
17432 wine_fn_config_dll commdlg.dll16 enable_win16
17433 wine_fn_config_dll compobj.dll16 enable_win16
17434 wine_fn_config_dll compstui enable_compstui implib
17435 wine_fn_config_dll comsvcs enable_comsvcs implib
17436 wine_fn_config_dll connect enable_connect
17437 wine_fn_config_dll credui enable_credui implib,po
17438 wine_fn_config_test dlls/credui/tests credui_test
17439 wine_fn_config_dll crtdll enable_crtdll implib
17440 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17441 wine_fn_config_test dlls/crypt32/tests crypt32_test
17442 wine_fn_config_dll cryptdlg enable_cryptdlg po
17443 wine_fn_config_dll cryptdll enable_cryptdll implib
17444 wine_fn_config_dll cryptext enable_cryptext
17445 wine_fn_config_dll cryptnet enable_cryptnet implib
17446 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17447 wine_fn_config_dll cryptui enable_cryptui implib,po
17448 wine_fn_config_test dlls/cryptui/tests cryptui_test
17449 wine_fn_config_dll ctapi32 enable_ctapi32
17450 wine_fn_config_dll ctl3d.dll16 enable_win16
17451 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17452 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17453 wine_fn_config_dll d2d1 enable_d2d1 implib
17454 wine_fn_config_test dlls/d2d1/tests d2d1_test
17455 wine_fn_config_dll d3d10 enable_d3d10 implib
17456 wine_fn_config_test dlls/d3d10/tests d3d10_test
17457 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17458 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17459 wine_fn_config_dll d3d10core enable_d3d10core implib
17460 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17461 wine_fn_config_dll d3d11 enable_d3d11 implib
17462 wine_fn_config_test dlls/d3d11/tests d3d11_test
17463 wine_fn_config_dll d3d8 enable_d3d8 implib
17464 wine_fn_config_test dlls/d3d8/tests d3d8_test
17465 wine_fn_config_dll d3d9 enable_d3d9 implib
17466 wine_fn_config_test dlls/d3d9/tests d3d9_test
17467 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17468 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17469 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17470 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17471 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17472 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17473 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17474 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17475 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17476 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17477 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17478 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17479 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17480 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17481 wine_fn_config_dll d3dim enable_d3dim implib
17482 wine_fn_config_dll d3drm enable_d3drm implib
17483 wine_fn_config_test dlls/d3drm/tests d3drm_test
17484 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17485 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17486 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17487 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17488 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17489 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17490 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17491 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17492 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17493 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17494 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17495 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17496 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17497 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17498 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17499 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17500 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17501 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17502 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17503 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17504 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17505 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17506 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17507 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17508 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17509 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17510 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17511 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17512 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17513 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17514 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17515 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17516 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17517 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17518 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17519 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17520 wine_fn_config_dll davclnt enable_davclnt
17521 wine_fn_config_dll dbgeng enable_dbgeng implib
17522 wine_fn_config_dll dbghelp enable_dbghelp implib
17523 wine_fn_config_dll dciman32 enable_dciman32 implib
17524 wine_fn_config_dll ddeml.dll16 enable_win16
17525 wine_fn_config_dll ddraw enable_ddraw clean,implib
17526 wine_fn_config_test dlls/ddraw/tests ddraw_test
17527 wine_fn_config_dll ddrawex enable_ddrawex clean
17528 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17529 wine_fn_config_dll devenum enable_devenum clean,po
17530 wine_fn_config_test dlls/devenum/tests devenum_test
17531 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17532 wine_fn_config_dll difxapi enable_difxapi
17533 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17534 wine_fn_config_test dlls/dinput/tests dinput_test
17535 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17536 wine_fn_config_test dlls/dinput8/tests dinput8_test
17537 wine_fn_config_dll dispdib.dll16 enable_win16
17538 wine_fn_config_dll dispex enable_dispex clean
17539 wine_fn_config_test dlls/dispex/tests dispex_test
17540 wine_fn_config_dll display.drv16 enable_win16
17541 wine_fn_config_dll dmband enable_dmband clean
17542 wine_fn_config_test dlls/dmband/tests dmband_test
17543 wine_fn_config_dll dmcompos enable_dmcompos clean
17544 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17545 wine_fn_config_dll dmime enable_dmime clean
17546 wine_fn_config_test dlls/dmime/tests dmime_test
17547 wine_fn_config_dll dmloader enable_dmloader clean
17548 wine_fn_config_test dlls/dmloader/tests dmloader_test
17549 wine_fn_config_dll dmscript enable_dmscript clean
17550 wine_fn_config_test dlls/dmscript/tests dmscript_test
17551 wine_fn_config_dll dmstyle enable_dmstyle clean
17552 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17553 wine_fn_config_dll dmsynth enable_dmsynth clean
17554 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17555 wine_fn_config_dll dmusic enable_dmusic clean
17556 wine_fn_config_test dlls/dmusic/tests dmusic_test
17557 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17558 wine_fn_config_dll dnsapi enable_dnsapi implib
17559 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17560 wine_fn_config_dll dplay enable_dplay implib
17561 wine_fn_config_dll dplayx enable_dplayx clean,implib
17562 wine_fn_config_test dlls/dplayx/tests dplayx_test
17563 wine_fn_config_dll dpnaddr enable_dpnaddr
17564 wine_fn_config_dll dpnet enable_dpnet clean,implib
17565 wine_fn_config_test dlls/dpnet/tests dpnet_test
17566 wine_fn_config_dll dpnhpast enable_dpnhpast
17567 wine_fn_config_dll dpnlobby enable_dpnlobby
17568 wine_fn_config_dll dpvoice enable_dpvoice clean
17569 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17570 wine_fn_config_dll dpwsockx enable_dpwsockx
17571 wine_fn_config_dll drmclien enable_drmclien
17572 wine_fn_config_dll dsound enable_dsound clean,implib
17573 wine_fn_config_test dlls/dsound/tests dsound_test
17574 wine_fn_config_dll dssenh enable_dssenh
17575 wine_fn_config_test dlls/dssenh/tests dssenh_test
17576 wine_fn_config_dll dswave enable_dswave clean
17577 wine_fn_config_test dlls/dswave/tests dswave_test
17578 wine_fn_config_dll dwmapi enable_dwmapi implib
17579 wine_fn_config_dll dwrite enable_dwrite implib
17580 wine_fn_config_test dlls/dwrite/tests dwrite_test
17581 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17582 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17583 wine_fn_config_lib dxerr8
17584 wine_fn_config_lib dxerr9
17585 wine_fn_config_dll dxgi enable_dxgi implib
17586 wine_fn_config_test dlls/dxgi/tests dxgi_test
17587 wine_fn_config_lib dxguid
17588 wine_fn_config_dll dxva2 enable_dxva2
17589 wine_fn_config_dll esent enable_esent
17590 wine_fn_config_dll evr enable_evr
17591 wine_fn_config_dll explorerframe enable_explorerframe clean
17592 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17593 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17594 wine_fn_config_dll faultrep enable_faultrep implib
17595 wine_fn_config_test dlls/faultrep/tests faultrep_test
17596 wine_fn_config_dll fltlib enable_fltlib
17597 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17598 wine_fn_config_dll fntcache enable_fntcache
17599 wine_fn_config_dll fontsub enable_fontsub
17600 wine_fn_config_dll fusion enable_fusion
17601 wine_fn_config_test dlls/fusion/tests fusion_test
17602 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17603 wine_fn_config_dll gameux enable_gameux clean
17604 wine_fn_config_test dlls/gameux/tests gameux_test
17605 wine_fn_config_dll gdi.exe16 enable_win16
17606 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17607 wine_fn_config_test dlls/gdi32/tests gdi32_test
17608 wine_fn_config_dll gdiplus enable_gdiplus implib
17609 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17610 wine_fn_config_dll glu32 enable_glu32 implib
17611 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17612 wine_fn_config_dll gpkcsp enable_gpkcsp
17613 wine_fn_config_dll hal enable_hal
17614 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17615 wine_fn_config_dll hid enable_hid implib
17616 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17617 wine_fn_config_dll hlink enable_hlink clean,implib
17618 wine_fn_config_test dlls/hlink/tests hlink_test
17619 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17620 wine_fn_config_dll httpapi enable_httpapi
17621 wine_fn_config_dll iccvid enable_iccvid po
17622 wine_fn_config_dll icmp enable_icmp
17623 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17624 wine_fn_config_test dlls/ieframe/tests ieframe_test
17625 wine_fn_config_dll ifsmgr.vxd enable_win16
17626 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17627 wine_fn_config_dll imagehlp enable_imagehlp implib
17628 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17629 wine_fn_config_dll imm.dll16 enable_win16
17630 wine_fn_config_dll imm32 enable_imm32 implib
17631 wine_fn_config_test dlls/imm32/tests imm32_test
17632 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17633 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17634 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17635 wine_fn_config_dll inetmib1 enable_inetmib1
17636 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17637 wine_fn_config_dll infosoft enable_infosoft clean
17638 wine_fn_config_test dlls/infosoft/tests infosoft_test
17639 wine_fn_config_dll initpki enable_initpki
17640 wine_fn_config_dll inkobj enable_inkobj
17641 wine_fn_config_dll inseng enable_inseng clean
17642 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17643 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17644 wine_fn_config_dll itircl enable_itircl
17645 wine_fn_config_dll itss enable_itss clean
17646 wine_fn_config_test dlls/itss/tests itss_test
17647 wine_fn_config_dll joy.cpl enable_joy_cpl po
17648 wine_fn_config_dll jscript enable_jscript clean,po
17649 wine_fn_config_test dlls/jscript/tests jscript_test
17650 wine_fn_config_dll jsproxy enable_jsproxy implib
17651 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17652 wine_fn_config_test dlls/kernel32/tests kernel32_test
17653 wine_fn_config_dll keyboard.drv16 enable_win16
17654 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17655 wine_fn_config_dll ksuser enable_ksuser
17656 wine_fn_config_dll ktmw32 enable_ktmw32
17657 wine_fn_config_dll loadperf enable_loadperf implib
17658 wine_fn_config_dll localspl enable_localspl po
17659 wine_fn_config_test dlls/localspl/tests localspl_test
17660 wine_fn_config_dll localui enable_localui po
17661 wine_fn_config_test dlls/localui/tests localui_test
17662 wine_fn_config_dll lz32 enable_lz32 implib
17663 wine_fn_config_test dlls/lz32/tests lz32_test
17664 wine_fn_config_dll lzexpand.dll16 enable_win16
17665 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17666 wine_fn_config_test dlls/mapi32/tests mapi32_test
17667 wine_fn_config_dll mapistub enable_mapistub
17668 wine_fn_config_dll mciavi32 enable_mciavi32
17669 wine_fn_config_dll mcicda enable_mcicda
17670 wine_fn_config_dll mciqtz32 enable_mciqtz32
17671 wine_fn_config_dll mciseq enable_mciseq
17672 wine_fn_config_dll mciwave enable_mciwave
17673 wine_fn_config_dll mf enable_mf
17674 wine_fn_config_dll mfplat enable_mfplat
17675 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17676 wine_fn_config_dll mgmtapi enable_mgmtapi
17677 wine_fn_config_dll midimap enable_midimap
17678 wine_fn_config_dll mlang enable_mlang clean,implib
17679 wine_fn_config_test dlls/mlang/tests mlang_test
17680 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17681 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17682 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17683 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17684 wine_fn_config_dll mmdevldr.vxd enable_win16
17685 wine_fn_config_dll mmsystem.dll16 enable_win16
17686 wine_fn_config_dll monodebg.vxd enable_win16
17687 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17688 wine_fn_config_dll mouse.drv16 enable_win16
17689 wine_fn_config_dll mpr enable_mpr implib,po
17690 wine_fn_config_test dlls/mpr/tests mpr_test
17691 wine_fn_config_dll mprapi enable_mprapi implib
17692 wine_fn_config_dll msacm.dll16 enable_win16
17693 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17694 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17695 wine_fn_config_test dlls/msacm32/tests msacm32_test
17696 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17697 wine_fn_config_dll msasn1 enable_msasn1 implib
17698 wine_fn_config_dll mscat32 enable_mscat32
17699 wine_fn_config_dll mscms enable_mscms implib
17700 wine_fn_config_test dlls/mscms/tests mscms_test
17701 wine_fn_config_dll mscoree enable_mscoree clean
17702 wine_fn_config_test dlls/mscoree/tests mscoree_test
17703 wine_fn_config_dll msctf enable_msctf clean
17704 wine_fn_config_test dlls/msctf/tests msctf_test
17705 wine_fn_config_dll msctfp enable_msctfp clean
17706 wine_fn_config_dll msdaps enable_msdaps clean
17707 wine_fn_config_dll msdelta enable_msdelta
17708 wine_fn_config_dll msdmo enable_msdmo implib
17709 wine_fn_config_test dlls/msdmo/tests msdmo_test
17710 wine_fn_config_dll msftedit enable_msftedit
17711 wine_fn_config_dll msg711.acm enable_msg711_acm
17712 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17713 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17714 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17715 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17716 wine_fn_config_dll msi enable_msi clean,implib,po
17717 wine_fn_config_test dlls/msi/tests msi_test
17718 wine_fn_config_dll msident enable_msident clean
17719 wine_fn_config_dll msimg32 enable_msimg32 implib
17720 wine_fn_config_dll msimsg enable_msimsg
17721 wine_fn_config_dll msimtf enable_msimtf clean
17722 wine_fn_config_dll msisip enable_msisip
17723 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17724 wine_fn_config_dll msls31 enable_msls31
17725 wine_fn_config_dll msnet32 enable_msnet32
17726 wine_fn_config_dll mspatcha enable_mspatcha implib
17727 wine_fn_config_dll msrle32 enable_msrle32 po
17728 wine_fn_config_test dlls/msrle32/tests msrle32_test
17729 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17730 wine_fn_config_dll mssign32 enable_mssign32
17731 wine_fn_config_dll mssip32 enable_mssip32
17732 wine_fn_config_dll mstask enable_mstask clean
17733 wine_fn_config_test dlls/mstask/tests mstask_test
17734 wine_fn_config_dll msvcirt enable_msvcirt
17735 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17736 wine_fn_config_dll msvcm80 enable_msvcm80
17737 wine_fn_config_dll msvcm90 enable_msvcm90
17738 wine_fn_config_dll msvcp100 enable_msvcp100
17739 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17740 wine_fn_config_dll msvcp110 enable_msvcp110
17741 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17742 wine_fn_config_dll msvcp120 enable_msvcp120
17743 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17744 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17745 wine_fn_config_dll msvcp60 enable_msvcp60
17746 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17747 wine_fn_config_dll msvcp70 enable_msvcp70
17748 wine_fn_config_dll msvcp71 enable_msvcp71
17749 wine_fn_config_dll msvcp80 enable_msvcp80
17750 wine_fn_config_dll msvcp90 enable_msvcp90
17751 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17752 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17753 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17754 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17755 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17756 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17757 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17758 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17759 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17760 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17761 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17762 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17763 wine_fn_config_dll msvcrt enable_msvcrt implib
17764 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17765 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17766 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17767 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17768 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17769 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17770 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17771 wine_fn_config_dll msvidc32 enable_msvidc32 po
17772 wine_fn_config_dll msvideo.dll16 enable_win16
17773 wine_fn_config_dll mswsock enable_mswsock implib
17774 wine_fn_config_dll msxml enable_msxml clean
17775 wine_fn_config_dll msxml2 enable_msxml2 clean
17776 wine_fn_config_dll msxml3 enable_msxml3 clean
17777 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17778 wine_fn_config_dll msxml4 enable_msxml4 clean
17779 wine_fn_config_dll msxml6 enable_msxml6 clean
17780 wine_fn_config_dll nddeapi enable_nddeapi implib
17781 wine_fn_config_dll ndis.sys enable_ndis_sys
17782 wine_fn_config_dll netapi32 enable_netapi32 implib
17783 wine_fn_config_test dlls/netapi32/tests netapi32_test
17784 wine_fn_config_dll netcfgx enable_netcfgx clean
17785 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17786 wine_fn_config_dll netprofm enable_netprofm clean
17787 wine_fn_config_test dlls/netprofm/tests netprofm_test
17788 wine_fn_config_dll newdev enable_newdev implib
17789 wine_fn_config_dll normaliz enable_normaliz implib
17790 wine_fn_config_dll npmshtml enable_npmshtml
17791 wine_fn_config_dll npptools enable_npptools
17792 wine_fn_config_dll ntdll enable_ntdll implib
17793 wine_fn_config_test dlls/ntdll/tests ntdll_test
17794 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17795 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17796 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17797 wine_fn_config_dll ntprint enable_ntprint
17798 wine_fn_config_test dlls/ntprint/tests ntprint_test
17799 wine_fn_config_dll objsel enable_objsel clean
17800 wine_fn_config_dll odbc32 enable_odbc32 implib
17801 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17802 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17803 wine_fn_config_dll odbccu32 enable_odbccu32
17804 wine_fn_config_dll ole2.dll16 enable_win16
17805 wine_fn_config_dll ole2conv.dll16 enable_win16
17806 wine_fn_config_dll ole2disp.dll16 enable_win16
17807 wine_fn_config_dll ole2nls.dll16 enable_win16
17808 wine_fn_config_dll ole2prox.dll16 enable_win16
17809 wine_fn_config_dll ole2thk.dll16 enable_win16
17810 wine_fn_config_dll ole32 enable_ole32 clean,implib
17811 wine_fn_config_test dlls/ole32/tests ole32_test
17812 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17813 wine_fn_config_test dlls/oleacc/tests oleacc_test
17814 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17815 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17816 wine_fn_config_dll olecli.dll16 enable_win16
17817 wine_fn_config_dll olecli32 enable_olecli32 implib
17818 wine_fn_config_dll oledb32 enable_oledb32 clean
17819 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17820 wine_fn_config_dll oledlg enable_oledlg implib,po
17821 wine_fn_config_test dlls/oledlg/tests oledlg_test
17822 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17823 wine_fn_config_dll olesvr.dll16 enable_win16
17824 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17825 wine_fn_config_dll olethk32 enable_olethk32
17826 wine_fn_config_dll openal32 enable_openal32
17827 wine_fn_config_dll opencl enable_opencl
17828 wine_fn_config_dll opengl32 enable_opengl32 implib
17829 wine_fn_config_test dlls/opengl32/tests opengl32_test
17830 wine_fn_config_dll packager enable_packager clean
17831 wine_fn_config_test dlls/packager/tests packager_test
17832 wine_fn_config_dll pdh enable_pdh implib
17833 wine_fn_config_test dlls/pdh/tests pdh_test
17834 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17835 wine_fn_config_dll pidgen enable_pidgen
17836 wine_fn_config_dll powrprof enable_powrprof implib
17837 wine_fn_config_dll printui enable_printui
17838 wine_fn_config_dll prntvpt enable_prntvpt
17839 wine_fn_config_dll propsys enable_propsys clean,implib
17840 wine_fn_config_test dlls/propsys/tests propsys_test
17841 wine_fn_config_dll psapi enable_psapi implib
17842 wine_fn_config_test dlls/psapi/tests psapi_test
17843 wine_fn_config_dll pstorec enable_pstorec clean
17844 wine_fn_config_dll qcap enable_qcap
17845 wine_fn_config_test dlls/qcap/tests qcap_test
17846 wine_fn_config_dll qedit enable_qedit clean
17847 wine_fn_config_test dlls/qedit/tests qedit_test
17848 wine_fn_config_dll qmgr enable_qmgr clean
17849 wine_fn_config_test dlls/qmgr/tests qmgr_test
17850 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17851 wine_fn_config_dll quartz enable_quartz clean,implib
17852 wine_fn_config_test dlls/quartz/tests quartz_test clean
17853 wine_fn_config_dll query enable_query
17854 wine_fn_config_dll rasapi16.dll16 enable_win16
17855 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17856 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17857 wine_fn_config_dll rasdlg enable_rasdlg implib
17858 wine_fn_config_dll regapi enable_regapi
17859 wine_fn_config_dll resutils enable_resutils implib
17860 wine_fn_config_dll riched20 enable_riched20 clean,implib
17861 wine_fn_config_test dlls/riched20/tests riched20_test
17862 wine_fn_config_dll riched32 enable_riched32
17863 wine_fn_config_test dlls/riched32/tests riched32_test
17864 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17865 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17866 wine_fn_config_dll rsabase enable_rsabase
17867 wine_fn_config_dll rsaenh enable_rsaenh implib
17868 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17869 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17870 wine_fn_config_dll rtutils enable_rtutils implib
17871 wine_fn_config_dll samlib enable_samlib
17872 wine_fn_config_dll sane.ds enable_sane_ds po
17873 wine_fn_config_dll scarddlg enable_scarddlg
17874 wine_fn_config_dll sccbase enable_sccbase
17875 wine_fn_config_dll schannel enable_schannel
17876 wine_fn_config_test dlls/schannel/tests schannel_test
17877 wine_fn_config_dll schedsvc enable_schedsvc clean
17878 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17879 wine_fn_config_dll scrrun enable_scrrun clean
17880 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17881 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17882 wine_fn_config_dll secur32 enable_secur32 implib
17883 wine_fn_config_test dlls/secur32/tests secur32_test
17884 wine_fn_config_dll security enable_security
17885 wine_fn_config_dll sensapi enable_sensapi implib
17886 wine_fn_config_dll serialui enable_serialui implib,po
17887 wine_fn_config_test dlls/serialui/tests serialui_test
17888 wine_fn_config_dll setupapi enable_setupapi implib,po
17889 wine_fn_config_test dlls/setupapi/tests setupapi_test
17890 wine_fn_config_dll setupx.dll16 enable_win16
17891 wine_fn_config_dll sfc enable_sfc implib
17892 wine_fn_config_dll sfc_os enable_sfc_os implib
17893 wine_fn_config_dll shdoclc enable_shdoclc po
17894 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17895 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17896 wine_fn_config_dll shell.dll16 enable_win16
17897 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17898 wine_fn_config_test dlls/shell32/tests shell32_test
17899 wine_fn_config_dll shfolder enable_shfolder implib
17900 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17901 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17902 wine_fn_config_dll slbcsp enable_slbcsp
17903 wine_fn_config_dll slc enable_slc implib
17904 wine_fn_config_test dlls/slc/tests slc_test
17905 wine_fn_config_dll snmpapi enable_snmpapi implib
17906 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17907 wine_fn_config_dll softpub enable_softpub
17908 wine_fn_config_dll sound.drv16 enable_win16
17909 wine_fn_config_dll spoolss enable_spoolss implib
17910 wine_fn_config_test dlls/spoolss/tests spoolss_test
17911 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17912 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17913 wine_fn_config_dll sti enable_sti clean,implib
17914 wine_fn_config_test dlls/sti/tests sti_test
17915 wine_fn_config_dll storage.dll16 enable_win16
17916 wine_fn_config_dll stress.dll16 enable_win16
17917 wine_fn_config_lib strmbase
17918 wine_fn_config_lib strmiids
17919 wine_fn_config_dll svrapi enable_svrapi
17920 wine_fn_config_dll sxs enable_sxs implib
17921 wine_fn_config_test dlls/sxs/tests sxs_test
17922 wine_fn_config_dll system.drv16 enable_win16
17923 wine_fn_config_dll t2embed enable_t2embed implib
17924 wine_fn_config_test dlls/t2embed/tests t2embed_test
17925 wine_fn_config_dll tapi32 enable_tapi32 implib
17926 wine_fn_config_dll taskschd enable_taskschd clean
17927 wine_fn_config_test dlls/taskschd/tests taskschd_test
17928 wine_fn_config_dll toolhelp.dll16 enable_win16
17929 wine_fn_config_dll traffic enable_traffic
17930 wine_fn_config_dll twain.dll16 enable_win16
17931 wine_fn_config_dll twain_32 enable_twain_32
17932 wine_fn_config_test dlls/twain_32/tests twain_32_test
17933 wine_fn_config_dll typelib.dll16 enable_win16
17934 wine_fn_config_dll ucrtbase enable_ucrtbase
17935 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17936 wine_fn_config_dll unicows enable_unicows implib
17937 wine_fn_config_dll updspapi enable_updspapi
17938 wine_fn_config_dll url enable_url implib
17939 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17940 wine_fn_config_test dlls/urlmon/tests urlmon_test
17941 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17942 wine_fn_config_dll user.exe16 enable_win16
17943 wine_fn_config_dll user32 enable_user32 clean,implib,po
17944 wine_fn_config_test dlls/user32/tests user32_test
17945 wine_fn_config_dll userenv enable_userenv implib
17946 wine_fn_config_test dlls/userenv/tests userenv_test
17947 wine_fn_config_dll usp10 enable_usp10 implib
17948 wine_fn_config_test dlls/usp10/tests usp10_test
17949 wine_fn_config_lib uuid
17950 wine_fn_config_dll uxtheme enable_uxtheme implib
17951 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17952 wine_fn_config_dll vbscript enable_vbscript clean
17953 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17954 wine_fn_config_dll vcomp enable_vcomp
17955 wine_fn_config_test dlls/vcomp/tests vcomp_test
17956 wine_fn_config_dll vcomp100 enable_vcomp100
17957 wine_fn_config_dll vcomp110 enable_vcomp110
17958 wine_fn_config_dll vcomp120 enable_vcomp120
17959 wine_fn_config_dll vcomp90 enable_vcomp90
17960 wine_fn_config_dll vcruntime140 enable_vcruntime140
17961 wine_fn_config_dll vdhcp.vxd enable_win16
17962 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17963 wine_fn_config_dll ver.dll16 enable_win16
17964 wine_fn_config_dll version enable_version implib
17965 wine_fn_config_test dlls/version/tests version_test
17966 wine_fn_config_dll vmm.vxd enable_win16
17967 wine_fn_config_dll vnbt.vxd enable_win16
17968 wine_fn_config_dll vnetbios.vxd enable_win16
17969 wine_fn_config_dll vssapi enable_vssapi
17970 wine_fn_config_dll vtdapi.vxd enable_win16
17971 wine_fn_config_dll vwin32.vxd enable_win16
17972 wine_fn_config_dll w32skrnl enable_win16
17973 wine_fn_config_dll w32sys.dll16 enable_win16
17974 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17975 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17976 wine_fn_config_dll wbemprox enable_wbemprox clean
17977 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17978 wine_fn_config_dll webservices enable_webservices implib
17979 wine_fn_config_test dlls/webservices/tests webservices_test
17980 wine_fn_config_dll wer enable_wer implib
17981 wine_fn_config_test dlls/wer/tests wer_test
17982 wine_fn_config_dll wevtapi enable_wevtapi
17983 wine_fn_config_dll wiaservc enable_wiaservc clean
17984 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
17985 wine_fn_config_dll wimgapi enable_wimgapi
17986 wine_fn_config_dll win32s16.dll16 enable_win16
17987 wine_fn_config_dll win87em.dll16 enable_win16
17988 wine_fn_config_dll winaspi.dll16 enable_win16
17989 wine_fn_config_dll windebug.dll16 enable_win16
17990 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17991 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17992 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17993 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17994 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17995 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17996 wine_fn_config_lib winecrt0
17997 wine_fn_config_dll wined3d enable_wined3d implib
17998 wine_fn_config_dll winegstreamer enable_winegstreamer
17999 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18000 wine_fn_config_dll winemac.drv enable_winemac_drv po
18001 wine_fn_config_dll winemapi enable_winemapi
18002 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18003 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18004 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
18005 wine_fn_config_dll wineps16.drv16 enable_win16
18006 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18007 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18008 wine_fn_config_dll winex11.drv enable_winex11_drv
18009 wine_fn_config_dll wing.dll16 enable_win16
18010 wine_fn_config_dll wing32 enable_wing32
18011 wine_fn_config_dll winhttp enable_winhttp clean,implib
18012 wine_fn_config_test dlls/winhttp/tests winhttp_test
18013 wine_fn_config_dll wininet enable_wininet implib,po
18014 wine_fn_config_test dlls/wininet/tests wininet_test
18015 wine_fn_config_dll winmm enable_winmm implib,po
18016 wine_fn_config_test dlls/winmm/tests winmm_test
18017 wine_fn_config_dll winnls.dll16 enable_win16
18018 wine_fn_config_dll winnls32 enable_winnls32 implib
18019 wine_fn_config_dll winscard enable_winscard implib
18020 wine_fn_config_dll winsock.dll16 enable_win16
18021 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
18022 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18023 wine_fn_config_dll winsta enable_winsta
18024 wine_fn_config_dll wintab.dll16 enable_win16
18025 wine_fn_config_dll wintab32 enable_wintab32 implib
18026 wine_fn_config_test dlls/wintab32/tests wintab32_test
18027 wine_fn_config_dll wintrust enable_wintrust implib
18028 wine_fn_config_test dlls/wintrust/tests wintrust_test
18029 wine_fn_config_dll wlanapi enable_wlanapi
18030 wine_fn_config_dll wldap32 enable_wldap32 implib,po
18031 wine_fn_config_test dlls/wldap32/tests wldap32_test
18032 wine_fn_config_dll wmi enable_wmi
18033 wine_fn_config_dll wmiutils enable_wmiutils clean
18034 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18035 wine_fn_config_dll wmp enable_wmp clean
18036 wine_fn_config_test dlls/wmp/tests wmp_test
18037 wine_fn_config_dll wmvcore enable_wmvcore
18038 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18039 wine_fn_config_dll wow32 enable_win16 implib
18040 wine_fn_config_dll wpcap enable_wpcap
18041 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18042 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18043 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18044 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18045 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18046 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18047 wine_fn_config_dll wsock32 enable_wsock32 implib
18048 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18049 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18050 wine_fn_config_dll wuapi enable_wuapi clean
18051 wine_fn_config_dll wuaueng enable_wuaueng
18052 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18053 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18054 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18055 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18056 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18057 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18058 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18059 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18060 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18061 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18062 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18063 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18064 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18065 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18066 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18067 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18068 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18069 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18070 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18071 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18072 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18073 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18074 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean,implib
18075 wine_fn_config_dll xinput1_1 enable_xinput1_1
18076 wine_fn_config_dll xinput1_2 enable_xinput1_2
18077 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18078 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18079 wine_fn_config_dll xinput1_4 enable_xinput1_4
18080 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18081 wine_fn_config_dll xmllite enable_xmllite implib
18082 wine_fn_config_test dlls/xmllite/tests xmllite_test
18083 wine_fn_config_dll xolehlp enable_xolehlp
18084 wine_fn_config_dll xpsprint enable_xpsprint
18085 wine_fn_config_dll xpssvcs enable_xpssvcs
18086 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18087 wine_fn_config_makefile include enable_include clean,install-dev
18088 wine_fn_config_makefile libs/port enable_libs_port
18089 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18090 wine_fn_config_makefile libs/wpp enable_libs_wpp
18091 wine_fn_config_makefile loader enable_loader clean,install-lib
18092 wine_fn_config_program arp enable_arp install
18093 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18094 wine_fn_config_program attrib enable_attrib install,po
18095 wine_fn_config_program cabarc enable_cabarc install
18096 wine_fn_config_program cacls enable_cacls install
18097 wine_fn_config_program clock enable_clock install,po
18098 wine_fn_config_program cmd enable_cmd install,po
18099 wine_fn_config_test programs/cmd/tests cmd.exe_test
18100 wine_fn_config_program conhost enable_conhost install
18101 wine_fn_config_program control enable_control install
18102 wine_fn_config_program cscript enable_cscript clean,install
18103 wine_fn_config_program dpnsvr enable_dpnsvr install
18104 wine_fn_config_program dxdiag enable_dxdiag install,po
18105 wine_fn_config_program eject enable_eject install
18106 wine_fn_config_program expand enable_expand install
18107 wine_fn_config_program explorer enable_explorer install,po
18108 wine_fn_config_program extrac32 enable_extrac32 install
18109 wine_fn_config_program findstr enable_findstr install
18110 wine_fn_config_program hh enable_hh install
18111 wine_fn_config_program hostname enable_hostname install,po
18112 wine_fn_config_program icinfo enable_icinfo install
18113 wine_fn_config_program iexplore enable_iexplore install
18114 wine_fn_config_program ipconfig enable_ipconfig install,po
18115 wine_fn_config_program lodctr enable_lodctr install
18116 wine_fn_config_program mofcomp enable_mofcomp install
18117 wine_fn_config_program mshta enable_mshta install
18118 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18119 wine_fn_config_program net enable_net install,po
18120 wine_fn_config_program netsh enable_netsh install
18121 wine_fn_config_program netstat enable_netstat install,po
18122 wine_fn_config_program ngen enable_ngen install
18123 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
18124 wine_fn_config_program oleview enable_oleview install,po
18125 wine_fn_config_program ping enable_ping install
18126 wine_fn_config_program plugplay enable_plugplay install
18127 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18128 wine_fn_config_program progman enable_progman install,po
18129 wine_fn_config_program reg enable_reg install,po
18130 wine_fn_config_test programs/reg/tests reg.exe_test
18131 wine_fn_config_program regasm enable_regasm install
18132 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
18133 wine_fn_config_test programs/regedit/tests regedit.exe_test
18134 wine_fn_config_program regsvcs enable_regsvcs install
18135 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
18136 wine_fn_config_program rpcss enable_rpcss clean,install
18137 wine_fn_config_program rundll.exe16 enable_win16 install
18138 wine_fn_config_program rundll32 enable_rundll32 install
18139 wine_fn_config_program sc enable_sc install
18140 wine_fn_config_program schtasks enable_schtasks install
18141 wine_fn_config_program sdbinst enable_sdbinst install
18142 wine_fn_config_program secedit enable_secedit install
18143 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18144 wine_fn_config_program services enable_services clean,install
18145 wine_fn_config_test programs/services/tests services.exe_test
18146 wine_fn_config_program spoolsv enable_spoolsv install
18147 wine_fn_config_program start enable_start install,po
18148 wine_fn_config_program svchost enable_svchost install
18149 wine_fn_config_program systeminfo enable_systeminfo install
18150 wine_fn_config_program taskkill enable_taskkill install,po
18151 wine_fn_config_program tasklist enable_tasklist install
18152 wine_fn_config_program taskmgr enable_taskmgr install,po
18153 wine_fn_config_program termsv enable_termsv install
18154 wine_fn_config_program uninstaller enable_uninstaller install,po
18155 wine_fn_config_program unlodctr enable_unlodctr install
18156 wine_fn_config_program view enable_view install,po
18157 wine_fn_config_program wevtutil enable_wevtutil install
18158 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
18159 wine_fn_config_program winebrowser enable_winebrowser install
18160 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
18161 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
18162 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
18163 wine_fn_config_program winedevice enable_winedevice install
18164 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
18165 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18166 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
18167 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18168 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18169 wine_fn_config_program winetest enable_winetest clean
18170 wine_fn_config_program winevdm enable_win16 install
18171 wine_fn_config_program winhelp.exe16 enable_win16 install
18172 wine_fn_config_program winhlp32 enable_winhlp32 install,po
18173 wine_fn_config_program winoldap.mod16 enable_win16 install
18174 wine_fn_config_program winver enable_winver install
18175 wine_fn_config_program wmic enable_wmic install,po
18176 wine_fn_config_program wmplayer enable_wmplayer install
18177 wine_fn_config_program wordpad enable_wordpad install,po
18178 wine_fn_config_program write enable_write install,po
18179 wine_fn_config_program wscript enable_wscript clean,install
18180 wine_fn_config_test programs/wscript/tests wscript.exe_test
18181 wine_fn_config_program wusa enable_wusa install
18182 wine_fn_config_program xcopy enable_xcopy install,po
18183 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18184 wine_fn_config_makefile server enable_server clean,install-lib
18185 wine_fn_config_tool tools clean
18186 wine_fn_config_tool tools/sfnt2fon clean
18187 wine_fn_config_tool tools/widl clean,install-dev
18188 wine_fn_config_tool tools/winebuild clean,install-dev
18189 wine_fn_config_tool tools/winedump clean,install-dev
18190 wine_fn_config_tool tools/winegcc clean,install-dev
18191 wine_fn_config_tool tools/winemaker clean,install-dev
18192 wine_fn_config_tool tools/wmc clean,install-dev
18193 wine_fn_config_tool tools/wrc clean,install-dev
18195 LINGUAS="\
18196 ar \
18197 bg \
18198 ca \
18199 cs \
18200 da \
18201 de \
18202 el \
18203 en \
18204 en_US \
18205 eo \
18206 es \
18207 fa \
18208 fi \
18209 fr \
18210 he \
18211 hi \
18212 hr \
18213 hu \
18214 it \
18215 ja \
18216 ko \
18217 lt \
18218 ml \
18219 nb_NO \
18220 nl \
18221 or \
18222 pa \
18223 pl \
18224 pt_BR \
18225 pt_PT \
18226 rm \
18227 ro \
18228 ru \
18229 sk \
18230 sl \
18231 sr_RS@cyrillic \
18232 sr_RS@latin \
18233 sv \
18234 te \
18235 th \
18236 tr \
18237 uk \
18238 wa \
18239 zh_CN \
18240 zh_TW"
18245 wine_fn_ignore_file ".gitignore"
18246 wine_fn_ignore_file "Makefile"
18247 wine_fn_ignore_file "TAGS"
18248 wine_fn_ignore_file "tags"
18249 wine_fn_ignore_file "autom4te.cache"
18250 wine_fn_ignore_file "config.cache"
18251 wine_fn_ignore_file "config.log"
18252 wine_fn_ignore_file "config.status"
18253 wine_fn_ignore_file "configure.lineno"
18254 wine_fn_ignore_file "include/config.h"
18255 wine_fn_ignore_file "include/stamp-h"
18256 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
18258 if test "x$enable_tools" != xno
18259 then
18260 wine_fn_ignore_file "tools/makedep$ac_exeext"
18261 ac_config_commands="$ac_config_commands tools/makedep"
18265 ac_config_commands="$ac_config_commands Makefile"
18268 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18272 if test "x$enable_maintainer_mode" = xyes
18273 then
18274 wine_fn_append_rule "configure: configure.ac aclocal.m4
18275 autoconf --warnings=all
18276 include/config.h.in: include/stamp-h.in
18277 include/stamp-h.in: configure.ac aclocal.m4
18278 autoheader --warnings=all
18279 @echo timestamp > \$@"
18282 if test "x$with_gettextpo" = xyes
18283 then
18284 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18285 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
18286 \$(LINGUAS:%=po/%.po): po/wine.pot
18287 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18288 po/wine.pot: \$(ALL_POT_FILES)
18289 msgcat -o \$@ \$(ALL_POT_FILES)"
18292 if test "$MSGFMT" != false
18293 then
18294 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
18295 clean::
18296 \$(RM) \$(LINGUAS:%=po/%.mo)"
18298 posrc="po"
18299 test "$srcdir" = . || posrc="$srcdir/po"
18300 for i in $LINGUAS
18302 wine_fn_ignore_file "po/$i.mo"
18303 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
18304 \$(MSGFMT) -o \$@ $posrc/$i.po"
18305 done
18306 else
18307 LINGUAS=
18310 if test "x$enable_tools" != xno
18311 then
18312 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18313 @./config.status tools/makedep
18314 Makefile: tools/makedep$ac_exeext
18315 distclean:: clean
18316 \$(RM) tools/makedep$ac_exeext"
18317 else
18318 wine_fn_append_rule "\$(MAKEDEP):
18319 @echo \"You need to run make in $TOOLSDIR first\" && false"
18322 if test -n "$with_wine64"
18323 then
18324 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18325 fonts server tools:
18326 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18327 $with_wine64/loader/wine:
18328 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18329 $with_wine64/loader/wine-preloader:
18330 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18331 clean::
18332 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18333 else
18334 WINELOADER_INSTALL="wine.inf"
18336 wine_fn_append_rule "install install-lib::
18337 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18338 uninstall::
18339 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18340 case $host_os in
18341 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18342 *) wine_fn_append_rule "install install-lib::
18343 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18344 uninstall::
18345 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18346 esac
18349 if test "$srcdir" = .
18350 then
18351 ac_config_commands="$ac_config_commands .gitignore"
18355 $as_echo " done" >&6
18356 cat >confcache <<\_ACEOF
18357 # This file is a shell script that caches the results of configure
18358 # tests run on this system so they can be shared between configure
18359 # scripts and configure runs, see configure's option --config-cache.
18360 # It is not useful on other systems. If it contains results you don't
18361 # want to keep, you may remove or edit it.
18363 # config.status only pays attention to the cache file if you give it
18364 # the --recheck option to rerun configure.
18366 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18367 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18368 # following values.
18370 _ACEOF
18372 # The following way of writing the cache mishandles newlines in values,
18373 # but we know of no workaround that is simple, portable, and efficient.
18374 # So, we kill variables containing newlines.
18375 # Ultrix sh set writes to stderr and can't be redirected directly,
18376 # and sets the high bit in the cache file unless we assign to the vars.
18378 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18379 eval ac_val=\$$ac_var
18380 case $ac_val in #(
18381 *${as_nl}*)
18382 case $ac_var in #(
18383 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18384 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18385 esac
18386 case $ac_var in #(
18387 _ | IFS | as_nl) ;; #(
18388 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18389 *) { eval $ac_var=; unset $ac_var;} ;;
18390 esac ;;
18391 esac
18392 done
18394 (set) 2>&1 |
18395 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18396 *${as_nl}ac_space=\ *)
18397 # `set' does not quote correctly, so add quotes: double-quote
18398 # substitution turns \\\\ into \\, and sed turns \\ into \.
18399 sed -n \
18400 "s/'/'\\\\''/g;
18401 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18402 ;; #(
18404 # `set' quotes correctly as required by POSIX, so do not add quotes.
18405 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18407 esac |
18408 sort
18410 sed '
18411 /^ac_cv_env_/b end
18412 t clear
18413 :clear
18414 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18415 t end
18416 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18417 :end' >>confcache
18418 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18419 if test -w "$cache_file"; then
18420 if test "x$cache_file" != "x/dev/null"; then
18421 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18422 $as_echo "$as_me: updating cache $cache_file" >&6;}
18423 if test ! -f "$cache_file" || test -h "$cache_file"; then
18424 cat confcache >"$cache_file"
18425 else
18426 case $cache_file in #(
18427 */* | ?:*)
18428 mv -f confcache "$cache_file"$$ &&
18429 mv -f "$cache_file"$$ "$cache_file" ;; #(
18431 mv -f confcache "$cache_file" ;;
18432 esac
18435 else
18436 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18437 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18440 rm -f confcache
18442 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18443 # Let make expand exec_prefix.
18444 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18446 DEFS=-DHAVE_CONFIG_H
18448 ac_libobjs=
18449 ac_ltlibobjs=
18451 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18452 # 1. Remove the extension, and $U if already installed.
18453 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18454 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18455 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18456 # will be set to the directory where LIBOBJS objects are built.
18457 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18458 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18459 done
18460 LIBOBJS=$ac_libobjs
18462 LTLIBOBJS=$ac_ltlibobjs
18466 : "${CONFIG_STATUS=./config.status}"
18467 ac_write_fail=0
18468 ac_clean_files_save=$ac_clean_files
18469 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18470 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18471 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18472 as_write_fail=0
18473 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18474 #! $SHELL
18475 # Generated by $as_me.
18476 # Run this file to recreate the current configuration.
18477 # Compiler output produced by configure, useful for debugging
18478 # configure, is in config.log if it exists.
18480 debug=false
18481 ac_cs_recheck=false
18482 ac_cs_silent=false
18484 SHELL=\${CONFIG_SHELL-$SHELL}
18485 export SHELL
18486 _ASEOF
18487 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18488 ## -------------------- ##
18489 ## M4sh Initialization. ##
18490 ## -------------------- ##
18492 # Be more Bourne compatible
18493 DUALCASE=1; export DUALCASE # for MKS sh
18494 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18495 emulate sh
18496 NULLCMD=:
18497 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18498 # is contrary to our usage. Disable this feature.
18499 alias -g '${1+"$@"}'='"$@"'
18500 setopt NO_GLOB_SUBST
18501 else
18502 case `(set -o) 2>/dev/null` in #(
18503 *posix*) :
18504 set -o posix ;; #(
18505 *) :
18507 esac
18511 as_nl='
18513 export as_nl
18514 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18515 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18516 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18517 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18518 # Prefer a ksh shell builtin over an external printf program on Solaris,
18519 # but without wasting forks for bash or zsh.
18520 if test -z "$BASH_VERSION$ZSH_VERSION" \
18521 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18522 as_echo='print -r --'
18523 as_echo_n='print -rn --'
18524 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18525 as_echo='printf %s\n'
18526 as_echo_n='printf %s'
18527 else
18528 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18529 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18530 as_echo_n='/usr/ucb/echo -n'
18531 else
18532 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18533 as_echo_n_body='eval
18534 arg=$1;
18535 case $arg in #(
18536 *"$as_nl"*)
18537 expr "X$arg" : "X\\(.*\\)$as_nl";
18538 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18539 esac;
18540 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18542 export as_echo_n_body
18543 as_echo_n='sh -c $as_echo_n_body as_echo'
18545 export as_echo_body
18546 as_echo='sh -c $as_echo_body as_echo'
18549 # The user is always right.
18550 if test "${PATH_SEPARATOR+set}" != set; then
18551 PATH_SEPARATOR=:
18552 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18553 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18554 PATH_SEPARATOR=';'
18559 # IFS
18560 # We need space, tab and new line, in precisely that order. Quoting is
18561 # there to prevent editors from complaining about space-tab.
18562 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18563 # splitting by setting IFS to empty value.)
18564 IFS=" "" $as_nl"
18566 # Find who we are. Look in the path if we contain no directory separator.
18567 as_myself=
18568 case $0 in #((
18569 *[\\/]* ) as_myself=$0 ;;
18570 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18571 for as_dir in $PATH
18573 IFS=$as_save_IFS
18574 test -z "$as_dir" && as_dir=.
18575 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18576 done
18577 IFS=$as_save_IFS
18580 esac
18581 # We did not find ourselves, most probably we were run as `sh COMMAND'
18582 # in which case we are not to be found in the path.
18583 if test "x$as_myself" = x; then
18584 as_myself=$0
18586 if test ! -f "$as_myself"; then
18587 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18588 exit 1
18591 # Unset variables that we do not need and which cause bugs (e.g. in
18592 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18593 # suppresses any "Segmentation fault" message there. '((' could
18594 # trigger a bug in pdksh 5.2.14.
18595 for as_var in BASH_ENV ENV MAIL MAILPATH
18596 do eval test x\${$as_var+set} = xset \
18597 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18598 done
18599 PS1='$ '
18600 PS2='> '
18601 PS4='+ '
18603 # NLS nuisances.
18604 LC_ALL=C
18605 export LC_ALL
18606 LANGUAGE=C
18607 export LANGUAGE
18609 # CDPATH.
18610 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18613 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18614 # ----------------------------------------
18615 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18616 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18617 # script with STATUS, using 1 if that was 0.
18618 as_fn_error ()
18620 as_status=$1; test $as_status -eq 0 && as_status=1
18621 if test "$4"; then
18622 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18623 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18625 $as_echo "$as_me: error: $2" >&2
18626 as_fn_exit $as_status
18627 } # as_fn_error
18630 # as_fn_set_status STATUS
18631 # -----------------------
18632 # Set $? to STATUS, without forking.
18633 as_fn_set_status ()
18635 return $1
18636 } # as_fn_set_status
18638 # as_fn_exit STATUS
18639 # -----------------
18640 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18641 as_fn_exit ()
18643 set +e
18644 as_fn_set_status $1
18645 exit $1
18646 } # as_fn_exit
18648 # as_fn_unset VAR
18649 # ---------------
18650 # Portably unset VAR.
18651 as_fn_unset ()
18653 { eval $1=; unset $1;}
18655 as_unset=as_fn_unset
18656 # as_fn_append VAR VALUE
18657 # ----------------------
18658 # Append the text in VALUE to the end of the definition contained in VAR. Take
18659 # advantage of any shell optimizations that allow amortized linear growth over
18660 # repeated appends, instead of the typical quadratic growth present in naive
18661 # implementations.
18662 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18663 eval 'as_fn_append ()
18665 eval $1+=\$2
18667 else
18668 as_fn_append ()
18670 eval $1=\$$1\$2
18672 fi # as_fn_append
18674 # as_fn_arith ARG...
18675 # ------------------
18676 # Perform arithmetic evaluation on the ARGs, and store the result in the
18677 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18678 # must be portable across $(()) and expr.
18679 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18680 eval 'as_fn_arith ()
18682 as_val=$(( $* ))
18684 else
18685 as_fn_arith ()
18687 as_val=`expr "$@" || test $? -eq 1`
18689 fi # as_fn_arith
18692 if expr a : '\(a\)' >/dev/null 2>&1 &&
18693 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18694 as_expr=expr
18695 else
18696 as_expr=false
18699 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18700 as_basename=basename
18701 else
18702 as_basename=false
18705 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18706 as_dirname=dirname
18707 else
18708 as_dirname=false
18711 as_me=`$as_basename -- "$0" ||
18712 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18713 X"$0" : 'X\(//\)$' \| \
18714 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18715 $as_echo X/"$0" |
18716 sed '/^.*\/\([^/][^/]*\)\/*$/{
18717 s//\1/
18720 /^X\/\(\/\/\)$/{
18721 s//\1/
18724 /^X\/\(\/\).*/{
18725 s//\1/
18728 s/.*/./; q'`
18730 # Avoid depending upon Character Ranges.
18731 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18732 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18733 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18734 as_cr_digits='0123456789'
18735 as_cr_alnum=$as_cr_Letters$as_cr_digits
18737 ECHO_C= ECHO_N= ECHO_T=
18738 case `echo -n x` in #(((((
18739 -n*)
18740 case `echo 'xy\c'` in
18741 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18742 xy) ECHO_C='\c';;
18743 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18744 ECHO_T=' ';;
18745 esac;;
18747 ECHO_N='-n';;
18748 esac
18750 rm -f conf$$ conf$$.exe conf$$.file
18751 if test -d conf$$.dir; then
18752 rm -f conf$$.dir/conf$$.file
18753 else
18754 rm -f conf$$.dir
18755 mkdir conf$$.dir 2>/dev/null
18757 if (echo >conf$$.file) 2>/dev/null; then
18758 if ln -s conf$$.file conf$$ 2>/dev/null; then
18759 as_ln_s='ln -s'
18760 # ... but there are two gotchas:
18761 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18762 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18763 # In both cases, we have to default to `cp -pR'.
18764 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18765 as_ln_s='cp -pR'
18766 elif ln conf$$.file conf$$ 2>/dev/null; then
18767 as_ln_s=ln
18768 else
18769 as_ln_s='cp -pR'
18771 else
18772 as_ln_s='cp -pR'
18774 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18775 rmdir conf$$.dir 2>/dev/null
18778 # as_fn_mkdir_p
18779 # -------------
18780 # Create "$as_dir" as a directory, including parents if necessary.
18781 as_fn_mkdir_p ()
18784 case $as_dir in #(
18785 -*) as_dir=./$as_dir;;
18786 esac
18787 test -d "$as_dir" || eval $as_mkdir_p || {
18788 as_dirs=
18789 while :; do
18790 case $as_dir in #(
18791 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18792 *) as_qdir=$as_dir;;
18793 esac
18794 as_dirs="'$as_qdir' $as_dirs"
18795 as_dir=`$as_dirname -- "$as_dir" ||
18796 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18797 X"$as_dir" : 'X\(//\)[^/]' \| \
18798 X"$as_dir" : 'X\(//\)$' \| \
18799 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18800 $as_echo X"$as_dir" |
18801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18802 s//\1/
18805 /^X\(\/\/\)[^/].*/{
18806 s//\1/
18809 /^X\(\/\/\)$/{
18810 s//\1/
18813 /^X\(\/\).*/{
18814 s//\1/
18817 s/.*/./; q'`
18818 test -d "$as_dir" && break
18819 done
18820 test -z "$as_dirs" || eval "mkdir $as_dirs"
18821 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18824 } # as_fn_mkdir_p
18825 if mkdir -p . 2>/dev/null; then
18826 as_mkdir_p='mkdir -p "$as_dir"'
18827 else
18828 test -d ./-p && rmdir ./-p
18829 as_mkdir_p=false
18833 # as_fn_executable_p FILE
18834 # -----------------------
18835 # Test if FILE is an executable regular file.
18836 as_fn_executable_p ()
18838 test -f "$1" && test -x "$1"
18839 } # as_fn_executable_p
18840 as_test_x='test -x'
18841 as_executable_p=as_fn_executable_p
18843 # Sed expression to map a string onto a valid CPP name.
18844 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18846 # Sed expression to map a string onto a valid variable name.
18847 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18850 exec 6>&1
18851 ## ----------------------------------- ##
18852 ## Main body of $CONFIG_STATUS script. ##
18853 ## ----------------------------------- ##
18854 _ASEOF
18855 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18858 # Save the log message, to keep $0 and so on meaningful, and to
18859 # report actual input values of CONFIG_FILES etc. instead of their
18860 # values after options handling.
18861 ac_log="
18862 This file was extended by Wine $as_me 1.8.3, which was
18863 generated by GNU Autoconf 2.69. Invocation command line was
18865 CONFIG_FILES = $CONFIG_FILES
18866 CONFIG_HEADERS = $CONFIG_HEADERS
18867 CONFIG_LINKS = $CONFIG_LINKS
18868 CONFIG_COMMANDS = $CONFIG_COMMANDS
18869 $ $0 $@
18871 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18874 _ACEOF
18876 case $ac_config_files in *"
18877 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18878 esac
18880 case $ac_config_headers in *"
18881 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18882 esac
18885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18886 # Files that config.status was made for.
18887 config_files="$ac_config_files"
18888 config_headers="$ac_config_headers"
18889 config_links="$ac_config_links"
18890 config_commands="$ac_config_commands"
18892 _ACEOF
18894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18895 ac_cs_usage="\
18896 \`$as_me' instantiates files and other configuration actions
18897 from templates according to the current configuration. Unless the files
18898 and actions are specified as TAGs, all are instantiated by default.
18900 Usage: $0 [OPTION]... [TAG]...
18902 -h, --help print this help, then exit
18903 -V, --version print version number and configuration settings, then exit
18904 --config print configuration, then exit
18905 -q, --quiet, --silent
18906 do not print progress messages
18907 -d, --debug don't remove temporary files
18908 --recheck update $as_me by reconfiguring in the same conditions
18909 --file=FILE[:TEMPLATE]
18910 instantiate the configuration file FILE
18911 --header=FILE[:TEMPLATE]
18912 instantiate the configuration header FILE
18914 Configuration files:
18915 $config_files
18917 Configuration headers:
18918 $config_headers
18920 Configuration links:
18921 $config_links
18923 Configuration commands:
18924 $config_commands
18926 Report bugs to <wine-devel@winehq.org>.
18927 Wine home page: <http://www.winehq.org>."
18929 _ACEOF
18930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18931 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18932 ac_cs_version="\\
18933 Wine config.status 1.8.3
18934 configured by $0, generated by GNU Autoconf 2.69,
18935 with options \\"\$ac_cs_config\\"
18937 Copyright (C) 2012 Free Software Foundation, Inc.
18938 This config.status script is free software; the Free Software Foundation
18939 gives unlimited permission to copy, distribute and modify it."
18941 ac_pwd='$ac_pwd'
18942 srcdir='$srcdir'
18943 test -n "\$AWK" || AWK=awk
18944 _ACEOF
18946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18947 # The default lists apply if the user does not specify any file.
18948 ac_need_defaults=:
18949 while test $# != 0
18951 case $1 in
18952 --*=?*)
18953 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18954 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18955 ac_shift=:
18957 --*=)
18958 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18959 ac_optarg=
18960 ac_shift=:
18963 ac_option=$1
18964 ac_optarg=$2
18965 ac_shift=shift
18967 esac
18969 case $ac_option in
18970 # Handling of the options.
18971 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18972 ac_cs_recheck=: ;;
18973 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18974 $as_echo "$ac_cs_version"; exit ;;
18975 --config | --confi | --conf | --con | --co | --c )
18976 $as_echo "$ac_cs_config"; exit ;;
18977 --debug | --debu | --deb | --de | --d | -d )
18978 debug=: ;;
18979 --file | --fil | --fi | --f )
18980 $ac_shift
18981 case $ac_optarg in
18982 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18983 '') as_fn_error $? "missing file argument" ;;
18984 esac
18985 as_fn_append CONFIG_FILES " '$ac_optarg'"
18986 ac_need_defaults=false;;
18987 --header | --heade | --head | --hea )
18988 $ac_shift
18989 case $ac_optarg in
18990 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18991 esac
18992 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18993 ac_need_defaults=false;;
18994 --he | --h)
18995 # Conflict between --help and --header
18996 as_fn_error $? "ambiguous option: \`$1'
18997 Try \`$0 --help' for more information.";;
18998 --help | --hel | -h )
18999 $as_echo "$ac_cs_usage"; exit ;;
19000 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19001 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19002 ac_cs_silent=: ;;
19004 # This is an error.
19005 -*) as_fn_error $? "unrecognized option: \`$1'
19006 Try \`$0 --help' for more information." ;;
19008 *) as_fn_append ac_config_targets " $1"
19009 ac_need_defaults=false ;;
19011 esac
19012 shift
19013 done
19015 ac_configure_extra_args=
19017 if $ac_cs_silent; then
19018 exec 6>/dev/null
19019 ac_configure_extra_args="$ac_configure_extra_args --silent"
19022 _ACEOF
19023 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19024 if \$ac_cs_recheck; then
19025 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19026 shift
19027 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19028 CONFIG_SHELL='$SHELL'
19029 export CONFIG_SHELL
19030 exec "\$@"
19033 _ACEOF
19034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19035 exec 5>>config.log
19037 echo
19038 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19039 ## Running $as_me. ##
19040 _ASBOX
19041 $as_echo "$ac_log"
19042 } >&5
19044 _ACEOF
19045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19047 # INIT-COMMANDS
19049 wine_fn_output_makedep ()
19051 as_dir=tools; as_fn_mkdir_p
19052 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19054 wine_fn_output_makefile ()
19056 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
19057 `cat $wine_rules_file`
19058 _WINE_EOF
19059 as_fn_error $? "could not create Makefile" "$LINENO" 5
19061 wine_fn_output_gitignore ()
19063 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
19064 $GITIGNORE
19065 _WINE_EOF
19066 as_fn_error $? "could not create .gitignore" "$LINENO" 5
19069 _ACEOF
19071 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19073 # Handling of arguments.
19074 for ac_config_target in $ac_config_targets
19076 case $ac_config_target in
19077 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19078 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19079 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19080 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19081 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19082 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19083 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19084 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19085 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
19086 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19087 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19088 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19089 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19090 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19091 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
19093 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19094 esac
19095 done
19098 # If the user did not use the arguments to specify the items to instantiate,
19099 # then the envvar interface is used. Set only those that are not.
19100 # We use the long form for the default assignment because of an extremely
19101 # bizarre bug on SunOS 4.1.3.
19102 if $ac_need_defaults; then
19103 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19104 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19105 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19106 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19109 # Have a temporary directory for convenience. Make it in the build tree
19110 # simply because there is no reason against having it here, and in addition,
19111 # creating and moving files from /tmp can sometimes cause problems.
19112 # Hook for its removal unless debugging.
19113 # Note that there is a small window in which the directory will not be cleaned:
19114 # after its creation but before its name has been assigned to `$tmp'.
19115 $debug ||
19117 tmp= ac_tmp=
19118 trap 'exit_status=$?
19119 : "${ac_tmp:=$tmp}"
19120 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19122 trap 'as_fn_exit 1' 1 2 13 15
19124 # Create a (secure) tmp directory for tmp files.
19127 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19128 test -d "$tmp"
19129 } ||
19131 tmp=./conf$$-$RANDOM
19132 (umask 077 && mkdir "$tmp")
19133 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19134 ac_tmp=$tmp
19136 # Set up the scripts for CONFIG_FILES section.
19137 # No need to generate them if there are no CONFIG_FILES.
19138 # This happens for instance with `./config.status config.h'.
19139 if test -n "$CONFIG_FILES"; then
19142 ac_cr=`echo X | tr X '\015'`
19143 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19144 # But we know of no other shell where ac_cr would be empty at this
19145 # point, so we can use a bashism as a fallback.
19146 if test "x$ac_cr" = x; then
19147 eval ac_cr=\$\'\\r\'
19149 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19150 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19151 ac_cs_awk_cr='\\r'
19152 else
19153 ac_cs_awk_cr=$ac_cr
19156 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19157 _ACEOF
19161 echo "cat >conf$$subs.awk <<_ACEOF" &&
19162 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19163 echo "_ACEOF"
19164 } >conf$$subs.sh ||
19165 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19166 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19167 ac_delim='%!_!# '
19168 for ac_last_try in false false false false false :; do
19169 . ./conf$$subs.sh ||
19170 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19172 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19173 if test $ac_delim_n = $ac_delim_num; then
19174 break
19175 elif $ac_last_try; then
19176 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19177 else
19178 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19180 done
19181 rm -f conf$$subs.sh
19183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19184 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19185 _ACEOF
19186 sed -n '
19188 s/^/S["/; s/!.*/"]=/
19191 s/^[^!]*!//
19192 :repl
19193 t repl
19194 s/'"$ac_delim"'$//
19195 t delim
19198 s/\(.\{148\}\)..*/\1/
19199 t more1
19200 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19203 b repl
19204 :more1
19205 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19208 s/.\{148\}//
19209 t nl
19210 :delim
19212 s/\(.\{148\}\)..*/\1/
19213 t more2
19214 s/["\\]/\\&/g; s/^/"/; s/$/"/
19217 :more2
19218 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19221 s/.\{148\}//
19222 t delim
19223 ' <conf$$subs.awk | sed '
19224 /^[^""]/{
19226 s/\n//
19228 ' >>$CONFIG_STATUS || ac_write_fail=1
19229 rm -f conf$$subs.awk
19230 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19231 _ACAWK
19232 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19233 for (key in S) S_is_set[key] = 1
19234 FS = "\a"
19238 line = $ 0
19239 nfields = split(line, field, "@")
19240 substed = 0
19241 len = length(field[1])
19242 for (i = 2; i < nfields; i++) {
19243 key = field[i]
19244 keylen = length(key)
19245 if (S_is_set[key]) {
19246 value = S[key]
19247 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19248 len += length(value) + length(field[++i])
19249 substed = 1
19250 } else
19251 len += 1 + keylen
19254 print line
19257 _ACAWK
19258 _ACEOF
19259 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19260 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19261 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19262 else
19264 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19265 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19266 _ACEOF
19268 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19269 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19270 # trailing colons and then remove the whole line if VPATH becomes empty
19271 # (actually we leave an empty line to preserve line numbers).
19272 if test "x$srcdir" = x.; then
19273 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19275 s///
19276 s/^/:/
19277 s/[ ]*$/:/
19278 s/:\$(srcdir):/:/g
19279 s/:\${srcdir}:/:/g
19280 s/:@srcdir@:/:/g
19281 s/^:*//
19282 s/:*$//
19284 s/\(=[ ]*\).*/\1/
19286 s/\n//
19287 s/^[^=]*=[ ]*$//
19291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19292 fi # test -n "$CONFIG_FILES"
19294 # Set up the scripts for CONFIG_HEADERS section.
19295 # No need to generate them if there are no CONFIG_HEADERS.
19296 # This happens for instance with `./config.status Makefile'.
19297 if test -n "$CONFIG_HEADERS"; then
19298 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19299 BEGIN {
19300 _ACEOF
19302 # Transform confdefs.h into an awk script `defines.awk', embedded as
19303 # here-document in config.status, that substitutes the proper values into
19304 # config.h.in to produce config.h.
19306 # Create a delimiter string that does not exist in confdefs.h, to ease
19307 # handling of long lines.
19308 ac_delim='%!_!# '
19309 for ac_last_try in false false :; do
19310 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19311 if test -z "$ac_tt"; then
19312 break
19313 elif $ac_last_try; then
19314 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19315 else
19316 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19318 done
19320 # For the awk script, D is an array of macro values keyed by name,
19321 # likewise P contains macro parameters if any. Preserve backslash
19322 # newline sequences.
19324 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19325 sed -n '
19326 s/.\{148\}/&'"$ac_delim"'/g
19327 t rset
19328 :rset
19329 s/^[ ]*#[ ]*define[ ][ ]*/ /
19330 t def
19332 :def
19333 s/\\$//
19334 t bsnl
19335 s/["\\]/\\&/g
19336 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19337 D["\1"]=" \3"/p
19338 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19340 :bsnl
19341 s/["\\]/\\&/g
19342 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19343 D["\1"]=" \3\\\\\\n"\\/p
19344 t cont
19345 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19346 t cont
19348 :cont
19350 s/.\{148\}/&'"$ac_delim"'/g
19351 t clear
19352 :clear
19353 s/\\$//
19354 t bsnlc
19355 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19357 :bsnlc
19358 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19359 b cont
19360 ' <confdefs.h | sed '
19361 s/'"$ac_delim"'/"\\\
19362 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19364 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19365 for (key in D) D_is_set[key] = 1
19366 FS = "\a"
19368 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19369 line = \$ 0
19370 split(line, arg, " ")
19371 if (arg[1] == "#") {
19372 defundef = arg[2]
19373 mac1 = arg[3]
19374 } else {
19375 defundef = substr(arg[1], 2)
19376 mac1 = arg[2]
19378 split(mac1, mac2, "(") #)
19379 macro = mac2[1]
19380 prefix = substr(line, 1, index(line, defundef) - 1)
19381 if (D_is_set[macro]) {
19382 # Preserve the white space surrounding the "#".
19383 print prefix "define", macro P[macro] D[macro]
19384 next
19385 } else {
19386 # Replace #undef with comments. This is necessary, for example,
19387 # in the case of _POSIX_SOURCE, which is predefined and required
19388 # on some systems where configure will not decide to define it.
19389 if (defundef == "undef") {
19390 print "/*", prefix defundef, macro, "*/"
19391 next
19395 { print }
19396 _ACAWK
19397 _ACEOF
19398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19399 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19400 fi # test -n "$CONFIG_HEADERS"
19403 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19404 shift
19405 for ac_tag
19407 case $ac_tag in
19408 :[FHLC]) ac_mode=$ac_tag; continue;;
19409 esac
19410 case $ac_mode$ac_tag in
19411 :[FHL]*:*);;
19412 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19413 :[FH]-) ac_tag=-:-;;
19414 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19415 esac
19416 ac_save_IFS=$IFS
19417 IFS=:
19418 set x $ac_tag
19419 IFS=$ac_save_IFS
19420 shift
19421 ac_file=$1
19422 shift
19424 case $ac_mode in
19425 :L) ac_source=$1;;
19426 :[FH])
19427 ac_file_inputs=
19428 for ac_f
19430 case $ac_f in
19431 -) ac_f="$ac_tmp/stdin";;
19432 *) # Look for the file first in the build tree, then in the source tree
19433 # (if the path is not absolute). The absolute path cannot be DOS-style,
19434 # because $ac_f cannot contain `:'.
19435 test -f "$ac_f" ||
19436 case $ac_f in
19437 [\\/$]*) false;;
19438 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19439 esac ||
19440 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19441 esac
19442 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19443 as_fn_append ac_file_inputs " '$ac_f'"
19444 done
19446 # Let's still pretend it is `configure' which instantiates (i.e., don't
19447 # use $as_me), people would be surprised to read:
19448 # /* config.h. Generated by config.status. */
19449 configure_input='Generated from '`
19450 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19451 `' by configure.'
19452 if test x"$ac_file" != x-; then
19453 configure_input="$ac_file. $configure_input"
19454 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19455 $as_echo "$as_me: creating $ac_file" >&6;}
19457 # Neutralize special characters interpreted by sed in replacement strings.
19458 case $configure_input in #(
19459 *\&* | *\|* | *\\* )
19460 ac_sed_conf_input=`$as_echo "$configure_input" |
19461 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19462 *) ac_sed_conf_input=$configure_input;;
19463 esac
19465 case $ac_tag in
19466 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19467 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19468 esac
19470 esac
19472 ac_dir=`$as_dirname -- "$ac_file" ||
19473 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19474 X"$ac_file" : 'X\(//\)[^/]' \| \
19475 X"$ac_file" : 'X\(//\)$' \| \
19476 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19477 $as_echo X"$ac_file" |
19478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19479 s//\1/
19482 /^X\(\/\/\)[^/].*/{
19483 s//\1/
19486 /^X\(\/\/\)$/{
19487 s//\1/
19490 /^X\(\/\).*/{
19491 s//\1/
19494 s/.*/./; q'`
19495 as_dir="$ac_dir"; as_fn_mkdir_p
19496 ac_builddir=.
19498 case "$ac_dir" in
19499 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19501 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19502 # A ".." for each directory in $ac_dir_suffix.
19503 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19504 case $ac_top_builddir_sub in
19505 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19506 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19507 esac ;;
19508 esac
19509 ac_abs_top_builddir=$ac_pwd
19510 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19511 # for backward compatibility:
19512 ac_top_builddir=$ac_top_build_prefix
19514 case $srcdir in
19515 .) # We are building in place.
19516 ac_srcdir=.
19517 ac_top_srcdir=$ac_top_builddir_sub
19518 ac_abs_top_srcdir=$ac_pwd ;;
19519 [\\/]* | ?:[\\/]* ) # Absolute name.
19520 ac_srcdir=$srcdir$ac_dir_suffix;
19521 ac_top_srcdir=$srcdir
19522 ac_abs_top_srcdir=$srcdir ;;
19523 *) # Relative name.
19524 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19525 ac_top_srcdir=$ac_top_build_prefix$srcdir
19526 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19527 esac
19528 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19531 case $ac_mode in
19534 # CONFIG_FILE
19537 _ACEOF
19539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19540 # If the template does not know about datarootdir, expand it.
19541 # FIXME: This hack should be removed a few years after 2.60.
19542 ac_datarootdir_hack=; ac_datarootdir_seen=
19543 ac_sed_dataroot='
19544 /datarootdir/ {
19548 /@datadir@/p
19549 /@docdir@/p
19550 /@infodir@/p
19551 /@localedir@/p
19552 /@mandir@/p'
19553 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19554 *datarootdir*) ac_datarootdir_seen=yes;;
19555 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19557 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19558 _ACEOF
19559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19560 ac_datarootdir_hack='
19561 s&@datadir@&$datadir&g
19562 s&@docdir@&$docdir&g
19563 s&@infodir@&$infodir&g
19564 s&@localedir@&$localedir&g
19565 s&@mandir@&$mandir&g
19566 s&\\\${datarootdir}&$datarootdir&g' ;;
19567 esac
19568 _ACEOF
19570 # Neutralize VPATH when `$srcdir' = `.'.
19571 # Shell code in configure.ac might set extrasub.
19572 # FIXME: do we really want to maintain this feature?
19573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19574 ac_sed_extra="$ac_vpsub
19575 $extrasub
19576 _ACEOF
19577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19579 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19580 s|@configure_input@|$ac_sed_conf_input|;t t
19581 s&@top_builddir@&$ac_top_builddir_sub&;t t
19582 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19583 s&@srcdir@&$ac_srcdir&;t t
19584 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19585 s&@top_srcdir@&$ac_top_srcdir&;t t
19586 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19587 s&@builddir@&$ac_builddir&;t t
19588 s&@abs_builddir@&$ac_abs_builddir&;t t
19589 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19590 $ac_datarootdir_hack
19592 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19593 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19595 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19596 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19597 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19598 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19600 which seems to be undefined. Please make sure it is defined" >&5
19601 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19602 which seems to be undefined. Please make sure it is defined" >&2;}
19604 rm -f "$ac_tmp/stdin"
19605 case $ac_file in
19606 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19607 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19608 esac \
19609 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19613 # CONFIG_HEADER
19615 if test x"$ac_file" != x-; then
19617 $as_echo "/* $configure_input */" \
19618 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19619 } >"$ac_tmp/config.h" \
19620 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19621 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19622 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19623 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19624 else
19625 rm -f "$ac_file"
19626 mv "$ac_tmp/config.h" "$ac_file" \
19627 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19629 else
19630 $as_echo "/* $configure_input */" \
19631 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19632 || as_fn_error $? "could not create -" "$LINENO" 5
19637 # CONFIG_LINK
19640 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19642 else
19643 # Prefer the file from the source tree if names are identical.
19644 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19645 ac_source=$srcdir/$ac_source
19648 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19649 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19651 if test ! -r "$ac_source"; then
19652 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19654 rm -f "$ac_file"
19656 # Try a relative symlink, then a hard link, then a copy.
19657 case $ac_source in
19658 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19659 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19660 esac
19661 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19662 ln "$ac_source" "$ac_file" 2>/dev/null ||
19663 cp -p "$ac_source" "$ac_file" ||
19664 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19667 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19668 $as_echo "$as_me: executing $ac_file commands" >&6;}
19670 esac
19673 case $ac_file$ac_mode in
19674 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19675 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19676 "Makefile":C) wine_fn_output_makefile Makefile ;;
19677 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19679 esac
19680 done # for ac_tag
19683 as_fn_exit 0
19684 _ACEOF
19685 ac_clean_files=$ac_clean_files_save
19687 test $ac_write_fail = 0 ||
19688 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19691 # configure is writing to config.log, and then calls config.status.
19692 # config.status does its own redirection, appending to config.log.
19693 # Unfortunately, on DOS this fails, as config.log is still kept open
19694 # by configure, so config.status won't be able to write to it; its
19695 # output is simply discarded. So we exec the FD to /dev/null,
19696 # effectively closing config.log, so it can be properly (re)opened and
19697 # appended to by config.status. When coming back to configure, we
19698 # need to make the FD available again.
19699 if test "$no_create" != yes; then
19700 ac_cs_success=:
19701 ac_config_status_args=
19702 test "$silent" = yes &&
19703 ac_config_status_args="$ac_config_status_args --quiet"
19704 exec 5>/dev/null
19705 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19706 exec 5>>config.log
19707 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19708 # would make configure fail if this is the last instruction.
19709 $ac_cs_success || as_fn_exit 1
19711 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19713 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19717 if test "$no_create" = "yes"
19718 then
19719 exit 0
19722 ac_save_IFS="$IFS"
19723 if test "x$wine_notices" != x; then
19724 echo >&6
19725 IFS="|"
19726 for msg in $wine_notices; do
19727 IFS="$ac_save_IFS"
19728 if ${msg:+false} :; then :
19730 else
19731 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19732 $as_echo "$as_me: $msg" >&6;}
19734 done
19736 IFS="|"
19737 for msg in $wine_warnings; do
19738 IFS="$ac_save_IFS"
19739 if ${msg:+false} :; then :
19741 else
19742 echo >&2
19743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19744 $as_echo "$as_me: WARNING: $msg" >&2;}
19746 done
19747 IFS="$ac_save_IFS"
19749 $as_echo "
19750 $as_me: Finished. Do '${ac_make}' to compile Wine.
19751 " >&6