makefiles: Automatically create all directories that contain a target file.
[wine.git] / configure
blob6342d9127f1d30a0bde840d7a34639d407a27118
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.4.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.9.4'
584 PACKAGE_STRING='Wine 1.9.4'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 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 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 FONTCONFIG_LIBS
652 FONTCONFIG_CFLAGS
653 CUPS_CFLAGS
654 CAPI20_LIBS
655 CAPI20_CFLAGS
656 OSS4_CFLAGS
657 ALSA_LIBS
658 GSTREAMER_LIBS
659 GSTREAMER_CFLAGS
660 PULSE_LIBS
661 PULSE_CFLAGS
662 GETTEXTPO_LIBS
663 Z_LIBS
664 FREETYPE_LIBS
665 FREETYPE_CFLAGS
666 LCMS2_LIBS
667 LCMS2_CFLAGS
668 RESOLV_LIBS
669 GPHOTO2_PORT_LIBS
670 GPHOTO2_PORT_CFLAGS
671 GPHOTO2_LIBS
672 GPHOTO2_CFLAGS
673 SANE_LIBS
674 SANE_CFLAGS
675 GNUTLS_LIBS
676 GNUTLS_CFLAGS
677 HAL_LIBS
678 HAL_CFLAGS
679 DBUS_LIBS
680 DBUS_CFLAGS
681 XSLT_LIBS
682 XSLT_CFLAGS
683 XML2_LIBS
684 XML2_CFLAGS
685 PCAP_LIBS
686 X_EXTRA_LIBS
687 X_LIBS
688 X_PRE_LIBS
689 X_CFLAGS
690 XMKMF
691 PTHREAD_LIBS
692 CROSSCC
693 CROSSTARGET
694 PRELINK
695 WINELOADER_DEPENDS
696 CARBON_LIBS
697 QUICKTIME_LIBS
698 OPENCL_LIBS
699 OPENAL_LIBS
700 COREAUDIO_LIBS
701 SECURITY_LIBS
702 DISKARBITRATION_LIBS
703 APPKIT_LIBS
704 CORESERVICES_LIBS
705 APPLICATIONSERVICES_LIBS
706 FORCEFEEDBACK_LIBS
707 IOKIT_LIBS
708 COREFOUNDATION_LIBS
709 LIBWINE_DEPENDS
710 LIBWINE_LDFLAGS
711 LIBWINE_INSTALL_DEV
712 LIBWINE_INSTALL_LIB
713 LIBWINE_IMPORTLIB
714 LIBWINE_SHAREDLIB
715 SOCKET_LIBS
716 DLLTOOL
717 WINELOADER_PROGRAMS
718 ALL_TEST_RESOURCES
719 SUBDIRS
720 READELF
721 OTOOL
723 LDEXECFLAGS
724 LDRPATH_LOCAL
725 LDRPATH_INSTALL
726 DLLFLAGS
727 dlldir
729 OPENGL_LIBS
730 ICOTOOL
731 CONVERT
732 RSVG
733 FONTFORGE
734 PKG_CONFIG
735 MSGFMT
736 LDCONFIG
737 EGREP
738 GREP
739 LN_S
740 RANLIB
741 ARFLAGS
742 STRIP
743 ac_ct_AR
745 BISON
746 FLEX
747 TOOLSDIR
748 TARGETFLAGS
750 CPPBIN
751 ac_ct_CXX
752 CXXFLAGS
754 OBJEXT
755 EXEEXT
756 ac_ct_CC
757 CPPFLAGS
758 LDFLAGS
759 CFLAGS
761 SET_MAKE
762 host_os
763 host_vendor
764 host_cpu
765 host
766 build_os
767 build_vendor
768 build_cpu
769 build
770 target_alias
771 host_alias
772 build_alias
773 LIBS
774 ECHO_T
775 ECHO_N
776 ECHO_C
777 DEFS
778 mandir
779 localedir
780 libdir
781 psdir
782 pdfdir
783 dvidir
784 htmldir
785 infodir
786 docdir
787 oldincludedir
788 includedir
789 runstatedir
790 localstatedir
791 sharedstatedir
792 sysconfdir
793 datadir
794 datarootdir
795 libexecdir
796 sbindir
797 bindir
798 program_transform_name
799 prefix
800 exec_prefix
801 PACKAGE_URL
802 PACKAGE_BUGREPORT
803 PACKAGE_STRING
804 PACKAGE_VERSION
805 PACKAGE_TARNAME
806 PACKAGE_NAME
807 PATH_SEPARATOR
808 SHELL'
809 ac_subst_files=''
810 ac_user_opts='
811 enable_option_checking
812 enable_win16
813 enable_win64
814 enable_tests
815 enable_maintainer_mode
816 with_alsa
817 with_capi
818 with_cms
819 with_coreaudio
820 with_cups
821 with_curses
822 with_dbus
823 with_fontconfig
824 with_freetype
825 with_gettext
826 with_gettextpo
827 with_gphoto
828 with_glu
829 with_gnutls
830 with_gsm
831 with_gstreamer
832 with_hal
833 with_jpeg
834 with_ldap
835 with_mpg123
836 with_netapi
837 with_openal
838 with_opencl
839 with_opengl
840 with_osmesa
841 with_oss
842 with_pcap
843 with_png
844 with_pthread
845 with_pulse
846 with_sane
847 with_tiff
848 with_v4l
849 with_xcomposite
850 with_xcursor
851 with_xinerama
852 with_xinput
853 with_xinput2
854 with_xml
855 with_xrandr
856 with_xrender
857 with_xshape
858 with_xshm
859 with_xslt
860 with_xxf86vm
861 with_zlib
862 with_wine_tools
863 with_wine64
864 enable_largefile
865 with_x
866 enable_acledit
867 enable_aclui
868 enable_activeds
869 enable_actxprxy
870 enable_advapi32
871 enable_advpack
872 enable_amstream
873 enable_api_ms_win_core_com_l1_1_0
874 enable_api_ms_win_core_com_l1_1_1
875 enable_api_ms_win_core_console_l1_1_0
876 enable_api_ms_win_core_datetime_l1_1_0
877 enable_api_ms_win_core_datetime_l1_1_1
878 enable_api_ms_win_core_debug_l1_1_0
879 enable_api_ms_win_core_debug_l1_1_1
880 enable_api_ms_win_core_delayload_l1_1_1
881 enable_api_ms_win_core_errorhandling_l1_1_0
882 enable_api_ms_win_core_errorhandling_l1_1_1
883 enable_api_ms_win_core_errorhandling_l1_1_2
884 enable_api_ms_win_core_fibers_l1_1_0
885 enable_api_ms_win_core_fibers_l1_1_1
886 enable_api_ms_win_core_file_l1_1_0
887 enable_api_ms_win_core_file_l1_2_0
888 enable_api_ms_win_core_file_l2_1_0
889 enable_api_ms_win_core_file_l2_1_1
890 enable_api_ms_win_core_handle_l1_1_0
891 enable_api_ms_win_core_heap_l1_1_0
892 enable_api_ms_win_core_heap_l1_2_0
893 enable_api_ms_win_core_heap_obsolete_l1_1_0
894 enable_api_ms_win_core_interlocked_l1_1_0
895 enable_api_ms_win_core_interlocked_l1_2_0
896 enable_api_ms_win_core_io_l1_1_1
897 enable_api_ms_win_core_kernel32_legacy_l1_1_0
898 enable_api_ms_win_core_kernel32_legacy_l1_1_1
899 enable_api_ms_win_core_libraryloader_l1_1_0
900 enable_api_ms_win_core_libraryloader_l1_1_1
901 enable_api_ms_win_core_libraryloader_l1_2_0
902 enable_api_ms_win_core_localization_l1_1_0
903 enable_api_ms_win_core_localization_l1_2_0
904 enable_api_ms_win_core_localization_l1_2_1
905 enable_api_ms_win_core_localization_obsolete_l1_1_0
906 enable_api_ms_win_core_localregistry_l1_1_0
907 enable_api_ms_win_core_memory_l1_1_0
908 enable_api_ms_win_core_memory_l1_1_1
909 enable_api_ms_win_core_misc_l1_1_0
910 enable_api_ms_win_core_namedpipe_l1_1_0
911 enable_api_ms_win_core_namedpipe_l1_2_0
912 enable_api_ms_win_core_path_l1_1_0
913 enable_api_ms_win_core_processenvironment_l1_1_0
914 enable_api_ms_win_core_processenvironment_l1_2_0
915 enable_api_ms_win_core_processthreads_l1_1_0
916 enable_api_ms_win_core_processthreads_l1_1_1
917 enable_api_ms_win_core_processthreads_l1_1_2
918 enable_api_ms_win_core_profile_l1_1_0
919 enable_api_ms_win_core_psapi_l1_1_0
920 enable_api_ms_win_core_registry_l1_1_0
921 enable_api_ms_win_core_rtlsupport_l1_1_0
922 enable_api_ms_win_core_rtlsupport_l1_2_0
923 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
924 enable_api_ms_win_core_string_l1_1_0
925 enable_api_ms_win_core_synch_l1_1_0
926 enable_api_ms_win_core_synch_l1_2_0
927 enable_api_ms_win_core_sysinfo_l1_1_0
928 enable_api_ms_win_core_sysinfo_l1_2_0
929 enable_api_ms_win_core_sysinfo_l1_2_1
930 enable_api_ms_win_core_threadpool_l1_2_0
931 enable_api_ms_win_core_threadpool_legacy_l1_1_0
932 enable_api_ms_win_core_timezone_l1_1_0
933 enable_api_ms_win_core_url_l1_1_0
934 enable_api_ms_win_core_util_l1_1_0
935 enable_api_ms_win_core_winrt_error_l1_1_0
936 enable_api_ms_win_core_winrt_error_l1_1_1
937 enable_api_ms_win_core_winrt_l1_1_0
938 enable_api_ms_win_core_winrt_registration_l1_1_0
939 enable_api_ms_win_core_winrt_string_l1_1_0
940 enable_api_ms_win_core_wow64_l1_1_0
941 enable_api_ms_win_core_xstate_l2_1_0
942 enable_api_ms_win_crt_conio_l1_1_0
943 enable_api_ms_win_crt_convert_l1_1_0
944 enable_api_ms_win_crt_environment_l1_1_0
945 enable_api_ms_win_crt_filesystem_l1_1_0
946 enable_api_ms_win_crt_heap_l1_1_0
947 enable_api_ms_win_crt_locale_l1_1_0
948 enable_api_ms_win_crt_math_l1_1_0
949 enable_api_ms_win_crt_multibyte_l1_1_0
950 enable_api_ms_win_crt_private_l1_1_0
951 enable_api_ms_win_crt_process_l1_1_0
952 enable_api_ms_win_crt_runtime_l1_1_0
953 enable_api_ms_win_crt_stdio_l1_1_0
954 enable_api_ms_win_crt_string_l1_1_0
955 enable_api_ms_win_crt_time_l1_1_0
956 enable_api_ms_win_crt_utility_l1_1_0
957 enable_api_ms_win_downlevel_advapi32_l1_1_0
958 enable_api_ms_win_downlevel_advapi32_l2_1_0
959 enable_api_ms_win_downlevel_normaliz_l1_1_0
960 enable_api_ms_win_downlevel_ole32_l1_1_0
961 enable_api_ms_win_downlevel_shell32_l1_1_0
962 enable_api_ms_win_downlevel_shlwapi_l1_1_0
963 enable_api_ms_win_downlevel_shlwapi_l2_1_0
964 enable_api_ms_win_downlevel_user32_l1_1_0
965 enable_api_ms_win_downlevel_version_l1_1_0
966 enable_api_ms_win_eventing_classicprovider_l1_1_0
967 enable_api_ms_win_eventing_provider_l1_1_0
968 enable_api_ms_win_ntuser_dc_access_l1_1_0
969 enable_api_ms_win_security_base_l1_1_0
970 enable_api_ms_win_security_base_l1_2_0
971 enable_api_ms_win_security_lsalookup_l1_1_0
972 enable_api_ms_win_security_lsalookup_l1_1_1
973 enable_api_ms_win_security_sddl_l1_1_0
974 enable_api_ms_win_service_core_l1_1_1
975 enable_api_ms_win_service_management_l1_1_0
976 enable_api_ms_win_service_winsvc_l1_2_0
977 enable_apphelp
978 enable_appwiz_cpl
979 enable_atl
980 enable_atl100
981 enable_atl110
982 enable_atl80
983 enable_atl90
984 enable_authz
985 enable_avicap32
986 enable_avifil32
987 enable_avrt
988 enable_bcrypt
989 enable_bluetoothapis
990 enable_browseui
991 enable_bthprops_cpl
992 enable_cabinet
993 enable_capi2032
994 enable_cards
995 enable_cfgmgr32
996 enable_clusapi
997 enable_combase
998 enable_comcat
999 enable_comctl32
1000 enable_comdlg32
1001 enable_compstui
1002 enable_comsvcs
1003 enable_connect
1004 enable_credui
1005 enable_crtdll
1006 enable_crypt32
1007 enable_cryptdlg
1008 enable_cryptdll
1009 enable_cryptext
1010 enable_cryptnet
1011 enable_cryptui
1012 enable_ctapi32
1013 enable_ctl3d32
1014 enable_d2d1
1015 enable_d3d10
1016 enable_d3d10_1
1017 enable_d3d10core
1018 enable_d3d11
1019 enable_d3d8
1020 enable_d3d9
1021 enable_d3dcompiler_33
1022 enable_d3dcompiler_34
1023 enable_d3dcompiler_35
1024 enable_d3dcompiler_36
1025 enable_d3dcompiler_37
1026 enable_d3dcompiler_38
1027 enable_d3dcompiler_39
1028 enable_d3dcompiler_40
1029 enable_d3dcompiler_41
1030 enable_d3dcompiler_42
1031 enable_d3dcompiler_43
1032 enable_d3dcompiler_46
1033 enable_d3dcompiler_47
1034 enable_d3dim
1035 enable_d3drm
1036 enable_d3dx10_33
1037 enable_d3dx10_34
1038 enable_d3dx10_35
1039 enable_d3dx10_36
1040 enable_d3dx10_37
1041 enable_d3dx10_38
1042 enable_d3dx10_39
1043 enable_d3dx10_40
1044 enable_d3dx10_41
1045 enable_d3dx10_42
1046 enable_d3dx10_43
1047 enable_d3dx11_42
1048 enable_d3dx11_43
1049 enable_d3dx9_24
1050 enable_d3dx9_25
1051 enable_d3dx9_26
1052 enable_d3dx9_27
1053 enable_d3dx9_28
1054 enable_d3dx9_29
1055 enable_d3dx9_30
1056 enable_d3dx9_31
1057 enable_d3dx9_32
1058 enable_d3dx9_33
1059 enable_d3dx9_34
1060 enable_d3dx9_35
1061 enable_d3dx9_36
1062 enable_d3dx9_37
1063 enable_d3dx9_38
1064 enable_d3dx9_39
1065 enable_d3dx9_40
1066 enable_d3dx9_41
1067 enable_d3dx9_42
1068 enable_d3dx9_43
1069 enable_d3dxof
1070 enable_davclnt
1071 enable_dbgeng
1072 enable_dbghelp
1073 enable_dciman32
1074 enable_ddraw
1075 enable_ddrawex
1076 enable_devenum
1077 enable_dhcpcsvc
1078 enable_difxapi
1079 enable_dinput
1080 enable_dinput8
1081 enable_dispex
1082 enable_dmband
1083 enable_dmcompos
1084 enable_dmime
1085 enable_dmloader
1086 enable_dmscript
1087 enable_dmstyle
1088 enable_dmsynth
1089 enable_dmusic
1090 enable_dmusic32
1091 enable_dnsapi
1092 enable_dplay
1093 enable_dplayx
1094 enable_dpnaddr
1095 enable_dpnet
1096 enable_dpnhpast
1097 enable_dpnlobby
1098 enable_dpvoice
1099 enable_dpwsockx
1100 enable_drmclien
1101 enable_dsound
1102 enable_dssenh
1103 enable_dswave
1104 enable_dwmapi
1105 enable_dwrite
1106 enable_dxdiagn
1107 enable_dxgi
1108 enable_dxva2
1109 enable_esent
1110 enable_evr
1111 enable_explorerframe
1112 enable_ext_ms_win_gdi_devcaps_l1_1_0
1113 enable_faultrep
1114 enable_fltlib
1115 enable_fltmgr_sys
1116 enable_fntcache
1117 enable_fontsub
1118 enable_fusion
1119 enable_fwpuclnt
1120 enable_gameux
1121 enable_gdi32
1122 enable_gdiplus
1123 enable_glu32
1124 enable_gphoto2_ds
1125 enable_gpkcsp
1126 enable_hal
1127 enable_hhctrl_ocx
1128 enable_hid
1129 enable_hidclass_sys
1130 enable_hlink
1131 enable_hnetcfg
1132 enable_httpapi
1133 enable_iccvid
1134 enable_icmp
1135 enable_ieframe
1136 enable_imaadp32_acm
1137 enable_imagehlp
1138 enable_imm32
1139 enable_inetcomm
1140 enable_inetcpl_cpl
1141 enable_inetmib1
1142 enable_infosoft
1143 enable_initpki
1144 enable_inkobj
1145 enable_inseng
1146 enable_iphlpapi
1147 enable_irprops_cpl
1148 enable_itircl
1149 enable_itss
1150 enable_joy_cpl
1151 enable_jscript
1152 enable_jsproxy
1153 enable_kernel32
1154 enable_ksuser
1155 enable_ktmw32
1156 enable_loadperf
1157 enable_localspl
1158 enable_localui
1159 enable_lz32
1160 enable_mapi32
1161 enable_mapistub
1162 enable_mciavi32
1163 enable_mcicda
1164 enable_mciqtz32
1165 enable_mciseq
1166 enable_mciwave
1167 enable_mf
1168 enable_mfplat
1169 enable_mfreadwrite
1170 enable_mgmtapi
1171 enable_midimap
1172 enable_mlang
1173 enable_mmcndmgr
1174 enable_mmdevapi
1175 enable_mountmgr_sys
1176 enable_mpr
1177 enable_mprapi
1178 enable_msacm32_drv
1179 enable_msacm32
1180 enable_msadp32_acm
1181 enable_msasn1
1182 enable_mscat32
1183 enable_mscms
1184 enable_mscoree
1185 enable_msctf
1186 enable_msctfp
1187 enable_msdaps
1188 enable_msdelta
1189 enable_msdmo
1190 enable_msdrm
1191 enable_msftedit
1192 enable_msg711_acm
1193 enable_msgsm32_acm
1194 enable_mshtml_tlb
1195 enable_mshtml
1196 enable_msi
1197 enable_msident
1198 enable_msimg32
1199 enable_msimsg
1200 enable_msimtf
1201 enable_msisip
1202 enable_msisys_ocx
1203 enable_msls31
1204 enable_msnet32
1205 enable_mspatcha
1206 enable_msrle32
1207 enable_msscript_ocx
1208 enable_mssign32
1209 enable_mssip32
1210 enable_mstask
1211 enable_msvcirt
1212 enable_msvcm80
1213 enable_msvcm90
1214 enable_msvcp100
1215 enable_msvcp110
1216 enable_msvcp120
1217 enable_msvcp120_app
1218 enable_msvcp60
1219 enable_msvcp70
1220 enable_msvcp71
1221 enable_msvcp80
1222 enable_msvcp90
1223 enable_msvcr100
1224 enable_msvcr110
1225 enable_msvcr120
1226 enable_msvcr120_app
1227 enable_msvcr70
1228 enable_msvcr71
1229 enable_msvcr80
1230 enable_msvcr90
1231 enable_msvcrt
1232 enable_msvcrt20
1233 enable_msvcrt40
1234 enable_msvcrtd
1235 enable_msvfw32
1236 enable_msvidc32
1237 enable_mswsock
1238 enable_msxml
1239 enable_msxml2
1240 enable_msxml3
1241 enable_msxml4
1242 enable_msxml6
1243 enable_nddeapi
1244 enable_ndis_sys
1245 enable_netapi32
1246 enable_netcfgx
1247 enable_netprofm
1248 enable_newdev
1249 enable_normaliz
1250 enable_npmshtml
1251 enable_npptools
1252 enable_ntdll
1253 enable_ntdsapi
1254 enable_ntoskrnl_exe
1255 enable_ntprint
1256 enable_objsel
1257 enable_odbc32
1258 enable_odbccp32
1259 enable_odbccu32
1260 enable_ole32
1261 enable_oleacc
1262 enable_oleaut32
1263 enable_olecli32
1264 enable_oledb32
1265 enable_oledlg
1266 enable_olepro32
1267 enable_olesvr32
1268 enable_olethk32
1269 enable_openal32
1270 enable_opencl
1271 enable_opengl32
1272 enable_packager
1273 enable_pdh
1274 enable_photometadatahandler
1275 enable_pidgen
1276 enable_powrprof
1277 enable_printui
1278 enable_prntvpt
1279 enable_propsys
1280 enable_psapi
1281 enable_pstorec
1282 enable_qcap
1283 enable_qedit
1284 enable_qmgr
1285 enable_qmgrprxy
1286 enable_quartz
1287 enable_query
1288 enable_rasapi32
1289 enable_rasdlg
1290 enable_regapi
1291 enable_resutils
1292 enable_riched20
1293 enable_riched32
1294 enable_rpcrt4
1295 enable_rsabase
1296 enable_rsaenh
1297 enable_rstrtmgr
1298 enable_rtutils
1299 enable_samlib
1300 enable_sane_ds
1301 enable_scarddlg
1302 enable_sccbase
1303 enable_schannel
1304 enable_schedsvc
1305 enable_scrrun
1306 enable_scsiport_sys
1307 enable_secur32
1308 enable_security
1309 enable_sensapi
1310 enable_serialui
1311 enable_setupapi
1312 enable_sfc
1313 enable_sfc_os
1314 enable_shdoclc
1315 enable_shdocvw
1316 enable_shell32
1317 enable_shfolder
1318 enable_shlwapi
1319 enable_slbcsp
1320 enable_slc
1321 enable_snmpapi
1322 enable_softpub
1323 enable_spoolss
1324 enable_stdole2_tlb
1325 enable_stdole32_tlb
1326 enable_sti
1327 enable_svrapi
1328 enable_sxs
1329 enable_t2embed
1330 enable_tapi32
1331 enable_taskschd
1332 enable_tdi_sys
1333 enable_traffic
1334 enable_twain_32
1335 enable_ucrtbase
1336 enable_unicows
1337 enable_updspapi
1338 enable_url
1339 enable_urlmon
1340 enable_usbd_sys
1341 enable_user32
1342 enable_userenv
1343 enable_usp10
1344 enable_uxtheme
1345 enable_vbscript
1346 enable_vcomp
1347 enable_vcomp100
1348 enable_vcomp110
1349 enable_vcomp120
1350 enable_vcomp90
1351 enable_vcruntime140
1352 enable_vdmdbg
1353 enable_version
1354 enable_vssapi
1355 enable_wbemdisp
1356 enable_wbemprox
1357 enable_webservices
1358 enable_wer
1359 enable_wevtapi
1360 enable_wiaservc
1361 enable_wimgapi
1362 enable_windowscodecs
1363 enable_windowscodecsext
1364 enable_winealsa_drv
1365 enable_winecoreaudio_drv
1366 enable_wined3d
1367 enable_winegstreamer
1368 enable_winejoystick_drv
1369 enable_winemac_drv
1370 enable_winemapi
1371 enable_winemp3_acm
1372 enable_wineoss_drv
1373 enable_wineps_drv
1374 enable_winepulse_drv
1375 enable_wineqtdecoder
1376 enable_winex11_drv
1377 enable_wing32
1378 enable_winhttp
1379 enable_wininet
1380 enable_winmm
1381 enable_winnls32
1382 enable_winscard
1383 enable_winspool_drv
1384 enable_winsta
1385 enable_wintab32
1386 enable_wintrust
1387 enable_wlanapi
1388 enable_wldap32
1389 enable_wmi
1390 enable_wmiutils
1391 enable_wmp
1392 enable_wmvcore
1393 enable_wnaspi32
1394 enable_wpcap
1395 enable_ws2_32
1396 enable_wshom_ocx
1397 enable_wsnmp32
1398 enable_wsock32
1399 enable_wtsapi32
1400 enable_wuapi
1401 enable_wuaueng
1402 enable_x3daudio1_0
1403 enable_x3daudio1_1
1404 enable_x3daudio1_2
1405 enable_x3daudio1_3
1406 enable_x3daudio1_4
1407 enable_x3daudio1_5
1408 enable_x3daudio1_6
1409 enable_x3daudio1_7
1410 enable_xapofx1_1
1411 enable_xapofx1_2
1412 enable_xapofx1_3
1413 enable_xapofx1_4
1414 enable_xapofx1_5
1415 enable_xaudio2_0
1416 enable_xaudio2_1
1417 enable_xaudio2_2
1418 enable_xaudio2_3
1419 enable_xaudio2_4
1420 enable_xaudio2_5
1421 enable_xaudio2_6
1422 enable_xaudio2_7
1423 enable_xaudio2_8
1424 enable_xaudio2_9
1425 enable_xinput1_1
1426 enable_xinput1_2
1427 enable_xinput1_3
1428 enable_xinput1_4
1429 enable_xinput9_1_0
1430 enable_xmllite
1431 enable_xolehlp
1432 enable_xpsprint
1433 enable_xpssvcs
1434 enable_fonts
1435 enable_include
1436 enable_libs_port
1437 enable_libs_wine
1438 enable_libs_wpp
1439 enable_loader
1440 enable_arp
1441 enable_aspnet_regiis
1442 enable_attrib
1443 enable_cabarc
1444 enable_cacls
1445 enable_clock
1446 enable_cmd
1447 enable_conhost
1448 enable_control
1449 enable_cscript
1450 enable_dpnsvr
1451 enable_dxdiag
1452 enable_eject
1453 enable_expand
1454 enable_explorer
1455 enable_extrac32
1456 enable_findstr
1457 enable_hh
1458 enable_hostname
1459 enable_icacls
1460 enable_icinfo
1461 enable_iexplore
1462 enable_ipconfig
1463 enable_lodctr
1464 enable_mofcomp
1465 enable_mshta
1466 enable_msiexec
1467 enable_net
1468 enable_netsh
1469 enable_netstat
1470 enable_ngen
1471 enable_notepad
1472 enable_oleview
1473 enable_ping
1474 enable_plugplay
1475 enable_presentationfontcache
1476 enable_progman
1477 enable_reg
1478 enable_regasm
1479 enable_regedit
1480 enable_regsvcs
1481 enable_regsvr32
1482 enable_rpcss
1483 enable_rundll32
1484 enable_sc
1485 enable_schtasks
1486 enable_sdbinst
1487 enable_secedit
1488 enable_servicemodelreg
1489 enable_services
1490 enable_spoolsv
1491 enable_start
1492 enable_svchost
1493 enable_systeminfo
1494 enable_taskkill
1495 enable_tasklist
1496 enable_taskmgr
1497 enable_termsv
1498 enable_uninstaller
1499 enable_unlodctr
1500 enable_view
1501 enable_wevtutil
1502 enable_wineboot
1503 enable_winebrowser
1504 enable_winecfg
1505 enable_wineconsole
1506 enable_winedbg
1507 enable_winedevice
1508 enable_winefile
1509 enable_winemenubuilder
1510 enable_winemine
1511 enable_winemsibuilder
1512 enable_winepath
1513 enable_winetest
1514 enable_winhlp32
1515 enable_winver
1516 enable_wmic
1517 enable_wmplayer
1518 enable_wordpad
1519 enable_write
1520 enable_wscript
1521 enable_wusa
1522 enable_xcopy
1523 enable_server
1524 enable_tools
1526 ac_precious_vars='build_alias
1527 host_alias
1528 target_alias
1530 CFLAGS
1531 LDFLAGS
1532 LIBS
1533 CPPFLAGS
1535 CXXFLAGS
1538 XMKMF
1539 XML2_CFLAGS
1540 XML2_LIBS
1541 XSLT_CFLAGS
1542 XSLT_LIBS
1543 DBUS_CFLAGS
1544 DBUS_LIBS
1545 HAL_CFLAGS
1546 HAL_LIBS
1547 GNUTLS_CFLAGS
1548 GNUTLS_LIBS
1549 SANE_CFLAGS
1550 SANE_LIBS
1551 GPHOTO2_CFLAGS
1552 GPHOTO2_LIBS
1553 GPHOTO2_PORT_CFLAGS
1554 GPHOTO2_PORT_LIBS
1555 LCMS2_CFLAGS
1556 LCMS2_LIBS
1557 FREETYPE_CFLAGS
1558 FREETYPE_LIBS
1559 PULSE_CFLAGS
1560 PULSE_LIBS
1561 GSTREAMER_CFLAGS
1562 GSTREAMER_LIBS
1563 CAPI20_CFLAGS
1564 CAPI20_LIBS
1565 FONTCONFIG_CFLAGS
1566 FONTCONFIG_LIBS
1567 JPEG_CFLAGS
1568 JPEG_LIBS
1569 PNG_CFLAGS
1570 PNG_LIBS
1571 TIFF_CFLAGS
1572 TIFF_LIBS
1573 MPG123_CFLAGS
1574 MPG123_LIBS
1575 NETAPI_CFLAGS
1576 NETAPI_LIBS'
1579 # Initialize some variables set by options.
1580 ac_init_help=
1581 ac_init_version=false
1582 ac_unrecognized_opts=
1583 ac_unrecognized_sep=
1584 # The variables have the same names as the options, with
1585 # dashes changed to underlines.
1586 cache_file=/dev/null
1587 exec_prefix=NONE
1588 no_create=
1589 no_recursion=
1590 prefix=NONE
1591 program_prefix=NONE
1592 program_suffix=NONE
1593 program_transform_name=s,x,x,
1594 silent=
1595 site=
1596 srcdir=
1597 verbose=
1598 x_includes=NONE
1599 x_libraries=NONE
1601 # Installation directory options.
1602 # These are left unexpanded so users can "make install exec_prefix=/foo"
1603 # and all the variables that are supposed to be based on exec_prefix
1604 # by default will actually change.
1605 # Use braces instead of parens because sh, perl, etc. also accept them.
1606 # (The list follows the same order as the GNU Coding Standards.)
1607 bindir='${exec_prefix}/bin'
1608 sbindir='${exec_prefix}/sbin'
1609 libexecdir='${exec_prefix}/libexec'
1610 datarootdir='${prefix}/share'
1611 datadir='${datarootdir}'
1612 sysconfdir='${prefix}/etc'
1613 sharedstatedir='${prefix}/com'
1614 localstatedir='${prefix}/var'
1615 runstatedir='${localstatedir}/run'
1616 includedir='${prefix}/include'
1617 oldincludedir='/usr/include'
1618 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1619 infodir='${datarootdir}/info'
1620 htmldir='${docdir}'
1621 dvidir='${docdir}'
1622 pdfdir='${docdir}'
1623 psdir='${docdir}'
1624 libdir='${exec_prefix}/lib'
1625 localedir='${datarootdir}/locale'
1626 mandir='${datarootdir}/man'
1628 ac_prev=
1629 ac_dashdash=
1630 for ac_option
1632 # If the previous option needs an argument, assign it.
1633 if test -n "$ac_prev"; then
1634 eval $ac_prev=\$ac_option
1635 ac_prev=
1636 continue
1639 case $ac_option in
1640 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1641 *=) ac_optarg= ;;
1642 *) ac_optarg=yes ;;
1643 esac
1645 # Accept the important Cygnus configure options, so we can diagnose typos.
1647 case $ac_dashdash$ac_option in
1649 ac_dashdash=yes ;;
1651 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1652 ac_prev=bindir ;;
1653 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1654 bindir=$ac_optarg ;;
1656 -build | --build | --buil | --bui | --bu)
1657 ac_prev=build_alias ;;
1658 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1659 build_alias=$ac_optarg ;;
1661 -cache-file | --cache-file | --cache-fil | --cache-fi \
1662 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1663 ac_prev=cache_file ;;
1664 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1665 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1666 cache_file=$ac_optarg ;;
1668 --config-cache | -C)
1669 cache_file=config.cache ;;
1671 -datadir | --datadir | --datadi | --datad)
1672 ac_prev=datadir ;;
1673 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1674 datadir=$ac_optarg ;;
1676 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1677 | --dataroo | --dataro | --datar)
1678 ac_prev=datarootdir ;;
1679 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1680 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1681 datarootdir=$ac_optarg ;;
1683 -disable-* | --disable-*)
1684 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1685 # Reject names that are not valid shell variable names.
1686 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1687 as_fn_error $? "invalid feature name: $ac_useropt"
1688 ac_useropt_orig=$ac_useropt
1689 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1690 case $ac_user_opts in
1692 "enable_$ac_useropt"
1693 "*) ;;
1694 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1695 ac_unrecognized_sep=', ';;
1696 esac
1697 eval enable_$ac_useropt=no ;;
1699 -docdir | --docdir | --docdi | --doc | --do)
1700 ac_prev=docdir ;;
1701 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1702 docdir=$ac_optarg ;;
1704 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1705 ac_prev=dvidir ;;
1706 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1707 dvidir=$ac_optarg ;;
1709 -enable-* | --enable-*)
1710 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1711 # Reject names that are not valid shell variable names.
1712 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1713 as_fn_error $? "invalid feature name: $ac_useropt"
1714 ac_useropt_orig=$ac_useropt
1715 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1716 case $ac_user_opts in
1718 "enable_$ac_useropt"
1719 "*) ;;
1720 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1721 ac_unrecognized_sep=', ';;
1722 esac
1723 eval enable_$ac_useropt=\$ac_optarg ;;
1725 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1726 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1727 | --exec | --exe | --ex)
1728 ac_prev=exec_prefix ;;
1729 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1730 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1731 | --exec=* | --exe=* | --ex=*)
1732 exec_prefix=$ac_optarg ;;
1734 -gas | --gas | --ga | --g)
1735 # Obsolete; use --with-gas.
1736 with_gas=yes ;;
1738 -help | --help | --hel | --he | -h)
1739 ac_init_help=long ;;
1740 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1741 ac_init_help=recursive ;;
1742 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1743 ac_init_help=short ;;
1745 -host | --host | --hos | --ho)
1746 ac_prev=host_alias ;;
1747 -host=* | --host=* | --hos=* | --ho=*)
1748 host_alias=$ac_optarg ;;
1750 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1751 ac_prev=htmldir ;;
1752 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1753 | --ht=*)
1754 htmldir=$ac_optarg ;;
1756 -includedir | --includedir | --includedi | --included | --include \
1757 | --includ | --inclu | --incl | --inc)
1758 ac_prev=includedir ;;
1759 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1760 | --includ=* | --inclu=* | --incl=* | --inc=*)
1761 includedir=$ac_optarg ;;
1763 -infodir | --infodir | --infodi | --infod | --info | --inf)
1764 ac_prev=infodir ;;
1765 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1766 infodir=$ac_optarg ;;
1768 -libdir | --libdir | --libdi | --libd)
1769 ac_prev=libdir ;;
1770 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1771 libdir=$ac_optarg ;;
1773 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1774 | --libexe | --libex | --libe)
1775 ac_prev=libexecdir ;;
1776 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1777 | --libexe=* | --libex=* | --libe=*)
1778 libexecdir=$ac_optarg ;;
1780 -localedir | --localedir | --localedi | --localed | --locale)
1781 ac_prev=localedir ;;
1782 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1783 localedir=$ac_optarg ;;
1785 -localstatedir | --localstatedir | --localstatedi | --localstated \
1786 | --localstate | --localstat | --localsta | --localst | --locals)
1787 ac_prev=localstatedir ;;
1788 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1789 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1790 localstatedir=$ac_optarg ;;
1792 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1793 ac_prev=mandir ;;
1794 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1795 mandir=$ac_optarg ;;
1797 -nfp | --nfp | --nf)
1798 # Obsolete; use --without-fp.
1799 with_fp=no ;;
1801 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1802 | --no-cr | --no-c | -n)
1803 no_create=yes ;;
1805 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1806 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1807 no_recursion=yes ;;
1809 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1810 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1811 | --oldin | --oldi | --old | --ol | --o)
1812 ac_prev=oldincludedir ;;
1813 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1814 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1815 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1816 oldincludedir=$ac_optarg ;;
1818 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1819 ac_prev=prefix ;;
1820 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1821 prefix=$ac_optarg ;;
1823 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1824 | --program-pre | --program-pr | --program-p)
1825 ac_prev=program_prefix ;;
1826 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1827 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1828 program_prefix=$ac_optarg ;;
1830 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1831 | --program-suf | --program-su | --program-s)
1832 ac_prev=program_suffix ;;
1833 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1834 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1835 program_suffix=$ac_optarg ;;
1837 -program-transform-name | --program-transform-name \
1838 | --program-transform-nam | --program-transform-na \
1839 | --program-transform-n | --program-transform- \
1840 | --program-transform | --program-transfor \
1841 | --program-transfo | --program-transf \
1842 | --program-trans | --program-tran \
1843 | --progr-tra | --program-tr | --program-t)
1844 ac_prev=program_transform_name ;;
1845 -program-transform-name=* | --program-transform-name=* \
1846 | --program-transform-nam=* | --program-transform-na=* \
1847 | --program-transform-n=* | --program-transform-=* \
1848 | --program-transform=* | --program-transfor=* \
1849 | --program-transfo=* | --program-transf=* \
1850 | --program-trans=* | --program-tran=* \
1851 | --progr-tra=* | --program-tr=* | --program-t=*)
1852 program_transform_name=$ac_optarg ;;
1854 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1855 ac_prev=pdfdir ;;
1856 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1857 pdfdir=$ac_optarg ;;
1859 -psdir | --psdir | --psdi | --psd | --ps)
1860 ac_prev=psdir ;;
1861 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1862 psdir=$ac_optarg ;;
1864 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1865 | -silent | --silent | --silen | --sile | --sil)
1866 silent=yes ;;
1868 -runstatedir | --runstatedir | --runstatedi | --runstated \
1869 | --runstate | --runstat | --runsta | --runst | --runs \
1870 | --run | --ru | --r)
1871 ac_prev=runstatedir ;;
1872 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1873 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1874 | --run=* | --ru=* | --r=*)
1875 runstatedir=$ac_optarg ;;
1877 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1878 ac_prev=sbindir ;;
1879 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1880 | --sbi=* | --sb=*)
1881 sbindir=$ac_optarg ;;
1883 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1884 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1885 | --sharedst | --shareds | --shared | --share | --shar \
1886 | --sha | --sh)
1887 ac_prev=sharedstatedir ;;
1888 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1889 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1890 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1891 | --sha=* | --sh=*)
1892 sharedstatedir=$ac_optarg ;;
1894 -site | --site | --sit)
1895 ac_prev=site ;;
1896 -site=* | --site=* | --sit=*)
1897 site=$ac_optarg ;;
1899 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1900 ac_prev=srcdir ;;
1901 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1902 srcdir=$ac_optarg ;;
1904 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1905 | --syscon | --sysco | --sysc | --sys | --sy)
1906 ac_prev=sysconfdir ;;
1907 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1908 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1909 sysconfdir=$ac_optarg ;;
1911 -target | --target | --targe | --targ | --tar | --ta | --t)
1912 ac_prev=target_alias ;;
1913 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1914 target_alias=$ac_optarg ;;
1916 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1917 verbose=yes ;;
1919 -version | --version | --versio | --versi | --vers | -V)
1920 ac_init_version=: ;;
1922 -with-* | --with-*)
1923 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1924 # Reject names that are not valid shell variable names.
1925 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1926 as_fn_error $? "invalid package name: $ac_useropt"
1927 ac_useropt_orig=$ac_useropt
1928 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1929 case $ac_user_opts in
1931 "with_$ac_useropt"
1932 "*) ;;
1933 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1934 ac_unrecognized_sep=', ';;
1935 esac
1936 eval with_$ac_useropt=\$ac_optarg ;;
1938 -without-* | --without-*)
1939 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1940 # Reject names that are not valid shell variable names.
1941 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1942 as_fn_error $? "invalid package name: $ac_useropt"
1943 ac_useropt_orig=$ac_useropt
1944 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1945 case $ac_user_opts in
1947 "with_$ac_useropt"
1948 "*) ;;
1949 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1950 ac_unrecognized_sep=', ';;
1951 esac
1952 eval with_$ac_useropt=no ;;
1954 --x)
1955 # Obsolete; use --with-x.
1956 with_x=yes ;;
1958 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1959 | --x-incl | --x-inc | --x-in | --x-i)
1960 ac_prev=x_includes ;;
1961 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1962 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1963 x_includes=$ac_optarg ;;
1965 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1966 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1967 ac_prev=x_libraries ;;
1968 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1969 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1970 x_libraries=$ac_optarg ;;
1972 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1973 Try \`$0 --help' for more information"
1976 *=*)
1977 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1978 # Reject names that are not valid shell variable names.
1979 case $ac_envvar in #(
1980 '' | [0-9]* | *[!_$as_cr_alnum]* )
1981 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1982 esac
1983 eval $ac_envvar=\$ac_optarg
1984 export $ac_envvar ;;
1987 # FIXME: should be removed in autoconf 3.0.
1988 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1989 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1990 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1991 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1994 esac
1995 done
1997 if test -n "$ac_prev"; then
1998 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1999 as_fn_error $? "missing argument to $ac_option"
2002 if test -n "$ac_unrecognized_opts"; then
2003 case $enable_option_checking in
2004 no) ;;
2005 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2006 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2007 esac
2010 # Check all directory arguments for consistency.
2011 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2012 datadir sysconfdir sharedstatedir localstatedir includedir \
2013 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2014 libdir localedir mandir runstatedir
2016 eval ac_val=\$$ac_var
2017 # Remove trailing slashes.
2018 case $ac_val in
2019 */ )
2020 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2021 eval $ac_var=\$ac_val;;
2022 esac
2023 # Be sure to have absolute directory names.
2024 case $ac_val in
2025 [\\/$]* | ?:[\\/]* ) continue;;
2026 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2027 esac
2028 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2029 done
2031 # There might be people who depend on the old broken behavior: `$host'
2032 # used to hold the argument of --host etc.
2033 # FIXME: To remove some day.
2034 build=$build_alias
2035 host=$host_alias
2036 target=$target_alias
2038 # FIXME: To remove some day.
2039 if test "x$host_alias" != x; then
2040 if test "x$build_alias" = x; then
2041 cross_compiling=maybe
2042 elif test "x$build_alias" != "x$host_alias"; then
2043 cross_compiling=yes
2047 ac_tool_prefix=
2048 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2050 test "$silent" = yes && exec 6>/dev/null
2053 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2054 ac_ls_di=`ls -di .` &&
2055 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2056 as_fn_error $? "working directory cannot be determined"
2057 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2058 as_fn_error $? "pwd does not report name of working directory"
2061 # Find the source files, if location was not specified.
2062 if test -z "$srcdir"; then
2063 ac_srcdir_defaulted=yes
2064 # Try the directory containing this script, then the parent directory.
2065 ac_confdir=`$as_dirname -- "$as_myself" ||
2066 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2067 X"$as_myself" : 'X\(//\)[^/]' \| \
2068 X"$as_myself" : 'X\(//\)$' \| \
2069 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2070 $as_echo X"$as_myself" |
2071 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2072 s//\1/
2075 /^X\(\/\/\)[^/].*/{
2076 s//\1/
2079 /^X\(\/\/\)$/{
2080 s//\1/
2083 /^X\(\/\).*/{
2084 s//\1/
2087 s/.*/./; q'`
2088 srcdir=$ac_confdir
2089 if test ! -r "$srcdir/$ac_unique_file"; then
2090 srcdir=..
2092 else
2093 ac_srcdir_defaulted=no
2095 if test ! -r "$srcdir/$ac_unique_file"; then
2096 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2097 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2099 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2100 ac_abs_confdir=`(
2101 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2102 pwd)`
2103 # When building in place, set srcdir=.
2104 if test "$ac_abs_confdir" = "$ac_pwd"; then
2105 srcdir=.
2107 # Remove unnecessary trailing slashes from srcdir.
2108 # Double slashes in file names in object file debugging info
2109 # mess up M-x gdb in Emacs.
2110 case $srcdir in
2111 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2112 esac
2113 for ac_var in $ac_precious_vars; do
2114 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2115 eval ac_env_${ac_var}_value=\$${ac_var}
2116 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2117 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2118 done
2121 # Report the --help message.
2123 if test "$ac_init_help" = "long"; then
2124 # Omit some internal or obsolete options to make the list less imposing.
2125 # This message is too long to be a string in the A/UX 3.1 sh.
2126 cat <<_ACEOF
2127 \`configure' configures Wine 1.9.4 to adapt to many kinds of systems.
2129 Usage: $0 [OPTION]... [VAR=VALUE]...
2131 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2132 VAR=VALUE. See below for descriptions of some of the useful variables.
2134 Defaults for the options are specified in brackets.
2136 Configuration:
2137 -h, --help display this help and exit
2138 --help=short display options specific to this package
2139 --help=recursive display the short help of all the included packages
2140 -V, --version display version information and exit
2141 -q, --quiet, --silent do not print \`checking ...' messages
2142 --cache-file=FILE cache test results in FILE [disabled]
2143 -C, --config-cache alias for \`--cache-file=config.cache'
2144 -n, --no-create do not create output files
2145 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2147 Installation directories:
2148 --prefix=PREFIX install architecture-independent files in PREFIX
2149 [$ac_default_prefix]
2150 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2151 [PREFIX]
2153 By default, \`make install' will install all the files in
2154 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2155 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2156 for instance \`--prefix=\$HOME'.
2158 For better control, use the options below.
2160 Fine tuning of the installation directories:
2161 --bindir=DIR user executables [EPREFIX/bin]
2162 --sbindir=DIR system admin executables [EPREFIX/sbin]
2163 --libexecdir=DIR program executables [EPREFIX/libexec]
2164 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2165 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2166 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2167 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2168 --libdir=DIR object code libraries [EPREFIX/lib]
2169 --includedir=DIR C header files [PREFIX/include]
2170 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2171 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2172 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2173 --infodir=DIR info documentation [DATAROOTDIR/info]
2174 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2175 --mandir=DIR man documentation [DATAROOTDIR/man]
2176 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2177 --htmldir=DIR html documentation [DOCDIR]
2178 --dvidir=DIR dvi documentation [DOCDIR]
2179 --pdfdir=DIR pdf documentation [DOCDIR]
2180 --psdir=DIR ps documentation [DOCDIR]
2181 _ACEOF
2183 cat <<\_ACEOF
2185 X features:
2186 --x-includes=DIR X include files are in DIR
2187 --x-libraries=DIR X library files are in DIR
2189 System types:
2190 --build=BUILD configure for building on BUILD [guessed]
2191 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2192 _ACEOF
2195 if test -n "$ac_init_help"; then
2196 case $ac_init_help in
2197 short | recursive ) echo "Configuration of Wine 1.9.4:";;
2198 esac
2199 cat <<\_ACEOF
2201 Optional Features:
2202 --disable-option-checking ignore unrecognized --enable/--with options
2203 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2204 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2205 --disable-win16 do not include Win16 support
2206 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2207 binaries)
2208 --disable-tests do not build the regression tests
2209 --enable-maintainer-mode
2210 enable maintainer-specific build rules
2211 --disable-largefile omit support for large files
2213 Optional Packages:
2214 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2215 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2216 --without-alsa do not use the Alsa sound support
2217 --without-capi do not use CAPI (ISDN support)
2218 --without-cms do not use CMS (color management support)
2219 --without-coreaudio do not use the CoreAudio sound support
2220 --without-cups do not use CUPS
2221 --without-curses do not use (n)curses
2222 --without-dbus do not use DBus (dynamic device support)
2223 --without-fontconfig do not use fontconfig
2224 --without-freetype do not use the FreeType library
2225 --without-gettext do not use gettext
2226 --with-gettextpo use the GetTextPO library to rebuild po files
2227 --without-gphoto do not use gphoto (Digital Camera support)
2228 --without-glu do not use the GLU library
2229 --without-gnutls do not use GnuTLS (schannel support)
2230 --without-gsm do not use libgsm (GSM 06.10 codec support)
2231 --without-gstreamer do not use GStreamer (codecs support)
2232 --without-hal do not use HAL (dynamic device support)
2233 --without-jpeg do not use JPEG
2234 --without-ldap do not use LDAP
2235 --without-mpg123 do not use the mpg123 library
2236 --without-netapi do not use the Samba NetAPI library
2237 --without-openal do not use OpenAL
2238 --without-opencl do not use OpenCL
2239 --without-opengl do not use OpenGL
2240 --without-osmesa do not use the OSMesa library
2241 --without-oss do not use the OSS sound support
2242 --without-pcap do not use the Packet Capture library
2243 --without-png do not use PNG
2244 --without-pthread do not use the pthread library
2245 --without-pulse do not use PulseAudio sound support
2246 --without-sane do not use SANE (scanner support)
2247 --without-tiff do not use TIFF
2248 --without-v4l do not use v4l1 (v4l support)
2249 --without-xcomposite do not use the Xcomposite extension
2250 --without-xcursor do not use the Xcursor extension
2251 --without-xinerama do not use Xinerama (multi-monitor support)
2252 --without-xinput do not use the Xinput extension
2253 --without-xinput2 do not use the Xinput 2 extension
2254 --without-xml do not use XML
2255 --without-xrandr do not use Xrandr (resolution changes)
2256 --without-xrender do not use the Xrender extension
2257 --without-xshape do not use the Xshape extension
2258 --without-xshm do not use XShm (shared memory extension)
2259 --without-xslt do not use XSLT
2260 --without-xxf86vm do not use XFree video mode extension
2261 --without-zlib do not use Zlib (data compression)
2262 --with-wine-tools=DIR use Wine tools from directory DIR
2263 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2264 --with-x use the X Window System
2266 Some influential environment variables:
2267 CC C compiler command
2268 CFLAGS C compiler flags
2269 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2270 nonstandard directory <lib dir>
2271 LIBS libraries to pass to the linker, e.g. -l<library>
2272 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2273 you have headers in a nonstandard directory <include dir>
2274 CXX C++ compiler command
2275 CXXFLAGS C++ compiler flags
2276 CPP C preprocessor
2277 XMKMF Path to xmkmf, Makefile generator for X Window System
2278 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2279 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2280 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2281 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2282 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2283 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2284 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2285 HAL_LIBS Linker flags for hal, overriding pkg-config
2286 GNUTLS_CFLAGS
2287 C compiler flags for gnutls, overriding pkg-config
2288 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2289 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2290 SANE_LIBS Linker flags for libsane, overriding pkg-config
2291 GPHOTO2_CFLAGS
2292 C compiler flags for libgphoto2, overriding pkg-config
2293 GPHOTO2_LIBS
2294 Linker flags for libgphoto2, overriding pkg-config
2295 GPHOTO2_PORT_CFLAGS
2296 C compiler flags for libgphoto2_port, overriding pkg-config
2297 GPHOTO2_PORT_LIBS
2298 Linker flags for libgphoto2_port, overriding pkg-config
2299 LCMS2_CFLAGS
2300 C compiler flags for lcms2, overriding pkg-config
2301 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2302 FREETYPE_CFLAGS
2303 C compiler flags for freetype2, overriding pkg-config
2304 FREETYPE_LIBS
2305 Linker flags for freetype2, overriding pkg-config
2306 PULSE_CFLAGS
2307 C compiler flags for libpulse, overriding pkg-config
2308 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2309 GSTREAMER_CFLAGS
2310 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2311 gstreamer-audio-1.0, overriding pkg-config
2312 GSTREAMER_LIBS
2313 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2314 gstreamer-audio-1.0, overriding pkg-config
2315 CAPI20_CFLAGS
2316 C compiler flags for capi20, overriding pkg-config
2317 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2318 FONTCONFIG_CFLAGS
2319 C compiler flags for fontconfig, overriding pkg-config
2320 FONTCONFIG_LIBS
2321 Linker flags for fontconfig, overriding pkg-config
2322 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2323 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2324 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2325 PNG_LIBS Linker flags for libpng, overriding pkg-config
2326 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2327 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2328 MPG123_CFLAGS
2329 C compiler flags for libmpg123, overriding pkg-config
2330 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2331 NETAPI_CFLAGS
2332 C compiler flags for netapi, overriding pkg-config
2333 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2335 Use these variables to override the choices made by `configure' or to help
2336 it to find libraries and programs with nonstandard names/locations.
2338 Report bugs to <wine-devel@winehq.org>.
2339 Wine home page: <http://www.winehq.org>.
2340 _ACEOF
2341 ac_status=$?
2344 if test "$ac_init_help" = "recursive"; then
2345 # If there are subdirs, report their specific --help.
2346 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2347 test -d "$ac_dir" ||
2348 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2349 continue
2350 ac_builddir=.
2352 case "$ac_dir" in
2353 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2355 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2356 # A ".." for each directory in $ac_dir_suffix.
2357 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2358 case $ac_top_builddir_sub in
2359 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2360 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2361 esac ;;
2362 esac
2363 ac_abs_top_builddir=$ac_pwd
2364 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2365 # for backward compatibility:
2366 ac_top_builddir=$ac_top_build_prefix
2368 case $srcdir in
2369 .) # We are building in place.
2370 ac_srcdir=.
2371 ac_top_srcdir=$ac_top_builddir_sub
2372 ac_abs_top_srcdir=$ac_pwd ;;
2373 [\\/]* | ?:[\\/]* ) # Absolute name.
2374 ac_srcdir=$srcdir$ac_dir_suffix;
2375 ac_top_srcdir=$srcdir
2376 ac_abs_top_srcdir=$srcdir ;;
2377 *) # Relative name.
2378 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2379 ac_top_srcdir=$ac_top_build_prefix$srcdir
2380 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2381 esac
2382 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2384 cd "$ac_dir" || { ac_status=$?; continue; }
2385 # Check for guested configure.
2386 if test -f "$ac_srcdir/configure.gnu"; then
2387 echo &&
2388 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2389 elif test -f "$ac_srcdir/configure"; then
2390 echo &&
2391 $SHELL "$ac_srcdir/configure" --help=recursive
2392 else
2393 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2394 fi || ac_status=$?
2395 cd "$ac_pwd" || { ac_status=$?; break; }
2396 done
2399 test -n "$ac_init_help" && exit $ac_status
2400 if $ac_init_version; then
2401 cat <<\_ACEOF
2402 Wine configure 1.9.4
2403 generated by GNU Autoconf 2.69
2405 Copyright (C) 2012 Free Software Foundation, Inc.
2406 This configure script is free software; the Free Software Foundation
2407 gives unlimited permission to copy, distribute and modify it.
2408 _ACEOF
2409 exit
2412 ## ------------------------ ##
2413 ## Autoconf initialization. ##
2414 ## ------------------------ ##
2416 # ac_fn_c_try_compile LINENO
2417 # --------------------------
2418 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2419 ac_fn_c_try_compile ()
2421 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2422 rm -f conftest.$ac_objext
2423 if { { ac_try="$ac_compile"
2424 case "(($ac_try" in
2425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2426 *) ac_try_echo=$ac_try;;
2427 esac
2428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2429 $as_echo "$ac_try_echo"; } >&5
2430 (eval "$ac_compile") 2>conftest.err
2431 ac_status=$?
2432 if test -s conftest.err; then
2433 grep -v '^ *+' conftest.err >conftest.er1
2434 cat conftest.er1 >&5
2435 mv -f conftest.er1 conftest.err
2437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2438 test $ac_status = 0; } && {
2439 test -z "$ac_c_werror_flag" ||
2440 test ! -s conftest.err
2441 } && test -s conftest.$ac_objext; then :
2442 ac_retval=0
2443 else
2444 $as_echo "$as_me: failed program was:" >&5
2445 sed 's/^/| /' conftest.$ac_ext >&5
2447 ac_retval=1
2449 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2450 as_fn_set_status $ac_retval
2452 } # ac_fn_c_try_compile
2454 # ac_fn_cxx_try_compile LINENO
2455 # ----------------------------
2456 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2457 ac_fn_cxx_try_compile ()
2459 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2460 rm -f conftest.$ac_objext
2461 if { { ac_try="$ac_compile"
2462 case "(($ac_try" in
2463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2464 *) ac_try_echo=$ac_try;;
2465 esac
2466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2467 $as_echo "$ac_try_echo"; } >&5
2468 (eval "$ac_compile") 2>conftest.err
2469 ac_status=$?
2470 if test -s conftest.err; then
2471 grep -v '^ *+' conftest.err >conftest.er1
2472 cat conftest.er1 >&5
2473 mv -f conftest.er1 conftest.err
2475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2476 test $ac_status = 0; } && {
2477 test -z "$ac_cxx_werror_flag" ||
2478 test ! -s conftest.err
2479 } && test -s conftest.$ac_objext; then :
2480 ac_retval=0
2481 else
2482 $as_echo "$as_me: failed program was:" >&5
2483 sed 's/^/| /' conftest.$ac_ext >&5
2485 ac_retval=1
2487 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2488 as_fn_set_status $ac_retval
2490 } # ac_fn_cxx_try_compile
2492 # ac_fn_c_try_link LINENO
2493 # -----------------------
2494 # Try to link conftest.$ac_ext, and return whether this succeeded.
2495 ac_fn_c_try_link ()
2497 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2498 rm -f conftest.$ac_objext conftest$ac_exeext
2499 if { { ac_try="$ac_link"
2500 case "(($ac_try" in
2501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2502 *) ac_try_echo=$ac_try;;
2503 esac
2504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2505 $as_echo "$ac_try_echo"; } >&5
2506 (eval "$ac_link") 2>conftest.err
2507 ac_status=$?
2508 if test -s conftest.err; then
2509 grep -v '^ *+' conftest.err >conftest.er1
2510 cat conftest.er1 >&5
2511 mv -f conftest.er1 conftest.err
2513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2514 test $ac_status = 0; } && {
2515 test -z "$ac_c_werror_flag" ||
2516 test ! -s conftest.err
2517 } && test -s conftest$ac_exeext && {
2518 test "$cross_compiling" = yes ||
2519 test -x conftest$ac_exeext
2520 }; then :
2521 ac_retval=0
2522 else
2523 $as_echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.$ac_ext >&5
2526 ac_retval=1
2528 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2529 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2530 # interfere with the next link command; also delete a directory that is
2531 # left behind by Apple's compiler. We do this before executing the actions.
2532 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2533 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2534 as_fn_set_status $ac_retval
2536 } # ac_fn_c_try_link
2538 # ac_fn_c_try_cpp LINENO
2539 # ----------------------
2540 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2541 ac_fn_c_try_cpp ()
2543 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2544 if { { ac_try="$ac_cpp conftest.$ac_ext"
2545 case "(($ac_try" in
2546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2547 *) ac_try_echo=$ac_try;;
2548 esac
2549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2550 $as_echo "$ac_try_echo"; } >&5
2551 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2552 ac_status=$?
2553 if test -s conftest.err; then
2554 grep -v '^ *+' conftest.err >conftest.er1
2555 cat conftest.er1 >&5
2556 mv -f conftest.er1 conftest.err
2558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2559 test $ac_status = 0; } > conftest.i && {
2560 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2561 test ! -s conftest.err
2562 }; then :
2563 ac_retval=0
2564 else
2565 $as_echo "$as_me: failed program was:" >&5
2566 sed 's/^/| /' conftest.$ac_ext >&5
2568 ac_retval=1
2570 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2571 as_fn_set_status $ac_retval
2573 } # ac_fn_c_try_cpp
2575 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2576 # -------------------------------------------------------
2577 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2578 # the include files in INCLUDES and setting the cache variable VAR
2579 # accordingly.
2580 ac_fn_c_check_header_mongrel ()
2582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2583 if eval \${$3+:} false; then :
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2585 $as_echo_n "checking for $2... " >&6; }
2586 if eval \${$3+:} false; then :
2587 $as_echo_n "(cached) " >&6
2589 eval ac_res=\$$3
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2591 $as_echo "$ac_res" >&6; }
2592 else
2593 # Is the header compilable?
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2595 $as_echo_n "checking $2 usability... " >&6; }
2596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2597 /* end confdefs.h. */
2599 #include <$2>
2600 _ACEOF
2601 if ac_fn_c_try_compile "$LINENO"; then :
2602 ac_header_compiler=yes
2603 else
2604 ac_header_compiler=no
2606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2608 $as_echo "$ac_header_compiler" >&6; }
2610 # Is the header present?
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2612 $as_echo_n "checking $2 presence... " >&6; }
2613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2614 /* end confdefs.h. */
2615 #include <$2>
2616 _ACEOF
2617 if ac_fn_c_try_cpp "$LINENO"; then :
2618 ac_header_preproc=yes
2619 else
2620 ac_header_preproc=no
2622 rm -f conftest.err conftest.i conftest.$ac_ext
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2624 $as_echo "$ac_header_preproc" >&6; }
2626 # So? What about this header?
2627 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2628 yes:no: )
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2630 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2632 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2634 no:yes:* )
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2636 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2638 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2640 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2642 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2644 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2645 ( $as_echo "## ------------------------------------ ##
2646 ## Report this to wine-devel@winehq.org ##
2647 ## ------------------------------------ ##"
2648 ) | sed "s/^/$as_me: WARNING: /" >&2
2650 esac
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2652 $as_echo_n "checking for $2... " >&6; }
2653 if eval \${$3+:} false; then :
2654 $as_echo_n "(cached) " >&6
2655 else
2656 eval "$3=\$ac_header_compiler"
2658 eval ac_res=\$$3
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2660 $as_echo "$ac_res" >&6; }
2662 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2664 } # ac_fn_c_check_header_mongrel
2666 # ac_fn_c_try_run LINENO
2667 # ----------------------
2668 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2669 # that executables *can* be run.
2670 ac_fn_c_try_run ()
2672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2673 if { { ac_try="$ac_link"
2674 case "(($ac_try" in
2675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2676 *) ac_try_echo=$ac_try;;
2677 esac
2678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2679 $as_echo "$ac_try_echo"; } >&5
2680 (eval "$ac_link") 2>&5
2681 ac_status=$?
2682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2683 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2684 { { case "(($ac_try" in
2685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2686 *) ac_try_echo=$ac_try;;
2687 esac
2688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2689 $as_echo "$ac_try_echo"; } >&5
2690 (eval "$ac_try") 2>&5
2691 ac_status=$?
2692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2693 test $ac_status = 0; }; }; then :
2694 ac_retval=0
2695 else
2696 $as_echo "$as_me: program exited with status $ac_status" >&5
2697 $as_echo "$as_me: failed program was:" >&5
2698 sed 's/^/| /' conftest.$ac_ext >&5
2700 ac_retval=$ac_status
2702 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2704 as_fn_set_status $ac_retval
2706 } # ac_fn_c_try_run
2708 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2709 # -------------------------------------------------------
2710 # Tests whether HEADER exists and can be compiled using the include files in
2711 # INCLUDES, setting the cache variable VAR accordingly.
2712 ac_fn_c_check_header_compile ()
2714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2716 $as_echo_n "checking for $2... " >&6; }
2717 if eval \${$3+:} false; then :
2718 $as_echo_n "(cached) " >&6
2719 else
2720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2721 /* end confdefs.h. */
2723 #include <$2>
2724 _ACEOF
2725 if ac_fn_c_try_compile "$LINENO"; then :
2726 eval "$3=yes"
2727 else
2728 eval "$3=no"
2730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2732 eval ac_res=\$$3
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2734 $as_echo "$ac_res" >&6; }
2735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2737 } # ac_fn_c_check_header_compile
2739 # ac_fn_c_check_func LINENO FUNC VAR
2740 # ----------------------------------
2741 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2742 ac_fn_c_check_func ()
2744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2746 $as_echo_n "checking for $2... " >&6; }
2747 if eval \${$3+:} false; then :
2748 $as_echo_n "(cached) " >&6
2749 else
2750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2751 /* end confdefs.h. */
2752 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2754 #define $2 innocuous_$2
2756 /* System header to define __stub macros and hopefully few prototypes,
2757 which can conflict with char $2 (); below.
2758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2759 <limits.h> exists even on freestanding compilers. */
2761 #ifdef __STDC__
2762 # include <limits.h>
2763 #else
2764 # include <assert.h>
2765 #endif
2767 #undef $2
2769 /* Override any GCC internal prototype to avoid an error.
2770 Use char because int might match the return type of a GCC
2771 builtin and then its argument prototype would still apply. */
2772 #ifdef __cplusplus
2773 extern "C"
2774 #endif
2775 char $2 ();
2776 /* The GNU C library defines this for functions which it implements
2777 to always fail with ENOSYS. Some functions are actually named
2778 something starting with __ and the normal name is an alias. */
2779 #if defined __stub_$2 || defined __stub___$2
2780 choke me
2781 #endif
2784 main ()
2786 return $2 ();
2788 return 0;
2790 _ACEOF
2791 if ac_fn_c_try_link "$LINENO"; then :
2792 eval "$3=yes"
2793 else
2794 eval "$3=no"
2796 rm -f core conftest.err conftest.$ac_objext \
2797 conftest$ac_exeext conftest.$ac_ext
2799 eval ac_res=\$$3
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2801 $as_echo "$ac_res" >&6; }
2802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2804 } # ac_fn_c_check_func
2806 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2807 # ----------------------------------------------------
2808 # Tries to find if the field MEMBER exists in type AGGR, after including
2809 # INCLUDES, setting cache variable VAR accordingly.
2810 ac_fn_c_check_member ()
2812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2814 $as_echo_n "checking for $2.$3... " >&6; }
2815 if eval \${$4+:} false; then :
2816 $as_echo_n "(cached) " >&6
2817 else
2818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2819 /* end confdefs.h. */
2822 main ()
2824 static $2 ac_aggr;
2825 if (ac_aggr.$3)
2826 return 0;
2828 return 0;
2830 _ACEOF
2831 if ac_fn_c_try_compile "$LINENO"; then :
2832 eval "$4=yes"
2833 else
2834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2835 /* end confdefs.h. */
2838 main ()
2840 static $2 ac_aggr;
2841 if (sizeof ac_aggr.$3)
2842 return 0;
2844 return 0;
2846 _ACEOF
2847 if ac_fn_c_try_compile "$LINENO"; then :
2848 eval "$4=yes"
2849 else
2850 eval "$4=no"
2852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2856 eval ac_res=\$$4
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2858 $as_echo "$ac_res" >&6; }
2859 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2861 } # ac_fn_c_check_member
2863 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2864 # -------------------------------------------
2865 # Tests whether TYPE exists after having included INCLUDES, setting cache
2866 # variable VAR accordingly.
2867 ac_fn_c_check_type ()
2869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2871 $as_echo_n "checking for $2... " >&6; }
2872 if eval \${$3+:} false; then :
2873 $as_echo_n "(cached) " >&6
2874 else
2875 eval "$3=no"
2876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2877 /* end confdefs.h. */
2880 main ()
2882 if (sizeof ($2))
2883 return 0;
2885 return 0;
2887 _ACEOF
2888 if ac_fn_c_try_compile "$LINENO"; then :
2889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2890 /* end confdefs.h. */
2893 main ()
2895 if (sizeof (($2)))
2896 return 0;
2898 return 0;
2900 _ACEOF
2901 if ac_fn_c_try_compile "$LINENO"; then :
2903 else
2904 eval "$3=yes"
2906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2910 eval ac_res=\$$3
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2912 $as_echo "$ac_res" >&6; }
2913 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2915 } # ac_fn_c_check_type
2916 cat >config.log <<_ACEOF
2917 This file contains any messages produced by compilers while
2918 running configure, to aid debugging if configure makes a mistake.
2920 It was created by Wine $as_me 1.9.4, which was
2921 generated by GNU Autoconf 2.69. Invocation command line was
2923 $ $0 $@
2925 _ACEOF
2926 exec 5>>config.log
2928 cat <<_ASUNAME
2929 ## --------- ##
2930 ## Platform. ##
2931 ## --------- ##
2933 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2934 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2935 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2936 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2937 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2939 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2940 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2942 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2943 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2944 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2945 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2946 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2947 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2948 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2950 _ASUNAME
2952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2953 for as_dir in $PATH
2955 IFS=$as_save_IFS
2956 test -z "$as_dir" && as_dir=.
2957 $as_echo "PATH: $as_dir"
2958 done
2959 IFS=$as_save_IFS
2961 } >&5
2963 cat >&5 <<_ACEOF
2966 ## ----------- ##
2967 ## Core tests. ##
2968 ## ----------- ##
2970 _ACEOF
2973 # Keep a trace of the command line.
2974 # Strip out --no-create and --no-recursion so they do not pile up.
2975 # Strip out --silent because we don't want to record it for future runs.
2976 # Also quote any args containing shell meta-characters.
2977 # Make two passes to allow for proper duplicate-argument suppression.
2978 ac_configure_args=
2979 ac_configure_args0=
2980 ac_configure_args1=
2981 ac_must_keep_next=false
2982 for ac_pass in 1 2
2984 for ac_arg
2986 case $ac_arg in
2987 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2988 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2989 | -silent | --silent | --silen | --sile | --sil)
2990 continue ;;
2991 *\'*)
2992 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2993 esac
2994 case $ac_pass in
2995 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2997 as_fn_append ac_configure_args1 " '$ac_arg'"
2998 if test $ac_must_keep_next = true; then
2999 ac_must_keep_next=false # Got value, back to normal.
3000 else
3001 case $ac_arg in
3002 *=* | --config-cache | -C | -disable-* | --disable-* \
3003 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3004 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3005 | -with-* | --with-* | -without-* | --without-* | --x)
3006 case "$ac_configure_args0 " in
3007 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3008 esac
3010 -* ) ac_must_keep_next=true ;;
3011 esac
3013 as_fn_append ac_configure_args " '$ac_arg'"
3015 esac
3016 done
3017 done
3018 { ac_configure_args0=; unset ac_configure_args0;}
3019 { ac_configure_args1=; unset ac_configure_args1;}
3021 # When interrupted or exit'd, cleanup temporary files, and complete
3022 # config.log. We remove comments because anyway the quotes in there
3023 # would cause problems or look ugly.
3024 # WARNING: Use '\'' to represent an apostrophe within the trap.
3025 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3026 trap 'exit_status=$?
3027 # Save into config.log some information that might help in debugging.
3029 echo
3031 $as_echo "## ---------------- ##
3032 ## Cache variables. ##
3033 ## ---------------- ##"
3034 echo
3035 # The following way of writing the cache mishandles newlines in values,
3037 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3038 eval ac_val=\$$ac_var
3039 case $ac_val in #(
3040 *${as_nl}*)
3041 case $ac_var in #(
3042 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3043 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3044 esac
3045 case $ac_var in #(
3046 _ | IFS | as_nl) ;; #(
3047 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3048 *) { eval $ac_var=; unset $ac_var;} ;;
3049 esac ;;
3050 esac
3051 done
3052 (set) 2>&1 |
3053 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3054 *${as_nl}ac_space=\ *)
3055 sed -n \
3056 "s/'\''/'\''\\\\'\'''\''/g;
3057 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3058 ;; #(
3060 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3062 esac |
3063 sort
3065 echo
3067 $as_echo "## ----------------- ##
3068 ## Output variables. ##
3069 ## ----------------- ##"
3070 echo
3071 for ac_var in $ac_subst_vars
3073 eval ac_val=\$$ac_var
3074 case $ac_val in
3075 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3076 esac
3077 $as_echo "$ac_var='\''$ac_val'\''"
3078 done | sort
3079 echo
3081 if test -n "$ac_subst_files"; then
3082 $as_echo "## ------------------- ##
3083 ## File substitutions. ##
3084 ## ------------------- ##"
3085 echo
3086 for ac_var in $ac_subst_files
3088 eval ac_val=\$$ac_var
3089 case $ac_val in
3090 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3091 esac
3092 $as_echo "$ac_var='\''$ac_val'\''"
3093 done | sort
3094 echo
3097 if test -s confdefs.h; then
3098 $as_echo "## ----------- ##
3099 ## confdefs.h. ##
3100 ## ----------- ##"
3101 echo
3102 cat confdefs.h
3103 echo
3105 test "$ac_signal" != 0 &&
3106 $as_echo "$as_me: caught signal $ac_signal"
3107 $as_echo "$as_me: exit $exit_status"
3108 } >&5
3109 rm -f core *.core core.conftest.* &&
3110 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3111 exit $exit_status
3113 for ac_signal in 1 2 13 15; do
3114 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3115 done
3116 ac_signal=0
3118 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3119 rm -f -r conftest* confdefs.h
3121 $as_echo "/* confdefs.h */" > confdefs.h
3123 # Predefined preprocessor variables.
3125 cat >>confdefs.h <<_ACEOF
3126 #define PACKAGE_NAME "$PACKAGE_NAME"
3127 _ACEOF
3129 cat >>confdefs.h <<_ACEOF
3130 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3131 _ACEOF
3133 cat >>confdefs.h <<_ACEOF
3134 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3135 _ACEOF
3137 cat >>confdefs.h <<_ACEOF
3138 #define PACKAGE_STRING "$PACKAGE_STRING"
3139 _ACEOF
3141 cat >>confdefs.h <<_ACEOF
3142 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3143 _ACEOF
3145 cat >>confdefs.h <<_ACEOF
3146 #define PACKAGE_URL "$PACKAGE_URL"
3147 _ACEOF
3150 # Let the site file select an alternate cache file if it wants to.
3151 # Prefer an explicitly selected file to automatically selected ones.
3152 ac_site_file1=NONE
3153 ac_site_file2=NONE
3154 if test -n "$CONFIG_SITE"; then
3155 # We do not want a PATH search for config.site.
3156 case $CONFIG_SITE in #((
3157 -*) ac_site_file1=./$CONFIG_SITE;;
3158 */*) ac_site_file1=$CONFIG_SITE;;
3159 *) ac_site_file1=./$CONFIG_SITE;;
3160 esac
3161 elif test "x$prefix" != xNONE; then
3162 ac_site_file1=$prefix/share/config.site
3163 ac_site_file2=$prefix/etc/config.site
3164 else
3165 ac_site_file1=$ac_default_prefix/share/config.site
3166 ac_site_file2=$ac_default_prefix/etc/config.site
3168 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3170 test "x$ac_site_file" = xNONE && continue
3171 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3173 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3174 sed 's/^/| /' "$ac_site_file" >&5
3175 . "$ac_site_file" \
3176 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3178 as_fn_error $? "failed to load site script $ac_site_file
3179 See \`config.log' for more details" "$LINENO" 5; }
3181 done
3183 if test -r "$cache_file"; then
3184 # Some versions of bash will fail to source /dev/null (special files
3185 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3186 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3188 $as_echo "$as_me: loading cache $cache_file" >&6;}
3189 case $cache_file in
3190 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3191 *) . "./$cache_file";;
3192 esac
3194 else
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3196 $as_echo "$as_me: creating cache $cache_file" >&6;}
3197 >$cache_file
3200 # Check that the precious variables saved in the cache have kept the same
3201 # value.
3202 ac_cache_corrupted=false
3203 for ac_var in $ac_precious_vars; do
3204 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3205 eval ac_new_set=\$ac_env_${ac_var}_set
3206 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3207 eval ac_new_val=\$ac_env_${ac_var}_value
3208 case $ac_old_set,$ac_new_set in
3209 set,)
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3211 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3212 ac_cache_corrupted=: ;;
3213 ,set)
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3215 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3216 ac_cache_corrupted=: ;;
3217 ,);;
3219 if test "x$ac_old_val" != "x$ac_new_val"; then
3220 # differences in whitespace do not lead to failure.
3221 ac_old_val_w=`echo x $ac_old_val`
3222 ac_new_val_w=`echo x $ac_new_val`
3223 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3225 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3226 ac_cache_corrupted=:
3227 else
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3229 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3230 eval $ac_var=\$ac_old_val
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3233 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3235 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3236 fi;;
3237 esac
3238 # Pass precious variables to config.status.
3239 if test "$ac_new_set" = set; then
3240 case $ac_new_val in
3241 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3242 *) ac_arg=$ac_var=$ac_new_val ;;
3243 esac
3244 case " $ac_configure_args " in
3245 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3246 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3247 esac
3249 done
3250 if $ac_cache_corrupted; then
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3254 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3255 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3257 ## -------------------- ##
3258 ## Main body of script. ##
3259 ## -------------------- ##
3261 ac_ext=c
3262 ac_cpp='$CPP $CPPFLAGS'
3263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3269 ac_config_headers="$ac_config_headers include/config.h"
3271 ac_aux_dir=
3272 for ac_dir in tools "$srcdir"/tools; do
3273 if test -f "$ac_dir/install-sh"; then
3274 ac_aux_dir=$ac_dir
3275 ac_install_sh="$ac_aux_dir/install-sh -c"
3276 break
3277 elif test -f "$ac_dir/install.sh"; then
3278 ac_aux_dir=$ac_dir
3279 ac_install_sh="$ac_aux_dir/install.sh -c"
3280 break
3281 elif test -f "$ac_dir/shtool"; then
3282 ac_aux_dir=$ac_dir
3283 ac_install_sh="$ac_aux_dir/shtool install -c"
3284 break
3286 done
3287 if test -z "$ac_aux_dir"; then
3288 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3291 # These three variables are undocumented and unsupported,
3292 # and are intended to be withdrawn in a future Autoconf release.
3293 # They can cause serious problems if a builder's source tree is in a directory
3294 # whose full name contains unusual characters.
3295 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3296 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3297 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3301 libwine_version="1.0"
3305 # Check whether --enable-win16 was given.
3306 if test "${enable_win16+set}" = set; then :
3307 enableval=$enable_win16;
3310 # Check whether --enable-win64 was given.
3311 if test "${enable_win64+set}" = set; then :
3312 enableval=$enable_win64;
3315 # Check whether --enable-tests was given.
3316 if test "${enable_tests+set}" = set; then :
3317 enableval=$enable_tests;
3320 # Check whether --enable-maintainer-mode was given.
3321 if test "${enable_maintainer_mode+set}" = set; then :
3322 enableval=$enable_maintainer_mode;
3327 # Check whether --with-alsa was given.
3328 if test "${with_alsa+set}" = set; then :
3329 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3333 # Check whether --with-capi was given.
3334 if test "${with_capi+set}" = set; then :
3335 withval=$with_capi;
3339 # Check whether --with-cms was given.
3340 if test "${with_cms+set}" = set; then :
3341 withval=$with_cms;
3345 # Check whether --with-coreaudio was given.
3346 if test "${with_coreaudio+set}" = set; then :
3347 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3351 # Check whether --with-cups was given.
3352 if test "${with_cups+set}" = set; then :
3353 withval=$with_cups;
3357 # Check whether --with-curses was given.
3358 if test "${with_curses+set}" = set; then :
3359 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3363 # Check whether --with-dbus was given.
3364 if test "${with_dbus+set}" = set; then :
3365 withval=$with_dbus;
3369 # Check whether --with-fontconfig was given.
3370 if test "${with_fontconfig+set}" = set; then :
3371 withval=$with_fontconfig;
3375 # Check whether --with-freetype was given.
3376 if test "${with_freetype+set}" = set; then :
3377 withval=$with_freetype;
3381 # Check whether --with-gettext was given.
3382 if test "${with_gettext+set}" = set; then :
3383 withval=$with_gettext;
3387 # Check whether --with-gettextpo was given.
3388 if test "${with_gettextpo+set}" = set; then :
3389 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3393 # Check whether --with-gphoto was given.
3394 if test "${with_gphoto+set}" = set; then :
3395 withval=$with_gphoto;
3399 # Check whether --with-glu was given.
3400 if test "${with_glu+set}" = set; then :
3401 withval=$with_glu;
3405 # Check whether --with-gnutls was given.
3406 if test "${with_gnutls+set}" = set; then :
3407 withval=$with_gnutls;
3411 # Check whether --with-gsm was given.
3412 if test "${with_gsm+set}" = set; then :
3413 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3417 # Check whether --with-gstreamer was given.
3418 if test "${with_gstreamer+set}" = set; then :
3419 withval=$with_gstreamer;
3423 # Check whether --with-hal was given.
3424 if test "${with_hal+set}" = set; then :
3425 withval=$with_hal;
3429 # Check whether --with-jpeg was given.
3430 if test "${with_jpeg+set}" = set; then :
3431 withval=$with_jpeg;
3435 # Check whether --with-ldap was given.
3436 if test "${with_ldap+set}" = set; then :
3437 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3441 # Check whether --with-mpg123 was given.
3442 if test "${with_mpg123+set}" = set; then :
3443 withval=$with_mpg123;
3447 # Check whether --with-netapi was given.
3448 if test "${with_netapi+set}" = set; then :
3449 withval=$with_netapi;
3453 # Check whether --with-openal was given.
3454 if test "${with_openal+set}" = set; then :
3455 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3459 # Check whether --with-opencl was given.
3460 if test "${with_opencl+set}" = set; then :
3461 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3465 # Check whether --with-opengl was given.
3466 if test "${with_opengl+set}" = set; then :
3467 withval=$with_opengl;
3471 # Check whether --with-osmesa was given.
3472 if test "${with_osmesa+set}" = set; then :
3473 withval=$with_osmesa;
3477 # Check whether --with-oss was given.
3478 if test "${with_oss+set}" = set; then :
3479 withval=$with_oss;
3483 # Check whether --with-pcap was given.
3484 if test "${with_pcap+set}" = set; then :
3485 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3489 # Check whether --with-png was given.
3490 if test "${with_png+set}" = set; then :
3491 withval=$with_png;
3495 # Check whether --with-pthread was given.
3496 if test "${with_pthread+set}" = set; then :
3497 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3501 # Check whether --with-pulse was given.
3502 if test "${with_pulse+set}" = set; then :
3503 withval=$with_pulse;
3507 # Check whether --with-sane was given.
3508 if test "${with_sane+set}" = set; then :
3509 withval=$with_sane;
3513 # Check whether --with-tiff was given.
3514 if test "${with_tiff+set}" = set; then :
3515 withval=$with_tiff;
3519 # Check whether --with-v4l was given.
3520 if test "${with_v4l+set}" = set; then :
3521 withval=$with_v4l;
3525 # Check whether --with-xcomposite was given.
3526 if test "${with_xcomposite+set}" = set; then :
3527 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3531 # Check whether --with-xcursor was given.
3532 if test "${with_xcursor+set}" = set; then :
3533 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3537 # Check whether --with-xinerama was given.
3538 if test "${with_xinerama+set}" = set; then :
3539 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3543 # Check whether --with-xinput was given.
3544 if test "${with_xinput+set}" = set; then :
3545 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3549 # Check whether --with-xinput2 was given.
3550 if test "${with_xinput2+set}" = set; then :
3551 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3555 # Check whether --with-xml was given.
3556 if test "${with_xml+set}" = set; then :
3557 withval=$with_xml;
3561 # Check whether --with-xrandr was given.
3562 if test "${with_xrandr+set}" = set; then :
3563 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3567 # Check whether --with-xrender was given.
3568 if test "${with_xrender+set}" = set; then :
3569 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3573 # Check whether --with-xshape was given.
3574 if test "${with_xshape+set}" = set; then :
3575 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3579 # Check whether --with-xshm was given.
3580 if test "${with_xshm+set}" = set; then :
3581 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3585 # Check whether --with-xslt was given.
3586 if test "${with_xslt+set}" = set; then :
3587 withval=$with_xslt;
3591 # Check whether --with-xxf86vm was given.
3592 if test "${with_xxf86vm+set}" = set; then :
3593 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
3597 # Check whether --with-zlib was given.
3598 if test "${with_zlib+set}" = set; then :
3599 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3604 # Check whether --with-wine-tools was given.
3605 if test "${with_wine_tools+set}" = set; then :
3606 withval=$with_wine_tools;
3610 # Check whether --with-wine64 was given.
3611 if test "${with_wine64+set}" = set; then :
3612 withval=$with_wine64;
3616 # Make sure we can run config.sub.
3617 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3618 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3621 $as_echo_n "checking build system type... " >&6; }
3622 if ${ac_cv_build+:} false; then :
3623 $as_echo_n "(cached) " >&6
3624 else
3625 ac_build_alias=$build_alias
3626 test "x$ac_build_alias" = x &&
3627 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3628 test "x$ac_build_alias" = x &&
3629 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3630 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3631 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3635 $as_echo "$ac_cv_build" >&6; }
3636 case $ac_cv_build in
3637 *-*-*) ;;
3638 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3639 esac
3640 build=$ac_cv_build
3641 ac_save_IFS=$IFS; IFS='-'
3642 set x $ac_cv_build
3643 shift
3644 build_cpu=$1
3645 build_vendor=$2
3646 shift; shift
3647 # Remember, the first character of IFS is used to create $*,
3648 # except with old shells:
3649 build_os=$*
3650 IFS=$ac_save_IFS
3651 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3655 $as_echo_n "checking host system type... " >&6; }
3656 if ${ac_cv_host+:} false; then :
3657 $as_echo_n "(cached) " >&6
3658 else
3659 if test "x$host_alias" = x; then
3660 ac_cv_host=$ac_cv_build
3661 else
3662 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3663 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3668 $as_echo "$ac_cv_host" >&6; }
3669 case $ac_cv_host in
3670 *-*-*) ;;
3671 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3672 esac
3673 host=$ac_cv_host
3674 ac_save_IFS=$IFS; IFS='-'
3675 set x $ac_cv_host
3676 shift
3677 host_cpu=$1
3678 host_vendor=$2
3679 shift; shift
3680 # Remember, the first character of IFS is used to create $*,
3681 # except with old shells:
3682 host_os=$*
3683 IFS=$ac_save_IFS
3684 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3688 case "$srcdir" in
3689 .) ;;
3690 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3691 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3692 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3693 fi ;;
3694 esac
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3698 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3699 set x ${MAKE-make}
3700 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3701 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3702 $as_echo_n "(cached) " >&6
3703 else
3704 cat >conftest.make <<\_ACEOF
3705 SHELL = /bin/sh
3706 all:
3707 @echo '@@@%%%=$(MAKE)=@@@%%%'
3708 _ACEOF
3709 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3710 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3711 *@@@%%%=?*=@@@%%%*)
3712 eval ac_cv_prog_make_${ac_make}_set=yes;;
3714 eval ac_cv_prog_make_${ac_make}_set=no;;
3715 esac
3716 rm -f conftest.make
3718 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3720 $as_echo "yes" >&6; }
3721 SET_MAKE=
3722 else
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3724 $as_echo "no" >&6; }
3725 SET_MAKE="MAKE=${MAKE-make}"
3728 ac_ext=c
3729 ac_cpp='$CPP $CPPFLAGS'
3730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3733 if test -n "$ac_tool_prefix"; then
3734 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3735 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3737 $as_echo_n "checking for $ac_word... " >&6; }
3738 if ${ac_cv_prog_CC+:} false; then :
3739 $as_echo_n "(cached) " >&6
3740 else
3741 if test -n "$CC"; then
3742 ac_cv_prog_CC="$CC" # Let the user override the test.
3743 else
3744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3745 for as_dir in $PATH
3747 IFS=$as_save_IFS
3748 test -z "$as_dir" && as_dir=.
3749 for ac_exec_ext in '' $ac_executable_extensions; do
3750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3751 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3753 break 2
3755 done
3756 done
3757 IFS=$as_save_IFS
3761 CC=$ac_cv_prog_CC
3762 if test -n "$CC"; then
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3764 $as_echo "$CC" >&6; }
3765 else
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3767 $as_echo "no" >&6; }
3772 if test -z "$ac_cv_prog_CC"; then
3773 ac_ct_CC=$CC
3774 # Extract the first word of "gcc", so it can be a program name with args.
3775 set dummy gcc; ac_word=$2
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3777 $as_echo_n "checking for $ac_word... " >&6; }
3778 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3779 $as_echo_n "(cached) " >&6
3780 else
3781 if test -n "$ac_ct_CC"; then
3782 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3783 else
3784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3785 for as_dir in $PATH
3787 IFS=$as_save_IFS
3788 test -z "$as_dir" && as_dir=.
3789 for ac_exec_ext in '' $ac_executable_extensions; do
3790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3791 ac_cv_prog_ac_ct_CC="gcc"
3792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3793 break 2
3795 done
3796 done
3797 IFS=$as_save_IFS
3801 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3802 if test -n "$ac_ct_CC"; then
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3804 $as_echo "$ac_ct_CC" >&6; }
3805 else
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3807 $as_echo "no" >&6; }
3810 if test "x$ac_ct_CC" = x; then
3811 CC=""
3812 else
3813 case $cross_compiling:$ac_tool_warned in
3814 yes:)
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3817 ac_tool_warned=yes ;;
3818 esac
3819 CC=$ac_ct_CC
3821 else
3822 CC="$ac_cv_prog_CC"
3825 if test -z "$CC"; then
3826 if test -n "$ac_tool_prefix"; then
3827 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3828 set dummy ${ac_tool_prefix}cc; ac_word=$2
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3830 $as_echo_n "checking for $ac_word... " >&6; }
3831 if ${ac_cv_prog_CC+:} false; then :
3832 $as_echo_n "(cached) " >&6
3833 else
3834 if test -n "$CC"; then
3835 ac_cv_prog_CC="$CC" # Let the user override the test.
3836 else
3837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3838 for as_dir in $PATH
3840 IFS=$as_save_IFS
3841 test -z "$as_dir" && as_dir=.
3842 for ac_exec_ext in '' $ac_executable_extensions; do
3843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3844 ac_cv_prog_CC="${ac_tool_prefix}cc"
3845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3846 break 2
3848 done
3849 done
3850 IFS=$as_save_IFS
3854 CC=$ac_cv_prog_CC
3855 if test -n "$CC"; then
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3857 $as_echo "$CC" >&6; }
3858 else
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3860 $as_echo "no" >&6; }
3866 if test -z "$CC"; then
3867 # Extract the first word of "cc", so it can be a program name with args.
3868 set dummy cc; ac_word=$2
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3870 $as_echo_n "checking for $ac_word... " >&6; }
3871 if ${ac_cv_prog_CC+:} false; then :
3872 $as_echo_n "(cached) " >&6
3873 else
3874 if test -n "$CC"; then
3875 ac_cv_prog_CC="$CC" # Let the user override the test.
3876 else
3877 ac_prog_rejected=no
3878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3879 for as_dir in $PATH
3881 IFS=$as_save_IFS
3882 test -z "$as_dir" && as_dir=.
3883 for ac_exec_ext in '' $ac_executable_extensions; do
3884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3885 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3886 ac_prog_rejected=yes
3887 continue
3889 ac_cv_prog_CC="cc"
3890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3891 break 2
3893 done
3894 done
3895 IFS=$as_save_IFS
3897 if test $ac_prog_rejected = yes; then
3898 # We found a bogon in the path, so make sure we never use it.
3899 set dummy $ac_cv_prog_CC
3900 shift
3901 if test $# != 0; then
3902 # We chose a different compiler from the bogus one.
3903 # However, it has the same basename, so the bogon will be chosen
3904 # first if we set CC to just the basename; use the full file name.
3905 shift
3906 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3911 CC=$ac_cv_prog_CC
3912 if test -n "$CC"; then
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3914 $as_echo "$CC" >&6; }
3915 else
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3917 $as_echo "no" >&6; }
3922 if test -z "$CC"; then
3923 if test -n "$ac_tool_prefix"; then
3924 for ac_prog in cl.exe
3926 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3927 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3929 $as_echo_n "checking for $ac_word... " >&6; }
3930 if ${ac_cv_prog_CC+:} false; then :
3931 $as_echo_n "(cached) " >&6
3932 else
3933 if test -n "$CC"; then
3934 ac_cv_prog_CC="$CC" # Let the user override the test.
3935 else
3936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3937 for as_dir in $PATH
3939 IFS=$as_save_IFS
3940 test -z "$as_dir" && as_dir=.
3941 for ac_exec_ext in '' $ac_executable_extensions; do
3942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3943 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3945 break 2
3947 done
3948 done
3949 IFS=$as_save_IFS
3953 CC=$ac_cv_prog_CC
3954 if test -n "$CC"; then
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3956 $as_echo "$CC" >&6; }
3957 else
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3959 $as_echo "no" >&6; }
3963 test -n "$CC" && break
3964 done
3966 if test -z "$CC"; then
3967 ac_ct_CC=$CC
3968 for ac_prog in cl.exe
3970 # Extract the first word of "$ac_prog", so it can be a program name with args.
3971 set dummy $ac_prog; ac_word=$2
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3973 $as_echo_n "checking for $ac_word... " >&6; }
3974 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3975 $as_echo_n "(cached) " >&6
3976 else
3977 if test -n "$ac_ct_CC"; then
3978 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3979 else
3980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3981 for as_dir in $PATH
3983 IFS=$as_save_IFS
3984 test -z "$as_dir" && as_dir=.
3985 for ac_exec_ext in '' $ac_executable_extensions; do
3986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3987 ac_cv_prog_ac_ct_CC="$ac_prog"
3988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3989 break 2
3991 done
3992 done
3993 IFS=$as_save_IFS
3997 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3998 if test -n "$ac_ct_CC"; then
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4000 $as_echo "$ac_ct_CC" >&6; }
4001 else
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4003 $as_echo "no" >&6; }
4007 test -n "$ac_ct_CC" && break
4008 done
4010 if test "x$ac_ct_CC" = x; then
4011 CC=""
4012 else
4013 case $cross_compiling:$ac_tool_warned in
4014 yes:)
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4017 ac_tool_warned=yes ;;
4018 esac
4019 CC=$ac_ct_CC
4026 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4028 as_fn_error $? "no acceptable C compiler found in \$PATH
4029 See \`config.log' for more details" "$LINENO" 5; }
4031 # Provide some information about the compiler.
4032 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4033 set X $ac_compile
4034 ac_compiler=$2
4035 for ac_option in --version -v -V -qversion; do
4036 { { ac_try="$ac_compiler $ac_option >&5"
4037 case "(($ac_try" in
4038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4039 *) ac_try_echo=$ac_try;;
4040 esac
4041 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4042 $as_echo "$ac_try_echo"; } >&5
4043 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4044 ac_status=$?
4045 if test -s conftest.err; then
4046 sed '10a\
4047 ... rest of stderr output deleted ...
4048 10q' conftest.err >conftest.er1
4049 cat conftest.er1 >&5
4051 rm -f conftest.er1 conftest.err
4052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4053 test $ac_status = 0; }
4054 done
4056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4057 /* end confdefs.h. */
4060 main ()
4064 return 0;
4066 _ACEOF
4067 ac_clean_files_save=$ac_clean_files
4068 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4069 # Try to create an executable without -o first, disregard a.out.
4070 # It will help us diagnose broken compilers, and finding out an intuition
4071 # of exeext.
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4073 $as_echo_n "checking whether the C compiler works... " >&6; }
4074 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4076 # The possible output files:
4077 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4079 ac_rmfiles=
4080 for ac_file in $ac_files
4082 case $ac_file in
4083 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4084 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4085 esac
4086 done
4087 rm -f $ac_rmfiles
4089 if { { ac_try="$ac_link_default"
4090 case "(($ac_try" in
4091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4092 *) ac_try_echo=$ac_try;;
4093 esac
4094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4095 $as_echo "$ac_try_echo"; } >&5
4096 (eval "$ac_link_default") 2>&5
4097 ac_status=$?
4098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4099 test $ac_status = 0; }; then :
4100 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4101 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4102 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4103 # so that the user can short-circuit this test for compilers unknown to
4104 # Autoconf.
4105 for ac_file in $ac_files ''
4107 test -f "$ac_file" || continue
4108 case $ac_file in
4109 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4111 [ab].out )
4112 # We found the default executable, but exeext='' is most
4113 # certainly right.
4114 break;;
4115 *.* )
4116 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4117 then :; else
4118 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4120 # We set ac_cv_exeext here because the later test for it is not
4121 # safe: cross compilers may not add the suffix if given an `-o'
4122 # argument, so we may need to know it at that point already.
4123 # Even if this section looks crufty: it has the advantage of
4124 # actually working.
4125 break;;
4127 break;;
4128 esac
4129 done
4130 test "$ac_cv_exeext" = no && ac_cv_exeext=
4132 else
4133 ac_file=''
4135 if test -z "$ac_file"; then :
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4137 $as_echo "no" >&6; }
4138 $as_echo "$as_me: failed program was:" >&5
4139 sed 's/^/| /' conftest.$ac_ext >&5
4141 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4143 as_fn_error 77 "C compiler cannot create executables
4144 See \`config.log' for more details" "$LINENO" 5; }
4145 else
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4147 $as_echo "yes" >&6; }
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4150 $as_echo_n "checking for C compiler default output file name... " >&6; }
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4152 $as_echo "$ac_file" >&6; }
4153 ac_exeext=$ac_cv_exeext
4155 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4156 ac_clean_files=$ac_clean_files_save
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4158 $as_echo_n "checking for suffix of executables... " >&6; }
4159 if { { ac_try="$ac_link"
4160 case "(($ac_try" in
4161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4162 *) ac_try_echo=$ac_try;;
4163 esac
4164 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4165 $as_echo "$ac_try_echo"; } >&5
4166 (eval "$ac_link") 2>&5
4167 ac_status=$?
4168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4169 test $ac_status = 0; }; then :
4170 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4171 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4172 # work properly (i.e., refer to `conftest.exe'), while it won't with
4173 # `rm'.
4174 for ac_file in conftest.exe conftest conftest.*; do
4175 test -f "$ac_file" || continue
4176 case $ac_file in
4177 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4178 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4179 break;;
4180 * ) break;;
4181 esac
4182 done
4183 else
4184 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4186 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4187 See \`config.log' for more details" "$LINENO" 5; }
4189 rm -f conftest conftest$ac_cv_exeext
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4191 $as_echo "$ac_cv_exeext" >&6; }
4193 rm -f conftest.$ac_ext
4194 EXEEXT=$ac_cv_exeext
4195 ac_exeext=$EXEEXT
4196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4198 #include <stdio.h>
4200 main ()
4202 FILE *f = fopen ("conftest.out", "w");
4203 return ferror (f) || fclose (f) != 0;
4206 return 0;
4208 _ACEOF
4209 ac_clean_files="$ac_clean_files conftest.out"
4210 # Check that the compiler produces executables we can run. If not, either
4211 # the compiler is broken, or we cross compile.
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4213 $as_echo_n "checking whether we are cross compiling... " >&6; }
4214 if test "$cross_compiling" != yes; then
4215 { { ac_try="$ac_link"
4216 case "(($ac_try" in
4217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4218 *) ac_try_echo=$ac_try;;
4219 esac
4220 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4221 $as_echo "$ac_try_echo"; } >&5
4222 (eval "$ac_link") 2>&5
4223 ac_status=$?
4224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4225 test $ac_status = 0; }
4226 if { ac_try='./conftest$ac_cv_exeext'
4227 { { case "(($ac_try" in
4228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4229 *) ac_try_echo=$ac_try;;
4230 esac
4231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4232 $as_echo "$ac_try_echo"; } >&5
4233 (eval "$ac_try") 2>&5
4234 ac_status=$?
4235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4236 test $ac_status = 0; }; }; then
4237 cross_compiling=no
4238 else
4239 if test "$cross_compiling" = maybe; then
4240 cross_compiling=yes
4241 else
4242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4244 as_fn_error $? "cannot run C compiled programs.
4245 If you meant to cross compile, use \`--host'.
4246 See \`config.log' for more details" "$LINENO" 5; }
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4251 $as_echo "$cross_compiling" >&6; }
4253 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4254 ac_clean_files=$ac_clean_files_save
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4256 $as_echo_n "checking for suffix of object files... " >&6; }
4257 if ${ac_cv_objext+:} false; then :
4258 $as_echo_n "(cached) " >&6
4259 else
4260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4261 /* end confdefs.h. */
4264 main ()
4268 return 0;
4270 _ACEOF
4271 rm -f conftest.o conftest.obj
4272 if { { ac_try="$ac_compile"
4273 case "(($ac_try" in
4274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4275 *) ac_try_echo=$ac_try;;
4276 esac
4277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4278 $as_echo "$ac_try_echo"; } >&5
4279 (eval "$ac_compile") 2>&5
4280 ac_status=$?
4281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4282 test $ac_status = 0; }; then :
4283 for ac_file in conftest.o conftest.obj conftest.*; do
4284 test -f "$ac_file" || continue;
4285 case $ac_file in
4286 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4287 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4288 break;;
4289 esac
4290 done
4291 else
4292 $as_echo "$as_me: failed program was:" >&5
4293 sed 's/^/| /' conftest.$ac_ext >&5
4295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4297 as_fn_error $? "cannot compute suffix of object files: cannot compile
4298 See \`config.log' for more details" "$LINENO" 5; }
4300 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4303 $as_echo "$ac_cv_objext" >&6; }
4304 OBJEXT=$ac_cv_objext
4305 ac_objext=$OBJEXT
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4307 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4308 if ${ac_cv_c_compiler_gnu+:} false; then :
4309 $as_echo_n "(cached) " >&6
4310 else
4311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4312 /* end confdefs.h. */
4315 main ()
4317 #ifndef __GNUC__
4318 choke me
4319 #endif
4322 return 0;
4324 _ACEOF
4325 if ac_fn_c_try_compile "$LINENO"; then :
4326 ac_compiler_gnu=yes
4327 else
4328 ac_compiler_gnu=no
4330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4331 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4335 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4336 if test $ac_compiler_gnu = yes; then
4337 GCC=yes
4338 else
4339 GCC=
4341 ac_test_CFLAGS=${CFLAGS+set}
4342 ac_save_CFLAGS=$CFLAGS
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4344 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4345 if ${ac_cv_prog_cc_g+:} false; then :
4346 $as_echo_n "(cached) " >&6
4347 else
4348 ac_save_c_werror_flag=$ac_c_werror_flag
4349 ac_c_werror_flag=yes
4350 ac_cv_prog_cc_g=no
4351 CFLAGS="-g"
4352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4353 /* end confdefs.h. */
4356 main ()
4360 return 0;
4362 _ACEOF
4363 if ac_fn_c_try_compile "$LINENO"; then :
4364 ac_cv_prog_cc_g=yes
4365 else
4366 CFLAGS=""
4367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4368 /* end confdefs.h. */
4371 main ()
4375 return 0;
4377 _ACEOF
4378 if ac_fn_c_try_compile "$LINENO"; then :
4380 else
4381 ac_c_werror_flag=$ac_save_c_werror_flag
4382 CFLAGS="-g"
4383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4384 /* end confdefs.h. */
4387 main ()
4391 return 0;
4393 _ACEOF
4394 if ac_fn_c_try_compile "$LINENO"; then :
4395 ac_cv_prog_cc_g=yes
4397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4402 ac_c_werror_flag=$ac_save_c_werror_flag
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4405 $as_echo "$ac_cv_prog_cc_g" >&6; }
4406 if test "$ac_test_CFLAGS" = set; then
4407 CFLAGS=$ac_save_CFLAGS
4408 elif test $ac_cv_prog_cc_g = yes; then
4409 if test "$GCC" = yes; then
4410 CFLAGS="-g -O2"
4411 else
4412 CFLAGS="-g"
4414 else
4415 if test "$GCC" = yes; then
4416 CFLAGS="-O2"
4417 else
4418 CFLAGS=
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4422 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4423 if ${ac_cv_prog_cc_c89+:} false; then :
4424 $as_echo_n "(cached) " >&6
4425 else
4426 ac_cv_prog_cc_c89=no
4427 ac_save_CC=$CC
4428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4429 /* end confdefs.h. */
4430 #include <stdarg.h>
4431 #include <stdio.h>
4432 struct stat;
4433 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4434 struct buf { int x; };
4435 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4436 static char *e (p, i)
4437 char **p;
4438 int i;
4440 return p[i];
4442 static char *f (char * (*g) (char **, int), char **p, ...)
4444 char *s;
4445 va_list v;
4446 va_start (v,p);
4447 s = g (p, va_arg (v,int));
4448 va_end (v);
4449 return s;
4452 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4453 function prototypes and stuff, but not '\xHH' hex character constants.
4454 These don't provoke an error unfortunately, instead are silently treated
4455 as 'x'. The following induces an error, until -std is added to get
4456 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4457 array size at least. It's necessary to write '\x00'==0 to get something
4458 that's true only with -std. */
4459 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4461 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4462 inside strings and character constants. */
4463 #define FOO(x) 'x'
4464 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4466 int test (int i, double x);
4467 struct s1 {int (*f) (int a);};
4468 struct s2 {int (*f) (double a);};
4469 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4470 int argc;
4471 char **argv;
4473 main ()
4475 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4477 return 0;
4479 _ACEOF
4480 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4481 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4483 CC="$ac_save_CC $ac_arg"
4484 if ac_fn_c_try_compile "$LINENO"; then :
4485 ac_cv_prog_cc_c89=$ac_arg
4487 rm -f core conftest.err conftest.$ac_objext
4488 test "x$ac_cv_prog_cc_c89" != "xno" && break
4489 done
4490 rm -f conftest.$ac_ext
4491 CC=$ac_save_CC
4494 # AC_CACHE_VAL
4495 case "x$ac_cv_prog_cc_c89" in
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4498 $as_echo "none needed" >&6; } ;;
4499 xno)
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4501 $as_echo "unsupported" >&6; } ;;
4503 CC="$CC $ac_cv_prog_cc_c89"
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4505 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4506 esac
4507 if test "x$ac_cv_prog_cc_c89" != xno; then :
4511 ac_ext=c
4512 ac_cpp='$CPP $CPPFLAGS'
4513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4517 ac_ext=cpp
4518 ac_cpp='$CXXCPP $CPPFLAGS'
4519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4522 if test -z "$CXX"; then
4523 if test -n "$CCC"; then
4524 CXX=$CCC
4525 else
4526 if test -n "$ac_tool_prefix"; then
4527 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4529 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4530 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4532 $as_echo_n "checking for $ac_word... " >&6; }
4533 if ${ac_cv_prog_CXX+:} false; then :
4534 $as_echo_n "(cached) " >&6
4535 else
4536 if test -n "$CXX"; then
4537 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4538 else
4539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4540 for as_dir in $PATH
4542 IFS=$as_save_IFS
4543 test -z "$as_dir" && as_dir=.
4544 for ac_exec_ext in '' $ac_executable_extensions; do
4545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4546 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4548 break 2
4550 done
4551 done
4552 IFS=$as_save_IFS
4556 CXX=$ac_cv_prog_CXX
4557 if test -n "$CXX"; then
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4559 $as_echo "$CXX" >&6; }
4560 else
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4562 $as_echo "no" >&6; }
4566 test -n "$CXX" && break
4567 done
4569 if test -z "$CXX"; then
4570 ac_ct_CXX=$CXX
4571 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4573 # Extract the first word of "$ac_prog", so it can be a program name with args.
4574 set dummy $ac_prog; ac_word=$2
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4576 $as_echo_n "checking for $ac_word... " >&6; }
4577 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4578 $as_echo_n "(cached) " >&6
4579 else
4580 if test -n "$ac_ct_CXX"; then
4581 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4582 else
4583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4584 for as_dir in $PATH
4586 IFS=$as_save_IFS
4587 test -z "$as_dir" && as_dir=.
4588 for ac_exec_ext in '' $ac_executable_extensions; do
4589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4590 ac_cv_prog_ac_ct_CXX="$ac_prog"
4591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4592 break 2
4594 done
4595 done
4596 IFS=$as_save_IFS
4600 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4601 if test -n "$ac_ct_CXX"; then
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4603 $as_echo "$ac_ct_CXX" >&6; }
4604 else
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4606 $as_echo "no" >&6; }
4610 test -n "$ac_ct_CXX" && break
4611 done
4613 if test "x$ac_ct_CXX" = x; then
4614 CXX="g++"
4615 else
4616 case $cross_compiling:$ac_tool_warned in
4617 yes:)
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4620 ac_tool_warned=yes ;;
4621 esac
4622 CXX=$ac_ct_CXX
4628 # Provide some information about the compiler.
4629 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4630 set X $ac_compile
4631 ac_compiler=$2
4632 for ac_option in --version -v -V -qversion; do
4633 { { ac_try="$ac_compiler $ac_option >&5"
4634 case "(($ac_try" in
4635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4636 *) ac_try_echo=$ac_try;;
4637 esac
4638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4639 $as_echo "$ac_try_echo"; } >&5
4640 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4641 ac_status=$?
4642 if test -s conftest.err; then
4643 sed '10a\
4644 ... rest of stderr output deleted ...
4645 10q' conftest.err >conftest.er1
4646 cat conftest.er1 >&5
4648 rm -f conftest.er1 conftest.err
4649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4650 test $ac_status = 0; }
4651 done
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4654 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4655 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4656 $as_echo_n "(cached) " >&6
4657 else
4658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4662 main ()
4664 #ifndef __GNUC__
4665 choke me
4666 #endif
4669 return 0;
4671 _ACEOF
4672 if ac_fn_cxx_try_compile "$LINENO"; then :
4673 ac_compiler_gnu=yes
4674 else
4675 ac_compiler_gnu=no
4677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4678 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4682 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4683 if test $ac_compiler_gnu = yes; then
4684 GXX=yes
4685 else
4686 GXX=
4688 ac_test_CXXFLAGS=${CXXFLAGS+set}
4689 ac_save_CXXFLAGS=$CXXFLAGS
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4691 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4692 if ${ac_cv_prog_cxx_g+:} false; then :
4693 $as_echo_n "(cached) " >&6
4694 else
4695 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4696 ac_cxx_werror_flag=yes
4697 ac_cv_prog_cxx_g=no
4698 CXXFLAGS="-g"
4699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4700 /* end confdefs.h. */
4703 main ()
4707 return 0;
4709 _ACEOF
4710 if ac_fn_cxx_try_compile "$LINENO"; then :
4711 ac_cv_prog_cxx_g=yes
4712 else
4713 CXXFLAGS=""
4714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4715 /* end confdefs.h. */
4718 main ()
4722 return 0;
4724 _ACEOF
4725 if ac_fn_cxx_try_compile "$LINENO"; then :
4727 else
4728 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4729 CXXFLAGS="-g"
4730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4734 main ()
4738 return 0;
4740 _ACEOF
4741 if ac_fn_cxx_try_compile "$LINENO"; then :
4742 ac_cv_prog_cxx_g=yes
4744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4749 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4752 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4753 if test "$ac_test_CXXFLAGS" = set; then
4754 CXXFLAGS=$ac_save_CXXFLAGS
4755 elif test $ac_cv_prog_cxx_g = yes; then
4756 if test "$GXX" = yes; then
4757 CXXFLAGS="-g -O2"
4758 else
4759 CXXFLAGS="-g"
4761 else
4762 if test "$GXX" = yes; then
4763 CXXFLAGS="-O2"
4764 else
4765 CXXFLAGS=
4768 ac_ext=c
4769 ac_cpp='$CPP $CPPFLAGS'
4770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4774 if test -n "$ac_tool_prefix"; then
4775 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4776 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4778 $as_echo_n "checking for $ac_word... " >&6; }
4779 if ${ac_cv_prog_CPPBIN+:} false; then :
4780 $as_echo_n "(cached) " >&6
4781 else
4782 if test -n "$CPPBIN"; then
4783 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4784 else
4785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4786 for as_dir in $PATH
4788 IFS=$as_save_IFS
4789 test -z "$as_dir" && as_dir=.
4790 for ac_exec_ext in '' $ac_executable_extensions; do
4791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4792 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4794 break 2
4796 done
4797 done
4798 IFS=$as_save_IFS
4802 CPPBIN=$ac_cv_prog_CPPBIN
4803 if test -n "$CPPBIN"; then
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4805 $as_echo "$CPPBIN" >&6; }
4806 else
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808 $as_echo "no" >&6; }
4813 if test -z "$ac_cv_prog_CPPBIN"; then
4814 ac_ct_CPPBIN=$CPPBIN
4815 # Extract the first word of "cpp", so it can be a program name with args.
4816 set dummy cpp; ac_word=$2
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4818 $as_echo_n "checking for $ac_word... " >&6; }
4819 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4820 $as_echo_n "(cached) " >&6
4821 else
4822 if test -n "$ac_ct_CPPBIN"; then
4823 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4824 else
4825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4826 for as_dir in $PATH
4828 IFS=$as_save_IFS
4829 test -z "$as_dir" && as_dir=.
4830 for ac_exec_ext in '' $ac_executable_extensions; do
4831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4832 ac_cv_prog_ac_ct_CPPBIN="cpp"
4833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4834 break 2
4836 done
4837 done
4838 IFS=$as_save_IFS
4842 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4843 if test -n "$ac_ct_CPPBIN"; then
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4845 $as_echo "$ac_ct_CPPBIN" >&6; }
4846 else
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4848 $as_echo "no" >&6; }
4851 if test "x$ac_ct_CPPBIN" = x; then
4852 CPPBIN="cpp"
4853 else
4854 case $cross_compiling:$ac_tool_warned in
4855 yes:)
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4858 ac_tool_warned=yes ;;
4859 esac
4860 CPPBIN=$ac_ct_CPPBIN
4862 else
4863 CPPBIN="$ac_cv_prog_CPPBIN"
4867 cat >>confdefs.h <<_ACEOF
4868 #define EXEEXT "$ac_exeext"
4869 _ACEOF
4871 if test -n "$ac_tool_prefix"; then
4872 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4873 set dummy ${ac_tool_prefix}ld; ac_word=$2
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4875 $as_echo_n "checking for $ac_word... " >&6; }
4876 if ${ac_cv_prog_LD+:} false; then :
4877 $as_echo_n "(cached) " >&6
4878 else
4879 if test -n "$LD"; then
4880 ac_cv_prog_LD="$LD" # Let the user override the test.
4881 else
4882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4883 for as_dir in $PATH
4885 IFS=$as_save_IFS
4886 test -z "$as_dir" && as_dir=.
4887 for ac_exec_ext in '' $ac_executable_extensions; do
4888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4889 ac_cv_prog_LD="${ac_tool_prefix}ld"
4890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4891 break 2
4893 done
4894 done
4895 IFS=$as_save_IFS
4899 LD=$ac_cv_prog_LD
4900 if test -n "$LD"; then
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4902 $as_echo "$LD" >&6; }
4903 else
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 $as_echo "no" >&6; }
4910 if test -z "$ac_cv_prog_LD"; then
4911 ac_ct_LD=$LD
4912 # Extract the first word of "ld", so it can be a program name with args.
4913 set dummy ld; ac_word=$2
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4915 $as_echo_n "checking for $ac_word... " >&6; }
4916 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4917 $as_echo_n "(cached) " >&6
4918 else
4919 if test -n "$ac_ct_LD"; then
4920 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4921 else
4922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4923 for as_dir in $PATH
4925 IFS=$as_save_IFS
4926 test -z "$as_dir" && as_dir=.
4927 for ac_exec_ext in '' $ac_executable_extensions; do
4928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4929 ac_cv_prog_ac_ct_LD="ld"
4930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4931 break 2
4933 done
4934 done
4935 IFS=$as_save_IFS
4939 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4940 if test -n "$ac_ct_LD"; then
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4942 $as_echo "$ac_ct_LD" >&6; }
4943 else
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4945 $as_echo "no" >&6; }
4948 if test "x$ac_ct_LD" = x; then
4949 LD=""
4950 else
4951 case $cross_compiling:$ac_tool_warned in
4952 yes:)
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4955 ac_tool_warned=yes ;;
4956 esac
4957 LD=$ac_ct_LD
4959 else
4960 LD="$ac_cv_prog_LD"
4964 case $host in
4965 *-darwin*)
4966 if test "x$enable_win64" = "xyes"
4967 then
4968 CC="$CC -m64"
4969 CXX="$CXX -m64"
4970 host_cpu="x86_64"
4971 notice_platform="64-bit "
4972 TARGETFLAGS="-m64"
4974 else
4975 CC="$CC -m32"
4976 CXX="$CXX -m32"
4977 host_cpu="i386"
4978 notice_platform="32-bit "
4979 TARGETFLAGS="-m32"
4981 enable_win16=${enable_win16:-yes}
4983 with_fontconfig=${with_fontconfig:-no}
4985 x86_64*|amd64*)
4986 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4987 then
4988 CC="$CC -m32"
4989 CXX="$CXX -m32"
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4991 $as_echo_n "checking whether $CC works... " >&6; }
4993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4994 /* end confdefs.h. */
4997 main ()
5001 return 0;
5003 _ACEOF
5004 if ac_fn_c_try_link "$LINENO"; then :
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5006 $as_echo "yes" >&6; }
5007 else
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5010 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5012 rm -f core conftest.err conftest.$ac_objext \
5013 conftest$ac_exeext conftest.$ac_ext
5014 host_cpu="i386"
5015 notice_platform="32-bit "
5016 TARGETFLAGS="-m32"
5018 enable_win16=${enable_win16:-yes}
5019 else
5020 if test "x${GCC}" = "xyes"
5021 then
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5023 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5025 /* end confdefs.h. */
5026 #include <stdarg.h>
5028 main ()
5030 void func(__builtin_ms_va_list *args);
5032 return 0;
5034 _ACEOF
5035 if ac_fn_c_try_compile "$LINENO"; then :
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5037 $as_echo "yes" >&6; }
5038 else
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5040 $as_echo "no" >&6; }
5041 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
5043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5045 host_cpu="x86_64"
5046 TARGETFLAGS="-m64"
5050 arm*)
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5052 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5054 /* end confdefs.h. */
5055 int ac_test(int i) { return i; }
5057 main ()
5059 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5061 return 0;
5063 _ACEOF
5064 if ac_fn_c_try_link "$LINENO"; then :
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5066 $as_echo "yes" >&6; }
5067 else
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 $as_echo "no" >&6; }
5070 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5072 rm -f core conftest.err conftest.$ac_objext \
5073 conftest$ac_exeext conftest.$ac_ext
5074 CFLAGS="$CFLAGS -marm"
5075 TARGETFLAGS="-marm"
5078 *-mingw32*|*-cygwin*)
5079 enable_win16=${enable_win16:-no}
5080 CFLAGS="$CFLAGS -D_WIN32"
5082 i[3456789]86*)
5083 enable_win16=${enable_win16:-yes}
5085 esac
5087 enable_win16=${enable_win16:-no}
5088 enable_win64=${enable_win64:-no}
5090 enable_winetest=${enable_winetest:-$enable_tests}
5092 if test -n "$with_wine64"
5093 then
5094 if test "x$enable_win64" = "xyes"
5095 then
5096 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5097 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5099 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5100 You should create a separate build directory and run configure from there." "$LINENO" 5
5101 enable_fonts=${enable_fonts:-no}
5102 enable_server=${enable_server:-no}
5103 elif test "x$enable_win64" = "xyes"
5104 then
5105 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5109 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5110 if ${wine_cv_toolsdir+:} false; then :
5111 $as_echo_n "(cached) " >&6
5112 else
5113 wine_cv_toolsdir="$with_wine_tools"
5114 if test -z "$with_wine_tools"; then
5115 if test "$cross_compiling" = "yes"; then
5116 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5117 elif test -n "$with_wine64"; then
5118 wine_cv_toolsdir="$with_wine64"
5121 if test -z "$wine_cv_toolsdir"; then
5122 wine_makedep=tools/makedep
5123 wine_cv_toolsdir="\$(top_builddir)"
5124 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5125 wine_makedep=$wine_cv_toolsdir/tools/makedep
5126 case "$wine_cv_toolsdir" in
5127 /*) ;;
5128 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5129 esac
5130 enable_tools=${enable_tools:-no}
5131 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5132 else
5133 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5137 $as_echo "$wine_cv_toolsdir" >&6; }
5138 TOOLSDIR=$wine_cv_toolsdir
5140 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5141 then
5142 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5146 for ac_prog in flex
5148 # Extract the first word of "$ac_prog", so it can be a program name with args.
5149 set dummy $ac_prog; ac_word=$2
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5151 $as_echo_n "checking for $ac_word... " >&6; }
5152 if ${ac_cv_prog_FLEX+:} false; then :
5153 $as_echo_n "(cached) " >&6
5154 else
5155 if test -n "$FLEX"; then
5156 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5157 else
5158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5159 for as_dir in $PATH
5161 IFS=$as_save_IFS
5162 test -z "$as_dir" && as_dir=.
5163 for ac_exec_ext in '' $ac_executable_extensions; do
5164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5165 ac_cv_prog_FLEX="$ac_prog"
5166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5167 break 2
5169 done
5170 done
5171 IFS=$as_save_IFS
5175 FLEX=$ac_cv_prog_FLEX
5176 if test -n "$FLEX"; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5178 $as_echo "$FLEX" >&6; }
5179 else
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5181 $as_echo "no" >&6; }
5185 test -n "$FLEX" && break
5186 done
5187 test -n "$FLEX" || FLEX="none"
5189 if test "$FLEX" = "none"
5190 then
5191 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5194 $as_echo_n "checking whether flex is recent enough... " >&6; }
5195 cat >conftest.l <<EOF
5196 %top{
5197 #include "prediluvian.h"
5201 if $FLEX -t conftest.l >/dev/null 2>&5
5202 then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5204 $as_echo "yes" >&6; }
5205 else
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5207 $as_echo "no" >&6; }
5208 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5211 for ac_prog in bison
5213 # Extract the first word of "$ac_prog", so it can be a program name with args.
5214 set dummy $ac_prog; ac_word=$2
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5216 $as_echo_n "checking for $ac_word... " >&6; }
5217 if ${ac_cv_prog_BISON+:} false; then :
5218 $as_echo_n "(cached) " >&6
5219 else
5220 if test -n "$BISON"; then
5221 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5222 else
5223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5224 for as_dir in $PATH
5226 IFS=$as_save_IFS
5227 test -z "$as_dir" && as_dir=.
5228 for ac_exec_ext in '' $ac_executable_extensions; do
5229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5230 ac_cv_prog_BISON="$ac_prog"
5231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5232 break 2
5234 done
5235 done
5236 IFS=$as_save_IFS
5240 BISON=$ac_cv_prog_BISON
5241 if test -n "$BISON"; then
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5243 $as_echo "$BISON" >&6; }
5244 else
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5246 $as_echo "no" >&6; }
5250 test -n "$BISON" && break
5251 done
5252 test -n "$BISON" || BISON="none"
5254 if test "$BISON" = "none"
5255 then
5256 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5259 if test -n "$ac_tool_prefix"; then
5260 for ac_prog in ar gar
5262 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5263 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5265 $as_echo_n "checking for $ac_word... " >&6; }
5266 if ${ac_cv_prog_AR+:} false; then :
5267 $as_echo_n "(cached) " >&6
5268 else
5269 if test -n "$AR"; then
5270 ac_cv_prog_AR="$AR" # Let the user override the test.
5271 else
5272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5273 for as_dir in $PATH
5275 IFS=$as_save_IFS
5276 test -z "$as_dir" && as_dir=.
5277 for ac_exec_ext in '' $ac_executable_extensions; do
5278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5279 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5281 break 2
5283 done
5284 done
5285 IFS=$as_save_IFS
5289 AR=$ac_cv_prog_AR
5290 if test -n "$AR"; then
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5292 $as_echo "$AR" >&6; }
5293 else
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5295 $as_echo "no" >&6; }
5299 test -n "$AR" && break
5300 done
5302 if test -z "$AR"; then
5303 ac_ct_AR=$AR
5304 for ac_prog in ar gar
5306 # Extract the first word of "$ac_prog", so it can be a program name with args.
5307 set dummy $ac_prog; ac_word=$2
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5309 $as_echo_n "checking for $ac_word... " >&6; }
5310 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5311 $as_echo_n "(cached) " >&6
5312 else
5313 if test -n "$ac_ct_AR"; then
5314 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5315 else
5316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5317 for as_dir in $PATH
5319 IFS=$as_save_IFS
5320 test -z "$as_dir" && as_dir=.
5321 for ac_exec_ext in '' $ac_executable_extensions; do
5322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5323 ac_cv_prog_ac_ct_AR="$ac_prog"
5324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5325 break 2
5327 done
5328 done
5329 IFS=$as_save_IFS
5333 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5334 if test -n "$ac_ct_AR"; then
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5336 $as_echo "$ac_ct_AR" >&6; }
5337 else
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5339 $as_echo "no" >&6; }
5343 test -n "$ac_ct_AR" && break
5344 done
5346 if test "x$ac_ct_AR" = x; then
5347 AR="ar"
5348 else
5349 case $cross_compiling:$ac_tool_warned in
5350 yes:)
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5353 ac_tool_warned=yes ;;
5354 esac
5355 AR=$ac_ct_AR
5359 if test -n "$ac_tool_prefix"; then
5360 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5361 set dummy ${ac_tool_prefix}strip; ac_word=$2
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5363 $as_echo_n "checking for $ac_word... " >&6; }
5364 if ${ac_cv_prog_STRIP+:} false; then :
5365 $as_echo_n "(cached) " >&6
5366 else
5367 if test -n "$STRIP"; then
5368 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5369 else
5370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5371 for as_dir in $PATH
5373 IFS=$as_save_IFS
5374 test -z "$as_dir" && as_dir=.
5375 for ac_exec_ext in '' $ac_executable_extensions; do
5376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5377 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5379 break 2
5381 done
5382 done
5383 IFS=$as_save_IFS
5387 STRIP=$ac_cv_prog_STRIP
5388 if test -n "$STRIP"; then
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5390 $as_echo "$STRIP" >&6; }
5391 else
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5393 $as_echo "no" >&6; }
5398 if test -z "$ac_cv_prog_STRIP"; then
5399 ac_ct_STRIP=$STRIP
5400 # Extract the first word of "strip", so it can be a program name with args.
5401 set dummy strip; ac_word=$2
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5403 $as_echo_n "checking for $ac_word... " >&6; }
5404 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5405 $as_echo_n "(cached) " >&6
5406 else
5407 if test -n "$ac_ct_STRIP"; then
5408 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5409 else
5410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5411 for as_dir in $PATH
5413 IFS=$as_save_IFS
5414 test -z "$as_dir" && as_dir=.
5415 for ac_exec_ext in '' $ac_executable_extensions; do
5416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5417 ac_cv_prog_ac_ct_STRIP="strip"
5418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 break 2
5421 done
5422 done
5423 IFS=$as_save_IFS
5427 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5428 if test -n "$ac_ct_STRIP"; then
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5430 $as_echo "$ac_ct_STRIP" >&6; }
5431 else
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5433 $as_echo "no" >&6; }
5436 if test "x$ac_ct_STRIP" = x; then
5437 STRIP="strip"
5438 else
5439 case $cross_compiling:$ac_tool_warned in
5440 yes:)
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5443 ac_tool_warned=yes ;;
5444 esac
5445 STRIP=$ac_ct_STRIP
5447 else
5448 STRIP="$ac_cv_prog_STRIP"
5451 ARFLAGS=rc
5453 if test -n "$ac_tool_prefix"; then
5454 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5455 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5457 $as_echo_n "checking for $ac_word... " >&6; }
5458 if ${ac_cv_prog_RANLIB+:} false; then :
5459 $as_echo_n "(cached) " >&6
5460 else
5461 if test -n "$RANLIB"; then
5462 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5463 else
5464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5465 for as_dir in $PATH
5467 IFS=$as_save_IFS
5468 test -z "$as_dir" && as_dir=.
5469 for ac_exec_ext in '' $ac_executable_extensions; do
5470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5471 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5473 break 2
5475 done
5476 done
5477 IFS=$as_save_IFS
5481 RANLIB=$ac_cv_prog_RANLIB
5482 if test -n "$RANLIB"; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5484 $as_echo "$RANLIB" >&6; }
5485 else
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487 $as_echo "no" >&6; }
5492 if test -z "$ac_cv_prog_RANLIB"; then
5493 ac_ct_RANLIB=$RANLIB
5494 # Extract the first word of "ranlib", so it can be a program name with args.
5495 set dummy ranlib; ac_word=$2
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5497 $as_echo_n "checking for $ac_word... " >&6; }
5498 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5499 $as_echo_n "(cached) " >&6
5500 else
5501 if test -n "$ac_ct_RANLIB"; then
5502 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5503 else
5504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5505 for as_dir in $PATH
5507 IFS=$as_save_IFS
5508 test -z "$as_dir" && as_dir=.
5509 for ac_exec_ext in '' $ac_executable_extensions; do
5510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5511 ac_cv_prog_ac_ct_RANLIB="ranlib"
5512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5513 break 2
5515 done
5516 done
5517 IFS=$as_save_IFS
5521 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5522 if test -n "$ac_ct_RANLIB"; then
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5524 $as_echo "$ac_ct_RANLIB" >&6; }
5525 else
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5527 $as_echo "no" >&6; }
5530 if test "x$ac_ct_RANLIB" = x; then
5531 RANLIB=":"
5532 else
5533 case $cross_compiling:$ac_tool_warned in
5534 yes:)
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5537 ac_tool_warned=yes ;;
5538 esac
5539 RANLIB=$ac_ct_RANLIB
5541 else
5542 RANLIB="$ac_cv_prog_RANLIB"
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5546 $as_echo_n "checking whether ln -s works... " >&6; }
5547 LN_S=$as_ln_s
5548 if test "$LN_S" = "ln -s"; then
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5550 $as_echo "yes" >&6; }
5551 else
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5553 $as_echo "no, using $LN_S" >&6; }
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5557 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5558 if ${ac_cv_path_GREP+:} false; then :
5559 $as_echo_n "(cached) " >&6
5560 else
5561 if test -z "$GREP"; then
5562 ac_path_GREP_found=false
5563 # Loop through the user's path and test for each of PROGNAME-LIST
5564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5565 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5567 IFS=$as_save_IFS
5568 test -z "$as_dir" && as_dir=.
5569 for ac_prog in grep ggrep; do
5570 for ac_exec_ext in '' $ac_executable_extensions; do
5571 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5572 as_fn_executable_p "$ac_path_GREP" || continue
5573 # Check for GNU ac_path_GREP and select it if it is found.
5574 # Check for GNU $ac_path_GREP
5575 case `"$ac_path_GREP" --version 2>&1` in
5576 *GNU*)
5577 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5579 ac_count=0
5580 $as_echo_n 0123456789 >"conftest.in"
5581 while :
5583 cat "conftest.in" "conftest.in" >"conftest.tmp"
5584 mv "conftest.tmp" "conftest.in"
5585 cp "conftest.in" "conftest.nl"
5586 $as_echo 'GREP' >> "conftest.nl"
5587 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5588 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5589 as_fn_arith $ac_count + 1 && ac_count=$as_val
5590 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5591 # Best one so far, save it but keep looking for a better one
5592 ac_cv_path_GREP="$ac_path_GREP"
5593 ac_path_GREP_max=$ac_count
5595 # 10*(2^10) chars as input seems more than enough
5596 test $ac_count -gt 10 && break
5597 done
5598 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5599 esac
5601 $ac_path_GREP_found && break 3
5602 done
5603 done
5604 done
5605 IFS=$as_save_IFS
5606 if test -z "$ac_cv_path_GREP"; then
5607 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5609 else
5610 ac_cv_path_GREP=$GREP
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5615 $as_echo "$ac_cv_path_GREP" >&6; }
5616 GREP="$ac_cv_path_GREP"
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5620 $as_echo_n "checking for egrep... " >&6; }
5621 if ${ac_cv_path_EGREP+:} false; then :
5622 $as_echo_n "(cached) " >&6
5623 else
5624 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5625 then ac_cv_path_EGREP="$GREP -E"
5626 else
5627 if test -z "$EGREP"; then
5628 ac_path_EGREP_found=false
5629 # Loop through the user's path and test for each of PROGNAME-LIST
5630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5631 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5633 IFS=$as_save_IFS
5634 test -z "$as_dir" && as_dir=.
5635 for ac_prog in egrep; do
5636 for ac_exec_ext in '' $ac_executable_extensions; do
5637 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5638 as_fn_executable_p "$ac_path_EGREP" || continue
5639 # Check for GNU ac_path_EGREP and select it if it is found.
5640 # Check for GNU $ac_path_EGREP
5641 case `"$ac_path_EGREP" --version 2>&1` in
5642 *GNU*)
5643 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5645 ac_count=0
5646 $as_echo_n 0123456789 >"conftest.in"
5647 while :
5649 cat "conftest.in" "conftest.in" >"conftest.tmp"
5650 mv "conftest.tmp" "conftest.in"
5651 cp "conftest.in" "conftest.nl"
5652 $as_echo 'EGREP' >> "conftest.nl"
5653 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5654 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5655 as_fn_arith $ac_count + 1 && ac_count=$as_val
5656 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5657 # Best one so far, save it but keep looking for a better one
5658 ac_cv_path_EGREP="$ac_path_EGREP"
5659 ac_path_EGREP_max=$ac_count
5661 # 10*(2^10) chars as input seems more than enough
5662 test $ac_count -gt 10 && break
5663 done
5664 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5665 esac
5667 $ac_path_EGREP_found && break 3
5668 done
5669 done
5670 done
5671 IFS=$as_save_IFS
5672 if test -z "$ac_cv_path_EGREP"; then
5673 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5675 else
5676 ac_cv_path_EGREP=$EGREP
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5682 $as_echo "$ac_cv_path_EGREP" >&6; }
5683 EGREP="$ac_cv_path_EGREP"
5686 # Extract the first word of "ldconfig", so it can be a program name with args.
5687 set dummy ldconfig; ac_word=$2
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5689 $as_echo_n "checking for $ac_word... " >&6; }
5690 if ${ac_cv_path_LDCONFIG+:} false; then :
5691 $as_echo_n "(cached) " >&6
5692 else
5693 case $LDCONFIG in
5694 [\\/]* | ?:[\\/]*)
5695 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5699 for as_dir in /sbin /usr/sbin $PATH
5701 IFS=$as_save_IFS
5702 test -z "$as_dir" && as_dir=.
5703 for ac_exec_ext in '' $ac_executable_extensions; do
5704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5705 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5707 break 2
5709 done
5710 done
5711 IFS=$as_save_IFS
5713 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5715 esac
5717 LDCONFIG=$ac_cv_path_LDCONFIG
5718 if test -n "$LDCONFIG"; then
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5720 $as_echo "$LDCONFIG" >&6; }
5721 else
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5723 $as_echo "no" >&6; }
5727 for ac_prog in msgfmt
5729 # Extract the first word of "$ac_prog", so it can be a program name with args.
5730 set dummy $ac_prog; ac_word=$2
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5732 $as_echo_n "checking for $ac_word... " >&6; }
5733 if ${ac_cv_prog_MSGFMT+:} false; then :
5734 $as_echo_n "(cached) " >&6
5735 else
5736 if test -n "$MSGFMT"; then
5737 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5738 else
5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 for as_dir in $PATH
5742 IFS=$as_save_IFS
5743 test -z "$as_dir" && as_dir=.
5744 for ac_exec_ext in '' $ac_executable_extensions; do
5745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5746 ac_cv_prog_MSGFMT="$ac_prog"
5747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5748 break 2
5750 done
5751 done
5752 IFS=$as_save_IFS
5756 MSGFMT=$ac_cv_prog_MSGFMT
5757 if test -n "$MSGFMT"; then
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5759 $as_echo "$MSGFMT" >&6; }
5760 else
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762 $as_echo "no" >&6; }
5766 test -n "$MSGFMT" && break
5767 done
5768 test -n "$MSGFMT" || MSGFMT="false"
5770 if ${ac_tool_prefix+:} false; then :
5771 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5772 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5774 $as_echo_n "checking for $ac_word... " >&6; }
5775 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5776 $as_echo_n "(cached) " >&6
5777 else
5778 if test -n "$PKG_CONFIG"; then
5779 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5780 else
5781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5782 for as_dir in $PATH
5784 IFS=$as_save_IFS
5785 test -z "$as_dir" && as_dir=.
5786 for ac_exec_ext in '' $ac_executable_extensions; do
5787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5788 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 break 2
5792 done
5793 done
5794 IFS=$as_save_IFS
5798 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5799 if test -n "$PKG_CONFIG"; then
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5801 $as_echo "$PKG_CONFIG" >&6; }
5802 else
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5804 $as_echo "no" >&6; }
5809 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5810 if test "x$cross_compiling" = xyes; then :
5812 else
5813 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5814 # Extract the first word of "pkg-config", so it can be a program name with args.
5815 set dummy pkg-config; ac_word=$2
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5817 $as_echo_n "checking for $ac_word... " >&6; }
5818 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5819 $as_echo_n "(cached) " >&6
5820 else
5821 if test -n "$PKG_CONFIG"; then
5822 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5823 else
5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 for as_dir in $PATH
5827 IFS=$as_save_IFS
5828 test -z "$as_dir" && as_dir=.
5829 for ac_exec_ext in '' $ac_executable_extensions; do
5830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5831 ac_cv_prog_PKG_CONFIG="pkg-config"
5832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5833 break 2
5835 done
5836 done
5837 IFS=$as_save_IFS
5841 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5842 if test -n "$PKG_CONFIG"; then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5844 $as_echo "$PKG_CONFIG" >&6; }
5845 else
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5847 $as_echo "no" >&6; }
5852 else
5853 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5856 if test "x$enable_maintainer_mode" != "xyes"
5857 then
5858 FONTFORGE=""
5859 RSVG=""
5860 CONVERT=""
5861 ICOTOOL=""
5862 else
5863 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5864 for ac_prog in fontforge
5866 # Extract the first word of "$ac_prog", so it can be a program name with args.
5867 set dummy $ac_prog; ac_word=$2
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5869 $as_echo_n "checking for $ac_word... " >&6; }
5870 if ${ac_cv_prog_FONTFORGE+:} false; then :
5871 $as_echo_n "(cached) " >&6
5872 else
5873 if test -n "$FONTFORGE"; then
5874 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5875 else
5876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5877 for as_dir in $PATH
5879 IFS=$as_save_IFS
5880 test -z "$as_dir" && as_dir=.
5881 for ac_exec_ext in '' $ac_executable_extensions; do
5882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5883 ac_cv_prog_FONTFORGE="$ac_prog"
5884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5885 break 2
5887 done
5888 done
5889 IFS=$as_save_IFS
5893 FONTFORGE=$ac_cv_prog_FONTFORGE
5894 if test -n "$FONTFORGE"; then
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5896 $as_echo "$FONTFORGE" >&6; }
5897 else
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5899 $as_echo "no" >&6; }
5903 test -n "$FONTFORGE" && break
5904 done
5905 test -n "$FONTFORGE" || FONTFORGE="false"
5907 for ac_prog in rsvg-convert rsvg
5909 # Extract the first word of "$ac_prog", so it can be a program name with args.
5910 set dummy $ac_prog; ac_word=$2
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5912 $as_echo_n "checking for $ac_word... " >&6; }
5913 if ${ac_cv_prog_RSVG+:} false; then :
5914 $as_echo_n "(cached) " >&6
5915 else
5916 if test -n "$RSVG"; then
5917 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5918 else
5919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5920 for as_dir in $PATH
5922 IFS=$as_save_IFS
5923 test -z "$as_dir" && as_dir=.
5924 for ac_exec_ext in '' $ac_executable_extensions; do
5925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5926 ac_cv_prog_RSVG="$ac_prog"
5927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5928 break 2
5930 done
5931 done
5932 IFS=$as_save_IFS
5936 RSVG=$ac_cv_prog_RSVG
5937 if test -n "$RSVG"; then
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5939 $as_echo "$RSVG" >&6; }
5940 else
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5942 $as_echo "no" >&6; }
5946 test -n "$RSVG" && break
5947 done
5948 test -n "$RSVG" || RSVG="false"
5950 for ac_prog in convert
5952 # Extract the first word of "$ac_prog", so it can be a program name with args.
5953 set dummy $ac_prog; ac_word=$2
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5955 $as_echo_n "checking for $ac_word... " >&6; }
5956 if ${ac_cv_prog_CONVERT+:} false; then :
5957 $as_echo_n "(cached) " >&6
5958 else
5959 if test -n "$CONVERT"; then
5960 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5961 else
5962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5963 for as_dir in $PATH
5965 IFS=$as_save_IFS
5966 test -z "$as_dir" && as_dir=.
5967 for ac_exec_ext in '' $ac_executable_extensions; do
5968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5969 ac_cv_prog_CONVERT="$ac_prog"
5970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5971 break 2
5973 done
5974 done
5975 IFS=$as_save_IFS
5979 CONVERT=$ac_cv_prog_CONVERT
5980 if test -n "$CONVERT"; then
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5982 $as_echo "$CONVERT" >&6; }
5983 else
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5985 $as_echo "no" >&6; }
5989 test -n "$CONVERT" && break
5990 done
5991 test -n "$CONVERT" || CONVERT="false"
5993 for ac_prog in icotool
5995 # Extract the first word of "$ac_prog", so it can be a program name with args.
5996 set dummy $ac_prog; ac_word=$2
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5998 $as_echo_n "checking for $ac_word... " >&6; }
5999 if ${ac_cv_prog_ICOTOOL+:} false; then :
6000 $as_echo_n "(cached) " >&6
6001 else
6002 if test -n "$ICOTOOL"; then
6003 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6004 else
6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 for as_dir in $PATH
6008 IFS=$as_save_IFS
6009 test -z "$as_dir" && as_dir=.
6010 for ac_exec_ext in '' $ac_executable_extensions; do
6011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6012 ac_cv_prog_ICOTOOL="$ac_prog"
6013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6014 break 2
6016 done
6017 done
6018 IFS=$as_save_IFS
6022 ICOTOOL=$ac_cv_prog_ICOTOOL
6023 if test -n "$ICOTOOL"; then
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6025 $as_echo "$ICOTOOL" >&6; }
6026 else
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6028 $as_echo "no" >&6; }
6032 test -n "$ICOTOOL" && break
6033 done
6034 test -n "$ICOTOOL" || ICOTOOL="false"
6036 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6037 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6039 if test "$CONVERT" = false
6040 then
6041 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6042 else
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6044 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6045 convert_version=`convert --version | head -n1`
6046 if test "x$convert_version" != "x"
6047 then
6048 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6049 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6050 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6051 then
6052 CONVERT=false
6055 if test "$CONVERT" = false
6056 then
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6058 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6059 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6060 else
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6062 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6066 if test "$ICOTOOL" = false
6067 then
6068 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6069 else
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6071 $as_echo_n "checking for recent enough icotool... " >&6; }
6072 icotool_version=`icotool --version | head -n1`
6073 if test "x$icotool_version" != "x"
6074 then
6075 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6076 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6077 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6078 then
6079 ICOTOOL=false
6080 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6083 if test "$ICOTOOL" = false
6084 then
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6086 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6087 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6088 else
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6090 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6094 with_gettext=yes
6095 with_gettextpo=yes
6096 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6099 test "x$with_gettext" != xno || MSGFMT=false
6100 if test "$MSGFMT" != "false"
6101 then
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6103 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6104 cat >conftest.po <<EOF
6105 # comment
6106 msgctxt "ctxt"
6107 msgid "id"
6108 msgstr "str"
6110 if $MSGFMT -o /dev/null conftest.po 2>&5
6111 then
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6113 $as_echo "yes" >&6; }
6114 else
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6116 $as_echo "no" >&6; }
6117 MSGFMT=false
6120 if test "$MSGFMT" = false; then :
6121 case "x$with_gettext" in
6122 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6123 xno) ;;
6124 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6125 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6126 esac
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6131 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6132 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6133 $as_echo_n "(cached) " >&6
6134 else
6135 ac_check_lib_save_LIBS=$LIBS
6136 LIBS="-li386 $LIBS"
6137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6138 /* end confdefs.h. */
6140 /* Override any GCC internal prototype to avoid an error.
6141 Use char because int might match the return type of a GCC
6142 builtin and then its argument prototype would still apply. */
6143 #ifdef __cplusplus
6144 extern "C"
6145 #endif
6146 char i386_set_ldt ();
6148 main ()
6150 return i386_set_ldt ();
6152 return 0;
6154 _ACEOF
6155 if ac_fn_c_try_link "$LINENO"; then :
6156 ac_cv_lib_i386_i386_set_ldt=yes
6157 else
6158 ac_cv_lib_i386_i386_set_ldt=no
6160 rm -f core conftest.err conftest.$ac_objext \
6161 conftest$ac_exeext conftest.$ac_ext
6162 LIBS=$ac_check_lib_save_LIBS
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6165 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6166 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6167 cat >>confdefs.h <<_ACEOF
6168 #define HAVE_LIBI386 1
6169 _ACEOF
6171 LIBS="-li386 $LIBS"
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6176 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6177 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6178 $as_echo_n "(cached) " >&6
6179 else
6180 ac_check_lib_save_LIBS=$LIBS
6181 LIBS="-lossaudio $LIBS"
6182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6183 /* end confdefs.h. */
6185 /* Override any GCC internal prototype to avoid an error.
6186 Use char because int might match the return type of a GCC
6187 builtin and then its argument prototype would still apply. */
6188 #ifdef __cplusplus
6189 extern "C"
6190 #endif
6191 char _oss_ioctl ();
6193 main ()
6195 return _oss_ioctl ();
6197 return 0;
6199 _ACEOF
6200 if ac_fn_c_try_link "$LINENO"; then :
6201 ac_cv_lib_ossaudio__oss_ioctl=yes
6202 else
6203 ac_cv_lib_ossaudio__oss_ioctl=no
6205 rm -f core conftest.err conftest.$ac_objext \
6206 conftest$ac_exeext conftest.$ac_ext
6207 LIBS=$ac_check_lib_save_LIBS
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6210 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6211 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6212 cat >>confdefs.h <<_ACEOF
6213 #define HAVE_LIBOSSAUDIO 1
6214 _ACEOF
6216 LIBS="-lossaudio $LIBS"
6221 OPENGL_LIBS=""
6225 # Check whether --enable-largefile was given.
6226 if test "${enable_largefile+set}" = set; then :
6227 enableval=$enable_largefile;
6230 if test "$enable_largefile" != no; then
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6233 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6234 if ${ac_cv_sys_largefile_CC+:} false; then :
6235 $as_echo_n "(cached) " >&6
6236 else
6237 ac_cv_sys_largefile_CC=no
6238 if test "$GCC" != yes; then
6239 ac_save_CC=$CC
6240 while :; do
6241 # IRIX 6.2 and later do not support large files by default,
6242 # so use the C compiler's -n32 option if that helps.
6243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6244 /* end confdefs.h. */
6245 #include <sys/types.h>
6246 /* Check that off_t can represent 2**63 - 1 correctly.
6247 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6248 since some C++ compilers masquerading as C compilers
6249 incorrectly reject 9223372036854775807. */
6250 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6251 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6252 && LARGE_OFF_T % 2147483647 == 1)
6253 ? 1 : -1];
6255 main ()
6259 return 0;
6261 _ACEOF
6262 if ac_fn_c_try_compile "$LINENO"; then :
6263 break
6265 rm -f core conftest.err conftest.$ac_objext
6266 CC="$CC -n32"
6267 if ac_fn_c_try_compile "$LINENO"; then :
6268 ac_cv_sys_largefile_CC=' -n32'; break
6270 rm -f core conftest.err conftest.$ac_objext
6271 break
6272 done
6273 CC=$ac_save_CC
6274 rm -f conftest.$ac_ext
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6278 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6279 if test "$ac_cv_sys_largefile_CC" != no; then
6280 CC=$CC$ac_cv_sys_largefile_CC
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6284 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6285 if ${ac_cv_sys_file_offset_bits+:} false; then :
6286 $as_echo_n "(cached) " >&6
6287 else
6288 while :; do
6289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6290 /* end confdefs.h. */
6291 #include <sys/types.h>
6292 /* Check that off_t can represent 2**63 - 1 correctly.
6293 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6294 since some C++ compilers masquerading as C compilers
6295 incorrectly reject 9223372036854775807. */
6296 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6297 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6298 && LARGE_OFF_T % 2147483647 == 1)
6299 ? 1 : -1];
6301 main ()
6305 return 0;
6307 _ACEOF
6308 if ac_fn_c_try_compile "$LINENO"; then :
6309 ac_cv_sys_file_offset_bits=no; break
6311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6313 /* end confdefs.h. */
6314 #define _FILE_OFFSET_BITS 64
6315 #include <sys/types.h>
6316 /* Check that off_t can represent 2**63 - 1 correctly.
6317 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6318 since some C++ compilers masquerading as C compilers
6319 incorrectly reject 9223372036854775807. */
6320 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6321 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6322 && LARGE_OFF_T % 2147483647 == 1)
6323 ? 1 : -1];
6325 main ()
6329 return 0;
6331 _ACEOF
6332 if ac_fn_c_try_compile "$LINENO"; then :
6333 ac_cv_sys_file_offset_bits=64; break
6335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6336 ac_cv_sys_file_offset_bits=unknown
6337 break
6338 done
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6341 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6342 case $ac_cv_sys_file_offset_bits in #(
6343 no | unknown) ;;
6345 cat >>confdefs.h <<_ACEOF
6346 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6347 _ACEOF
6349 esac
6350 rm -rf conftest*
6351 if test $ac_cv_sys_file_offset_bits = unknown; then
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6353 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6354 if ${ac_cv_sys_large_files+:} false; then :
6355 $as_echo_n "(cached) " >&6
6356 else
6357 while :; do
6358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6359 /* end confdefs.h. */
6360 #include <sys/types.h>
6361 /* Check that off_t can represent 2**63 - 1 correctly.
6362 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6363 since some C++ compilers masquerading as C compilers
6364 incorrectly reject 9223372036854775807. */
6365 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6366 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6367 && LARGE_OFF_T % 2147483647 == 1)
6368 ? 1 : -1];
6370 main ()
6374 return 0;
6376 _ACEOF
6377 if ac_fn_c_try_compile "$LINENO"; then :
6378 ac_cv_sys_large_files=no; break
6380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6382 /* end confdefs.h. */
6383 #define _LARGE_FILES 1
6384 #include <sys/types.h>
6385 /* Check that off_t can represent 2**63 - 1 correctly.
6386 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6387 since some C++ compilers masquerading as C compilers
6388 incorrectly reject 9223372036854775807. */
6389 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6390 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6391 && LARGE_OFF_T % 2147483647 == 1)
6392 ? 1 : -1];
6394 main ()
6398 return 0;
6400 _ACEOF
6401 if ac_fn_c_try_compile "$LINENO"; then :
6402 ac_cv_sys_large_files=1; break
6404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6405 ac_cv_sys_large_files=unknown
6406 break
6407 done
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6410 $as_echo "$ac_cv_sys_large_files" >&6; }
6411 case $ac_cv_sys_large_files in #(
6412 no | unknown) ;;
6414 cat >>confdefs.h <<_ACEOF
6415 #define _LARGE_FILES $ac_cv_sys_large_files
6416 _ACEOF
6418 esac
6419 rm -rf conftest*
6426 ac_ext=c
6427 ac_cpp='$CPP $CPPFLAGS'
6428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6432 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6433 # On Suns, sometimes $CPP names a directory.
6434 if test -n "$CPP" && test -d "$CPP"; then
6435 CPP=
6437 if test -z "$CPP"; then
6438 if ${ac_cv_prog_CPP+:} false; then :
6439 $as_echo_n "(cached) " >&6
6440 else
6441 # Double quotes because CPP needs to be expanded
6442 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6444 ac_preproc_ok=false
6445 for ac_c_preproc_warn_flag in '' yes
6447 # Use a header file that comes with gcc, so configuring glibc
6448 # with a fresh cross-compiler works.
6449 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6450 # <limits.h> exists even on freestanding compilers.
6451 # On the NeXT, cc -E runs the code through the compiler's parser,
6452 # not just through cpp. "Syntax error" is here to catch this case.
6453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6454 /* end confdefs.h. */
6455 #ifdef __STDC__
6456 # include <limits.h>
6457 #else
6458 # include <assert.h>
6459 #endif
6460 Syntax error
6461 _ACEOF
6462 if ac_fn_c_try_cpp "$LINENO"; then :
6464 else
6465 # Broken: fails on valid input.
6466 continue
6468 rm -f conftest.err conftest.i conftest.$ac_ext
6470 # OK, works on sane cases. Now check whether nonexistent headers
6471 # can be detected and how.
6472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6473 /* end confdefs.h. */
6474 #include <ac_nonexistent.h>
6475 _ACEOF
6476 if ac_fn_c_try_cpp "$LINENO"; then :
6477 # Broken: success on invalid input.
6478 continue
6479 else
6480 # Passes both tests.
6481 ac_preproc_ok=:
6482 break
6484 rm -f conftest.err conftest.i conftest.$ac_ext
6486 done
6487 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6488 rm -f conftest.i conftest.err conftest.$ac_ext
6489 if $ac_preproc_ok; then :
6490 break
6493 done
6494 ac_cv_prog_CPP=$CPP
6497 CPP=$ac_cv_prog_CPP
6498 else
6499 ac_cv_prog_CPP=$CPP
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6502 $as_echo "$CPP" >&6; }
6503 ac_preproc_ok=false
6504 for ac_c_preproc_warn_flag in '' yes
6506 # Use a header file that comes with gcc, so configuring glibc
6507 # with a fresh cross-compiler works.
6508 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6509 # <limits.h> exists even on freestanding compilers.
6510 # On the NeXT, cc -E runs the code through the compiler's parser,
6511 # not just through cpp. "Syntax error" is here to catch this case.
6512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6513 /* end confdefs.h. */
6514 #ifdef __STDC__
6515 # include <limits.h>
6516 #else
6517 # include <assert.h>
6518 #endif
6519 Syntax error
6520 _ACEOF
6521 if ac_fn_c_try_cpp "$LINENO"; then :
6523 else
6524 # Broken: fails on valid input.
6525 continue
6527 rm -f conftest.err conftest.i conftest.$ac_ext
6529 # OK, works on sane cases. Now check whether nonexistent headers
6530 # can be detected and how.
6531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6532 /* end confdefs.h. */
6533 #include <ac_nonexistent.h>
6534 _ACEOF
6535 if ac_fn_c_try_cpp "$LINENO"; then :
6536 # Broken: success on invalid input.
6537 continue
6538 else
6539 # Passes both tests.
6540 ac_preproc_ok=:
6541 break
6543 rm -f conftest.err conftest.i conftest.$ac_ext
6545 done
6546 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6547 rm -f conftest.i conftest.err conftest.$ac_ext
6548 if $ac_preproc_ok; then :
6550 else
6551 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6552 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6553 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6554 See \`config.log' for more details" "$LINENO" 5; }
6557 ac_ext=c
6558 ac_cpp='$CPP $CPPFLAGS'
6559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6565 $as_echo_n "checking for ANSI C header files... " >&6; }
6566 if ${ac_cv_header_stdc+:} false; then :
6567 $as_echo_n "(cached) " >&6
6568 else
6569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6570 /* end confdefs.h. */
6571 #include <stdlib.h>
6572 #include <stdarg.h>
6573 #include <string.h>
6574 #include <float.h>
6577 main ()
6581 return 0;
6583 _ACEOF
6584 if ac_fn_c_try_compile "$LINENO"; then :
6585 ac_cv_header_stdc=yes
6586 else
6587 ac_cv_header_stdc=no
6589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6591 if test $ac_cv_header_stdc = yes; then
6592 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6594 /* end confdefs.h. */
6595 #include <string.h>
6597 _ACEOF
6598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6599 $EGREP "memchr" >/dev/null 2>&1; then :
6601 else
6602 ac_cv_header_stdc=no
6604 rm -f conftest*
6608 if test $ac_cv_header_stdc = yes; then
6609 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6611 /* end confdefs.h. */
6612 #include <stdlib.h>
6614 _ACEOF
6615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6616 $EGREP "free" >/dev/null 2>&1; then :
6618 else
6619 ac_cv_header_stdc=no
6621 rm -f conftest*
6625 if test $ac_cv_header_stdc = yes; then
6626 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6627 if test "$cross_compiling" = yes; then :
6629 else
6630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6631 /* end confdefs.h. */
6632 #include <ctype.h>
6633 #include <stdlib.h>
6634 #if ((' ' & 0x0FF) == 0x020)
6635 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6636 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6637 #else
6638 # define ISLOWER(c) \
6639 (('a' <= (c) && (c) <= 'i') \
6640 || ('j' <= (c) && (c) <= 'r') \
6641 || ('s' <= (c) && (c) <= 'z'))
6642 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6643 #endif
6645 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6647 main ()
6649 int i;
6650 for (i = 0; i < 256; i++)
6651 if (XOR (islower (i), ISLOWER (i))
6652 || toupper (i) != TOUPPER (i))
6653 return 2;
6654 return 0;
6656 _ACEOF
6657 if ac_fn_c_try_run "$LINENO"; then :
6659 else
6660 ac_cv_header_stdc=no
6662 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6663 conftest.$ac_objext conftest.beam conftest.$ac_ext
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6669 $as_echo "$ac_cv_header_stdc" >&6; }
6670 if test $ac_cv_header_stdc = yes; then
6672 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6676 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6677 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6678 inttypes.h stdint.h unistd.h
6679 do :
6680 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6681 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6683 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6684 cat >>confdefs.h <<_ACEOF
6685 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6686 _ACEOF
6690 done
6693 for ac_header in \
6694 AL/al.h \
6695 ApplicationServices/ApplicationServices.h \
6696 AudioToolbox/AudioConverter.h \
6697 AudioUnit/AudioUnit.h \
6698 AudioUnit/AudioComponent.h \
6699 CL/cl.h \
6700 Carbon/Carbon.h \
6701 CommonCrypto/CommonDigest.h \
6702 CoreAudio/CoreAudio.h \
6703 CoreServices/CoreServices.h \
6704 DiskArbitration/DiskArbitration.h \
6705 IOKit/IOKitLib.h \
6706 IOKit/hid/IOHIDLib.h \
6707 OpenAL/al.h \
6708 OpenCL/opencl.h \
6709 QuickTime/ImageCompression.h \
6710 Security/Security.h \
6711 alias.h \
6712 alsa/asoundlib.h \
6713 arpa/inet.h \
6714 arpa/nameser.h \
6715 asm/types.h \
6716 asm/user.h \
6717 curses.h \
6718 direct.h \
6719 dirent.h \
6720 dlfcn.h \
6721 elf.h \
6722 float.h \
6723 fnmatch.h \
6724 getopt.h \
6725 gettext-po.h \
6726 grp.h \
6727 gsm.h \
6728 gsm/gsm.h \
6729 ieeefp.h \
6730 inet/mib2.h \
6731 io.h \
6732 kstat.h \
6733 lber.h \
6734 ldap.h \
6735 libproc.h \
6736 link.h \
6737 linux/cdrom.h \
6738 linux/compiler.h \
6739 linux/filter.h \
6740 linux/hdreg.h \
6741 linux/input.h \
6742 linux/ioctl.h \
6743 linux/joystick.h \
6744 linux/major.h \
6745 linux/param.h \
6746 linux/serial.h \
6747 linux/types.h \
6748 linux/ucdrom.h \
6749 lwp.h \
6750 mach-o/nlist.h \
6751 mach-o/loader.h \
6752 mach/mach.h \
6753 mach/machine.h \
6754 machine/cpu.h \
6755 machine/limits.h \
6756 machine/sysarch.h \
6757 mntent.h \
6758 ncurses.h \
6759 netdb.h \
6760 netinet/in.h \
6761 netinet/in_systm.h \
6762 netinet/tcp.h \
6763 netinet/tcp_fsm.h \
6764 pcap/pcap.h \
6765 poll.h \
6766 port.h \
6767 process.h \
6768 pthread.h \
6769 pwd.h \
6770 sched.h \
6771 scsi/scsi.h \
6772 scsi/scsi_ioctl.h \
6773 scsi/sg.h \
6774 stdbool.h \
6775 stdint.h \
6776 stropts.h \
6777 sys/asoundlib.h \
6778 sys/attr.h \
6779 sys/cdio.h \
6780 sys/elf32.h \
6781 sys/epoll.h \
6782 sys/event.h \
6783 sys/exec_elf.h \
6784 sys/filio.h \
6785 sys/inotify.h \
6786 sys/ioctl.h \
6787 sys/ipc.h \
6788 sys/limits.h \
6789 sys/link.h \
6790 sys/mman.h \
6791 sys/modem.h \
6792 sys/msg.h \
6793 sys/mtio.h \
6794 sys/param.h \
6795 sys/poll.h \
6796 sys/prctl.h \
6797 sys/protosw.h \
6798 sys/ptrace.h \
6799 sys/queue.h \
6800 sys/resource.h \
6801 sys/scsiio.h \
6802 sys/shm.h \
6803 sys/signal.h \
6804 sys/socket.h \
6805 sys/socketvar.h \
6806 sys/sockio.h \
6807 sys/statvfs.h \
6808 sys/strtio.h \
6809 sys/syscall.h \
6810 sys/tihdr.h \
6811 sys/time.h \
6812 sys/timeout.h \
6813 sys/times.h \
6814 sys/uio.h \
6815 sys/user.h \
6816 sys/utsname.h \
6817 sys/vm86.h \
6818 sys/vnode.h \
6819 sys/wait.h \
6820 syscall.h \
6821 termios.h \
6822 unistd.h \
6823 utime.h \
6824 valgrind/memcheck.h \
6825 valgrind/valgrind.h \
6826 zlib.h
6828 do :
6829 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6830 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6831 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6832 cat >>confdefs.h <<_ACEOF
6833 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6834 _ACEOF
6838 done
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6841 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6842 if ${ac_cv_header_stat_broken+:} false; then :
6843 $as_echo_n "(cached) " >&6
6844 else
6845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6846 /* end confdefs.h. */
6847 #include <sys/types.h>
6848 #include <sys/stat.h>
6850 #if defined S_ISBLK && defined S_IFDIR
6851 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6852 #endif
6854 #if defined S_ISBLK && defined S_IFCHR
6855 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6856 #endif
6858 #if defined S_ISLNK && defined S_IFREG
6859 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6860 #endif
6862 #if defined S_ISSOCK && defined S_IFREG
6863 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6864 #endif
6866 _ACEOF
6867 if ac_fn_c_try_compile "$LINENO"; then :
6868 ac_cv_header_stat_broken=no
6869 else
6870 ac_cv_header_stat_broken=yes
6872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6875 $as_echo "$ac_cv_header_stat_broken" >&6; }
6876 if test $ac_cv_header_stat_broken = yes; then
6878 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6884 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6885 do :
6886 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6887 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6888 #ifdef HAVE_SYS_PARAM_H
6889 # include <sys/param.h>
6890 #endif
6892 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6893 cat >>confdefs.h <<_ACEOF
6894 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6895 _ACEOF
6899 done
6902 for ac_header in \
6903 netinet/ip.h \
6904 net/if.h \
6905 net/if_arp.h \
6906 net/if_dl.h \
6907 net/if_types.h \
6908 net/route.h \
6909 netinet/if_ether.h \
6910 netinet/if_inarp.h \
6911 netinet/in_pcb.h \
6912 netinet/ip_icmp.h \
6913 netinet/ip_var.h \
6914 netinet/udp.h \
6915 netipx/ipx.h \
6916 sys/un.h \
6918 do :
6919 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6920 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6921 #ifdef HAVE_SYS_SOCKET_H
6922 # include <sys/socket.h>
6923 #endif
6924 #ifdef HAVE_SYS_SOCKETVAR_H
6925 # include <sys/socketvar.h>
6926 #endif
6927 #ifdef HAVE_NET_ROUTE_H
6928 # include <net/route.h>
6929 #endif
6930 #ifdef HAVE_NETINET_IN_H
6931 # include <netinet/in.h>
6932 #endif
6933 #ifdef HAVE_NETINET_IN_SYSTM_H
6934 # include <netinet/in_systm.h>
6935 #endif
6936 #ifdef HAVE_NET_IF_H
6937 # include <net/if.h>
6938 #endif
6939 #ifdef HAVE_NETINET_IP_H
6940 # include <netinet/ip.h>
6941 #endif
6943 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6944 cat >>confdefs.h <<_ACEOF
6945 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6946 _ACEOF
6950 done
6953 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6954 do :
6955 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6956 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6957 #ifdef HAVE_ALIAS_H
6958 # include <alias.h>
6959 #endif
6960 #ifdef HAVE_SYS_SOCKET_H
6961 # include <sys/socket.h>
6962 #endif
6963 #ifdef HAVE_SYS_SOCKETVAR_H
6964 # include <sys/socketvar.h>
6965 #endif
6966 #ifdef HAVE_SYS_TIMEOUT_H
6967 # include <sys/timeout.h>
6968 #endif
6969 #ifdef HAVE_NETINET_IN_H
6970 # include <netinet/in.h>
6971 #endif
6972 #ifdef HAVE_NETINET_IN_SYSTM_H
6973 # include <netinet/in_systm.h>
6974 #endif
6975 #ifdef HAVE_NETINET_IP_H
6976 # include <netinet/ip.h>
6977 #endif
6978 #ifdef HAVE_NETINET_IP_VAR_H
6979 # include <netinet/ip_var.h>
6980 #endif
6981 #ifdef HAVE_NETINET_IP_ICMP_H
6982 # include <netinet/ip_icmp.h>
6983 #endif
6984 #ifdef HAVE_NETINET_UDP_H
6985 # include <netinet/udp.h>
6986 #endif
6987 #ifdef HAVE_NETINET_TCP_H
6988 # include <netinet/tcp.h>
6989 #endif
6990 #ifdef HAVE_NETINET_TCP_TIMER_H
6991 #include <netinet/tcp_timer.h>
6992 #endif
6994 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6995 cat >>confdefs.h <<_ACEOF
6996 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6997 _ACEOF
7001 done
7004 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7005 do :
7006 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7007 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7008 #ifdef HAVE_ASM_TYPES_H
7009 # include <asm/types.h>
7010 #endif
7011 #ifdef HAVE_SYS_SOCKET_H
7012 # include <sys/socket.h>
7013 #endif
7014 #ifdef HAVE_LINUX_TYPES_H
7015 # include <linux/types.h>
7016 #endif
7018 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7019 cat >>confdefs.h <<_ACEOF
7020 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7021 _ACEOF
7025 done
7028 for ac_header in mach-o/dyld_images.h
7029 do :
7030 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7031 # include <stdbool.h>
7032 #endif
7033 #ifdef HAVE_STDINT_H
7034 # include <stdint.h>
7035 #endif
7037 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7038 cat >>confdefs.h <<_ACEOF
7039 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7040 _ACEOF
7044 done
7047 for ac_header in resolv.h
7048 do :
7049 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7050 #ifdef HAVE_SYS_SOCKET_H
7051 # include <sys/socket.h>
7052 #endif
7053 #ifdef HAVE_NETINET_IN_H
7054 # include <netinet/in.h>
7055 #endif
7056 #ifdef HAVE_ARPA_NAMESER_H
7057 # include <arpa/nameser.h>
7058 #endif
7060 if test "x$ac_cv_header_resolv_h" = xyes; then :
7061 cat >>confdefs.h <<_ACEOF
7062 #define HAVE_RESOLV_H 1
7063 _ACEOF
7067 done
7070 for ac_header in ifaddrs.h
7071 do :
7072 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7074 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7075 cat >>confdefs.h <<_ACEOF
7076 #define HAVE_IFADDRS_H 1
7077 _ACEOF
7081 done
7084 for ac_header in sys/ucontext.h
7085 do :
7086 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7088 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7089 cat >>confdefs.h <<_ACEOF
7090 #define HAVE_SYS_UCONTEXT_H 1
7091 _ACEOF
7095 done
7098 for ac_header in sys/thr.h
7099 do :
7100 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7101 #ifdef HAVE_SYS_UCONTEXT_H
7102 #include <sys/ucontext.h>
7103 #endif
7105 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7106 cat >>confdefs.h <<_ACEOF
7107 #define HAVE_SYS_THR_H 1
7108 _ACEOF
7112 done
7115 for ac_header in pthread_np.h
7116 do :
7117 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7118 #include <pthread.h>
7119 #endif
7121 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7122 cat >>confdefs.h <<_ACEOF
7123 #define HAVE_PTHREAD_NP_H 1
7124 _ACEOF
7128 done
7131 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7132 do :
7133 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7134 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7135 #include <sys/time.h>
7136 #endif
7137 #include <sys/types.h>
7138 #ifdef HAVE_ASM_TYPES_H
7139 #include <asm/types.h>
7140 #endif
7142 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7143 cat >>confdefs.h <<_ACEOF
7144 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7145 _ACEOF
7149 done
7152 for ac_header in libprocstat.h
7153 do :
7154 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7155 #include <sys/param.h>
7156 #endif
7157 #ifdef HAVE_SYS_QUEUE_H
7158 #include <sys/queue.h>
7159 #endif
7160 #ifdef HAVE_SYS_SOCKET_H
7161 #include <sys/socket.h>
7162 #endif
7164 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7165 cat >>confdefs.h <<_ACEOF
7166 #define HAVE_LIBPROCSTAT_H 1
7167 _ACEOF
7171 done
7175 dlldir="\${libdir}/wine"
7177 DLLFLAGS="-D_REENTRANT"
7179 LDRPATH_INSTALL=""
7181 LDRPATH_LOCAL=""
7183 LDEXECFLAGS=""
7185 LIBEXT="so"
7186 DLLEXT=".so"
7187 IMPLIBEXT="def"
7188 STATIC_IMPLIBEXT="def.a"
7189 # Extract the first word of "ldd", so it can be a program name with args.
7190 set dummy ldd; ac_word=$2
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7192 $as_echo_n "checking for $ac_word... " >&6; }
7193 if ${ac_cv_path_LDD+:} false; then :
7194 $as_echo_n "(cached) " >&6
7195 else
7196 case $LDD in
7197 [\\/]* | ?:[\\/]*)
7198 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7202 as_dummy="/sbin:/usr/sbin:$PATH"
7203 for as_dir in $as_dummy
7205 IFS=$as_save_IFS
7206 test -z "$as_dir" && as_dir=.
7207 for ac_exec_ext in '' $ac_executable_extensions; do
7208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7209 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7211 break 2
7213 done
7214 done
7215 IFS=$as_save_IFS
7217 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7219 esac
7221 LDD=$ac_cv_path_LDD
7222 if test -n "$LDD"; then
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7224 $as_echo "$LDD" >&6; }
7225 else
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7227 $as_echo "no" >&6; }
7231 if test -n "$ac_tool_prefix"; then
7232 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7233 set dummy ${ac_tool_prefix}otool; ac_word=$2
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7235 $as_echo_n "checking for $ac_word... " >&6; }
7236 if ${ac_cv_prog_OTOOL+:} false; then :
7237 $as_echo_n "(cached) " >&6
7238 else
7239 if test -n "$OTOOL"; then
7240 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7241 else
7242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7243 for as_dir in $PATH
7245 IFS=$as_save_IFS
7246 test -z "$as_dir" && as_dir=.
7247 for ac_exec_ext in '' $ac_executable_extensions; do
7248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7249 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7251 break 2
7253 done
7254 done
7255 IFS=$as_save_IFS
7259 OTOOL=$ac_cv_prog_OTOOL
7260 if test -n "$OTOOL"; then
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7262 $as_echo "$OTOOL" >&6; }
7263 else
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7265 $as_echo "no" >&6; }
7270 if test -z "$ac_cv_prog_OTOOL"; then
7271 ac_ct_OTOOL=$OTOOL
7272 # Extract the first word of "otool", so it can be a program name with args.
7273 set dummy otool; ac_word=$2
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7275 $as_echo_n "checking for $ac_word... " >&6; }
7276 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7277 $as_echo_n "(cached) " >&6
7278 else
7279 if test -n "$ac_ct_OTOOL"; then
7280 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7281 else
7282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7283 for as_dir in $PATH
7285 IFS=$as_save_IFS
7286 test -z "$as_dir" && as_dir=.
7287 for ac_exec_ext in '' $ac_executable_extensions; do
7288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7289 ac_cv_prog_ac_ct_OTOOL="otool"
7290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7291 break 2
7293 done
7294 done
7295 IFS=$as_save_IFS
7299 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7300 if test -n "$ac_ct_OTOOL"; then
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7302 $as_echo "$ac_ct_OTOOL" >&6; }
7303 else
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7305 $as_echo "no" >&6; }
7308 if test "x$ac_ct_OTOOL" = x; then
7309 OTOOL="otool"
7310 else
7311 case $cross_compiling:$ac_tool_warned in
7312 yes:)
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7315 ac_tool_warned=yes ;;
7316 esac
7317 OTOOL=$ac_ct_OTOOL
7319 else
7320 OTOOL="$ac_cv_prog_OTOOL"
7323 if test -n "$ac_tool_prefix"; then
7324 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7325 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7327 $as_echo_n "checking for $ac_word... " >&6; }
7328 if ${ac_cv_prog_READELF+:} false; then :
7329 $as_echo_n "(cached) " >&6
7330 else
7331 if test -n "$READELF"; then
7332 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7333 else
7334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7335 for as_dir in $PATH
7337 IFS=$as_save_IFS
7338 test -z "$as_dir" && as_dir=.
7339 for ac_exec_ext in '' $ac_executable_extensions; do
7340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7341 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7343 break 2
7345 done
7346 done
7347 IFS=$as_save_IFS
7351 READELF=$ac_cv_prog_READELF
7352 if test -n "$READELF"; then
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7354 $as_echo "$READELF" >&6; }
7355 else
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7357 $as_echo "no" >&6; }
7362 if test -z "$ac_cv_prog_READELF"; then
7363 ac_ct_READELF=$READELF
7364 # Extract the first word of "readelf", so it can be a program name with args.
7365 set dummy readelf; ac_word=$2
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7367 $as_echo_n "checking for $ac_word... " >&6; }
7368 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7369 $as_echo_n "(cached) " >&6
7370 else
7371 if test -n "$ac_ct_READELF"; then
7372 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7373 else
7374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7375 for as_dir in $PATH
7377 IFS=$as_save_IFS
7378 test -z "$as_dir" && as_dir=.
7379 for ac_exec_ext in '' $ac_executable_extensions; do
7380 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7381 ac_cv_prog_ac_ct_READELF="readelf"
7382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7383 break 2
7385 done
7386 done
7387 IFS=$as_save_IFS
7391 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7392 if test -n "$ac_ct_READELF"; then
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7394 $as_echo "$ac_ct_READELF" >&6; }
7395 else
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7397 $as_echo "no" >&6; }
7400 if test "x$ac_ct_READELF" = x; then
7401 READELF="true"
7402 else
7403 case $cross_compiling:$ac_tool_warned in
7404 yes:)
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7407 ac_tool_warned=yes ;;
7408 esac
7409 READELF=$ac_ct_READELF
7411 else
7412 READELF="$ac_cv_prog_READELF"
7415 wine_rules_file=conf$$rules.make
7416 rm -f $wine_rules_file
7417 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7418 SUBDIRS=""
7420 ALL_TEST_RESOURCES=""
7423 wine_fn_append_file ()
7425 as_fn_append $1 " \\$as_nl $2"
7428 wine_fn_ignore_file ()
7430 case "$1" in
7431 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7432 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7433 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7434 esac
7437 wine_fn_append_rule ()
7439 $as_echo "$1" >>$wine_rules_file
7442 wine_fn_has_flag ()
7444 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7447 wine_fn_depend_rules ()
7449 wine_fn_append_file SUBDIRS $ac_dir
7452 wine_fn_all_rules ()
7454 wine_fn_depend_rules
7455 wine_fn_append_rule \
7456 "all: $ac_dir
7457 .PHONY: $ac_dir
7458 $ac_dir: dummy
7459 @cd $ac_dir && \$(MAKE)"
7462 wine_fn_install_rules ()
7464 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7466 wine_fn_append_rule \
7467 ".PHONY: $ac_dir/install $ac_dir/uninstall
7468 $ac_dir/install:: $ac_dir
7469 @cd $ac_dir && \$(MAKE) install
7470 $ac_dir/uninstall::
7471 @cd $ac_dir && \$(MAKE) uninstall
7472 install:: $ac_dir/install
7473 __uninstall__: $ac_dir/uninstall"
7475 if wine_fn_has_flag install-lib
7476 then
7477 wine_fn_append_rule \
7478 ".PHONY: $ac_dir/install-lib
7479 $ac_dir/install-lib:: $ac_dir
7480 @cd $ac_dir && \$(MAKE) install-lib
7481 install-lib:: $ac_dir/install-lib"
7484 if wine_fn_has_flag install-dev
7485 then
7486 wine_fn_append_rule \
7487 ".PHONY: $ac_dir/install-dev
7488 $ac_dir/install-dev:: $ac_dir
7489 @cd $ac_dir && \$(MAKE) install-dev
7490 install-dev:: $ac_dir/install-dev"
7494 wine_fn_clean_rules ()
7496 ac_clean=$@
7498 if wine_fn_has_flag clean
7499 then
7500 wine_fn_append_rule \
7501 "$ac_dir/clean: dummy
7502 @cd $ac_dir && \$(MAKE) clean"
7503 else
7504 wine_fn_append_rule \
7505 "$ac_dir/clean: dummy
7506 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7508 wine_fn_append_rule \
7509 "__clean__: $ac_dir/clean
7510 .PHONY: $ac_dir/clean"
7513 wine_fn_disabled_rules ()
7515 ac_clean=$@
7517 wine_fn_append_rule \
7518 "__clean__: $ac_dir/clean
7519 .PHONY: $ac_dir/clean
7520 $ac_dir/clean: dummy
7521 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7524 wine_fn_config_makefile ()
7526 ac_dir=$1
7527 ac_enable=$2
7528 ac_flags=$3
7530 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7531 wine_fn_disabled_rules; return
7533 wine_fn_all_rules
7534 wine_fn_install_rules
7535 wine_fn_clean_rules
7538 wine_fn_config_lib ()
7540 ac_name=$1
7541 ac_flags=$2
7542 ac_dir=dlls/$ac_name
7543 ac_deps="include"
7545 if test "x$enable_tools" = xno; then :
7547 else
7548 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7550 wine_fn_all_rules
7551 wine_fn_clean_rules
7553 wine_fn_append_rule \
7554 ".PHONY: $ac_dir/install $ac_dir/uninstall
7555 $ac_dir/install:: $ac_dir
7556 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7557 $ac_dir/uninstall::
7558 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7559 install install-dev:: $ac_dir/install
7560 __uninstall__: $ac_dir/uninstall
7561 __builddeps__: $ac_dir
7562 $ac_dir: $ac_deps"
7565 wine_fn_config_dll ()
7567 ac_name=$1
7568 ac_dir=dlls/$ac_name
7569 ac_enable=$2
7570 ac_flags=$3
7571 ac_implib=${4:-$ac_name}
7572 ac_file=$ac_dir/lib$ac_implib
7573 ac_dll=$ac_name
7574 ac_deps="include"
7575 ac_implibflags=""
7577 if test "x$enable_tools" = xno; then :
7579 else
7580 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7582 case $ac_name in
7583 *16) ac_implibflags=" -m16" ;;
7584 *.*) ;;
7585 *) ac_dll=$ac_dll.dll ;;
7586 esac
7588 ac_clean=
7589 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7590 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7592 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7593 if test "$ac_enable" != enable_win16
7594 then
7595 wine_fn_depend_rules
7596 wine_fn_clean_rules $ac_clean
7597 else
7598 wine_fn_disabled_rules $ac_clean
7599 return
7601 else
7602 wine_fn_all_rules
7603 wine_fn_clean_rules $ac_clean
7604 wine_fn_append_rule \
7605 "$ac_dir: __builddeps__
7606 manpages htmlpages sgmlpages xmlpages::
7607 @cd $ac_dir && \$(MAKE) \$@
7608 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7609 install install-lib:: $ac_dir/install-lib
7610 __uninstall__: $ac_dir/uninstall"
7611 if test -n "$DLLEXT"
7612 then
7613 wine_fn_append_rule \
7614 "$ac_dir/install-lib:: $ac_dir
7615 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7616 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7617 $ac_dir/uninstall::
7618 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7619 else
7620 wine_fn_append_rule \
7621 "$ac_dir/install-lib:: $ac_dir
7622 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7623 $ac_dir/uninstall::
7624 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7628 if wine_fn_has_flag staticimplib
7629 then
7630 wine_fn_append_rule \
7631 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7632 $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7633 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7634 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7635 $ac_file.$STATIC_IMPLIBEXT: dummy
7636 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7637 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7638 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7639 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7640 $ac_dir/uninstall::
7641 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7642 install install-dev:: $ac_dir/install-dev
7643 __uninstall__: $ac_dir/uninstall"
7645 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7646 then
7647 wine_fn_append_rule \
7648 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7649 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7650 $ac_dir/uninstall::
7651 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7654 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7655 then
7656 wine_fn_append_rule \
7657 "__builddeps__: $ac_file.cross.a
7658 $ac_file.cross.a: dummy
7659 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7662 elif wine_fn_has_flag implib
7663 then
7664 wine_fn_append_rule \
7665 "__builddeps__: $ac_file.$IMPLIBEXT
7666 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7667 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7668 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7669 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7670 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7671 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7672 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7673 $ac_dir/uninstall::
7674 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7675 install install-dev:: $ac_dir/install-dev
7676 __uninstall__: $ac_dir/uninstall"
7677 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7678 then
7679 wine_fn_append_rule \
7680 "__builddeps__: $ac_file.cross.a
7681 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7682 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7685 if test "$ac_name" != "$ac_implib"
7686 then
7687 wine_fn_append_rule \
7688 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7689 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7690 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7691 clean::
7692 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7693 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7694 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7695 then
7696 wine_fn_append_rule \
7697 "__builddeps__: dlls/lib$ac_implib.cross.a
7698 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7699 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7700 clean::
7701 \$(RM) dlls/lib$ac_implib.cross.a"
7702 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7708 wine_fn_config_program ()
7710 ac_name=$1
7711 ac_dir=programs/$ac_name
7712 ac_enable=$2
7713 ac_flags=$3
7714 ac_program=$ac_name
7716 case $ac_name in
7717 *.*) ;;
7718 *) ac_program=$ac_program.exe ;;
7719 esac
7721 ac_clean=
7722 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7723 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7725 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7726 wine_fn_disabled_rules $ac_clean; return
7729 wine_fn_all_rules
7730 wine_fn_clean_rules $ac_clean
7731 wine_fn_append_rule "$ac_dir: __builddeps__"
7733 wine_fn_has_flag install || return
7734 wine_fn_append_rule \
7735 ".PHONY: $ac_dir/install $ac_dir/uninstall
7736 install install-lib:: $ac_dir/install
7737 __uninstall__: $ac_dir/uninstall"
7739 if test -n "$DLLEXT"
7740 then
7741 wine_fn_append_rule \
7742 "$ac_dir/install:: $ac_dir
7743 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7744 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7745 $ac_dir/uninstall::
7746 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7748 if test -z "$with_wine64" && wine_fn_has_flag installbin
7749 then
7750 wine_fn_append_rule \
7751 "$ac_dir/install:: __tooldeps__
7752 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7753 $ac_dir/uninstall::
7754 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7756 else
7757 wine_fn_append_rule \
7758 "$ac_dir/install:: $ac_dir
7759 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7760 $ac_dir/uninstall::
7761 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7764 if test -z "$with_wine64" && wine_fn_has_flag manpage
7765 then
7766 wine_fn_append_rule \
7767 "$ac_dir/install:: $ac_dir
7768 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7769 $ac_dir/uninstall::
7770 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7774 wine_fn_config_test ()
7776 ac_dir=$1
7777 ac_name=$2
7778 ac_flags=$3
7780 ac_clean=
7781 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7782 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7784 if test "x$enable_tests" = xno; then :
7785 wine_fn_disabled_rules $ac_clean; return
7788 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7789 wine_fn_all_rules
7790 wine_fn_clean_rules $ac_clean
7792 wine_fn_append_rule \
7793 "$ac_dir: __builddeps__
7794 programs/winetest: $ac_dir
7795 check test: $ac_dir/test
7796 .PHONY: $ac_dir/test
7797 $ac_dir/test: dummy
7798 @cd $ac_dir && \$(MAKE) test
7799 testclean::
7800 \$(RM) $ac_dir/*.ok"
7802 if test -n "$CROSSTARGET"
7803 then
7804 wine_fn_append_rule \
7805 "crosstest: $ac_dir/crosstest
7806 .PHONY: $ac_dir/crosstest
7807 $ac_dir/crosstest: __builddeps__ dummy
7808 @cd $ac_dir && \$(MAKE) crosstest"
7812 wine_fn_config_tool ()
7814 ac_dir=$1
7815 ac_flags=$2
7816 if test "x$enable_tools" = xno; then :
7817 return
7820 wine_fn_all_rules
7821 wine_fn_install_rules
7822 wine_fn_clean_rules
7824 wine_fn_append_rule "__tooldeps__: $ac_dir"
7825 wine_fn_append_rule "$ac_dir: libs/port"
7826 case $ac_dir in
7827 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7828 esac
7831 wine_fn_config_symlink ()
7833 ac_linkdir=
7834 if test "x$1" = "x-d"
7835 then
7836 ac_linkdir=$2
7837 shift; shift
7839 ac_links=$@
7840 wine_fn_append_rule \
7841 "$ac_links:
7842 @./config.status \$@
7843 distclean::
7844 \$(RM) $ac_links"
7845 for f in $ac_links; do wine_fn_ignore_file $f; done
7846 test -n "$ac_linkdir" || return
7847 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7850 wine_binary="wine"
7851 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7852 WINELOADER_PROGRAMS="$wine_binary"
7854 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7856 case $host_os in
7857 cygwin*|mingw32*)
7858 if test -n "$ac_tool_prefix"; then
7859 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7860 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7862 $as_echo_n "checking for $ac_word... " >&6; }
7863 if ${ac_cv_prog_DLLTOOL+:} false; then :
7864 $as_echo_n "(cached) " >&6
7865 else
7866 if test -n "$DLLTOOL"; then
7867 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7868 else
7869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7870 for as_dir in $PATH
7872 IFS=$as_save_IFS
7873 test -z "$as_dir" && as_dir=.
7874 for ac_exec_ext in '' $ac_executable_extensions; do
7875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7876 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7878 break 2
7880 done
7881 done
7882 IFS=$as_save_IFS
7886 DLLTOOL=$ac_cv_prog_DLLTOOL
7887 if test -n "$DLLTOOL"; then
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7889 $as_echo "$DLLTOOL" >&6; }
7890 else
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7892 $as_echo "no" >&6; }
7897 if test -z "$ac_cv_prog_DLLTOOL"; then
7898 ac_ct_DLLTOOL=$DLLTOOL
7899 # Extract the first word of "dlltool", so it can be a program name with args.
7900 set dummy dlltool; ac_word=$2
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7902 $as_echo_n "checking for $ac_word... " >&6; }
7903 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7904 $as_echo_n "(cached) " >&6
7905 else
7906 if test -n "$ac_ct_DLLTOOL"; then
7907 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7908 else
7909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7910 for as_dir in $PATH
7912 IFS=$as_save_IFS
7913 test -z "$as_dir" && as_dir=.
7914 for ac_exec_ext in '' $ac_executable_extensions; do
7915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7916 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7918 break 2
7920 done
7921 done
7922 IFS=$as_save_IFS
7926 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7927 if test -n "$ac_ct_DLLTOOL"; then
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7929 $as_echo "$ac_ct_DLLTOOL" >&6; }
7930 else
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7932 $as_echo "no" >&6; }
7935 if test "x$ac_ct_DLLTOOL" = x; then
7936 DLLTOOL="false"
7937 else
7938 case $cross_compiling:$ac_tool_warned in
7939 yes:)
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7941 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7942 ac_tool_warned=yes ;;
7943 esac
7944 DLLTOOL=$ac_ct_DLLTOOL
7946 else
7947 DLLTOOL="$ac_cv_prog_DLLTOOL"
7950 LIBEXT="dll"
7951 DLLEXT=""
7952 IMPLIBEXT="a"
7953 STATIC_IMPLIBEXT="a"
7954 enable_iphlpapi=${enable_iphlpapi:-no}
7955 enable_kernel32=${enable_kernel32:-no}
7956 enable_msvcrt=${enable_msvcrt:-no}
7957 enable_ntdll=${enable_ntdll:-no}
7958 enable_ws2_32=${enable_ws2_32:-no}
7959 enable_loader=${enable_loader:-no}
7960 enable_server=${enable_server:-no}
7961 with_x=${with_x:-no}
7962 with_pthread=${with_pthread:-no}
7964 crtlibs=""
7965 case $host_os in
7966 mingw32*)
7967 crtlibs="-lmsvcrt"
7968 SOCKET_LIBS="-lws2_32"
7970 esac
7972 LIBWINE_SHAREDLIB="libwine.dll"
7974 LIBWINE_IMPORTLIB="libwine.a"
7976 LIBWINE_INSTALL_LIB="libwine.dll"
7978 LIBWINE_INSTALL_DEV="libwine.a"
7980 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7982 LIBWINE_DEPENDS="wine.def"
7986 darwin*|macosx*)
7987 for ac_header in libunwind.h
7988 do :
7989 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7990 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7991 cat >>confdefs.h <<_ACEOF
7992 #define HAVE_LIBUNWIND_H 1
7993 _ACEOF
7997 done
7999 LIBEXT="dylib"
8000 DLLFLAGS="$DLLFLAGS -fPIC"
8001 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8002 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8003 COREFOUNDATION_LIBS="-framework CoreFoundation"
8005 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8007 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8009 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8011 CORESERVICES_LIBS="-framework CoreServices"
8013 APPKIT_LIBS="-framework AppKit"
8015 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8017 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8018 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8019 $as_echo_n "(cached) " >&6
8020 else
8021 ac_wine_try_cflags_saved=$CFLAGS
8022 CFLAGS="$CFLAGS -Wl,-no_pie"
8023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8024 /* end confdefs.h. */
8025 int main(int argc, char **argv) { return 0; }
8026 _ACEOF
8027 if ac_fn_c_try_link "$LINENO"; then :
8028 ac_cv_cflags__Wl__no_pie=yes
8029 else
8030 ac_cv_cflags__Wl__no_pie=no
8032 rm -f core conftest.err conftest.$ac_objext \
8033 conftest$ac_exeext conftest.$ac_ext
8034 CFLAGS=$ac_wine_try_cflags_saved
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8037 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8038 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8039 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8041 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8042 then
8043 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8046 if test "$ac_cv_header_Security_Security_h" = "yes"
8047 then
8048 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8050 ac_save_LIBS="$LIBS"
8051 LIBS="$LIBS $SECURITY_LIBS"
8052 for ac_func in SSLCopyPeerCertificates
8053 do :
8054 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8055 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8056 cat >>confdefs.h <<_ACEOF
8057 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8058 _ACEOF
8061 done
8063 LIBS="$ac_save_LIBS"
8064 with_gnutls=${with_gnutls:-no}
8066 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8067 then
8068 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8069 then
8070 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8072 else
8073 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8076 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8077 ac_save_LIBS="$LIBS"
8078 LIBS="$LIBS $COREAUDIO_LIBS"
8079 for ac_func in AUGraphAddNode
8080 do :
8081 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8082 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8083 cat >>confdefs.h <<_ACEOF
8084 #define HAVE_AUGRAPHADDNODE 1
8085 _ACEOF
8088 done
8090 LIBS="$ac_save_LIBS"
8092 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8093 then
8094 OPENAL_LIBS="-framework OpenAL"
8097 cat >>confdefs.h <<_ACEOF
8098 #define HAVE_OPENAL 1
8099 _ACEOF
8101 ac_cv_lib_openal=yes
8103 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8104 then
8105 OPENCL_LIBS="-framework OpenCL"
8107 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8109 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8110 then
8111 ac_save_LIBS="$LIBS"
8112 LIBS="$LIBS $IOKIT_LIBS"
8113 for ac_func in IOHIDManagerCreate
8114 do :
8115 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8116 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8117 cat >>confdefs.h <<_ACEOF
8118 #define HAVE_IOHIDMANAGERCREATE 1
8119 _ACEOF
8122 done
8124 LIBS="$ac_save_LIBS"
8126 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8127 then
8128 ac_save_LIBS="$LIBS"
8129 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8131 $as_echo_n "checking for the QuickTime framework... " >&6; }
8132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8133 /* end confdefs.h. */
8134 #include <QuickTime/ImageCompression.h>
8136 main ()
8138 CodecManagerVersion(NULL);
8140 return 0;
8142 _ACEOF
8143 if ac_fn_c_try_link "$LINENO"; then :
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8145 $as_echo "yes" >&6; }
8146 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8148 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8149 else
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8151 $as_echo "no" >&6; }
8152 ac_cv_header_QuickTime_ImageCompression_h=no
8154 rm -f core conftest.err conftest.$ac_objext \
8155 conftest$ac_exeext conftest.$ac_ext
8156 LIBS="$ac_save_LIBS"
8158 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8159 then
8160 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8162 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8163 then
8164 CARBON_LIBS="-framework Carbon"
8168 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8169 then
8170 ac_save_LIBS="$LIBS"
8171 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8172 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8173 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8174 enable_winemac_drv=${enable_winemac_drv:-yes}
8177 LIBS="$ac_save_LIBS"
8180 if test "x$enable_win16" = "xyes"
8181 then
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8183 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8184 if test "$cross_compiling" = yes; then :
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8186 $as_echo "cross-compiling, assuming yes" >&6; }
8187 else
8188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8189 /* end confdefs.h. */
8190 asm(".text\n"
8191 "bad:\tnop;nop\n"
8192 "good:\tnop;nop\n\t"
8193 ".globl _testfunc\n"
8194 "_testfunc:\tcallw good");
8195 extern void testfunc();
8197 main ()
8199 unsigned short *p = (unsigned short *)testfunc;
8200 return p[0] != 0xe866 || p[1] != 0xfffa
8202 return 0;
8204 _ACEOF
8205 if ac_fn_c_try_run "$LINENO"; then :
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8207 $as_echo "yes" >&6; }
8208 else
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8210 $as_echo "no" >&6; }
8211 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
8213 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8214 conftest.$ac_objext conftest.beam conftest.$ac_ext
8219 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8221 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8223 LIBWINE_INSTALL_DEV="libwine.dylib"
8225 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8227 WINELOADER_DEPENDS="wine_info.plist"
8231 linux-android*)
8232 DLLFLAGS="$DLLFLAGS -fPIC"
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8234 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8235 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8236 $as_echo_n "(cached) " >&6
8237 else
8238 ac_wine_try_cflags_saved=$CFLAGS
8239 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8241 /* end confdefs.h. */
8242 int main(int argc, char **argv) { return 0; }
8243 _ACEOF
8244 if ac_fn_c_try_link "$LINENO"; then :
8245 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8246 else
8247 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8249 rm -f core conftest.err conftest.$ac_objext \
8250 conftest$ac_exeext conftest.$ac_ext
8251 CFLAGS=$ac_wine_try_cflags_saved
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8254 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8255 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8256 LDEXECFLAGS="-Wl,--export-dynamic"
8258 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8260 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8261 if eval \${$as_ac_var+:} false; then :
8262 $as_echo_n "(cached) " >&6
8263 else
8264 ac_wine_try_cflags_saved=$CFLAGS
8265 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8267 /* end confdefs.h. */
8268 int main(int argc, char **argv) { return 0; }
8269 _ACEOF
8270 if ac_fn_c_try_link "$LINENO"; then :
8271 eval "$as_ac_var=yes"
8272 else
8273 eval "$as_ac_var=no"
8275 rm -f core conftest.err conftest.$ac_objext \
8276 conftest$ac_exeext conftest.$ac_ext
8277 CFLAGS=$ac_wine_try_cflags_saved
8279 eval ac_res=\$$as_ac_var
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8281 $as_echo "$ac_res" >&6; }
8282 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8283 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8284 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8285 else
8286 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8288 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8289 if eval \${$as_ac_var+:} false; then :
8290 $as_echo_n "(cached) " >&6
8291 else
8292 ac_wine_try_cflags_saved=$CFLAGS
8293 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8295 /* end confdefs.h. */
8296 int main(int argc, char **argv) { return 0; }
8297 _ACEOF
8298 if ac_fn_c_try_link "$LINENO"; then :
8299 eval "$as_ac_var=yes"
8300 else
8301 eval "$as_ac_var=no"
8303 rm -f core conftest.err conftest.$ac_objext \
8304 conftest$ac_exeext conftest.$ac_ext
8305 CFLAGS=$ac_wine_try_cflags_saved
8307 eval ac_res=\$$as_ac_var
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8309 $as_echo "$ac_res" >&6; }
8310 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8311 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8312 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8317 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8318 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8319 $as_echo_n "(cached) " >&6
8320 else
8321 ac_wine_try_cflags_saved=$CFLAGS
8322 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8324 /* end confdefs.h. */
8325 int main(int argc, char **argv) { return 0; }
8326 _ACEOF
8327 if ac_fn_c_try_link "$LINENO"; then :
8328 ac_cv_cflags__Wl___enable_new_dtags=yes
8329 else
8330 ac_cv_cflags__Wl___enable_new_dtags=no
8332 rm -f core conftest.err conftest.$ac_objext \
8333 conftest$ac_exeext conftest.$ac_ext
8334 CFLAGS=$ac_wine_try_cflags_saved
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8337 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8338 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8339 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8342 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8343 if ${ac_cv_cflags__Wl__pie+:} false; then :
8344 $as_echo_n "(cached) " >&6
8345 else
8346 ac_wine_try_cflags_saved=$CFLAGS
8347 CFLAGS="$CFLAGS -Wl,-pie"
8348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8349 /* end confdefs.h. */
8350 int main(int argc, char **argv) { return 0; }
8351 _ACEOF
8352 if ac_fn_c_try_link "$LINENO"; then :
8353 ac_cv_cflags__Wl__pie=yes
8354 else
8355 ac_cv_cflags__Wl__pie=no
8357 rm -f core conftest.err conftest.$ac_objext \
8358 conftest$ac_exeext conftest.$ac_ext
8359 CFLAGS=$ac_wine_try_cflags_saved
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8362 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8363 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8364 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8367 LIBWINE_SHAREDLIB="libwine.so"
8369 LIBWINE_INSTALL_LIB="libwine.so"
8371 LIBWINE_LDFLAGS="-shared"
8376 DLLFLAGS="$DLLFLAGS -fPIC"
8377 LDEXECFLAGS=""
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8379 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8380 if ${ac_cv_c_dll_gnuelf+:} false; then :
8381 $as_echo_n "(cached) " >&6
8382 else
8383 ac_wine_try_cflags_saved=$CFLAGS
8384 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8386 /* end confdefs.h. */
8387 void myfunc() {}
8388 _ACEOF
8389 if ac_fn_c_try_link "$LINENO"; then :
8390 ac_cv_c_dll_gnuelf="yes"
8391 else
8392 ac_cv_c_dll_gnuelf="no"
8394 rm -f core conftest.err conftest.$ac_objext \
8395 conftest$ac_exeext conftest.$ac_ext
8396 CFLAGS=$ac_wine_try_cflags_saved
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8399 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8400 if test "$ac_cv_c_dll_gnuelf" = "yes"
8401 then
8402 LIBWINE_LDFLAGS="-shared"
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8404 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8405 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8406 $as_echo_n "(cached) " >&6
8407 else
8408 ac_wine_try_cflags_saved=$CFLAGS
8409 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8411 /* end confdefs.h. */
8412 int main(int argc, char **argv) { return 0; }
8413 _ACEOF
8414 if ac_fn_c_try_link "$LINENO"; then :
8415 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8416 else
8417 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8419 rm -f core conftest.err conftest.$ac_objext \
8420 conftest$ac_exeext conftest.$ac_ext
8421 CFLAGS=$ac_wine_try_cflags_saved
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8424 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8425 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8426 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8427 else
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8429 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8430 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8431 $as_echo_n "(cached) " >&6
8432 else
8433 ac_wine_try_cflags_saved=$CFLAGS
8434 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8436 /* end confdefs.h. */
8437 int main(int argc, char **argv) { return 0; }
8438 _ACEOF
8439 if ac_fn_c_try_link "$LINENO"; then :
8440 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8441 else
8442 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8444 rm -f core conftest.err conftest.$ac_objext \
8445 conftest$ac_exeext conftest.$ac_ext
8446 CFLAGS=$ac_wine_try_cflags_saved
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8449 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8450 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8451 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8455 echo '{ global: *; };' >conftest.map
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8457 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8458 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8459 $as_echo_n "(cached) " >&6
8460 else
8461 ac_wine_try_cflags_saved=$CFLAGS
8462 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8464 /* end confdefs.h. */
8465 int main(int argc, char **argv) { return 0; }
8466 _ACEOF
8467 if ac_fn_c_try_link "$LINENO"; then :
8468 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8469 else
8470 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8472 rm -f core conftest.err conftest.$ac_objext \
8473 conftest$ac_exeext conftest.$ac_ext
8474 CFLAGS=$ac_wine_try_cflags_saved
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8477 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8478 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8479 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8481 rm -f conftest.map
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8484 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8485 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8486 $as_echo_n "(cached) " >&6
8487 else
8488 ac_wine_try_cflags_saved=$CFLAGS
8489 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
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__Wl___export_dynamic=yes
8496 else
8497 ac_cv_cflags__fPIC__Wl___export_dynamic=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__Wl___export_dynamic" >&5
8504 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8505 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8506 LDEXECFLAGS="-Wl,--export-dynamic"
8509 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8511 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8512 if eval \${$as_ac_var+:} false; then :
8513 $as_echo_n "(cached) " >&6
8514 else
8515 ac_wine_try_cflags_saved=$CFLAGS
8516 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8518 /* end confdefs.h. */
8519 int main(int argc, char **argv) { return 0; }
8520 _ACEOF
8521 if ac_fn_c_try_link "$LINENO"; then :
8522 eval "$as_ac_var=yes"
8523 else
8524 eval "$as_ac_var=no"
8526 rm -f core conftest.err conftest.$ac_objext \
8527 conftest$ac_exeext conftest.$ac_ext
8528 CFLAGS=$ac_wine_try_cflags_saved
8530 eval ac_res=\$$as_ac_var
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8532 $as_echo "$ac_res" >&6; }
8533 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8534 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8535 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8536 else
8537 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8539 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8540 if eval \${$as_ac_var+:} false; then :
8541 $as_echo_n "(cached) " >&6
8542 else
8543 ac_wine_try_cflags_saved=$CFLAGS
8544 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
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 eval "$as_ac_var=yes"
8551 else
8552 eval "$as_ac_var=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 eval ac_res=\$$as_ac_var
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8560 $as_echo "$ac_res" >&6; }
8561 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8562 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8563 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8568 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8569 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8570 $as_echo_n "(cached) " >&6
8571 else
8572 ac_wine_try_cflags_saved=$CFLAGS
8573 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8575 /* end confdefs.h. */
8576 int main(int argc, char **argv) { return 0; }
8577 _ACEOF
8578 if ac_fn_c_try_link "$LINENO"; then :
8579 ac_cv_cflags__Wl___enable_new_dtags=yes
8580 else
8581 ac_cv_cflags__Wl___enable_new_dtags=no
8583 rm -f core conftest.err conftest.$ac_objext \
8584 conftest$ac_exeext conftest.$ac_ext
8585 CFLAGS=$ac_wine_try_cflags_saved
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8588 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8589 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8590 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8593 case $host_cpu in
8594 *i[3456789]86* | x86_64)
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8596 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8597 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8598 $as_echo_n "(cached) " >&6
8599 else
8600 ac_wine_try_cflags_saved=$CFLAGS
8601 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8603 /* end confdefs.h. */
8604 int main(int argc, char **argv) { return 0; }
8605 _ACEOF
8606 if ac_fn_c_try_link "$LINENO"; then :
8607 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8608 else
8609 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8611 rm -f core conftest.err conftest.$ac_objext \
8612 conftest$ac_exeext conftest.$ac_ext
8613 CFLAGS=$ac_wine_try_cflags_saved
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8616 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8617 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8618 case $host_os in
8619 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8620 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8621 esac
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8625 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8626 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8627 $as_echo_n "(cached) " >&6
8628 else
8629 ac_wine_try_cflags_saved=$CFLAGS
8630 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8632 /* end confdefs.h. */
8633 int main(int argc, char **argv) { return 0; }
8634 _ACEOF
8635 if ac_fn_c_try_link "$LINENO"; then :
8636 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8637 else
8638 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8640 rm -f core conftest.err conftest.$ac_objext \
8641 conftest$ac_exeext conftest.$ac_ext
8642 CFLAGS=$ac_wine_try_cflags_saved
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8645 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8646 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8648 else
8649 # Extract the first word of "prelink", so it can be a program name with args.
8650 set dummy prelink; ac_word=$2
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8652 $as_echo_n "checking for $ac_word... " >&6; }
8653 if ${ac_cv_path_PRELINK+:} false; then :
8654 $as_echo_n "(cached) " >&6
8655 else
8656 case $PRELINK in
8657 [\\/]* | ?:[\\/]*)
8658 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8662 for as_dir in /sbin /usr/sbin $PATH
8664 IFS=$as_save_IFS
8665 test -z "$as_dir" && as_dir=.
8666 for ac_exec_ext in '' $ac_executable_extensions; do
8667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8668 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8670 break 2
8672 done
8673 done
8674 IFS=$as_save_IFS
8676 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8678 esac
8680 PRELINK=$ac_cv_path_PRELINK
8681 if test -n "$PRELINK"; then
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8683 $as_echo "$PRELINK" >&6; }
8684 else
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8686 $as_echo "no" >&6; }
8690 if test "x$PRELINK" = xfalse
8691 then
8692 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8696 esac
8698 else
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8700 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8701 if ${ac_cv_c_dll_unixware+:} false; then :
8702 $as_echo_n "(cached) " >&6
8703 else
8704 ac_wine_try_cflags_saved=$CFLAGS
8705 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8707 /* end confdefs.h. */
8708 void myfunc() {}
8709 _ACEOF
8710 if ac_fn_c_try_link "$LINENO"; then :
8711 ac_cv_c_dll_unixware="yes"
8712 else
8713 ac_cv_c_dll_unixware="no"
8715 rm -f core conftest.err conftest.$ac_objext \
8716 conftest$ac_exeext conftest.$ac_ext
8717 CFLAGS=$ac_wine_try_cflags_saved
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8720 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8721 if test "$ac_cv_c_dll_unixware" = "yes"
8722 then
8723 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8726 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8728 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8730 LIBWINE_INSTALL_DEV="libwine.so"
8732 LIBWINE_DEPENDS="wine.map"
8735 esac
8737 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8738 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8739 enable_winemac_drv=${enable_winemac_drv:-no}
8740 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8742 CROSSTARGET=""
8744 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8745 then
8746 case "$host_cpu" in
8747 arm*)
8748 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8749 i[3456789]86*)
8750 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
8751 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8752 mingw32-gcc" ;;
8753 x86_64)
8754 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
8755 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8757 ac_prefix_list="" ;;
8758 esac
8759 for ac_prog in $ac_prefix_list
8761 # Extract the first word of "$ac_prog", so it can be a program name with args.
8762 set dummy $ac_prog; ac_word=$2
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8764 $as_echo_n "checking for $ac_word... " >&6; }
8765 if ${ac_cv_prog_CROSSCC+:} false; then :
8766 $as_echo_n "(cached) " >&6
8767 else
8768 if test -n "$CROSSCC"; then
8769 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8770 else
8771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8772 for as_dir in $PATH
8774 IFS=$as_save_IFS
8775 test -z "$as_dir" && as_dir=.
8776 for ac_exec_ext in '' $ac_executable_extensions; do
8777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8778 ac_cv_prog_CROSSCC="$ac_prog"
8779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8780 break 2
8782 done
8783 done
8784 IFS=$as_save_IFS
8788 CROSSCC=$ac_cv_prog_CROSSCC
8789 if test -n "$CROSSCC"; then
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8791 $as_echo "$CROSSCC" >&6; }
8792 else
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8794 $as_echo "no" >&6; }
8798 test -n "$CROSSCC" && break
8799 done
8800 test -n "$CROSSCC" || CROSSCC="false"
8802 if test "$CROSSCC" != "false"
8803 then
8804 ac_save_CC="$CC"
8805 CC="$CROSSCC"
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8807 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8809 /* end confdefs.h. */
8812 main ()
8816 return 0;
8818 _ACEOF
8819 if ac_fn_c_try_compile "$LINENO"; then :
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8821 $as_echo "yes" >&6; }
8822 set x $CROSSCC
8823 shift
8824 while test $# -ge 1
8826 case "$1" in
8827 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8828 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8829 esac
8830 shift
8831 done
8832 else
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8834 $as_echo "no" >&6; }
8836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8837 CC="$ac_save_CC"
8842 if test "$ac_cv_header_pthread_h" = "yes"
8843 then
8844 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8845 if test "x$ac_cv_func_pthread_create" = xyes; then :
8847 else
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8849 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8850 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8851 $as_echo_n "(cached) " >&6
8852 else
8853 ac_check_lib_save_LIBS=$LIBS
8854 LIBS="-lpthread $LIBS"
8855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8856 /* end confdefs.h. */
8858 /* Override any GCC internal prototype to avoid an error.
8859 Use char because int might match the return type of a GCC
8860 builtin and then its argument prototype would still apply. */
8861 #ifdef __cplusplus
8862 extern "C"
8863 #endif
8864 char pthread_create ();
8866 main ()
8868 return pthread_create ();
8870 return 0;
8872 _ACEOF
8873 if ac_fn_c_try_link "$LINENO"; then :
8874 ac_cv_lib_pthread_pthread_create=yes
8875 else
8876 ac_cv_lib_pthread_pthread_create=no
8878 rm -f core conftest.err conftest.$ac_objext \
8879 conftest$ac_exeext conftest.$ac_ext
8880 LIBS=$ac_check_lib_save_LIBS
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8883 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8884 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8885 PTHREAD_LIBS="-lpthread"
8892 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8893 case "x$with_pthread" in
8894 xno) ;;
8895 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8896 Wine cannot support threads without libpthread.
8897 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8898 esac
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8903 $as_echo_n "checking for X... " >&6; }
8906 # Check whether --with-x was given.
8907 if test "${with_x+set}" = set; then :
8908 withval=$with_x;
8911 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8912 if test "x$with_x" = xno; then
8913 # The user explicitly disabled X.
8914 have_x=disabled
8915 else
8916 case $x_includes,$x_libraries in #(
8917 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8918 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8919 $as_echo_n "(cached) " >&6
8920 else
8921 # One or both of the vars are not set, and there is no cached value.
8922 ac_x_includes=no ac_x_libraries=no
8923 rm -f -r conftest.dir
8924 if mkdir conftest.dir; then
8925 cd conftest.dir
8926 cat >Imakefile <<'_ACEOF'
8927 incroot:
8928 @echo incroot='${INCROOT}'
8929 usrlibdir:
8930 @echo usrlibdir='${USRLIBDIR}'
8931 libdir:
8932 @echo libdir='${LIBDIR}'
8933 _ACEOF
8934 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8935 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8936 for ac_var in incroot usrlibdir libdir; do
8937 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8938 done
8939 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8940 for ac_extension in a so sl dylib la dll; do
8941 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8942 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8943 ac_im_usrlibdir=$ac_im_libdir; break
8945 done
8946 # Screen out bogus values from the imake configuration. They are
8947 # bogus both because they are the default anyway, and because
8948 # using them would break gcc on systems where it needs fixed includes.
8949 case $ac_im_incroot in
8950 /usr/include) ac_x_includes= ;;
8951 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8952 esac
8953 case $ac_im_usrlibdir in
8954 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8955 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8956 esac
8958 cd ..
8959 rm -f -r conftest.dir
8962 # Standard set of common directories for X headers.
8963 # Check X11 before X11Rn because it is often a symlink to the current release.
8964 ac_x_header_dirs='
8965 /usr/X11/include
8966 /usr/X11R7/include
8967 /usr/X11R6/include
8968 /usr/X11R5/include
8969 /usr/X11R4/include
8971 /usr/include/X11
8972 /usr/include/X11R7
8973 /usr/include/X11R6
8974 /usr/include/X11R5
8975 /usr/include/X11R4
8977 /usr/local/X11/include
8978 /usr/local/X11R7/include
8979 /usr/local/X11R6/include
8980 /usr/local/X11R5/include
8981 /usr/local/X11R4/include
8983 /usr/local/include/X11
8984 /usr/local/include/X11R7
8985 /usr/local/include/X11R6
8986 /usr/local/include/X11R5
8987 /usr/local/include/X11R4
8989 /usr/X386/include
8990 /usr/x386/include
8991 /usr/XFree86/include/X11
8993 /usr/include
8994 /usr/local/include
8995 /usr/unsupported/include
8996 /usr/athena/include
8997 /usr/local/x11r5/include
8998 /usr/lpp/Xamples/include
9000 /usr/openwin/include
9001 /usr/openwin/share/include'
9003 if test "$ac_x_includes" = no; then
9004 # Guess where to find include files, by looking for Xlib.h.
9005 # First, try using that file with no special directory specified.
9006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9007 /* end confdefs.h. */
9008 #include <X11/Xlib.h>
9009 _ACEOF
9010 if ac_fn_c_try_cpp "$LINENO"; then :
9011 # We can compile using X headers with no special include directory.
9012 ac_x_includes=
9013 else
9014 for ac_dir in $ac_x_header_dirs; do
9015 if test -r "$ac_dir/X11/Xlib.h"; then
9016 ac_x_includes=$ac_dir
9017 break
9019 done
9021 rm -f conftest.err conftest.i conftest.$ac_ext
9022 fi # $ac_x_includes = no
9024 if test "$ac_x_libraries" = no; then
9025 # Check for the libraries.
9026 # See if we find them without any special options.
9027 # Don't add to $LIBS permanently.
9028 ac_save_LIBS=$LIBS
9029 LIBS="-lX11 $LIBS"
9030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9031 /* end confdefs.h. */
9032 #include <X11/Xlib.h>
9034 main ()
9036 XrmInitialize ()
9038 return 0;
9040 _ACEOF
9041 if ac_fn_c_try_link "$LINENO"; then :
9042 LIBS=$ac_save_LIBS
9043 # We can link X programs with no special library path.
9044 ac_x_libraries=
9045 else
9046 LIBS=$ac_save_LIBS
9047 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9049 # Don't even attempt the hair of trying to link an X program!
9050 for ac_extension in a so sl dylib la dll; do
9051 if test -r "$ac_dir/libX11.$ac_extension"; then
9052 ac_x_libraries=$ac_dir
9053 break 2
9055 done
9056 done
9058 rm -f core conftest.err conftest.$ac_objext \
9059 conftest$ac_exeext conftest.$ac_ext
9060 fi # $ac_x_libraries = no
9062 case $ac_x_includes,$ac_x_libraries in #(
9063 no,* | *,no | *\'*)
9064 # Didn't find X, or a directory has "'" in its name.
9065 ac_cv_have_x="have_x=no";; #(
9067 # Record where we found X for the cache.
9068 ac_cv_have_x="have_x=yes\
9069 ac_x_includes='$ac_x_includes'\
9070 ac_x_libraries='$ac_x_libraries'"
9071 esac
9073 ;; #(
9074 *) have_x=yes;;
9075 esac
9076 eval "$ac_cv_have_x"
9077 fi # $with_x != no
9079 if test "$have_x" != yes; then
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9081 $as_echo "$have_x" >&6; }
9082 no_x=yes
9083 else
9084 # If each of the values was on the command line, it overrides each guess.
9085 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9086 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9087 # Update the cache value to reflect the command line values.
9088 ac_cv_have_x="have_x=yes\
9089 ac_x_includes='$x_includes'\
9090 ac_x_libraries='$x_libraries'"
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9092 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9095 if test "$no_x" = yes; then
9096 # Not all programs may use this symbol, but it does not hurt to define it.
9098 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9100 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9101 else
9102 if test -n "$x_includes"; then
9103 X_CFLAGS="$X_CFLAGS -I$x_includes"
9106 # It would also be nice to do this for all -L options, not just this one.
9107 if test -n "$x_libraries"; then
9108 X_LIBS="$X_LIBS -L$x_libraries"
9109 # For Solaris; some versions of Sun CC require a space after -R and
9110 # others require no space. Words are not sufficient . . . .
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9112 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9113 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9114 ac_xsave_c_werror_flag=$ac_c_werror_flag
9115 ac_c_werror_flag=yes
9116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9117 /* end confdefs.h. */
9120 main ()
9124 return 0;
9126 _ACEOF
9127 if ac_fn_c_try_link "$LINENO"; then :
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9129 $as_echo "no" >&6; }
9130 X_LIBS="$X_LIBS -R$x_libraries"
9131 else
9132 LIBS="$ac_xsave_LIBS -R $x_libraries"
9133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9134 /* end confdefs.h. */
9137 main ()
9141 return 0;
9143 _ACEOF
9144 if ac_fn_c_try_link "$LINENO"; then :
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9146 $as_echo "yes" >&6; }
9147 X_LIBS="$X_LIBS -R $x_libraries"
9148 else
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9150 $as_echo "neither works" >&6; }
9152 rm -f core conftest.err conftest.$ac_objext \
9153 conftest$ac_exeext conftest.$ac_ext
9155 rm -f core conftest.err conftest.$ac_objext \
9156 conftest$ac_exeext conftest.$ac_ext
9157 ac_c_werror_flag=$ac_xsave_c_werror_flag
9158 LIBS=$ac_xsave_LIBS
9161 # Check for system-dependent libraries X programs must link with.
9162 # Do this before checking for the system-independent R6 libraries
9163 # (-lICE), since we may need -lsocket or whatever for X linking.
9165 if test "$ISC" = yes; then
9166 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9167 else
9168 # Martyn Johnson says this is needed for Ultrix, if the X
9169 # libraries were built with DECnet support. And Karl Berry says
9170 # the Alpha needs dnet_stub (dnet does not exist).
9171 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9173 /* end confdefs.h. */
9175 /* Override any GCC internal prototype to avoid an error.
9176 Use char because int might match the return type of a GCC
9177 builtin and then its argument prototype would still apply. */
9178 #ifdef __cplusplus
9179 extern "C"
9180 #endif
9181 char XOpenDisplay ();
9183 main ()
9185 return XOpenDisplay ();
9187 return 0;
9189 _ACEOF
9190 if ac_fn_c_try_link "$LINENO"; then :
9192 else
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9194 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9195 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9196 $as_echo_n "(cached) " >&6
9197 else
9198 ac_check_lib_save_LIBS=$LIBS
9199 LIBS="-ldnet $LIBS"
9200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9201 /* end confdefs.h. */
9203 /* Override any GCC internal prototype to avoid an error.
9204 Use char because int might match the return type of a GCC
9205 builtin and then its argument prototype would still apply. */
9206 #ifdef __cplusplus
9207 extern "C"
9208 #endif
9209 char dnet_ntoa ();
9211 main ()
9213 return dnet_ntoa ();
9215 return 0;
9217 _ACEOF
9218 if ac_fn_c_try_link "$LINENO"; then :
9219 ac_cv_lib_dnet_dnet_ntoa=yes
9220 else
9221 ac_cv_lib_dnet_dnet_ntoa=no
9223 rm -f core conftest.err conftest.$ac_objext \
9224 conftest$ac_exeext conftest.$ac_ext
9225 LIBS=$ac_check_lib_save_LIBS
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9228 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9229 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9230 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9233 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9235 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9236 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9237 $as_echo_n "(cached) " >&6
9238 else
9239 ac_check_lib_save_LIBS=$LIBS
9240 LIBS="-ldnet_stub $LIBS"
9241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9242 /* end confdefs.h. */
9244 /* Override any GCC internal prototype to avoid an error.
9245 Use char because int might match the return type of a GCC
9246 builtin and then its argument prototype would still apply. */
9247 #ifdef __cplusplus
9248 extern "C"
9249 #endif
9250 char dnet_ntoa ();
9252 main ()
9254 return dnet_ntoa ();
9256 return 0;
9258 _ACEOF
9259 if ac_fn_c_try_link "$LINENO"; then :
9260 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9261 else
9262 ac_cv_lib_dnet_stub_dnet_ntoa=no
9264 rm -f core conftest.err conftest.$ac_objext \
9265 conftest$ac_exeext conftest.$ac_ext
9266 LIBS=$ac_check_lib_save_LIBS
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9269 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9270 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9271 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9276 rm -f core conftest.err conftest.$ac_objext \
9277 conftest$ac_exeext conftest.$ac_ext
9278 LIBS="$ac_xsave_LIBS"
9280 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9281 # to get the SysV transport functions.
9282 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9283 # needs -lnsl.
9284 # The nsl library prevents programs from opening the X display
9285 # on Irix 5.2, according to T.E. Dickey.
9286 # The functions gethostbyname, getservbyname, and inet_addr are
9287 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9288 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9289 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9293 if test $ac_cv_func_gethostbyname = no; then
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9295 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9296 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9297 $as_echo_n "(cached) " >&6
9298 else
9299 ac_check_lib_save_LIBS=$LIBS
9300 LIBS="-lnsl $LIBS"
9301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9302 /* end confdefs.h. */
9304 /* Override any GCC internal prototype to avoid an error.
9305 Use char because int might match the return type of a GCC
9306 builtin and then its argument prototype would still apply. */
9307 #ifdef __cplusplus
9308 extern "C"
9309 #endif
9310 char gethostbyname ();
9312 main ()
9314 return gethostbyname ();
9316 return 0;
9318 _ACEOF
9319 if ac_fn_c_try_link "$LINENO"; then :
9320 ac_cv_lib_nsl_gethostbyname=yes
9321 else
9322 ac_cv_lib_nsl_gethostbyname=no
9324 rm -f core conftest.err conftest.$ac_objext \
9325 conftest$ac_exeext conftest.$ac_ext
9326 LIBS=$ac_check_lib_save_LIBS
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9329 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9330 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9331 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9334 if test $ac_cv_lib_nsl_gethostbyname = no; then
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9336 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9337 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9338 $as_echo_n "(cached) " >&6
9339 else
9340 ac_check_lib_save_LIBS=$LIBS
9341 LIBS="-lbsd $LIBS"
9342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9343 /* end confdefs.h. */
9345 /* Override any GCC internal prototype to avoid an error.
9346 Use char because int might match the return type of a GCC
9347 builtin and then its argument prototype would still apply. */
9348 #ifdef __cplusplus
9349 extern "C"
9350 #endif
9351 char gethostbyname ();
9353 main ()
9355 return gethostbyname ();
9357 return 0;
9359 _ACEOF
9360 if ac_fn_c_try_link "$LINENO"; then :
9361 ac_cv_lib_bsd_gethostbyname=yes
9362 else
9363 ac_cv_lib_bsd_gethostbyname=no
9365 rm -f core conftest.err conftest.$ac_objext \
9366 conftest$ac_exeext conftest.$ac_ext
9367 LIBS=$ac_check_lib_save_LIBS
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9370 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9371 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9372 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9378 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9379 # socket/setsockopt and other routines are undefined under SCO ODT
9380 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9381 # on later versions), says Simon Leinen: it contains gethostby*
9382 # variants that don't use the name server (or something). -lsocket
9383 # must be given before -lnsl if both are needed. We assume that
9384 # if connect needs -lnsl, so does gethostbyname.
9385 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9386 if test "x$ac_cv_func_connect" = xyes; then :
9390 if test $ac_cv_func_connect = no; then
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9392 $as_echo_n "checking for connect in -lsocket... " >&6; }
9393 if ${ac_cv_lib_socket_connect+:} false; then :
9394 $as_echo_n "(cached) " >&6
9395 else
9396 ac_check_lib_save_LIBS=$LIBS
9397 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9399 /* end confdefs.h. */
9401 /* Override any GCC internal prototype to avoid an error.
9402 Use char because int might match the return type of a GCC
9403 builtin and then its argument prototype would still apply. */
9404 #ifdef __cplusplus
9405 extern "C"
9406 #endif
9407 char connect ();
9409 main ()
9411 return connect ();
9413 return 0;
9415 _ACEOF
9416 if ac_fn_c_try_link "$LINENO"; then :
9417 ac_cv_lib_socket_connect=yes
9418 else
9419 ac_cv_lib_socket_connect=no
9421 rm -f core conftest.err conftest.$ac_objext \
9422 conftest$ac_exeext conftest.$ac_ext
9423 LIBS=$ac_check_lib_save_LIBS
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9426 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9427 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9428 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9433 # Guillermo Gomez says -lposix is necessary on A/UX.
9434 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9435 if test "x$ac_cv_func_remove" = xyes; then :
9439 if test $ac_cv_func_remove = no; then
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9441 $as_echo_n "checking for remove in -lposix... " >&6; }
9442 if ${ac_cv_lib_posix_remove+:} false; then :
9443 $as_echo_n "(cached) " >&6
9444 else
9445 ac_check_lib_save_LIBS=$LIBS
9446 LIBS="-lposix $LIBS"
9447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9448 /* end confdefs.h. */
9450 /* Override any GCC internal prototype to avoid an error.
9451 Use char because int might match the return type of a GCC
9452 builtin and then its argument prototype would still apply. */
9453 #ifdef __cplusplus
9454 extern "C"
9455 #endif
9456 char remove ();
9458 main ()
9460 return remove ();
9462 return 0;
9464 _ACEOF
9465 if ac_fn_c_try_link "$LINENO"; then :
9466 ac_cv_lib_posix_remove=yes
9467 else
9468 ac_cv_lib_posix_remove=no
9470 rm -f core conftest.err conftest.$ac_objext \
9471 conftest$ac_exeext conftest.$ac_ext
9472 LIBS=$ac_check_lib_save_LIBS
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9475 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9476 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9477 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9482 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9483 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9484 if test "x$ac_cv_func_shmat" = xyes; then :
9488 if test $ac_cv_func_shmat = no; then
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9490 $as_echo_n "checking for shmat in -lipc... " >&6; }
9491 if ${ac_cv_lib_ipc_shmat+:} false; then :
9492 $as_echo_n "(cached) " >&6
9493 else
9494 ac_check_lib_save_LIBS=$LIBS
9495 LIBS="-lipc $LIBS"
9496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9497 /* end confdefs.h. */
9499 /* Override any GCC internal prototype to avoid an error.
9500 Use char because int might match the return type of a GCC
9501 builtin and then its argument prototype would still apply. */
9502 #ifdef __cplusplus
9503 extern "C"
9504 #endif
9505 char shmat ();
9507 main ()
9509 return shmat ();
9511 return 0;
9513 _ACEOF
9514 if ac_fn_c_try_link "$LINENO"; then :
9515 ac_cv_lib_ipc_shmat=yes
9516 else
9517 ac_cv_lib_ipc_shmat=no
9519 rm -f core conftest.err conftest.$ac_objext \
9520 conftest$ac_exeext conftest.$ac_ext
9521 LIBS=$ac_check_lib_save_LIBS
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9524 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9525 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9526 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9532 # Check for libraries that X11R6 Xt/Xaw programs need.
9533 ac_save_LDFLAGS=$LDFLAGS
9534 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9535 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9536 # check for ICE first), but we must link in the order -lSM -lICE or
9537 # we get undefined symbols. So assume we have SM if we have ICE.
9538 # These have to be linked with before -lX11, unlike the other
9539 # libraries we check for below, so use a different variable.
9540 # John Interrante, Karl Berry
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9542 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9543 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9544 $as_echo_n "(cached) " >&6
9545 else
9546 ac_check_lib_save_LIBS=$LIBS
9547 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9549 /* end confdefs.h. */
9551 /* Override any GCC internal prototype to avoid an error.
9552 Use char because int might match the return type of a GCC
9553 builtin and then its argument prototype would still apply. */
9554 #ifdef __cplusplus
9555 extern "C"
9556 #endif
9557 char IceConnectionNumber ();
9559 main ()
9561 return IceConnectionNumber ();
9563 return 0;
9565 _ACEOF
9566 if ac_fn_c_try_link "$LINENO"; then :
9567 ac_cv_lib_ICE_IceConnectionNumber=yes
9568 else
9569 ac_cv_lib_ICE_IceConnectionNumber=no
9571 rm -f core conftest.err conftest.$ac_objext \
9572 conftest$ac_exeext conftest.$ac_ext
9573 LIBS=$ac_check_lib_save_LIBS
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9576 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9577 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9578 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9581 LDFLAGS=$ac_save_LDFLAGS
9586 if test "$have_x" = "yes"
9587 then
9588 ac_save_CPPFLAGS="$CPPFLAGS"
9589 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9592 $as_echo_n "checking for -lX11... " >&6; }
9593 if ${ac_cv_lib_soname_X11+:} false; then :
9594 $as_echo_n "(cached) " >&6
9595 else
9596 ac_check_soname_save_LIBS=$LIBS
9597 LIBS="-lX11 $X_LIBS $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 XCreateWindow ();
9609 main ()
9611 return XCreateWindow ();
9613 return 0;
9615 _ACEOF
9616 if ac_fn_c_try_link "$LINENO"; then :
9617 case "$LIBEXT" in
9618 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9619 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'` ;;
9620 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9621 if ${ac_cv_lib_soname_X11:+false} :; then :
9622 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9623 fi ;;
9624 esac
9626 rm -f core conftest.err conftest.$ac_objext \
9627 conftest$ac_exeext conftest.$ac_ext
9628 LIBS=$ac_check_soname_save_LIBS
9630 if ${ac_cv_lib_soname_X11:+false} :; then :
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9632 $as_echo "not found" >&6; }
9634 else
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9636 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9638 cat >>confdefs.h <<_ACEOF
9639 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9640 _ACEOF
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9645 $as_echo_n "checking for -lXext... " >&6; }
9646 if ${ac_cv_lib_soname_Xext+:} false; then :
9647 $as_echo_n "(cached) " >&6
9648 else
9649 ac_check_soname_save_LIBS=$LIBS
9650 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9652 /* end confdefs.h. */
9654 /* Override any GCC internal prototype to avoid an error.
9655 Use char because int might match the return type of a GCC
9656 builtin and then its argument prototype would still apply. */
9657 #ifdef __cplusplus
9658 extern "C"
9659 #endif
9660 char XextCreateExtension ();
9662 main ()
9664 return XextCreateExtension ();
9666 return 0;
9668 _ACEOF
9669 if ac_fn_c_try_link "$LINENO"; then :
9670 case "$LIBEXT" in
9671 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9672 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'` ;;
9673 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9674 if ${ac_cv_lib_soname_Xext:+false} :; then :
9675 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9676 fi ;;
9677 esac
9679 rm -f core conftest.err conftest.$ac_objext \
9680 conftest$ac_exeext conftest.$ac_ext
9681 LIBS=$ac_check_soname_save_LIBS
9683 if ${ac_cv_lib_soname_Xext:+false} :; then :
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9685 $as_echo "not found" >&6; }
9687 else
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9689 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9691 cat >>confdefs.h <<_ACEOF
9692 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9693 _ACEOF
9695 X_LIBS="$X_LIBS -lXext"
9697 X_LIBS="$X_LIBS -lX11"
9699 for ac_header in X11/Xlib.h \
9700 X11/XKBlib.h \
9701 X11/Xutil.h \
9702 X11/Xcursor/Xcursor.h \
9703 X11/extensions/shape.h \
9704 X11/extensions/XInput.h \
9705 X11/extensions/XInput2.h \
9706 X11/extensions/XShm.h \
9707 X11/extensions/Xcomposite.h \
9708 X11/extensions/Xinerama.h \
9709 X11/extensions/Xrandr.h \
9710 X11/extensions/Xrender.h \
9711 X11/extensions/xf86vmode.h \
9712 X11/extensions/xf86vmproto.h
9713 do :
9714 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9715 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9716 # include <X11/Xlib.h>
9717 #endif
9718 #ifdef HAVE_X11_XUTIL_H
9719 # include <X11/Xutil.h>
9720 #endif
9722 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9723 cat >>confdefs.h <<_ACEOF
9724 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9725 _ACEOF
9729 done
9732 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9733 then
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9735 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9736 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9737 $as_echo_n "(cached) " >&6
9738 else
9739 ac_check_lib_save_LIBS=$LIBS
9740 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9742 /* end confdefs.h. */
9744 /* Override any GCC internal prototype to avoid an error.
9745 Use char because int might match the return type of a GCC
9746 builtin and then its argument prototype would still apply. */
9747 #ifdef __cplusplus
9748 extern "C"
9749 #endif
9750 char XkbQueryExtension ();
9752 main ()
9754 return XkbQueryExtension ();
9756 return 0;
9758 _ACEOF
9759 if ac_fn_c_try_link "$LINENO"; then :
9760 ac_cv_lib_X11_XkbQueryExtension=yes
9761 else
9762 ac_cv_lib_X11_XkbQueryExtension=no
9764 rm -f core conftest.err conftest.$ac_objext \
9765 conftest$ac_exeext conftest.$ac_ext
9766 LIBS=$ac_check_lib_save_LIBS
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9769 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9770 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9772 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9778 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9779 then
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9781 $as_echo_n "checking for -lXcursor... " >&6; }
9782 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9783 $as_echo_n "(cached) " >&6
9784 else
9785 ac_check_soname_save_LIBS=$LIBS
9786 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9788 /* end confdefs.h. */
9790 /* Override any GCC internal prototype to avoid an error.
9791 Use char because int might match the return type of a GCC
9792 builtin and then its argument prototype would still apply. */
9793 #ifdef __cplusplus
9794 extern "C"
9795 #endif
9796 char XcursorImageLoadCursor ();
9798 main ()
9800 return XcursorImageLoadCursor ();
9802 return 0;
9804 _ACEOF
9805 if ac_fn_c_try_link "$LINENO"; then :
9806 case "$LIBEXT" in
9807 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9808 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'` ;;
9809 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9810 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9811 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9812 fi ;;
9813 esac
9815 rm -f core conftest.err conftest.$ac_objext \
9816 conftest$ac_exeext conftest.$ac_ext
9817 LIBS=$ac_check_soname_save_LIBS
9819 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9821 $as_echo "not found" >&6; }
9823 else
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9825 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9827 cat >>confdefs.h <<_ACEOF
9828 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9829 _ACEOF
9834 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9835 case "x$with_xcursor" in
9836 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9837 xno) ;;
9838 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9839 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9840 esac
9843 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9844 then
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9846 $as_echo_n "checking for -lXi... " >&6; }
9847 if ${ac_cv_lib_soname_Xi+:} false; then :
9848 $as_echo_n "(cached) " >&6
9849 else
9850 ac_check_soname_save_LIBS=$LIBS
9851 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9853 /* end confdefs.h. */
9855 /* Override any GCC internal prototype to avoid an error.
9856 Use char because int might match the return type of a GCC
9857 builtin and then its argument prototype would still apply. */
9858 #ifdef __cplusplus
9859 extern "C"
9860 #endif
9861 char XOpenDevice ();
9863 main ()
9865 return XOpenDevice ();
9867 return 0;
9869 _ACEOF
9870 if ac_fn_c_try_link "$LINENO"; then :
9871 case "$LIBEXT" in
9872 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9873 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'` ;;
9874 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9875 if ${ac_cv_lib_soname_Xi:+false} :; then :
9876 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9877 fi ;;
9878 esac
9880 rm -f core conftest.err conftest.$ac_objext \
9881 conftest$ac_exeext conftest.$ac_ext
9882 LIBS=$ac_check_soname_save_LIBS
9884 if ${ac_cv_lib_soname_Xi:+false} :; then :
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9886 $as_echo "not found" >&6; }
9888 else
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9890 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9892 cat >>confdefs.h <<_ACEOF
9893 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9894 _ACEOF
9899 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9900 case "x$with_xinput" in
9901 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9902 xno) ;;
9903 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9904 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9905 esac
9908 if test "x$ac_cv_lib_soname_Xi" != x
9909 then
9910 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9911 case "x$with_xinput2" in
9912 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9913 xno) ;;
9914 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9915 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9916 esac
9920 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9921 then
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9923 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9924 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9925 $as_echo_n "(cached) " >&6
9926 else
9927 ac_check_lib_save_LIBS=$LIBS
9928 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9930 /* end confdefs.h. */
9932 /* Override any GCC internal prototype to avoid an error.
9933 Use char because int might match the return type of a GCC
9934 builtin and then its argument prototype would still apply. */
9935 #ifdef __cplusplus
9936 extern "C"
9937 #endif
9938 char XShmQueryExtension ();
9940 main ()
9942 return XShmQueryExtension ();
9944 return 0;
9946 _ACEOF
9947 if ac_fn_c_try_link "$LINENO"; then :
9948 ac_cv_lib_Xext_XShmQueryExtension=yes
9949 else
9950 ac_cv_lib_Xext_XShmQueryExtension=no
9952 rm -f core conftest.err conftest.$ac_objext \
9953 conftest$ac_exeext conftest.$ac_ext
9954 LIBS=$ac_check_lib_save_LIBS
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9957 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9958 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9960 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9965 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9966 case "x$with_xshm" in
9967 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9968 xno) ;;
9969 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9970 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9971 esac
9974 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9975 then
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9977 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9978 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9979 $as_echo_n "(cached) " >&6
9980 else
9981 ac_check_lib_save_LIBS=$LIBS
9982 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9984 /* end confdefs.h. */
9986 /* Override any GCC internal prototype to avoid an error.
9987 Use char because int might match the return type of a GCC
9988 builtin and then its argument prototype would still apply. */
9989 #ifdef __cplusplus
9990 extern "C"
9991 #endif
9992 char XShapeQueryExtension ();
9994 main ()
9996 return XShapeQueryExtension ();
9998 return 0;
10000 _ACEOF
10001 if ac_fn_c_try_link "$LINENO"; then :
10002 ac_cv_lib_Xext_XShapeQueryExtension=yes
10003 else
10004 ac_cv_lib_Xext_XShapeQueryExtension=no
10006 rm -f core conftest.err conftest.$ac_objext \
10007 conftest$ac_exeext conftest.$ac_ext
10008 LIBS=$ac_check_lib_save_LIBS
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10011 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10012 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10014 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10019 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10020 case "x$with_xshape" in
10021 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10022 xno) ;;
10023 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10024 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10025 esac
10028 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10029 then
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10031 $as_echo_n "checking for -lXxf86vm... " >&6; }
10032 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10033 $as_echo_n "(cached) " >&6
10034 else
10035 ac_check_soname_save_LIBS=$LIBS
10036 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10038 /* end confdefs.h. */
10040 /* Override any GCC internal prototype to avoid an error.
10041 Use char because int might match the return type of a GCC
10042 builtin and then its argument prototype would still apply. */
10043 #ifdef __cplusplus
10044 extern "C"
10045 #endif
10046 char XF86VidModeQueryExtension ();
10048 main ()
10050 return XF86VidModeQueryExtension ();
10052 return 0;
10054 _ACEOF
10055 if ac_fn_c_try_link "$LINENO"; then :
10056 case "$LIBEXT" in
10057 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10058 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'` ;;
10059 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10060 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10061 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10062 fi ;;
10063 esac
10065 rm -f core conftest.err conftest.$ac_objext \
10066 conftest$ac_exeext conftest.$ac_ext
10067 LIBS=$ac_check_soname_save_LIBS
10069 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10071 $as_echo "not found" >&6; }
10073 else
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10075 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10077 cat >>confdefs.h <<_ACEOF
10078 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10079 _ACEOF
10084 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10085 case "x$with_xxf86vm" in
10086 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10087 xno) ;;
10088 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10089 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10090 esac
10093 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10094 then
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10096 $as_echo_n "checking for -lXrender... " >&6; }
10097 if ${ac_cv_lib_soname_Xrender+:} false; then :
10098 $as_echo_n "(cached) " >&6
10099 else
10100 ac_check_soname_save_LIBS=$LIBS
10101 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10103 /* end confdefs.h. */
10105 /* Override any GCC internal prototype to avoid an error.
10106 Use char because int might match the return type of a GCC
10107 builtin and then its argument prototype would still apply. */
10108 #ifdef __cplusplus
10109 extern "C"
10110 #endif
10111 char XRenderQueryExtension ();
10113 main ()
10115 return XRenderQueryExtension ();
10117 return 0;
10119 _ACEOF
10120 if ac_fn_c_try_link "$LINENO"; then :
10121 case "$LIBEXT" in
10122 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10123 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'` ;;
10124 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10125 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10126 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10127 fi ;;
10128 esac
10130 rm -f core conftest.err conftest.$ac_objext \
10131 conftest$ac_exeext conftest.$ac_ext
10132 LIBS=$ac_check_soname_save_LIBS
10134 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10136 $as_echo "not found" >&6; }
10138 else
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10140 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10142 cat >>confdefs.h <<_ACEOF
10143 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10144 _ACEOF
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10147 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10148 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10149 $as_echo_n "(cached) " >&6
10150 else
10151 ac_check_lib_save_LIBS=$LIBS
10152 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10154 /* end confdefs.h. */
10156 /* Override any GCC internal prototype to avoid an error.
10157 Use char because int might match the return type of a GCC
10158 builtin and then its argument prototype would still apply. */
10159 #ifdef __cplusplus
10160 extern "C"
10161 #endif
10162 char XRenderSetPictureTransform ();
10164 main ()
10166 return XRenderSetPictureTransform ();
10168 return 0;
10170 _ACEOF
10171 if ac_fn_c_try_link "$LINENO"; then :
10172 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10173 else
10174 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10176 rm -f core conftest.err conftest.$ac_objext \
10177 conftest$ac_exeext conftest.$ac_ext
10178 LIBS=$ac_check_lib_save_LIBS
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10181 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10182 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10184 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10189 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10190 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10191 $as_echo_n "(cached) " >&6
10192 else
10193 ac_check_lib_save_LIBS=$LIBS
10194 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10196 /* end confdefs.h. */
10198 /* Override any GCC internal prototype to avoid an error.
10199 Use char because int might match the return type of a GCC
10200 builtin and then its argument prototype would still apply. */
10201 #ifdef __cplusplus
10202 extern "C"
10203 #endif
10204 char XRenderCreateLinearGradient ();
10206 main ()
10208 return XRenderCreateLinearGradient ();
10210 return 0;
10212 _ACEOF
10213 if ac_fn_c_try_link "$LINENO"; then :
10214 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10215 else
10216 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10218 rm -f core conftest.err conftest.$ac_objext \
10219 conftest$ac_exeext conftest.$ac_ext
10220 LIBS=$ac_check_lib_save_LIBS
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10223 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10224 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10226 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10233 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10234 case "x$with_xrender" in
10235 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10236 xno) ;;
10237 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10238 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10239 esac
10242 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10243 then
10244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10245 /* end confdefs.h. */
10246 #include <X11/Xlib.h>
10247 #include <X11/extensions/Xrandr.h>
10249 main ()
10251 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10253 return 0;
10255 _ACEOF
10256 if ac_fn_c_try_compile "$LINENO"; then :
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10258 $as_echo_n "checking for -lXrandr... " >&6; }
10259 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10260 $as_echo_n "(cached) " >&6
10261 else
10262 ac_check_soname_save_LIBS=$LIBS
10263 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10265 /* end confdefs.h. */
10267 /* Override any GCC internal prototype to avoid an error.
10268 Use char because int might match the return type of a GCC
10269 builtin and then its argument prototype would still apply. */
10270 #ifdef __cplusplus
10271 extern "C"
10272 #endif
10273 char XRRQueryExtension ();
10275 main ()
10277 return XRRQueryExtension ();
10279 return 0;
10281 _ACEOF
10282 if ac_fn_c_try_link "$LINENO"; then :
10283 case "$LIBEXT" in
10284 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10285 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'` ;;
10286 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10287 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10288 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10289 fi ;;
10290 esac
10292 rm -f core conftest.err conftest.$ac_objext \
10293 conftest$ac_exeext conftest.$ac_ext
10294 LIBS=$ac_check_soname_save_LIBS
10296 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10298 $as_echo "not found" >&6; }
10300 else
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10302 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10304 cat >>confdefs.h <<_ACEOF
10305 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10306 _ACEOF
10308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10309 /* end confdefs.h. */
10310 #include <X11/Xlib.h>
10311 #include <X11/extensions/Xrandr.h>
10313 main ()
10315 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10317 return 0;
10319 _ACEOF
10320 if ac_fn_c_try_compile "$LINENO"; then :
10322 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10330 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10331 case "x$with_xrandr" in
10332 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10333 xno) ;;
10334 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10335 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10336 esac
10339 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10340 then
10341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10342 /* end confdefs.h. */
10343 #include <X11/Xlib.h>
10344 #include <X11/extensions/Xinerama.h>
10346 main ()
10348 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10350 return 0;
10352 _ACEOF
10353 if ac_fn_c_try_compile "$LINENO"; then :
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10355 $as_echo_n "checking for -lXinerama... " >&6; }
10356 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10357 $as_echo_n "(cached) " >&6
10358 else
10359 ac_check_soname_save_LIBS=$LIBS
10360 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10362 /* end confdefs.h. */
10364 /* Override any GCC internal prototype to avoid an error.
10365 Use char because int might match the return type of a GCC
10366 builtin and then its argument prototype would still apply. */
10367 #ifdef __cplusplus
10368 extern "C"
10369 #endif
10370 char XineramaQueryScreens ();
10372 main ()
10374 return XineramaQueryScreens ();
10376 return 0;
10378 _ACEOF
10379 if ac_fn_c_try_link "$LINENO"; then :
10380 case "$LIBEXT" in
10381 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10382 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'` ;;
10383 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10384 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10385 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10386 fi ;;
10387 esac
10389 rm -f core conftest.err conftest.$ac_objext \
10390 conftest$ac_exeext conftest.$ac_ext
10391 LIBS=$ac_check_soname_save_LIBS
10393 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10395 $as_echo "not found" >&6; }
10397 else
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10399 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10401 cat >>confdefs.h <<_ACEOF
10402 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10403 _ACEOF
10408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10410 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10411 case "x$with_xinerama" in
10412 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10413 xno) ;;
10414 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10415 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10416 esac
10419 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10420 then
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10422 $as_echo_n "checking for -lXcomposite... " >&6; }
10423 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10424 $as_echo_n "(cached) " >&6
10425 else
10426 ac_check_soname_save_LIBS=$LIBS
10427 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10429 /* end confdefs.h. */
10431 /* Override any GCC internal prototype to avoid an error.
10432 Use char because int might match the return type of a GCC
10433 builtin and then its argument prototype would still apply. */
10434 #ifdef __cplusplus
10435 extern "C"
10436 #endif
10437 char XCompositeRedirectWindow ();
10439 main ()
10441 return XCompositeRedirectWindow ();
10443 return 0;
10445 _ACEOF
10446 if ac_fn_c_try_link "$LINENO"; then :
10447 case "$LIBEXT" in
10448 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10449 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'` ;;
10450 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10451 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10452 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10453 fi ;;
10454 esac
10456 rm -f core conftest.err conftest.$ac_objext \
10457 conftest$ac_exeext conftest.$ac_ext
10458 LIBS=$ac_check_soname_save_LIBS
10460 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10462 $as_echo "not found" >&6; }
10464 else
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10466 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10468 cat >>confdefs.h <<_ACEOF
10469 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10470 _ACEOF
10475 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10476 case "x$with_xcomposite" in
10477 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10478 xno) ;;
10479 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10480 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10481 esac
10484 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10485 #include <X11/Xlib.h>
10486 #endif
10488 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10490 cat >>confdefs.h <<_ACEOF
10491 #define HAVE_XICCALLBACK_CALLBACK 1
10492 _ACEOF
10496 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10497 #include <X11/Xlib.h>
10498 #endif
10500 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10502 cat >>confdefs.h <<_ACEOF
10503 #define HAVE_XEVENT_XCOOKIE 1
10504 _ACEOF
10511 opengl_msg=""
10512 if test "x$with_opengl" != "xno"
10513 then
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10515 $as_echo_n "checking for -lGL... " >&6; }
10516 if ${ac_cv_lib_soname_GL+:} false; then :
10517 $as_echo_n "(cached) " >&6
10518 else
10519 ac_check_soname_save_LIBS=$LIBS
10520 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10522 /* end confdefs.h. */
10524 /* Override any GCC internal prototype to avoid an error.
10525 Use char because int might match the return type of a GCC
10526 builtin and then its argument prototype would still apply. */
10527 #ifdef __cplusplus
10528 extern "C"
10529 #endif
10530 char glXCreateContext ();
10532 main ()
10534 return glXCreateContext ();
10536 return 0;
10538 _ACEOF
10539 if ac_fn_c_try_link "$LINENO"; then :
10540 case "$LIBEXT" in
10541 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10542 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'` ;;
10543 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10544 if ${ac_cv_lib_soname_GL:+false} :; then :
10545 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10546 fi ;;
10547 esac
10549 rm -f core conftest.err conftest.$ac_objext \
10550 conftest$ac_exeext conftest.$ac_ext
10551 LIBS=$ac_check_soname_save_LIBS
10553 if ${ac_cv_lib_soname_GL:+false} :; then :
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10555 $as_echo "not found" >&6; }
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10557 $as_echo_n "checking for -lGL... " >&6; }
10558 if ${ac_cv_lib_soname_GL+:} false; then :
10559 $as_echo_n "(cached) " >&6
10560 else
10561 ac_check_soname_save_LIBS=$LIBS
10562 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"
10563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10564 /* end confdefs.h. */
10566 /* Override any GCC internal prototype to avoid an error.
10567 Use char because int might match the return type of a GCC
10568 builtin and then its argument prototype would still apply. */
10569 #ifdef __cplusplus
10570 extern "C"
10571 #endif
10572 char glXCreateContext ();
10574 main ()
10576 return glXCreateContext ();
10578 return 0;
10580 _ACEOF
10581 if ac_fn_c_try_link "$LINENO"; then :
10582 case "$LIBEXT" in
10583 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10584 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'` ;;
10585 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10586 if ${ac_cv_lib_soname_GL:+false} :; then :
10587 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10588 fi ;;
10589 esac
10591 rm -f core conftest.err conftest.$ac_objext \
10592 conftest$ac_exeext conftest.$ac_ext
10593 LIBS=$ac_check_soname_save_LIBS
10595 if ${ac_cv_lib_soname_GL:+false} :; then :
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10597 $as_echo "not found" >&6; }
10598 if test -f /usr/X11R6/lib/libGL.a
10599 then
10600 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10601 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10602 else
10603 opengl_msg="No OpenGL library found on this system."
10605 else
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10607 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10609 cat >>confdefs.h <<_ACEOF
10610 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10611 _ACEOF
10613 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"
10615 else
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10617 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10619 cat >>confdefs.h <<_ACEOF
10620 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10621 _ACEOF
10623 OPENGL_LIBS="-lGL"
10625 if test "x$with_glu" != "xno"
10626 then
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10628 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10629 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10630 $as_echo_n "(cached) " >&6
10631 else
10632 ac_check_lib_save_LIBS=$LIBS
10633 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10635 /* end confdefs.h. */
10637 /* Override any GCC internal prototype to avoid an error.
10638 Use char because int might match the return type of a GCC
10639 builtin and then its argument prototype would still apply. */
10640 #ifdef __cplusplus
10641 extern "C"
10642 #endif
10643 char gluLookAt ();
10645 main ()
10647 return gluLookAt ();
10649 return 0;
10651 _ACEOF
10652 if ac_fn_c_try_link "$LINENO"; then :
10653 ac_cv_lib_GLU_gluLookAt=yes
10654 else
10655 ac_cv_lib_GLU_gluLookAt=no
10657 rm -f core conftest.err conftest.$ac_objext \
10658 conftest$ac_exeext conftest.$ac_ext
10659 LIBS=$ac_check_lib_save_LIBS
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10662 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10663 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10667 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10668 case "x$with_glu" in
10669 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10670 xno) ;;
10671 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10672 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10673 esac
10677 if test "x$with_osmesa" != "xno"
10678 then
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10680 $as_echo_n "checking for -lOSMesa... " >&6; }
10681 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10682 $as_echo_n "(cached) " >&6
10683 else
10684 ac_check_soname_save_LIBS=$LIBS
10685 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10687 /* end confdefs.h. */
10689 /* Override any GCC internal prototype to avoid an error.
10690 Use char because int might match the return type of a GCC
10691 builtin and then its argument prototype would still apply. */
10692 #ifdef __cplusplus
10693 extern "C"
10694 #endif
10695 char glAccum ();
10697 main ()
10699 return glAccum ();
10701 return 0;
10703 _ACEOF
10704 if ac_fn_c_try_link "$LINENO"; then :
10705 case "$LIBEXT" in
10706 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10707 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'` ;;
10708 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10709 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10710 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10711 fi ;;
10712 esac
10714 rm -f core conftest.err conftest.$ac_objext \
10715 conftest$ac_exeext conftest.$ac_ext
10716 LIBS=$ac_check_soname_save_LIBS
10718 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10720 $as_echo "not found" >&6; }
10722 else
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10724 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10726 cat >>confdefs.h <<_ACEOF
10727 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10728 _ACEOF
10732 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10733 case "x$with_osmesa" in
10734 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10735 xno) ;;
10736 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10737 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10738 esac
10742 if test -n "$opengl_msg"; then :
10743 case "x$with_opengl" in
10744 x) as_fn_append wine_warnings "|$opengl_msg
10745 OpenGL and Direct3D won't be supported." ;;
10746 xno) ;;
10747 *) as_fn_error $? "$opengl_msg
10748 OpenGL and Direct3D won't be supported.
10749 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10750 esac
10753 CPPFLAGS="$ac_save_CPPFLAGS"
10754 else
10755 X_CFLAGS=""
10756 X_LIBS=""
10757 enable_winex11_drv=${enable_winex11_drv:-no}
10759 if test "x$X_LIBS" = "x"; then :
10760 case "x$with_x" in
10761 xno) ;;
10762 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10763 without X support, which probably isn't what you want. You will need
10764 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10765 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10766 esac
10769 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10771 if test "$ac_cv_header_CL_cl_h" = "yes"
10772 then
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10774 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10775 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10776 $as_echo_n "(cached) " >&6
10777 else
10778 ac_check_lib_save_LIBS=$LIBS
10779 LIBS="-lOpenCL $LIBS"
10780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10781 /* end confdefs.h. */
10783 /* Override any GCC internal prototype to avoid an error.
10784 Use char because int might match the return type of a GCC
10785 builtin and then its argument prototype would still apply. */
10786 #ifdef __cplusplus
10787 extern "C"
10788 #endif
10789 char clGetPlatformInfo ();
10791 main ()
10793 return clGetPlatformInfo ();
10795 return 0;
10797 _ACEOF
10798 if ac_fn_c_try_link "$LINENO"; then :
10799 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10800 else
10801 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10803 rm -f core conftest.err conftest.$ac_objext \
10804 conftest$ac_exeext conftest.$ac_ext
10805 LIBS=$ac_check_lib_save_LIBS
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10808 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10809 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10810 OPENCL_LIBS="-lOpenCL"
10815 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10816 case "x$with_opencl" in
10817 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10818 xno) ;;
10819 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10820 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10821 esac
10823 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10825 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10826 then
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10828 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10829 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10830 $as_echo_n "(cached) " >&6
10831 else
10832 ac_check_lib_save_LIBS=$LIBS
10833 LIBS="-lpcap $LIBS"
10834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10835 /* end confdefs.h. */
10837 /* Override any GCC internal prototype to avoid an error.
10838 Use char because int might match the return type of a GCC
10839 builtin and then its argument prototype would still apply. */
10840 #ifdef __cplusplus
10841 extern "C"
10842 #endif
10843 char pcap_create ();
10845 main ()
10847 return pcap_create ();
10849 return 0;
10851 _ACEOF
10852 if ac_fn_c_try_link "$LINENO"; then :
10853 ac_cv_lib_pcap_pcap_create=yes
10854 else
10855 ac_cv_lib_pcap_pcap_create=no
10857 rm -f core conftest.err conftest.$ac_objext \
10858 conftest$ac_exeext conftest.$ac_ext
10859 LIBS=$ac_check_lib_save_LIBS
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10862 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10863 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10864 PCAP_LIBS="-lpcap"
10869 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10870 case "x$with_pcap" in
10871 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10872 xno) ;;
10873 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10874 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10875 esac
10877 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10880 if test "x$with_xml" != "xno"
10881 then
10882 if ${XML2_CFLAGS:+false} :; then :
10883 if ${PKG_CONFIG+:} false; then :
10884 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10887 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10888 if ${XML2_LIBS:+false} :; then :
10889 if ${PKG_CONFIG+:} false; then :
10890 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10893 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10894 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10895 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10896 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10897 ac_save_CPPFLAGS=$CPPFLAGS
10898 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10899 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10900 do :
10901 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10902 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10903 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10904 cat >>confdefs.h <<_ACEOF
10905 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10906 _ACEOF
10910 done
10912 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"
10913 then
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10915 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10916 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10917 $as_echo_n "(cached) " >&6
10918 else
10919 ac_check_lib_save_LIBS=$LIBS
10920 LIBS="-lxml2 $XML2_LIBS $LIBS"
10921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h. */
10924 /* Override any GCC internal prototype to avoid an error.
10925 Use char because int might match the return type of a GCC
10926 builtin and then its argument prototype would still apply. */
10927 #ifdef __cplusplus
10928 extern "C"
10929 #endif
10930 char xmlParseMemory ();
10932 main ()
10934 return xmlParseMemory ();
10936 return 0;
10938 _ACEOF
10939 if ac_fn_c_try_link "$LINENO"; then :
10940 ac_cv_lib_xml2_xmlParseMemory=yes
10941 else
10942 ac_cv_lib_xml2_xmlParseMemory=no
10944 rm -f core conftest.err conftest.$ac_objext \
10945 conftest$ac_exeext conftest.$ac_ext
10946 LIBS=$ac_check_lib_save_LIBS
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10949 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10950 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10952 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10954 else
10955 XML2_LIBS=""
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10959 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10960 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10961 $as_echo_n "(cached) " >&6
10962 else
10963 ac_check_lib_save_LIBS=$LIBS
10964 LIBS="-lxml2 $XML2_LIBS $LIBS"
10965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10966 /* end confdefs.h. */
10968 /* Override any GCC internal prototype to avoid an error.
10969 Use char because int might match the return type of a GCC
10970 builtin and then its argument prototype would still apply. */
10971 #ifdef __cplusplus
10972 extern "C"
10973 #endif
10974 char xmlReadMemory ();
10976 main ()
10978 return xmlReadMemory ();
10980 return 0;
10982 _ACEOF
10983 if ac_fn_c_try_link "$LINENO"; then :
10984 ac_cv_lib_xml2_xmlReadMemory=yes
10985 else
10986 ac_cv_lib_xml2_xmlReadMemory=no
10988 rm -f core conftest.err conftest.$ac_objext \
10989 conftest$ac_exeext conftest.$ac_ext
10990 LIBS=$ac_check_lib_save_LIBS
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10993 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10994 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10996 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11001 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11002 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11003 $as_echo_n "(cached) " >&6
11004 else
11005 ac_check_lib_save_LIBS=$LIBS
11006 LIBS="-lxml2 $XML2_LIBS $LIBS"
11007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11008 /* end confdefs.h. */
11010 /* Override any GCC internal prototype to avoid an error.
11011 Use char because int might match the return type of a GCC
11012 builtin and then its argument prototype would still apply. */
11013 #ifdef __cplusplus
11014 extern "C"
11015 #endif
11016 char xmlNewDocPI ();
11018 main ()
11020 return xmlNewDocPI ();
11022 return 0;
11024 _ACEOF
11025 if ac_fn_c_try_link "$LINENO"; then :
11026 ac_cv_lib_xml2_xmlNewDocPI=yes
11027 else
11028 ac_cv_lib_xml2_xmlNewDocPI=no
11030 rm -f core conftest.err conftest.$ac_objext \
11031 conftest$ac_exeext conftest.$ac_ext
11032 LIBS=$ac_check_lib_save_LIBS
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11035 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11036 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11038 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11043 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11044 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11045 $as_echo_n "(cached) " >&6
11046 else
11047 ac_check_lib_save_LIBS=$LIBS
11048 LIBS="-lxml2 $XML2_LIBS $LIBS"
11049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11050 /* end confdefs.h. */
11052 /* Override any GCC internal prototype to avoid an error.
11053 Use char because int might match the return type of a GCC
11054 builtin and then its argument prototype would still apply. */
11055 #ifdef __cplusplus
11056 extern "C"
11057 #endif
11058 char xmlSchemaSetParserStructuredErrors ();
11060 main ()
11062 return xmlSchemaSetParserStructuredErrors ();
11064 return 0;
11066 _ACEOF
11067 if ac_fn_c_try_link "$LINENO"; then :
11068 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11069 else
11070 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11072 rm -f core conftest.err conftest.$ac_objext \
11073 conftest$ac_exeext conftest.$ac_ext
11074 LIBS=$ac_check_lib_save_LIBS
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11077 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11078 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11080 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11085 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11086 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11087 $as_echo_n "(cached) " >&6
11088 else
11089 ac_check_lib_save_LIBS=$LIBS
11090 LIBS="-lxml2 $XML2_LIBS $LIBS"
11091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11092 /* end confdefs.h. */
11094 /* Override any GCC internal prototype to avoid an error.
11095 Use char because int might match the return type of a GCC
11096 builtin and then its argument prototype would still apply. */
11097 #ifdef __cplusplus
11098 extern "C"
11099 #endif
11100 char xmlSchemaSetValidStructuredErrors ();
11102 main ()
11104 return xmlSchemaSetValidStructuredErrors ();
11106 return 0;
11108 _ACEOF
11109 if ac_fn_c_try_link "$LINENO"; then :
11110 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11111 else
11112 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11114 rm -f core conftest.err conftest.$ac_objext \
11115 conftest$ac_exeext conftest.$ac_ext
11116 LIBS=$ac_check_lib_save_LIBS
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11119 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11120 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11122 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11127 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11128 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11129 $as_echo_n "(cached) " >&6
11130 else
11131 ac_check_lib_save_LIBS=$LIBS
11132 LIBS="-lxml2 $XML2_LIBS $LIBS"
11133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11134 /* end confdefs.h. */
11136 /* Override any GCC internal prototype to avoid an error.
11137 Use char because int might match the return type of a GCC
11138 builtin and then its argument prototype would still apply. */
11139 #ifdef __cplusplus
11140 extern "C"
11141 #endif
11142 char xmlFirstElementChild ();
11144 main ()
11146 return xmlFirstElementChild ();
11148 return 0;
11150 _ACEOF
11151 if ac_fn_c_try_link "$LINENO"; then :
11152 ac_cv_lib_xml2_xmlFirstElementChild=yes
11153 else
11154 ac_cv_lib_xml2_xmlFirstElementChild=no
11156 rm -f core conftest.err conftest.$ac_objext \
11157 conftest$ac_exeext conftest.$ac_ext
11158 LIBS=$ac_check_lib_save_LIBS
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11161 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11162 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11164 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11168 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11170 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11172 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11176 else
11177 XML2_CFLAGS=""
11178 XML2_LIBS=""
11180 CPPFLAGS=$ac_save_CPPFLAGS
11181 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11182 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11185 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11186 case "x$with_xml" in
11187 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11188 xno) ;;
11189 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11190 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11191 esac
11194 if test "x$with_xslt" != "xno"
11195 then
11196 if ${XSLT_CFLAGS:+false} :; then :
11197 if ${PKG_CONFIG+:} false; then :
11198 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11201 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11202 if ${XSLT_LIBS:+false} :; then :
11203 if ${PKG_CONFIG+:} false; then :
11204 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11207 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11208 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11209 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11210 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11211 ac_save_CPPFLAGS=$CPPFLAGS
11212 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11213 for ac_header in libxslt/pattern.h libxslt/transform.h
11214 do :
11215 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11216 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11217 # include <libxslt/pattern.h>
11218 #endif
11220 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11221 cat >>confdefs.h <<_ACEOF
11222 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11223 _ACEOF
11227 done
11229 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11230 then
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11232 $as_echo_n "checking for -lxslt... " >&6; }
11233 if ${ac_cv_lib_soname_xslt+:} false; then :
11234 $as_echo_n "(cached) " >&6
11235 else
11236 ac_check_soname_save_LIBS=$LIBS
11237 LIBS="-lxslt $XSLT_LIBS $LIBS"
11238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11239 /* end confdefs.h. */
11241 /* Override any GCC internal prototype to avoid an error.
11242 Use char because int might match the return type of a GCC
11243 builtin and then its argument prototype would still apply. */
11244 #ifdef __cplusplus
11245 extern "C"
11246 #endif
11247 char xsltCompilePattern ();
11249 main ()
11251 return xsltCompilePattern ();
11253 return 0;
11255 _ACEOF
11256 if ac_fn_c_try_link "$LINENO"; then :
11257 case "$LIBEXT" in
11258 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11259 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'` ;;
11260 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11261 if ${ac_cv_lib_soname_xslt:+false} :; then :
11262 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11263 fi ;;
11264 esac
11266 rm -f core conftest.err conftest.$ac_objext \
11267 conftest$ac_exeext conftest.$ac_ext
11268 LIBS=$ac_check_soname_save_LIBS
11270 if ${ac_cv_lib_soname_xslt:+false} :; then :
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11272 $as_echo "not found" >&6; }
11274 else
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11276 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11278 cat >>confdefs.h <<_ACEOF
11279 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11280 _ACEOF
11284 else
11285 XSLT_CFLAGS=""
11287 CPPFLAGS=$ac_save_CPPFLAGS
11288 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11289 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11292 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11293 case "x$with_xslt" in
11294 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11295 xno) ;;
11296 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11297 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11298 esac
11301 if test "x$with_dbus" != "xno"
11302 then
11303 if ${DBUS_CFLAGS:+false} :; then :
11304 if ${PKG_CONFIG+:} false; then :
11305 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11309 if ${DBUS_LIBS:+false} :; then :
11310 if ${PKG_CONFIG+:} false; then :
11311 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11316 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11317 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11318 ac_save_CPPFLAGS=$CPPFLAGS
11319 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11320 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11321 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11323 $as_echo_n "checking for -ldbus-1... " >&6; }
11324 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11325 $as_echo_n "(cached) " >&6
11326 else
11327 ac_check_soname_save_LIBS=$LIBS
11328 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11330 /* end confdefs.h. */
11332 /* Override any GCC internal prototype to avoid an error.
11333 Use char because int might match the return type of a GCC
11334 builtin and then its argument prototype would still apply. */
11335 #ifdef __cplusplus
11336 extern "C"
11337 #endif
11338 char dbus_connection_close ();
11340 main ()
11342 return dbus_connection_close ();
11344 return 0;
11346 _ACEOF
11347 if ac_fn_c_try_link "$LINENO"; then :
11348 case "$LIBEXT" in
11349 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11350 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'` ;;
11351 *) 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'`
11352 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11353 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11354 fi ;;
11355 esac
11357 rm -f core conftest.err conftest.$ac_objext \
11358 conftest$ac_exeext conftest.$ac_ext
11359 LIBS=$ac_check_soname_save_LIBS
11361 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11363 $as_echo "not found" >&6; }
11364 DBUS_CFLAGS=""
11365 else
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11367 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11369 cat >>confdefs.h <<_ACEOF
11370 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11371 _ACEOF
11375 else
11376 DBUS_CFLAGS=""
11380 CPPFLAGS=$ac_save_CPPFLAGS
11381 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11382 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11385 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11386 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11387 case "x$with_dbus" in
11388 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11389 xno) ;;
11390 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11391 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11392 esac
11395 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11396 then
11397 if ${HAL_CFLAGS:+false} :; then :
11398 if ${PKG_CONFIG+:} false; then :
11399 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11403 if ${HAL_LIBS:+false} :; then :
11404 if ${PKG_CONFIG+:} false; then :
11405 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11409 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11410 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11411 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11412 ac_save_CPPFLAGS=$CPPFLAGS
11413 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11414 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11415 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11417 $as_echo_n "checking for -lhal... " >&6; }
11418 if ${ac_cv_lib_soname_hal+:} false; then :
11419 $as_echo_n "(cached) " >&6
11420 else
11421 ac_check_soname_save_LIBS=$LIBS
11422 LIBS="-lhal $HAL_LIBS $LIBS"
11423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11424 /* end confdefs.h. */
11426 /* Override any GCC internal prototype to avoid an error.
11427 Use char because int might match the return type of a GCC
11428 builtin and then its argument prototype would still apply. */
11429 #ifdef __cplusplus
11430 extern "C"
11431 #endif
11432 char libhal_ctx_new ();
11434 main ()
11436 return libhal_ctx_new ();
11438 return 0;
11440 _ACEOF
11441 if ac_fn_c_try_link "$LINENO"; then :
11442 case "$LIBEXT" in
11443 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11444 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'` ;;
11445 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11446 if ${ac_cv_lib_soname_hal:+false} :; then :
11447 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11448 fi ;;
11449 esac
11451 rm -f core conftest.err conftest.$ac_objext \
11452 conftest$ac_exeext conftest.$ac_ext
11453 LIBS=$ac_check_soname_save_LIBS
11455 if ${ac_cv_lib_soname_hal:+false} :; then :
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11457 $as_echo "not found" >&6; }
11458 HAL_CFLAGS=""
11459 else
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11461 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11463 cat >>confdefs.h <<_ACEOF
11464 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11465 _ACEOF
11469 else
11470 HAL_CFLAGS=""
11474 CPPFLAGS=$ac_save_CPPFLAGS
11475 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11476 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11478 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11479 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11480 case "x$with_hal" in
11481 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11482 xno) ;;
11483 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11484 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11485 esac
11489 if test "x$with_gnutls" != "xno"
11490 then
11491 if ${GNUTLS_CFLAGS:+false} :; then :
11492 if ${PKG_CONFIG+:} false; then :
11493 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11497 if ${GNUTLS_LIBS:+false} :; then :
11498 if ${PKG_CONFIG+:} false; then :
11499 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11504 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11505 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11506 ac_save_CPPFLAGS=$CPPFLAGS
11507 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11508 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11509 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11511 /* end confdefs.h. */
11512 #include <gnutls/gnutls.h>
11513 #include <gnutls/crypto.h>
11515 main ()
11517 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11519 return 0;
11521 _ACEOF
11522 if ac_fn_c_try_compile "$LINENO"; then :
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11524 $as_echo_n "checking for -lgnutls... " >&6; }
11525 if ${ac_cv_lib_soname_gnutls+:} false; then :
11526 $as_echo_n "(cached) " >&6
11527 else
11528 ac_check_soname_save_LIBS=$LIBS
11529 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11531 /* end confdefs.h. */
11533 /* Override any GCC internal prototype to avoid an error.
11534 Use char because int might match the return type of a GCC
11535 builtin and then its argument prototype would still apply. */
11536 #ifdef __cplusplus
11537 extern "C"
11538 #endif
11539 char gnutls_global_init ();
11541 main ()
11543 return gnutls_global_init ();
11545 return 0;
11547 _ACEOF
11548 if ac_fn_c_try_link "$LINENO"; then :
11549 case "$LIBEXT" in
11550 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11551 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'` ;;
11552 *) 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'`
11553 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11554 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'`
11555 fi ;;
11556 esac
11558 rm -f core conftest.err conftest.$ac_objext \
11559 conftest$ac_exeext conftest.$ac_ext
11560 LIBS=$ac_check_soname_save_LIBS
11562 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11564 $as_echo "not found" >&6; }
11565 GNUTLS_CFLAGS=""
11566 else
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11568 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11570 cat >>confdefs.h <<_ACEOF
11571 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11572 _ACEOF
11576 ac_wine_check_funcs_save_LIBS="$LIBS"
11577 LIBS="$LIBS $GNUTLS_LIBS"
11578 for ac_func in gnutls_hash
11579 do :
11580 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11581 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11582 cat >>confdefs.h <<_ACEOF
11583 #define HAVE_GNUTLS_HASH 1
11584 _ACEOF
11586 else
11587 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11589 done
11591 LIBS="$ac_wine_check_funcs_save_LIBS"
11593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11594 else
11595 GNUTLS_CFLAGS=""
11599 CPPFLAGS=$ac_save_CPPFLAGS
11600 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11601 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11604 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11605 case "x$with_gnutls" in
11606 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11607 xno) ;;
11608 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11609 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11610 esac
11613 CURSES_LIBS=""
11614 if test "$ac_cv_header_ncurses_h" = "yes"
11615 then
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11617 $as_echo_n "checking for -lncurses... " >&6; }
11618 if ${ac_cv_lib_soname_ncurses+:} false; then :
11619 $as_echo_n "(cached) " >&6
11620 else
11621 ac_check_soname_save_LIBS=$LIBS
11622 LIBS="-lncurses $LIBS"
11623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11624 /* end confdefs.h. */
11626 /* Override any GCC internal prototype to avoid an error.
11627 Use char because int might match the return type of a GCC
11628 builtin and then its argument prototype would still apply. */
11629 #ifdef __cplusplus
11630 extern "C"
11631 #endif
11632 char waddch ();
11634 main ()
11636 return waddch ();
11638 return 0;
11640 _ACEOF
11641 if ac_fn_c_try_link "$LINENO"; then :
11642 case "$LIBEXT" in
11643 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11644 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'` ;;
11645 *) 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'`
11646 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11647 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11648 fi ;;
11649 esac
11651 rm -f core conftest.err conftest.$ac_objext \
11652 conftest$ac_exeext conftest.$ac_ext
11653 LIBS=$ac_check_soname_save_LIBS
11655 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11657 $as_echo "not found" >&6; }
11659 else
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11661 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11663 cat >>confdefs.h <<_ACEOF
11664 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11665 _ACEOF
11667 CURSES_LIBS="-lncurses"
11669 elif test "$ac_cv_header_curses_h" = "yes"
11670 then
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11672 $as_echo_n "checking for -lcurses... " >&6; }
11673 if ${ac_cv_lib_soname_curses+:} false; then :
11674 $as_echo_n "(cached) " >&6
11675 else
11676 ac_check_soname_save_LIBS=$LIBS
11677 LIBS="-lcurses $LIBS"
11678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11679 /* end confdefs.h. */
11681 /* Override any GCC internal prototype to avoid an error.
11682 Use char because int might match the return type of a GCC
11683 builtin and then its argument prototype would still apply. */
11684 #ifdef __cplusplus
11685 extern "C"
11686 #endif
11687 char waddch ();
11689 main ()
11691 return waddch ();
11693 return 0;
11695 _ACEOF
11696 if ac_fn_c_try_link "$LINENO"; then :
11697 case "$LIBEXT" in
11698 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11699 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'` ;;
11700 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11701 if ${ac_cv_lib_soname_curses:+false} :; then :
11702 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11703 fi ;;
11704 esac
11706 rm -f core conftest.err conftest.$ac_objext \
11707 conftest$ac_exeext conftest.$ac_ext
11708 LIBS=$ac_check_soname_save_LIBS
11710 if ${ac_cv_lib_soname_curses:+false} :; then :
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11712 $as_echo "not found" >&6; }
11714 else
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11716 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11718 cat >>confdefs.h <<_ACEOF
11719 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11720 _ACEOF
11722 CURSES_LIBS="-lcurses"
11725 ac_save_LIBS="$LIBS"
11726 LIBS="$LIBS $CURSES_LIBS"
11727 for ac_func in mousemask
11728 do :
11729 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11730 if test "x$ac_cv_func_mousemask" = xyes; then :
11731 cat >>confdefs.h <<_ACEOF
11732 #define HAVE_MOUSEMASK 1
11733 _ACEOF
11736 done
11738 LIBS="$ac_save_LIBS"
11739 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11740 case "x$with_curses" in
11741 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11742 xno) ;;
11743 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11744 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11745 esac
11748 if test "x$with_sane" != "xno"
11749 then
11750 if ${SANE_CFLAGS:+false} :; then :
11751 if ${PKG_CONFIG+:} false; then :
11752 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11755 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11756 if ${SANE_LIBS:+false} :; then :
11757 if ${PKG_CONFIG+:} false; then :
11758 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11761 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11763 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11764 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11765 ac_save_CPPFLAGS=$CPPFLAGS
11766 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11767 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11768 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11770 $as_echo_n "checking for -lsane... " >&6; }
11771 if ${ac_cv_lib_soname_sane+:} false; then :
11772 $as_echo_n "(cached) " >&6
11773 else
11774 ac_check_soname_save_LIBS=$LIBS
11775 LIBS="-lsane $SANE_LIBS $LIBS"
11776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11777 /* end confdefs.h. */
11779 /* Override any GCC internal prototype to avoid an error.
11780 Use char because int might match the return type of a GCC
11781 builtin and then its argument prototype would still apply. */
11782 #ifdef __cplusplus
11783 extern "C"
11784 #endif
11785 char sane_init ();
11787 main ()
11789 return sane_init ();
11791 return 0;
11793 _ACEOF
11794 if ac_fn_c_try_link "$LINENO"; then :
11795 case "$LIBEXT" in
11796 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11797 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'` ;;
11798 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11799 if ${ac_cv_lib_soname_sane:+false} :; then :
11800 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11801 fi ;;
11802 esac
11804 rm -f core conftest.err conftest.$ac_objext \
11805 conftest$ac_exeext conftest.$ac_ext
11806 LIBS=$ac_check_soname_save_LIBS
11808 if ${ac_cv_lib_soname_sane:+false} :; then :
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11810 $as_echo "not found" >&6; }
11811 SANE_CFLAGS=""
11812 else
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11814 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11816 cat >>confdefs.h <<_ACEOF
11817 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11818 _ACEOF
11822 else
11823 SANE_CFLAGS=""
11827 CPPFLAGS=$ac_save_CPPFLAGS
11828 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11829 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11832 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11833 case "x$with_sane" in
11834 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11835 xno) ;;
11836 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11837 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11838 esac
11841 if test "x$with_v4l" != "xno"
11842 then
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11844 $as_echo_n "checking for -lv4l1... " >&6; }
11845 if ${ac_cv_lib_soname_v4l1+:} false; then :
11846 $as_echo_n "(cached) " >&6
11847 else
11848 ac_check_soname_save_LIBS=$LIBS
11849 LIBS="-lv4l1 $LIBS"
11850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11851 /* end confdefs.h. */
11853 /* Override any GCC internal prototype to avoid an error.
11854 Use char because int might match the return type of a GCC
11855 builtin and then its argument prototype would still apply. */
11856 #ifdef __cplusplus
11857 extern "C"
11858 #endif
11859 char v4l1_open ();
11861 main ()
11863 return v4l1_open ();
11865 return 0;
11867 _ACEOF
11868 if ac_fn_c_try_link "$LINENO"; then :
11869 case "$LIBEXT" in
11870 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11871 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'` ;;
11872 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11873 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11874 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11875 fi ;;
11876 esac
11878 rm -f core conftest.err conftest.$ac_objext \
11879 conftest$ac_exeext conftest.$ac_ext
11880 LIBS=$ac_check_soname_save_LIBS
11882 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11884 $as_echo "not found" >&6; }
11886 else
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11888 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11890 cat >>confdefs.h <<_ACEOF
11891 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11892 _ACEOF
11897 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11898 case "x$with_v4l" in
11899 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11900 xno) ;;
11901 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11902 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11903 esac
11906 if test "x$with_gphoto" != "xno"
11907 then
11908 if ${GPHOTO2_CFLAGS:+false} :; then :
11909 if ${PKG_CONFIG+:} false; then :
11910 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11913 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11914 if ${GPHOTO2_LIBS:+false} :; then :
11915 if ${PKG_CONFIG+:} false; then :
11916 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11919 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11920 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11921 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11922 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11923 ac_save_CPPFLAGS=$CPPFLAGS
11924 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11925 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11926 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11928 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11929 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11930 $as_echo_n "(cached) " >&6
11931 else
11932 ac_check_lib_save_LIBS=$LIBS
11933 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11935 /* end confdefs.h. */
11937 /* Override any GCC internal prototype to avoid an error.
11938 Use char because int might match the return type of a GCC
11939 builtin and then its argument prototype would still apply. */
11940 #ifdef __cplusplus
11941 extern "C"
11942 #endif
11943 char gp_camera_new ();
11945 main ()
11947 return gp_camera_new ();
11949 return 0;
11951 _ACEOF
11952 if ac_fn_c_try_link "$LINENO"; then :
11953 ac_cv_lib_gphoto2_gp_camera_new=yes
11954 else
11955 ac_cv_lib_gphoto2_gp_camera_new=no
11957 rm -f core conftest.err conftest.$ac_objext \
11958 conftest$ac_exeext conftest.$ac_ext
11959 LIBS=$ac_check_lib_save_LIBS
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11962 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11963 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11965 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11967 else
11968 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11971 else
11972 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11976 CPPFLAGS=$ac_save_CPPFLAGS
11977 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11978 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11980 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11981 if ${PKG_CONFIG+:} false; then :
11982 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11985 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
11986 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11987 if ${PKG_CONFIG+:} false; then :
11988 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11991 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
11992 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11993 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11994 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11995 ac_save_CPPFLAGS=$CPPFLAGS
11996 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11997 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11998 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12000 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12001 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12002 $as_echo_n "(cached) " >&6
12003 else
12004 ac_check_lib_save_LIBS=$LIBS
12005 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12007 /* end confdefs.h. */
12009 /* Override any GCC internal prototype to avoid an error.
12010 Use char because int might match the return type of a GCC
12011 builtin and then its argument prototype would still apply. */
12012 #ifdef __cplusplus
12013 extern "C"
12014 #endif
12015 char gp_port_info_list_new ();
12017 main ()
12019 return gp_port_info_list_new ();
12021 return 0;
12023 _ACEOF
12024 if ac_fn_c_try_link "$LINENO"; then :
12025 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12026 else
12027 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12029 rm -f core conftest.err conftest.$ac_objext \
12030 conftest$ac_exeext conftest.$ac_ext
12031 LIBS=$ac_check_lib_save_LIBS
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12034 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12035 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12037 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12039 else
12040 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12043 else
12044 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12048 CPPFLAGS=$ac_save_CPPFLAGS
12049 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12050 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12053 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12054 case "x$with_gphoto" in
12055 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12056 xno) ;;
12057 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12058 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12059 esac
12061 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12062 case "x$with_gphoto" in
12063 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12064 xno) ;;
12065 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12066 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12067 esac
12071 if test "$ac_cv_header_resolv_h" = "yes"
12072 then
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12074 $as_echo_n "checking for resolver library... " >&6; }
12075 if ${ac_cv_have_resolv+:} false; then :
12076 $as_echo_n "(cached) " >&6
12077 else
12078 ac_save_LIBS="$LIBS"
12079 for lib in '' -lresolv
12081 LIBS="$lib $ac_save_LIBS"
12082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12083 /* end confdefs.h. */
12084 #ifdef HAVE_NETINET_IN_H
12085 #include <netinet/in.h>
12086 #endif
12087 #include <resolv.h>
12089 main ()
12091 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12093 return 0;
12095 _ACEOF
12096 if ac_fn_c_try_link "$LINENO"; then :
12097 ac_cv_have_resolv=${lib:-"none required"}
12098 else
12099 ac_cv_have_resolv="not found"
12101 rm -f core conftest.err conftest.$ac_objext \
12102 conftest$ac_exeext conftest.$ac_ext
12103 test "x$ac_cv_have_resolv" = "xnot found" || break
12104 done
12105 LIBS="$ac_save_LIBS"
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12108 $as_echo "$ac_cv_have_resolv" >&6; }
12110 case "$ac_cv_have_resolv" in
12111 "not found") ;;
12112 "none required")
12114 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12117 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12119 RESOLV_LIBS=$ac_cv_have_resolv
12121 esac
12124 if test "x$with_cms" != "xno"
12125 then
12126 if ${LCMS2_CFLAGS:+false} :; then :
12127 if ${PKG_CONFIG+:} false; then :
12128 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12132 if ${LCMS2_LIBS:+false} :; then :
12133 if ${PKG_CONFIG+:} false; then :
12134 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12138 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12139 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12140 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12141 ac_save_CPPFLAGS=$CPPFLAGS
12142 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12143 for ac_header in lcms2.h
12144 do :
12145 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12146 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12147 cat >>confdefs.h <<_ACEOF
12148 #define HAVE_LCMS2_H 1
12149 _ACEOF
12153 done
12155 if test "$ac_cv_header_lcms2_h" = "yes"
12156 then
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12158 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12159 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12160 $as_echo_n "(cached) " >&6
12161 else
12162 ac_check_lib_save_LIBS=$LIBS
12163 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12165 /* end confdefs.h. */
12167 /* Override any GCC internal prototype to avoid an error.
12168 Use char because int might match the return type of a GCC
12169 builtin and then its argument prototype would still apply. */
12170 #ifdef __cplusplus
12171 extern "C"
12172 #endif
12173 char cmsOpenProfileFromFile ();
12175 main ()
12177 return cmsOpenProfileFromFile ();
12179 return 0;
12181 _ACEOF
12182 if ac_fn_c_try_link "$LINENO"; then :
12183 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12184 else
12185 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12187 rm -f core conftest.err conftest.$ac_objext \
12188 conftest$ac_exeext conftest.$ac_ext
12189 LIBS=$ac_check_lib_save_LIBS
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12192 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12193 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12195 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12197 else
12198 LCMS2_LIBS=""
12201 else
12202 LCMS2_CFLAGS=""
12203 LCMS2_LIBS=""
12205 CPPFLAGS=$ac_save_CPPFLAGS
12206 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12207 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12210 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12211 case "x$with_cms" in
12212 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12213 xno) ;;
12214 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12215 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12216 esac
12219 if test "x$with_freetype" != "xno"
12220 then
12221 if ${FREETYPE_CFLAGS:+false} :; then :
12222 if ${PKG_CONFIG+:} false; then :
12223 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12226 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12227 if ${FREETYPE_LIBS:+false} :; then :
12228 if ${PKG_CONFIG+:} false; then :
12229 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12232 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12233 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12234 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12235 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12236 ac_save_CPPFLAGS=$CPPFLAGS
12237 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12238 for ac_header in ft2build.h
12239 do :
12240 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12241 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12242 cat >>confdefs.h <<_ACEOF
12243 #define HAVE_FT2BUILD_H 1
12244 _ACEOF
12248 done
12250 if test "$ac_cv_header_ft2build_h" = "yes"
12251 then
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12253 $as_echo_n "checking for -lfreetype... " >&6; }
12254 if ${ac_cv_lib_soname_freetype+:} false; then :
12255 $as_echo_n "(cached) " >&6
12256 else
12257 ac_check_soname_save_LIBS=$LIBS
12258 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12260 /* end confdefs.h. */
12262 /* Override any GCC internal prototype to avoid an error.
12263 Use char because int might match the return type of a GCC
12264 builtin and then its argument prototype would still apply. */
12265 #ifdef __cplusplus
12266 extern "C"
12267 #endif
12268 char FT_Init_FreeType ();
12270 main ()
12272 return FT_Init_FreeType ();
12274 return 0;
12276 _ACEOF
12277 if ac_fn_c_try_link "$LINENO"; then :
12278 case "$LIBEXT" in
12279 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12280 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'` ;;
12281 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12282 if ${ac_cv_lib_soname_freetype:+false} :; then :
12283 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12284 fi ;;
12285 esac
12287 rm -f core conftest.err conftest.$ac_objext \
12288 conftest$ac_exeext conftest.$ac_ext
12289 LIBS=$ac_check_soname_save_LIBS
12291 if ${ac_cv_lib_soname_freetype:+false} :; then :
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12293 $as_echo "not found" >&6; }
12294 FREETYPE_LIBS=""
12295 else
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12297 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12299 cat >>confdefs.h <<_ACEOF
12300 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12301 _ACEOF
12304 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12306 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12307 #include FT_MODULE_H
12309 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12311 cat >>confdefs.h <<_ACEOF
12312 #define HAVE_FT_TRUETYPEENGINETYPE 1
12313 _ACEOF
12319 else
12320 FREETYPE_CFLAGS=""
12321 FREETYPE_LIBS=""
12323 CPPFLAGS=$ac_save_CPPFLAGS
12324 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12325 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12328 if test "x$ac_cv_lib_soname_freetype" = x; then :
12329 case "x$with_freetype" in
12330 xno) ;;
12331 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12332 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12333 esac
12335 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12338 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12339 if ${ac_cv_c_ppdev+:} false; then :
12340 $as_echo_n "(cached) " >&6
12341 else
12342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12343 /* end confdefs.h. */
12344 #ifdef HAVE_SYS_IOCTL_H
12345 # include <sys/ioctl.h>
12346 #endif
12347 #include <linux/ppdev.h>
12349 main ()
12351 ioctl (1,PPCLAIM,0)
12353 return 0;
12355 _ACEOF
12356 if ac_fn_c_try_compile "$LINENO"; then :
12357 ac_cv_c_ppdev="yes"
12358 else
12359 ac_cv_c_ppdev="no"
12361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12364 $as_echo "$ac_cv_c_ppdev" >&6; }
12365 if test "$ac_cv_c_ppdev" = "yes"
12366 then
12368 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12372 ac_wine_check_funcs_save_LIBS="$LIBS"
12373 LIBS="$LIBS $PTHREAD_LIBS"
12374 for ac_func in \
12375 pthread_attr_get_np \
12376 pthread_getattr_np \
12377 pthread_getthreadid_np \
12378 pthread_get_stackaddr_np \
12379 pthread_get_stacksize_np
12380 do :
12381 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12382 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12383 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12384 cat >>confdefs.h <<_ACEOF
12385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12386 _ACEOF
12389 done
12391 LIBS="$ac_wine_check_funcs_save_LIBS"
12393 if test "$ac_cv_header_zlib_h" = "yes"
12394 then
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12396 $as_echo_n "checking for inflate in -lz... " >&6; }
12397 if ${ac_cv_lib_z_inflate+:} false; then :
12398 $as_echo_n "(cached) " >&6
12399 else
12400 ac_check_lib_save_LIBS=$LIBS
12401 LIBS="-lz $LIBS"
12402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h. */
12405 /* Override any GCC internal prototype to avoid an error.
12406 Use char because int might match the return type of a GCC
12407 builtin and then its argument prototype would still apply. */
12408 #ifdef __cplusplus
12409 extern "C"
12410 #endif
12411 char inflate ();
12413 main ()
12415 return inflate ();
12417 return 0;
12419 _ACEOF
12420 if ac_fn_c_try_link "$LINENO"; then :
12421 ac_cv_lib_z_inflate=yes
12422 else
12423 ac_cv_lib_z_inflate=no
12425 rm -f core conftest.err conftest.$ac_objext \
12426 conftest$ac_exeext conftest.$ac_ext
12427 LIBS=$ac_check_lib_save_LIBS
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12430 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12431 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12433 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12435 Z_LIBS="-lz"
12440 if test "x$Z_LIBS" = "x"; then :
12441 case "x$with_zlib" in
12442 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12443 xno) ;;
12444 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12445 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12446 esac
12449 if test "x$enable_tools" != xno
12450 then
12451 if test "$ac_cv_header_gettext_po_h" = "yes"
12452 then
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12454 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12455 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12456 $as_echo_n "(cached) " >&6
12457 else
12458 ac_check_lib_save_LIBS=$LIBS
12459 LIBS="-lgettextpo $LIBS"
12460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12461 /* end confdefs.h. */
12463 /* Override any GCC internal prototype to avoid an error.
12464 Use char because int might match the return type of a GCC
12465 builtin and then its argument prototype would still apply. */
12466 #ifdef __cplusplus
12467 extern "C"
12468 #endif
12469 char po_message_msgctxt ();
12471 main ()
12473 return po_message_msgctxt ();
12475 return 0;
12477 _ACEOF
12478 if ac_fn_c_try_link "$LINENO"; then :
12479 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12480 else
12481 ac_cv_lib_gettextpo_po_message_msgctxt=no
12483 rm -f core conftest.err conftest.$ac_objext \
12484 conftest$ac_exeext conftest.$ac_ext
12485 LIBS=$ac_check_lib_save_LIBS
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12488 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12489 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12491 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12493 GETTEXTPO_LIBS="-lgettextpo"
12498 if test "x$with_gettextpo" = xyes
12499 then
12500 if test "x$GETTEXTPO_LIBS" = "x"; then :
12501 case "x$with_gettextpo" in
12502 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12503 xno) ;;
12504 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12505 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12506 esac
12508 if test "$srcdir" != .; then :
12509 case "x$with_gettextpo" in
12510 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12511 xno) ;;
12512 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12513 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12514 esac
12519 if test "x$with_pulse" != "xno";
12520 then
12521 if ${PULSE_CFLAGS:+false} :; then :
12522 if ${PKG_CONFIG+:} false; then :
12523 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12527 if ${PULSE_LIBS:+false} :; then :
12528 if ${PKG_CONFIG+:} false; then :
12529 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12534 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12535 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12536 ac_save_CPPFLAGS=$CPPFLAGS
12537 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12538 for ac_header in pulse/pulseaudio.h
12539 do :
12540 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12541 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12542 cat >>confdefs.h <<_ACEOF
12543 #define HAVE_PULSE_PULSEAUDIO_H 1
12544 _ACEOF
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12546 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12547 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12548 $as_echo_n "(cached) " >&6
12549 else
12550 ac_check_lib_save_LIBS=$LIBS
12551 LIBS="-lpulse $PULSE_LIBS $LIBS"
12552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12553 /* end confdefs.h. */
12555 /* Override any GCC internal prototype to avoid an error.
12556 Use char because int might match the return type of a GCC
12557 builtin and then its argument prototype would still apply. */
12558 #ifdef __cplusplus
12559 extern "C"
12560 #endif
12561 char pa_stream_is_corked ();
12563 main ()
12565 return pa_stream_is_corked ();
12567 return 0;
12569 _ACEOF
12570 if ac_fn_c_try_link "$LINENO"; then :
12571 ac_cv_lib_pulse_pa_stream_is_corked=yes
12572 else
12573 ac_cv_lib_pulse_pa_stream_is_corked=no
12575 rm -f core conftest.err conftest.$ac_objext \
12576 conftest$ac_exeext conftest.$ac_ext
12577 LIBS=$ac_check_lib_save_LIBS
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12580 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12581 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12583 else
12584 PULSE_LIBS=""
12587 else
12588 PULSE_LIBS=""
12591 done
12593 CPPFLAGS=$ac_save_CPPFLAGS
12594 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12595 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12598 if test -z "$PULSE_LIBS"; then :
12599 case "x$with_pulse" in
12600 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12601 xno) ;;
12602 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12603 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12604 esac
12606 test -n "$PULSE_LIBS" || enable_winepulse_drv=${enable_winepulse_drv:-no}
12608 if test "x$with_gstreamer" != "xno"
12609 then
12610 if ${GSTREAMER_CFLAGS:+false} :; then :
12611 if ${PKG_CONFIG+:} false; then :
12612 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12616 if ${GSTREAMER_LIBS:+false} :; then :
12617 if ${PKG_CONFIG+:} false; then :
12618 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12623 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12624 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12625 ac_save_CPPFLAGS=$CPPFLAGS
12626 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12627 ac_gst_incl=""
12628 for i in $GSTREAMER_CFLAGS
12630 case "$i" in
12631 -I*) ac_gst_incl="$ac_gst_incl $i";;
12632 esac
12633 done
12634 GSTREAMER_CFLAGS=$ac_gst_incl
12635 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12636 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12637 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12639 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12641 /* end confdefs.h. */
12642 #include <gst/gst.h>
12644 main ()
12646 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12648 return 0;
12650 _ACEOF
12651 if ac_fn_c_try_compile "$LINENO"; then :
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12653 $as_echo "yes" >&6; }
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12655 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12656 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12657 $as_echo_n "(cached) " >&6
12658 else
12659 ac_check_lib_save_LIBS=$LIBS
12660 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12662 /* end confdefs.h. */
12664 /* Override any GCC internal prototype to avoid an error.
12665 Use char because int might match the return type of a GCC
12666 builtin and then its argument prototype would still apply. */
12667 #ifdef __cplusplus
12668 extern "C"
12669 #endif
12670 char gst_pad_new ();
12672 main ()
12674 return gst_pad_new ();
12676 return 0;
12678 _ACEOF
12679 if ac_fn_c_try_link "$LINENO"; then :
12680 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12681 else
12682 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12684 rm -f core conftest.err conftest.$ac_objext \
12685 conftest$ac_exeext conftest.$ac_ext
12686 LIBS=$ac_check_lib_save_LIBS
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12689 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12690 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12694 else
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12696 $as_echo "no" >&6; }
12697 ac_glib2_broken=yes
12698 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12704 CPPFLAGS=$ac_save_CPPFLAGS
12705 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12706 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12709 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes ; then :
12710 case "x$with_gstreamer" in
12711 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12712 xno) ;;
12713 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12714 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12715 esac
12717 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12719 ALSA_LIBS=""
12721 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12722 then
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12724 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12725 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12726 $as_echo_n "(cached) " >&6
12727 else
12728 ac_check_lib_save_LIBS=$LIBS
12729 LIBS="-lasound $LIBS"
12730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12731 /* end confdefs.h. */
12733 /* Override any GCC internal prototype to avoid an error.
12734 Use char because int might match the return type of a GCC
12735 builtin and then its argument prototype would still apply. */
12736 #ifdef __cplusplus
12737 extern "C"
12738 #endif
12739 char snd_pcm_hw_params_get_access_mask ();
12741 main ()
12743 return snd_pcm_hw_params_get_access_mask ();
12745 return 0;
12747 _ACEOF
12748 if ac_fn_c_try_link "$LINENO"; then :
12749 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12750 else
12751 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12753 rm -f core conftest.err conftest.$ac_objext \
12754 conftest$ac_exeext conftest.$ac_ext
12755 LIBS=$ac_check_lib_save_LIBS
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12758 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12759 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12761 /* end confdefs.h. */
12762 #ifdef HAVE_ALSA_ASOUNDLIB_H
12763 #include <alsa/asoundlib.h>
12764 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12765 #include <sys/asoundlib.h>
12766 #endif
12768 main ()
12770 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12772 return 0;
12774 _ACEOF
12775 if ac_fn_c_try_compile "$LINENO"; then :
12776 ALSA_LIBS="-lasound"
12778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12782 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12784 if test "x$with_oss" != xno
12785 then
12786 ac_save_CPPFLAGS="$CPPFLAGS"
12787 if test -f /etc/oss.conf
12788 then
12789 . /etc/oss.conf
12791 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12792 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12793 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12794 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12795 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12797 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12799 cat >>confdefs.h <<_ACEOF
12800 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12801 _ACEOF
12803 OSS4_CFLAGS="$ac_oss_incl"
12810 CPPFLAGS="$ac_save_CPPFLAGS"
12811 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12812 then
12813 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12816 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12818 if test "x$with_capi" != "xno"
12819 then
12820 if ${CAPI20_CFLAGS:+false} :; then :
12821 if ${PKG_CONFIG+:} false; then :
12822 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12826 if ${CAPI20_LIBS:+false} :; then :
12827 if ${PKG_CONFIG+:} false; then :
12828 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12833 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12834 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12835 ac_save_CPPFLAGS=$CPPFLAGS
12836 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12837 for ac_header in capi20.h linux/capi.h
12838 do :
12839 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12840 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12842 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12843 cat >>confdefs.h <<_ACEOF
12844 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12845 _ACEOF
12849 done
12851 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12852 then
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12854 $as_echo_n "checking for -lcapi20... " >&6; }
12855 if ${ac_cv_lib_soname_capi20+:} false; then :
12856 $as_echo_n "(cached) " >&6
12857 else
12858 ac_check_soname_save_LIBS=$LIBS
12859 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12861 /* end confdefs.h. */
12863 /* Override any GCC internal prototype to avoid an error.
12864 Use char because int might match the return type of a GCC
12865 builtin and then its argument prototype would still apply. */
12866 #ifdef __cplusplus
12867 extern "C"
12868 #endif
12869 char capi20_register ();
12871 main ()
12873 return capi20_register ();
12875 return 0;
12877 _ACEOF
12878 if ac_fn_c_try_link "$LINENO"; then :
12879 case "$LIBEXT" in
12880 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12881 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'` ;;
12882 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12883 if ${ac_cv_lib_soname_capi20:+false} :; then :
12884 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12885 fi ;;
12886 esac
12888 rm -f core conftest.err conftest.$ac_objext \
12889 conftest$ac_exeext conftest.$ac_ext
12890 LIBS=$ac_check_soname_save_LIBS
12892 if ${ac_cv_lib_soname_capi20:+false} :; then :
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12894 $as_echo "not found" >&6; }
12896 else
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12898 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12900 cat >>confdefs.h <<_ACEOF
12901 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12902 _ACEOF
12907 CPPFLAGS=$ac_save_CPPFLAGS
12908 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12909 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12912 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12913 case "x$with_capi" in
12914 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12915 xno) ;;
12916 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12917 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12918 esac
12921 CUPS_CFLAGS=""
12923 if test "x$with_cups" != "xno"
12924 then
12925 ac_save_CPPFLAGS="$CPPFLAGS"
12926 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12927 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12928 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12929 for ac_header in cups/cups.h
12930 do :
12931 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12932 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12933 cat >>confdefs.h <<_ACEOF
12934 #define HAVE_CUPS_CUPS_H 1
12935 _ACEOF
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12937 $as_echo_n "checking for -lcups... " >&6; }
12938 if ${ac_cv_lib_soname_cups+:} false; then :
12939 $as_echo_n "(cached) " >&6
12940 else
12941 ac_check_soname_save_LIBS=$LIBS
12942 LIBS="-lcups $ac_cups_libs $LIBS"
12943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12944 /* end confdefs.h. */
12946 /* Override any GCC internal prototype to avoid an error.
12947 Use char because int might match the return type of a GCC
12948 builtin and then its argument prototype would still apply. */
12949 #ifdef __cplusplus
12950 extern "C"
12951 #endif
12952 char cupsGetDefault ();
12954 main ()
12956 return cupsGetDefault ();
12958 return 0;
12960 _ACEOF
12961 if ac_fn_c_try_link "$LINENO"; then :
12962 case "$LIBEXT" in
12963 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12964 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'` ;;
12965 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12966 if ${ac_cv_lib_soname_cups:+false} :; then :
12967 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12968 fi ;;
12969 esac
12971 rm -f core conftest.err conftest.$ac_objext \
12972 conftest$ac_exeext conftest.$ac_ext
12973 LIBS=$ac_check_soname_save_LIBS
12975 if ${ac_cv_lib_soname_cups:+false} :; then :
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12977 $as_echo "not found" >&6; }
12979 else
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12981 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12983 cat >>confdefs.h <<_ACEOF
12984 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12985 _ACEOF
12987 CUPS_CFLAGS="$ac_cups_cflags"
12991 done
12993 CPPFLAGS="$ac_save_CPPFLAGS"
12995 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12996 case "x$with_cups" in
12997 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12998 xno) ;;
12999 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13000 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13001 esac
13004 if test "x$with_fontconfig" != "xno"
13005 then
13006 if ${FONTCONFIG_CFLAGS:+false} :; then :
13007 if ${PKG_CONFIG+:} false; then :
13008 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13011 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13012 if ${FONTCONFIG_LIBS:+false} :; then :
13013 if ${PKG_CONFIG+:} false; then :
13014 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13017 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13019 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13020 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13021 ac_save_CPPFLAGS=$CPPFLAGS
13022 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13023 for ac_header in fontconfig/fontconfig.h
13024 do :
13025 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13026 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13027 cat >>confdefs.h <<_ACEOF
13028 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13029 _ACEOF
13033 done
13035 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13036 then
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13038 $as_echo_n "checking for -lfontconfig... " >&6; }
13039 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13040 $as_echo_n "(cached) " >&6
13041 else
13042 ac_check_soname_save_LIBS=$LIBS
13043 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13045 /* end confdefs.h. */
13047 /* Override any GCC internal prototype to avoid an error.
13048 Use char because int might match the return type of a GCC
13049 builtin and then its argument prototype would still apply. */
13050 #ifdef __cplusplus
13051 extern "C"
13052 #endif
13053 char FcInit ();
13055 main ()
13057 return FcInit ();
13059 return 0;
13061 _ACEOF
13062 if ac_fn_c_try_link "$LINENO"; then :
13063 case "$LIBEXT" in
13064 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13065 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'` ;;
13066 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13067 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13068 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13069 fi ;;
13070 esac
13072 rm -f core conftest.err conftest.$ac_objext \
13073 conftest$ac_exeext conftest.$ac_ext
13074 LIBS=$ac_check_soname_save_LIBS
13076 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13078 $as_echo "not found" >&6; }
13079 FONTCONFIG_CFLAGS=""
13080 else
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13082 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13084 cat >>confdefs.h <<_ACEOF
13085 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13086 _ACEOF
13090 else
13091 FONTCONFIG_CFLAGS=""
13093 CPPFLAGS=$ac_save_CPPFLAGS
13094 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13095 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13098 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13099 case "x$with_fontconfig" in
13100 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13101 xno) ;;
13102 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13103 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13104 esac
13107 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13108 then
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13110 $as_echo_n "checking for -lgsm... " >&6; }
13111 if ${ac_cv_lib_soname_gsm+:} false; then :
13112 $as_echo_n "(cached) " >&6
13113 else
13114 ac_check_soname_save_LIBS=$LIBS
13115 LIBS="-lgsm $LIBS"
13116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13117 /* end confdefs.h. */
13119 /* Override any GCC internal prototype to avoid an error.
13120 Use char because int might match the return type of a GCC
13121 builtin and then its argument prototype would still apply. */
13122 #ifdef __cplusplus
13123 extern "C"
13124 #endif
13125 char gsm_create ();
13127 main ()
13129 return gsm_create ();
13131 return 0;
13133 _ACEOF
13134 if ac_fn_c_try_link "$LINENO"; then :
13135 case "$LIBEXT" in
13136 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13137 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'` ;;
13138 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13139 if ${ac_cv_lib_soname_gsm:+false} :; then :
13140 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13141 fi ;;
13142 esac
13144 rm -f core conftest.err conftest.$ac_objext \
13145 conftest$ac_exeext conftest.$ac_ext
13146 LIBS=$ac_check_soname_save_LIBS
13148 if ${ac_cv_lib_soname_gsm:+false} :; then :
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13150 $as_echo "not found" >&6; }
13152 else
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13154 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13156 cat >>confdefs.h <<_ACEOF
13157 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13158 _ACEOF
13163 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13164 case "x$with_gsm" in
13165 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13166 xno) ;;
13167 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13168 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13169 esac
13172 if test "x$with_jpeg" != "xno"
13173 then
13174 if ${JPEG_CFLAGS:+false} :; then :
13175 if ${PKG_CONFIG+:} false; then :
13176 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13180 if ${JPEG_LIBS:+false} :; then :
13181 if ${PKG_CONFIG+:} false; then :
13182 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13187 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13188 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13189 ac_save_CPPFLAGS=$CPPFLAGS
13190 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13191 for ac_header in jpeglib.h
13192 do :
13193 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13194 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13195 cat >>confdefs.h <<_ACEOF
13196 #define HAVE_JPEGLIB_H 1
13197 _ACEOF
13201 done
13203 if test "$ac_cv_header_jpeglib_h" = "yes"
13204 then
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13206 $as_echo_n "checking for -ljpeg... " >&6; }
13207 if ${ac_cv_lib_soname_jpeg+:} false; then :
13208 $as_echo_n "(cached) " >&6
13209 else
13210 ac_check_soname_save_LIBS=$LIBS
13211 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13213 /* end confdefs.h. */
13215 /* Override any GCC internal prototype to avoid an error.
13216 Use char because int might match the return type of a GCC
13217 builtin and then its argument prototype would still apply. */
13218 #ifdef __cplusplus
13219 extern "C"
13220 #endif
13221 char jpeg_start_decompress ();
13223 main ()
13225 return jpeg_start_decompress ();
13227 return 0;
13229 _ACEOF
13230 if ac_fn_c_try_link "$LINENO"; then :
13231 case "$LIBEXT" in
13232 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13233 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'` ;;
13234 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13235 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13236 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13237 fi ;;
13238 esac
13240 rm -f core conftest.err conftest.$ac_objext \
13241 conftest$ac_exeext conftest.$ac_ext
13242 LIBS=$ac_check_soname_save_LIBS
13244 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13246 $as_echo "not found" >&6; }
13247 JPEG_CFLAGS=""
13248 else
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13250 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13252 cat >>confdefs.h <<_ACEOF
13253 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13254 _ACEOF
13258 else
13259 JPEG_CFLAGS=""
13261 CPPFLAGS=$ac_save_CPPFLAGS
13262 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13263 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13266 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13267 case "x$with_jpeg" in
13268 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13269 xno) ;;
13270 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13271 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13272 esac
13275 if test "x$with_png" != "xno"
13276 then
13277 if ${PNG_CFLAGS:+false} :; then :
13278 if ${PKG_CONFIG+:} false; then :
13279 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13282 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13283 if ${PNG_LIBS:+false} :; then :
13284 if ${PKG_CONFIG+:} false; then :
13285 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13288 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13290 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13291 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13292 ac_save_CPPFLAGS=$CPPFLAGS
13293 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13294 for ac_header in png.h
13295 do :
13296 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13297 if test "x$ac_cv_header_png_h" = xyes; then :
13298 cat >>confdefs.h <<_ACEOF
13299 #define HAVE_PNG_H 1
13300 _ACEOF
13304 done
13306 if test "$ac_cv_header_png_h" = "yes"
13307 then
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13309 $as_echo_n "checking for -lpng... " >&6; }
13310 if ${ac_cv_lib_soname_png+:} false; then :
13311 $as_echo_n "(cached) " >&6
13312 else
13313 ac_check_soname_save_LIBS=$LIBS
13314 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13316 /* end confdefs.h. */
13318 /* Override any GCC internal prototype to avoid an error.
13319 Use char because int might match the return type of a GCC
13320 builtin and then its argument prototype would still apply. */
13321 #ifdef __cplusplus
13322 extern "C"
13323 #endif
13324 char png_create_read_struct ();
13326 main ()
13328 return png_create_read_struct ();
13330 return 0;
13332 _ACEOF
13333 if ac_fn_c_try_link "$LINENO"; then :
13334 case "$LIBEXT" in
13335 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13336 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'` ;;
13337 *) 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'`
13338 if ${ac_cv_lib_soname_png:+false} :; then :
13339 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13340 fi ;;
13341 esac
13343 rm -f core conftest.err conftest.$ac_objext \
13344 conftest$ac_exeext conftest.$ac_ext
13345 LIBS=$ac_check_soname_save_LIBS
13347 if ${ac_cv_lib_soname_png:+false} :; then :
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13349 $as_echo "not found" >&6; }
13350 PNG_CFLAGS=""
13351 else
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13353 $as_echo "$ac_cv_lib_soname_png" >&6; }
13355 cat >>confdefs.h <<_ACEOF
13356 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13357 _ACEOF
13359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13360 /* end confdefs.h. */
13361 #include <png.h>
13363 main ()
13365 typeof(png_set_expand_gray_1_2_4_to_8) *p
13367 return 0;
13369 _ACEOF
13370 if ac_fn_c_try_compile "$LINENO"; then :
13372 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13377 else
13378 PNG_CFLAGS=""
13380 CPPFLAGS=$ac_save_CPPFLAGS
13381 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13382 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13385 if test "x$ac_cv_lib_soname_png" = "x"; then :
13386 case "x$with_png" in
13387 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13388 xno) ;;
13389 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13390 This is an error since --with-png was requested." "$LINENO" 5 ;;
13391 esac
13394 if test "x$with_tiff" != "xno"
13395 then
13396 if ${TIFF_CFLAGS:+false} :; then :
13397 if ${PKG_CONFIG+:} false; then :
13398 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13402 if ${TIFF_LIBS:+false} :; then :
13403 if ${PKG_CONFIG+:} false; then :
13404 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13409 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13410 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13411 ac_save_CPPFLAGS=$CPPFLAGS
13412 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13413 for ac_header in tiffio.h
13414 do :
13415 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13416 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13417 cat >>confdefs.h <<_ACEOF
13418 #define HAVE_TIFFIO_H 1
13419 _ACEOF
13423 done
13425 if test "$ac_cv_header_tiffio_h" = "yes"
13426 then
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13428 $as_echo_n "checking for -ltiff... " >&6; }
13429 if ${ac_cv_lib_soname_tiff+:} false; then :
13430 $as_echo_n "(cached) " >&6
13431 else
13432 ac_check_soname_save_LIBS=$LIBS
13433 LIBS="-ltiff $TIFF_LIBS $LIBS"
13434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13435 /* end confdefs.h. */
13437 /* Override any GCC internal prototype to avoid an error.
13438 Use char because int might match the return type of a GCC
13439 builtin and then its argument prototype would still apply. */
13440 #ifdef __cplusplus
13441 extern "C"
13442 #endif
13443 char TIFFClientOpen ();
13445 main ()
13447 return TIFFClientOpen ();
13449 return 0;
13451 _ACEOF
13452 if ac_fn_c_try_link "$LINENO"; then :
13453 case "$LIBEXT" in
13454 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13455 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'` ;;
13456 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13457 if ${ac_cv_lib_soname_tiff:+false} :; then :
13458 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13459 fi ;;
13460 esac
13462 rm -f core conftest.err conftest.$ac_objext \
13463 conftest$ac_exeext conftest.$ac_ext
13464 LIBS=$ac_check_soname_save_LIBS
13466 if ${ac_cv_lib_soname_tiff:+false} :; then :
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13468 $as_echo "not found" >&6; }
13470 else
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13472 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13474 cat >>confdefs.h <<_ACEOF
13475 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13476 _ACEOF
13481 CPPFLAGS=$ac_save_CPPFLAGS
13482 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13483 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13486 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13487 case "x$with_tiff" in
13488 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13489 xno) ;;
13490 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13491 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13492 esac
13495 if test "x$with_mpg123" != "xno"
13496 then
13497 if ${MPG123_CFLAGS:+false} :; then :
13498 if ${PKG_CONFIG+:} false; then :
13499 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13503 if ${MPG123_LIBS:+false} :; then :
13504 if ${PKG_CONFIG+:} false; then :
13505 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13509 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13510 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13511 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13512 ac_save_CPPFLAGS=$CPPFLAGS
13513 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13514 for ac_header in mpg123.h
13515 do :
13516 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13517 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13518 cat >>confdefs.h <<_ACEOF
13519 #define HAVE_MPG123_H 1
13520 _ACEOF
13524 done
13526 if test "$ac_cv_header_mpg123_h" = "yes"
13527 then
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13529 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13530 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13531 $as_echo_n "(cached) " >&6
13532 else
13533 ac_check_lib_save_LIBS=$LIBS
13534 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13536 /* end confdefs.h. */
13538 /* Override any GCC internal prototype to avoid an error.
13539 Use char because int might match the return type of a GCC
13540 builtin and then its argument prototype would still apply. */
13541 #ifdef __cplusplus
13542 extern "C"
13543 #endif
13544 char mpg123_feed ();
13546 main ()
13548 return mpg123_feed ();
13550 return 0;
13552 _ACEOF
13553 if ac_fn_c_try_link "$LINENO"; then :
13554 ac_cv_lib_mpg123_mpg123_feed=yes
13555 else
13556 ac_cv_lib_mpg123_mpg123_feed=no
13558 rm -f core conftest.err conftest.$ac_objext \
13559 conftest$ac_exeext conftest.$ac_ext
13560 LIBS=$ac_check_lib_save_LIBS
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13563 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13564 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13566 else
13567 MPG123_LIBS=""
13570 else
13571 MPG123_CFLAGS=""
13572 MPG123_LIBS=""
13574 CPPFLAGS=$ac_save_CPPFLAGS
13575 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13576 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13579 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13580 case "x$with_mpg123" in
13581 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13582 xno) ;;
13583 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13584 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13585 esac
13587 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}
13589 if test "$ac_cv_header_AL_al_h" = "yes"
13590 then
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13592 $as_echo_n "checking for -lopenal... " >&6; }
13593 if ${ac_cv_lib_soname_openal+:} false; then :
13594 $as_echo_n "(cached) " >&6
13595 else
13596 ac_check_soname_save_LIBS=$LIBS
13597 LIBS="-lopenal $LIBS"
13598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13599 /* end confdefs.h. */
13601 /* Override any GCC internal prototype to avoid an error.
13602 Use char because int might match the return type of a GCC
13603 builtin and then its argument prototype would still apply. */
13604 #ifdef __cplusplus
13605 extern "C"
13606 #endif
13607 char alGetSource3i ();
13609 main ()
13611 return alGetSource3i ();
13613 return 0;
13615 _ACEOF
13616 if ac_fn_c_try_link "$LINENO"; then :
13617 case "$LIBEXT" in
13618 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13619 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'` ;;
13620 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13621 if ${ac_cv_lib_soname_openal:+false} :; then :
13622 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13623 fi ;;
13624 esac
13626 rm -f core conftest.err conftest.$ac_objext \
13627 conftest$ac_exeext conftest.$ac_ext
13628 LIBS=$ac_check_soname_save_LIBS
13630 if ${ac_cv_lib_soname_openal:+false} :; then :
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13632 $as_echo "not found" >&6; }
13634 else
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13636 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13638 cat >>confdefs.h <<_ACEOF
13639 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13640 _ACEOF
13642 OPENAL_LIBS="-lopenal"
13644 ac_cv_lib_openal=yes
13646 cat >>confdefs.h <<_ACEOF
13647 #define HAVE_OPENAL 1
13648 _ACEOF
13652 if test "x$ac_cv_lib_openal" != xyes; then :
13653 case "x$with_openal" in
13654 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13655 xno) ;;
13656 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13657 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13658 esac
13660 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13662 if test "x$ac_cv_lib_openal" = xyes
13663 then
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13665 $as_echo_n "checking for openal-soft... " >&6; }
13666 if ${ac_cv_have_openalsoft+:} false; then :
13667 $as_echo_n "(cached) " >&6
13668 else
13669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13670 /* end confdefs.h. */
13671 #include <AL/al.h>
13672 #include <AL/alc.h>
13673 #include <AL/alext.h>
13674 LPALCRENDERSAMPLESSOFT x;
13676 main ()
13680 return 0;
13682 _ACEOF
13683 if ac_fn_c_try_compile "$LINENO"; then :
13684 ac_cv_have_openalsoft=yes
13685 else
13686 ac_cv_have_openalsoft=no
13688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13691 $as_echo "$ac_cv_have_openalsoft" >&6; }
13693 if test "x$ac_cv_have_openalsoft" != xyes
13694 then
13695 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13696 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13697 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13698 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13699 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13700 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13701 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13702 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13703 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13704 enable_xapofx1_1=${enable_xapofx1_1:-no}
13705 enable_xapofx1_2=${enable_xapofx1_2:-no}
13706 enable_xapofx1_3=${enable_xapofx1_3:-no}
13707 enable_xapofx1_4=${enable_xapofx1_4:-no}
13708 enable_xapofx1_5=${enable_xapofx1_5:-no}
13709 enable_xaudio2_0=${enable_xaudio2_0:-no}
13710 enable_xaudio2_1=${enable_xaudio2_1:-no}
13711 enable_xaudio2_2=${enable_xaudio2_2:-no}
13712 enable_xaudio2_3=${enable_xaudio2_3:-no}
13713 enable_xaudio2_4=${enable_xaudio2_4:-no}
13714 enable_xaudio2_5=${enable_xaudio2_5:-no}
13715 enable_xaudio2_6=${enable_xaudio2_6:-no}
13716 enable_xaudio2_7=${enable_xaudio2_7:-no}
13717 enable_xaudio2_8=${enable_xaudio2_8:-no}
13718 enable_xaudio2_9=${enable_xaudio2_9:-no}
13721 if test "$ac_cv_header_kstat_h" = "yes"
13722 then
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13724 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13725 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13726 $as_echo_n "(cached) " >&6
13727 else
13728 ac_check_lib_save_LIBS=$LIBS
13729 LIBS="-lkstat $LIBS"
13730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13731 /* end confdefs.h. */
13733 /* Override any GCC internal prototype to avoid an error.
13734 Use char because int might match the return type of a GCC
13735 builtin and then its argument prototype would still apply. */
13736 #ifdef __cplusplus
13737 extern "C"
13738 #endif
13739 char kstat_open ();
13741 main ()
13743 return kstat_open ();
13745 return 0;
13747 _ACEOF
13748 if ac_fn_c_try_link "$LINENO"; then :
13749 ac_cv_lib_kstat_kstat_open=yes
13750 else
13751 ac_cv_lib_kstat_kstat_open=no
13753 rm -f core conftest.err conftest.$ac_objext \
13754 conftest$ac_exeext conftest.$ac_ext
13755 LIBS=$ac_check_lib_save_LIBS
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13758 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13759 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13761 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13763 KSTAT_LIBS="-lkstat"
13769 if test "$ac_cv_header_libprocstat_h" = "yes"
13770 then
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13772 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13773 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13774 $as_echo_n "(cached) " >&6
13775 else
13776 ac_check_lib_save_LIBS=$LIBS
13777 LIBS="-lprocstat $LIBS"
13778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13779 /* end confdefs.h. */
13781 /* Override any GCC internal prototype to avoid an error.
13782 Use char because int might match the return type of a GCC
13783 builtin and then its argument prototype would still apply. */
13784 #ifdef __cplusplus
13785 extern "C"
13786 #endif
13787 char procstat_open_sysctl ();
13789 main ()
13791 return procstat_open_sysctl ();
13793 return 0;
13795 _ACEOF
13796 if ac_fn_c_try_link "$LINENO"; then :
13797 ac_cv_lib_procstat_procstat_open_sysctl=yes
13798 else
13799 ac_cv_lib_procstat_procstat_open_sysctl=no
13801 rm -f core conftest.err conftest.$ac_objext \
13802 conftest$ac_exeext conftest.$ac_ext
13803 LIBS=$ac_check_lib_save_LIBS
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13806 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13807 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13809 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13811 PROCSTAT_LIBS="-lprocstat"
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13818 $as_echo_n "checking for -lodbc... " >&6; }
13819 if ${ac_cv_lib_soname_odbc+:} false; then :
13820 $as_echo_n "(cached) " >&6
13821 else
13822 ac_check_soname_save_LIBS=$LIBS
13823 LIBS="-lodbc $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 SQLConnect ();
13835 main ()
13837 return SQLConnect ();
13839 return 0;
13841 _ACEOF
13842 if ac_fn_c_try_link "$LINENO"; then :
13843 case "$LIBEXT" in
13844 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13845 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'` ;;
13846 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13847 if ${ac_cv_lib_soname_odbc:+false} :; then :
13848 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13849 fi ;;
13850 esac
13852 rm -f core conftest.err conftest.$ac_objext \
13853 conftest$ac_exeext conftest.$ac_ext
13854 LIBS=$ac_check_soname_save_LIBS
13856 if ${ac_cv_lib_soname_odbc:+false} :; then :
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13858 $as_echo "not found" >&6; }
13859 cat >>confdefs.h <<_ACEOF
13860 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13861 _ACEOF
13863 else
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13865 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13867 cat >>confdefs.h <<_ACEOF
13868 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13869 _ACEOF
13874 if test "x$with_netapi" != "xno"
13875 then
13876 if ${NETAPI_CFLAGS:+false} :; then :
13877 if ${PKG_CONFIG+:} false; then :
13878 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13882 if ${NETAPI_LIBS:+false} :; then :
13883 if ${PKG_CONFIG+:} false; then :
13884 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13889 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13890 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13891 ac_save_CPPFLAGS=$CPPFLAGS
13892 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13894 $as_echo_n "checking for -lnetapi... " >&6; }
13895 if ${ac_cv_lib_soname_netapi+:} false; then :
13896 $as_echo_n "(cached) " >&6
13897 else
13898 ac_check_soname_save_LIBS=$LIBS
13899 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
13900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13901 /* end confdefs.h. */
13903 /* Override any GCC internal prototype to avoid an error.
13904 Use char because int might match the return type of a GCC
13905 builtin and then its argument prototype would still apply. */
13906 #ifdef __cplusplus
13907 extern "C"
13908 #endif
13909 char libnetapi_init ();
13911 main ()
13913 return libnetapi_init ();
13915 return 0;
13917 _ACEOF
13918 if ac_fn_c_try_link "$LINENO"; then :
13919 case "$LIBEXT" in
13920 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13921 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'` ;;
13922 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13923 if ${ac_cv_lib_soname_netapi:+false} :; then :
13924 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13925 fi ;;
13926 esac
13928 rm -f core conftest.err conftest.$ac_objext \
13929 conftest$ac_exeext conftest.$ac_ext
13930 LIBS=$ac_check_soname_save_LIBS
13932 if ${ac_cv_lib_soname_netapi:+false} :; then :
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13934 $as_echo "not found" >&6; }
13935 cat >>confdefs.h <<_ACEOF
13936 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13937 _ACEOF
13939 else
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13941 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13943 cat >>confdefs.h <<_ACEOF
13944 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13945 _ACEOF
13949 CPPFLAGS=$ac_save_CPPFLAGS
13950 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13951 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13955 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
13956 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
13957 then
13958 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13962 EXTRACFLAGS=""
13964 if test "x${GCC}" = "xyes"
13965 then
13966 EXTRACFLAGS="-Wall -pipe"
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13969 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13970 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13971 $as_echo_n "(cached) " >&6
13972 else
13973 if test "$cross_compiling" = yes; then :
13974 ac_cv_c_gcc_strength_bug="no"
13975 else
13976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13977 /* end confdefs.h. */
13978 int L[4] = {0,1,2,3};
13980 main ()
13982 static int Array[3];
13983 unsigned int B = 3;
13984 int i;
13985 for(i=0; i<B; i++) Array[i] = i - 3;
13986 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13987 L[i] = 4;
13988 return (Array[1] != -2 || L[2] != 3)
13990 return 0;
13992 _ACEOF
13993 if ac_fn_c_try_run "$LINENO"; then :
13994 ac_cv_c_gcc_strength_bug="no"
13995 else
13996 ac_cv_c_gcc_strength_bug="yes"
13998 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13999 conftest.$ac_objext conftest.beam conftest.$ac_ext
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14004 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14005 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14006 then
14007 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14011 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14012 if ${ac_cv_cflags__fno_builtin+:} false; then :
14013 $as_echo_n "(cached) " >&6
14014 else
14015 ac_wine_try_cflags_saved=$CFLAGS
14016 CFLAGS="$CFLAGS -fno-builtin"
14017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14018 /* end confdefs.h. */
14019 int main(int argc, char **argv) { return 0; }
14020 _ACEOF
14021 if ac_fn_c_try_link "$LINENO"; then :
14022 ac_cv_cflags__fno_builtin=yes
14023 else
14024 ac_cv_cflags__fno_builtin=no
14026 rm -f core conftest.err conftest.$ac_objext \
14027 conftest$ac_exeext conftest.$ac_ext
14028 CFLAGS=$ac_wine_try_cflags_saved
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14031 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14032 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14033 BUILTINFLAG="-fno-builtin"
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14037 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14038 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14039 $as_echo_n "(cached) " >&6
14040 else
14041 ac_wine_try_cflags_saved=$CFLAGS
14042 CFLAGS="$CFLAGS -fno-strict-aliasing"
14043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14044 /* end confdefs.h. */
14045 int main(int argc, char **argv) { return 0; }
14046 _ACEOF
14047 if ac_fn_c_try_link "$LINENO"; then :
14048 ac_cv_cflags__fno_strict_aliasing=yes
14049 else
14050 ac_cv_cflags__fno_strict_aliasing=no
14052 rm -f core conftest.err conftest.$ac_objext \
14053 conftest$ac_exeext conftest.$ac_ext
14054 CFLAGS=$ac_wine_try_cflags_saved
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14057 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14058 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14059 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14062 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14063 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14064 $as_echo_n "(cached) " >&6
14065 else
14066 ac_wine_try_cflags_saved=$CFLAGS
14067 CFLAGS="$CFLAGS -fexcess-precision=standard"
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__fexcess_precision_standard=yes
14074 else
14075 ac_cv_cflags__fexcess_precision_standard=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__fexcess_precision_standard" >&5
14082 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14083 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14084 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14087 saved_CFLAGS=$CFLAGS
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14089 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14090 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14091 $as_echo_n "(cached) " >&6
14092 else
14093 ac_wine_try_cflags_saved=$CFLAGS
14094 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14096 /* end confdefs.h. */
14097 int main(int argc, char **argv) { return 0; }
14098 _ACEOF
14099 if ac_fn_c_try_link "$LINENO"; then :
14100 ac_cv_cflags__Werror_unknown_warning_option=yes
14101 else
14102 ac_cv_cflags__Werror_unknown_warning_option=no
14104 rm -f core conftest.err conftest.$ac_objext \
14105 conftest$ac_exeext conftest.$ac_ext
14106 CFLAGS=$ac_wine_try_cflags_saved
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14109 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14110 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14111 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14114 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14115 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14116 $as_echo_n "(cached) " >&6
14117 else
14118 ac_wine_try_cflags_saved=$CFLAGS
14119 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
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__Wdeclaration_after_statement=yes
14126 else
14127 ac_cv_cflags__Wdeclaration_after_statement=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__Wdeclaration_after_statement" >&5
14134 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14135 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14136 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14139 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14140 if ${ac_cv_cflags__Wempty_body+:} false; then :
14141 $as_echo_n "(cached) " >&6
14142 else
14143 ac_wine_try_cflags_saved=$CFLAGS
14144 CFLAGS="$CFLAGS -Wempty-body"
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__Wempty_body=yes
14151 else
14152 ac_cv_cflags__Wempty_body=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__Wempty_body" >&5
14159 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14160 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14161 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14164 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14165 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14166 $as_echo_n "(cached) " >&6
14167 else
14168 ac_wine_try_cflags_saved=$CFLAGS
14169 CFLAGS="$CFLAGS -Wignored-qualifiers"
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__Wignored_qualifiers=yes
14176 else
14177 ac_cv_cflags__Wignored_qualifiers=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__Wignored_qualifiers" >&5
14184 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14185 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14186 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14189 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14190 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14191 $as_echo_n "(cached) " >&6
14192 else
14193 ac_wine_try_cflags_saved=$CFLAGS
14194 CFLAGS="$CFLAGS -Wshift-overflow=2"
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__Wshift_overflow_2=yes
14201 else
14202 ac_cv_cflags__Wshift_overflow_2=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__Wshift_overflow_2" >&5
14209 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14210 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14211 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14214 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14215 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14216 $as_echo_n "(cached) " >&6
14217 else
14218 ac_wine_try_cflags_saved=$CFLAGS
14219 CFLAGS="$CFLAGS -Wstrict-prototypes"
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__Wstrict_prototypes=yes
14226 else
14227 ac_cv_cflags__Wstrict_prototypes=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__Wstrict_prototypes" >&5
14234 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14235 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14236 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14239 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14240 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14241 $as_echo_n "(cached) " >&6
14242 else
14243 ac_wine_try_cflags_saved=$CFLAGS
14244 CFLAGS="$CFLAGS -Wtype-limits"
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__Wtype_limits=yes
14251 else
14252 ac_cv_cflags__Wtype_limits=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__Wtype_limits" >&5
14259 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14260 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14261 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14264 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14265 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14266 $as_echo_n "(cached) " >&6
14267 else
14268 ac_wine_try_cflags_saved=$CFLAGS
14269 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
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__Wunused_but_set_parameter=yes
14276 else
14277 ac_cv_cflags__Wunused_but_set_parameter=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__Wunused_but_set_parameter" >&5
14284 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14285 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14286 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14289 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14290 if ${ac_cv_cflags__Wvla+:} false; then :
14291 $as_echo_n "(cached) " >&6
14292 else
14293 ac_wine_try_cflags_saved=$CFLAGS
14294 CFLAGS="$CFLAGS -Wvla"
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__Wvla=yes
14301 else
14302 ac_cv_cflags__Wvla=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__Wvla" >&5
14309 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14310 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14311 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14314 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14315 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14316 $as_echo_n "(cached) " >&6
14317 else
14318 ac_wine_try_cflags_saved=$CFLAGS
14319 CFLAGS="$CFLAGS -Wwrite-strings"
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__Wwrite_strings=yes
14326 else
14327 ac_cv_cflags__Wwrite_strings=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__Wwrite_strings" >&5
14334 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14335 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14336 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14340 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14341 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14342 $as_echo_n "(cached) " >&6
14343 else
14344 ac_wine_try_cflags_saved=$CFLAGS
14345 CFLAGS="$CFLAGS -Wpointer-arith"
14346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14347 /* end confdefs.h. */
14348 int main(int argc, char **argv) { return 0; }
14349 _ACEOF
14350 if ac_fn_c_try_link "$LINENO"; then :
14351 ac_cv_cflags__Wpointer_arith=yes
14352 else
14353 ac_cv_cflags__Wpointer_arith=no
14355 rm -f core conftest.err conftest.$ac_objext \
14356 conftest$ac_exeext conftest.$ac_ext
14357 CFLAGS=$ac_wine_try_cflags_saved
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14360 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14361 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14362 saved_string_h_CFLAGS=$CFLAGS
14363 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14365 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14366 if ${ac_cv_c_string_h_warnings+:} false; then :
14367 $as_echo_n "(cached) " >&6
14368 else
14369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14370 /* end confdefs.h. */
14371 #include <string.h>
14373 main ()
14377 return 0;
14379 _ACEOF
14380 if ac_fn_c_try_compile "$LINENO"; then :
14381 ac_cv_c_string_h_warnings=no
14382 else
14383 ac_cv_c_string_h_warnings=yes
14385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14388 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14389 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14390 CFLAGS=$saved_string_h_CFLAGS
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14394 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14395 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14396 $as_echo_n "(cached) " >&6
14397 else
14398 ac_wine_try_cflags_saved=$CFLAGS
14399 CFLAGS="$CFLAGS -Wlogical-op"
14400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14401 /* end confdefs.h. */
14402 int main(int argc, char **argv) { return 0; }
14403 _ACEOF
14404 if ac_fn_c_try_link "$LINENO"; then :
14405 ac_cv_cflags__Wlogical_op=yes
14406 else
14407 ac_cv_cflags__Wlogical_op=no
14409 rm -f core conftest.err conftest.$ac_objext \
14410 conftest$ac_exeext conftest.$ac_ext
14411 CFLAGS=$ac_wine_try_cflags_saved
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14414 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14415 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14416 saved_string_h_CFLAGS=$CFLAGS
14417 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14419 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14420 if ${ac_cv_c_logicalop_noisy+:} false; then :
14421 $as_echo_n "(cached) " >&6
14422 else
14423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14424 /* end confdefs.h. */
14425 #include <string.h>
14426 char*f(const char *h,char n) {return strchr(h,n);}
14428 main ()
14432 return 0;
14434 _ACEOF
14435 if ac_fn_c_try_compile "$LINENO"; then :
14436 ac_cv_c_logicalop_noisy=no
14437 else
14438 ac_cv_c_logicalop_noisy=yes
14440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14443 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14444 CFLAGS=$saved_string_h_CFLAGS
14445 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14448 CFLAGS=$saved_CFLAGS
14450 for ac_flag in $CFLAGS; do
14451 case $ac_flag in
14452 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14453 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14454 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14455 $as_echo_n "(cached) " >&6
14456 else
14457 ac_wine_try_cflags_saved=$CFLAGS
14458 CFLAGS="$CFLAGS -gdwarf-2"
14459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14460 /* end confdefs.h. */
14461 int main(int argc, char **argv) { return 0; }
14462 _ACEOF
14463 if ac_fn_c_try_link "$LINENO"; then :
14464 ac_cv_cflags__gdwarf_2=yes
14465 else
14466 ac_cv_cflags__gdwarf_2=no
14468 rm -f core conftest.err conftest.$ac_objext \
14469 conftest$ac_exeext conftest.$ac_ext
14470 CFLAGS=$ac_wine_try_cflags_saved
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14473 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14474 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14475 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14478 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14479 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14480 $as_echo_n "(cached) " >&6
14481 else
14482 ac_wine_try_cflags_saved=$CFLAGS
14483 CFLAGS="$CFLAGS -gstrict-dwarf"
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__gstrict_dwarf=yes
14490 else
14491 ac_cv_cflags__gstrict_dwarf=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__gstrict_dwarf" >&5
14498 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14499 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14500 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14501 fi ;;
14502 esac
14503 done
14505 case $host_cpu in
14506 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14507 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14508 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14509 $as_echo_n "(cached) " >&6
14510 else
14511 ac_wine_try_cflags_saved=$CFLAGS
14512 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14514 /* end confdefs.h. */
14515 int main(int argc, char **argv) { return 0; }
14516 _ACEOF
14517 if ac_fn_c_try_link "$LINENO"; then :
14518 ac_cv_cflags__fno_omit_frame_pointer=yes
14519 else
14520 ac_cv_cflags__fno_omit_frame_pointer=no
14522 rm -f core conftest.err conftest.$ac_objext \
14523 conftest$ac_exeext conftest.$ac_ext
14524 CFLAGS=$ac_wine_try_cflags_saved
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14527 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14528 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14529 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14530 fi ;;
14531 esac
14533 case $host in
14534 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14535 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14536 if ${ac_cv_cflags__Wno_format+:} false; then :
14537 $as_echo_n "(cached) " >&6
14538 else
14539 ac_wine_try_cflags_saved=$CFLAGS
14540 CFLAGS="$CFLAGS -Wno-format"
14541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14542 /* end confdefs.h. */
14543 int main(int argc, char **argv) { return 0; }
14544 _ACEOF
14545 if ac_fn_c_try_link "$LINENO"; then :
14546 ac_cv_cflags__Wno_format=yes
14547 else
14548 ac_cv_cflags__Wno_format=no
14550 rm -f core conftest.err conftest.$ac_objext \
14551 conftest$ac_exeext conftest.$ac_ext
14552 CFLAGS=$ac_wine_try_cflags_saved
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14555 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14556 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14557 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14558 fi ;;
14559 esac
14561 if test "x$enable_maintainer_mode" = "xyes"
14562 then
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14564 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14565 if ${ac_cv_cflags__Werror+:} false; then :
14566 $as_echo_n "(cached) " >&6
14567 else
14568 ac_wine_try_cflags_saved=$CFLAGS
14569 CFLAGS="$CFLAGS -Werror"
14570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14571 /* end confdefs.h. */
14572 int main(int argc, char **argv) { return 0; }
14573 _ACEOF
14574 if ac_fn_c_try_link "$LINENO"; then :
14575 ac_cv_cflags__Werror=yes
14576 else
14577 ac_cv_cflags__Werror=no
14579 rm -f core conftest.err conftest.$ac_objext \
14580 conftest$ac_exeext conftest.$ac_ext
14581 CFLAGS=$ac_wine_try_cflags_saved
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14584 $as_echo "$ac_cv_cflags__Werror" >&6; }
14585 if test "x$ac_cv_cflags__Werror" = xyes; then :
14586 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14590 saved_CFLAGS="$CFLAGS"
14591 CFLAGS="$CFLAGS -Werror"
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14593 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14594 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14595 $as_echo_n "(cached) " >&6
14596 else
14597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14598 /* end confdefs.h. */
14599 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14601 main ()
14605 return 0;
14607 _ACEOF
14608 if ac_fn_c_try_compile "$LINENO"; then :
14609 ac_cv_have_ms_hook_prologue="yes"
14610 else
14611 ac_cv_have_ms_hook_prologue="no"
14613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14616 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14617 CFLAGS="$saved_CFLAGS"
14618 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14619 then
14621 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14623 else
14624 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14631 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14632 if ${ac_cv_c_fortify_enabled+:} false; then :
14633 $as_echo_n "(cached) " >&6
14634 else
14635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14636 /* end confdefs.h. */
14637 #include <string.h>
14639 main ()
14641 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14642 #error Fortify enabled
14643 #endif
14645 return 0;
14647 _ACEOF
14648 if ac_fn_c_try_compile "$LINENO"; then :
14649 ac_cv_c_fortify_enabled=no
14650 else
14651 ac_cv_c_fortify_enabled=yes
14653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14656 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14657 if test "$ac_cv_c_fortify_enabled" = yes
14658 then
14659 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14664 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14665 if ${ac_cv_c_extern_prefix+:} false; then :
14666 $as_echo_n "(cached) " >&6
14667 else
14668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14669 /* end confdefs.h. */
14670 extern int ac_test;
14672 main ()
14674 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14676 return 0;
14678 _ACEOF
14679 if ac_fn_c_try_link "$LINENO"; then :
14680 ac_cv_c_extern_prefix="yes"
14681 else
14682 ac_cv_c_extern_prefix="no"
14684 rm -f core conftest.err conftest.$ac_objext \
14685 conftest$ac_exeext conftest.$ac_ext
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14688 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14690 case $host_cpu in
14691 *i[3456789]86*)
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14693 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14694 if ${ac_cv_c_stdcall_suffix+:} false; then :
14695 $as_echo_n "(cached) " >&6
14696 else
14697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14698 /* end confdefs.h. */
14699 #ifndef _MSC_VER
14700 #define __stdcall __attribute__((__stdcall__))
14701 #endif
14702 int __stdcall ac_test(int i) { return i; }
14704 main ()
14706 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14708 return 0;
14710 _ACEOF
14711 if ac_fn_c_try_link "$LINENO"; then :
14712 ac_cv_c_stdcall_suffix="yes"
14713 else
14714 ac_cv_c_stdcall_suffix="no"
14716 rm -f core conftest.err conftest.$ac_objext \
14717 conftest$ac_exeext conftest.$ac_ext
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14720 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14721 *) ac_cv_c_stdcall_suffix="no" ;;
14722 esac
14725 if test "$ac_cv_c_extern_prefix" = "yes"
14726 then
14727 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14729 asm_name_prefix="_"
14730 else
14731 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14733 asm_name_prefix=""
14737 if test "$ac_cv_c_stdcall_suffix" = "yes"
14738 then
14739 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14741 else
14742 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14748 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14749 if ${ac_cv_asm_func_def+:} false; then :
14750 $as_echo_n "(cached) " >&6
14751 else
14752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14753 /* end confdefs.h. */
14756 main ()
14758 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14760 return 0;
14762 _ACEOF
14763 if ac_fn_c_try_link "$LINENO"; then :
14764 ac_cv_asm_func_def=".def"
14765 else
14766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14767 /* end confdefs.h. */
14770 main ()
14772 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14774 return 0;
14776 _ACEOF
14777 if ac_fn_c_try_link "$LINENO"; then :
14778 ac_cv_asm_func_def=".type @function"
14779 else
14780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14781 /* end confdefs.h. */
14784 main ()
14786 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14788 return 0;
14790 _ACEOF
14791 if ac_fn_c_try_link "$LINENO"; then :
14792 ac_cv_asm_func_def=".type 2"
14793 else
14794 ac_cv_asm_func_def="unknown"
14796 rm -f core conftest.err conftest.$ac_objext \
14797 conftest$ac_exeext conftest.$ac_ext
14799 rm -f core conftest.err conftest.$ac_objext \
14800 conftest$ac_exeext conftest.$ac_ext
14802 rm -f core conftest.err conftest.$ac_objext \
14803 conftest$ac_exeext conftest.$ac_ext
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14806 $as_echo "$ac_cv_asm_func_def" >&6; }
14809 case "$ac_cv_asm_func_def" in
14810 ".def")
14811 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14813 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14814 ".type @function")
14815 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14817 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14818 ".type 2")
14819 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14821 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14823 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14825 asm_func_header="" ;;
14826 esac
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14829 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14830 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14831 $as_echo_n "(cached) " >&6
14832 else
14833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14834 /* end confdefs.h. */
14835 asm(".text\n\t.long 0");
14837 main ()
14841 return 0;
14843 _ACEOF
14844 if ac_fn_c_try_compile "$LINENO"; then :
14845 ac_cv_c_asm_outside_funcs="yes"
14846 else
14847 ac_cv_c_asm_outside_funcs="no"
14849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14852 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14855 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14856 if ${ac_cv_c_dot_previous+:} false; then :
14857 $as_echo_n "(cached) " >&6
14858 else
14859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14860 /* end confdefs.h. */
14863 main ()
14865 asm(".text\nac_test:\t.long 0\n\t.previous");
14867 return 0;
14869 _ACEOF
14870 if ac_fn_c_try_link "$LINENO"; then :
14871 ac_cv_c_dot_previous="yes"
14872 else
14873 ac_cv_c_dot_previous="no"
14875 rm -f core conftest.err conftest.$ac_objext \
14876 conftest$ac_exeext conftest.$ac_ext
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14879 $as_echo "$ac_cv_c_dot_previous" >&6; }
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14882 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14883 if ${ac_cv_c_cfi_support+:} false; then :
14884 $as_echo_n "(cached) " >&6
14885 else
14886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14887 /* end confdefs.h. */
14888 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14890 main ()
14894 return 0;
14896 _ACEOF
14897 if ac_fn_c_try_compile "$LINENO"; then :
14898 ac_cv_c_cfi_support="yes"
14899 else
14900 ac_cv_c_cfi_support="no"
14902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14905 $as_echo "$ac_cv_c_cfi_support" >&6; }
14907 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14908 asm_func_trailer=""
14909 if test "$ac_cv_c_dot_previous" = "yes"
14910 then
14911 asm_func_trailer="\\n\\t.previous"
14913 if test "$ac_cv_c_cfi_support" = "yes"
14914 then
14915 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14916 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14918 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14920 UNWINDFLAGS=-fasynchronous-unwind-tables
14922 else
14923 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14925 if test "x$enable_win64" = "xyes"
14926 then
14927 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14931 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14934 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14935 then
14936 cat >>confdefs.h <<_ACEOF
14937 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14938 _ACEOF
14940 else
14941 cat >>confdefs.h <<_ACEOF
14942 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14943 _ACEOF
14947 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14950 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14954 case $build_os in
14955 cygwin*|mingw32*) TOOLSEXT=".exe"
14957 esac
14959 case $host_os in
14960 linux-android*) ;;
14961 linux*)
14962 case $host_cpu in
14963 *i[3456789]86*|x86_64*)
14964 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14965 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
14967 esac
14969 esac
14972 ac_save_CFLAGS="$CFLAGS"
14973 CFLAGS="$CFLAGS $BUILTINFLAG"
14974 for ac_func in \
14975 __res_get_state \
14976 __res_getservers \
14977 _finite \
14978 _isnan \
14979 _pclose \
14980 _popen \
14981 _snprintf \
14982 _spawnvp \
14983 _strdup \
14984 _stricmp \
14985 _strnicmp \
14986 _strtoi64 \
14987 _strtoui64 \
14988 _vsnprintf \
14989 asctime_r \
14990 chsize \
14991 dlopen \
14992 epoll_create \
14993 ffs \
14994 finitef \
14995 fnmatch \
14996 fork \
14997 fpclass \
14998 fstatfs \
14999 fstatvfs \
15000 ftruncate \
15001 futimens \
15002 futimes \
15003 futimesat \
15004 getattrlist \
15005 getdirentries \
15006 getopt_long_only \
15007 getpwuid \
15008 gettimeofday \
15009 getuid \
15010 if_nameindex \
15011 isnanf \
15012 kqueue \
15013 lstat \
15014 memmove \
15015 mmap \
15016 pclose \
15017 pipe2 \
15018 poll \
15019 popen \
15020 port_create \
15021 prctl \
15022 pread \
15023 proc_pidinfo \
15024 pwrite \
15025 readdir \
15026 readlink \
15027 sched_yield \
15028 select \
15029 setproctitle \
15030 setprogname \
15031 setrlimit \
15032 settimeofday \
15033 sigaltstack \
15034 sigprocmask \
15035 snprintf \
15036 statfs \
15037 statvfs \
15038 strcasecmp \
15039 strdup \
15040 strerror \
15041 strncasecmp \
15042 strtold \
15043 strtoll \
15044 strtoull \
15045 symlink \
15046 tcdrain \
15047 thr_kill2 \
15048 timegm \
15049 usleep \
15050 vsnprintf
15052 do :
15053 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15054 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15055 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15056 cat >>confdefs.h <<_ACEOF
15057 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15058 _ACEOF
15061 done
15063 CFLAGS="$ac_save_CFLAGS"
15065 if test "$ac_cv_func_dlopen" = no
15066 then
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15068 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15069 if ${ac_cv_lib_dl_dlopen+:} false; then :
15070 $as_echo_n "(cached) " >&6
15071 else
15072 ac_check_lib_save_LIBS=$LIBS
15073 LIBS="-ldl $LIBS"
15074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15075 /* end confdefs.h. */
15077 /* Override any GCC internal prototype to avoid an error.
15078 Use char because int might match the return type of a GCC
15079 builtin and then its argument prototype would still apply. */
15080 #ifdef __cplusplus
15081 extern "C"
15082 #endif
15083 char dlopen ();
15085 main ()
15087 return dlopen ();
15089 return 0;
15091 _ACEOF
15092 if ac_fn_c_try_link "$LINENO"; then :
15093 ac_cv_lib_dl_dlopen=yes
15094 else
15095 ac_cv_lib_dl_dlopen=no
15097 rm -f core conftest.err conftest.$ac_objext \
15098 conftest$ac_exeext conftest.$ac_ext
15099 LIBS=$ac_check_lib_save_LIBS
15101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15102 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15103 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15104 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15105 DL_LIBS="-ldl"
15110 ac_wine_check_funcs_save_LIBS="$LIBS"
15111 LIBS="$LIBS $DL_LIBS"
15112 for ac_func in dladdr
15113 do :
15114 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15115 if test "x$ac_cv_func_dladdr" = xyes; then :
15116 cat >>confdefs.h <<_ACEOF
15117 #define HAVE_DLADDR 1
15118 _ACEOF
15121 done
15123 LIBS="$ac_wine_check_funcs_save_LIBS"
15125 if test "$ac_cv_func_poll" = no
15126 then
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15128 $as_echo_n "checking for poll in -lpoll... " >&6; }
15129 if ${ac_cv_lib_poll_poll+:} false; then :
15130 $as_echo_n "(cached) " >&6
15131 else
15132 ac_check_lib_save_LIBS=$LIBS
15133 LIBS="-lpoll $LIBS"
15134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15135 /* end confdefs.h. */
15137 /* Override any GCC internal prototype to avoid an error.
15138 Use char because int might match the return type of a GCC
15139 builtin and then its argument prototype would still apply. */
15140 #ifdef __cplusplus
15141 extern "C"
15142 #endif
15143 char poll ();
15145 main ()
15147 return poll ();
15149 return 0;
15151 _ACEOF
15152 if ac_fn_c_try_link "$LINENO"; then :
15153 ac_cv_lib_poll_poll=yes
15154 else
15155 ac_cv_lib_poll_poll=no
15157 rm -f core conftest.err conftest.$ac_objext \
15158 conftest$ac_exeext conftest.$ac_ext
15159 LIBS=$ac_check_lib_save_LIBS
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15162 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15163 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15164 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15165 POLL_LIBS="-lpoll"
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15172 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15173 if ${ac_cv_search_gethostbyname+:} false; then :
15174 $as_echo_n "(cached) " >&6
15175 else
15176 ac_func_search_save_LIBS=$LIBS
15177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15178 /* end confdefs.h. */
15180 /* Override any GCC internal prototype to avoid an error.
15181 Use char because int might match the return type of a GCC
15182 builtin and then its argument prototype would still apply. */
15183 #ifdef __cplusplus
15184 extern "C"
15185 #endif
15186 char gethostbyname ();
15188 main ()
15190 return gethostbyname ();
15192 return 0;
15194 _ACEOF
15195 for ac_lib in '' nsl; do
15196 if test -z "$ac_lib"; then
15197 ac_res="none required"
15198 else
15199 ac_res=-l$ac_lib
15200 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15202 if ac_fn_c_try_link "$LINENO"; then :
15203 ac_cv_search_gethostbyname=$ac_res
15205 rm -f core conftest.err conftest.$ac_objext \
15206 conftest$ac_exeext
15207 if ${ac_cv_search_gethostbyname+:} false; then :
15208 break
15210 done
15211 if ${ac_cv_search_gethostbyname+:} false; then :
15213 else
15214 ac_cv_search_gethostbyname=no
15216 rm conftest.$ac_ext
15217 LIBS=$ac_func_search_save_LIBS
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15220 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15221 ac_res=$ac_cv_search_gethostbyname
15222 if test "$ac_res" != no; then :
15223 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15229 $as_echo_n "checking for library containing connect... " >&6; }
15230 if ${ac_cv_search_connect+:} false; then :
15231 $as_echo_n "(cached) " >&6
15232 else
15233 ac_func_search_save_LIBS=$LIBS
15234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15235 /* end confdefs.h. */
15237 /* Override any GCC internal prototype to avoid an error.
15238 Use char because int might match the return type of a GCC
15239 builtin and then its argument prototype would still apply. */
15240 #ifdef __cplusplus
15241 extern "C"
15242 #endif
15243 char connect ();
15245 main ()
15247 return connect ();
15249 return 0;
15251 _ACEOF
15252 for ac_lib in '' socket; do
15253 if test -z "$ac_lib"; then
15254 ac_res="none required"
15255 else
15256 ac_res=-l$ac_lib
15257 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15259 if ac_fn_c_try_link "$LINENO"; then :
15260 ac_cv_search_connect=$ac_res
15262 rm -f core conftest.err conftest.$ac_objext \
15263 conftest$ac_exeext
15264 if ${ac_cv_search_connect+:} false; then :
15265 break
15267 done
15268 if ${ac_cv_search_connect+:} false; then :
15270 else
15271 ac_cv_search_connect=no
15273 rm conftest.$ac_ext
15274 LIBS=$ac_func_search_save_LIBS
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15277 $as_echo "$ac_cv_search_connect" >&6; }
15278 ac_res=$ac_cv_search_connect
15279 if test "$ac_res" != no; then :
15280 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15286 $as_echo_n "checking for library containing inet_aton... " >&6; }
15287 if ${ac_cv_search_inet_aton+:} false; then :
15288 $as_echo_n "(cached) " >&6
15289 else
15290 ac_func_search_save_LIBS=$LIBS
15291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15292 /* end confdefs.h. */
15294 /* Override any GCC internal prototype to avoid an error.
15295 Use char because int might match the return type of a GCC
15296 builtin and then its argument prototype would still apply. */
15297 #ifdef __cplusplus
15298 extern "C"
15299 #endif
15300 char inet_aton ();
15302 main ()
15304 return inet_aton ();
15306 return 0;
15308 _ACEOF
15309 for ac_lib in '' resolv; do
15310 if test -z "$ac_lib"; then
15311 ac_res="none required"
15312 else
15313 ac_res=-l$ac_lib
15314 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15316 if ac_fn_c_try_link "$LINENO"; then :
15317 ac_cv_search_inet_aton=$ac_res
15319 rm -f core conftest.err conftest.$ac_objext \
15320 conftest$ac_exeext
15321 if ${ac_cv_search_inet_aton+:} false; then :
15322 break
15324 done
15325 if ${ac_cv_search_inet_aton+:} false; then :
15327 else
15328 ac_cv_search_inet_aton=no
15330 rm conftest.$ac_ext
15331 LIBS=$ac_func_search_save_LIBS
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15334 $as_echo "$ac_cv_search_inet_aton" >&6; }
15335 ac_res=$ac_cv_search_inet_aton
15336 if test "$ac_res" != no; then :
15337 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15342 for ac_func in \
15343 getaddrinfo \
15344 getnameinfo \
15345 getnetbyname \
15346 getprotobyname \
15347 getprotobynumber \
15348 getservbyport \
15349 inet_addr \
15350 inet_network \
15351 inet_ntop \
15352 inet_pton \
15353 sendmsg \
15354 socketpair \
15356 do :
15357 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15358 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15359 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15360 cat >>confdefs.h <<_ACEOF
15361 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15362 _ACEOF
15365 done
15368 ac_save_LIBS=$LIBS
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15370 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15371 if ${ac_cv_search_clock_gettime+:} false; then :
15372 $as_echo_n "(cached) " >&6
15373 else
15374 ac_func_search_save_LIBS=$LIBS
15375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15376 /* end confdefs.h. */
15378 /* Override any GCC internal prototype to avoid an error.
15379 Use char because int might match the return type of a GCC
15380 builtin and then its argument prototype would still apply. */
15381 #ifdef __cplusplus
15382 extern "C"
15383 #endif
15384 char clock_gettime ();
15386 main ()
15388 return clock_gettime ();
15390 return 0;
15392 _ACEOF
15393 for ac_lib in '' rt; do
15394 if test -z "$ac_lib"; then
15395 ac_res="none required"
15396 else
15397 ac_res=-l$ac_lib
15398 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15400 if ac_fn_c_try_link "$LINENO"; then :
15401 ac_cv_search_clock_gettime=$ac_res
15403 rm -f core conftest.err conftest.$ac_objext \
15404 conftest$ac_exeext
15405 if ${ac_cv_search_clock_gettime+:} false; then :
15406 break
15408 done
15409 if ${ac_cv_search_clock_gettime+:} false; then :
15411 else
15412 ac_cv_search_clock_gettime=no
15414 rm conftest.$ac_ext
15415 LIBS=$ac_func_search_save_LIBS
15417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15418 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15419 ac_res=$ac_cv_search_clock_gettime
15420 if test "$ac_res" != no; then :
15421 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15423 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15425 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15429 LIBS=$ac_save_LIBS
15431 LDAP_LIBS=""
15433 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15434 then
15435 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15437 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15439 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15440 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15441 $as_echo_n "(cached) " >&6
15442 else
15443 ac_check_lib_save_LIBS=$LIBS
15444 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15446 /* end confdefs.h. */
15448 /* Override any GCC internal prototype to avoid an error.
15449 Use char because int might match the return type of a GCC
15450 builtin and then its argument prototype would still apply. */
15451 #ifdef __cplusplus
15452 extern "C"
15453 #endif
15454 char ldap_initialize ();
15456 main ()
15458 return ldap_initialize ();
15460 return 0;
15462 _ACEOF
15463 if ac_fn_c_try_link "$LINENO"; then :
15464 ac_cv_lib_ldap_r_ldap_initialize=yes
15465 else
15466 ac_cv_lib_ldap_r_ldap_initialize=no
15468 rm -f core conftest.err conftest.$ac_objext \
15469 conftest$ac_exeext conftest.$ac_ext
15470 LIBS=$ac_check_lib_save_LIBS
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15473 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15474 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15476 $as_echo_n "checking for ber_init in -llber... " >&6; }
15477 if ${ac_cv_lib_lber_ber_init+:} false; then :
15478 $as_echo_n "(cached) " >&6
15479 else
15480 ac_check_lib_save_LIBS=$LIBS
15481 LIBS="-llber $PTHREAD_LIBS $LIBS"
15482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15483 /* end confdefs.h. */
15485 /* Override any GCC internal prototype to avoid an error.
15486 Use char because int might match the return type of a GCC
15487 builtin and then its argument prototype would still apply. */
15488 #ifdef __cplusplus
15489 extern "C"
15490 #endif
15491 char ber_init ();
15493 main ()
15495 return ber_init ();
15497 return 0;
15499 _ACEOF
15500 if ac_fn_c_try_link "$LINENO"; then :
15501 ac_cv_lib_lber_ber_init=yes
15502 else
15503 ac_cv_lib_lber_ber_init=no
15505 rm -f core conftest.err conftest.$ac_objext \
15506 conftest$ac_exeext conftest.$ac_ext
15507 LIBS=$ac_check_lib_save_LIBS
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15510 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15511 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15513 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15515 LDAP_LIBS="-lldap_r -llber"
15522 ac_wine_check_funcs_save_LIBS="$LIBS"
15523 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15524 for ac_func in \
15525 ldap_count_references \
15526 ldap_first_reference \
15527 ldap_next_reference \
15528 ldap_parse_reference \
15529 ldap_parse_sort_control \
15530 ldap_parse_sortresponse_control \
15531 ldap_parse_vlv_control \
15532 ldap_parse_vlvresponse_control
15533 do :
15534 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15535 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15536 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15537 cat >>confdefs.h <<_ACEOF
15538 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15539 _ACEOF
15542 done
15544 LIBS="$ac_wine_check_funcs_save_LIBS"
15546 if test "x$LDAP_LIBS" = "x"; then :
15547 case "x$with_ldap" in
15548 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15549 xno) ;;
15550 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15551 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15552 esac
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15556 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15557 if ${wine_cv_one_arg_mkdir+:} false; then :
15558 $as_echo_n "(cached) " >&6
15559 else
15560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15561 /* end confdefs.h. */
15562 #include <sys/stat.h>
15564 main ()
15566 mkdir("foo");
15568 return 0;
15570 _ACEOF
15571 if ac_fn_c_try_compile "$LINENO"; then :
15572 wine_cv_one_arg_mkdir=yes
15573 else
15574 wine_cv_one_arg_mkdir=no
15576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15579 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15580 if test "$wine_cv_one_arg_mkdir" = "yes"
15581 then
15583 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15588 $as_echo_n "checking for sched_setaffinity... " >&6; }
15589 if ${wine_cv_have_sched_setaffinity+:} false; then :
15590 $as_echo_n "(cached) " >&6
15591 else
15592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15593 /* end confdefs.h. */
15594 #define _GNU_SOURCE
15595 #include <sched.h>
15597 main ()
15599 sched_setaffinity(0, 0, 0);
15601 return 0;
15603 _ACEOF
15604 if ac_fn_c_try_link "$LINENO"; then :
15605 wine_cv_have_sched_setaffinity=yes
15606 else
15607 wine_cv_have_sched_setaffinity=no
15609 rm -f core conftest.err conftest.$ac_objext \
15610 conftest$ac_exeext conftest.$ac_ext
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15613 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15614 if test "$wine_cv_have_sched_setaffinity" = "yes"
15615 then
15617 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15622 $as_echo_n "checking for fallocate... " >&6; }
15623 if ${wine_cv_have_fallocate+:} false; then :
15624 $as_echo_n "(cached) " >&6
15625 else
15626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15627 /* end confdefs.h. */
15628 #define _GNU_SOURCE
15629 #include <fcntl.h>
15631 main ()
15633 fallocate(-1, 0, 0, 0);
15635 return 0;
15637 _ACEOF
15638 if ac_fn_c_try_link "$LINENO"; then :
15639 wine_cv_have_fallocate=yes
15640 else
15641 wine_cv_have_fallocate=no
15643 rm -f core conftest.err conftest.$ac_objext \
15644 conftest$ac_exeext conftest.$ac_ext
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15647 $as_echo "$wine_cv_have_fallocate" >&6; }
15648 if test "$wine_cv_have_fallocate" = "yes"
15649 then
15651 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15657 $as_echo_n "checking for inline... " >&6; }
15658 if ${ac_cv_c_inline+:} false; then :
15659 $as_echo_n "(cached) " >&6
15660 else
15661 ac_cv_c_inline=no
15662 for ac_kw in inline __inline__ __inline; do
15663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15664 /* end confdefs.h. */
15665 #ifndef __cplusplus
15666 typedef int foo_t;
15667 static $ac_kw foo_t static_foo () {return 0; }
15668 $ac_kw foo_t foo () {return 0; }
15669 #endif
15671 _ACEOF
15672 if ac_fn_c_try_compile "$LINENO"; then :
15673 ac_cv_c_inline=$ac_kw
15675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15676 test "$ac_cv_c_inline" != no && break
15677 done
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15681 $as_echo "$ac_cv_c_inline" >&6; }
15683 case $ac_cv_c_inline in
15684 inline | yes) ;;
15686 case $ac_cv_c_inline in
15687 no) ac_val=;;
15688 *) ac_val=$ac_cv_c_inline;;
15689 esac
15690 cat >>confdefs.h <<_ACEOF
15691 #ifndef __cplusplus
15692 #define inline $ac_val
15693 #endif
15694 _ACEOF
15696 esac
15698 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15699 if test "x$ac_cv_type_mode_t" = xyes; then :
15701 cat >>confdefs.h <<_ACEOF
15702 #define HAVE_MODE_T 1
15703 _ACEOF
15707 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15708 if test "x$ac_cv_type_off_t" = xyes; then :
15710 cat >>confdefs.h <<_ACEOF
15711 #define HAVE_OFF_T 1
15712 _ACEOF
15716 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15717 if test "x$ac_cv_type_pid_t" = xyes; then :
15719 cat >>confdefs.h <<_ACEOF
15720 #define HAVE_PID_T 1
15721 _ACEOF
15725 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15726 if test "x$ac_cv_type_size_t" = xyes; then :
15728 cat >>confdefs.h <<_ACEOF
15729 #define HAVE_SIZE_T 1
15730 _ACEOF
15734 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15735 if test "x$ac_cv_type_ssize_t" = xyes; then :
15737 cat >>confdefs.h <<_ACEOF
15738 #define HAVE_SSIZE_T 1
15739 _ACEOF
15743 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15744 if test "x$ac_cv_type_long_long" = xyes; then :
15746 cat >>confdefs.h <<_ACEOF
15747 #define HAVE_LONG_LONG 1
15748 _ACEOF
15752 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15753 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15755 cat >>confdefs.h <<_ACEOF
15756 #define HAVE_FSBLKCNT_T 1
15757 _ACEOF
15761 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15762 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15764 cat >>confdefs.h <<_ACEOF
15765 #define HAVE_FSFILCNT_T 1
15766 _ACEOF
15771 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15772 #include <signal.h>
15774 if test "x$ac_cv_type_sigset_t" = xyes; then :
15776 cat >>confdefs.h <<_ACEOF
15777 #define HAVE_SIGSET_T 1
15778 _ACEOF
15783 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15785 if test "x$ac_cv_type_request_sense" = xyes; then :
15787 cat >>confdefs.h <<_ACEOF
15788 #define HAVE_REQUEST_SENSE 1
15789 _ACEOF
15795 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15796 #ifdef HAVE_SYS_SOCKET_H
15797 #include <sys/socket.h>
15798 #endif
15799 #ifdef HAVE_SYS_SOCKETVAR_H
15800 #include <sys/socketvar.h>
15801 #endif
15802 #ifdef HAVE_NET_ROUTE_H
15803 #include <net/route.h>
15804 #endif
15805 #ifdef HAVE_NETINET_IN_H
15806 #include <netinet/in.h>
15807 #endif
15808 #ifdef HAVE_NETINET_IN_SYSTM_H
15809 #include <netinet/in_systm.h>
15810 #endif
15811 #ifdef HAVE_NETINET_IP_H
15812 #include <netinet/ip.h>
15813 #endif
15814 #ifdef HAVE_NETINET_IN_PCB_H
15815 #include <netinet/in_pcb.h>
15816 #endif
15818 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15820 cat >>confdefs.h <<_ACEOF
15821 #define HAVE_STRUCT_XINPGEN 1
15822 _ACEOF
15828 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15829 #include <link.h>
15830 #endif
15831 #ifdef HAVE_SYS_LINK_H
15832 #include <sys/link.h>
15833 #endif
15835 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15837 cat >>confdefs.h <<_ACEOF
15838 #define HAVE_STRUCT_R_DEBUG 1
15839 _ACEOF
15843 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15844 #include <link.h>
15845 #endif
15846 #ifdef HAVE_SYS_LINK_H
15847 #include <sys/link.h>
15848 #endif
15850 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15852 cat >>confdefs.h <<_ACEOF
15853 #define HAVE_STRUCT_LINK_MAP 1
15854 _ACEOF
15860 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15861 #include <linux/input.h>
15862 #endif
15864 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15866 cat >>confdefs.h <<_ACEOF
15867 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15868 _ACEOF
15874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15875 $as_echo_n "checking for sigaddset... " >&6; }
15876 if ${wine_cv_have_sigaddset+:} false; then :
15877 $as_echo_n "(cached) " >&6
15878 else
15879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15880 /* end confdefs.h. */
15881 #include <signal.h>
15883 main ()
15885 sigset_t set; sigaddset(&set,SIGTERM);
15887 return 0;
15889 _ACEOF
15890 if ac_fn_c_try_link "$LINENO"; then :
15891 wine_cv_have_sigaddset=yes
15892 else
15893 wine_cv_have_sigaddset=no
15895 rm -f core conftest.err conftest.$ac_objext \
15896 conftest$ac_exeext conftest.$ac_ext
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15899 $as_echo "$wine_cv_have_sigaddset" >&6; }
15900 if test "$wine_cv_have_sigaddset" = "yes"
15901 then
15903 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15909 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15910 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15911 $as_echo_n "(cached) " >&6
15912 else
15913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15914 /* end confdefs.h. */
15915 #include <netdb.h>
15917 main ()
15920 char *name=0;
15921 struct hostent he;
15922 struct hostent *result;
15923 char *buf=0;
15924 int bufsize=0;
15925 int errnr;
15926 char *addr=0;
15927 int addrlen=0;
15928 int addrtype=0;
15929 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15930 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15933 return 0;
15935 _ACEOF
15936 if ac_fn_c_try_link "$LINENO"; then :
15937 wine_cv_linux_gethostbyname_r_6=yes
15938 else
15939 wine_cv_linux_gethostbyname_r_6=no
15942 rm -f core conftest.err conftest.$ac_objext \
15943 conftest$ac_exeext conftest.$ac_ext
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15947 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15948 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15949 then
15951 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15955 if test "$ac_cv_header_linux_joystick_h" = "yes"
15956 then
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15958 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15959 if ${wine_cv_linux_joystick_22_api+:} false; then :
15960 $as_echo_n "(cached) " >&6
15961 else
15962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15963 /* end confdefs.h. */
15965 #include <sys/ioctl.h>
15966 #include <sys/types.h>
15967 #include <linux/joystick.h>
15969 struct js_event blub;
15970 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15971 #error "no 2.2 header"
15972 #endif
15975 main ()
15977 /*empty*/
15979 return 0;
15981 _ACEOF
15982 if ac_fn_c_try_compile "$LINENO"; then :
15983 wine_cv_linux_joystick_22_api=yes
15984 else
15985 wine_cv_linux_joystick_22_api=no
15987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15991 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15992 if test "$wine_cv_linux_joystick_22_api" = "yes"
15993 then
15995 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16001 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16002 #ifdef HAVE_SYS_PARAM_H
16003 # include <sys/param.h>
16004 #endif
16005 #ifdef HAVE_SYS_MOUNT_H
16006 # include <sys/mount.h>
16007 #endif
16008 #ifdef HAVE_SYS_VFS_H
16009 # include <sys/vfs.h>
16010 #endif
16011 #ifdef HAVE_SYS_STATFS_H
16012 # include <sys/statfs.h>
16013 #endif
16015 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16017 cat >>confdefs.h <<_ACEOF
16018 #define HAVE_STRUCT_STATFS_F_BFREE 1
16019 _ACEOF
16023 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16024 #ifdef HAVE_SYS_PARAM_H
16025 # include <sys/param.h>
16026 #endif
16027 #ifdef HAVE_SYS_MOUNT_H
16028 # include <sys/mount.h>
16029 #endif
16030 #ifdef HAVE_SYS_VFS_H
16031 # include <sys/vfs.h>
16032 #endif
16033 #ifdef HAVE_SYS_STATFS_H
16034 # include <sys/statfs.h>
16035 #endif
16037 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16039 cat >>confdefs.h <<_ACEOF
16040 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16041 _ACEOF
16045 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16046 #ifdef HAVE_SYS_PARAM_H
16047 # include <sys/param.h>
16048 #endif
16049 #ifdef HAVE_SYS_MOUNT_H
16050 # include <sys/mount.h>
16051 #endif
16052 #ifdef HAVE_SYS_VFS_H
16053 # include <sys/vfs.h>
16054 #endif
16055 #ifdef HAVE_SYS_STATFS_H
16056 # include <sys/statfs.h>
16057 #endif
16059 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16061 cat >>confdefs.h <<_ACEOF
16062 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16063 _ACEOF
16067 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16068 #ifdef HAVE_SYS_PARAM_H
16069 # include <sys/param.h>
16070 #endif
16071 #ifdef HAVE_SYS_MOUNT_H
16072 # include <sys/mount.h>
16073 #endif
16074 #ifdef HAVE_SYS_VFS_H
16075 # include <sys/vfs.h>
16076 #endif
16077 #ifdef HAVE_SYS_STATFS_H
16078 # include <sys/statfs.h>
16079 #endif
16081 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16083 cat >>confdefs.h <<_ACEOF
16084 #define HAVE_STRUCT_STATFS_F_FFREE 1
16085 _ACEOF
16089 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16090 #ifdef HAVE_SYS_PARAM_H
16091 # include <sys/param.h>
16092 #endif
16093 #ifdef HAVE_SYS_MOUNT_H
16094 # include <sys/mount.h>
16095 #endif
16096 #ifdef HAVE_SYS_VFS_H
16097 # include <sys/vfs.h>
16098 #endif
16099 #ifdef HAVE_SYS_STATFS_H
16100 # include <sys/statfs.h>
16101 #endif
16103 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16105 cat >>confdefs.h <<_ACEOF
16106 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16107 _ACEOF
16111 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16112 #ifdef HAVE_SYS_PARAM_H
16113 # include <sys/param.h>
16114 #endif
16115 #ifdef HAVE_SYS_MOUNT_H
16116 # include <sys/mount.h>
16117 #endif
16118 #ifdef HAVE_SYS_VFS_H
16119 # include <sys/vfs.h>
16120 #endif
16121 #ifdef HAVE_SYS_STATFS_H
16122 # include <sys/statfs.h>
16123 #endif
16125 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16127 cat >>confdefs.h <<_ACEOF
16128 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16129 _ACEOF
16135 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16136 #include <sys/statvfs.h>
16137 #endif
16139 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16141 cat >>confdefs.h <<_ACEOF
16142 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16143 _ACEOF
16149 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16150 #include <dirent.h>
16151 #endif
16153 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16155 cat >>confdefs.h <<_ACEOF
16156 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16157 _ACEOF
16163 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16164 #ifdef HAVE_SYS_SOCKET_H
16165 # include <sys/socket.h>
16166 #endif
16167 #ifdef HAVE_SYS_UN_H
16168 # include <sys/un.h>
16169 #endif
16171 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16173 cat >>confdefs.h <<_ACEOF
16174 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16175 _ACEOF
16179 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16180 #ifdef HAVE_SYS_SOCKET_H
16181 # include <sys/socket.h>
16182 #endif
16183 #ifdef HAVE_SYS_UN_H
16184 # include <sys/un.h>
16185 #endif
16187 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16189 cat >>confdefs.h <<_ACEOF
16190 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16191 _ACEOF
16195 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16196 #ifdef HAVE_SYS_SOCKET_H
16197 # include <sys/socket.h>
16198 #endif
16199 #ifdef HAVE_SYS_UN_H
16200 # include <sys/un.h>
16201 #endif
16203 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16205 cat >>confdefs.h <<_ACEOF
16206 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16207 _ACEOF
16213 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16214 #ifdef HAVE_SCSI_SG_H
16215 #include <scsi/sg.h>
16216 #endif
16218 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16220 cat >>confdefs.h <<_ACEOF
16221 #define HAVE_SCSIREQ_T_CMD 1
16222 _ACEOF
16226 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>
16227 #ifdef HAVE_SCSI_SG_H
16228 #include <scsi/sg.h>
16229 #endif
16231 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16233 cat >>confdefs.h <<_ACEOF
16234 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16235 _ACEOF
16241 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16243 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16245 cat >>confdefs.h <<_ACEOF
16246 #define HAVE_SIGINFO_T_SI_FD 1
16247 _ACEOF
16253 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16254 #ifdef HAVE_SYS_MTIO_H
16255 #include <sys/mtio.h>
16256 #endif
16258 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16260 cat >>confdefs.h <<_ACEOF
16261 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16262 _ACEOF
16266 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16267 #ifdef HAVE_SYS_MTIO_H
16268 #include <sys/mtio.h>
16269 #endif
16271 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16273 cat >>confdefs.h <<_ACEOF
16274 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16275 _ACEOF
16279 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16280 #ifdef HAVE_SYS_MTIO_H
16281 #include <sys/mtio.h>
16282 #endif
16284 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16286 cat >>confdefs.h <<_ACEOF
16287 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16288 _ACEOF
16294 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16295 #include <getopt.h>
16296 #endif
16298 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16300 cat >>confdefs.h <<_ACEOF
16301 #define HAVE_STRUCT_OPTION_NAME 1
16302 _ACEOF
16308 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16309 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16311 cat >>confdefs.h <<_ACEOF
16312 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16313 _ACEOF
16317 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16318 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16320 cat >>confdefs.h <<_ACEOF
16321 #define HAVE_STRUCT_STAT_ST_MTIM 1
16322 _ACEOF
16326 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16327 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16329 cat >>confdefs.h <<_ACEOF
16330 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16331 _ACEOF
16335 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16336 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16338 cat >>confdefs.h <<_ACEOF
16339 #define HAVE_STRUCT_STAT_ST_CTIM 1
16340 _ACEOF
16344 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16345 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16347 cat >>confdefs.h <<_ACEOF
16348 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16349 _ACEOF
16353 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16354 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16356 cat >>confdefs.h <<_ACEOF
16357 #define HAVE_STRUCT_STAT_ST_ATIM 1
16358 _ACEOF
16362 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16363 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16365 cat >>confdefs.h <<_ACEOF
16366 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16367 _ACEOF
16371 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16372 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16374 cat >>confdefs.h <<_ACEOF
16375 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16376 _ACEOF
16380 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16381 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16383 cat >>confdefs.h <<_ACEOF
16384 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16385 _ACEOF
16389 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16390 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16392 cat >>confdefs.h <<_ACEOF
16393 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16394 _ACEOF
16398 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16399 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16401 cat >>confdefs.h <<_ACEOF
16402 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16403 _ACEOF
16407 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16408 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16410 cat >>confdefs.h <<_ACEOF
16411 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16412 _ACEOF
16418 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
16419 #include <sys/types.h>
16420 #endif
16421 #ifdef HAVE_NETINET_IN_H
16422 #include <netinet/in.h>
16423 #endif
16425 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16427 cat >>confdefs.h <<_ACEOF
16428 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16429 _ACEOF
16435 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16436 #include <resolv.h>
16437 #endif
16439 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16441 cat >>confdefs.h <<_ACEOF
16442 #define HAVE_STRUCT___RES_STATE 1
16443 _ACEOF
16449 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
16450 #include <resolv.h>
16451 #endif
16453 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16455 cat >>confdefs.h <<_ACEOF
16456 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16457 _ACEOF
16463 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16464 #include <sys/types.h>
16465 #endif
16466 #ifdef HAVE_NETINET_IN_H
16467 # include <netinet/in.h>
16468 #endif
16469 #ifdef HAVE_ARPA_NAMESER_H
16470 # include <arpa/nameser.h>
16471 #endif
16473 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16475 cat >>confdefs.h <<_ACEOF
16476 #define HAVE_NS_MSG__MSG_PTR 1
16477 _ACEOF
16483 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16484 #include <sys/types.h>
16485 #endif
16486 #ifdef HAVE_NETINET_IP_H
16487 #include <netinet/ip.h>
16488 #endif
16489 #ifdef HAVE_NETINET_IP_ICMP_H
16490 #include <netinet/ip_icmp.h>
16491 #endif
16492 #ifdef HAVE_NETINET_ICMP_VAR_H
16493 #include <netinet/icmp_var.h>
16494 #endif
16496 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16498 cat >>confdefs.h <<_ACEOF
16499 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16500 _ACEOF
16506 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16507 #include <sys/types.h>
16508 #endif
16509 #ifdef HAVE_ALIAS_H
16510 #include <alias.h>
16511 #endif
16512 #ifdef HAVE_SYS_SOCKET_H
16513 #include <sys/socket.h>
16514 #endif
16515 #ifdef HAVE_SYS_SOCKETVAR_H
16516 #include <sys/socketvar.h>
16517 #endif
16518 #ifdef HAVE_SYS_TIMEOUT_H
16519 #include <sys/timeout.h>
16520 #endif
16521 #ifdef HAVE_NETINET_IN_H
16522 #include <netinet/in.h>
16523 #endif
16524 #ifdef HAVE_NETINET_IN_SYSTM_H
16525 #include <netinet/in_systm.h>
16526 #endif
16527 #ifdef HAVE_NETINET_IP_H
16528 #include <netinet/ip.h>
16529 #endif
16530 #ifdef HAVE_NETINET_IP_VAR_H
16531 #include <netinet/ip_var.h>
16532 #endif
16533 #ifdef HAVE_NETINET_IP_ICMP_H
16534 #include <netinet/ip_icmp.h>
16535 #endif
16536 #ifdef HAVE_NETINET_ICMP_VAR_H
16537 #include <netinet/icmp_var.h>
16538 #endif
16540 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16542 cat >>confdefs.h <<_ACEOF
16543 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16544 _ACEOF
16550 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16551 #include <sys/types.h>
16552 #endif
16553 #ifdef HAVE_SYS_SOCKETVAR_H
16554 #include <sys/socketvar.h>
16555 #endif
16556 #ifdef HAVE_NETINET_IN_H
16557 #include <netinet/in.h>
16558 #endif
16559 #ifdef HAVE_NETINET_IP_VAR_H
16560 #include <netinet/ip_var.h>
16561 #endif
16563 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16565 cat >>confdefs.h <<_ACEOF
16566 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16567 _ACEOF
16573 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
16574 #include <netinet/ip_var.h>
16575 #endif
16577 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16579 cat >>confdefs.h <<_ACEOF
16580 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16581 _ACEOF
16587 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16588 #include <sys/types.h>
16589 #endif
16590 #ifdef HAVE_SYS_SOCKETVAR_H
16591 #include <sys/socketvar.h>
16592 #endif
16593 #ifdef HAVE_NETINET_IN_H
16594 #include <netinet/in.h>
16595 #endif
16596 #ifdef HAVE_NETINET_TCP_H
16597 #include <netinet/tcp.h>
16598 #endif
16599 #ifdef HAVE_NETINET_TCP_VAR_H
16600 #include <netinet/tcp_var.h>
16601 #endif
16603 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16605 cat >>confdefs.h <<_ACEOF
16606 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16607 _ACEOF
16613 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
16614 #include <netinet/tcp_var.h>
16615 #endif
16617 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16619 cat >>confdefs.h <<_ACEOF
16620 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16621 _ACEOF
16627 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16628 #include <sys/types.h>
16629 #endif
16630 #ifdef HAVE_NETINET_IN_H
16631 #include <netinet/in.h>
16632 #endif
16633 #ifdef HAVE_NETINET_IP_VAR_H
16634 #include <netinet/ip_var.h>
16635 #endif
16636 #ifdef HAVE_NETINET_UDP_H
16637 #include <netinet/udp.h>
16638 #endif
16639 #ifdef HAVE_NETINET_UDP_VAR_H
16640 #include <netinet/udp_var.h>
16641 #endif
16643 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16645 cat >>confdefs.h <<_ACEOF
16646 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16647 _ACEOF
16653 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16654 #include <sys/types.h>
16655 #endif
16656 #ifdef HAVE_NET_IF_H
16657 # include <net/if.h>
16658 #endif
16660 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16662 cat >>confdefs.h <<_ACEOF
16663 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16664 _ACEOF
16670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16671 $as_echo_n "checking for timezone variable... " >&6; }
16672 if ${ac_cv_have_timezone+:} false; then :
16673 $as_echo_n "(cached) " >&6
16674 else
16675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16676 /* end confdefs.h. */
16677 #include <time.h>
16679 main ()
16681 timezone = 1
16683 return 0;
16685 _ACEOF
16686 if ac_fn_c_try_link "$LINENO"; then :
16687 ac_cv_have_timezone="yes"
16688 else
16689 ac_cv_have_timezone="no"
16691 rm -f core conftest.err conftest.$ac_objext \
16692 conftest$ac_exeext conftest.$ac_ext
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16695 $as_echo "$ac_cv_have_timezone" >&6; }
16696 if test "$ac_cv_have_timezone" = "yes"
16697 then
16699 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16703 $as_echo_n "checking for daylight variable... " >&6; }
16704 if ${ac_cv_have_daylight+:} false; then :
16705 $as_echo_n "(cached) " >&6
16706 else
16707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16708 /* end confdefs.h. */
16709 #include <time.h>
16711 main ()
16713 daylight = 1
16715 return 0;
16717 _ACEOF
16718 if ac_fn_c_try_link "$LINENO"; then :
16719 ac_cv_have_daylight="yes"
16720 else
16721 ac_cv_have_daylight="no"
16723 rm -f core conftest.err conftest.$ac_objext \
16724 conftest$ac_exeext conftest.$ac_ext
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16727 $as_echo "$ac_cv_have_daylight" >&6; }
16728 if test "$ac_cv_have_daylight" = "yes"
16729 then
16731 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16735 ac_save_LIBS="$LIBS"
16736 LIBS="$LIBS -lm"
16737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16738 $as_echo_n "checking for isfinite... " >&6; }
16739 if ${ac_cv_have_isfinite+:} false; then :
16740 $as_echo_n "(cached) " >&6
16741 else
16742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16743 /* end confdefs.h. */
16744 #define _GNU_SOURCE
16745 #include <math.h>
16747 main ()
16749 float f = 0.0; return isfinite(f)
16751 return 0;
16753 _ACEOF
16754 if ac_fn_c_try_link "$LINENO"; then :
16755 ac_cv_have_isfinite="yes"
16756 else
16757 ac_cv_have_isfinite="no"
16759 rm -f core conftest.err conftest.$ac_objext \
16760 conftest$ac_exeext conftest.$ac_ext
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16763 $as_echo "$ac_cv_have_isfinite" >&6; }
16764 if test "$ac_cv_have_isfinite" = "yes"
16765 then
16767 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16772 $as_echo_n "checking for isinf... " >&6; }
16773 if ${ac_cv_have_isinf+:} false; then :
16774 $as_echo_n "(cached) " >&6
16775 else
16776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16777 /* end confdefs.h. */
16778 #include <math.h>
16780 main ()
16782 float f = 0.0; return isinf(f)
16784 return 0;
16786 _ACEOF
16787 if ac_fn_c_try_link "$LINENO"; then :
16788 ac_cv_have_isinf="yes"
16789 else
16790 ac_cv_have_isinf="no"
16792 rm -f core conftest.err conftest.$ac_objext \
16793 conftest$ac_exeext conftest.$ac_ext
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16796 $as_echo "$ac_cv_have_isinf" >&6; }
16797 if test "$ac_cv_have_isinf" = "yes"
16798 then
16800 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16805 $as_echo_n "checking for isnan... " >&6; }
16806 if ${ac_cv_have_isnan+:} false; then :
16807 $as_echo_n "(cached) " >&6
16808 else
16809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16810 /* end confdefs.h. */
16811 #include <math.h>
16813 main ()
16815 float f = 0.0; return isnan(f)
16817 return 0;
16819 _ACEOF
16820 if ac_fn_c_try_link "$LINENO"; then :
16821 ac_cv_have_isnan="yes"
16822 else
16823 ac_cv_have_isnan="no"
16825 rm -f core conftest.err conftest.$ac_objext \
16826 conftest$ac_exeext conftest.$ac_ext
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16829 $as_echo "$ac_cv_have_isnan" >&6; }
16830 if test "$ac_cv_have_isnan" = "yes"
16831 then
16833 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16837 for ac_func in \
16838 cbrt \
16839 cbrtf \
16840 erf \
16841 erff \
16842 exp2 \
16843 exp2f \
16844 llrint \
16845 llrintf \
16846 llround \
16847 llroundf \
16848 log2 \
16849 log2f \
16850 lrint \
16851 lrintf \
16852 lround \
16853 lroundf \
16854 rint \
16855 rintf \
16856 round \
16857 roundf \
16858 trunc \
16859 truncf
16861 do :
16862 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16863 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16864 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16865 cat >>confdefs.h <<_ACEOF
16866 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16867 _ACEOF
16870 done
16872 LIBS="$ac_save_LIBS"
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16875 $as_echo_n "checking for __builtin_clz... " >&6; }
16876 if ${ac_cv_have___builtin_clz+:} false; then :
16877 $as_echo_n "(cached) " >&6
16878 else
16879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16880 /* end confdefs.h. */
16883 main ()
16885 return __builtin_clz(1)
16887 return 0;
16889 _ACEOF
16890 if ac_fn_c_try_link "$LINENO"; then :
16891 ac_cv_have___builtin_clz="yes"
16892 else
16893 ac_cv_have___builtin_clz="no"
16895 rm -f core conftest.err conftest.$ac_objext \
16896 conftest$ac_exeext conftest.$ac_ext
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16899 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16900 if test "$ac_cv_have___builtin_clz" = "yes"
16901 then
16903 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
16908 $as_echo_n "checking for __builtin_popcount... " >&6; }
16909 if ${ac_cv_have___builtin_popcount+:} false; then :
16910 $as_echo_n "(cached) " >&6
16911 else
16912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16913 /* end confdefs.h. */
16916 main ()
16918 return __builtin_popcount(1)
16920 return 0;
16922 _ACEOF
16923 if ac_fn_c_try_link "$LINENO"; then :
16924 ac_cv_have___builtin_popcount="yes"
16925 else
16926 ac_cv_have___builtin_popcount="no"
16928 rm -f core conftest.err conftest.$ac_objext \
16929 conftest$ac_exeext conftest.$ac_ext
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
16932 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
16933 if test "$ac_cv_have___builtin_popcount" = "yes"
16934 then
16936 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
16941 case $host_cpu in
16942 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16943 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16944 if ${ac_cv_cpp_def___i386__+:} false; then :
16945 $as_echo_n "(cached) " >&6
16946 else
16947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16948 /* end confdefs.h. */
16949 #ifndef __i386__
16951 #endif
16952 _ACEOF
16953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16954 $EGREP "yes" >/dev/null 2>&1; then :
16955 ac_cv_cpp_def___i386__=yes
16956 else
16957 ac_cv_cpp_def___i386__=no
16959 rm -f conftest*
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16963 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16964 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16965 CFLAGS="$CFLAGS -D__i386__"
16966 LINTFLAGS="$LINTFLAGS -D__i386__"
16967 fi ;;
16968 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16969 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16970 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16971 $as_echo_n "(cached) " >&6
16972 else
16973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16974 /* end confdefs.h. */
16975 #ifndef __x86_64__
16977 #endif
16978 _ACEOF
16979 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16980 $EGREP "yes" >/dev/null 2>&1; then :
16981 ac_cv_cpp_def___x86_64__=yes
16982 else
16983 ac_cv_cpp_def___x86_64__=no
16985 rm -f conftest*
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16989 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16990 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16991 CFLAGS="$CFLAGS -D__x86_64__"
16992 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16993 fi ;;
16994 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16995 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16996 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16997 $as_echo_n "(cached) " >&6
16998 else
16999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17000 /* end confdefs.h. */
17001 #ifndef __sparc64__
17003 #endif
17004 _ACEOF
17005 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17006 $EGREP "yes" >/dev/null 2>&1; then :
17007 ac_cv_cpp_def___sparc64__=yes
17008 else
17009 ac_cv_cpp_def___sparc64__=no
17011 rm -f conftest*
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17015 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17016 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17017 CFLAGS="$CFLAGS -D__sparc64__"
17018 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17019 fi ;;
17020 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17021 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17022 if ${ac_cv_cpp_def___sparc__+:} false; then :
17023 $as_echo_n "(cached) " >&6
17024 else
17025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17027 #ifndef __sparc__
17029 #endif
17030 _ACEOF
17031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17032 $EGREP "yes" >/dev/null 2>&1; then :
17033 ac_cv_cpp_def___sparc__=yes
17034 else
17035 ac_cv_cpp_def___sparc__=no
17037 rm -f conftest*
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17041 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17042 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17043 CFLAGS="$CFLAGS -D__sparc__"
17044 LINTFLAGS="$LINTFLAGS -D__sparc__"
17045 fi ;;
17046 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17047 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17048 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17049 $as_echo_n "(cached) " >&6
17050 else
17051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17052 /* end confdefs.h. */
17053 #ifndef __powerpc64__
17055 #endif
17056 _ACEOF
17057 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17058 $EGREP "yes" >/dev/null 2>&1; then :
17059 ac_cv_cpp_def___powerpc64__=yes
17060 else
17061 ac_cv_cpp_def___powerpc64__=no
17063 rm -f conftest*
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17067 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17068 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17069 CFLAGS="$CFLAGS -D__powerpc64__"
17070 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17071 fi ;;
17072 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17073 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17074 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17075 $as_echo_n "(cached) " >&6
17076 else
17077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17079 #ifndef __powerpc__
17081 #endif
17082 _ACEOF
17083 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17084 $EGREP "yes" >/dev/null 2>&1; then :
17085 ac_cv_cpp_def___powerpc__=yes
17086 else
17087 ac_cv_cpp_def___powerpc__=no
17089 rm -f conftest*
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17093 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17094 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17095 CFLAGS="$CFLAGS -D__powerpc__"
17096 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17097 fi ;;
17098 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17099 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17100 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17101 $as_echo_n "(cached) " >&6
17102 else
17103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17104 /* end confdefs.h. */
17105 #ifndef __aarch64__
17107 #endif
17108 _ACEOF
17109 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17110 $EGREP "yes" >/dev/null 2>&1; then :
17111 ac_cv_cpp_def___aarch64__=yes
17112 else
17113 ac_cv_cpp_def___aarch64__=no
17115 rm -f conftest*
17118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17119 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17120 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17121 CFLAGS="$CFLAGS -D__aarch64__"
17122 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17123 fi ;;
17124 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17125 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17126 if ${ac_cv_cpp_def___arm__+:} false; then :
17127 $as_echo_n "(cached) " >&6
17128 else
17129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17130 /* end confdefs.h. */
17131 #ifndef __arm__
17133 #endif
17134 _ACEOF
17135 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17136 $EGREP "yes" >/dev/null 2>&1; then :
17137 ac_cv_cpp_def___arm__=yes
17138 else
17139 ac_cv_cpp_def___arm__=no
17141 rm -f conftest*
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17145 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17146 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17147 CFLAGS="$CFLAGS -D__arm__"
17148 LINTFLAGS="$LINTFLAGS -D__arm__"
17149 fi ;;
17150 esac
17152 case $host_vendor in
17153 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17154 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17155 if ${ac_cv_cpp_def___sun__+:} false; then :
17156 $as_echo_n "(cached) " >&6
17157 else
17158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17159 /* end confdefs.h. */
17160 #ifndef __sun__
17162 #endif
17163 _ACEOF
17164 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17165 $EGREP "yes" >/dev/null 2>&1; then :
17166 ac_cv_cpp_def___sun__=yes
17167 else
17168 ac_cv_cpp_def___sun__=no
17170 rm -f conftest*
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17174 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17175 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17176 CFLAGS="$CFLAGS -D__sun__"
17177 LINTFLAGS="$LINTFLAGS -D__sun__"
17178 fi ;;
17179 esac
17185 ac_config_commands="$ac_config_commands include/stamp-h"
17187 $as_echo_n "creating Makefile rules..." >&6
17189 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17190 SOCKET_LIBS = $SOCKET_LIBS
17191 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17192 IOKIT_LIBS = $IOKIT_LIBS
17193 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17194 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17195 CORESERVICES_LIBS = $CORESERVICES_LIBS
17196 APPKIT_LIBS = $APPKIT_LIBS
17197 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17198 SECURITY_LIBS = $SECURITY_LIBS
17199 COREAUDIO_LIBS = $COREAUDIO_LIBS
17200 OPENAL_LIBS = $OPENAL_LIBS
17201 OPENCL_LIBS = $OPENCL_LIBS
17202 QUICKTIME_LIBS = $QUICKTIME_LIBS
17203 CARBON_LIBS = $CARBON_LIBS
17204 PTHREAD_LIBS = $PTHREAD_LIBS
17205 X_CFLAGS = $X_CFLAGS
17206 X_PRE_LIBS = $X_PRE_LIBS
17207 X_LIBS = $X_LIBS
17208 X_EXTRA_LIBS = $X_EXTRA_LIBS
17209 PCAP_LIBS = $PCAP_LIBS
17210 XML2_CFLAGS = $XML2_CFLAGS
17211 XML2_LIBS = $XML2_LIBS
17212 XSLT_CFLAGS = $XSLT_CFLAGS
17213 XSLT_LIBS = $XSLT_LIBS
17214 DBUS_CFLAGS = $DBUS_CFLAGS
17215 DBUS_LIBS = $DBUS_LIBS
17216 HAL_CFLAGS = $HAL_CFLAGS
17217 HAL_LIBS = $HAL_LIBS
17218 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17219 GNUTLS_LIBS = $GNUTLS_LIBS
17220 SANE_CFLAGS = $SANE_CFLAGS
17221 SANE_LIBS = $SANE_LIBS
17222 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17223 GPHOTO2_LIBS = $GPHOTO2_LIBS
17224 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17225 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17226 RESOLV_LIBS = $RESOLV_LIBS
17227 LCMS2_CFLAGS = $LCMS2_CFLAGS
17228 LCMS2_LIBS = $LCMS2_LIBS
17229 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17230 FREETYPE_LIBS = $FREETYPE_LIBS
17231 Z_LIBS = $Z_LIBS
17232 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17233 PULSE_CFLAGS = $PULSE_CFLAGS
17234 PULSE_LIBS = $PULSE_LIBS
17235 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17236 GSTREAMER_LIBS = $GSTREAMER_LIBS
17237 ALSA_LIBS = $ALSA_LIBS
17238 OSS4_CFLAGS = $OSS4_CFLAGS
17239 CAPI20_CFLAGS = $CAPI20_CFLAGS
17240 CAPI20_LIBS = $CAPI20_LIBS
17241 CUPS_CFLAGS = $CUPS_CFLAGS
17242 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17243 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17244 JPEG_CFLAGS = $JPEG_CFLAGS
17245 JPEG_LIBS = $JPEG_LIBS
17246 PNG_CFLAGS = $PNG_CFLAGS
17247 PNG_LIBS = $PNG_LIBS
17248 TIFF_CFLAGS = $TIFF_CFLAGS
17249 TIFF_LIBS = $TIFF_LIBS
17250 MPG123_CFLAGS = $MPG123_CFLAGS
17251 MPG123_LIBS = $MPG123_LIBS
17252 KSTAT_LIBS = $KSTAT_LIBS
17253 PROCSTAT_LIBS = $PROCSTAT_LIBS
17254 NETAPI_CFLAGS = $NETAPI_CFLAGS
17255 NETAPI_LIBS = $NETAPI_LIBS
17256 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17257 DL_LIBS = $DL_LIBS
17258 POLL_LIBS = $POLL_LIBS
17259 RT_LIBS = $RT_LIBS
17260 LDAP_LIBS = $LDAP_LIBS
17265 wine_fn_append_rule "
17266 # Rules automatically generated by configure
17268 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17270 .INIT: Makefile
17271 .MAKEFILEDEPS:
17272 all: Makefile
17273 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17274 @./config.status Make.tmp Makefile
17275 depend: \$(MAKEDEP) dummy
17276 \$(MAKEDEP)"
17278 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
17279 .gitignore: config.status
17280 @./config.status .gitignore"
17282 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17283 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17285 if test "x$enable_fonts" != xno; then
17286 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17287 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17288 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17289 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17290 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17291 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17293 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17294 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17295 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17296 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17297 ac_config_links="$ac_config_links wine:tools/winewrapper"
17298 wine_fn_config_symlink wine
17299 if test "x$enable_win64" != xno; then
17300 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17301 wine_fn_config_symlink wine64
17304 wine_fn_config_dll acledit enable_acledit
17305 wine_fn_config_dll aclui enable_aclui implib
17306 wine_fn_config_dll activeds enable_activeds implib
17307 wine_fn_config_dll actxprxy enable_actxprxy clean
17308 wine_fn_config_lib adsiid
17309 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17310 wine_fn_config_test dlls/advapi32/tests advapi32_test
17311 wine_fn_config_dll advpack enable_advpack implib
17312 wine_fn_config_test dlls/advpack/tests advpack_test
17313 wine_fn_config_dll amstream enable_amstream clean
17314 wine_fn_config_test dlls/amstream/tests amstream_test
17315 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17316 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17317 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17318 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17319 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17320 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17321 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17322 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17323 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17324 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17325 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17326 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17327 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17328 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17329 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17330 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17331 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17332 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17333 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17334 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17335 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17336 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17337 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17338 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17339 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17340 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17341 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17342 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17343 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17344 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17345 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17346 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17347 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17348 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17349 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17350 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17351 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17352 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17353 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17354 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17355 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17356 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17357 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17358 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17359 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17360 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17361 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17362 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17363 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17364 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17365 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17366 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17367 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17368 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17369 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17370 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17371 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17372 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17373 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17374 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17375 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17376 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17377 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17378 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17379 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17380 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17381 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17382 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17383 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17384 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17385 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17386 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17387 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17388 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17389 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17390 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17391 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17392 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17393 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17394 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17395 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17396 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17397 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17398 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17399 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17400 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17401 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17402 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17403 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17404 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17405 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17406 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17407 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17408 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17409 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17410 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17411 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17412 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17413 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17414 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17415 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17416 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17417 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17418 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17419 wine_fn_config_dll apphelp enable_apphelp
17420 wine_fn_config_test dlls/apphelp/tests apphelp_test
17421 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17422 wine_fn_config_dll atl enable_atl clean,implib
17423 wine_fn_config_test dlls/atl/tests atl_test
17424 wine_fn_config_dll atl100 enable_atl100 clean,implib
17425 wine_fn_config_test dlls/atl100/tests atl100_test
17426 wine_fn_config_dll atl110 enable_atl110 clean
17427 wine_fn_config_dll atl80 enable_atl80 clean,implib
17428 wine_fn_config_test dlls/atl80/tests atl80_test
17429 wine_fn_config_dll atl90 enable_atl90 clean
17430 wine_fn_config_dll authz enable_authz
17431 wine_fn_config_dll avicap32 enable_avicap32 implib
17432 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17433 wine_fn_config_test dlls/avifil32/tests avifil32_test
17434 wine_fn_config_dll avifile.dll16 enable_win16
17435 wine_fn_config_dll avrt enable_avrt implib
17436 wine_fn_config_dll bcrypt enable_bcrypt implib
17437 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17438 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17439 wine_fn_config_dll browseui enable_browseui clean
17440 wine_fn_config_test dlls/browseui/tests browseui_test
17441 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17442 wine_fn_config_dll cabinet enable_cabinet implib
17443 wine_fn_config_test dlls/cabinet/tests cabinet_test
17444 wine_fn_config_dll capi2032 enable_capi2032 implib
17445 wine_fn_config_dll cards enable_cards implib
17446 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17447 wine_fn_config_dll clusapi enable_clusapi implib
17448 wine_fn_config_dll combase enable_combase
17449 wine_fn_config_test dlls/combase/tests combase_test
17450 wine_fn_config_dll comcat enable_comcat
17451 wine_fn_config_test dlls/comcat/tests comcat_test
17452 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17453 wine_fn_config_test dlls/comctl32/tests comctl32_test
17454 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17455 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17456 wine_fn_config_dll comm.drv16 enable_win16
17457 wine_fn_config_dll commdlg.dll16 enable_win16
17458 wine_fn_config_dll compobj.dll16 enable_win16
17459 wine_fn_config_dll compstui enable_compstui implib
17460 wine_fn_config_dll comsvcs enable_comsvcs implib
17461 wine_fn_config_dll connect enable_connect
17462 wine_fn_config_dll credui enable_credui clean,implib
17463 wine_fn_config_test dlls/credui/tests credui_test
17464 wine_fn_config_dll crtdll enable_crtdll implib
17465 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17466 wine_fn_config_test dlls/crypt32/tests crypt32_test
17467 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17468 wine_fn_config_dll cryptdll enable_cryptdll implib
17469 wine_fn_config_dll cryptext enable_cryptext
17470 wine_fn_config_dll cryptnet enable_cryptnet implib
17471 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17472 wine_fn_config_dll cryptui enable_cryptui clean,implib
17473 wine_fn_config_test dlls/cryptui/tests cryptui_test
17474 wine_fn_config_dll ctapi32 enable_ctapi32
17475 wine_fn_config_dll ctl3d.dll16 enable_win16
17476 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17477 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17478 wine_fn_config_dll d2d1 enable_d2d1 implib
17479 wine_fn_config_test dlls/d2d1/tests d2d1_test
17480 wine_fn_config_dll d3d10 enable_d3d10 implib
17481 wine_fn_config_test dlls/d3d10/tests d3d10_test
17482 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17483 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17484 wine_fn_config_dll d3d10core enable_d3d10core implib
17485 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17486 wine_fn_config_dll d3d11 enable_d3d11 implib
17487 wine_fn_config_test dlls/d3d11/tests d3d11_test
17488 wine_fn_config_dll d3d8 enable_d3d8 implib
17489 wine_fn_config_test dlls/d3d8/tests d3d8_test
17490 wine_fn_config_dll d3d9 enable_d3d9 implib
17491 wine_fn_config_test dlls/d3d9/tests d3d9_test
17492 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17493 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17494 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17495 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17496 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17497 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17498 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17499 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17500 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17501 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17502 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17503 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17504 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17505 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17506 wine_fn_config_dll d3dim enable_d3dim implib
17507 wine_fn_config_dll d3drm enable_d3drm implib
17508 wine_fn_config_test dlls/d3drm/tests d3drm_test
17509 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17510 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17511 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17512 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17513 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17514 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17515 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17516 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17517 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17518 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17519 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17520 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17521 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17522 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17523 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17524 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17525 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17526 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17527 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17528 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17529 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17530 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17531 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17532 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17533 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17534 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17535 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17536 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17537 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17538 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17539 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17540 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17541 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17542 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17543 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17544 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17545 wine_fn_config_dll davclnt enable_davclnt
17546 wine_fn_config_dll dbgeng enable_dbgeng implib
17547 wine_fn_config_dll dbghelp enable_dbghelp implib
17548 wine_fn_config_dll dciman32 enable_dciman32 implib
17549 wine_fn_config_dll ddeml.dll16 enable_win16
17550 wine_fn_config_dll ddraw enable_ddraw clean,implib
17551 wine_fn_config_test dlls/ddraw/tests ddraw_test
17552 wine_fn_config_dll ddrawex enable_ddrawex clean
17553 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17554 wine_fn_config_dll devenum enable_devenum clean
17555 wine_fn_config_test dlls/devenum/tests devenum_test
17556 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17557 wine_fn_config_dll difxapi enable_difxapi
17558 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17559 wine_fn_config_test dlls/dinput/tests dinput_test
17560 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17561 wine_fn_config_test dlls/dinput8/tests dinput8_test
17562 wine_fn_config_dll dispdib.dll16 enable_win16
17563 wine_fn_config_dll dispex enable_dispex clean
17564 wine_fn_config_test dlls/dispex/tests dispex_test
17565 wine_fn_config_dll display.drv16 enable_win16
17566 wine_fn_config_dll dmband enable_dmband clean
17567 wine_fn_config_test dlls/dmband/tests dmband_test
17568 wine_fn_config_dll dmcompos enable_dmcompos clean
17569 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17570 wine_fn_config_dll dmime enable_dmime clean
17571 wine_fn_config_test dlls/dmime/tests dmime_test
17572 wine_fn_config_dll dmloader enable_dmloader clean
17573 wine_fn_config_test dlls/dmloader/tests dmloader_test
17574 wine_fn_config_dll dmscript enable_dmscript clean
17575 wine_fn_config_test dlls/dmscript/tests dmscript_test
17576 wine_fn_config_dll dmstyle enable_dmstyle clean
17577 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17578 wine_fn_config_dll dmsynth enable_dmsynth clean
17579 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17580 wine_fn_config_dll dmusic enable_dmusic clean
17581 wine_fn_config_test dlls/dmusic/tests dmusic_test
17582 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17583 wine_fn_config_dll dnsapi enable_dnsapi implib
17584 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17585 wine_fn_config_dll dplay enable_dplay implib
17586 wine_fn_config_dll dplayx enable_dplayx clean,implib
17587 wine_fn_config_test dlls/dplayx/tests dplayx_test
17588 wine_fn_config_dll dpnaddr enable_dpnaddr
17589 wine_fn_config_dll dpnet enable_dpnet clean,implib
17590 wine_fn_config_test dlls/dpnet/tests dpnet_test
17591 wine_fn_config_dll dpnhpast enable_dpnhpast
17592 wine_fn_config_dll dpnlobby enable_dpnlobby
17593 wine_fn_config_dll dpvoice enable_dpvoice clean
17594 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17595 wine_fn_config_dll dpwsockx enable_dpwsockx
17596 wine_fn_config_dll drmclien enable_drmclien
17597 wine_fn_config_dll dsound enable_dsound clean,implib
17598 wine_fn_config_test dlls/dsound/tests dsound_test
17599 wine_fn_config_dll dssenh enable_dssenh
17600 wine_fn_config_test dlls/dssenh/tests dssenh_test
17601 wine_fn_config_dll dswave enable_dswave clean
17602 wine_fn_config_test dlls/dswave/tests dswave_test
17603 wine_fn_config_dll dwmapi enable_dwmapi implib
17604 wine_fn_config_dll dwrite enable_dwrite implib
17605 wine_fn_config_test dlls/dwrite/tests dwrite_test
17606 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17607 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17608 wine_fn_config_lib dxerr8
17609 wine_fn_config_lib dxerr9
17610 wine_fn_config_dll dxgi enable_dxgi implib
17611 wine_fn_config_test dlls/dxgi/tests dxgi_test
17612 wine_fn_config_lib dxguid
17613 wine_fn_config_dll dxva2 enable_dxva2
17614 wine_fn_config_dll esent enable_esent
17615 wine_fn_config_dll evr enable_evr
17616 wine_fn_config_dll explorerframe enable_explorerframe clean
17617 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17618 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17619 wine_fn_config_dll faultrep enable_faultrep implib
17620 wine_fn_config_test dlls/faultrep/tests faultrep_test
17621 wine_fn_config_dll fltlib enable_fltlib
17622 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17623 wine_fn_config_dll fntcache enable_fntcache
17624 wine_fn_config_dll fontsub enable_fontsub
17625 wine_fn_config_dll fusion enable_fusion
17626 wine_fn_config_test dlls/fusion/tests fusion_test
17627 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17628 wine_fn_config_dll gameux enable_gameux clean
17629 wine_fn_config_test dlls/gameux/tests gameux_test
17630 wine_fn_config_dll gdi.exe16 enable_win16
17631 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17632 wine_fn_config_test dlls/gdi32/tests gdi32_test
17633 wine_fn_config_dll gdiplus enable_gdiplus implib
17634 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17635 wine_fn_config_dll glu32 enable_glu32 implib
17636 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17637 wine_fn_config_dll gpkcsp enable_gpkcsp
17638 wine_fn_config_dll hal enable_hal
17639 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17640 wine_fn_config_dll hid enable_hid implib
17641 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17642 wine_fn_config_dll hlink enable_hlink clean,implib
17643 wine_fn_config_test dlls/hlink/tests hlink_test
17644 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17645 wine_fn_config_dll httpapi enable_httpapi
17646 wine_fn_config_dll iccvid enable_iccvid clean
17647 wine_fn_config_dll icmp enable_icmp
17648 wine_fn_config_dll ieframe enable_ieframe clean,implib
17649 wine_fn_config_test dlls/ieframe/tests ieframe_test
17650 wine_fn_config_dll ifsmgr.vxd enable_win16
17651 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17652 wine_fn_config_dll imagehlp enable_imagehlp implib
17653 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17654 wine_fn_config_dll imm.dll16 enable_win16
17655 wine_fn_config_dll imm32 enable_imm32 implib
17656 wine_fn_config_test dlls/imm32/tests imm32_test
17657 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17658 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17659 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17660 wine_fn_config_dll inetmib1 enable_inetmib1
17661 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17662 wine_fn_config_dll infosoft enable_infosoft clean
17663 wine_fn_config_test dlls/infosoft/tests infosoft_test
17664 wine_fn_config_dll initpki enable_initpki
17665 wine_fn_config_dll inkobj enable_inkobj
17666 wine_fn_config_dll inseng enable_inseng clean
17667 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17668 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17669 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17670 wine_fn_config_dll itircl enable_itircl
17671 wine_fn_config_dll itss enable_itss clean
17672 wine_fn_config_test dlls/itss/tests itss_test
17673 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17674 wine_fn_config_dll jscript enable_jscript clean
17675 wine_fn_config_test dlls/jscript/tests jscript_test
17676 wine_fn_config_dll jsproxy enable_jsproxy implib
17677 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17678 wine_fn_config_test dlls/kernel32/tests kernel32_test
17679 wine_fn_config_dll keyboard.drv16 enable_win16
17680 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17681 wine_fn_config_dll ksuser enable_ksuser
17682 wine_fn_config_dll ktmw32 enable_ktmw32
17683 wine_fn_config_dll loadperf enable_loadperf implib
17684 wine_fn_config_dll localspl enable_localspl clean
17685 wine_fn_config_test dlls/localspl/tests localspl_test
17686 wine_fn_config_dll localui enable_localui clean
17687 wine_fn_config_test dlls/localui/tests localui_test
17688 wine_fn_config_dll lz32 enable_lz32 implib
17689 wine_fn_config_test dlls/lz32/tests lz32_test
17690 wine_fn_config_dll lzexpand.dll16 enable_win16
17691 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17692 wine_fn_config_test dlls/mapi32/tests mapi32_test
17693 wine_fn_config_dll mapistub enable_mapistub
17694 wine_fn_config_dll mciavi32 enable_mciavi32
17695 wine_fn_config_dll mcicda enable_mcicda
17696 wine_fn_config_dll mciqtz32 enable_mciqtz32
17697 wine_fn_config_dll mciseq enable_mciseq
17698 wine_fn_config_dll mciwave enable_mciwave
17699 wine_fn_config_dll mf enable_mf
17700 wine_fn_config_dll mfplat enable_mfplat
17701 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17702 wine_fn_config_dll mgmtapi enable_mgmtapi
17703 wine_fn_config_dll midimap enable_midimap
17704 wine_fn_config_dll mlang enable_mlang clean,implib
17705 wine_fn_config_test dlls/mlang/tests mlang_test
17706 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17707 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17708 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17709 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17710 wine_fn_config_dll mmdevldr.vxd enable_win16
17711 wine_fn_config_dll mmsystem.dll16 enable_win16
17712 wine_fn_config_dll monodebg.vxd enable_win16
17713 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17714 wine_fn_config_dll mouse.drv16 enable_win16
17715 wine_fn_config_dll mpr enable_mpr clean,implib
17716 wine_fn_config_test dlls/mpr/tests mpr_test
17717 wine_fn_config_dll mprapi enable_mprapi implib
17718 wine_fn_config_dll msacm.dll16 enable_win16
17719 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17720 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17721 wine_fn_config_test dlls/msacm32/tests msacm32_test
17722 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17723 wine_fn_config_dll msasn1 enable_msasn1 implib
17724 wine_fn_config_dll mscat32 enable_mscat32
17725 wine_fn_config_dll mscms enable_mscms implib
17726 wine_fn_config_test dlls/mscms/tests mscms_test
17727 wine_fn_config_dll mscoree enable_mscoree clean
17728 wine_fn_config_test dlls/mscoree/tests mscoree_test
17729 wine_fn_config_dll msctf enable_msctf clean
17730 wine_fn_config_test dlls/msctf/tests msctf_test
17731 wine_fn_config_dll msctfp enable_msctfp clean
17732 wine_fn_config_dll msdaps enable_msdaps clean
17733 wine_fn_config_dll msdelta enable_msdelta
17734 wine_fn_config_dll msdmo enable_msdmo implib
17735 wine_fn_config_test dlls/msdmo/tests msdmo_test
17736 wine_fn_config_dll msdrm enable_msdrm
17737 wine_fn_config_dll msftedit enable_msftedit
17738 wine_fn_config_dll msg711.acm enable_msg711_acm
17739 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17740 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17741 wine_fn_config_dll mshtml enable_mshtml clean,implib
17742 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17743 wine_fn_config_dll msi enable_msi clean,implib
17744 wine_fn_config_test dlls/msi/tests msi_test
17745 wine_fn_config_dll msident enable_msident clean
17746 wine_fn_config_dll msimg32 enable_msimg32 implib
17747 wine_fn_config_dll msimsg enable_msimsg
17748 wine_fn_config_dll msimtf enable_msimtf clean
17749 wine_fn_config_dll msisip enable_msisip
17750 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17751 wine_fn_config_dll msls31 enable_msls31
17752 wine_fn_config_dll msnet32 enable_msnet32
17753 wine_fn_config_dll mspatcha enable_mspatcha implib
17754 wine_fn_config_dll msrle32 enable_msrle32 clean
17755 wine_fn_config_test dlls/msrle32/tests msrle32_test
17756 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17757 wine_fn_config_dll mssign32 enable_mssign32
17758 wine_fn_config_dll mssip32 enable_mssip32
17759 wine_fn_config_dll mstask enable_mstask clean
17760 wine_fn_config_test dlls/mstask/tests mstask_test
17761 wine_fn_config_dll msvcirt enable_msvcirt
17762 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17763 wine_fn_config_dll msvcm80 enable_msvcm80
17764 wine_fn_config_dll msvcm90 enable_msvcm90
17765 wine_fn_config_dll msvcp100 enable_msvcp100
17766 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17767 wine_fn_config_dll msvcp110 enable_msvcp110
17768 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17769 wine_fn_config_dll msvcp120 enable_msvcp120
17770 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17771 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17772 wine_fn_config_dll msvcp60 enable_msvcp60
17773 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17774 wine_fn_config_dll msvcp70 enable_msvcp70
17775 wine_fn_config_dll msvcp71 enable_msvcp71
17776 wine_fn_config_dll msvcp80 enable_msvcp80
17777 wine_fn_config_dll msvcp90 enable_msvcp90
17778 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17779 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17780 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17781 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17782 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17783 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17784 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17785 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17786 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17787 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17788 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17789 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17790 wine_fn_config_dll msvcrt enable_msvcrt implib
17791 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17792 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17793 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17794 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17795 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17796 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17797 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17798 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17799 wine_fn_config_dll msvideo.dll16 enable_win16
17800 wine_fn_config_dll mswsock enable_mswsock implib
17801 wine_fn_config_dll msxml enable_msxml clean
17802 wine_fn_config_dll msxml2 enable_msxml2 clean
17803 wine_fn_config_dll msxml3 enable_msxml3 clean
17804 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17805 wine_fn_config_dll msxml4 enable_msxml4 clean
17806 wine_fn_config_dll msxml6 enable_msxml6 clean
17807 wine_fn_config_dll nddeapi enable_nddeapi implib
17808 wine_fn_config_dll ndis.sys enable_ndis_sys
17809 wine_fn_config_dll netapi32 enable_netapi32 implib
17810 wine_fn_config_test dlls/netapi32/tests netapi32_test
17811 wine_fn_config_dll netcfgx enable_netcfgx clean
17812 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17813 wine_fn_config_dll netprofm enable_netprofm clean
17814 wine_fn_config_test dlls/netprofm/tests netprofm_test
17815 wine_fn_config_dll newdev enable_newdev implib
17816 wine_fn_config_dll normaliz enable_normaliz implib
17817 wine_fn_config_dll npmshtml enable_npmshtml
17818 wine_fn_config_dll npptools enable_npptools
17819 wine_fn_config_dll ntdll enable_ntdll implib
17820 wine_fn_config_test dlls/ntdll/tests ntdll_test
17821 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17822 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17823 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17824 wine_fn_config_dll ntprint enable_ntprint
17825 wine_fn_config_test dlls/ntprint/tests ntprint_test
17826 wine_fn_config_dll objsel enable_objsel clean
17827 wine_fn_config_dll odbc32 enable_odbc32 implib
17828 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17829 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17830 wine_fn_config_dll odbccu32 enable_odbccu32
17831 wine_fn_config_dll ole2.dll16 enable_win16
17832 wine_fn_config_dll ole2conv.dll16 enable_win16
17833 wine_fn_config_dll ole2disp.dll16 enable_win16
17834 wine_fn_config_dll ole2nls.dll16 enable_win16
17835 wine_fn_config_dll ole2prox.dll16 enable_win16
17836 wine_fn_config_dll ole2thk.dll16 enable_win16
17837 wine_fn_config_dll ole32 enable_ole32 clean,implib
17838 wine_fn_config_test dlls/ole32/tests ole32_test
17839 wine_fn_config_dll oleacc enable_oleacc clean,implib
17840 wine_fn_config_test dlls/oleacc/tests oleacc_test
17841 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17842 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17843 wine_fn_config_dll olecli.dll16 enable_win16
17844 wine_fn_config_dll olecli32 enable_olecli32 implib
17845 wine_fn_config_dll oledb32 enable_oledb32 clean
17846 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17847 wine_fn_config_dll oledlg enable_oledlg clean,implib
17848 wine_fn_config_test dlls/oledlg/tests oledlg_test
17849 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17850 wine_fn_config_dll olesvr.dll16 enable_win16
17851 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17852 wine_fn_config_dll olethk32 enable_olethk32
17853 wine_fn_config_dll openal32 enable_openal32
17854 wine_fn_config_dll opencl enable_opencl
17855 wine_fn_config_dll opengl32 enable_opengl32 implib
17856 wine_fn_config_test dlls/opengl32/tests opengl32_test
17857 wine_fn_config_dll packager enable_packager clean
17858 wine_fn_config_test dlls/packager/tests packager_test
17859 wine_fn_config_dll pdh enable_pdh implib
17860 wine_fn_config_test dlls/pdh/tests pdh_test
17861 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17862 wine_fn_config_dll pidgen enable_pidgen
17863 wine_fn_config_dll powrprof enable_powrprof implib
17864 wine_fn_config_dll printui enable_printui
17865 wine_fn_config_dll prntvpt enable_prntvpt
17866 wine_fn_config_dll propsys enable_propsys clean,implib
17867 wine_fn_config_test dlls/propsys/tests propsys_test
17868 wine_fn_config_dll psapi enable_psapi implib
17869 wine_fn_config_test dlls/psapi/tests psapi_test
17870 wine_fn_config_dll pstorec enable_pstorec clean
17871 wine_fn_config_dll qcap enable_qcap
17872 wine_fn_config_test dlls/qcap/tests qcap_test
17873 wine_fn_config_dll qedit enable_qedit clean
17874 wine_fn_config_test dlls/qedit/tests qedit_test
17875 wine_fn_config_dll qmgr enable_qmgr clean
17876 wine_fn_config_test dlls/qmgr/tests qmgr_test
17877 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17878 wine_fn_config_dll quartz enable_quartz clean,implib
17879 wine_fn_config_test dlls/quartz/tests quartz_test clean
17880 wine_fn_config_dll query enable_query
17881 wine_fn_config_dll rasapi16.dll16 enable_win16
17882 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17883 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17884 wine_fn_config_dll rasdlg enable_rasdlg implib
17885 wine_fn_config_dll regapi enable_regapi
17886 wine_fn_config_dll resutils enable_resutils implib
17887 wine_fn_config_dll riched20 enable_riched20 clean,implib
17888 wine_fn_config_test dlls/riched20/tests riched20_test
17889 wine_fn_config_dll riched32 enable_riched32
17890 wine_fn_config_test dlls/riched32/tests riched32_test
17891 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17892 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17893 wine_fn_config_dll rsabase enable_rsabase
17894 wine_fn_config_dll rsaenh enable_rsaenh implib
17895 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17896 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17897 wine_fn_config_dll rtutils enable_rtutils implib
17898 wine_fn_config_dll samlib enable_samlib
17899 wine_fn_config_dll sane.ds enable_sane_ds clean
17900 wine_fn_config_dll scarddlg enable_scarddlg
17901 wine_fn_config_dll sccbase enable_sccbase
17902 wine_fn_config_dll schannel enable_schannel
17903 wine_fn_config_test dlls/schannel/tests schannel_test
17904 wine_fn_config_dll schedsvc enable_schedsvc clean
17905 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17906 wine_fn_config_dll scrrun enable_scrrun clean
17907 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17908 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17909 wine_fn_config_dll secur32 enable_secur32 implib
17910 wine_fn_config_test dlls/secur32/tests secur32_test
17911 wine_fn_config_dll security enable_security
17912 wine_fn_config_dll sensapi enable_sensapi implib
17913 wine_fn_config_dll serialui enable_serialui clean,implib
17914 wine_fn_config_test dlls/serialui/tests serialui_test
17915 wine_fn_config_dll setupapi enable_setupapi clean,implib
17916 wine_fn_config_test dlls/setupapi/tests setupapi_test
17917 wine_fn_config_dll setupx.dll16 enable_win16
17918 wine_fn_config_dll sfc enable_sfc implib
17919 wine_fn_config_dll sfc_os enable_sfc_os implib
17920 wine_fn_config_dll shdoclc enable_shdoclc clean
17921 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17922 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17923 wine_fn_config_dll shell.dll16 enable_win16
17924 wine_fn_config_dll shell32 enable_shell32 clean,implib
17925 wine_fn_config_test dlls/shell32/tests shell32_test
17926 wine_fn_config_dll shfolder enable_shfolder implib
17927 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
17928 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17929 wine_fn_config_dll slbcsp enable_slbcsp
17930 wine_fn_config_dll slc enable_slc implib
17931 wine_fn_config_test dlls/slc/tests slc_test
17932 wine_fn_config_dll snmpapi enable_snmpapi implib
17933 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17934 wine_fn_config_dll softpub enable_softpub
17935 wine_fn_config_dll sound.drv16 enable_win16
17936 wine_fn_config_dll spoolss enable_spoolss implib
17937 wine_fn_config_test dlls/spoolss/tests spoolss_test
17938 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17939 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17940 wine_fn_config_dll sti enable_sti clean,implib
17941 wine_fn_config_test dlls/sti/tests sti_test
17942 wine_fn_config_dll storage.dll16 enable_win16
17943 wine_fn_config_dll stress.dll16 enable_win16
17944 wine_fn_config_lib strmbase
17945 wine_fn_config_lib strmiids
17946 wine_fn_config_dll svrapi enable_svrapi
17947 wine_fn_config_dll sxs enable_sxs implib
17948 wine_fn_config_test dlls/sxs/tests sxs_test
17949 wine_fn_config_dll system.drv16 enable_win16
17950 wine_fn_config_dll t2embed enable_t2embed
17951 wine_fn_config_dll tapi32 enable_tapi32 implib
17952 wine_fn_config_dll taskschd enable_taskschd clean
17953 wine_fn_config_test dlls/taskschd/tests taskschd_test
17954 wine_fn_config_dll tdi.sys enable_tdi_sys
17955 wine_fn_config_dll toolhelp.dll16 enable_win16
17956 wine_fn_config_dll traffic enable_traffic
17957 wine_fn_config_dll twain.dll16 enable_win16
17958 wine_fn_config_dll twain_32 enable_twain_32
17959 wine_fn_config_test dlls/twain_32/tests twain_32_test
17960 wine_fn_config_dll typelib.dll16 enable_win16
17961 wine_fn_config_dll ucrtbase enable_ucrtbase
17962 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17963 wine_fn_config_dll unicows enable_unicows implib
17964 wine_fn_config_dll updspapi enable_updspapi
17965 wine_fn_config_dll url enable_url implib
17966 wine_fn_config_dll urlmon enable_urlmon clean,implib
17967 wine_fn_config_test dlls/urlmon/tests urlmon_test
17968 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17969 wine_fn_config_dll user.exe16 enable_win16
17970 wine_fn_config_dll user32 enable_user32 clean,implib
17971 wine_fn_config_test dlls/user32/tests user32_test
17972 wine_fn_config_dll userenv enable_userenv implib
17973 wine_fn_config_test dlls/userenv/tests userenv_test
17974 wine_fn_config_dll usp10 enable_usp10 implib
17975 wine_fn_config_test dlls/usp10/tests usp10_test
17976 wine_fn_config_lib uuid
17977 wine_fn_config_dll uxtheme enable_uxtheme implib
17978 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17979 wine_fn_config_dll vbscript enable_vbscript clean
17980 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17981 wine_fn_config_dll vcomp enable_vcomp
17982 wine_fn_config_test dlls/vcomp/tests vcomp_test
17983 wine_fn_config_dll vcomp100 enable_vcomp100
17984 wine_fn_config_dll vcomp110 enable_vcomp110
17985 wine_fn_config_dll vcomp120 enable_vcomp120
17986 wine_fn_config_dll vcomp90 enable_vcomp90
17987 wine_fn_config_dll vcruntime140 enable_vcruntime140
17988 wine_fn_config_dll vdhcp.vxd enable_win16
17989 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17990 wine_fn_config_dll ver.dll16 enable_win16
17991 wine_fn_config_dll version enable_version implib
17992 wine_fn_config_test dlls/version/tests version_test
17993 wine_fn_config_dll vmm.vxd enable_win16
17994 wine_fn_config_dll vnbt.vxd enable_win16
17995 wine_fn_config_dll vnetbios.vxd enable_win16
17996 wine_fn_config_dll vssapi enable_vssapi
17997 wine_fn_config_dll vtdapi.vxd enable_win16
17998 wine_fn_config_dll vwin32.vxd enable_win16
17999 wine_fn_config_dll w32skrnl enable_win16
18000 wine_fn_config_dll w32sys.dll16 enable_win16
18001 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18002 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18003 wine_fn_config_dll wbemprox enable_wbemprox clean
18004 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18005 wine_fn_config_dll webservices enable_webservices implib
18006 wine_fn_config_test dlls/webservices/tests webservices_test
18007 wine_fn_config_dll wer enable_wer implib
18008 wine_fn_config_test dlls/wer/tests wer_test
18009 wine_fn_config_dll wevtapi enable_wevtapi
18010 wine_fn_config_dll wiaservc enable_wiaservc clean
18011 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18012 wine_fn_config_dll wimgapi enable_wimgapi
18013 wine_fn_config_dll win32s16.dll16 enable_win16
18014 wine_fn_config_dll win87em.dll16 enable_win16
18015 wine_fn_config_dll winaspi.dll16 enable_win16
18016 wine_fn_config_dll windebug.dll16 enable_win16
18017 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18018 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18019 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18020 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18021 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18022 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18023 wine_fn_config_lib winecrt0
18024 wine_fn_config_dll wined3d enable_wined3d implib
18025 wine_fn_config_dll winegstreamer enable_winegstreamer
18026 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18027 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18028 wine_fn_config_dll winemapi enable_winemapi
18029 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18030 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18031 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18032 wine_fn_config_dll wineps16.drv16 enable_win16
18033 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18034 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18035 wine_fn_config_dll winex11.drv enable_winex11_drv
18036 wine_fn_config_dll wing.dll16 enable_win16
18037 wine_fn_config_dll wing32 enable_wing32
18038 wine_fn_config_dll winhttp enable_winhttp clean,implib
18039 wine_fn_config_test dlls/winhttp/tests winhttp_test
18040 wine_fn_config_dll wininet enable_wininet clean,implib
18041 wine_fn_config_test dlls/wininet/tests wininet_test
18042 wine_fn_config_dll winmm enable_winmm clean,implib
18043 wine_fn_config_test dlls/winmm/tests winmm_test
18044 wine_fn_config_dll winnls.dll16 enable_win16
18045 wine_fn_config_dll winnls32 enable_winnls32 implib
18046 wine_fn_config_dll winscard enable_winscard implib
18047 wine_fn_config_dll winsock.dll16 enable_win16
18048 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18049 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18050 wine_fn_config_dll winsta enable_winsta
18051 wine_fn_config_dll wintab.dll16 enable_win16
18052 wine_fn_config_dll wintab32 enable_wintab32 implib
18053 wine_fn_config_test dlls/wintab32/tests wintab32_test
18054 wine_fn_config_dll wintrust enable_wintrust implib
18055 wine_fn_config_test dlls/wintrust/tests wintrust_test
18056 wine_fn_config_dll wlanapi enable_wlanapi
18057 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18058 wine_fn_config_test dlls/wldap32/tests wldap32_test
18059 wine_fn_config_dll wmi enable_wmi
18060 wine_fn_config_dll wmiutils enable_wmiutils clean
18061 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18062 wine_fn_config_dll wmp enable_wmp clean
18063 wine_fn_config_test dlls/wmp/tests wmp_test
18064 wine_fn_config_dll wmvcore enable_wmvcore
18065 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18066 wine_fn_config_dll wow32 enable_win16 implib
18067 wine_fn_config_dll wpcap enable_wpcap
18068 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18069 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18070 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18071 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18072 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18073 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18074 wine_fn_config_dll wsock32 enable_wsock32 implib
18075 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18076 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18077 wine_fn_config_dll wuapi enable_wuapi clean
18078 wine_fn_config_dll wuaueng enable_wuaueng
18079 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18080 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18081 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18082 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18083 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18084 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18085 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18086 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18087 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18088 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18089 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18090 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18091 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18092 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18093 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18094 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18095 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18096 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18097 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18098 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18099 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18100 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18101 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18102 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18103 wine_fn_config_dll xinput1_1 enable_xinput1_1
18104 wine_fn_config_dll xinput1_2 enable_xinput1_2
18105 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18106 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18107 wine_fn_config_dll xinput1_4 enable_xinput1_4
18108 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18109 wine_fn_config_dll xmllite enable_xmllite implib
18110 wine_fn_config_test dlls/xmllite/tests xmllite_test
18111 wine_fn_config_dll xolehlp enable_xolehlp
18112 wine_fn_config_dll xpsprint enable_xpsprint
18113 wine_fn_config_dll xpssvcs enable_xpssvcs
18114 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18115 wine_fn_config_makefile include enable_include clean,install-dev
18116 wine_fn_config_makefile libs/port enable_libs_port
18117 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18118 wine_fn_config_makefile libs/wpp enable_libs_wpp
18119 wine_fn_config_makefile loader enable_loader clean,install-lib
18120 wine_fn_config_program arp enable_arp install
18121 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18122 wine_fn_config_program attrib enable_attrib clean,install
18123 wine_fn_config_program cabarc enable_cabarc install
18124 wine_fn_config_program cacls enable_cacls install
18125 wine_fn_config_program clock enable_clock clean,install
18126 wine_fn_config_program cmd enable_cmd clean,install
18127 wine_fn_config_test programs/cmd/tests cmd.exe_test
18128 wine_fn_config_program conhost enable_conhost install
18129 wine_fn_config_program control enable_control install
18130 wine_fn_config_program cscript enable_cscript clean,install
18131 wine_fn_config_program dpnsvr enable_dpnsvr install
18132 wine_fn_config_program dxdiag enable_dxdiag clean,install
18133 wine_fn_config_program eject enable_eject install
18134 wine_fn_config_program expand enable_expand install
18135 wine_fn_config_program explorer enable_explorer clean,install
18136 wine_fn_config_program extrac32 enable_extrac32 install
18137 wine_fn_config_program findstr enable_findstr install
18138 wine_fn_config_program hh enable_hh install
18139 wine_fn_config_program hostname enable_hostname clean,install
18140 wine_fn_config_program icacls enable_icacls install
18141 wine_fn_config_program icinfo enable_icinfo install
18142 wine_fn_config_program iexplore enable_iexplore install
18143 wine_fn_config_program ipconfig enable_ipconfig clean,install
18144 wine_fn_config_program lodctr enable_lodctr install
18145 wine_fn_config_program mofcomp enable_mofcomp install
18146 wine_fn_config_program mshta enable_mshta install
18147 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18148 wine_fn_config_program net enable_net clean,install
18149 wine_fn_config_program netsh enable_netsh install
18150 wine_fn_config_program netstat enable_netstat clean,install
18151 wine_fn_config_program ngen enable_ngen install
18152 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18153 wine_fn_config_program oleview enable_oleview clean,install
18154 wine_fn_config_program ping enable_ping install
18155 wine_fn_config_program plugplay enable_plugplay install
18156 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18157 wine_fn_config_program progman enable_progman clean,install
18158 wine_fn_config_program reg enable_reg clean,install
18159 wine_fn_config_test programs/reg/tests reg.exe_test
18160 wine_fn_config_program regasm enable_regasm install
18161 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18162 wine_fn_config_test programs/regedit/tests regedit.exe_test
18163 wine_fn_config_program regsvcs enable_regsvcs install
18164 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18165 wine_fn_config_program rpcss enable_rpcss clean,install
18166 wine_fn_config_program rundll.exe16 enable_win16 install
18167 wine_fn_config_program rundll32 enable_rundll32 install
18168 wine_fn_config_program sc enable_sc install
18169 wine_fn_config_program schtasks enable_schtasks install
18170 wine_fn_config_program sdbinst enable_sdbinst install
18171 wine_fn_config_program secedit enable_secedit install
18172 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18173 wine_fn_config_program services enable_services clean,install
18174 wine_fn_config_test programs/services/tests services.exe_test
18175 wine_fn_config_program spoolsv enable_spoolsv install
18176 wine_fn_config_program start enable_start clean,install
18177 wine_fn_config_program svchost enable_svchost install
18178 wine_fn_config_program systeminfo enable_systeminfo install
18179 wine_fn_config_program taskkill enable_taskkill clean,install
18180 wine_fn_config_program tasklist enable_tasklist install
18181 wine_fn_config_program taskmgr enable_taskmgr clean,install
18182 wine_fn_config_program termsv enable_termsv install
18183 wine_fn_config_program uninstaller enable_uninstaller clean,install
18184 wine_fn_config_program unlodctr enable_unlodctr install
18185 wine_fn_config_program view enable_view clean,install
18186 wine_fn_config_program wevtutil enable_wevtutil install
18187 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18188 wine_fn_config_program winebrowser enable_winebrowser install
18189 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18190 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18191 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18192 wine_fn_config_program winedevice enable_winedevice install
18193 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18194 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18195 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18196 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18197 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18198 wine_fn_config_program winetest enable_winetest clean
18199 wine_fn_config_program winevdm enable_win16 install
18200 wine_fn_config_program winhelp.exe16 enable_win16 install
18201 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18202 wine_fn_config_program winoldap.mod16 enable_win16 install
18203 wine_fn_config_program winver enable_winver install
18204 wine_fn_config_program wmic enable_wmic clean,install
18205 wine_fn_config_program wmplayer enable_wmplayer install
18206 wine_fn_config_program wordpad enable_wordpad clean,install
18207 wine_fn_config_program write enable_write clean,install
18208 wine_fn_config_program wscript enable_wscript clean,install
18209 wine_fn_config_test programs/wscript/tests wscript.exe_test
18210 wine_fn_config_program wusa enable_wusa install
18211 wine_fn_config_program xcopy enable_xcopy clean,install
18212 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18213 wine_fn_config_makefile server enable_server clean,install-lib
18214 wine_fn_config_tool tools clean
18215 wine_fn_config_tool tools/sfnt2fon clean
18216 wine_fn_config_tool tools/widl clean,install-dev
18217 wine_fn_config_tool tools/winebuild clean,install-dev
18218 wine_fn_config_tool tools/winedump clean,install-dev
18219 wine_fn_config_tool tools/winegcc clean,install-dev
18220 wine_fn_config_tool tools/winemaker clean,install-dev
18221 wine_fn_config_tool tools/wmc clean,install-dev
18222 wine_fn_config_tool tools/wrc clean,install-dev
18224 LINGUAS="\
18225 ar \
18226 bg \
18227 ca \
18228 cs \
18229 da \
18230 de \
18231 el \
18232 en \
18233 en_US \
18234 eo \
18235 es \
18236 fa \
18237 fi \
18238 fr \
18239 he \
18240 hi \
18241 hr \
18242 hu \
18243 it \
18244 ja \
18245 ko \
18246 lt \
18247 ml \
18248 nb_NO \
18249 nl \
18250 or \
18251 pa \
18252 pl \
18253 pt_BR \
18254 pt_PT \
18255 rm \
18256 ro \
18257 ru \
18258 sk \
18259 sl \
18260 sr_RS@cyrillic \
18261 sr_RS@latin \
18262 sv \
18263 te \
18264 th \
18265 tr \
18266 uk \
18267 wa \
18268 zh_CN \
18269 zh_TW"
18274 wine_fn_ignore_file ".gitignore"
18275 wine_fn_ignore_file "Makefile"
18276 wine_fn_ignore_file "TAGS"
18277 wine_fn_ignore_file "tags"
18278 wine_fn_ignore_file "autom4te.cache"
18279 wine_fn_ignore_file "config.cache"
18280 wine_fn_ignore_file "config.log"
18281 wine_fn_ignore_file "config.status"
18282 wine_fn_ignore_file "configure.lineno"
18283 wine_fn_ignore_file "include/config.h"
18284 wine_fn_ignore_file "include/stamp-h"
18285 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
18287 if test "x$enable_tools" != xno
18288 then
18289 wine_fn_ignore_file "tools/makedep$ac_exeext"
18290 ac_config_commands="$ac_config_commands tools/makedep"
18294 ac_config_commands="$ac_config_commands Makefile"
18297 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18301 if test "x$enable_maintainer_mode" = xyes
18302 then
18303 wine_fn_append_rule "configure: configure.ac aclocal.m4
18304 autoconf --warnings=all
18305 include/config.h.in: include/stamp-h.in
18306 include/stamp-h.in: configure.ac aclocal.m4
18307 autoheader --warnings=all
18308 @echo timestamp > \$@"
18311 test "$MSGFMT" != false || LINGUAS=
18313 for i in $LINGUAS
18315 wine_fn_ignore_file "po/$i.mo"
18316 done
18318 if test "x$enable_tools" != xno
18319 then
18320 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18321 @./config.status tools/makedep
18322 Makefile: tools/makedep$ac_exeext
18323 distclean:: clean
18324 \$(RM) tools/makedep$ac_exeext"
18325 else
18326 wine_fn_append_rule "\$(MAKEDEP):
18327 @echo \"You need to run make in $TOOLSDIR first\" && false"
18330 if test -n "$with_wine64"
18331 then
18332 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18333 fonts server tools:
18334 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18335 $with_wine64/loader/wine:
18336 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18337 $with_wine64/loader/wine-preloader:
18338 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18339 clean::
18340 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18341 else
18342 WINELOADER_INSTALL="wine.inf"
18344 wine_fn_append_rule "install install-lib::
18345 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18346 uninstall::
18347 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18348 case $host_os in
18349 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18350 *) wine_fn_append_rule "install install-lib::
18351 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18352 uninstall::
18353 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18354 esac
18357 if test "$srcdir" = .
18358 then
18359 ac_config_commands="$ac_config_commands .gitignore"
18363 $as_echo " done" >&6
18364 cat >confcache <<\_ACEOF
18365 # This file is a shell script that caches the results of configure
18366 # tests run on this system so they can be shared between configure
18367 # scripts and configure runs, see configure's option --config-cache.
18368 # It is not useful on other systems. If it contains results you don't
18369 # want to keep, you may remove or edit it.
18371 # config.status only pays attention to the cache file if you give it
18372 # the --recheck option to rerun configure.
18374 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18375 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18376 # following values.
18378 _ACEOF
18380 # The following way of writing the cache mishandles newlines in values,
18381 # but we know of no workaround that is simple, portable, and efficient.
18382 # So, we kill variables containing newlines.
18383 # Ultrix sh set writes to stderr and can't be redirected directly,
18384 # and sets the high bit in the cache file unless we assign to the vars.
18386 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18387 eval ac_val=\$$ac_var
18388 case $ac_val in #(
18389 *${as_nl}*)
18390 case $ac_var in #(
18391 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18392 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18393 esac
18394 case $ac_var in #(
18395 _ | IFS | as_nl) ;; #(
18396 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18397 *) { eval $ac_var=; unset $ac_var;} ;;
18398 esac ;;
18399 esac
18400 done
18402 (set) 2>&1 |
18403 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18404 *${as_nl}ac_space=\ *)
18405 # `set' does not quote correctly, so add quotes: double-quote
18406 # substitution turns \\\\ into \\, and sed turns \\ into \.
18407 sed -n \
18408 "s/'/'\\\\''/g;
18409 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18410 ;; #(
18412 # `set' quotes correctly as required by POSIX, so do not add quotes.
18413 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18415 esac |
18416 sort
18418 sed '
18419 /^ac_cv_env_/b end
18420 t clear
18421 :clear
18422 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18423 t end
18424 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18425 :end' >>confcache
18426 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18427 if test -w "$cache_file"; then
18428 if test "x$cache_file" != "x/dev/null"; then
18429 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18430 $as_echo "$as_me: updating cache $cache_file" >&6;}
18431 if test ! -f "$cache_file" || test -h "$cache_file"; then
18432 cat confcache >"$cache_file"
18433 else
18434 case $cache_file in #(
18435 */* | ?:*)
18436 mv -f confcache "$cache_file"$$ &&
18437 mv -f "$cache_file"$$ "$cache_file" ;; #(
18439 mv -f confcache "$cache_file" ;;
18440 esac
18443 else
18444 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18445 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18448 rm -f confcache
18450 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18451 # Let make expand exec_prefix.
18452 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18454 DEFS=-DHAVE_CONFIG_H
18456 ac_libobjs=
18457 ac_ltlibobjs=
18459 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18460 # 1. Remove the extension, and $U if already installed.
18461 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18462 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18463 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18464 # will be set to the directory where LIBOBJS objects are built.
18465 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18466 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18467 done
18468 LIBOBJS=$ac_libobjs
18470 LTLIBOBJS=$ac_ltlibobjs
18474 : "${CONFIG_STATUS=./config.status}"
18475 ac_write_fail=0
18476 ac_clean_files_save=$ac_clean_files
18477 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18478 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18479 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18480 as_write_fail=0
18481 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18482 #! $SHELL
18483 # Generated by $as_me.
18484 # Run this file to recreate the current configuration.
18485 # Compiler output produced by configure, useful for debugging
18486 # configure, is in config.log if it exists.
18488 debug=false
18489 ac_cs_recheck=false
18490 ac_cs_silent=false
18492 SHELL=\${CONFIG_SHELL-$SHELL}
18493 export SHELL
18494 _ASEOF
18495 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18496 ## -------------------- ##
18497 ## M4sh Initialization. ##
18498 ## -------------------- ##
18500 # Be more Bourne compatible
18501 DUALCASE=1; export DUALCASE # for MKS sh
18502 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18503 emulate sh
18504 NULLCMD=:
18505 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18506 # is contrary to our usage. Disable this feature.
18507 alias -g '${1+"$@"}'='"$@"'
18508 setopt NO_GLOB_SUBST
18509 else
18510 case `(set -o) 2>/dev/null` in #(
18511 *posix*) :
18512 set -o posix ;; #(
18513 *) :
18515 esac
18519 as_nl='
18521 export as_nl
18522 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18523 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18524 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18525 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18526 # Prefer a ksh shell builtin over an external printf program on Solaris,
18527 # but without wasting forks for bash or zsh.
18528 if test -z "$BASH_VERSION$ZSH_VERSION" \
18529 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18530 as_echo='print -r --'
18531 as_echo_n='print -rn --'
18532 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18533 as_echo='printf %s\n'
18534 as_echo_n='printf %s'
18535 else
18536 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18537 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18538 as_echo_n='/usr/ucb/echo -n'
18539 else
18540 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18541 as_echo_n_body='eval
18542 arg=$1;
18543 case $arg in #(
18544 *"$as_nl"*)
18545 expr "X$arg" : "X\\(.*\\)$as_nl";
18546 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18547 esac;
18548 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18550 export as_echo_n_body
18551 as_echo_n='sh -c $as_echo_n_body as_echo'
18553 export as_echo_body
18554 as_echo='sh -c $as_echo_body as_echo'
18557 # The user is always right.
18558 if test "${PATH_SEPARATOR+set}" != set; then
18559 PATH_SEPARATOR=:
18560 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18561 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18562 PATH_SEPARATOR=';'
18567 # IFS
18568 # We need space, tab and new line, in precisely that order. Quoting is
18569 # there to prevent editors from complaining about space-tab.
18570 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18571 # splitting by setting IFS to empty value.)
18572 IFS=" "" $as_nl"
18574 # Find who we are. Look in the path if we contain no directory separator.
18575 as_myself=
18576 case $0 in #((
18577 *[\\/]* ) as_myself=$0 ;;
18578 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18579 for as_dir in $PATH
18581 IFS=$as_save_IFS
18582 test -z "$as_dir" && as_dir=.
18583 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18584 done
18585 IFS=$as_save_IFS
18588 esac
18589 # We did not find ourselves, most probably we were run as `sh COMMAND'
18590 # in which case we are not to be found in the path.
18591 if test "x$as_myself" = x; then
18592 as_myself=$0
18594 if test ! -f "$as_myself"; then
18595 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18596 exit 1
18599 # Unset variables that we do not need and which cause bugs (e.g. in
18600 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18601 # suppresses any "Segmentation fault" message there. '((' could
18602 # trigger a bug in pdksh 5.2.14.
18603 for as_var in BASH_ENV ENV MAIL MAILPATH
18604 do eval test x\${$as_var+set} = xset \
18605 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18606 done
18607 PS1='$ '
18608 PS2='> '
18609 PS4='+ '
18611 # NLS nuisances.
18612 LC_ALL=C
18613 export LC_ALL
18614 LANGUAGE=C
18615 export LANGUAGE
18617 # CDPATH.
18618 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18621 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18622 # ----------------------------------------
18623 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18624 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18625 # script with STATUS, using 1 if that was 0.
18626 as_fn_error ()
18628 as_status=$1; test $as_status -eq 0 && as_status=1
18629 if test "$4"; then
18630 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18631 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18633 $as_echo "$as_me: error: $2" >&2
18634 as_fn_exit $as_status
18635 } # as_fn_error
18638 # as_fn_set_status STATUS
18639 # -----------------------
18640 # Set $? to STATUS, without forking.
18641 as_fn_set_status ()
18643 return $1
18644 } # as_fn_set_status
18646 # as_fn_exit STATUS
18647 # -----------------
18648 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18649 as_fn_exit ()
18651 set +e
18652 as_fn_set_status $1
18653 exit $1
18654 } # as_fn_exit
18656 # as_fn_unset VAR
18657 # ---------------
18658 # Portably unset VAR.
18659 as_fn_unset ()
18661 { eval $1=; unset $1;}
18663 as_unset=as_fn_unset
18664 # as_fn_append VAR VALUE
18665 # ----------------------
18666 # Append the text in VALUE to the end of the definition contained in VAR. Take
18667 # advantage of any shell optimizations that allow amortized linear growth over
18668 # repeated appends, instead of the typical quadratic growth present in naive
18669 # implementations.
18670 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18671 eval 'as_fn_append ()
18673 eval $1+=\$2
18675 else
18676 as_fn_append ()
18678 eval $1=\$$1\$2
18680 fi # as_fn_append
18682 # as_fn_arith ARG...
18683 # ------------------
18684 # Perform arithmetic evaluation on the ARGs, and store the result in the
18685 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18686 # must be portable across $(()) and expr.
18687 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18688 eval 'as_fn_arith ()
18690 as_val=$(( $* ))
18692 else
18693 as_fn_arith ()
18695 as_val=`expr "$@" || test $? -eq 1`
18697 fi # as_fn_arith
18700 if expr a : '\(a\)' >/dev/null 2>&1 &&
18701 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18702 as_expr=expr
18703 else
18704 as_expr=false
18707 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18708 as_basename=basename
18709 else
18710 as_basename=false
18713 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18714 as_dirname=dirname
18715 else
18716 as_dirname=false
18719 as_me=`$as_basename -- "$0" ||
18720 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18721 X"$0" : 'X\(//\)$' \| \
18722 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18723 $as_echo X/"$0" |
18724 sed '/^.*\/\([^/][^/]*\)\/*$/{
18725 s//\1/
18728 /^X\/\(\/\/\)$/{
18729 s//\1/
18732 /^X\/\(\/\).*/{
18733 s//\1/
18736 s/.*/./; q'`
18738 # Avoid depending upon Character Ranges.
18739 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18740 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18741 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18742 as_cr_digits='0123456789'
18743 as_cr_alnum=$as_cr_Letters$as_cr_digits
18745 ECHO_C= ECHO_N= ECHO_T=
18746 case `echo -n x` in #(((((
18747 -n*)
18748 case `echo 'xy\c'` in
18749 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18750 xy) ECHO_C='\c';;
18751 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18752 ECHO_T=' ';;
18753 esac;;
18755 ECHO_N='-n';;
18756 esac
18758 rm -f conf$$ conf$$.exe conf$$.file
18759 if test -d conf$$.dir; then
18760 rm -f conf$$.dir/conf$$.file
18761 else
18762 rm -f conf$$.dir
18763 mkdir conf$$.dir 2>/dev/null
18765 if (echo >conf$$.file) 2>/dev/null; then
18766 if ln -s conf$$.file conf$$ 2>/dev/null; then
18767 as_ln_s='ln -s'
18768 # ... but there are two gotchas:
18769 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18770 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18771 # In both cases, we have to default to `cp -pR'.
18772 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18773 as_ln_s='cp -pR'
18774 elif ln conf$$.file conf$$ 2>/dev/null; then
18775 as_ln_s=ln
18776 else
18777 as_ln_s='cp -pR'
18779 else
18780 as_ln_s='cp -pR'
18782 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18783 rmdir conf$$.dir 2>/dev/null
18786 # as_fn_mkdir_p
18787 # -------------
18788 # Create "$as_dir" as a directory, including parents if necessary.
18789 as_fn_mkdir_p ()
18792 case $as_dir in #(
18793 -*) as_dir=./$as_dir;;
18794 esac
18795 test -d "$as_dir" || eval $as_mkdir_p || {
18796 as_dirs=
18797 while :; do
18798 case $as_dir in #(
18799 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18800 *) as_qdir=$as_dir;;
18801 esac
18802 as_dirs="'$as_qdir' $as_dirs"
18803 as_dir=`$as_dirname -- "$as_dir" ||
18804 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18805 X"$as_dir" : 'X\(//\)[^/]' \| \
18806 X"$as_dir" : 'X\(//\)$' \| \
18807 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18808 $as_echo X"$as_dir" |
18809 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18810 s//\1/
18813 /^X\(\/\/\)[^/].*/{
18814 s//\1/
18817 /^X\(\/\/\)$/{
18818 s//\1/
18821 /^X\(\/\).*/{
18822 s//\1/
18825 s/.*/./; q'`
18826 test -d "$as_dir" && break
18827 done
18828 test -z "$as_dirs" || eval "mkdir $as_dirs"
18829 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18832 } # as_fn_mkdir_p
18833 if mkdir -p . 2>/dev/null; then
18834 as_mkdir_p='mkdir -p "$as_dir"'
18835 else
18836 test -d ./-p && rmdir ./-p
18837 as_mkdir_p=false
18841 # as_fn_executable_p FILE
18842 # -----------------------
18843 # Test if FILE is an executable regular file.
18844 as_fn_executable_p ()
18846 test -f "$1" && test -x "$1"
18847 } # as_fn_executable_p
18848 as_test_x='test -x'
18849 as_executable_p=as_fn_executable_p
18851 # Sed expression to map a string onto a valid CPP name.
18852 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18854 # Sed expression to map a string onto a valid variable name.
18855 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18858 exec 6>&1
18859 ## ----------------------------------- ##
18860 ## Main body of $CONFIG_STATUS script. ##
18861 ## ----------------------------------- ##
18862 _ASEOF
18863 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18866 # Save the log message, to keep $0 and so on meaningful, and to
18867 # report actual input values of CONFIG_FILES etc. instead of their
18868 # values after options handling.
18869 ac_log="
18870 This file was extended by Wine $as_me 1.9.4, which was
18871 generated by GNU Autoconf 2.69. Invocation command line was
18873 CONFIG_FILES = $CONFIG_FILES
18874 CONFIG_HEADERS = $CONFIG_HEADERS
18875 CONFIG_LINKS = $CONFIG_LINKS
18876 CONFIG_COMMANDS = $CONFIG_COMMANDS
18877 $ $0 $@
18879 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18882 _ACEOF
18884 case $ac_config_files in *"
18885 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18886 esac
18888 case $ac_config_headers in *"
18889 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18890 esac
18893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18894 # Files that config.status was made for.
18895 config_files="$ac_config_files"
18896 config_headers="$ac_config_headers"
18897 config_links="$ac_config_links"
18898 config_commands="$ac_config_commands"
18900 _ACEOF
18902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18903 ac_cs_usage="\
18904 \`$as_me' instantiates files and other configuration actions
18905 from templates according to the current configuration. Unless the files
18906 and actions are specified as TAGs, all are instantiated by default.
18908 Usage: $0 [OPTION]... [TAG]...
18910 -h, --help print this help, then exit
18911 -V, --version print version number and configuration settings, then exit
18912 --config print configuration, then exit
18913 -q, --quiet, --silent
18914 do not print progress messages
18915 -d, --debug don't remove temporary files
18916 --recheck update $as_me by reconfiguring in the same conditions
18917 --file=FILE[:TEMPLATE]
18918 instantiate the configuration file FILE
18919 --header=FILE[:TEMPLATE]
18920 instantiate the configuration header FILE
18922 Configuration files:
18923 $config_files
18925 Configuration headers:
18926 $config_headers
18928 Configuration links:
18929 $config_links
18931 Configuration commands:
18932 $config_commands
18934 Report bugs to <wine-devel@winehq.org>.
18935 Wine home page: <http://www.winehq.org>."
18937 _ACEOF
18938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18939 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18940 ac_cs_version="\\
18941 Wine config.status 1.9.4
18942 configured by $0, generated by GNU Autoconf 2.69,
18943 with options \\"\$ac_cs_config\\"
18945 Copyright (C) 2012 Free Software Foundation, Inc.
18946 This config.status script is free software; the Free Software Foundation
18947 gives unlimited permission to copy, distribute and modify it."
18949 ac_pwd='$ac_pwd'
18950 srcdir='$srcdir'
18951 test -n "\$AWK" || AWK=awk
18952 _ACEOF
18954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18955 # The default lists apply if the user does not specify any file.
18956 ac_need_defaults=:
18957 while test $# != 0
18959 case $1 in
18960 --*=?*)
18961 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18962 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18963 ac_shift=:
18965 --*=)
18966 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18967 ac_optarg=
18968 ac_shift=:
18971 ac_option=$1
18972 ac_optarg=$2
18973 ac_shift=shift
18975 esac
18977 case $ac_option in
18978 # Handling of the options.
18979 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18980 ac_cs_recheck=: ;;
18981 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18982 $as_echo "$ac_cs_version"; exit ;;
18983 --config | --confi | --conf | --con | --co | --c )
18984 $as_echo "$ac_cs_config"; exit ;;
18985 --debug | --debu | --deb | --de | --d | -d )
18986 debug=: ;;
18987 --file | --fil | --fi | --f )
18988 $ac_shift
18989 case $ac_optarg in
18990 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18991 '') as_fn_error $? "missing file argument" ;;
18992 esac
18993 as_fn_append CONFIG_FILES " '$ac_optarg'"
18994 ac_need_defaults=false;;
18995 --header | --heade | --head | --hea )
18996 $ac_shift
18997 case $ac_optarg in
18998 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18999 esac
19000 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19001 ac_need_defaults=false;;
19002 --he | --h)
19003 # Conflict between --help and --header
19004 as_fn_error $? "ambiguous option: \`$1'
19005 Try \`$0 --help' for more information.";;
19006 --help | --hel | -h )
19007 $as_echo "$ac_cs_usage"; exit ;;
19008 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19009 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19010 ac_cs_silent=: ;;
19012 # This is an error.
19013 -*) as_fn_error $? "unrecognized option: \`$1'
19014 Try \`$0 --help' for more information." ;;
19016 *) as_fn_append ac_config_targets " $1"
19017 ac_need_defaults=false ;;
19019 esac
19020 shift
19021 done
19023 ac_configure_extra_args=
19025 if $ac_cs_silent; then
19026 exec 6>/dev/null
19027 ac_configure_extra_args="$ac_configure_extra_args --silent"
19030 _ACEOF
19031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19032 if \$ac_cs_recheck; then
19033 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19034 shift
19035 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19036 CONFIG_SHELL='$SHELL'
19037 export CONFIG_SHELL
19038 exec "\$@"
19041 _ACEOF
19042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19043 exec 5>>config.log
19045 echo
19046 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19047 ## Running $as_me. ##
19048 _ASBOX
19049 $as_echo "$ac_log"
19050 } >&5
19052 _ACEOF
19053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19055 # INIT-COMMANDS
19057 wine_fn_output_makedep ()
19059 as_dir=tools; as_fn_mkdir_p
19060 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19062 wine_fn_output_makefile ()
19064 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19065 `cat $wine_rules_file`
19066 _WINE_EOF
19067 as_fn_error $? "could not create Makefile" "$LINENO" 5
19069 wine_fn_output_gitignore ()
19071 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
19072 $GITIGNORE
19073 _WINE_EOF
19074 as_fn_error $? "could not create .gitignore" "$LINENO" 5
19077 _ACEOF
19079 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19081 # Handling of arguments.
19082 for ac_config_target in $ac_config_targets
19084 case $ac_config_target in
19085 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19086 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19087 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19088 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19089 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19090 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19091 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19092 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19093 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
19094 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19095 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19096 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19097 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19098 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19099 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
19101 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19102 esac
19103 done
19106 # If the user did not use the arguments to specify the items to instantiate,
19107 # then the envvar interface is used. Set only those that are not.
19108 # We use the long form for the default assignment because of an extremely
19109 # bizarre bug on SunOS 4.1.3.
19110 if $ac_need_defaults; then
19111 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19112 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19113 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19114 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19117 # Have a temporary directory for convenience. Make it in the build tree
19118 # simply because there is no reason against having it here, and in addition,
19119 # creating and moving files from /tmp can sometimes cause problems.
19120 # Hook for its removal unless debugging.
19121 # Note that there is a small window in which the directory will not be cleaned:
19122 # after its creation but before its name has been assigned to `$tmp'.
19123 $debug ||
19125 tmp= ac_tmp=
19126 trap 'exit_status=$?
19127 : "${ac_tmp:=$tmp}"
19128 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19130 trap 'as_fn_exit 1' 1 2 13 15
19132 # Create a (secure) tmp directory for tmp files.
19135 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19136 test -d "$tmp"
19137 } ||
19139 tmp=./conf$$-$RANDOM
19140 (umask 077 && mkdir "$tmp")
19141 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19142 ac_tmp=$tmp
19144 # Set up the scripts for CONFIG_FILES section.
19145 # No need to generate them if there are no CONFIG_FILES.
19146 # This happens for instance with `./config.status config.h'.
19147 if test -n "$CONFIG_FILES"; then
19150 ac_cr=`echo X | tr X '\015'`
19151 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19152 # But we know of no other shell where ac_cr would be empty at this
19153 # point, so we can use a bashism as a fallback.
19154 if test "x$ac_cr" = x; then
19155 eval ac_cr=\$\'\\r\'
19157 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19158 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19159 ac_cs_awk_cr='\\r'
19160 else
19161 ac_cs_awk_cr=$ac_cr
19164 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19165 _ACEOF
19169 echo "cat >conf$$subs.awk <<_ACEOF" &&
19170 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19171 echo "_ACEOF"
19172 } >conf$$subs.sh ||
19173 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19174 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19175 ac_delim='%!_!# '
19176 for ac_last_try in false false false false false :; do
19177 . ./conf$$subs.sh ||
19178 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19180 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19181 if test $ac_delim_n = $ac_delim_num; then
19182 break
19183 elif $ac_last_try; then
19184 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19185 else
19186 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19188 done
19189 rm -f conf$$subs.sh
19191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19192 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19193 _ACEOF
19194 sed -n '
19196 s/^/S["/; s/!.*/"]=/
19199 s/^[^!]*!//
19200 :repl
19201 t repl
19202 s/'"$ac_delim"'$//
19203 t delim
19206 s/\(.\{148\}\)..*/\1/
19207 t more1
19208 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19211 b repl
19212 :more1
19213 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19216 s/.\{148\}//
19217 t nl
19218 :delim
19220 s/\(.\{148\}\)..*/\1/
19221 t more2
19222 s/["\\]/\\&/g; s/^/"/; s/$/"/
19225 :more2
19226 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19229 s/.\{148\}//
19230 t delim
19231 ' <conf$$subs.awk | sed '
19232 /^[^""]/{
19234 s/\n//
19236 ' >>$CONFIG_STATUS || ac_write_fail=1
19237 rm -f conf$$subs.awk
19238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19239 _ACAWK
19240 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19241 for (key in S) S_is_set[key] = 1
19242 FS = "\a"
19246 line = $ 0
19247 nfields = split(line, field, "@")
19248 substed = 0
19249 len = length(field[1])
19250 for (i = 2; i < nfields; i++) {
19251 key = field[i]
19252 keylen = length(key)
19253 if (S_is_set[key]) {
19254 value = S[key]
19255 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19256 len += length(value) + length(field[++i])
19257 substed = 1
19258 } else
19259 len += 1 + keylen
19262 print line
19265 _ACAWK
19266 _ACEOF
19267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19268 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19269 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19270 else
19272 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19273 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19274 _ACEOF
19276 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19277 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19278 # trailing colons and then remove the whole line if VPATH becomes empty
19279 # (actually we leave an empty line to preserve line numbers).
19280 if test "x$srcdir" = x.; then
19281 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19283 s///
19284 s/^/:/
19285 s/[ ]*$/:/
19286 s/:\$(srcdir):/:/g
19287 s/:\${srcdir}:/:/g
19288 s/:@srcdir@:/:/g
19289 s/^:*//
19290 s/:*$//
19292 s/\(=[ ]*\).*/\1/
19294 s/\n//
19295 s/^[^=]*=[ ]*$//
19299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19300 fi # test -n "$CONFIG_FILES"
19302 # Set up the scripts for CONFIG_HEADERS section.
19303 # No need to generate them if there are no CONFIG_HEADERS.
19304 # This happens for instance with `./config.status Makefile'.
19305 if test -n "$CONFIG_HEADERS"; then
19306 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19307 BEGIN {
19308 _ACEOF
19310 # Transform confdefs.h into an awk script `defines.awk', embedded as
19311 # here-document in config.status, that substitutes the proper values into
19312 # config.h.in to produce config.h.
19314 # Create a delimiter string that does not exist in confdefs.h, to ease
19315 # handling of long lines.
19316 ac_delim='%!_!# '
19317 for ac_last_try in false false :; do
19318 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19319 if test -z "$ac_tt"; then
19320 break
19321 elif $ac_last_try; then
19322 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19323 else
19324 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19326 done
19328 # For the awk script, D is an array of macro values keyed by name,
19329 # likewise P contains macro parameters if any. Preserve backslash
19330 # newline sequences.
19332 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19333 sed -n '
19334 s/.\{148\}/&'"$ac_delim"'/g
19335 t rset
19336 :rset
19337 s/^[ ]*#[ ]*define[ ][ ]*/ /
19338 t def
19340 :def
19341 s/\\$//
19342 t bsnl
19343 s/["\\]/\\&/g
19344 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19345 D["\1"]=" \3"/p
19346 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19348 :bsnl
19349 s/["\\]/\\&/g
19350 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19351 D["\1"]=" \3\\\\\\n"\\/p
19352 t cont
19353 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19354 t cont
19356 :cont
19358 s/.\{148\}/&'"$ac_delim"'/g
19359 t clear
19360 :clear
19361 s/\\$//
19362 t bsnlc
19363 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19365 :bsnlc
19366 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19367 b cont
19368 ' <confdefs.h | sed '
19369 s/'"$ac_delim"'/"\\\
19370 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19373 for (key in D) D_is_set[key] = 1
19374 FS = "\a"
19376 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19377 line = \$ 0
19378 split(line, arg, " ")
19379 if (arg[1] == "#") {
19380 defundef = arg[2]
19381 mac1 = arg[3]
19382 } else {
19383 defundef = substr(arg[1], 2)
19384 mac1 = arg[2]
19386 split(mac1, mac2, "(") #)
19387 macro = mac2[1]
19388 prefix = substr(line, 1, index(line, defundef) - 1)
19389 if (D_is_set[macro]) {
19390 # Preserve the white space surrounding the "#".
19391 print prefix "define", macro P[macro] D[macro]
19392 next
19393 } else {
19394 # Replace #undef with comments. This is necessary, for example,
19395 # in the case of _POSIX_SOURCE, which is predefined and required
19396 # on some systems where configure will not decide to define it.
19397 if (defundef == "undef") {
19398 print "/*", prefix defundef, macro, "*/"
19399 next
19403 { print }
19404 _ACAWK
19405 _ACEOF
19406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19407 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19408 fi # test -n "$CONFIG_HEADERS"
19411 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19412 shift
19413 for ac_tag
19415 case $ac_tag in
19416 :[FHLC]) ac_mode=$ac_tag; continue;;
19417 esac
19418 case $ac_mode$ac_tag in
19419 :[FHL]*:*);;
19420 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19421 :[FH]-) ac_tag=-:-;;
19422 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19423 esac
19424 ac_save_IFS=$IFS
19425 IFS=:
19426 set x $ac_tag
19427 IFS=$ac_save_IFS
19428 shift
19429 ac_file=$1
19430 shift
19432 case $ac_mode in
19433 :L) ac_source=$1;;
19434 :[FH])
19435 ac_file_inputs=
19436 for ac_f
19438 case $ac_f in
19439 -) ac_f="$ac_tmp/stdin";;
19440 *) # Look for the file first in the build tree, then in the source tree
19441 # (if the path is not absolute). The absolute path cannot be DOS-style,
19442 # because $ac_f cannot contain `:'.
19443 test -f "$ac_f" ||
19444 case $ac_f in
19445 [\\/$]*) false;;
19446 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19447 esac ||
19448 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19449 esac
19450 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19451 as_fn_append ac_file_inputs " '$ac_f'"
19452 done
19454 # Let's still pretend it is `configure' which instantiates (i.e., don't
19455 # use $as_me), people would be surprised to read:
19456 # /* config.h. Generated by config.status. */
19457 configure_input='Generated from '`
19458 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19459 `' by configure.'
19460 if test x"$ac_file" != x-; then
19461 configure_input="$ac_file. $configure_input"
19462 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19463 $as_echo "$as_me: creating $ac_file" >&6;}
19465 # Neutralize special characters interpreted by sed in replacement strings.
19466 case $configure_input in #(
19467 *\&* | *\|* | *\\* )
19468 ac_sed_conf_input=`$as_echo "$configure_input" |
19469 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19470 *) ac_sed_conf_input=$configure_input;;
19471 esac
19473 case $ac_tag in
19474 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19475 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19476 esac
19478 esac
19480 ac_dir=`$as_dirname -- "$ac_file" ||
19481 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19482 X"$ac_file" : 'X\(//\)[^/]' \| \
19483 X"$ac_file" : 'X\(//\)$' \| \
19484 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19485 $as_echo X"$ac_file" |
19486 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19487 s//\1/
19490 /^X\(\/\/\)[^/].*/{
19491 s//\1/
19494 /^X\(\/\/\)$/{
19495 s//\1/
19498 /^X\(\/\).*/{
19499 s//\1/
19502 s/.*/./; q'`
19503 as_dir="$ac_dir"; as_fn_mkdir_p
19504 ac_builddir=.
19506 case "$ac_dir" in
19507 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19509 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19510 # A ".." for each directory in $ac_dir_suffix.
19511 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19512 case $ac_top_builddir_sub in
19513 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19514 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19515 esac ;;
19516 esac
19517 ac_abs_top_builddir=$ac_pwd
19518 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19519 # for backward compatibility:
19520 ac_top_builddir=$ac_top_build_prefix
19522 case $srcdir in
19523 .) # We are building in place.
19524 ac_srcdir=.
19525 ac_top_srcdir=$ac_top_builddir_sub
19526 ac_abs_top_srcdir=$ac_pwd ;;
19527 [\\/]* | ?:[\\/]* ) # Absolute name.
19528 ac_srcdir=$srcdir$ac_dir_suffix;
19529 ac_top_srcdir=$srcdir
19530 ac_abs_top_srcdir=$srcdir ;;
19531 *) # Relative name.
19532 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19533 ac_top_srcdir=$ac_top_build_prefix$srcdir
19534 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19535 esac
19536 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19539 case $ac_mode in
19542 # CONFIG_FILE
19545 _ACEOF
19547 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19548 # If the template does not know about datarootdir, expand it.
19549 # FIXME: This hack should be removed a few years after 2.60.
19550 ac_datarootdir_hack=; ac_datarootdir_seen=
19551 ac_sed_dataroot='
19552 /datarootdir/ {
19556 /@datadir@/p
19557 /@docdir@/p
19558 /@infodir@/p
19559 /@localedir@/p
19560 /@mandir@/p'
19561 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19562 *datarootdir*) ac_datarootdir_seen=yes;;
19563 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19565 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19566 _ACEOF
19567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19568 ac_datarootdir_hack='
19569 s&@datadir@&$datadir&g
19570 s&@docdir@&$docdir&g
19571 s&@infodir@&$infodir&g
19572 s&@localedir@&$localedir&g
19573 s&@mandir@&$mandir&g
19574 s&\\\${datarootdir}&$datarootdir&g' ;;
19575 esac
19576 _ACEOF
19578 # Neutralize VPATH when `$srcdir' = `.'.
19579 # Shell code in configure.ac might set extrasub.
19580 # FIXME: do we really want to maintain this feature?
19581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19582 ac_sed_extra="$ac_vpsub
19583 $extrasub
19584 _ACEOF
19585 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19587 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19588 s|@configure_input@|$ac_sed_conf_input|;t t
19589 s&@top_builddir@&$ac_top_builddir_sub&;t t
19590 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19591 s&@srcdir@&$ac_srcdir&;t t
19592 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19593 s&@top_srcdir@&$ac_top_srcdir&;t t
19594 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19595 s&@builddir@&$ac_builddir&;t t
19596 s&@abs_builddir@&$ac_abs_builddir&;t t
19597 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19598 $ac_datarootdir_hack
19600 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19601 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19603 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19604 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19605 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19606 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19608 which seems to be undefined. Please make sure it is defined" >&5
19609 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19610 which seems to be undefined. Please make sure it is defined" >&2;}
19612 rm -f "$ac_tmp/stdin"
19613 case $ac_file in
19614 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19615 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19616 esac \
19617 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19621 # CONFIG_HEADER
19623 if test x"$ac_file" != x-; then
19625 $as_echo "/* $configure_input */" \
19626 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19627 } >"$ac_tmp/config.h" \
19628 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19629 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19630 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19631 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19632 else
19633 rm -f "$ac_file"
19634 mv "$ac_tmp/config.h" "$ac_file" \
19635 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19637 else
19638 $as_echo "/* $configure_input */" \
19639 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19640 || as_fn_error $? "could not create -" "$LINENO" 5
19645 # CONFIG_LINK
19648 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19650 else
19651 # Prefer the file from the source tree if names are identical.
19652 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19653 ac_source=$srcdir/$ac_source
19656 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19657 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19659 if test ! -r "$ac_source"; then
19660 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19662 rm -f "$ac_file"
19664 # Try a relative symlink, then a hard link, then a copy.
19665 case $ac_source in
19666 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19667 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19668 esac
19669 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19670 ln "$ac_source" "$ac_file" 2>/dev/null ||
19671 cp -p "$ac_source" "$ac_file" ||
19672 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19675 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19676 $as_echo "$as_me: executing $ac_file commands" >&6;}
19678 esac
19681 case $ac_file$ac_mode in
19682 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19683 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19684 "Makefile":C) wine_fn_output_makefile Makefile ;;
19685 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19687 esac
19688 done # for ac_tag
19691 as_fn_exit 0
19692 _ACEOF
19693 ac_clean_files=$ac_clean_files_save
19695 test $ac_write_fail = 0 ||
19696 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19699 # configure is writing to config.log, and then calls config.status.
19700 # config.status does its own redirection, appending to config.log.
19701 # Unfortunately, on DOS this fails, as config.log is still kept open
19702 # by configure, so config.status won't be able to write to it; its
19703 # output is simply discarded. So we exec the FD to /dev/null,
19704 # effectively closing config.log, so it can be properly (re)opened and
19705 # appended to by config.status. When coming back to configure, we
19706 # need to make the FD available again.
19707 if test "$no_create" != yes; then
19708 ac_cs_success=:
19709 ac_config_status_args=
19710 test "$silent" = yes &&
19711 ac_config_status_args="$ac_config_status_args --quiet"
19712 exec 5>/dev/null
19713 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19714 exec 5>>config.log
19715 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19716 # would make configure fail if this is the last instruction.
19717 $ac_cs_success || as_fn_exit 1
19719 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19721 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19725 if test "$no_create" = "yes"
19726 then
19727 exit 0
19730 ac_save_IFS="$IFS"
19731 if test "x$wine_notices" != x; then
19732 echo >&6
19733 IFS="|"
19734 for msg in $wine_notices; do
19735 IFS="$ac_save_IFS"
19736 if ${msg:+false} :; then :
19738 else
19739 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19740 $as_echo "$as_me: $msg" >&6;}
19742 done
19744 IFS="|"
19745 for msg in $wine_warnings; do
19746 IFS="$ac_save_IFS"
19747 if ${msg:+false} :; then :
19749 else
19750 echo >&2
19751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19752 $as_echo "$as_me: WARNING: $msg" >&2;}
19754 done
19755 IFS="$ac_save_IFS"
19757 $as_echo "
19758 $as_me: Finished. Do '${ac_make}' to compile Wine.
19759 " >&6