d3d11: Implement d3d11_texture2d_GetDevice.
[wine.git] / configure
blobafa7bb4472c8bf4cf8d15ffacc592a02612ace19
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.50.
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.7.50'
584 PACKAGE_STRING='Wine 1.7.50'
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 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
708 OTOOL
710 LDRPATH_LOCAL
711 LDRPATH_INSTALL
712 DLLFLAGS
713 DLLPREFIX
714 dlldir
716 OPENGL_LIBS
717 ICOTOOL
718 CONVERT
719 RSVG
720 FONTFORGE
721 PKG_CONFIG
722 MSGFMT
723 LDCONFIG
724 EGREP
725 GREP
726 LN_S
727 RANLIB
728 ARFLAGS
729 STRIP
730 ac_ct_AR
732 BISON
733 FLEX
734 TOOLSDIR
735 TARGETFLAGS
737 CPPBIN
738 ac_ct_CXX
739 CXXFLAGS
741 OBJEXT
742 EXEEXT
743 ac_ct_CC
744 CPPFLAGS
745 LDFLAGS
746 CFLAGS
748 SET_MAKE
749 host_os
750 host_vendor
751 host_cpu
752 host
753 build_os
754 build_vendor
755 build_cpu
756 build
757 target_alias
758 host_alias
759 build_alias
760 LIBS
761 ECHO_T
762 ECHO_N
763 ECHO_C
764 DEFS
765 mandir
766 localedir
767 libdir
768 psdir
769 pdfdir
770 dvidir
771 htmldir
772 infodir
773 docdir
774 oldincludedir
775 includedir
776 localstatedir
777 sharedstatedir
778 sysconfdir
779 datadir
780 datarootdir
781 libexecdir
782 sbindir
783 bindir
784 program_transform_name
785 prefix
786 exec_prefix
787 PACKAGE_URL
788 PACKAGE_BUGREPORT
789 PACKAGE_STRING
790 PACKAGE_VERSION
791 PACKAGE_TARNAME
792 PACKAGE_NAME
793 PATH_SEPARATOR
794 SHELL'
795 ac_subst_files=''
796 ac_user_opts='
797 enable_option_checking
798 enable_win16
799 enable_win64
800 enable_tests
801 enable_maintainer_mode
802 with_alsa
803 with_capi
804 with_cms
805 with_coreaudio
806 with_cups
807 with_curses
808 with_dbus
809 with_fontconfig
810 with_freetype
811 with_gettext
812 with_gettextpo
813 with_gphoto
814 with_glu
815 with_gnutls
816 with_gsm
817 with_gstreamer
818 with_hal
819 with_jpeg
820 with_ldap
821 with_mpg123
822 with_netapi
823 with_openal
824 with_opencl
825 with_opengl
826 with_osmesa
827 with_oss
828 with_pcap
829 with_png
830 with_pthread
831 with_sane
832 with_tiff
833 with_v4l
834 with_xcomposite
835 with_xcursor
836 with_xinerama
837 with_xinput
838 with_xinput2
839 with_xml
840 with_xrandr
841 with_xrender
842 with_xshape
843 with_xshm
844 with_xslt
845 with_xxf86vm
846 with_zlib
847 with_wine_tools
848 with_wine64
849 enable_largefile
850 with_x
851 enable_acledit
852 enable_aclui
853 enable_activeds
854 enable_actxprxy
855 enable_advapi32
856 enable_advpack
857 enable_amstream
858 enable_api_ms_win_core_com_l1_1_0
859 enable_api_ms_win_core_console_l1_1_0
860 enable_api_ms_win_core_datetime_l1_1_0
861 enable_api_ms_win_core_datetime_l1_1_1
862 enable_api_ms_win_core_debug_l1_1_0
863 enable_api_ms_win_core_debug_l1_1_1
864 enable_api_ms_win_core_errorhandling_l1_1_0
865 enable_api_ms_win_core_errorhandling_l1_1_1
866 enable_api_ms_win_core_errorhandling_l1_1_2
867 enable_api_ms_win_core_fibers_l1_1_0
868 enable_api_ms_win_core_fibers_l1_1_1
869 enable_api_ms_win_core_file_l1_1_0
870 enable_api_ms_win_core_file_l1_2_0
871 enable_api_ms_win_core_file_l2_1_0
872 enable_api_ms_win_core_file_l2_1_1
873 enable_api_ms_win_core_handle_l1_1_0
874 enable_api_ms_win_core_heap_l1_1_0
875 enable_api_ms_win_core_heap_l1_2_0
876 enable_api_ms_win_core_heap_obsolete_l1_1_0
877 enable_api_ms_win_core_interlocked_l1_1_0
878 enable_api_ms_win_core_interlocked_l1_2_0
879 enable_api_ms_win_core_io_l1_1_1
880 enable_api_ms_win_core_kernel32_legacy_l1_1_0
881 enable_api_ms_win_core_libraryloader_l1_1_0
882 enable_api_ms_win_core_libraryloader_l1_1_1
883 enable_api_ms_win_core_localization_l1_2_0
884 enable_api_ms_win_core_localization_l1_2_1
885 enable_api_ms_win_core_localization_obsolete_l1_1_0
886 enable_api_ms_win_core_localregistry_l1_1_0
887 enable_api_ms_win_core_memory_l1_1_0
888 enable_api_ms_win_core_memory_l1_1_1
889 enable_api_ms_win_core_misc_l1_1_0
890 enable_api_ms_win_core_namedpipe_l1_1_0
891 enable_api_ms_win_core_namedpipe_l1_2_0
892 enable_api_ms_win_core_processenvironment_l1_1_0
893 enable_api_ms_win_core_processenvironment_l1_2_0
894 enable_api_ms_win_core_processthreads_l1_1_0
895 enable_api_ms_win_core_processthreads_l1_1_1
896 enable_api_ms_win_core_processthreads_l1_1_2
897 enable_api_ms_win_core_profile_l1_1_0
898 enable_api_ms_win_core_psapi_l1_1_0
899 enable_api_ms_win_core_registry_l1_1_0
900 enable_api_ms_win_core_rtlsupport_l1_1_0
901 enable_api_ms_win_core_rtlsupport_l1_2_0
902 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
903 enable_api_ms_win_core_string_l1_1_0
904 enable_api_ms_win_core_synch_l1_1_0
905 enable_api_ms_win_core_synch_l1_2_0
906 enable_api_ms_win_core_sysinfo_l1_1_0
907 enable_api_ms_win_core_sysinfo_l1_2_0
908 enable_api_ms_win_core_sysinfo_l1_2_1
909 enable_api_ms_win_core_threadpool_legacy_l1_1_0
910 enable_api_ms_win_core_timezone_l1_1_0
911 enable_api_ms_win_core_url_l1_1_0
912 enable_api_ms_win_core_util_l1_1_0
913 enable_api_ms_win_core_winrt_error_l1_1_0
914 enable_api_ms_win_core_winrt_error_l1_1_1
915 enable_api_ms_win_core_winrt_l1_1_0
916 enable_api_ms_win_core_winrt_string_l1_1_0
917 enable_api_ms_win_core_xstate_l2_1_0
918 enable_api_ms_win_crt_conio_l1_1_0
919 enable_api_ms_win_crt_convert_l1_1_0
920 enable_api_ms_win_crt_environment_l1_1_0
921 enable_api_ms_win_crt_filesystem_l1_1_0
922 enable_api_ms_win_crt_heap_l1_1_0
923 enable_api_ms_win_crt_locale_l1_1_0
924 enable_api_ms_win_crt_math_l1_1_0
925 enable_api_ms_win_crt_multibyte_l1_1_0
926 enable_api_ms_win_crt_private_l1_1_0
927 enable_api_ms_win_crt_process_l1_1_0
928 enable_api_ms_win_crt_runtime_l1_1_0
929 enable_api_ms_win_crt_stdio_l1_1_0
930 enable_api_ms_win_crt_string_l1_1_0
931 enable_api_ms_win_crt_time_l1_1_0
932 enable_api_ms_win_crt_utility_l1_1_0
933 enable_api_ms_win_downlevel_advapi32_l1_1_0
934 enable_api_ms_win_downlevel_advapi32_l2_1_0
935 enable_api_ms_win_downlevel_normaliz_l1_1_0
936 enable_api_ms_win_downlevel_ole32_l1_1_0
937 enable_api_ms_win_downlevel_shell32_l1_1_0
938 enable_api_ms_win_downlevel_shlwapi_l1_1_0
939 enable_api_ms_win_downlevel_shlwapi_l2_1_0
940 enable_api_ms_win_downlevel_user32_l1_1_0
941 enable_api_ms_win_downlevel_version_l1_1_0
942 enable_api_ms_win_eventing_provider_l1_1_0
943 enable_api_ms_win_ntuser_dc_access_l1_1_0
944 enable_api_ms_win_security_base_l1_1_0
945 enable_api_ms_win_security_base_l1_2_0
946 enable_api_ms_win_security_sddl_l1_1_0
947 enable_api_ms_win_service_core_l1_1_1
948 enable_api_ms_win_service_management_l1_1_0
949 enable_api_ms_win_service_winsvc_l1_2_0
950 enable_apphelp
951 enable_appwiz_cpl
952 enable_atl
953 enable_atl100
954 enable_atl110
955 enable_atl80
956 enable_atl90
957 enable_authz
958 enable_avicap32
959 enable_avifil32
960 enable_avrt
961 enable_bcrypt
962 enable_browseui
963 enable_cabinet
964 enable_capi2032
965 enable_cards
966 enable_cfgmgr32
967 enable_clusapi
968 enable_combase
969 enable_comcat
970 enable_comctl32
971 enable_comdlg32
972 enable_compstui
973 enable_comsvcs
974 enable_connect
975 enable_credui
976 enable_crtdll
977 enable_crypt32
978 enable_cryptdlg
979 enable_cryptdll
980 enable_cryptext
981 enable_cryptnet
982 enable_cryptui
983 enable_ctapi32
984 enable_ctl3d32
985 enable_d2d1
986 enable_d3d10
987 enable_d3d10_1
988 enable_d3d10core
989 enable_d3d11
990 enable_d3d8
991 enable_d3d9
992 enable_d3dcompiler_33
993 enable_d3dcompiler_34
994 enable_d3dcompiler_35
995 enable_d3dcompiler_36
996 enable_d3dcompiler_37
997 enable_d3dcompiler_38
998 enable_d3dcompiler_39
999 enable_d3dcompiler_40
1000 enable_d3dcompiler_41
1001 enable_d3dcompiler_42
1002 enable_d3dcompiler_43
1003 enable_d3dcompiler_46
1004 enable_d3dcompiler_47
1005 enable_d3dim
1006 enable_d3drm
1007 enable_d3dx10_33
1008 enable_d3dx10_34
1009 enable_d3dx10_35
1010 enable_d3dx10_36
1011 enable_d3dx10_37
1012 enable_d3dx10_38
1013 enable_d3dx10_39
1014 enable_d3dx10_40
1015 enable_d3dx10_41
1016 enable_d3dx10_42
1017 enable_d3dx10_43
1018 enable_d3dx11_42
1019 enable_d3dx11_43
1020 enable_d3dx9_24
1021 enable_d3dx9_25
1022 enable_d3dx9_26
1023 enable_d3dx9_27
1024 enable_d3dx9_28
1025 enable_d3dx9_29
1026 enable_d3dx9_30
1027 enable_d3dx9_31
1028 enable_d3dx9_32
1029 enable_d3dx9_33
1030 enable_d3dx9_34
1031 enable_d3dx9_35
1032 enable_d3dx9_36
1033 enable_d3dx9_37
1034 enable_d3dx9_38
1035 enable_d3dx9_39
1036 enable_d3dx9_40
1037 enable_d3dx9_41
1038 enable_d3dx9_42
1039 enable_d3dx9_43
1040 enable_d3dxof
1041 enable_davclnt
1042 enable_dbgeng
1043 enable_dbghelp
1044 enable_dciman32
1045 enable_ddraw
1046 enable_ddrawex
1047 enable_devenum
1048 enable_dhcpcsvc
1049 enable_difxapi
1050 enable_dinput
1051 enable_dinput8
1052 enable_dispex
1053 enable_dmband
1054 enable_dmcompos
1055 enable_dmime
1056 enable_dmloader
1057 enable_dmscript
1058 enable_dmstyle
1059 enable_dmsynth
1060 enable_dmusic
1061 enable_dmusic32
1062 enable_dnsapi
1063 enable_dplay
1064 enable_dplayx
1065 enable_dpnaddr
1066 enable_dpnet
1067 enable_dpnhpast
1068 enable_dpnlobby
1069 enable_dpvoice
1070 enable_dpwsockx
1071 enable_drmclien
1072 enable_dsound
1073 enable_dssenh
1074 enable_dswave
1075 enable_dwmapi
1076 enable_dwrite
1077 enable_dxdiagn
1078 enable_dxgi
1079 enable_dxva2
1080 enable_evr
1081 enable_explorerframe
1082 enable_ext_ms_win_gdi_devcaps_l1_1_0
1083 enable_faultrep
1084 enable_fltlib
1085 enable_fntcache
1086 enable_fontsub
1087 enable_fusion
1088 enable_fwpuclnt
1089 enable_gameux
1090 enable_gdi32
1091 enable_gdiplus
1092 enable_glu32
1093 enable_gphoto2_ds
1094 enable_gpkcsp
1095 enable_hal
1096 enable_hhctrl_ocx
1097 enable_hid
1098 enable_hidclass_sys
1099 enable_hlink
1100 enable_hnetcfg
1101 enable_httpapi
1102 enable_iccvid
1103 enable_icmp
1104 enable_ieframe
1105 enable_imaadp32_acm
1106 enable_imagehlp
1107 enable_imm32
1108 enable_inetcomm
1109 enable_inetcpl_cpl
1110 enable_inetmib1
1111 enable_infosoft
1112 enable_initpki
1113 enable_inkobj
1114 enable_inseng
1115 enable_iphlpapi
1116 enable_itircl
1117 enable_itss
1118 enable_joy_cpl
1119 enable_jscript
1120 enable_jsproxy
1121 enable_kernel32
1122 enable_ksuser
1123 enable_ktmw32
1124 enable_loadperf
1125 enable_localspl
1126 enable_localui
1127 enable_lz32
1128 enable_mapi32
1129 enable_mapistub
1130 enable_mciavi32
1131 enable_mcicda
1132 enable_mciqtz32
1133 enable_mciseq
1134 enable_mciwave
1135 enable_mf
1136 enable_mfplat
1137 enable_mfreadwrite
1138 enable_mgmtapi
1139 enable_midimap
1140 enable_mlang
1141 enable_mmcndmgr
1142 enable_mmdevapi
1143 enable_mountmgr_sys
1144 enable_mpr
1145 enable_mprapi
1146 enable_msacm32_drv
1147 enable_msacm32
1148 enable_msadp32_acm
1149 enable_msasn1
1150 enable_mscat32
1151 enable_mscms
1152 enable_mscoree
1153 enable_msctf
1154 enable_msctfp
1155 enable_msdaps
1156 enable_msdmo
1157 enable_msftedit
1158 enable_msg711_acm
1159 enable_msgsm32_acm
1160 enable_mshtml_tlb
1161 enable_mshtml
1162 enable_msi
1163 enable_msident
1164 enable_msimg32
1165 enable_msimsg
1166 enable_msimtf
1167 enable_msisip
1168 enable_msisys_ocx
1169 enable_msls31
1170 enable_msnet32
1171 enable_mspatcha
1172 enable_msrle32
1173 enable_msscript_ocx
1174 enable_mssign32
1175 enable_mssip32
1176 enable_mstask
1177 enable_msvcirt
1178 enable_msvcm80
1179 enable_msvcm90
1180 enable_msvcp100
1181 enable_msvcp110
1182 enable_msvcp120
1183 enable_msvcp120_app
1184 enable_msvcp60
1185 enable_msvcp70
1186 enable_msvcp71
1187 enable_msvcp80
1188 enable_msvcp90
1189 enable_msvcr100
1190 enable_msvcr110
1191 enable_msvcr120
1192 enable_msvcr120_app
1193 enable_msvcr70
1194 enable_msvcr71
1195 enable_msvcr80
1196 enable_msvcr90
1197 enable_msvcrt
1198 enable_msvcrt20
1199 enable_msvcrt40
1200 enable_msvcrtd
1201 enable_msvfw32
1202 enable_msvidc32
1203 enable_mswsock
1204 enable_msxml
1205 enable_msxml2
1206 enable_msxml3
1207 enable_msxml4
1208 enable_msxml6
1209 enable_nddeapi
1210 enable_ndis_sys
1211 enable_netapi32
1212 enable_netcfgx
1213 enable_netprofm
1214 enable_newdev
1215 enable_normaliz
1216 enable_npmshtml
1217 enable_npptools
1218 enable_ntdll
1219 enable_ntdsapi
1220 enable_ntoskrnl_exe
1221 enable_ntprint
1222 enable_objsel
1223 enable_odbc32
1224 enable_odbccp32
1225 enable_odbccu32
1226 enable_ole32
1227 enable_oleacc
1228 enable_oleaut32
1229 enable_olecli32
1230 enable_oledb32
1231 enable_oledlg
1232 enable_olepro32
1233 enable_olesvr32
1234 enable_olethk32
1235 enable_openal32
1236 enable_opencl
1237 enable_opengl32
1238 enable_packager
1239 enable_pdh
1240 enable_photometadatahandler
1241 enable_pidgen
1242 enable_powrprof
1243 enable_printui
1244 enable_prntvpt
1245 enable_propsys
1246 enable_psapi
1247 enable_pstorec
1248 enable_qcap
1249 enable_qedit
1250 enable_qmgr
1251 enable_qmgrprxy
1252 enable_quartz
1253 enable_query
1254 enable_rasapi32
1255 enable_rasdlg
1256 enable_regapi
1257 enable_resutils
1258 enable_riched20
1259 enable_riched32
1260 enable_rpcrt4
1261 enable_rsabase
1262 enable_rsaenh
1263 enable_rstrtmgr
1264 enable_rtutils
1265 enable_samlib
1266 enable_sane_ds
1267 enable_scarddlg
1268 enable_sccbase
1269 enable_schannel
1270 enable_schedsvc
1271 enable_scrrun
1272 enable_scsiport_sys
1273 enable_secur32
1274 enable_security
1275 enable_sensapi
1276 enable_serialui
1277 enable_setupapi
1278 enable_sfc
1279 enable_sfc_os
1280 enable_shdoclc
1281 enable_shdocvw
1282 enable_shell32
1283 enable_shfolder
1284 enable_shlwapi
1285 enable_slbcsp
1286 enable_slc
1287 enable_snmpapi
1288 enable_softpub
1289 enable_spoolss
1290 enable_stdole2_tlb
1291 enable_stdole32_tlb
1292 enable_sti
1293 enable_svrapi
1294 enable_sxs
1295 enable_t2embed
1296 enable_tapi32
1297 enable_taskschd
1298 enable_traffic
1299 enable_twain_32
1300 enable_ucrtbase
1301 enable_unicows
1302 enable_updspapi
1303 enable_url
1304 enable_urlmon
1305 enable_usbd_sys
1306 enable_user32
1307 enable_userenv
1308 enable_usp10
1309 enable_uxtheme
1310 enable_vbscript
1311 enable_vcomp
1312 enable_vcomp100
1313 enable_vcomp110
1314 enable_vcomp90
1315 enable_vdmdbg
1316 enable_version
1317 enable_vssapi
1318 enable_wbemdisp
1319 enable_wbemprox
1320 enable_webservices
1321 enable_wer
1322 enable_wevtapi
1323 enable_wiaservc
1324 enable_windowscodecs
1325 enable_windowscodecsext
1326 enable_winealsa_drv
1327 enable_winecoreaudio_drv
1328 enable_wined3d
1329 enable_winegstreamer
1330 enable_winejoystick_drv
1331 enable_winemac_drv
1332 enable_winemapi
1333 enable_winemp3_acm
1334 enable_wineoss_drv
1335 enable_wineps_drv
1336 enable_wineqtdecoder
1337 enable_winex11_drv
1338 enable_wing32
1339 enable_winhttp
1340 enable_wininet
1341 enable_winmm
1342 enable_winnls32
1343 enable_winscard
1344 enable_winspool_drv
1345 enable_winsta
1346 enable_wintab32
1347 enable_wintrust
1348 enable_wlanapi
1349 enable_wldap32
1350 enable_wmi
1351 enable_wmiutils
1352 enable_wmp
1353 enable_wmvcore
1354 enable_wnaspi32
1355 enable_wpcap
1356 enable_ws2_32
1357 enable_wshom_ocx
1358 enable_wsnmp32
1359 enable_wsock32
1360 enable_wtsapi32
1361 enable_wuapi
1362 enable_wuaueng
1363 enable_x3daudio1_1
1364 enable_x3daudio1_2
1365 enable_x3daudio1_3
1366 enable_x3daudio1_4
1367 enable_x3daudio1_5
1368 enable_x3daudio1_6
1369 enable_x3daudio1_7
1370 enable_xapofx1_1
1371 enable_xapofx1_3
1372 enable_xapofx1_4
1373 enable_xapofx1_5
1374 enable_xaudio2_7
1375 enable_xaudio2_8
1376 enable_xinput1_1
1377 enable_xinput1_2
1378 enable_xinput1_3
1379 enable_xinput1_4
1380 enable_xinput9_1_0
1381 enable_xmllite
1382 enable_xolehlp
1383 enable_xpsprint
1384 enable_xpssvcs
1385 enable_documentation
1386 enable_fonts
1387 enable_include
1388 enable_libs_port
1389 enable_libs_wine
1390 enable_libs_wpp
1391 enable_loader
1392 enable_arp
1393 enable_aspnet_regiis
1394 enable_attrib
1395 enable_cabarc
1396 enable_cacls
1397 enable_clock
1398 enable_cmd
1399 enable_conhost
1400 enable_control
1401 enable_cscript
1402 enable_dpnsvr
1403 enable_dxdiag
1404 enable_eject
1405 enable_expand
1406 enable_explorer
1407 enable_extrac32
1408 enable_findstr
1409 enable_hh
1410 enable_hostname
1411 enable_icinfo
1412 enable_iexplore
1413 enable_ipconfig
1414 enable_lodctr
1415 enable_mofcomp
1416 enable_mshta
1417 enable_msiexec
1418 enable_net
1419 enable_netsh
1420 enable_netstat
1421 enable_ngen
1422 enable_notepad
1423 enable_oleview
1424 enable_ping
1425 enable_plugplay
1426 enable_presentationfontcache
1427 enable_progman
1428 enable_reg
1429 enable_regasm
1430 enable_regedit
1431 enable_regsvcs
1432 enable_regsvr32
1433 enable_rpcss
1434 enable_rundll32
1435 enable_sc
1436 enable_schtasks
1437 enable_sdbinst
1438 enable_secedit
1439 enable_servicemodelreg
1440 enable_services
1441 enable_spoolsv
1442 enable_start
1443 enable_svchost
1444 enable_systeminfo
1445 enable_taskkill
1446 enable_tasklist
1447 enable_taskmgr
1448 enable_termsv
1449 enable_uninstaller
1450 enable_unlodctr
1451 enable_view
1452 enable_wevtutil
1453 enable_wineboot
1454 enable_winebrowser
1455 enable_winecfg
1456 enable_wineconsole
1457 enable_winedbg
1458 enable_winedevice
1459 enable_winefile
1460 enable_winemenubuilder
1461 enable_winemine
1462 enable_winemsibuilder
1463 enable_winepath
1464 enable_winetest
1465 enable_winhlp32
1466 enable_winver
1467 enable_wmic
1468 enable_wordpad
1469 enable_write
1470 enable_wscript
1471 enable_wusa
1472 enable_xcopy
1473 enable_server
1474 enable_tools
1476 ac_precious_vars='build_alias
1477 host_alias
1478 target_alias
1480 CFLAGS
1481 LDFLAGS
1482 LIBS
1483 CPPFLAGS
1485 CXXFLAGS
1488 XMKMF
1489 XML2_CFLAGS
1490 XML2_LIBS
1491 XSLT_CFLAGS
1492 XSLT_LIBS
1493 DBUS_CFLAGS
1494 DBUS_LIBS
1495 HAL_CFLAGS
1496 HAL_LIBS
1497 GNUTLS_CFLAGS
1498 GNUTLS_LIBS
1499 SANE_CFLAGS
1500 SANE_LIBS
1501 GPHOTO2_CFLAGS
1502 GPHOTO2_LIBS
1503 GPHOTO2_PORT_CFLAGS
1504 GPHOTO2_PORT_LIBS
1505 LCMS2_CFLAGS
1506 LCMS2_LIBS
1507 FREETYPE_CFLAGS
1508 FREETYPE_LIBS
1509 GSTREAMER_CFLAGS
1510 GSTREAMER_LIBS
1511 CAPI20_CFLAGS
1512 CAPI20_LIBS
1513 FONTCONFIG_CFLAGS
1514 FONTCONFIG_LIBS
1515 JPEG_CFLAGS
1516 JPEG_LIBS
1517 PNG_CFLAGS
1518 PNG_LIBS
1519 TIFF_CFLAGS
1520 TIFF_LIBS
1521 MPG123_CFLAGS
1522 MPG123_LIBS'
1525 # Initialize some variables set by options.
1526 ac_init_help=
1527 ac_init_version=false
1528 ac_unrecognized_opts=
1529 ac_unrecognized_sep=
1530 # The variables have the same names as the options, with
1531 # dashes changed to underlines.
1532 cache_file=/dev/null
1533 exec_prefix=NONE
1534 no_create=
1535 no_recursion=
1536 prefix=NONE
1537 program_prefix=NONE
1538 program_suffix=NONE
1539 program_transform_name=s,x,x,
1540 silent=
1541 site=
1542 srcdir=
1543 verbose=
1544 x_includes=NONE
1545 x_libraries=NONE
1547 # Installation directory options.
1548 # These are left unexpanded so users can "make install exec_prefix=/foo"
1549 # and all the variables that are supposed to be based on exec_prefix
1550 # by default will actually change.
1551 # Use braces instead of parens because sh, perl, etc. also accept them.
1552 # (The list follows the same order as the GNU Coding Standards.)
1553 bindir='${exec_prefix}/bin'
1554 sbindir='${exec_prefix}/sbin'
1555 libexecdir='${exec_prefix}/libexec'
1556 datarootdir='${prefix}/share'
1557 datadir='${datarootdir}'
1558 sysconfdir='${prefix}/etc'
1559 sharedstatedir='${prefix}/com'
1560 localstatedir='${prefix}/var'
1561 includedir='${prefix}/include'
1562 oldincludedir='/usr/include'
1563 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1564 infodir='${datarootdir}/info'
1565 htmldir='${docdir}'
1566 dvidir='${docdir}'
1567 pdfdir='${docdir}'
1568 psdir='${docdir}'
1569 libdir='${exec_prefix}/lib'
1570 localedir='${datarootdir}/locale'
1571 mandir='${datarootdir}/man'
1573 ac_prev=
1574 ac_dashdash=
1575 for ac_option
1577 # If the previous option needs an argument, assign it.
1578 if test -n "$ac_prev"; then
1579 eval $ac_prev=\$ac_option
1580 ac_prev=
1581 continue
1584 case $ac_option in
1585 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1586 *=) ac_optarg= ;;
1587 *) ac_optarg=yes ;;
1588 esac
1590 # Accept the important Cygnus configure options, so we can diagnose typos.
1592 case $ac_dashdash$ac_option in
1594 ac_dashdash=yes ;;
1596 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1597 ac_prev=bindir ;;
1598 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1599 bindir=$ac_optarg ;;
1601 -build | --build | --buil | --bui | --bu)
1602 ac_prev=build_alias ;;
1603 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1604 build_alias=$ac_optarg ;;
1606 -cache-file | --cache-file | --cache-fil | --cache-fi \
1607 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1608 ac_prev=cache_file ;;
1609 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1610 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1611 cache_file=$ac_optarg ;;
1613 --config-cache | -C)
1614 cache_file=config.cache ;;
1616 -datadir | --datadir | --datadi | --datad)
1617 ac_prev=datadir ;;
1618 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1619 datadir=$ac_optarg ;;
1621 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1622 | --dataroo | --dataro | --datar)
1623 ac_prev=datarootdir ;;
1624 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1625 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1626 datarootdir=$ac_optarg ;;
1628 -disable-* | --disable-*)
1629 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1630 # Reject names that are not valid shell variable names.
1631 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1632 as_fn_error $? "invalid feature name: $ac_useropt"
1633 ac_useropt_orig=$ac_useropt
1634 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1635 case $ac_user_opts in
1637 "enable_$ac_useropt"
1638 "*) ;;
1639 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1640 ac_unrecognized_sep=', ';;
1641 esac
1642 eval enable_$ac_useropt=no ;;
1644 -docdir | --docdir | --docdi | --doc | --do)
1645 ac_prev=docdir ;;
1646 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1647 docdir=$ac_optarg ;;
1649 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1650 ac_prev=dvidir ;;
1651 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1652 dvidir=$ac_optarg ;;
1654 -enable-* | --enable-*)
1655 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1656 # Reject names that are not valid shell variable names.
1657 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1658 as_fn_error $? "invalid feature name: $ac_useropt"
1659 ac_useropt_orig=$ac_useropt
1660 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1661 case $ac_user_opts in
1663 "enable_$ac_useropt"
1664 "*) ;;
1665 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1666 ac_unrecognized_sep=', ';;
1667 esac
1668 eval enable_$ac_useropt=\$ac_optarg ;;
1670 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1671 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1672 | --exec | --exe | --ex)
1673 ac_prev=exec_prefix ;;
1674 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1675 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1676 | --exec=* | --exe=* | --ex=*)
1677 exec_prefix=$ac_optarg ;;
1679 -gas | --gas | --ga | --g)
1680 # Obsolete; use --with-gas.
1681 with_gas=yes ;;
1683 -help | --help | --hel | --he | -h)
1684 ac_init_help=long ;;
1685 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1686 ac_init_help=recursive ;;
1687 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1688 ac_init_help=short ;;
1690 -host | --host | --hos | --ho)
1691 ac_prev=host_alias ;;
1692 -host=* | --host=* | --hos=* | --ho=*)
1693 host_alias=$ac_optarg ;;
1695 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1696 ac_prev=htmldir ;;
1697 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1698 | --ht=*)
1699 htmldir=$ac_optarg ;;
1701 -includedir | --includedir | --includedi | --included | --include \
1702 | --includ | --inclu | --incl | --inc)
1703 ac_prev=includedir ;;
1704 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1705 | --includ=* | --inclu=* | --incl=* | --inc=*)
1706 includedir=$ac_optarg ;;
1708 -infodir | --infodir | --infodi | --infod | --info | --inf)
1709 ac_prev=infodir ;;
1710 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1711 infodir=$ac_optarg ;;
1713 -libdir | --libdir | --libdi | --libd)
1714 ac_prev=libdir ;;
1715 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1716 libdir=$ac_optarg ;;
1718 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1719 | --libexe | --libex | --libe)
1720 ac_prev=libexecdir ;;
1721 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1722 | --libexe=* | --libex=* | --libe=*)
1723 libexecdir=$ac_optarg ;;
1725 -localedir | --localedir | --localedi | --localed | --locale)
1726 ac_prev=localedir ;;
1727 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1728 localedir=$ac_optarg ;;
1730 -localstatedir | --localstatedir | --localstatedi | --localstated \
1731 | --localstate | --localstat | --localsta | --localst | --locals)
1732 ac_prev=localstatedir ;;
1733 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1734 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1735 localstatedir=$ac_optarg ;;
1737 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1738 ac_prev=mandir ;;
1739 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1740 mandir=$ac_optarg ;;
1742 -nfp | --nfp | --nf)
1743 # Obsolete; use --without-fp.
1744 with_fp=no ;;
1746 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1747 | --no-cr | --no-c | -n)
1748 no_create=yes ;;
1750 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1751 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1752 no_recursion=yes ;;
1754 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1755 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1756 | --oldin | --oldi | --old | --ol | --o)
1757 ac_prev=oldincludedir ;;
1758 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1759 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1760 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1761 oldincludedir=$ac_optarg ;;
1763 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1764 ac_prev=prefix ;;
1765 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1766 prefix=$ac_optarg ;;
1768 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1769 | --program-pre | --program-pr | --program-p)
1770 ac_prev=program_prefix ;;
1771 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1772 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1773 program_prefix=$ac_optarg ;;
1775 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1776 | --program-suf | --program-su | --program-s)
1777 ac_prev=program_suffix ;;
1778 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1779 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1780 program_suffix=$ac_optarg ;;
1782 -program-transform-name | --program-transform-name \
1783 | --program-transform-nam | --program-transform-na \
1784 | --program-transform-n | --program-transform- \
1785 | --program-transform | --program-transfor \
1786 | --program-transfo | --program-transf \
1787 | --program-trans | --program-tran \
1788 | --progr-tra | --program-tr | --program-t)
1789 ac_prev=program_transform_name ;;
1790 -program-transform-name=* | --program-transform-name=* \
1791 | --program-transform-nam=* | --program-transform-na=* \
1792 | --program-transform-n=* | --program-transform-=* \
1793 | --program-transform=* | --program-transfor=* \
1794 | --program-transfo=* | --program-transf=* \
1795 | --program-trans=* | --program-tran=* \
1796 | --progr-tra=* | --program-tr=* | --program-t=*)
1797 program_transform_name=$ac_optarg ;;
1799 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1800 ac_prev=pdfdir ;;
1801 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1802 pdfdir=$ac_optarg ;;
1804 -psdir | --psdir | --psdi | --psd | --ps)
1805 ac_prev=psdir ;;
1806 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1807 psdir=$ac_optarg ;;
1809 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1810 | -silent | --silent | --silen | --sile | --sil)
1811 silent=yes ;;
1813 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1814 ac_prev=sbindir ;;
1815 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1816 | --sbi=* | --sb=*)
1817 sbindir=$ac_optarg ;;
1819 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1820 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1821 | --sharedst | --shareds | --shared | --share | --shar \
1822 | --sha | --sh)
1823 ac_prev=sharedstatedir ;;
1824 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1825 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1826 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1827 | --sha=* | --sh=*)
1828 sharedstatedir=$ac_optarg ;;
1830 -site | --site | --sit)
1831 ac_prev=site ;;
1832 -site=* | --site=* | --sit=*)
1833 site=$ac_optarg ;;
1835 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1836 ac_prev=srcdir ;;
1837 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1838 srcdir=$ac_optarg ;;
1840 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1841 | --syscon | --sysco | --sysc | --sys | --sy)
1842 ac_prev=sysconfdir ;;
1843 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1844 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1845 sysconfdir=$ac_optarg ;;
1847 -target | --target | --targe | --targ | --tar | --ta | --t)
1848 ac_prev=target_alias ;;
1849 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1850 target_alias=$ac_optarg ;;
1852 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1853 verbose=yes ;;
1855 -version | --version | --versio | --versi | --vers | -V)
1856 ac_init_version=: ;;
1858 -with-* | --with-*)
1859 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1860 # Reject names that are not valid shell variable names.
1861 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1862 as_fn_error $? "invalid package name: $ac_useropt"
1863 ac_useropt_orig=$ac_useropt
1864 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1865 case $ac_user_opts in
1867 "with_$ac_useropt"
1868 "*) ;;
1869 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1870 ac_unrecognized_sep=', ';;
1871 esac
1872 eval with_$ac_useropt=\$ac_optarg ;;
1874 -without-* | --without-*)
1875 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1876 # Reject names that are not valid shell variable names.
1877 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1878 as_fn_error $? "invalid package name: $ac_useropt"
1879 ac_useropt_orig=$ac_useropt
1880 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1881 case $ac_user_opts in
1883 "with_$ac_useropt"
1884 "*) ;;
1885 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1886 ac_unrecognized_sep=', ';;
1887 esac
1888 eval with_$ac_useropt=no ;;
1890 --x)
1891 # Obsolete; use --with-x.
1892 with_x=yes ;;
1894 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1895 | --x-incl | --x-inc | --x-in | --x-i)
1896 ac_prev=x_includes ;;
1897 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1898 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1899 x_includes=$ac_optarg ;;
1901 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1902 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1903 ac_prev=x_libraries ;;
1904 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1905 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1906 x_libraries=$ac_optarg ;;
1908 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1909 Try \`$0 --help' for more information"
1912 *=*)
1913 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1914 # Reject names that are not valid shell variable names.
1915 case $ac_envvar in #(
1916 '' | [0-9]* | *[!_$as_cr_alnum]* )
1917 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1918 esac
1919 eval $ac_envvar=\$ac_optarg
1920 export $ac_envvar ;;
1923 # FIXME: should be removed in autoconf 3.0.
1924 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1925 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1926 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1927 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1930 esac
1931 done
1933 if test -n "$ac_prev"; then
1934 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1935 as_fn_error $? "missing argument to $ac_option"
1938 if test -n "$ac_unrecognized_opts"; then
1939 case $enable_option_checking in
1940 no) ;;
1941 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1942 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1943 esac
1946 # Check all directory arguments for consistency.
1947 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1948 datadir sysconfdir sharedstatedir localstatedir includedir \
1949 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1950 libdir localedir mandir
1952 eval ac_val=\$$ac_var
1953 # Remove trailing slashes.
1954 case $ac_val in
1955 */ )
1956 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1957 eval $ac_var=\$ac_val;;
1958 esac
1959 # Be sure to have absolute directory names.
1960 case $ac_val in
1961 [\\/$]* | ?:[\\/]* ) continue;;
1962 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1963 esac
1964 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1965 done
1967 # There might be people who depend on the old broken behavior: `$host'
1968 # used to hold the argument of --host etc.
1969 # FIXME: To remove some day.
1970 build=$build_alias
1971 host=$host_alias
1972 target=$target_alias
1974 # FIXME: To remove some day.
1975 if test "x$host_alias" != x; then
1976 if test "x$build_alias" = x; then
1977 cross_compiling=maybe
1978 elif test "x$build_alias" != "x$host_alias"; then
1979 cross_compiling=yes
1983 ac_tool_prefix=
1984 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1986 test "$silent" = yes && exec 6>/dev/null
1989 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1990 ac_ls_di=`ls -di .` &&
1991 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1992 as_fn_error $? "working directory cannot be determined"
1993 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1994 as_fn_error $? "pwd does not report name of working directory"
1997 # Find the source files, if location was not specified.
1998 if test -z "$srcdir"; then
1999 ac_srcdir_defaulted=yes
2000 # Try the directory containing this script, then the parent directory.
2001 ac_confdir=`$as_dirname -- "$as_myself" ||
2002 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2003 X"$as_myself" : 'X\(//\)[^/]' \| \
2004 X"$as_myself" : 'X\(//\)$' \| \
2005 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2006 $as_echo X"$as_myself" |
2007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2008 s//\1/
2011 /^X\(\/\/\)[^/].*/{
2012 s//\1/
2015 /^X\(\/\/\)$/{
2016 s//\1/
2019 /^X\(\/\).*/{
2020 s//\1/
2023 s/.*/./; q'`
2024 srcdir=$ac_confdir
2025 if test ! -r "$srcdir/$ac_unique_file"; then
2026 srcdir=..
2028 else
2029 ac_srcdir_defaulted=no
2031 if test ! -r "$srcdir/$ac_unique_file"; then
2032 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2033 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2035 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2036 ac_abs_confdir=`(
2037 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2038 pwd)`
2039 # When building in place, set srcdir=.
2040 if test "$ac_abs_confdir" = "$ac_pwd"; then
2041 srcdir=.
2043 # Remove unnecessary trailing slashes from srcdir.
2044 # Double slashes in file names in object file debugging info
2045 # mess up M-x gdb in Emacs.
2046 case $srcdir in
2047 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2048 esac
2049 for ac_var in $ac_precious_vars; do
2050 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2051 eval ac_env_${ac_var}_value=\$${ac_var}
2052 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2053 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2054 done
2057 # Report the --help message.
2059 if test "$ac_init_help" = "long"; then
2060 # Omit some internal or obsolete options to make the list less imposing.
2061 # This message is too long to be a string in the A/UX 3.1 sh.
2062 cat <<_ACEOF
2063 \`configure' configures Wine 1.7.50 to adapt to many kinds of systems.
2065 Usage: $0 [OPTION]... [VAR=VALUE]...
2067 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2068 VAR=VALUE. See below for descriptions of some of the useful variables.
2070 Defaults for the options are specified in brackets.
2072 Configuration:
2073 -h, --help display this help and exit
2074 --help=short display options specific to this package
2075 --help=recursive display the short help of all the included packages
2076 -V, --version display version information and exit
2077 -q, --quiet, --silent do not print \`checking ...' messages
2078 --cache-file=FILE cache test results in FILE [disabled]
2079 -C, --config-cache alias for \`--cache-file=config.cache'
2080 -n, --no-create do not create output files
2081 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2083 Installation directories:
2084 --prefix=PREFIX install architecture-independent files in PREFIX
2085 [$ac_default_prefix]
2086 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2087 [PREFIX]
2089 By default, \`make install' will install all the files in
2090 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2091 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2092 for instance \`--prefix=\$HOME'.
2094 For better control, use the options below.
2096 Fine tuning of the installation directories:
2097 --bindir=DIR user executables [EPREFIX/bin]
2098 --sbindir=DIR system admin executables [EPREFIX/sbin]
2099 --libexecdir=DIR program executables [EPREFIX/libexec]
2100 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2101 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2102 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2103 --libdir=DIR object code libraries [EPREFIX/lib]
2104 --includedir=DIR C header files [PREFIX/include]
2105 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2106 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2107 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2108 --infodir=DIR info documentation [DATAROOTDIR/info]
2109 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2110 --mandir=DIR man documentation [DATAROOTDIR/man]
2111 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2112 --htmldir=DIR html documentation [DOCDIR]
2113 --dvidir=DIR dvi documentation [DOCDIR]
2114 --pdfdir=DIR pdf documentation [DOCDIR]
2115 --psdir=DIR ps documentation [DOCDIR]
2116 _ACEOF
2118 cat <<\_ACEOF
2120 X features:
2121 --x-includes=DIR X include files are in DIR
2122 --x-libraries=DIR X library files are in DIR
2124 System types:
2125 --build=BUILD configure for building on BUILD [guessed]
2126 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2127 _ACEOF
2130 if test -n "$ac_init_help"; then
2131 case $ac_init_help in
2132 short | recursive ) echo "Configuration of Wine 1.7.50:";;
2133 esac
2134 cat <<\_ACEOF
2136 Optional Features:
2137 --disable-option-checking ignore unrecognized --enable/--with options
2138 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2139 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2140 --disable-win16 do not include Win16 support
2141 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2142 binaries)
2143 --disable-tests do not build the regression tests
2144 --enable-maintainer-mode
2145 enable maintainer-specific build rules
2146 --disable-largefile omit support for large files
2148 Optional Packages:
2149 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2150 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2151 --without-alsa do not use the Alsa sound support
2152 --without-capi do not use CAPI (ISDN support)
2153 --without-cms do not use CMS (color management support)
2154 --without-coreaudio do not use the CoreAudio sound support
2155 --without-cups do not use CUPS
2156 --without-curses do not use (n)curses
2157 --without-dbus do not use DBus (dynamic device support)
2158 --without-fontconfig do not use fontconfig
2159 --without-freetype do not use the FreeType library
2160 --without-gettext do not use gettext
2161 --with-gettextpo use the GetTextPO library to rebuild po files
2162 --without-gphoto do not use gphoto (Digital Camera support)
2163 --without-glu do not use the GLU library
2164 --without-gnutls do not use GnuTLS (schannel support)
2165 --without-gsm do not use libgsm (GSM 06.10 codec support)
2166 --without-gstreamer do not use GStreamer (codecs support)
2167 --without-hal do not use HAL (dynamic device support)
2168 --without-jpeg do not use JPEG
2169 --without-ldap do not use LDAP
2170 --without-mpg123 do not use the mpg123 library
2171 --without-netapi do not use the Samba NetAPI library
2172 --without-openal do not use OpenAL
2173 --without-opencl do not use OpenCL
2174 --without-opengl do not use OpenGL
2175 --without-osmesa do not use the OSMesa library
2176 --without-oss do not use the OSS sound support
2177 --without-pcap do not use the Packet Capture library
2178 --without-png do not use PNG
2179 --without-pthread do not use the pthread library
2180 --without-sane do not use SANE (scanner support)
2181 --without-tiff do not use TIFF
2182 --without-v4l do not use v4l1 (v4l support)
2183 --without-xcomposite do not use the Xcomposite extension
2184 --without-xcursor do not use the Xcursor extension
2185 --without-xinerama do not use Xinerama (multi-monitor support)
2186 --without-xinput do not use the Xinput extension
2187 --without-xinput2 do not use the Xinput 2 extension
2188 --without-xml do not use XML
2189 --without-xrandr do not use Xrandr (resolution changes)
2190 --without-xrender do not use the Xrender extension
2191 --without-xshape do not use the Xshape extension
2192 --without-xshm do not use XShm (shared memory extension)
2193 --without-xslt do not use XSLT
2194 --without-xxf86vm do not use XFree video mode extension
2195 --without-zlib do not use Zlib (data compression)
2196 --with-wine-tools=DIR use Wine tools from directory DIR
2197 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2198 --with-x use the X Window System
2200 Some influential environment variables:
2201 CC C compiler command
2202 CFLAGS C compiler flags
2203 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2204 nonstandard directory <lib dir>
2205 LIBS libraries to pass to the linker, e.g. -l<library>
2206 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2207 you have headers in a nonstandard directory <include dir>
2208 CXX C++ compiler command
2209 CXXFLAGS C++ compiler flags
2210 CPP C preprocessor
2211 XMKMF Path to xmkmf, Makefile generator for X Window System
2212 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2213 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2214 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2215 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2216 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2217 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2218 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2219 HAL_LIBS Linker flags for hal, overriding pkg-config
2220 GNUTLS_CFLAGS
2221 C compiler flags for gnutls, overriding pkg-config
2222 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2223 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2224 SANE_LIBS Linker flags for libsane, overriding pkg-config
2225 GPHOTO2_CFLAGS
2226 C compiler flags for libgphoto2, overriding pkg-config
2227 GPHOTO2_LIBS
2228 Linker flags for libgphoto2, overriding pkg-config
2229 GPHOTO2_PORT_CFLAGS
2230 C compiler flags for libgphoto2_port, overriding pkg-config
2231 GPHOTO2_PORT_LIBS
2232 Linker flags for libgphoto2_port, overriding pkg-config
2233 LCMS2_CFLAGS
2234 C compiler flags for lcms2, overriding pkg-config
2235 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2236 FREETYPE_CFLAGS
2237 C compiler flags for freetype2, overriding pkg-config
2238 FREETYPE_LIBS
2239 Linker flags for freetype2, overriding pkg-config
2240 GSTREAMER_CFLAGS
2241 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2242 GSTREAMER_LIBS
2243 Linker flags for gstreamer-app-0.10, overriding pkg-config
2244 CAPI20_CFLAGS
2245 C compiler flags for capi20, overriding pkg-config
2246 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2247 FONTCONFIG_CFLAGS
2248 C compiler flags for fontconfig, overriding pkg-config
2249 FONTCONFIG_LIBS
2250 Linker flags for fontconfig, overriding pkg-config
2251 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2252 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2253 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2254 PNG_LIBS Linker flags for libpng, overriding pkg-config
2255 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2256 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2257 MPG123_CFLAGS
2258 C compiler flags for libmpg123, overriding pkg-config
2259 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2261 Use these variables to override the choices made by `configure' or to help
2262 it to find libraries and programs with nonstandard names/locations.
2264 Report bugs to <wine-devel@winehq.org>.
2265 Wine home page: <http://www.winehq.org>.
2266 _ACEOF
2267 ac_status=$?
2270 if test "$ac_init_help" = "recursive"; then
2271 # If there are subdirs, report their specific --help.
2272 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2273 test -d "$ac_dir" ||
2274 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2275 continue
2276 ac_builddir=.
2278 case "$ac_dir" in
2279 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2281 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2282 # A ".." for each directory in $ac_dir_suffix.
2283 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2284 case $ac_top_builddir_sub in
2285 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2286 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2287 esac ;;
2288 esac
2289 ac_abs_top_builddir=$ac_pwd
2290 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2291 # for backward compatibility:
2292 ac_top_builddir=$ac_top_build_prefix
2294 case $srcdir in
2295 .) # We are building in place.
2296 ac_srcdir=.
2297 ac_top_srcdir=$ac_top_builddir_sub
2298 ac_abs_top_srcdir=$ac_pwd ;;
2299 [\\/]* | ?:[\\/]* ) # Absolute name.
2300 ac_srcdir=$srcdir$ac_dir_suffix;
2301 ac_top_srcdir=$srcdir
2302 ac_abs_top_srcdir=$srcdir ;;
2303 *) # Relative name.
2304 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2305 ac_top_srcdir=$ac_top_build_prefix$srcdir
2306 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2307 esac
2308 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2310 cd "$ac_dir" || { ac_status=$?; continue; }
2311 # Check for guested configure.
2312 if test -f "$ac_srcdir/configure.gnu"; then
2313 echo &&
2314 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2315 elif test -f "$ac_srcdir/configure"; then
2316 echo &&
2317 $SHELL "$ac_srcdir/configure" --help=recursive
2318 else
2319 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2320 fi || ac_status=$?
2321 cd "$ac_pwd" || { ac_status=$?; break; }
2322 done
2325 test -n "$ac_init_help" && exit $ac_status
2326 if $ac_init_version; then
2327 cat <<\_ACEOF
2328 Wine configure 1.7.50
2329 generated by GNU Autoconf 2.69
2331 Copyright (C) 2012 Free Software Foundation, Inc.
2332 This configure script is free software; the Free Software Foundation
2333 gives unlimited permission to copy, distribute and modify it.
2334 _ACEOF
2335 exit
2338 ## ------------------------ ##
2339 ## Autoconf initialization. ##
2340 ## ------------------------ ##
2342 # ac_fn_c_try_compile LINENO
2343 # --------------------------
2344 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2345 ac_fn_c_try_compile ()
2347 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2348 rm -f conftest.$ac_objext
2349 if { { ac_try="$ac_compile"
2350 case "(($ac_try" in
2351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2352 *) ac_try_echo=$ac_try;;
2353 esac
2354 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2355 $as_echo "$ac_try_echo"; } >&5
2356 (eval "$ac_compile") 2>conftest.err
2357 ac_status=$?
2358 if test -s conftest.err; then
2359 grep -v '^ *+' conftest.err >conftest.er1
2360 cat conftest.er1 >&5
2361 mv -f conftest.er1 conftest.err
2363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2364 test $ac_status = 0; } && {
2365 test -z "$ac_c_werror_flag" ||
2366 test ! -s conftest.err
2367 } && test -s conftest.$ac_objext; then :
2368 ac_retval=0
2369 else
2370 $as_echo "$as_me: failed program was:" >&5
2371 sed 's/^/| /' conftest.$ac_ext >&5
2373 ac_retval=1
2375 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2376 as_fn_set_status $ac_retval
2378 } # ac_fn_c_try_compile
2380 # ac_fn_cxx_try_compile LINENO
2381 # ----------------------------
2382 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2383 ac_fn_cxx_try_compile ()
2385 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2386 rm -f conftest.$ac_objext
2387 if { { ac_try="$ac_compile"
2388 case "(($ac_try" in
2389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2390 *) ac_try_echo=$ac_try;;
2391 esac
2392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2393 $as_echo "$ac_try_echo"; } >&5
2394 (eval "$ac_compile") 2>conftest.err
2395 ac_status=$?
2396 if test -s conftest.err; then
2397 grep -v '^ *+' conftest.err >conftest.er1
2398 cat conftest.er1 >&5
2399 mv -f conftest.er1 conftest.err
2401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2402 test $ac_status = 0; } && {
2403 test -z "$ac_cxx_werror_flag" ||
2404 test ! -s conftest.err
2405 } && test -s conftest.$ac_objext; then :
2406 ac_retval=0
2407 else
2408 $as_echo "$as_me: failed program was:" >&5
2409 sed 's/^/| /' conftest.$ac_ext >&5
2411 ac_retval=1
2413 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2414 as_fn_set_status $ac_retval
2416 } # ac_fn_cxx_try_compile
2418 # ac_fn_c_try_link LINENO
2419 # -----------------------
2420 # Try to link conftest.$ac_ext, and return whether this succeeded.
2421 ac_fn_c_try_link ()
2423 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2424 rm -f conftest.$ac_objext conftest$ac_exeext
2425 if { { ac_try="$ac_link"
2426 case "(($ac_try" in
2427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2428 *) ac_try_echo=$ac_try;;
2429 esac
2430 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2431 $as_echo "$ac_try_echo"; } >&5
2432 (eval "$ac_link") 2>conftest.err
2433 ac_status=$?
2434 if test -s conftest.err; then
2435 grep -v '^ *+' conftest.err >conftest.er1
2436 cat conftest.er1 >&5
2437 mv -f conftest.er1 conftest.err
2439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2440 test $ac_status = 0; } && {
2441 test -z "$ac_c_werror_flag" ||
2442 test ! -s conftest.err
2443 } && test -s conftest$ac_exeext && {
2444 test "$cross_compiling" = yes ||
2445 test -x conftest$ac_exeext
2446 }; then :
2447 ac_retval=0
2448 else
2449 $as_echo "$as_me: failed program was:" >&5
2450 sed 's/^/| /' conftest.$ac_ext >&5
2452 ac_retval=1
2454 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2455 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2456 # interfere with the next link command; also delete a directory that is
2457 # left behind by Apple's compiler. We do this before executing the actions.
2458 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2459 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2460 as_fn_set_status $ac_retval
2462 } # ac_fn_c_try_link
2464 # ac_fn_c_try_cpp LINENO
2465 # ----------------------
2466 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2467 ac_fn_c_try_cpp ()
2469 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2470 if { { ac_try="$ac_cpp conftest.$ac_ext"
2471 case "(($ac_try" in
2472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2473 *) ac_try_echo=$ac_try;;
2474 esac
2475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2476 $as_echo "$ac_try_echo"; } >&5
2477 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2478 ac_status=$?
2479 if test -s conftest.err; then
2480 grep -v '^ *+' conftest.err >conftest.er1
2481 cat conftest.er1 >&5
2482 mv -f conftest.er1 conftest.err
2484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2485 test $ac_status = 0; } > conftest.i && {
2486 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2487 test ! -s conftest.err
2488 }; then :
2489 ac_retval=0
2490 else
2491 $as_echo "$as_me: failed program was:" >&5
2492 sed 's/^/| /' conftest.$ac_ext >&5
2494 ac_retval=1
2496 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2497 as_fn_set_status $ac_retval
2499 } # ac_fn_c_try_cpp
2501 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2502 # -------------------------------------------------------
2503 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2504 # the include files in INCLUDES and setting the cache variable VAR
2505 # accordingly.
2506 ac_fn_c_check_header_mongrel ()
2508 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2509 if eval \${$3+:} false; then :
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2511 $as_echo_n "checking for $2... " >&6; }
2512 if eval \${$3+:} false; then :
2513 $as_echo_n "(cached) " >&6
2515 eval ac_res=\$$3
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2517 $as_echo "$ac_res" >&6; }
2518 else
2519 # Is the header compilable?
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2521 $as_echo_n "checking $2 usability... " >&6; }
2522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2523 /* end confdefs.h. */
2525 #include <$2>
2526 _ACEOF
2527 if ac_fn_c_try_compile "$LINENO"; then :
2528 ac_header_compiler=yes
2529 else
2530 ac_header_compiler=no
2532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2534 $as_echo "$ac_header_compiler" >&6; }
2536 # Is the header present?
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2538 $as_echo_n "checking $2 presence... " >&6; }
2539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2540 /* end confdefs.h. */
2541 #include <$2>
2542 _ACEOF
2543 if ac_fn_c_try_cpp "$LINENO"; then :
2544 ac_header_preproc=yes
2545 else
2546 ac_header_preproc=no
2548 rm -f conftest.err conftest.i conftest.$ac_ext
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2550 $as_echo "$ac_header_preproc" >&6; }
2552 # So? What about this header?
2553 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2554 yes:no: )
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2556 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2558 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2560 no:yes:* )
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2562 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2564 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2566 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2568 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2570 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2571 ( $as_echo "## ------------------------------------ ##
2572 ## Report this to wine-devel@winehq.org ##
2573 ## ------------------------------------ ##"
2574 ) | sed "s/^/$as_me: WARNING: /" >&2
2576 esac
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2578 $as_echo_n "checking for $2... " >&6; }
2579 if eval \${$3+:} false; then :
2580 $as_echo_n "(cached) " >&6
2581 else
2582 eval "$3=\$ac_header_compiler"
2584 eval ac_res=\$$3
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2586 $as_echo "$ac_res" >&6; }
2588 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2590 } # ac_fn_c_check_header_mongrel
2592 # ac_fn_c_try_run LINENO
2593 # ----------------------
2594 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2595 # that executables *can* be run.
2596 ac_fn_c_try_run ()
2598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2599 if { { ac_try="$ac_link"
2600 case "(($ac_try" in
2601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2602 *) ac_try_echo=$ac_try;;
2603 esac
2604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2605 $as_echo "$ac_try_echo"; } >&5
2606 (eval "$ac_link") 2>&5
2607 ac_status=$?
2608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2609 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2610 { { case "(($ac_try" in
2611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2612 *) ac_try_echo=$ac_try;;
2613 esac
2614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2615 $as_echo "$ac_try_echo"; } >&5
2616 (eval "$ac_try") 2>&5
2617 ac_status=$?
2618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2619 test $ac_status = 0; }; }; then :
2620 ac_retval=0
2621 else
2622 $as_echo "$as_me: program exited with status $ac_status" >&5
2623 $as_echo "$as_me: failed program was:" >&5
2624 sed 's/^/| /' conftest.$ac_ext >&5
2626 ac_retval=$ac_status
2628 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2629 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2630 as_fn_set_status $ac_retval
2632 } # ac_fn_c_try_run
2634 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2635 # -------------------------------------------------------
2636 # Tests whether HEADER exists and can be compiled using the include files in
2637 # INCLUDES, setting the cache variable VAR accordingly.
2638 ac_fn_c_check_header_compile ()
2640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2642 $as_echo_n "checking for $2... " >&6; }
2643 if eval \${$3+:} false; then :
2644 $as_echo_n "(cached) " >&6
2645 else
2646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2647 /* end confdefs.h. */
2649 #include <$2>
2650 _ACEOF
2651 if ac_fn_c_try_compile "$LINENO"; then :
2652 eval "$3=yes"
2653 else
2654 eval "$3=no"
2656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2658 eval ac_res=\$$3
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2660 $as_echo "$ac_res" >&6; }
2661 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2663 } # ac_fn_c_check_header_compile
2665 # ac_fn_c_check_func LINENO FUNC VAR
2666 # ----------------------------------
2667 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2668 ac_fn_c_check_func ()
2670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2672 $as_echo_n "checking for $2... " >&6; }
2673 if eval \${$3+:} false; then :
2674 $as_echo_n "(cached) " >&6
2675 else
2676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2677 /* end confdefs.h. */
2678 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2680 #define $2 innocuous_$2
2682 /* System header to define __stub macros and hopefully few prototypes,
2683 which can conflict with char $2 (); below.
2684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2685 <limits.h> exists even on freestanding compilers. */
2687 #ifdef __STDC__
2688 # include <limits.h>
2689 #else
2690 # include <assert.h>
2691 #endif
2693 #undef $2
2695 /* Override any GCC internal prototype to avoid an error.
2696 Use char because int might match the return type of a GCC
2697 builtin and then its argument prototype would still apply. */
2698 #ifdef __cplusplus
2699 extern "C"
2700 #endif
2701 char $2 ();
2702 /* The GNU C library defines this for functions which it implements
2703 to always fail with ENOSYS. Some functions are actually named
2704 something starting with __ and the normal name is an alias. */
2705 #if defined __stub_$2 || defined __stub___$2
2706 choke me
2707 #endif
2710 main ()
2712 return $2 ();
2714 return 0;
2716 _ACEOF
2717 if ac_fn_c_try_link "$LINENO"; then :
2718 eval "$3=yes"
2719 else
2720 eval "$3=no"
2722 rm -f core conftest.err conftest.$ac_objext \
2723 conftest$ac_exeext conftest.$ac_ext
2725 eval ac_res=\$$3
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2727 $as_echo "$ac_res" >&6; }
2728 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2730 } # ac_fn_c_check_func
2732 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2733 # ----------------------------------------------------
2734 # Tries to find if the field MEMBER exists in type AGGR, after including
2735 # INCLUDES, setting cache variable VAR accordingly.
2736 ac_fn_c_check_member ()
2738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2740 $as_echo_n "checking for $2.$3... " >&6; }
2741 if eval \${$4+:} false; then :
2742 $as_echo_n "(cached) " >&6
2743 else
2744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2745 /* end confdefs.h. */
2748 main ()
2750 static $2 ac_aggr;
2751 if (ac_aggr.$3)
2752 return 0;
2754 return 0;
2756 _ACEOF
2757 if ac_fn_c_try_compile "$LINENO"; then :
2758 eval "$4=yes"
2759 else
2760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2761 /* end confdefs.h. */
2764 main ()
2766 static $2 ac_aggr;
2767 if (sizeof ac_aggr.$3)
2768 return 0;
2770 return 0;
2772 _ACEOF
2773 if ac_fn_c_try_compile "$LINENO"; then :
2774 eval "$4=yes"
2775 else
2776 eval "$4=no"
2778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2782 eval ac_res=\$$4
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2784 $as_echo "$ac_res" >&6; }
2785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2787 } # ac_fn_c_check_member
2789 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2790 # -------------------------------------------
2791 # Tests whether TYPE exists after having included INCLUDES, setting cache
2792 # variable VAR accordingly.
2793 ac_fn_c_check_type ()
2795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2797 $as_echo_n "checking for $2... " >&6; }
2798 if eval \${$3+:} false; then :
2799 $as_echo_n "(cached) " >&6
2800 else
2801 eval "$3=no"
2802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2803 /* end confdefs.h. */
2806 main ()
2808 if (sizeof ($2))
2809 return 0;
2811 return 0;
2813 _ACEOF
2814 if ac_fn_c_try_compile "$LINENO"; then :
2815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2816 /* end confdefs.h. */
2819 main ()
2821 if (sizeof (($2)))
2822 return 0;
2824 return 0;
2826 _ACEOF
2827 if ac_fn_c_try_compile "$LINENO"; then :
2829 else
2830 eval "$3=yes"
2832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2836 eval ac_res=\$$3
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2838 $as_echo "$ac_res" >&6; }
2839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2841 } # ac_fn_c_check_type
2842 cat >config.log <<_ACEOF
2843 This file contains any messages produced by compilers while
2844 running configure, to aid debugging if configure makes a mistake.
2846 It was created by Wine $as_me 1.7.50, which was
2847 generated by GNU Autoconf 2.69. Invocation command line was
2849 $ $0 $@
2851 _ACEOF
2852 exec 5>>config.log
2854 cat <<_ASUNAME
2855 ## --------- ##
2856 ## Platform. ##
2857 ## --------- ##
2859 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2860 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2861 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2862 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2863 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2865 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2866 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2868 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2869 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2870 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2871 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2872 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2873 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2874 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2876 _ASUNAME
2878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2879 for as_dir in $PATH
2881 IFS=$as_save_IFS
2882 test -z "$as_dir" && as_dir=.
2883 $as_echo "PATH: $as_dir"
2884 done
2885 IFS=$as_save_IFS
2887 } >&5
2889 cat >&5 <<_ACEOF
2892 ## ----------- ##
2893 ## Core tests. ##
2894 ## ----------- ##
2896 _ACEOF
2899 # Keep a trace of the command line.
2900 # Strip out --no-create and --no-recursion so they do not pile up.
2901 # Strip out --silent because we don't want to record it for future runs.
2902 # Also quote any args containing shell meta-characters.
2903 # Make two passes to allow for proper duplicate-argument suppression.
2904 ac_configure_args=
2905 ac_configure_args0=
2906 ac_configure_args1=
2907 ac_must_keep_next=false
2908 for ac_pass in 1 2
2910 for ac_arg
2912 case $ac_arg in
2913 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2914 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2915 | -silent | --silent | --silen | --sile | --sil)
2916 continue ;;
2917 *\'*)
2918 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2919 esac
2920 case $ac_pass in
2921 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2923 as_fn_append ac_configure_args1 " '$ac_arg'"
2924 if test $ac_must_keep_next = true; then
2925 ac_must_keep_next=false # Got value, back to normal.
2926 else
2927 case $ac_arg in
2928 *=* | --config-cache | -C | -disable-* | --disable-* \
2929 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2930 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2931 | -with-* | --with-* | -without-* | --without-* | --x)
2932 case "$ac_configure_args0 " in
2933 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2934 esac
2936 -* ) ac_must_keep_next=true ;;
2937 esac
2939 as_fn_append ac_configure_args " '$ac_arg'"
2941 esac
2942 done
2943 done
2944 { ac_configure_args0=; unset ac_configure_args0;}
2945 { ac_configure_args1=; unset ac_configure_args1;}
2947 # When interrupted or exit'd, cleanup temporary files, and complete
2948 # config.log. We remove comments because anyway the quotes in there
2949 # would cause problems or look ugly.
2950 # WARNING: Use '\'' to represent an apostrophe within the trap.
2951 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2952 trap 'exit_status=$?
2953 # Save into config.log some information that might help in debugging.
2955 echo
2957 $as_echo "## ---------------- ##
2958 ## Cache variables. ##
2959 ## ---------------- ##"
2960 echo
2961 # The following way of writing the cache mishandles newlines in values,
2963 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2964 eval ac_val=\$$ac_var
2965 case $ac_val in #(
2966 *${as_nl}*)
2967 case $ac_var in #(
2968 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2969 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2970 esac
2971 case $ac_var in #(
2972 _ | IFS | as_nl) ;; #(
2973 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2974 *) { eval $ac_var=; unset $ac_var;} ;;
2975 esac ;;
2976 esac
2977 done
2978 (set) 2>&1 |
2979 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2980 *${as_nl}ac_space=\ *)
2981 sed -n \
2982 "s/'\''/'\''\\\\'\'''\''/g;
2983 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2984 ;; #(
2986 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2988 esac |
2989 sort
2991 echo
2993 $as_echo "## ----------------- ##
2994 ## Output variables. ##
2995 ## ----------------- ##"
2996 echo
2997 for ac_var in $ac_subst_vars
2999 eval ac_val=\$$ac_var
3000 case $ac_val in
3001 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3002 esac
3003 $as_echo "$ac_var='\''$ac_val'\''"
3004 done | sort
3005 echo
3007 if test -n "$ac_subst_files"; then
3008 $as_echo "## ------------------- ##
3009 ## File substitutions. ##
3010 ## ------------------- ##"
3011 echo
3012 for ac_var in $ac_subst_files
3014 eval ac_val=\$$ac_var
3015 case $ac_val in
3016 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3017 esac
3018 $as_echo "$ac_var='\''$ac_val'\''"
3019 done | sort
3020 echo
3023 if test -s confdefs.h; then
3024 $as_echo "## ----------- ##
3025 ## confdefs.h. ##
3026 ## ----------- ##"
3027 echo
3028 cat confdefs.h
3029 echo
3031 test "$ac_signal" != 0 &&
3032 $as_echo "$as_me: caught signal $ac_signal"
3033 $as_echo "$as_me: exit $exit_status"
3034 } >&5
3035 rm -f core *.core core.conftest.* &&
3036 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3037 exit $exit_status
3039 for ac_signal in 1 2 13 15; do
3040 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3041 done
3042 ac_signal=0
3044 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3045 rm -f -r conftest* confdefs.h
3047 $as_echo "/* confdefs.h */" > confdefs.h
3049 # Predefined preprocessor variables.
3051 cat >>confdefs.h <<_ACEOF
3052 #define PACKAGE_NAME "$PACKAGE_NAME"
3053 _ACEOF
3055 cat >>confdefs.h <<_ACEOF
3056 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3057 _ACEOF
3059 cat >>confdefs.h <<_ACEOF
3060 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3061 _ACEOF
3063 cat >>confdefs.h <<_ACEOF
3064 #define PACKAGE_STRING "$PACKAGE_STRING"
3065 _ACEOF
3067 cat >>confdefs.h <<_ACEOF
3068 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3069 _ACEOF
3071 cat >>confdefs.h <<_ACEOF
3072 #define PACKAGE_URL "$PACKAGE_URL"
3073 _ACEOF
3076 # Let the site file select an alternate cache file if it wants to.
3077 # Prefer an explicitly selected file to automatically selected ones.
3078 ac_site_file1=NONE
3079 ac_site_file2=NONE
3080 if test -n "$CONFIG_SITE"; then
3081 # We do not want a PATH search for config.site.
3082 case $CONFIG_SITE in #((
3083 -*) ac_site_file1=./$CONFIG_SITE;;
3084 */*) ac_site_file1=$CONFIG_SITE;;
3085 *) ac_site_file1=./$CONFIG_SITE;;
3086 esac
3087 elif test "x$prefix" != xNONE; then
3088 ac_site_file1=$prefix/share/config.site
3089 ac_site_file2=$prefix/etc/config.site
3090 else
3091 ac_site_file1=$ac_default_prefix/share/config.site
3092 ac_site_file2=$ac_default_prefix/etc/config.site
3094 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3096 test "x$ac_site_file" = xNONE && continue
3097 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3099 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3100 sed 's/^/| /' "$ac_site_file" >&5
3101 . "$ac_site_file" \
3102 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3103 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3104 as_fn_error $? "failed to load site script $ac_site_file
3105 See \`config.log' for more details" "$LINENO" 5; }
3107 done
3109 if test -r "$cache_file"; then
3110 # Some versions of bash will fail to source /dev/null (special files
3111 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3112 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3114 $as_echo "$as_me: loading cache $cache_file" >&6;}
3115 case $cache_file in
3116 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3117 *) . "./$cache_file";;
3118 esac
3120 else
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3122 $as_echo "$as_me: creating cache $cache_file" >&6;}
3123 >$cache_file
3126 # Check that the precious variables saved in the cache have kept the same
3127 # value.
3128 ac_cache_corrupted=false
3129 for ac_var in $ac_precious_vars; do
3130 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3131 eval ac_new_set=\$ac_env_${ac_var}_set
3132 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3133 eval ac_new_val=\$ac_env_${ac_var}_value
3134 case $ac_old_set,$ac_new_set in
3135 set,)
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3137 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3138 ac_cache_corrupted=: ;;
3139 ,set)
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3141 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3142 ac_cache_corrupted=: ;;
3143 ,);;
3145 if test "x$ac_old_val" != "x$ac_new_val"; then
3146 # differences in whitespace do not lead to failure.
3147 ac_old_val_w=`echo x $ac_old_val`
3148 ac_new_val_w=`echo x $ac_new_val`
3149 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3151 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3152 ac_cache_corrupted=:
3153 else
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3155 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3156 eval $ac_var=\$ac_old_val
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3159 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3161 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3162 fi;;
3163 esac
3164 # Pass precious variables to config.status.
3165 if test "$ac_new_set" = set; then
3166 case $ac_new_val in
3167 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3168 *) ac_arg=$ac_var=$ac_new_val ;;
3169 esac
3170 case " $ac_configure_args " in
3171 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3172 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3173 esac
3175 done
3176 if $ac_cache_corrupted; then
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3180 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3181 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3183 ## -------------------- ##
3184 ## Main body of script. ##
3185 ## -------------------- ##
3187 ac_ext=c
3188 ac_cpp='$CPP $CPPFLAGS'
3189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3195 ac_config_headers="$ac_config_headers include/config.h"
3197 ac_aux_dir=
3198 for ac_dir in tools "$srcdir"/tools; do
3199 if test -f "$ac_dir/install-sh"; then
3200 ac_aux_dir=$ac_dir
3201 ac_install_sh="$ac_aux_dir/install-sh -c"
3202 break
3203 elif test -f "$ac_dir/install.sh"; then
3204 ac_aux_dir=$ac_dir
3205 ac_install_sh="$ac_aux_dir/install.sh -c"
3206 break
3207 elif test -f "$ac_dir/shtool"; then
3208 ac_aux_dir=$ac_dir
3209 ac_install_sh="$ac_aux_dir/shtool install -c"
3210 break
3212 done
3213 if test -z "$ac_aux_dir"; then
3214 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3217 # These three variables are undocumented and unsupported,
3218 # and are intended to be withdrawn in a future Autoconf release.
3219 # They can cause serious problems if a builder's source tree is in a directory
3220 # whose full name contains unusual characters.
3221 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3222 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3223 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3227 libwine_version="1.0"
3231 # Check whether --enable-win16 was given.
3232 if test "${enable_win16+set}" = set; then :
3233 enableval=$enable_win16;
3236 # Check whether --enable-win64 was given.
3237 if test "${enable_win64+set}" = set; then :
3238 enableval=$enable_win64;
3241 # Check whether --enable-tests was given.
3242 if test "${enable_tests+set}" = set; then :
3243 enableval=$enable_tests;
3246 # Check whether --enable-maintainer-mode was given.
3247 if test "${enable_maintainer_mode+set}" = set; then :
3248 enableval=$enable_maintainer_mode;
3253 # Check whether --with-alsa was given.
3254 if test "${with_alsa+set}" = set; then :
3255 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3259 # Check whether --with-capi was given.
3260 if test "${with_capi+set}" = set; then :
3261 withval=$with_capi;
3265 # Check whether --with-cms was given.
3266 if test "${with_cms+set}" = set; then :
3267 withval=$with_cms;
3271 # Check whether --with-coreaudio was given.
3272 if test "${with_coreaudio+set}" = set; then :
3273 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3277 # Check whether --with-cups was given.
3278 if test "${with_cups+set}" = set; then :
3279 withval=$with_cups;
3283 # Check whether --with-curses was given.
3284 if test "${with_curses+set}" = set; then :
3285 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3289 # Check whether --with-dbus was given.
3290 if test "${with_dbus+set}" = set; then :
3291 withval=$with_dbus;
3295 # Check whether --with-fontconfig was given.
3296 if test "${with_fontconfig+set}" = set; then :
3297 withval=$with_fontconfig;
3301 # Check whether --with-freetype was given.
3302 if test "${with_freetype+set}" = set; then :
3303 withval=$with_freetype;
3307 # Check whether --with-gettext was given.
3308 if test "${with_gettext+set}" = set; then :
3309 withval=$with_gettext;
3313 # Check whether --with-gettextpo was given.
3314 if test "${with_gettextpo+set}" = set; then :
3315 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3319 # Check whether --with-gphoto was given.
3320 if test "${with_gphoto+set}" = set; then :
3321 withval=$with_gphoto;
3325 # Check whether --with-glu was given.
3326 if test "${with_glu+set}" = set; then :
3327 withval=$with_glu;
3331 # Check whether --with-gnutls was given.
3332 if test "${with_gnutls+set}" = set; then :
3333 withval=$with_gnutls;
3337 # Check whether --with-gsm was given.
3338 if test "${with_gsm+set}" = set; then :
3339 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3343 # Check whether --with-gstreamer was given.
3344 if test "${with_gstreamer+set}" = set; then :
3345 withval=$with_gstreamer;
3349 # Check whether --with-hal was given.
3350 if test "${with_hal+set}" = set; then :
3351 withval=$with_hal;
3355 # Check whether --with-jpeg was given.
3356 if test "${with_jpeg+set}" = set; then :
3357 withval=$with_jpeg;
3361 # Check whether --with-ldap was given.
3362 if test "${with_ldap+set}" = set; then :
3363 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3367 # Check whether --with-mpg123 was given.
3368 if test "${with_mpg123+set}" = set; then :
3369 withval=$with_mpg123;
3373 # Check whether --with-netapi was given.
3374 if test "${with_netapi+set}" = set; then :
3375 withval=$with_netapi;
3379 # Check whether --with-openal was given.
3380 if test "${with_openal+set}" = set; then :
3381 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3385 # Check whether --with-opencl was given.
3386 if test "${with_opencl+set}" = set; then :
3387 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3391 # Check whether --with-opengl was given.
3392 if test "${with_opengl+set}" = set; then :
3393 withval=$with_opengl;
3397 # Check whether --with-osmesa was given.
3398 if test "${with_osmesa+set}" = set; then :
3399 withval=$with_osmesa;
3403 # Check whether --with-oss was given.
3404 if test "${with_oss+set}" = set; then :
3405 withval=$with_oss;
3409 # Check whether --with-pcap was given.
3410 if test "${with_pcap+set}" = set; then :
3411 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3415 # Check whether --with-png was given.
3416 if test "${with_png+set}" = set; then :
3417 withval=$with_png;
3421 # Check whether --with-pthread was given.
3422 if test "${with_pthread+set}" = set; then :
3423 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3427 # Check whether --with-sane was given.
3428 if test "${with_sane+set}" = set; then :
3429 withval=$with_sane;
3433 # Check whether --with-tiff was given.
3434 if test "${with_tiff+set}" = set; then :
3435 withval=$with_tiff;
3439 # Check whether --with-v4l was given.
3440 if test "${with_v4l+set}" = set; then :
3441 withval=$with_v4l;
3445 # Check whether --with-xcomposite was given.
3446 if test "${with_xcomposite+set}" = set; then :
3447 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3451 # Check whether --with-xcursor was given.
3452 if test "${with_xcursor+set}" = set; then :
3453 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3457 # Check whether --with-xinerama was given.
3458 if test "${with_xinerama+set}" = set; then :
3459 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3463 # Check whether --with-xinput was given.
3464 if test "${with_xinput+set}" = set; then :
3465 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3469 # Check whether --with-xinput2 was given.
3470 if test "${with_xinput2+set}" = set; then :
3471 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3475 # Check whether --with-xml was given.
3476 if test "${with_xml+set}" = set; then :
3477 withval=$with_xml;
3481 # Check whether --with-xrandr was given.
3482 if test "${with_xrandr+set}" = set; then :
3483 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3487 # Check whether --with-xrender was given.
3488 if test "${with_xrender+set}" = set; then :
3489 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3493 # Check whether --with-xshape was given.
3494 if test "${with_xshape+set}" = set; then :
3495 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3499 # Check whether --with-xshm was given.
3500 if test "${with_xshm+set}" = set; then :
3501 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3505 # Check whether --with-xslt was given.
3506 if test "${with_xslt+set}" = set; then :
3507 withval=$with_xslt;
3511 # Check whether --with-xxf86vm was given.
3512 if test "${with_xxf86vm+set}" = set; then :
3513 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
3517 # Check whether --with-zlib was given.
3518 if test "${with_zlib+set}" = set; then :
3519 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3524 # Check whether --with-wine-tools was given.
3525 if test "${with_wine_tools+set}" = set; then :
3526 withval=$with_wine_tools;
3530 # Check whether --with-wine64 was given.
3531 if test "${with_wine64+set}" = set; then :
3532 withval=$with_wine64;
3536 # Make sure we can run config.sub.
3537 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3538 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3541 $as_echo_n "checking build system type... " >&6; }
3542 if ${ac_cv_build+:} false; then :
3543 $as_echo_n "(cached) " >&6
3544 else
3545 ac_build_alias=$build_alias
3546 test "x$ac_build_alias" = x &&
3547 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3548 test "x$ac_build_alias" = x &&
3549 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3550 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3551 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3555 $as_echo "$ac_cv_build" >&6; }
3556 case $ac_cv_build in
3557 *-*-*) ;;
3558 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3559 esac
3560 build=$ac_cv_build
3561 ac_save_IFS=$IFS; IFS='-'
3562 set x $ac_cv_build
3563 shift
3564 build_cpu=$1
3565 build_vendor=$2
3566 shift; shift
3567 # Remember, the first character of IFS is used to create $*,
3568 # except with old shells:
3569 build_os=$*
3570 IFS=$ac_save_IFS
3571 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3575 $as_echo_n "checking host system type... " >&6; }
3576 if ${ac_cv_host+:} false; then :
3577 $as_echo_n "(cached) " >&6
3578 else
3579 if test "x$host_alias" = x; then
3580 ac_cv_host=$ac_cv_build
3581 else
3582 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3583 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3588 $as_echo "$ac_cv_host" >&6; }
3589 case $ac_cv_host in
3590 *-*-*) ;;
3591 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3592 esac
3593 host=$ac_cv_host
3594 ac_save_IFS=$IFS; IFS='-'
3595 set x $ac_cv_host
3596 shift
3597 host_cpu=$1
3598 host_vendor=$2
3599 shift; shift
3600 # Remember, the first character of IFS is used to create $*,
3601 # except with old shells:
3602 host_os=$*
3603 IFS=$ac_save_IFS
3604 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3608 case "$srcdir" in
3609 .) ;;
3610 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3611 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3612 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3613 fi ;;
3614 esac
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3618 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3619 set x ${MAKE-make}
3620 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3621 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3622 $as_echo_n "(cached) " >&6
3623 else
3624 cat >conftest.make <<\_ACEOF
3625 SHELL = /bin/sh
3626 all:
3627 @echo '@@@%%%=$(MAKE)=@@@%%%'
3628 _ACEOF
3629 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3630 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3631 *@@@%%%=?*=@@@%%%*)
3632 eval ac_cv_prog_make_${ac_make}_set=yes;;
3634 eval ac_cv_prog_make_${ac_make}_set=no;;
3635 esac
3636 rm -f conftest.make
3638 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3640 $as_echo "yes" >&6; }
3641 SET_MAKE=
3642 else
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3644 $as_echo "no" >&6; }
3645 SET_MAKE="MAKE=${MAKE-make}"
3648 ac_ext=c
3649 ac_cpp='$CPP $CPPFLAGS'
3650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3653 if test -n "$ac_tool_prefix"; then
3654 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3655 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3657 $as_echo_n "checking for $ac_word... " >&6; }
3658 if ${ac_cv_prog_CC+:} false; then :
3659 $as_echo_n "(cached) " >&6
3660 else
3661 if test -n "$CC"; then
3662 ac_cv_prog_CC="$CC" # Let the user override the test.
3663 else
3664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3665 for as_dir in $PATH
3667 IFS=$as_save_IFS
3668 test -z "$as_dir" && as_dir=.
3669 for ac_exec_ext in '' $ac_executable_extensions; do
3670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3671 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3673 break 2
3675 done
3676 done
3677 IFS=$as_save_IFS
3681 CC=$ac_cv_prog_CC
3682 if test -n "$CC"; then
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3684 $as_echo "$CC" >&6; }
3685 else
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3687 $as_echo "no" >&6; }
3692 if test -z "$ac_cv_prog_CC"; then
3693 ac_ct_CC=$CC
3694 # Extract the first word of "gcc", so it can be a program name with args.
3695 set dummy gcc; ac_word=$2
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3697 $as_echo_n "checking for $ac_word... " >&6; }
3698 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3699 $as_echo_n "(cached) " >&6
3700 else
3701 if test -n "$ac_ct_CC"; then
3702 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3703 else
3704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3705 for as_dir in $PATH
3707 IFS=$as_save_IFS
3708 test -z "$as_dir" && as_dir=.
3709 for ac_exec_ext in '' $ac_executable_extensions; do
3710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3711 ac_cv_prog_ac_ct_CC="gcc"
3712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3713 break 2
3715 done
3716 done
3717 IFS=$as_save_IFS
3721 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3722 if test -n "$ac_ct_CC"; then
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3724 $as_echo "$ac_ct_CC" >&6; }
3725 else
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3727 $as_echo "no" >&6; }
3730 if test "x$ac_ct_CC" = x; then
3731 CC=""
3732 else
3733 case $cross_compiling:$ac_tool_warned in
3734 yes:)
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3737 ac_tool_warned=yes ;;
3738 esac
3739 CC=$ac_ct_CC
3741 else
3742 CC="$ac_cv_prog_CC"
3745 if test -z "$CC"; then
3746 if test -n "$ac_tool_prefix"; then
3747 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3748 set dummy ${ac_tool_prefix}cc; ac_word=$2
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3750 $as_echo_n "checking for $ac_word... " >&6; }
3751 if ${ac_cv_prog_CC+:} false; then :
3752 $as_echo_n "(cached) " >&6
3753 else
3754 if test -n "$CC"; then
3755 ac_cv_prog_CC="$CC" # Let the user override the test.
3756 else
3757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3758 for as_dir in $PATH
3760 IFS=$as_save_IFS
3761 test -z "$as_dir" && as_dir=.
3762 for ac_exec_ext in '' $ac_executable_extensions; do
3763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3764 ac_cv_prog_CC="${ac_tool_prefix}cc"
3765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3766 break 2
3768 done
3769 done
3770 IFS=$as_save_IFS
3774 CC=$ac_cv_prog_CC
3775 if test -n "$CC"; then
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3777 $as_echo "$CC" >&6; }
3778 else
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3780 $as_echo "no" >&6; }
3786 if test -z "$CC"; then
3787 # Extract the first word of "cc", so it can be a program name with args.
3788 set dummy cc; ac_word=$2
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3790 $as_echo_n "checking for $ac_word... " >&6; }
3791 if ${ac_cv_prog_CC+:} false; then :
3792 $as_echo_n "(cached) " >&6
3793 else
3794 if test -n "$CC"; then
3795 ac_cv_prog_CC="$CC" # Let the user override the test.
3796 else
3797 ac_prog_rejected=no
3798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3799 for as_dir in $PATH
3801 IFS=$as_save_IFS
3802 test -z "$as_dir" && as_dir=.
3803 for ac_exec_ext in '' $ac_executable_extensions; do
3804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3805 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3806 ac_prog_rejected=yes
3807 continue
3809 ac_cv_prog_CC="cc"
3810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3811 break 2
3813 done
3814 done
3815 IFS=$as_save_IFS
3817 if test $ac_prog_rejected = yes; then
3818 # We found a bogon in the path, so make sure we never use it.
3819 set dummy $ac_cv_prog_CC
3820 shift
3821 if test $# != 0; then
3822 # We chose a different compiler from the bogus one.
3823 # However, it has the same basename, so the bogon will be chosen
3824 # first if we set CC to just the basename; use the full file name.
3825 shift
3826 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3831 CC=$ac_cv_prog_CC
3832 if test -n "$CC"; then
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3834 $as_echo "$CC" >&6; }
3835 else
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3837 $as_echo "no" >&6; }
3842 if test -z "$CC"; then
3843 if test -n "$ac_tool_prefix"; then
3844 for ac_prog in cl.exe
3846 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3847 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3849 $as_echo_n "checking for $ac_word... " >&6; }
3850 if ${ac_cv_prog_CC+:} false; then :
3851 $as_echo_n "(cached) " >&6
3852 else
3853 if test -n "$CC"; then
3854 ac_cv_prog_CC="$CC" # Let the user override the test.
3855 else
3856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3857 for as_dir in $PATH
3859 IFS=$as_save_IFS
3860 test -z "$as_dir" && as_dir=.
3861 for ac_exec_ext in '' $ac_executable_extensions; do
3862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3863 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3865 break 2
3867 done
3868 done
3869 IFS=$as_save_IFS
3873 CC=$ac_cv_prog_CC
3874 if test -n "$CC"; then
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3876 $as_echo "$CC" >&6; }
3877 else
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3879 $as_echo "no" >&6; }
3883 test -n "$CC" && break
3884 done
3886 if test -z "$CC"; then
3887 ac_ct_CC=$CC
3888 for ac_prog in cl.exe
3890 # Extract the first word of "$ac_prog", so it can be a program name with args.
3891 set dummy $ac_prog; ac_word=$2
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3893 $as_echo_n "checking for $ac_word... " >&6; }
3894 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3895 $as_echo_n "(cached) " >&6
3896 else
3897 if test -n "$ac_ct_CC"; then
3898 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3899 else
3900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3901 for as_dir in $PATH
3903 IFS=$as_save_IFS
3904 test -z "$as_dir" && as_dir=.
3905 for ac_exec_ext in '' $ac_executable_extensions; do
3906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3907 ac_cv_prog_ac_ct_CC="$ac_prog"
3908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3909 break 2
3911 done
3912 done
3913 IFS=$as_save_IFS
3917 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3918 if test -n "$ac_ct_CC"; then
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3920 $as_echo "$ac_ct_CC" >&6; }
3921 else
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3923 $as_echo "no" >&6; }
3927 test -n "$ac_ct_CC" && break
3928 done
3930 if test "x$ac_ct_CC" = x; then
3931 CC=""
3932 else
3933 case $cross_compiling:$ac_tool_warned in
3934 yes:)
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3936 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3937 ac_tool_warned=yes ;;
3938 esac
3939 CC=$ac_ct_CC
3946 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3948 as_fn_error $? "no acceptable C compiler found in \$PATH
3949 See \`config.log' for more details" "$LINENO" 5; }
3951 # Provide some information about the compiler.
3952 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3953 set X $ac_compile
3954 ac_compiler=$2
3955 for ac_option in --version -v -V -qversion; do
3956 { { ac_try="$ac_compiler $ac_option >&5"
3957 case "(($ac_try" in
3958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3959 *) ac_try_echo=$ac_try;;
3960 esac
3961 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3962 $as_echo "$ac_try_echo"; } >&5
3963 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3964 ac_status=$?
3965 if test -s conftest.err; then
3966 sed '10a\
3967 ... rest of stderr output deleted ...
3968 10q' conftest.err >conftest.er1
3969 cat conftest.er1 >&5
3971 rm -f conftest.er1 conftest.err
3972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3973 test $ac_status = 0; }
3974 done
3976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3977 /* end confdefs.h. */
3980 main ()
3984 return 0;
3986 _ACEOF
3987 ac_clean_files_save=$ac_clean_files
3988 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3989 # Try to create an executable without -o first, disregard a.out.
3990 # It will help us diagnose broken compilers, and finding out an intuition
3991 # of exeext.
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3993 $as_echo_n "checking whether the C compiler works... " >&6; }
3994 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3996 # The possible output files:
3997 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3999 ac_rmfiles=
4000 for ac_file in $ac_files
4002 case $ac_file in
4003 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4004 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4005 esac
4006 done
4007 rm -f $ac_rmfiles
4009 if { { ac_try="$ac_link_default"
4010 case "(($ac_try" in
4011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4012 *) ac_try_echo=$ac_try;;
4013 esac
4014 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4015 $as_echo "$ac_try_echo"; } >&5
4016 (eval "$ac_link_default") 2>&5
4017 ac_status=$?
4018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4019 test $ac_status = 0; }; then :
4020 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4021 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4022 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4023 # so that the user can short-circuit this test for compilers unknown to
4024 # Autoconf.
4025 for ac_file in $ac_files ''
4027 test -f "$ac_file" || continue
4028 case $ac_file in
4029 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4031 [ab].out )
4032 # We found the default executable, but exeext='' is most
4033 # certainly right.
4034 break;;
4035 *.* )
4036 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4037 then :; else
4038 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4040 # We set ac_cv_exeext here because the later test for it is not
4041 # safe: cross compilers may not add the suffix if given an `-o'
4042 # argument, so we may need to know it at that point already.
4043 # Even if this section looks crufty: it has the advantage of
4044 # actually working.
4045 break;;
4047 break;;
4048 esac
4049 done
4050 test "$ac_cv_exeext" = no && ac_cv_exeext=
4052 else
4053 ac_file=''
4055 if test -z "$ac_file"; then :
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4057 $as_echo "no" >&6; }
4058 $as_echo "$as_me: failed program was:" >&5
4059 sed 's/^/| /' conftest.$ac_ext >&5
4061 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4062 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4063 as_fn_error 77 "C compiler cannot create executables
4064 See \`config.log' for more details" "$LINENO" 5; }
4065 else
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4067 $as_echo "yes" >&6; }
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4070 $as_echo_n "checking for C compiler default output file name... " >&6; }
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4072 $as_echo "$ac_file" >&6; }
4073 ac_exeext=$ac_cv_exeext
4075 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4076 ac_clean_files=$ac_clean_files_save
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4078 $as_echo_n "checking for suffix of executables... " >&6; }
4079 if { { ac_try="$ac_link"
4080 case "(($ac_try" in
4081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4082 *) ac_try_echo=$ac_try;;
4083 esac
4084 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4085 $as_echo "$ac_try_echo"; } >&5
4086 (eval "$ac_link") 2>&5
4087 ac_status=$?
4088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4089 test $ac_status = 0; }; then :
4090 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4091 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4092 # work properly (i.e., refer to `conftest.exe'), while it won't with
4093 # `rm'.
4094 for ac_file in conftest.exe conftest conftest.*; do
4095 test -f "$ac_file" || continue
4096 case $ac_file in
4097 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4098 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4099 break;;
4100 * ) break;;
4101 esac
4102 done
4103 else
4104 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4106 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4107 See \`config.log' for more details" "$LINENO" 5; }
4109 rm -f conftest conftest$ac_cv_exeext
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4111 $as_echo "$ac_cv_exeext" >&6; }
4113 rm -f conftest.$ac_ext
4114 EXEEXT=$ac_cv_exeext
4115 ac_exeext=$EXEEXT
4116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4117 /* end confdefs.h. */
4118 #include <stdio.h>
4120 main ()
4122 FILE *f = fopen ("conftest.out", "w");
4123 return ferror (f) || fclose (f) != 0;
4126 return 0;
4128 _ACEOF
4129 ac_clean_files="$ac_clean_files conftest.out"
4130 # Check that the compiler produces executables we can run. If not, either
4131 # the compiler is broken, or we cross compile.
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4133 $as_echo_n "checking whether we are cross compiling... " >&6; }
4134 if test "$cross_compiling" != yes; then
4135 { { ac_try="$ac_link"
4136 case "(($ac_try" in
4137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4138 *) ac_try_echo=$ac_try;;
4139 esac
4140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4141 $as_echo "$ac_try_echo"; } >&5
4142 (eval "$ac_link") 2>&5
4143 ac_status=$?
4144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4145 test $ac_status = 0; }
4146 if { ac_try='./conftest$ac_cv_exeext'
4147 { { case "(($ac_try" in
4148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4149 *) ac_try_echo=$ac_try;;
4150 esac
4151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4152 $as_echo "$ac_try_echo"; } >&5
4153 (eval "$ac_try") 2>&5
4154 ac_status=$?
4155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4156 test $ac_status = 0; }; }; then
4157 cross_compiling=no
4158 else
4159 if test "$cross_compiling" = maybe; then
4160 cross_compiling=yes
4161 else
4162 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4163 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4164 as_fn_error $? "cannot run C compiled programs.
4165 If you meant to cross compile, use \`--host'.
4166 See \`config.log' for more details" "$LINENO" 5; }
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4171 $as_echo "$cross_compiling" >&6; }
4173 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4174 ac_clean_files=$ac_clean_files_save
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4176 $as_echo_n "checking for suffix of object files... " >&6; }
4177 if ${ac_cv_objext+:} false; then :
4178 $as_echo_n "(cached) " >&6
4179 else
4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h. */
4184 main ()
4188 return 0;
4190 _ACEOF
4191 rm -f conftest.o conftest.obj
4192 if { { ac_try="$ac_compile"
4193 case "(($ac_try" in
4194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4195 *) ac_try_echo=$ac_try;;
4196 esac
4197 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4198 $as_echo "$ac_try_echo"; } >&5
4199 (eval "$ac_compile") 2>&5
4200 ac_status=$?
4201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4202 test $ac_status = 0; }; then :
4203 for ac_file in conftest.o conftest.obj conftest.*; do
4204 test -f "$ac_file" || continue;
4205 case $ac_file in
4206 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4207 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4208 break;;
4209 esac
4210 done
4211 else
4212 $as_echo "$as_me: failed program was:" >&5
4213 sed 's/^/| /' conftest.$ac_ext >&5
4215 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4217 as_fn_error $? "cannot compute suffix of object files: cannot compile
4218 See \`config.log' for more details" "$LINENO" 5; }
4220 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4223 $as_echo "$ac_cv_objext" >&6; }
4224 OBJEXT=$ac_cv_objext
4225 ac_objext=$OBJEXT
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4227 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4228 if ${ac_cv_c_compiler_gnu+:} false; then :
4229 $as_echo_n "(cached) " >&6
4230 else
4231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4232 /* end confdefs.h. */
4235 main ()
4237 #ifndef __GNUC__
4238 choke me
4239 #endif
4242 return 0;
4244 _ACEOF
4245 if ac_fn_c_try_compile "$LINENO"; then :
4246 ac_compiler_gnu=yes
4247 else
4248 ac_compiler_gnu=no
4250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4251 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4255 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4256 if test $ac_compiler_gnu = yes; then
4257 GCC=yes
4258 else
4259 GCC=
4261 ac_test_CFLAGS=${CFLAGS+set}
4262 ac_save_CFLAGS=$CFLAGS
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4264 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4265 if ${ac_cv_prog_cc_g+:} false; then :
4266 $as_echo_n "(cached) " >&6
4267 else
4268 ac_save_c_werror_flag=$ac_c_werror_flag
4269 ac_c_werror_flag=yes
4270 ac_cv_prog_cc_g=no
4271 CFLAGS="-g"
4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4276 main ()
4280 return 0;
4282 _ACEOF
4283 if ac_fn_c_try_compile "$LINENO"; then :
4284 ac_cv_prog_cc_g=yes
4285 else
4286 CFLAGS=""
4287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4288 /* end confdefs.h. */
4291 main ()
4295 return 0;
4297 _ACEOF
4298 if ac_fn_c_try_compile "$LINENO"; then :
4300 else
4301 ac_c_werror_flag=$ac_save_c_werror_flag
4302 CFLAGS="-g"
4303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4304 /* end confdefs.h. */
4307 main ()
4311 return 0;
4313 _ACEOF
4314 if ac_fn_c_try_compile "$LINENO"; then :
4315 ac_cv_prog_cc_g=yes
4317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4322 ac_c_werror_flag=$ac_save_c_werror_flag
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4325 $as_echo "$ac_cv_prog_cc_g" >&6; }
4326 if test "$ac_test_CFLAGS" = set; then
4327 CFLAGS=$ac_save_CFLAGS
4328 elif test $ac_cv_prog_cc_g = yes; then
4329 if test "$GCC" = yes; then
4330 CFLAGS="-g -O2"
4331 else
4332 CFLAGS="-g"
4334 else
4335 if test "$GCC" = yes; then
4336 CFLAGS="-O2"
4337 else
4338 CFLAGS=
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4342 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4343 if ${ac_cv_prog_cc_c89+:} false; then :
4344 $as_echo_n "(cached) " >&6
4345 else
4346 ac_cv_prog_cc_c89=no
4347 ac_save_CC=$CC
4348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h. */
4350 #include <stdarg.h>
4351 #include <stdio.h>
4352 struct stat;
4353 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4354 struct buf { int x; };
4355 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4356 static char *e (p, i)
4357 char **p;
4358 int i;
4360 return p[i];
4362 static char *f (char * (*g) (char **, int), char **p, ...)
4364 char *s;
4365 va_list v;
4366 va_start (v,p);
4367 s = g (p, va_arg (v,int));
4368 va_end (v);
4369 return s;
4372 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4373 function prototypes and stuff, but not '\xHH' hex character constants.
4374 These don't provoke an error unfortunately, instead are silently treated
4375 as 'x'. The following induces an error, until -std is added to get
4376 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4377 array size at least. It's necessary to write '\x00'==0 to get something
4378 that's true only with -std. */
4379 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4381 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4382 inside strings and character constants. */
4383 #define FOO(x) 'x'
4384 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4386 int test (int i, double x);
4387 struct s1 {int (*f) (int a);};
4388 struct s2 {int (*f) (double a);};
4389 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4390 int argc;
4391 char **argv;
4393 main ()
4395 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4397 return 0;
4399 _ACEOF
4400 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4401 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4403 CC="$ac_save_CC $ac_arg"
4404 if ac_fn_c_try_compile "$LINENO"; then :
4405 ac_cv_prog_cc_c89=$ac_arg
4407 rm -f core conftest.err conftest.$ac_objext
4408 test "x$ac_cv_prog_cc_c89" != "xno" && break
4409 done
4410 rm -f conftest.$ac_ext
4411 CC=$ac_save_CC
4414 # AC_CACHE_VAL
4415 case "x$ac_cv_prog_cc_c89" in
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4418 $as_echo "none needed" >&6; } ;;
4419 xno)
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4421 $as_echo "unsupported" >&6; } ;;
4423 CC="$CC $ac_cv_prog_cc_c89"
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4425 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4426 esac
4427 if test "x$ac_cv_prog_cc_c89" != xno; then :
4431 ac_ext=c
4432 ac_cpp='$CPP $CPPFLAGS'
4433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4437 ac_ext=cpp
4438 ac_cpp='$CXXCPP $CPPFLAGS'
4439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4442 if test -z "$CXX"; then
4443 if test -n "$CCC"; then
4444 CXX=$CCC
4445 else
4446 if test -n "$ac_tool_prefix"; then
4447 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4449 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4450 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4452 $as_echo_n "checking for $ac_word... " >&6; }
4453 if ${ac_cv_prog_CXX+:} false; then :
4454 $as_echo_n "(cached) " >&6
4455 else
4456 if test -n "$CXX"; then
4457 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4458 else
4459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4460 for as_dir in $PATH
4462 IFS=$as_save_IFS
4463 test -z "$as_dir" && as_dir=.
4464 for ac_exec_ext in '' $ac_executable_extensions; do
4465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4466 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4468 break 2
4470 done
4471 done
4472 IFS=$as_save_IFS
4476 CXX=$ac_cv_prog_CXX
4477 if test -n "$CXX"; then
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4479 $as_echo "$CXX" >&6; }
4480 else
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4482 $as_echo "no" >&6; }
4486 test -n "$CXX" && break
4487 done
4489 if test -z "$CXX"; then
4490 ac_ct_CXX=$CXX
4491 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4493 # Extract the first word of "$ac_prog", so it can be a program name with args.
4494 set dummy $ac_prog; ac_word=$2
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4496 $as_echo_n "checking for $ac_word... " >&6; }
4497 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4498 $as_echo_n "(cached) " >&6
4499 else
4500 if test -n "$ac_ct_CXX"; then
4501 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4502 else
4503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4504 for as_dir in $PATH
4506 IFS=$as_save_IFS
4507 test -z "$as_dir" && as_dir=.
4508 for ac_exec_ext in '' $ac_executable_extensions; do
4509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4510 ac_cv_prog_ac_ct_CXX="$ac_prog"
4511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4512 break 2
4514 done
4515 done
4516 IFS=$as_save_IFS
4520 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4521 if test -n "$ac_ct_CXX"; then
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4523 $as_echo "$ac_ct_CXX" >&6; }
4524 else
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4526 $as_echo "no" >&6; }
4530 test -n "$ac_ct_CXX" && break
4531 done
4533 if test "x$ac_ct_CXX" = x; then
4534 CXX="g++"
4535 else
4536 case $cross_compiling:$ac_tool_warned in
4537 yes:)
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4540 ac_tool_warned=yes ;;
4541 esac
4542 CXX=$ac_ct_CXX
4548 # Provide some information about the compiler.
4549 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4550 set X $ac_compile
4551 ac_compiler=$2
4552 for ac_option in --version -v -V -qversion; do
4553 { { ac_try="$ac_compiler $ac_option >&5"
4554 case "(($ac_try" in
4555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4556 *) ac_try_echo=$ac_try;;
4557 esac
4558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4559 $as_echo "$ac_try_echo"; } >&5
4560 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4561 ac_status=$?
4562 if test -s conftest.err; then
4563 sed '10a\
4564 ... rest of stderr output deleted ...
4565 10q' conftest.err >conftest.er1
4566 cat conftest.er1 >&5
4568 rm -f conftest.er1 conftest.err
4569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4570 test $ac_status = 0; }
4571 done
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4574 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4575 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4576 $as_echo_n "(cached) " >&6
4577 else
4578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4579 /* end confdefs.h. */
4582 main ()
4584 #ifndef __GNUC__
4585 choke me
4586 #endif
4589 return 0;
4591 _ACEOF
4592 if ac_fn_cxx_try_compile "$LINENO"; then :
4593 ac_compiler_gnu=yes
4594 else
4595 ac_compiler_gnu=no
4597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4598 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4602 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4603 if test $ac_compiler_gnu = yes; then
4604 GXX=yes
4605 else
4606 GXX=
4608 ac_test_CXXFLAGS=${CXXFLAGS+set}
4609 ac_save_CXXFLAGS=$CXXFLAGS
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4611 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4612 if ${ac_cv_prog_cxx_g+:} false; then :
4613 $as_echo_n "(cached) " >&6
4614 else
4615 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4616 ac_cxx_werror_flag=yes
4617 ac_cv_prog_cxx_g=no
4618 CXXFLAGS="-g"
4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4623 main ()
4627 return 0;
4629 _ACEOF
4630 if ac_fn_cxx_try_compile "$LINENO"; then :
4631 ac_cv_prog_cxx_g=yes
4632 else
4633 CXXFLAGS=""
4634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h. */
4638 main ()
4642 return 0;
4644 _ACEOF
4645 if ac_fn_cxx_try_compile "$LINENO"; then :
4647 else
4648 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4649 CXXFLAGS="-g"
4650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4651 /* end confdefs.h. */
4654 main ()
4658 return 0;
4660 _ACEOF
4661 if ac_fn_cxx_try_compile "$LINENO"; then :
4662 ac_cv_prog_cxx_g=yes
4664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4669 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4672 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4673 if test "$ac_test_CXXFLAGS" = set; then
4674 CXXFLAGS=$ac_save_CXXFLAGS
4675 elif test $ac_cv_prog_cxx_g = yes; then
4676 if test "$GXX" = yes; then
4677 CXXFLAGS="-g -O2"
4678 else
4679 CXXFLAGS="-g"
4681 else
4682 if test "$GXX" = yes; then
4683 CXXFLAGS="-O2"
4684 else
4685 CXXFLAGS=
4688 ac_ext=c
4689 ac_cpp='$CPP $CPPFLAGS'
4690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4694 if test -n "$ac_tool_prefix"; then
4695 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4696 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4698 $as_echo_n "checking for $ac_word... " >&6; }
4699 if ${ac_cv_prog_CPPBIN+:} false; then :
4700 $as_echo_n "(cached) " >&6
4701 else
4702 if test -n "$CPPBIN"; then
4703 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4704 else
4705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4706 for as_dir in $PATH
4708 IFS=$as_save_IFS
4709 test -z "$as_dir" && as_dir=.
4710 for ac_exec_ext in '' $ac_executable_extensions; do
4711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4712 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4714 break 2
4716 done
4717 done
4718 IFS=$as_save_IFS
4722 CPPBIN=$ac_cv_prog_CPPBIN
4723 if test -n "$CPPBIN"; then
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4725 $as_echo "$CPPBIN" >&6; }
4726 else
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4728 $as_echo "no" >&6; }
4733 if test -z "$ac_cv_prog_CPPBIN"; then
4734 ac_ct_CPPBIN=$CPPBIN
4735 # Extract the first word of "cpp", so it can be a program name with args.
4736 set dummy cpp; ac_word=$2
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4738 $as_echo_n "checking for $ac_word... " >&6; }
4739 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4740 $as_echo_n "(cached) " >&6
4741 else
4742 if test -n "$ac_ct_CPPBIN"; then
4743 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4744 else
4745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4746 for as_dir in $PATH
4748 IFS=$as_save_IFS
4749 test -z "$as_dir" && as_dir=.
4750 for ac_exec_ext in '' $ac_executable_extensions; do
4751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4752 ac_cv_prog_ac_ct_CPPBIN="cpp"
4753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4754 break 2
4756 done
4757 done
4758 IFS=$as_save_IFS
4762 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4763 if test -n "$ac_ct_CPPBIN"; then
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4765 $as_echo "$ac_ct_CPPBIN" >&6; }
4766 else
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4768 $as_echo "no" >&6; }
4771 if test "x$ac_ct_CPPBIN" = x; then
4772 CPPBIN="cpp"
4773 else
4774 case $cross_compiling:$ac_tool_warned in
4775 yes:)
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4778 ac_tool_warned=yes ;;
4779 esac
4780 CPPBIN=$ac_ct_CPPBIN
4782 else
4783 CPPBIN="$ac_cv_prog_CPPBIN"
4787 cat >>confdefs.h <<_ACEOF
4788 #define EXEEXT "$ac_exeext"
4789 _ACEOF
4791 if test -n "$ac_tool_prefix"; then
4792 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4793 set dummy ${ac_tool_prefix}ld; ac_word=$2
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4795 $as_echo_n "checking for $ac_word... " >&6; }
4796 if ${ac_cv_prog_LD+:} false; then :
4797 $as_echo_n "(cached) " >&6
4798 else
4799 if test -n "$LD"; then
4800 ac_cv_prog_LD="$LD" # Let the user override the test.
4801 else
4802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4803 for as_dir in $PATH
4805 IFS=$as_save_IFS
4806 test -z "$as_dir" && as_dir=.
4807 for ac_exec_ext in '' $ac_executable_extensions; do
4808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4809 ac_cv_prog_LD="${ac_tool_prefix}ld"
4810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4811 break 2
4813 done
4814 done
4815 IFS=$as_save_IFS
4819 LD=$ac_cv_prog_LD
4820 if test -n "$LD"; then
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4822 $as_echo "$LD" >&6; }
4823 else
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4825 $as_echo "no" >&6; }
4830 if test -z "$ac_cv_prog_LD"; then
4831 ac_ct_LD=$LD
4832 # Extract the first word of "ld", so it can be a program name with args.
4833 set dummy ld; ac_word=$2
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4835 $as_echo_n "checking for $ac_word... " >&6; }
4836 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4837 $as_echo_n "(cached) " >&6
4838 else
4839 if test -n "$ac_ct_LD"; then
4840 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4841 else
4842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4843 for as_dir in $PATH
4845 IFS=$as_save_IFS
4846 test -z "$as_dir" && as_dir=.
4847 for ac_exec_ext in '' $ac_executable_extensions; do
4848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4849 ac_cv_prog_ac_ct_LD="ld"
4850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4851 break 2
4853 done
4854 done
4855 IFS=$as_save_IFS
4859 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4860 if test -n "$ac_ct_LD"; then
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4862 $as_echo "$ac_ct_LD" >&6; }
4863 else
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4865 $as_echo "no" >&6; }
4868 if test "x$ac_ct_LD" = x; then
4869 LD=""
4870 else
4871 case $cross_compiling:$ac_tool_warned in
4872 yes:)
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4874 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4875 ac_tool_warned=yes ;;
4876 esac
4877 LD=$ac_ct_LD
4879 else
4880 LD="$ac_cv_prog_LD"
4884 case $host in
4885 *-darwin*)
4886 if test "x$enable_win64" = "xyes"
4887 then
4888 CC="$CC -m64"
4889 CXX="$CXX -m64"
4890 host_cpu="x86_64"
4891 notice_platform="64-bit "
4892 TARGETFLAGS="-m64"
4894 else
4895 CC="$CC -m32"
4896 CXX="$CXX -m32"
4897 host_cpu="i386"
4898 notice_platform="32-bit "
4899 TARGETFLAGS="-m32"
4901 enable_win16=${enable_win16:-yes}
4903 with_fontconfig=${with_fontconfig:-no}
4905 x86_64*|amd64*)
4906 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4907 then
4908 CC="$CC -m32"
4909 CXX="$CXX -m32"
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4911 $as_echo_n "checking whether $CC works... " >&6; }
4913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4914 /* end confdefs.h. */
4917 main ()
4921 return 0;
4923 _ACEOF
4924 if ac_fn_c_try_link "$LINENO"; then :
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4926 $as_echo "yes" >&6; }
4927 else
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4930 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4932 rm -f core conftest.err conftest.$ac_objext \
4933 conftest$ac_exeext conftest.$ac_ext
4934 host_cpu="i386"
4935 notice_platform="32-bit "
4936 TARGETFLAGS="-m32"
4938 enable_win16=${enable_win16:-yes}
4939 else
4940 if test "x${GCC}" = "xyes"
4941 then
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4943 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4945 /* end confdefs.h. */
4946 #include <stdarg.h>
4948 main ()
4950 void func(__builtin_ms_va_list *args);
4952 return 0;
4954 _ACEOF
4955 if ac_fn_c_try_compile "$LINENO"; then :
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4957 $as_echo "yes" >&6; }
4958 else
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4960 $as_echo "no" >&6; }
4961 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4965 host_cpu="x86_64"
4966 TARGETFLAGS="-m64"
4970 arm*)
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4972 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4974 /* end confdefs.h. */
4975 int ac_test(int i) { return i; }
4977 main ()
4979 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4981 return 0;
4983 _ACEOF
4984 if ac_fn_c_try_link "$LINENO"; then :
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4986 $as_echo "yes" >&6; }
4987 else
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 $as_echo "no" >&6; }
4990 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4992 rm -f core conftest.err conftest.$ac_objext \
4993 conftest$ac_exeext conftest.$ac_ext
4994 CFLAGS="$CFLAGS -marm"
4995 TARGETFLAGS="-marm"
4998 *-mingw32*|*-cygwin*)
4999 enable_win16=${enable_win16:-no}
5000 CFLAGS="$CFLAGS -D_WIN32"
5002 i[3456789]86*)
5003 enable_win16=${enable_win16:-yes}
5005 esac
5007 enable_win16=${enable_win16:-no}
5008 enable_win64=${enable_win64:-no}
5010 enable_winetest=${enable_winetest:-$enable_tests}
5012 if test -n "$with_wine64"
5013 then
5014 if test "x$enable_win64" = "xyes"
5015 then
5016 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5017 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5019 enable_fonts=${enable_fonts:-no}
5020 enable_server=${enable_server:-no}
5021 elif test "x$enable_win64" = "xyes"
5022 then
5023 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5027 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5028 if ${wine_cv_toolsdir+:} false; then :
5029 $as_echo_n "(cached) " >&6
5030 else
5031 wine_cv_toolsdir="$with_wine_tools"
5032 if test -z "$with_wine_tools"; then
5033 if test "$cross_compiling" = "yes"; then
5034 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5035 elif test -n "$with_wine64"; then
5036 wine_cv_toolsdir="$with_wine64"
5039 if test -z "$wine_cv_toolsdir"; then
5040 wine_makedep=tools/makedep
5041 wine_cv_toolsdir="\$(top_builddir)"
5042 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5043 wine_makedep=$wine_cv_toolsdir/tools/makedep
5044 case "$wine_cv_toolsdir" in
5045 /*) ;;
5046 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5047 esac
5048 enable_tools=${enable_tools:-no}
5049 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5050 else
5051 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5055 $as_echo "$wine_cv_toolsdir" >&6; }
5056 TOOLSDIR=$wine_cv_toolsdir
5058 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5059 then
5060 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5064 for ac_prog in flex
5066 # Extract the first word of "$ac_prog", so it can be a program name with args.
5067 set dummy $ac_prog; ac_word=$2
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5069 $as_echo_n "checking for $ac_word... " >&6; }
5070 if ${ac_cv_prog_FLEX+:} false; then :
5071 $as_echo_n "(cached) " >&6
5072 else
5073 if test -n "$FLEX"; then
5074 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5075 else
5076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5077 for as_dir in $PATH
5079 IFS=$as_save_IFS
5080 test -z "$as_dir" && as_dir=.
5081 for ac_exec_ext in '' $ac_executable_extensions; do
5082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5083 ac_cv_prog_FLEX="$ac_prog"
5084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5085 break 2
5087 done
5088 done
5089 IFS=$as_save_IFS
5093 FLEX=$ac_cv_prog_FLEX
5094 if test -n "$FLEX"; then
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5096 $as_echo "$FLEX" >&6; }
5097 else
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5099 $as_echo "no" >&6; }
5103 test -n "$FLEX" && break
5104 done
5105 test -n "$FLEX" || FLEX="none"
5107 if test "$FLEX" = "none"
5108 then
5109 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5112 $as_echo_n "checking whether flex is recent enough... " >&6; }
5113 cat >conftest.l <<EOF
5114 %top{
5115 #include "prediluvian.h"
5119 if $FLEX -t conftest.l >/dev/null 2>&5
5120 then
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5122 $as_echo "yes" >&6; }
5123 else
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5125 $as_echo "no" >&6; }
5126 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5129 for ac_prog in bison
5131 # Extract the first word of "$ac_prog", so it can be a program name with args.
5132 set dummy $ac_prog; ac_word=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if ${ac_cv_prog_BISON+:} false; then :
5136 $as_echo_n "(cached) " >&6
5137 else
5138 if test -n "$BISON"; then
5139 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5140 else
5141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5142 for as_dir in $PATH
5144 IFS=$as_save_IFS
5145 test -z "$as_dir" && as_dir=.
5146 for ac_exec_ext in '' $ac_executable_extensions; do
5147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5148 ac_cv_prog_BISON="$ac_prog"
5149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5150 break 2
5152 done
5153 done
5154 IFS=$as_save_IFS
5158 BISON=$ac_cv_prog_BISON
5159 if test -n "$BISON"; then
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5161 $as_echo "$BISON" >&6; }
5162 else
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 $as_echo "no" >&6; }
5168 test -n "$BISON" && break
5169 done
5170 test -n "$BISON" || BISON="none"
5172 if test "$BISON" = "none"
5173 then
5174 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5177 if test -n "$ac_tool_prefix"; then
5178 for ac_prog in ar gar
5180 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5181 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5183 $as_echo_n "checking for $ac_word... " >&6; }
5184 if ${ac_cv_prog_AR+:} false; then :
5185 $as_echo_n "(cached) " >&6
5186 else
5187 if test -n "$AR"; then
5188 ac_cv_prog_AR="$AR" # Let the user override the test.
5189 else
5190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5191 for as_dir in $PATH
5193 IFS=$as_save_IFS
5194 test -z "$as_dir" && as_dir=.
5195 for ac_exec_ext in '' $ac_executable_extensions; do
5196 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5197 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5199 break 2
5201 done
5202 done
5203 IFS=$as_save_IFS
5207 AR=$ac_cv_prog_AR
5208 if test -n "$AR"; then
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5210 $as_echo "$AR" >&6; }
5211 else
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5213 $as_echo "no" >&6; }
5217 test -n "$AR" && break
5218 done
5220 if test -z "$AR"; then
5221 ac_ct_AR=$AR
5222 for ac_prog in ar gar
5224 # Extract the first word of "$ac_prog", so it can be a program name with args.
5225 set dummy $ac_prog; ac_word=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5229 $as_echo_n "(cached) " >&6
5230 else
5231 if test -n "$ac_ct_AR"; then
5232 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5233 else
5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235 for as_dir in $PATH
5237 IFS=$as_save_IFS
5238 test -z "$as_dir" && as_dir=.
5239 for ac_exec_ext in '' $ac_executable_extensions; do
5240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5241 ac_cv_prog_ac_ct_AR="$ac_prog"
5242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5243 break 2
5245 done
5246 done
5247 IFS=$as_save_IFS
5251 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5252 if test -n "$ac_ct_AR"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5254 $as_echo "$ac_ct_AR" >&6; }
5255 else
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5261 test -n "$ac_ct_AR" && break
5262 done
5264 if test "x$ac_ct_AR" = x; then
5265 AR="ar"
5266 else
5267 case $cross_compiling:$ac_tool_warned in
5268 yes:)
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5271 ac_tool_warned=yes ;;
5272 esac
5273 AR=$ac_ct_AR
5277 if test -n "$ac_tool_prefix"; then
5278 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5279 set dummy ${ac_tool_prefix}strip; ac_word=$2
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5281 $as_echo_n "checking for $ac_word... " >&6; }
5282 if ${ac_cv_prog_STRIP+:} false; then :
5283 $as_echo_n "(cached) " >&6
5284 else
5285 if test -n "$STRIP"; then
5286 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5287 else
5288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5289 for as_dir in $PATH
5291 IFS=$as_save_IFS
5292 test -z "$as_dir" && as_dir=.
5293 for ac_exec_ext in '' $ac_executable_extensions; do
5294 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5295 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5297 break 2
5299 done
5300 done
5301 IFS=$as_save_IFS
5305 STRIP=$ac_cv_prog_STRIP
5306 if test -n "$STRIP"; then
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5308 $as_echo "$STRIP" >&6; }
5309 else
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5311 $as_echo "no" >&6; }
5316 if test -z "$ac_cv_prog_STRIP"; then
5317 ac_ct_STRIP=$STRIP
5318 # Extract the first word of "strip", so it can be a program name with args.
5319 set dummy strip; ac_word=$2
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5321 $as_echo_n "checking for $ac_word... " >&6; }
5322 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5323 $as_echo_n "(cached) " >&6
5324 else
5325 if test -n "$ac_ct_STRIP"; then
5326 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5327 else
5328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5329 for as_dir in $PATH
5331 IFS=$as_save_IFS
5332 test -z "$as_dir" && as_dir=.
5333 for ac_exec_ext in '' $ac_executable_extensions; do
5334 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5335 ac_cv_prog_ac_ct_STRIP="strip"
5336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5337 break 2
5339 done
5340 done
5341 IFS=$as_save_IFS
5345 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5346 if test -n "$ac_ct_STRIP"; then
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5348 $as_echo "$ac_ct_STRIP" >&6; }
5349 else
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5351 $as_echo "no" >&6; }
5354 if test "x$ac_ct_STRIP" = x; then
5355 STRIP="strip"
5356 else
5357 case $cross_compiling:$ac_tool_warned in
5358 yes:)
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5361 ac_tool_warned=yes ;;
5362 esac
5363 STRIP=$ac_ct_STRIP
5365 else
5366 STRIP="$ac_cv_prog_STRIP"
5369 ARFLAGS=rc
5371 if test -n "$ac_tool_prefix"; then
5372 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5373 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375 $as_echo_n "checking for $ac_word... " >&6; }
5376 if ${ac_cv_prog_RANLIB+:} false; then :
5377 $as_echo_n "(cached) " >&6
5378 else
5379 if test -n "$RANLIB"; then
5380 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5381 else
5382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383 for as_dir in $PATH
5385 IFS=$as_save_IFS
5386 test -z "$as_dir" && as_dir=.
5387 for ac_exec_ext in '' $ac_executable_extensions; do
5388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5389 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5391 break 2
5393 done
5394 done
5395 IFS=$as_save_IFS
5399 RANLIB=$ac_cv_prog_RANLIB
5400 if test -n "$RANLIB"; then
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5402 $as_echo "$RANLIB" >&6; }
5403 else
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405 $as_echo "no" >&6; }
5410 if test -z "$ac_cv_prog_RANLIB"; then
5411 ac_ct_RANLIB=$RANLIB
5412 # Extract the first word of "ranlib", so it can be a program name with args.
5413 set dummy ranlib; ac_word=$2
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5415 $as_echo_n "checking for $ac_word... " >&6; }
5416 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5417 $as_echo_n "(cached) " >&6
5418 else
5419 if test -n "$ac_ct_RANLIB"; then
5420 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5421 else
5422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423 for as_dir in $PATH
5425 IFS=$as_save_IFS
5426 test -z "$as_dir" && as_dir=.
5427 for ac_exec_ext in '' $ac_executable_extensions; do
5428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5429 ac_cv_prog_ac_ct_RANLIB="ranlib"
5430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5431 break 2
5433 done
5434 done
5435 IFS=$as_save_IFS
5439 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5440 if test -n "$ac_ct_RANLIB"; then
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5442 $as_echo "$ac_ct_RANLIB" >&6; }
5443 else
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5445 $as_echo "no" >&6; }
5448 if test "x$ac_ct_RANLIB" = x; then
5449 RANLIB=":"
5450 else
5451 case $cross_compiling:$ac_tool_warned in
5452 yes:)
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5455 ac_tool_warned=yes ;;
5456 esac
5457 RANLIB=$ac_ct_RANLIB
5459 else
5460 RANLIB="$ac_cv_prog_RANLIB"
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5464 $as_echo_n "checking whether ln -s works... " >&6; }
5465 LN_S=$as_ln_s
5466 if test "$LN_S" = "ln -s"; then
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5468 $as_echo "yes" >&6; }
5469 else
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5471 $as_echo "no, using $LN_S" >&6; }
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5475 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5476 if ${ac_cv_path_GREP+:} false; then :
5477 $as_echo_n "(cached) " >&6
5478 else
5479 if test -z "$GREP"; then
5480 ac_path_GREP_found=false
5481 # Loop through the user's path and test for each of PROGNAME-LIST
5482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5485 IFS=$as_save_IFS
5486 test -z "$as_dir" && as_dir=.
5487 for ac_prog in grep ggrep; do
5488 for ac_exec_ext in '' $ac_executable_extensions; do
5489 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5490 as_fn_executable_p "$ac_path_GREP" || continue
5491 # Check for GNU ac_path_GREP and select it if it is found.
5492 # Check for GNU $ac_path_GREP
5493 case `"$ac_path_GREP" --version 2>&1` in
5494 *GNU*)
5495 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5497 ac_count=0
5498 $as_echo_n 0123456789 >"conftest.in"
5499 while :
5501 cat "conftest.in" "conftest.in" >"conftest.tmp"
5502 mv "conftest.tmp" "conftest.in"
5503 cp "conftest.in" "conftest.nl"
5504 $as_echo 'GREP' >> "conftest.nl"
5505 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5506 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5507 as_fn_arith $ac_count + 1 && ac_count=$as_val
5508 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5509 # Best one so far, save it but keep looking for a better one
5510 ac_cv_path_GREP="$ac_path_GREP"
5511 ac_path_GREP_max=$ac_count
5513 # 10*(2^10) chars as input seems more than enough
5514 test $ac_count -gt 10 && break
5515 done
5516 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5517 esac
5519 $ac_path_GREP_found && break 3
5520 done
5521 done
5522 done
5523 IFS=$as_save_IFS
5524 if test -z "$ac_cv_path_GREP"; then
5525 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5527 else
5528 ac_cv_path_GREP=$GREP
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5533 $as_echo "$ac_cv_path_GREP" >&6; }
5534 GREP="$ac_cv_path_GREP"
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5538 $as_echo_n "checking for egrep... " >&6; }
5539 if ${ac_cv_path_EGREP+:} false; then :
5540 $as_echo_n "(cached) " >&6
5541 else
5542 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5543 then ac_cv_path_EGREP="$GREP -E"
5544 else
5545 if test -z "$EGREP"; then
5546 ac_path_EGREP_found=false
5547 # Loop through the user's path and test for each of PROGNAME-LIST
5548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5549 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5551 IFS=$as_save_IFS
5552 test -z "$as_dir" && as_dir=.
5553 for ac_prog in egrep; do
5554 for ac_exec_ext in '' $ac_executable_extensions; do
5555 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5556 as_fn_executable_p "$ac_path_EGREP" || continue
5557 # Check for GNU ac_path_EGREP and select it if it is found.
5558 # Check for GNU $ac_path_EGREP
5559 case `"$ac_path_EGREP" --version 2>&1` in
5560 *GNU*)
5561 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5563 ac_count=0
5564 $as_echo_n 0123456789 >"conftest.in"
5565 while :
5567 cat "conftest.in" "conftest.in" >"conftest.tmp"
5568 mv "conftest.tmp" "conftest.in"
5569 cp "conftest.in" "conftest.nl"
5570 $as_echo 'EGREP' >> "conftest.nl"
5571 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5572 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5573 as_fn_arith $ac_count + 1 && ac_count=$as_val
5574 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5575 # Best one so far, save it but keep looking for a better one
5576 ac_cv_path_EGREP="$ac_path_EGREP"
5577 ac_path_EGREP_max=$ac_count
5579 # 10*(2^10) chars as input seems more than enough
5580 test $ac_count -gt 10 && break
5581 done
5582 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5583 esac
5585 $ac_path_EGREP_found && break 3
5586 done
5587 done
5588 done
5589 IFS=$as_save_IFS
5590 if test -z "$ac_cv_path_EGREP"; then
5591 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5593 else
5594 ac_cv_path_EGREP=$EGREP
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5600 $as_echo "$ac_cv_path_EGREP" >&6; }
5601 EGREP="$ac_cv_path_EGREP"
5604 # Extract the first word of "ldconfig", so it can be a program name with args.
5605 set dummy ldconfig; ac_word=$2
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5607 $as_echo_n "checking for $ac_word... " >&6; }
5608 if ${ac_cv_path_LDCONFIG+:} false; then :
5609 $as_echo_n "(cached) " >&6
5610 else
5611 case $LDCONFIG in
5612 [\\/]* | ?:[\\/]*)
5613 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5617 for as_dir in /sbin /usr/sbin $PATH
5619 IFS=$as_save_IFS
5620 test -z "$as_dir" && as_dir=.
5621 for ac_exec_ext in '' $ac_executable_extensions; do
5622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5623 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5625 break 2
5627 done
5628 done
5629 IFS=$as_save_IFS
5631 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5633 esac
5635 LDCONFIG=$ac_cv_path_LDCONFIG
5636 if test -n "$LDCONFIG"; then
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5638 $as_echo "$LDCONFIG" >&6; }
5639 else
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5641 $as_echo "no" >&6; }
5645 for ac_prog in msgfmt
5647 # Extract the first word of "$ac_prog", so it can be a program name with args.
5648 set dummy $ac_prog; ac_word=$2
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5650 $as_echo_n "checking for $ac_word... " >&6; }
5651 if ${ac_cv_prog_MSGFMT+:} false; then :
5652 $as_echo_n "(cached) " >&6
5653 else
5654 if test -n "$MSGFMT"; then
5655 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5656 else
5657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5658 for as_dir in $PATH
5660 IFS=$as_save_IFS
5661 test -z "$as_dir" && as_dir=.
5662 for ac_exec_ext in '' $ac_executable_extensions; do
5663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5664 ac_cv_prog_MSGFMT="$ac_prog"
5665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5666 break 2
5668 done
5669 done
5670 IFS=$as_save_IFS
5674 MSGFMT=$ac_cv_prog_MSGFMT
5675 if test -n "$MSGFMT"; then
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5677 $as_echo "$MSGFMT" >&6; }
5678 else
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5680 $as_echo "no" >&6; }
5684 test -n "$MSGFMT" && break
5685 done
5686 test -n "$MSGFMT" || MSGFMT="false"
5688 if ${ac_tool_prefix+:} false; then :
5689 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5690 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5692 $as_echo_n "checking for $ac_word... " >&6; }
5693 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5694 $as_echo_n "(cached) " >&6
5695 else
5696 if test -n "$PKG_CONFIG"; then
5697 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5698 else
5699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5700 for as_dir in $PATH
5702 IFS=$as_save_IFS
5703 test -z "$as_dir" && as_dir=.
5704 for ac_exec_ext in '' $ac_executable_extensions; do
5705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5706 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5708 break 2
5710 done
5711 done
5712 IFS=$as_save_IFS
5716 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5717 if test -n "$PKG_CONFIG"; then
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5719 $as_echo "$PKG_CONFIG" >&6; }
5720 else
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5722 $as_echo "no" >&6; }
5727 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5728 if test "x$cross_compiling" = xyes; then :
5730 else
5731 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5732 # Extract the first word of "pkg-config", so it can be a program name with args.
5733 set dummy pkg-config; ac_word=$2
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735 $as_echo_n "checking for $ac_word... " >&6; }
5736 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5737 $as_echo_n "(cached) " >&6
5738 else
5739 if test -n "$PKG_CONFIG"; then
5740 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5741 else
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743 for as_dir in $PATH
5745 IFS=$as_save_IFS
5746 test -z "$as_dir" && as_dir=.
5747 for ac_exec_ext in '' $ac_executable_extensions; do
5748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5749 ac_cv_prog_PKG_CONFIG="pkg-config"
5750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5751 break 2
5753 done
5754 done
5755 IFS=$as_save_IFS
5759 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5760 if test -n "$PKG_CONFIG"; then
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5762 $as_echo "$PKG_CONFIG" >&6; }
5763 else
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765 $as_echo "no" >&6; }
5770 else
5771 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5774 if test "x$enable_maintainer_mode" != "xyes"
5775 then
5776 FONTFORGE=""
5777 RSVG=""
5778 CONVERT=""
5779 ICOTOOL=""
5780 else
5781 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5782 for ac_prog in fontforge
5784 # Extract the first word of "$ac_prog", so it can be a program name with args.
5785 set dummy $ac_prog; ac_word=$2
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5787 $as_echo_n "checking for $ac_word... " >&6; }
5788 if ${ac_cv_prog_FONTFORGE+:} false; then :
5789 $as_echo_n "(cached) " >&6
5790 else
5791 if test -n "$FONTFORGE"; then
5792 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5793 else
5794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5795 for as_dir in $PATH
5797 IFS=$as_save_IFS
5798 test -z "$as_dir" && as_dir=.
5799 for ac_exec_ext in '' $ac_executable_extensions; do
5800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5801 ac_cv_prog_FONTFORGE="$ac_prog"
5802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5803 break 2
5805 done
5806 done
5807 IFS=$as_save_IFS
5811 FONTFORGE=$ac_cv_prog_FONTFORGE
5812 if test -n "$FONTFORGE"; then
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5814 $as_echo "$FONTFORGE" >&6; }
5815 else
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5817 $as_echo "no" >&6; }
5821 test -n "$FONTFORGE" && break
5822 done
5823 test -n "$FONTFORGE" || FONTFORGE="false"
5825 for ac_prog in rsvg-convert rsvg
5827 # Extract the first word of "$ac_prog", so it can be a program name with args.
5828 set dummy $ac_prog; ac_word=$2
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5830 $as_echo_n "checking for $ac_word... " >&6; }
5831 if ${ac_cv_prog_RSVG+:} false; then :
5832 $as_echo_n "(cached) " >&6
5833 else
5834 if test -n "$RSVG"; then
5835 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5836 else
5837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5838 for as_dir in $PATH
5840 IFS=$as_save_IFS
5841 test -z "$as_dir" && as_dir=.
5842 for ac_exec_ext in '' $ac_executable_extensions; do
5843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5844 ac_cv_prog_RSVG="$ac_prog"
5845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5846 break 2
5848 done
5849 done
5850 IFS=$as_save_IFS
5854 RSVG=$ac_cv_prog_RSVG
5855 if test -n "$RSVG"; then
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5857 $as_echo "$RSVG" >&6; }
5858 else
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5860 $as_echo "no" >&6; }
5864 test -n "$RSVG" && break
5865 done
5866 test -n "$RSVG" || RSVG="false"
5868 for ac_prog in convert
5870 # Extract the first word of "$ac_prog", so it can be a program name with args.
5871 set dummy $ac_prog; ac_word=$2
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5873 $as_echo_n "checking for $ac_word... " >&6; }
5874 if ${ac_cv_prog_CONVERT+:} false; then :
5875 $as_echo_n "(cached) " >&6
5876 else
5877 if test -n "$CONVERT"; then
5878 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5879 else
5880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881 for as_dir in $PATH
5883 IFS=$as_save_IFS
5884 test -z "$as_dir" && as_dir=.
5885 for ac_exec_ext in '' $ac_executable_extensions; do
5886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5887 ac_cv_prog_CONVERT="$ac_prog"
5888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5889 break 2
5891 done
5892 done
5893 IFS=$as_save_IFS
5897 CONVERT=$ac_cv_prog_CONVERT
5898 if test -n "$CONVERT"; then
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5900 $as_echo "$CONVERT" >&6; }
5901 else
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5903 $as_echo "no" >&6; }
5907 test -n "$CONVERT" && break
5908 done
5909 test -n "$CONVERT" || CONVERT="false"
5911 for ac_prog in icotool
5913 # Extract the first word of "$ac_prog", so it can be a program name with args.
5914 set dummy $ac_prog; ac_word=$2
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5916 $as_echo_n "checking for $ac_word... " >&6; }
5917 if ${ac_cv_prog_ICOTOOL+:} false; then :
5918 $as_echo_n "(cached) " >&6
5919 else
5920 if test -n "$ICOTOOL"; then
5921 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5922 else
5923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5924 for as_dir in $PATH
5926 IFS=$as_save_IFS
5927 test -z "$as_dir" && as_dir=.
5928 for ac_exec_ext in '' $ac_executable_extensions; do
5929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5930 ac_cv_prog_ICOTOOL="$ac_prog"
5931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5932 break 2
5934 done
5935 done
5936 IFS=$as_save_IFS
5940 ICOTOOL=$ac_cv_prog_ICOTOOL
5941 if test -n "$ICOTOOL"; then
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5943 $as_echo "$ICOTOOL" >&6; }
5944 else
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5946 $as_echo "no" >&6; }
5950 test -n "$ICOTOOL" && break
5951 done
5952 test -n "$ICOTOOL" || ICOTOOL="false"
5954 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5955 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5957 if test "$CONVERT" = false
5958 then
5959 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5960 else
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5962 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5963 convert_version=`convert --version | head -n1`
5964 if test "x$convert_version" != "x"
5965 then
5966 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5967 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5968 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5969 then
5970 CONVERT=false
5973 if test "$CONVERT" = false
5974 then
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5976 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5977 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5978 else
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5980 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5984 if test "$ICOTOOL" = false
5985 then
5986 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5987 else
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5989 $as_echo_n "checking for recent enough icotool... " >&6; }
5990 icotool_version=`icotool --version | head -n1`
5991 if test "x$icotool_version" != "x"
5992 then
5993 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5994 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5995 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5996 then
5997 ICOTOOL=false
5998 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6001 if test "$ICOTOOL" = false
6002 then
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6004 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6005 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6006 else
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6008 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6012 with_gettext=yes
6013 with_gettextpo=yes
6014 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6017 test "x$with_gettext" != xno || MSGFMT=false
6018 if test "$MSGFMT" != "false"
6019 then
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6021 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6022 cat >conftest.po <<EOF
6023 # comment
6024 msgctxt "ctxt"
6025 msgid "id"
6026 msgstr "str"
6028 if $MSGFMT -o /dev/null conftest.po 2>&5
6029 then
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6031 $as_echo "yes" >&6; }
6032 else
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6034 $as_echo "no" >&6; }
6035 MSGFMT=false
6038 if test "$MSGFMT" = false; then :
6039 case "x$with_gettext" in
6040 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6041 xno) ;;
6042 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6043 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6044 esac
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6049 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6050 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6051 $as_echo_n "(cached) " >&6
6052 else
6053 ac_check_lib_save_LIBS=$LIBS
6054 LIBS="-li386 $LIBS"
6055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6056 /* end confdefs.h. */
6058 /* Override any GCC internal prototype to avoid an error.
6059 Use char because int might match the return type of a GCC
6060 builtin and then its argument prototype would still apply. */
6061 #ifdef __cplusplus
6062 extern "C"
6063 #endif
6064 char i386_set_ldt ();
6066 main ()
6068 return i386_set_ldt ();
6070 return 0;
6072 _ACEOF
6073 if ac_fn_c_try_link "$LINENO"; then :
6074 ac_cv_lib_i386_i386_set_ldt=yes
6075 else
6076 ac_cv_lib_i386_i386_set_ldt=no
6078 rm -f core conftest.err conftest.$ac_objext \
6079 conftest$ac_exeext conftest.$ac_ext
6080 LIBS=$ac_check_lib_save_LIBS
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6083 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6084 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6085 cat >>confdefs.h <<_ACEOF
6086 #define HAVE_LIBI386 1
6087 _ACEOF
6089 LIBS="-li386 $LIBS"
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6094 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6095 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6096 $as_echo_n "(cached) " >&6
6097 else
6098 ac_check_lib_save_LIBS=$LIBS
6099 LIBS="-lossaudio $LIBS"
6100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6101 /* end confdefs.h. */
6103 /* Override any GCC internal prototype to avoid an error.
6104 Use char because int might match the return type of a GCC
6105 builtin and then its argument prototype would still apply. */
6106 #ifdef __cplusplus
6107 extern "C"
6108 #endif
6109 char _oss_ioctl ();
6111 main ()
6113 return _oss_ioctl ();
6115 return 0;
6117 _ACEOF
6118 if ac_fn_c_try_link "$LINENO"; then :
6119 ac_cv_lib_ossaudio__oss_ioctl=yes
6120 else
6121 ac_cv_lib_ossaudio__oss_ioctl=no
6123 rm -f core conftest.err conftest.$ac_objext \
6124 conftest$ac_exeext conftest.$ac_ext
6125 LIBS=$ac_check_lib_save_LIBS
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6128 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6129 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6130 cat >>confdefs.h <<_ACEOF
6131 #define HAVE_LIBOSSAUDIO 1
6132 _ACEOF
6134 LIBS="-lossaudio $LIBS"
6139 OPENGL_LIBS=""
6143 # Check whether --enable-largefile was given.
6144 if test "${enable_largefile+set}" = set; then :
6145 enableval=$enable_largefile;
6148 if test "$enable_largefile" != no; then
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6151 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6152 if ${ac_cv_sys_largefile_CC+:} false; then :
6153 $as_echo_n "(cached) " >&6
6154 else
6155 ac_cv_sys_largefile_CC=no
6156 if test "$GCC" != yes; then
6157 ac_save_CC=$CC
6158 while :; do
6159 # IRIX 6.2 and later do not support large files by default,
6160 # so use the C compiler's -n32 option if that helps.
6161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6162 /* end confdefs.h. */
6163 #include <sys/types.h>
6164 /* Check that off_t can represent 2**63 - 1 correctly.
6165 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6166 since some C++ compilers masquerading as C compilers
6167 incorrectly reject 9223372036854775807. */
6168 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6169 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6170 && LARGE_OFF_T % 2147483647 == 1)
6171 ? 1 : -1];
6173 main ()
6177 return 0;
6179 _ACEOF
6180 if ac_fn_c_try_compile "$LINENO"; then :
6181 break
6183 rm -f core conftest.err conftest.$ac_objext
6184 CC="$CC -n32"
6185 if ac_fn_c_try_compile "$LINENO"; then :
6186 ac_cv_sys_largefile_CC=' -n32'; break
6188 rm -f core conftest.err conftest.$ac_objext
6189 break
6190 done
6191 CC=$ac_save_CC
6192 rm -f conftest.$ac_ext
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6196 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6197 if test "$ac_cv_sys_largefile_CC" != no; then
6198 CC=$CC$ac_cv_sys_largefile_CC
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6202 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6203 if ${ac_cv_sys_file_offset_bits+:} false; then :
6204 $as_echo_n "(cached) " >&6
6205 else
6206 while :; do
6207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6208 /* end confdefs.h. */
6209 #include <sys/types.h>
6210 /* Check that off_t can represent 2**63 - 1 correctly.
6211 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6212 since some C++ compilers masquerading as C compilers
6213 incorrectly reject 9223372036854775807. */
6214 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6215 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6216 && LARGE_OFF_T % 2147483647 == 1)
6217 ? 1 : -1];
6219 main ()
6223 return 0;
6225 _ACEOF
6226 if ac_fn_c_try_compile "$LINENO"; then :
6227 ac_cv_sys_file_offset_bits=no; break
6229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6231 /* end confdefs.h. */
6232 #define _FILE_OFFSET_BITS 64
6233 #include <sys/types.h>
6234 /* Check that off_t can represent 2**63 - 1 correctly.
6235 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6236 since some C++ compilers masquerading as C compilers
6237 incorrectly reject 9223372036854775807. */
6238 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6239 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6240 && LARGE_OFF_T % 2147483647 == 1)
6241 ? 1 : -1];
6243 main ()
6247 return 0;
6249 _ACEOF
6250 if ac_fn_c_try_compile "$LINENO"; then :
6251 ac_cv_sys_file_offset_bits=64; break
6253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6254 ac_cv_sys_file_offset_bits=unknown
6255 break
6256 done
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6259 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6260 case $ac_cv_sys_file_offset_bits in #(
6261 no | unknown) ;;
6263 cat >>confdefs.h <<_ACEOF
6264 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6265 _ACEOF
6267 esac
6268 rm -rf conftest*
6269 if test $ac_cv_sys_file_offset_bits = unknown; then
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6271 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6272 if ${ac_cv_sys_large_files+:} false; then :
6273 $as_echo_n "(cached) " >&6
6274 else
6275 while :; do
6276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6277 /* end confdefs.h. */
6278 #include <sys/types.h>
6279 /* Check that off_t can represent 2**63 - 1 correctly.
6280 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6281 since some C++ compilers masquerading as C compilers
6282 incorrectly reject 9223372036854775807. */
6283 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6284 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6285 && LARGE_OFF_T % 2147483647 == 1)
6286 ? 1 : -1];
6288 main ()
6292 return 0;
6294 _ACEOF
6295 if ac_fn_c_try_compile "$LINENO"; then :
6296 ac_cv_sys_large_files=no; break
6298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6300 /* end confdefs.h. */
6301 #define _LARGE_FILES 1
6302 #include <sys/types.h>
6303 /* Check that off_t can represent 2**63 - 1 correctly.
6304 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6305 since some C++ compilers masquerading as C compilers
6306 incorrectly reject 9223372036854775807. */
6307 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6308 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6309 && LARGE_OFF_T % 2147483647 == 1)
6310 ? 1 : -1];
6312 main ()
6316 return 0;
6318 _ACEOF
6319 if ac_fn_c_try_compile "$LINENO"; then :
6320 ac_cv_sys_large_files=1; break
6322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6323 ac_cv_sys_large_files=unknown
6324 break
6325 done
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6328 $as_echo "$ac_cv_sys_large_files" >&6; }
6329 case $ac_cv_sys_large_files in #(
6330 no | unknown) ;;
6332 cat >>confdefs.h <<_ACEOF
6333 #define _LARGE_FILES $ac_cv_sys_large_files
6334 _ACEOF
6336 esac
6337 rm -rf conftest*
6344 ac_ext=c
6345 ac_cpp='$CPP $CPPFLAGS'
6346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6350 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6351 # On Suns, sometimes $CPP names a directory.
6352 if test -n "$CPP" && test -d "$CPP"; then
6353 CPP=
6355 if test -z "$CPP"; then
6356 if ${ac_cv_prog_CPP+:} false; then :
6357 $as_echo_n "(cached) " >&6
6358 else
6359 # Double quotes because CPP needs to be expanded
6360 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6362 ac_preproc_ok=false
6363 for ac_c_preproc_warn_flag in '' yes
6365 # Use a header file that comes with gcc, so configuring glibc
6366 # with a fresh cross-compiler works.
6367 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6368 # <limits.h> exists even on freestanding compilers.
6369 # On the NeXT, cc -E runs the code through the compiler's parser,
6370 # not just through cpp. "Syntax error" is here to catch this case.
6371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6372 /* end confdefs.h. */
6373 #ifdef __STDC__
6374 # include <limits.h>
6375 #else
6376 # include <assert.h>
6377 #endif
6378 Syntax error
6379 _ACEOF
6380 if ac_fn_c_try_cpp "$LINENO"; then :
6382 else
6383 # Broken: fails on valid input.
6384 continue
6386 rm -f conftest.err conftest.i conftest.$ac_ext
6388 # OK, works on sane cases. Now check whether nonexistent headers
6389 # can be detected and how.
6390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6391 /* end confdefs.h. */
6392 #include <ac_nonexistent.h>
6393 _ACEOF
6394 if ac_fn_c_try_cpp "$LINENO"; then :
6395 # Broken: success on invalid input.
6396 continue
6397 else
6398 # Passes both tests.
6399 ac_preproc_ok=:
6400 break
6402 rm -f conftest.err conftest.i conftest.$ac_ext
6404 done
6405 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6406 rm -f conftest.i conftest.err conftest.$ac_ext
6407 if $ac_preproc_ok; then :
6408 break
6411 done
6412 ac_cv_prog_CPP=$CPP
6415 CPP=$ac_cv_prog_CPP
6416 else
6417 ac_cv_prog_CPP=$CPP
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6420 $as_echo "$CPP" >&6; }
6421 ac_preproc_ok=false
6422 for ac_c_preproc_warn_flag in '' yes
6424 # Use a header file that comes with gcc, so configuring glibc
6425 # with a fresh cross-compiler works.
6426 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6427 # <limits.h> exists even on freestanding compilers.
6428 # On the NeXT, cc -E runs the code through the compiler's parser,
6429 # not just through cpp. "Syntax error" is here to catch this case.
6430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6431 /* end confdefs.h. */
6432 #ifdef __STDC__
6433 # include <limits.h>
6434 #else
6435 # include <assert.h>
6436 #endif
6437 Syntax error
6438 _ACEOF
6439 if ac_fn_c_try_cpp "$LINENO"; then :
6441 else
6442 # Broken: fails on valid input.
6443 continue
6445 rm -f conftest.err conftest.i conftest.$ac_ext
6447 # OK, works on sane cases. Now check whether nonexistent headers
6448 # can be detected and how.
6449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6450 /* end confdefs.h. */
6451 #include <ac_nonexistent.h>
6452 _ACEOF
6453 if ac_fn_c_try_cpp "$LINENO"; then :
6454 # Broken: success on invalid input.
6455 continue
6456 else
6457 # Passes both tests.
6458 ac_preproc_ok=:
6459 break
6461 rm -f conftest.err conftest.i conftest.$ac_ext
6463 done
6464 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6465 rm -f conftest.i conftest.err conftest.$ac_ext
6466 if $ac_preproc_ok; then :
6468 else
6469 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6471 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6472 See \`config.log' for more details" "$LINENO" 5; }
6475 ac_ext=c
6476 ac_cpp='$CPP $CPPFLAGS'
6477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6483 $as_echo_n "checking for ANSI C header files... " >&6; }
6484 if ${ac_cv_header_stdc+:} false; then :
6485 $as_echo_n "(cached) " >&6
6486 else
6487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6488 /* end confdefs.h. */
6489 #include <stdlib.h>
6490 #include <stdarg.h>
6491 #include <string.h>
6492 #include <float.h>
6495 main ()
6499 return 0;
6501 _ACEOF
6502 if ac_fn_c_try_compile "$LINENO"; then :
6503 ac_cv_header_stdc=yes
6504 else
6505 ac_cv_header_stdc=no
6507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6509 if test $ac_cv_header_stdc = yes; then
6510 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6512 /* end confdefs.h. */
6513 #include <string.h>
6515 _ACEOF
6516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6517 $EGREP "memchr" >/dev/null 2>&1; then :
6519 else
6520 ac_cv_header_stdc=no
6522 rm -f conftest*
6526 if test $ac_cv_header_stdc = yes; then
6527 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6529 /* end confdefs.h. */
6530 #include <stdlib.h>
6532 _ACEOF
6533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6534 $EGREP "free" >/dev/null 2>&1; then :
6536 else
6537 ac_cv_header_stdc=no
6539 rm -f conftest*
6543 if test $ac_cv_header_stdc = yes; then
6544 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6545 if test "$cross_compiling" = yes; then :
6547 else
6548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6549 /* end confdefs.h. */
6550 #include <ctype.h>
6551 #include <stdlib.h>
6552 #if ((' ' & 0x0FF) == 0x020)
6553 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6554 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6555 #else
6556 # define ISLOWER(c) \
6557 (('a' <= (c) && (c) <= 'i') \
6558 || ('j' <= (c) && (c) <= 'r') \
6559 || ('s' <= (c) && (c) <= 'z'))
6560 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6561 #endif
6563 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6565 main ()
6567 int i;
6568 for (i = 0; i < 256; i++)
6569 if (XOR (islower (i), ISLOWER (i))
6570 || toupper (i) != TOUPPER (i))
6571 return 2;
6572 return 0;
6574 _ACEOF
6575 if ac_fn_c_try_run "$LINENO"; then :
6577 else
6578 ac_cv_header_stdc=no
6580 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6581 conftest.$ac_objext conftest.beam conftest.$ac_ext
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6587 $as_echo "$ac_cv_header_stdc" >&6; }
6588 if test $ac_cv_header_stdc = yes; then
6590 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6594 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6595 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6596 inttypes.h stdint.h unistd.h
6597 do :
6598 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6599 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6601 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6602 cat >>confdefs.h <<_ACEOF
6603 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6604 _ACEOF
6608 done
6611 for ac_header in \
6612 AL/al.h \
6613 ApplicationServices/ApplicationServices.h \
6614 AudioToolbox/AudioConverter.h \
6615 AudioUnit/AudioUnit.h \
6616 AudioUnit/AudioComponent.h \
6617 CL/cl.h \
6618 Carbon/Carbon.h \
6619 CoreAudio/CoreAudio.h \
6620 CoreServices/CoreServices.h \
6621 DiskArbitration/DiskArbitration.h \
6622 IOKit/IOKitLib.h \
6623 IOKit/hid/IOHIDLib.h \
6624 OpenAL/al.h \
6625 OpenCL/opencl.h \
6626 QuickTime/ImageCompression.h \
6627 Security/Security.h \
6628 alias.h \
6629 alsa/asoundlib.h \
6630 arpa/inet.h \
6631 arpa/nameser.h \
6632 asm/types.h \
6633 asm/user.h \
6634 curses.h \
6635 direct.h \
6636 dirent.h \
6637 dlfcn.h \
6638 elf.h \
6639 float.h \
6640 fnmatch.h \
6641 getopt.h \
6642 gettext-po.h \
6643 grp.h \
6644 gsm.h \
6645 gsm/gsm.h \
6646 ieeefp.h \
6647 inet/mib2.h \
6648 io.h \
6649 kstat.h \
6650 lber.h \
6651 ldap.h \
6652 libproc.h \
6653 link.h \
6654 linux/cdrom.h \
6655 linux/compiler.h \
6656 linux/filter.h \
6657 linux/hdreg.h \
6658 linux/input.h \
6659 linux/ioctl.h \
6660 linux/joystick.h \
6661 linux/major.h \
6662 linux/param.h \
6663 linux/serial.h \
6664 linux/types.h \
6665 linux/ucdrom.h \
6666 lwp.h \
6667 mach-o/nlist.h \
6668 mach-o/loader.h \
6669 mach/mach.h \
6670 mach/machine.h \
6671 machine/cpu.h \
6672 machine/limits.h \
6673 machine/sysarch.h \
6674 mntent.h \
6675 ncurses.h \
6676 netdb.h \
6677 netinet/in.h \
6678 netinet/in_systm.h \
6679 netinet/tcp.h \
6680 netinet/tcp_fsm.h \
6681 pcap/pcap.h \
6682 poll.h \
6683 port.h \
6684 process.h \
6685 pthread.h \
6686 pwd.h \
6687 sched.h \
6688 scsi/scsi.h \
6689 scsi/scsi_ioctl.h \
6690 scsi/sg.h \
6691 stdbool.h \
6692 stdint.h \
6693 stropts.h \
6694 sys/asoundlib.h \
6695 sys/attr.h \
6696 sys/cdio.h \
6697 sys/elf32.h \
6698 sys/epoll.h \
6699 sys/event.h \
6700 sys/exec_elf.h \
6701 sys/filio.h \
6702 sys/inotify.h \
6703 sys/ioctl.h \
6704 sys/ipc.h \
6705 sys/limits.h \
6706 sys/link.h \
6707 sys/mman.h \
6708 sys/modem.h \
6709 sys/msg.h \
6710 sys/mtio.h \
6711 sys/param.h \
6712 sys/poll.h \
6713 sys/prctl.h \
6714 sys/protosw.h \
6715 sys/ptrace.h \
6716 sys/queue.h \
6717 sys/resource.h \
6718 sys/scsiio.h \
6719 sys/shm.h \
6720 sys/signal.h \
6721 sys/socket.h \
6722 sys/socketvar.h \
6723 sys/sockio.h \
6724 sys/statvfs.h \
6725 sys/strtio.h \
6726 sys/syscall.h \
6727 sys/tihdr.h \
6728 sys/time.h \
6729 sys/timeout.h \
6730 sys/times.h \
6731 sys/uio.h \
6732 sys/user.h \
6733 sys/utsname.h \
6734 sys/vm86.h \
6735 sys/vnode.h \
6736 sys/wait.h \
6737 syscall.h \
6738 termios.h \
6739 unistd.h \
6740 utime.h \
6741 valgrind/memcheck.h \
6742 valgrind/valgrind.h \
6743 zlib.h
6745 do :
6746 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6747 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6748 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6749 cat >>confdefs.h <<_ACEOF
6750 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6751 _ACEOF
6755 done
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6758 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6759 if ${ac_cv_header_stat_broken+:} false; then :
6760 $as_echo_n "(cached) " >&6
6761 else
6762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6763 /* end confdefs.h. */
6764 #include <sys/types.h>
6765 #include <sys/stat.h>
6767 #if defined S_ISBLK && defined S_IFDIR
6768 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6769 #endif
6771 #if defined S_ISBLK && defined S_IFCHR
6772 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6773 #endif
6775 #if defined S_ISLNK && defined S_IFREG
6776 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6777 #endif
6779 #if defined S_ISSOCK && defined S_IFREG
6780 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6781 #endif
6783 _ACEOF
6784 if ac_fn_c_try_compile "$LINENO"; then :
6785 ac_cv_header_stat_broken=no
6786 else
6787 ac_cv_header_stat_broken=yes
6789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6792 $as_echo "$ac_cv_header_stat_broken" >&6; }
6793 if test $ac_cv_header_stat_broken = yes; then
6795 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6801 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6802 do :
6803 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6804 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6805 #ifdef HAVE_SYS_PARAM_H
6806 # include <sys/param.h>
6807 #endif
6809 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6810 cat >>confdefs.h <<_ACEOF
6811 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6812 _ACEOF
6816 done
6819 for ac_header in \
6820 netinet/ip.h \
6821 net/if.h \
6822 net/if_arp.h \
6823 net/if_dl.h \
6824 net/if_types.h \
6825 net/route.h \
6826 netinet/if_ether.h \
6827 netinet/if_inarp.h \
6828 netinet/in_pcb.h \
6829 netinet/ip_icmp.h \
6830 netinet/ip_var.h \
6831 netinet/udp.h \
6832 netipx/ipx.h \
6833 sys/un.h \
6835 do :
6836 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6837 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6838 #ifdef HAVE_SYS_SOCKET_H
6839 # include <sys/socket.h>
6840 #endif
6841 #ifdef HAVE_SYS_SOCKETVAR_H
6842 # include <sys/socketvar.h>
6843 #endif
6844 #ifdef HAVE_NET_ROUTE_H
6845 # include <net/route.h>
6846 #endif
6847 #ifdef HAVE_NETINET_IN_H
6848 # include <netinet/in.h>
6849 #endif
6850 #ifdef HAVE_NETINET_IN_SYSTM_H
6851 # include <netinet/in_systm.h>
6852 #endif
6853 #ifdef HAVE_NET_IF_H
6854 # include <net/if.h>
6855 #endif
6856 #ifdef HAVE_NETINET_IP_H
6857 # include <netinet/ip.h>
6858 #endif
6860 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6861 cat >>confdefs.h <<_ACEOF
6862 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6863 _ACEOF
6867 done
6870 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6871 do :
6872 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6873 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6874 #ifdef HAVE_ALIAS_H
6875 # include <alias.h>
6876 #endif
6877 #ifdef HAVE_SYS_SOCKET_H
6878 # include <sys/socket.h>
6879 #endif
6880 #ifdef HAVE_SYS_SOCKETVAR_H
6881 # include <sys/socketvar.h>
6882 #endif
6883 #ifdef HAVE_SYS_TIMEOUT_H
6884 # include <sys/timeout.h>
6885 #endif
6886 #ifdef HAVE_NETINET_IN_H
6887 # include <netinet/in.h>
6888 #endif
6889 #ifdef HAVE_NETINET_IN_SYSTM_H
6890 # include <netinet/in_systm.h>
6891 #endif
6892 #ifdef HAVE_NETINET_IP_H
6893 # include <netinet/ip.h>
6894 #endif
6895 #ifdef HAVE_NETINET_IP_VAR_H
6896 # include <netinet/ip_var.h>
6897 #endif
6898 #ifdef HAVE_NETINET_IP_ICMP_H
6899 # include <netinet/ip_icmp.h>
6900 #endif
6901 #ifdef HAVE_NETINET_UDP_H
6902 # include <netinet/udp.h>
6903 #endif
6904 #ifdef HAVE_NETINET_TCP_H
6905 # include <netinet/tcp.h>
6906 #endif
6907 #ifdef HAVE_NETINET_TCP_TIMER_H
6908 #include <netinet/tcp_timer.h>
6909 #endif
6911 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6912 cat >>confdefs.h <<_ACEOF
6913 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6914 _ACEOF
6918 done
6921 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6922 do :
6923 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6924 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6925 #ifdef HAVE_ASM_TYPES_H
6926 # include <asm/types.h>
6927 #endif
6928 #ifdef HAVE_SYS_SOCKET_H
6929 # include <sys/socket.h>
6930 #endif
6931 #ifdef HAVE_LINUX_TYPES_H
6932 # include <linux/types.h>
6933 #endif
6935 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6936 cat >>confdefs.h <<_ACEOF
6937 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6938 _ACEOF
6942 done
6945 for ac_header in mach-o/dyld_images.h
6946 do :
6947 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6948 # include <stdbool.h>
6949 #endif
6950 #ifdef HAVE_STDINT_H
6951 # include <stdint.h>
6952 #endif
6954 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6955 cat >>confdefs.h <<_ACEOF
6956 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6957 _ACEOF
6961 done
6964 for ac_header in resolv.h
6965 do :
6966 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6967 #ifdef HAVE_SYS_SOCKET_H
6968 # include <sys/socket.h>
6969 #endif
6970 #ifdef HAVE_NETINET_IN_H
6971 # include <netinet/in.h>
6972 #endif
6973 #ifdef HAVE_ARPA_NAMESER_H
6974 # include <arpa/nameser.h>
6975 #endif
6977 if test "x$ac_cv_header_resolv_h" = xyes; then :
6978 cat >>confdefs.h <<_ACEOF
6979 #define HAVE_RESOLV_H 1
6980 _ACEOF
6984 done
6987 for ac_header in ifaddrs.h
6988 do :
6989 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6991 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6992 cat >>confdefs.h <<_ACEOF
6993 #define HAVE_IFADDRS_H 1
6994 _ACEOF
6998 done
7001 for ac_header in sys/ucontext.h
7002 do :
7003 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7005 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7006 cat >>confdefs.h <<_ACEOF
7007 #define HAVE_SYS_UCONTEXT_H 1
7008 _ACEOF
7012 done
7015 for ac_header in sys/thr.h
7016 do :
7017 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7018 #ifdef HAVE_SYS_UCONTEXT_H
7019 #include <sys/ucontext.h>
7020 #endif
7022 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7023 cat >>confdefs.h <<_ACEOF
7024 #define HAVE_SYS_THR_H 1
7025 _ACEOF
7029 done
7032 for ac_header in pthread_np.h
7033 do :
7034 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7035 #include <pthread.h>
7036 #endif
7038 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7039 cat >>confdefs.h <<_ACEOF
7040 #define HAVE_PTHREAD_NP_H 1
7041 _ACEOF
7045 done
7048 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7049 do :
7050 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7051 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7052 #include <sys/time.h>
7053 #endif
7054 #include <sys/types.h>
7055 #ifdef HAVE_ASM_TYPES_H
7056 #include <asm/types.h>
7057 #endif
7059 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7060 cat >>confdefs.h <<_ACEOF
7061 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7062 _ACEOF
7066 done
7069 for ac_header in libprocstat.h
7070 do :
7071 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7072 #include <sys/param.h>
7073 #endif
7074 #ifdef HAVE_SYS_QUEUE_H
7075 #include <sys/queue.h>
7076 #endif
7077 #ifdef HAVE_SYS_SOCKET_H
7078 #include <sys/socket.h>
7079 #endif
7081 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7082 cat >>confdefs.h <<_ACEOF
7083 #define HAVE_LIBPROCSTAT_H 1
7084 _ACEOF
7088 done
7092 dlldir="\${libdir}/wine"
7094 DLLPREFIX=""
7096 DLLFLAGS="-D_REENTRANT"
7098 LDRPATH_INSTALL=""
7100 LDRPATH_LOCAL=""
7102 LIBEXT="so"
7103 DLLEXT=".so"
7104 IMPLIBEXT="def"
7105 STATIC_IMPLIBEXT="def.a"
7106 # Extract the first word of "ldd", so it can be a program name with args.
7107 set dummy ldd; ac_word=$2
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7109 $as_echo_n "checking for $ac_word... " >&6; }
7110 if ${ac_cv_path_LDD+:} false; then :
7111 $as_echo_n "(cached) " >&6
7112 else
7113 case $LDD in
7114 [\\/]* | ?:[\\/]*)
7115 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7119 as_dummy="/sbin:/usr/sbin:$PATH"
7120 for as_dir in $as_dummy
7122 IFS=$as_save_IFS
7123 test -z "$as_dir" && as_dir=.
7124 for ac_exec_ext in '' $ac_executable_extensions; do
7125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7126 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7128 break 2
7130 done
7131 done
7132 IFS=$as_save_IFS
7134 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7136 esac
7138 LDD=$ac_cv_path_LDD
7139 if test -n "$LDD"; then
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7141 $as_echo "$LDD" >&6; }
7142 else
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7144 $as_echo "no" >&6; }
7148 if test -n "$ac_tool_prefix"; then
7149 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7150 set dummy ${ac_tool_prefix}otool; ac_word=$2
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7152 $as_echo_n "checking for $ac_word... " >&6; }
7153 if ${ac_cv_prog_OTOOL+:} false; then :
7154 $as_echo_n "(cached) " >&6
7155 else
7156 if test -n "$OTOOL"; then
7157 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7158 else
7159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7160 for as_dir in $PATH
7162 IFS=$as_save_IFS
7163 test -z "$as_dir" && as_dir=.
7164 for ac_exec_ext in '' $ac_executable_extensions; do
7165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7166 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7168 break 2
7170 done
7171 done
7172 IFS=$as_save_IFS
7176 OTOOL=$ac_cv_prog_OTOOL
7177 if test -n "$OTOOL"; then
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7179 $as_echo "$OTOOL" >&6; }
7180 else
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7182 $as_echo "no" >&6; }
7187 if test -z "$ac_cv_prog_OTOOL"; then
7188 ac_ct_OTOOL=$OTOOL
7189 # Extract the first word of "otool", so it can be a program name with args.
7190 set dummy otool; 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_prog_ac_ct_OTOOL+:} false; then :
7194 $as_echo_n "(cached) " >&6
7195 else
7196 if test -n "$ac_ct_OTOOL"; then
7197 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7198 else
7199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7200 for as_dir in $PATH
7202 IFS=$as_save_IFS
7203 test -z "$as_dir" && as_dir=.
7204 for ac_exec_ext in '' $ac_executable_extensions; do
7205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7206 ac_cv_prog_ac_ct_OTOOL="otool"
7207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7208 break 2
7210 done
7211 done
7212 IFS=$as_save_IFS
7216 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7217 if test -n "$ac_ct_OTOOL"; then
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7219 $as_echo "$ac_ct_OTOOL" >&6; }
7220 else
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7222 $as_echo "no" >&6; }
7225 if test "x$ac_ct_OTOOL" = x; then
7226 OTOOL="otool"
7227 else
7228 case $cross_compiling:$ac_tool_warned in
7229 yes:)
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7232 ac_tool_warned=yes ;;
7233 esac
7234 OTOOL=$ac_ct_OTOOL
7236 else
7237 OTOOL="$ac_cv_prog_OTOOL"
7240 if test -n "$ac_tool_prefix"; then
7241 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7242 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7244 $as_echo_n "checking for $ac_word... " >&6; }
7245 if ${ac_cv_prog_READELF+:} false; then :
7246 $as_echo_n "(cached) " >&6
7247 else
7248 if test -n "$READELF"; then
7249 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7250 else
7251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7252 for as_dir in $PATH
7254 IFS=$as_save_IFS
7255 test -z "$as_dir" && as_dir=.
7256 for ac_exec_ext in '' $ac_executable_extensions; do
7257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7258 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7260 break 2
7262 done
7263 done
7264 IFS=$as_save_IFS
7268 READELF=$ac_cv_prog_READELF
7269 if test -n "$READELF"; then
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7271 $as_echo "$READELF" >&6; }
7272 else
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7274 $as_echo "no" >&6; }
7279 if test -z "$ac_cv_prog_READELF"; then
7280 ac_ct_READELF=$READELF
7281 # Extract the first word of "readelf", so it can be a program name with args.
7282 set dummy readelf; ac_word=$2
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7284 $as_echo_n "checking for $ac_word... " >&6; }
7285 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7286 $as_echo_n "(cached) " >&6
7287 else
7288 if test -n "$ac_ct_READELF"; then
7289 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7290 else
7291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7292 for as_dir in $PATH
7294 IFS=$as_save_IFS
7295 test -z "$as_dir" && as_dir=.
7296 for ac_exec_ext in '' $ac_executable_extensions; do
7297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7298 ac_cv_prog_ac_ct_READELF="readelf"
7299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7300 break 2
7302 done
7303 done
7304 IFS=$as_save_IFS
7308 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7309 if test -n "$ac_ct_READELF"; then
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7311 $as_echo "$ac_ct_READELF" >&6; }
7312 else
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7314 $as_echo "no" >&6; }
7317 if test "x$ac_ct_READELF" = x; then
7318 READELF="true"
7319 else
7320 case $cross_compiling:$ac_tool_warned in
7321 yes:)
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7324 ac_tool_warned=yes ;;
7325 esac
7326 READELF=$ac_ct_READELF
7328 else
7329 READELF="$ac_cv_prog_READELF"
7332 wine_rules_file=conf$$rules.make
7333 rm -f $wine_rules_file
7334 ALL_POT_FILES=""
7335 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7336 ALL_TEST_RESOURCES=""
7339 wine_fn_append_file ()
7341 as_fn_append $1 " \\$as_nl $2"
7344 wine_fn_ignore_file ()
7346 case "$1" in
7347 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7348 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7349 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7350 esac
7353 wine_fn_append_rule ()
7355 $as_echo "$1" >>$wine_rules_file
7358 wine_fn_has_flag ()
7360 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7363 wine_fn_depend_rules ()
7365 wine_fn_append_rule \
7366 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7367 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7368 depend: $ac_dir/depend
7369 .PHONY: $ac_dir/depend
7370 $ac_dir/depend: \$(MAKEDEP) dummy
7371 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7374 wine_fn_pot_rules ()
7376 test "x$with_gettextpo" = xyes || return
7378 if wine_fn_has_flag mc
7379 then
7380 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7381 wine_fn_append_rule \
7382 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7383 @cd $ac_dir && \$(MAKE) msg.pot
7384 $ac_dir/msg.pot: tools/wmc include"
7386 if wine_fn_has_flag po
7387 then
7388 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7389 wine_fn_append_rule \
7390 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7391 @cd $ac_dir && \$(MAKE) rsrc.pot
7392 $ac_dir/rsrc.pot: tools/wrc include"
7396 wine_fn_all_rules ()
7398 wine_fn_depend_rules
7399 wine_fn_append_rule \
7400 "all: $ac_dir
7401 .PHONY: $ac_dir
7402 $ac_dir: $ac_dir/Makefile dummy
7403 @cd $ac_dir && \$(MAKE)"
7406 wine_fn_install_rules ()
7408 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7410 wine_fn_append_rule \
7411 ".PHONY: $ac_dir/install $ac_dir/uninstall
7412 $ac_dir/install:: $ac_dir
7413 @cd $ac_dir && \$(MAKE) install
7414 $ac_dir/uninstall:: $ac_dir/Makefile
7415 @cd $ac_dir && \$(MAKE) uninstall
7416 install:: $ac_dir/install
7417 __uninstall__: $ac_dir/uninstall"
7419 if wine_fn_has_flag install-lib
7420 then
7421 wine_fn_append_rule \
7422 ".PHONY: $ac_dir/install-lib
7423 $ac_dir/install-lib:: $ac_dir
7424 @cd $ac_dir && \$(MAKE) install-lib
7425 install-lib:: $ac_dir/install-lib"
7428 if wine_fn_has_flag install-dev
7429 then
7430 wine_fn_append_rule \
7431 ".PHONY: $ac_dir/install-dev
7432 $ac_dir/install-dev:: $ac_dir
7433 @cd $ac_dir && \$(MAKE) install-dev
7434 install-dev:: $ac_dir/install-dev"
7438 wine_fn_clean_rules ()
7440 ac_clean=$@
7441 ac_extraclean="$ac_dir/Makefile"
7442 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7443 case $ac_dir in
7444 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7445 esac
7447 if wine_fn_has_flag clean
7448 then
7449 wine_fn_append_rule \
7450 "__clean__: $ac_dir/clean
7451 .PHONY: $ac_dir/clean
7452 $ac_dir/clean: $ac_dir/Makefile
7453 @cd $ac_dir && \$(MAKE) clean
7454 \$(RM) $ac_extraclean"
7455 else
7456 wine_fn_append_rule \
7457 "__clean__: $ac_dir/clean
7458 .PHONY: $ac_dir/clean
7459 $ac_dir/clean: dummy
7460 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7464 wine_fn_disabled_rules ()
7466 ac_clean=$@
7467 ac_extraclean="$ac_dir/Makefile"
7468 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7470 wine_fn_append_rule \
7471 "__clean__: $ac_dir/clean
7472 .PHONY: $ac_dir/clean
7473 $ac_dir/clean: dummy
7474 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7477 wine_fn_config_makefile ()
7479 ac_dir=$1
7480 ac_enable=$2
7481 ac_flags=$3
7483 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7484 wine_fn_disabled_rules; return
7486 wine_fn_all_rules
7487 wine_fn_install_rules
7488 wine_fn_clean_rules
7491 wine_fn_config_lib ()
7493 ac_name=$1
7494 ac_flags=$2
7495 ac_dir=dlls/$ac_name
7496 ac_deps="include"
7498 if test "x$enable_tools" = xno; then :
7500 else
7501 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7503 wine_fn_all_rules
7504 wine_fn_clean_rules
7506 wine_fn_append_rule \
7507 ".PHONY: $ac_dir/install $ac_dir/uninstall
7508 $ac_dir/install:: $ac_dir
7509 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7510 $ac_dir/uninstall::
7511 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7512 install install-dev:: $ac_dir/install
7513 __uninstall__: $ac_dir/uninstall
7514 __builddeps__: $ac_dir
7515 $ac_dir: $ac_deps"
7518 wine_fn_config_dll ()
7520 ac_name=$1
7521 ac_dir=dlls/$ac_name
7522 ac_enable=$2
7523 ac_flags=$3
7524 ac_implib=${4:-$ac_name}
7525 ac_file=$ac_dir/lib$ac_implib
7526 ac_dll=$ac_name
7527 ac_deps="include"
7528 ac_implibflags=""
7530 if test "x$enable_tools" = xno; then :
7532 else
7533 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7535 case $ac_name in
7536 *16) ac_implibflags=" -m16" ;;
7537 *.*) ;;
7538 *) ac_dll=$ac_dll.dll ;;
7539 esac
7541 ac_clean=
7542 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7543 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7544 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7545 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7547 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7548 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7549 then
7550 wine_fn_depend_rules
7551 wine_fn_clean_rules $ac_clean
7552 else
7553 wine_fn_disabled_rules $ac_clean
7554 return
7556 else
7557 wine_fn_all_rules
7558 wine_fn_clean_rules $ac_clean
7559 wine_fn_append_rule \
7560 "$ac_dir: __builddeps__
7561 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7562 @cd $ac_dir && \$(MAKE) \$@
7563 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7564 install install-lib:: $ac_dir/install-lib
7565 __uninstall__: $ac_dir/uninstall"
7566 if test -n "$DLLEXT"
7567 then
7568 wine_fn_append_rule \
7569 "$ac_dir/install-lib:: $ac_dir
7570 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7571 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7572 $ac_dir/uninstall::
7573 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7574 else
7575 wine_fn_append_rule \
7576 "$ac_dir/install-lib:: $ac_dir
7577 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7578 $ac_dir/uninstall::
7579 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7582 wine_fn_pot_rules
7585 if wine_fn_has_flag staticimplib
7586 then
7587 wine_fn_append_rule \
7588 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7589 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7590 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7591 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7592 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7593 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7594 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7595 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7596 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7597 $ac_dir/uninstall::
7598 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7599 install install-dev:: $ac_dir/install-dev
7600 __uninstall__: $ac_dir/uninstall"
7602 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7603 then
7604 wine_fn_append_rule \
7605 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7606 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7607 $ac_dir/uninstall::
7608 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7611 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7612 then
7613 wine_fn_append_rule \
7614 "__builddeps__: $ac_file.cross.a
7615 $ac_file.cross.a: $ac_dir/Makefile dummy
7616 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7619 elif wine_fn_has_flag implib
7620 then
7621 wine_fn_append_rule \
7622 "__builddeps__: $ac_file.$IMPLIBEXT
7623 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7624 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7625 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7626 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7627 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7628 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7629 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7630 $ac_dir/uninstall::
7631 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7632 install install-dev:: $ac_dir/install-dev
7633 __uninstall__: $ac_dir/uninstall"
7634 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7635 then
7636 wine_fn_append_rule \
7637 "__builddeps__: $ac_file.cross.a
7638 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7639 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7642 if test "$ac_name" != "$ac_implib"
7643 then
7644 wine_fn_append_rule \
7645 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7646 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7647 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7648 clean::
7649 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7650 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7651 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7652 then
7653 wine_fn_append_rule \
7654 "__builddeps__: dlls/lib$ac_implib.cross.a
7655 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7656 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7657 clean::
7658 \$(RM) dlls/lib$ac_implib.cross.a"
7659 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7665 wine_fn_config_program ()
7667 ac_name=$1
7668 ac_dir=programs/$ac_name
7669 ac_enable=$2
7670 ac_flags=$3
7671 ac_program=$ac_name
7673 case $ac_name in
7674 *.*) ;;
7675 *) ac_program=$ac_program.exe ;;
7676 esac
7678 ac_clean=
7679 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7680 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7681 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7682 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7684 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7685 wine_fn_disabled_rules $ac_clean; return
7688 wine_fn_all_rules
7689 wine_fn_clean_rules $ac_clean
7690 wine_fn_append_rule "$ac_dir: __builddeps__"
7691 wine_fn_pot_rules
7693 wine_fn_has_flag install || return
7694 wine_fn_append_rule \
7695 ".PHONY: $ac_dir/install $ac_dir/uninstall
7696 install install-lib:: $ac_dir/install
7697 __uninstall__: $ac_dir/uninstall"
7699 if test -n "$DLLEXT"
7700 then
7701 wine_fn_append_rule \
7702 "$ac_dir/install:: $ac_dir
7703 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7704 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7705 $ac_dir/uninstall::
7706 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7708 if test -z "$with_wine64" && wine_fn_has_flag installbin
7709 then
7710 wine_fn_append_rule \
7711 "$ac_dir/install:: __tooldeps__
7712 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7713 $ac_dir/uninstall::
7714 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7716 else
7717 wine_fn_append_rule \
7718 "$ac_dir/install:: $ac_dir
7719 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7720 $ac_dir/uninstall::
7721 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7724 if test -z "$with_wine64" && wine_fn_has_flag manpage
7725 then
7726 wine_fn_append_rule \
7727 "$ac_dir/install:: $ac_dir
7728 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7729 $ac_dir/uninstall::
7730 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7734 wine_fn_config_test ()
7736 ac_dir=$1
7737 ac_name=$2
7738 ac_flags=$3
7740 ac_clean=
7741 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7742 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7744 if test "x$enable_tests" = xno; then :
7745 wine_fn_disabled_rules $ac_clean; return
7748 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7749 wine_fn_all_rules
7750 wine_fn_clean_rules $ac_clean
7752 wine_fn_append_rule \
7753 "$ac_dir: programs/winetest/Makefile __builddeps__
7754 programs/winetest: $ac_dir
7755 check test: $ac_dir/test
7756 .PHONY: $ac_dir/test
7757 $ac_dir/test: dummy
7758 @cd $ac_dir && \$(MAKE) test
7759 testclean::
7760 \$(RM) $ac_dir/*.ok"
7762 if test -n "$CROSSTARGET"
7763 then
7764 wine_fn_append_rule \
7765 "crosstest: $ac_dir/crosstest
7766 .PHONY: $ac_dir/crosstest
7767 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7768 @cd $ac_dir && \$(MAKE) crosstest"
7772 wine_fn_config_tool ()
7774 ac_dir=$1
7775 ac_flags=$2
7776 if test "x$enable_tools" = xno; then :
7777 return
7780 wine_fn_all_rules
7781 wine_fn_install_rules
7782 wine_fn_clean_rules
7784 wine_fn_append_rule "__tooldeps__: $ac_dir"
7785 wine_fn_append_rule "$ac_dir: libs/port"
7786 case $ac_dir in
7787 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7788 esac
7791 wine_fn_config_symlink ()
7793 ac_linkdir=
7794 if test "x$1" = "x-d"
7795 then
7796 ac_linkdir=$2
7797 shift; shift
7799 ac_links=$@
7800 wine_fn_append_rule \
7801 "$ac_links:
7802 @./config.status \$@
7803 distclean::
7804 \$(RM) $ac_links"
7805 for f in $ac_links; do wine_fn_ignore_file $f; done
7806 test -n "$ac_linkdir" || return
7807 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7810 wine_binary="wine"
7811 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7812 loader_programs="$wine_binary wine-installed"
7813 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7815 LOADER_RULES="
7816 all: wine.inf
7818 install install-lib:: wine-installed
7819 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7821 uninstall::
7822 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7826 case $host_os in
7827 cygwin*|mingw32*)
7828 if test -n "$ac_tool_prefix"; then
7829 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7830 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7832 $as_echo_n "checking for $ac_word... " >&6; }
7833 if ${ac_cv_prog_DLLTOOL+:} false; then :
7834 $as_echo_n "(cached) " >&6
7835 else
7836 if test -n "$DLLTOOL"; then
7837 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7838 else
7839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7840 for as_dir in $PATH
7842 IFS=$as_save_IFS
7843 test -z "$as_dir" && as_dir=.
7844 for ac_exec_ext in '' $ac_executable_extensions; do
7845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7846 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7848 break 2
7850 done
7851 done
7852 IFS=$as_save_IFS
7856 DLLTOOL=$ac_cv_prog_DLLTOOL
7857 if test -n "$DLLTOOL"; then
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7859 $as_echo "$DLLTOOL" >&6; }
7860 else
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7862 $as_echo "no" >&6; }
7867 if test -z "$ac_cv_prog_DLLTOOL"; then
7868 ac_ct_DLLTOOL=$DLLTOOL
7869 # Extract the first word of "dlltool", so it can be a program name with args.
7870 set dummy dlltool; ac_word=$2
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7872 $as_echo_n "checking for $ac_word... " >&6; }
7873 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7874 $as_echo_n "(cached) " >&6
7875 else
7876 if test -n "$ac_ct_DLLTOOL"; then
7877 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7878 else
7879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7880 for as_dir in $PATH
7882 IFS=$as_save_IFS
7883 test -z "$as_dir" && as_dir=.
7884 for ac_exec_ext in '' $ac_executable_extensions; do
7885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7886 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7888 break 2
7890 done
7891 done
7892 IFS=$as_save_IFS
7896 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7897 if test -n "$ac_ct_DLLTOOL"; then
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7899 $as_echo "$ac_ct_DLLTOOL" >&6; }
7900 else
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7902 $as_echo "no" >&6; }
7905 if test "x$ac_ct_DLLTOOL" = x; then
7906 DLLTOOL="false"
7907 else
7908 case $cross_compiling:$ac_tool_warned in
7909 yes:)
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7912 ac_tool_warned=yes ;;
7913 esac
7914 DLLTOOL=$ac_ct_DLLTOOL
7916 else
7917 DLLTOOL="$ac_cv_prog_DLLTOOL"
7920 LIBEXT="dll"
7921 DLLEXT=""
7922 IMPLIBEXT="a"
7923 STATIC_IMPLIBEXT="a"
7924 enable_iphlpapi=${enable_iphlpapi:-no}
7925 enable_kernel32=${enable_kernel32:-no}
7926 enable_msvcrt=${enable_msvcrt:-no}
7927 enable_ntdll=${enable_ntdll:-no}
7928 enable_ws2_32=${enable_ws2_32:-no}
7929 enable_loader=${enable_loader:-no}
7930 enable_server=${enable_server:-no}
7931 with_x=${with_x:-no}
7932 with_pthread=${with_pthread:-no}
7934 crtlibs=""
7935 case $host_os in
7936 mingw32*)
7937 crtlibs="-lmsvcrt"
7938 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7940 esac
7942 libwine_targets="libwine.dll libwine.a"
7943 LIBWINE_RULES="
7944 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7946 all: libwine.dll libwine.a
7948 libwine.a: \$(srcdir)/wine.def
7949 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7951 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7952 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7954 install install-lib:: libwine.dll
7955 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7957 install install-dev:: libwine.a
7958 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7960 uninstall::
7961 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7966 darwin*|macosx*)
7967 for ac_header in libunwind.h
7968 do :
7969 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7970 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7971 cat >>confdefs.h <<_ACEOF
7972 #define HAVE_LIBUNWIND_H 1
7973 _ACEOF
7977 done
7979 LIBEXT="dylib"
7980 DLLFLAGS="$DLLFLAGS -fPIC"
7981 LIBWINE_LDFLAGS="-multiply_defined suppress"
7982 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7983 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7984 COREFOUNDATION_LIBS="-framework CoreFoundation"
7986 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7988 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7990 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7992 CORESERVICES_LIBS="-framework CoreServices"
7994 APPKIT_LIBS="-framework AppKit"
7996 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7998 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7999 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8000 $as_echo_n "(cached) " >&6
8001 else
8002 ac_wine_try_cflags_saved=$CFLAGS
8003 CFLAGS="$CFLAGS -Wl,-no_pie"
8004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8005 /* end confdefs.h. */
8006 int main(int argc, char **argv) { return 0; }
8007 _ACEOF
8008 if ac_fn_c_try_link "$LINENO"; then :
8009 ac_cv_cflags__Wl__no_pie=yes
8010 else
8011 ac_cv_cflags__Wl__no_pie=no
8013 rm -f core conftest.err conftest.$ac_objext \
8014 conftest$ac_exeext conftest.$ac_ext
8015 CFLAGS=$ac_wine_try_cflags_saved
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8018 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8019 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8020 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8022 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8023 then
8024 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8027 if test "$ac_cv_header_Security_Security_h" = "yes"
8028 then
8029 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8031 ac_save_LIBS="$LIBS"
8032 LIBS="$LIBS $SECURITY_LIBS"
8033 for ac_func in SSLCopyPeerCertificates
8034 do :
8035 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8036 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8037 cat >>confdefs.h <<_ACEOF
8038 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8039 _ACEOF
8042 done
8044 LIBS="$ac_save_LIBS"
8045 with_gnutls=${with_gnutls:-no}
8047 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8048 then
8049 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8050 then
8051 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8053 else
8054 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8057 ac_save_LIBS="$LIBS"
8058 LIBS="$LIBS $COREAUDIO_LIBS"
8059 for ac_func in AUGraphAddNode
8060 do :
8061 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8062 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8063 cat >>confdefs.h <<_ACEOF
8064 #define HAVE_AUGRAPHADDNODE 1
8065 _ACEOF
8068 done
8070 LIBS="$ac_save_LIBS"
8072 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8073 then
8074 OPENAL_LIBS="-framework OpenAL"
8077 cat >>confdefs.h <<_ACEOF
8078 #define HAVE_OPENAL 1
8079 _ACEOF
8081 ac_cv_lib_openal=yes
8083 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8084 then
8085 OPENCL_LIBS="-framework OpenCL"
8087 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8089 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8090 then
8091 ac_save_LIBS="$LIBS"
8092 LIBS="$LIBS $IOKIT_LIBS"
8093 for ac_func in IOHIDManagerCreate
8094 do :
8095 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8096 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8097 cat >>confdefs.h <<_ACEOF
8098 #define HAVE_IOHIDMANAGERCREATE 1
8099 _ACEOF
8102 done
8104 LIBS="$ac_save_LIBS"
8106 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8107 then
8108 ac_save_LIBS="$LIBS"
8109 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8111 $as_echo_n "checking for the QuickTime framework... " >&6; }
8112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8113 /* end confdefs.h. */
8114 #include <QuickTime/ImageCompression.h>
8116 main ()
8118 CodecManagerVersion(NULL);
8120 return 0;
8122 _ACEOF
8123 if ac_fn_c_try_link "$LINENO"; then :
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8125 $as_echo "yes" >&6; }
8126 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8128 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8129 else
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8131 $as_echo "no" >&6; }
8132 ac_cv_header_QuickTime_ImageCompression_h=no
8134 rm -f core conftest.err conftest.$ac_objext \
8135 conftest$ac_exeext conftest.$ac_ext
8136 LIBS="$ac_save_LIBS"
8138 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8139 then
8140 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8142 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8143 then
8144 CARBON_LIBS="-framework Carbon"
8148 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8149 then
8150 ac_save_LIBS="$LIBS"
8151 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8152 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8153 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8154 enable_winemac_drv=${enable_winemac_drv:-yes}
8157 LIBS="$ac_save_LIBS"
8160 if test "x$enable_win16" = "xyes"
8161 then
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8163 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8164 if test "$cross_compiling" = yes; then :
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8166 $as_echo "cross-compiling, assuming yes" >&6; }
8167 else
8168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8169 /* end confdefs.h. */
8170 asm(".text\n"
8171 "bad:\tnop;nop\n"
8172 "good:\tnop;nop\n\t"
8173 ".globl _testfunc\n"
8174 "_testfunc:\tcallw good");
8175 extern void testfunc();
8177 main ()
8179 unsigned short *p = (unsigned short *)testfunc;
8180 return p[0] != 0xe866 || p[1] != 0xfffa
8182 return 0;
8184 _ACEOF
8185 if ac_fn_c_try_run "$LINENO"; then :
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8187 $as_echo "yes" >&6; }
8188 else
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8190 $as_echo "no" >&6; }
8191 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
8193 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8194 conftest.$ac_objext conftest.beam conftest.$ac_ext
8199 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8200 LIBWINE_RULES="
8201 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8203 all: libwine.dylib
8205 libwine.$libwine_version.dylib: \$(OBJS)
8206 \$(CC) -dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8208 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8209 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8211 libwine.dylib: libwine.$libwine_soversion.dylib
8212 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8214 install install-lib:: libwine.$libwine_version.dylib
8215 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8216 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8218 install install-dev::
8219 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8221 uninstall::
8222 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8226 as_fn_append LOADER_RULES "
8227 $wine_binary: main.o wine_info.plist
8228 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8230 wine-installed: main.o wine_info.plist
8231 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8235 linux-android*)
8236 DLLFLAGS="$DLLFLAGS -fPIC"
8237 DLLPREFIX="lib"
8238 LDEXECFLAGS=""
8239 dlldir="\${libdir}"
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8241 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8242 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8243 $as_echo_n "(cached) " >&6
8244 else
8245 ac_wine_try_cflags_saved=$CFLAGS
8246 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8248 /* end confdefs.h. */
8249 int main(int argc, char **argv) { return 0; }
8250 _ACEOF
8251 if ac_fn_c_try_link "$LINENO"; then :
8252 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8253 else
8254 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8256 rm -f core conftest.err conftest.$ac_objext \
8257 conftest$ac_exeext conftest.$ac_ext
8258 CFLAGS=$ac_wine_try_cflags_saved
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8261 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8262 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8263 LDEXECFLAGS="-Wl,--export-dynamic"
8265 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8267 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8268 if eval \${$as_ac_var+:} false; then :
8269 $as_echo_n "(cached) " >&6
8270 else
8271 ac_wine_try_cflags_saved=$CFLAGS
8272 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8274 /* end confdefs.h. */
8275 int main(int argc, char **argv) { return 0; }
8276 _ACEOF
8277 if ac_fn_c_try_link "$LINENO"; then :
8278 eval "$as_ac_var=yes"
8279 else
8280 eval "$as_ac_var=no"
8282 rm -f core conftest.err conftest.$ac_objext \
8283 conftest$ac_exeext conftest.$ac_ext
8284 CFLAGS=$ac_wine_try_cflags_saved
8286 eval ac_res=\$$as_ac_var
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8288 $as_echo "$ac_res" >&6; }
8289 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8290 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8291 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8292 else
8293 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8295 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8296 if eval \${$as_ac_var+:} false; then :
8297 $as_echo_n "(cached) " >&6
8298 else
8299 ac_wine_try_cflags_saved=$CFLAGS
8300 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8302 /* end confdefs.h. */
8303 int main(int argc, char **argv) { return 0; }
8304 _ACEOF
8305 if ac_fn_c_try_link "$LINENO"; then :
8306 eval "$as_ac_var=yes"
8307 else
8308 eval "$as_ac_var=no"
8310 rm -f core conftest.err conftest.$ac_objext \
8311 conftest$ac_exeext conftest.$ac_ext
8312 CFLAGS=$ac_wine_try_cflags_saved
8314 eval ac_res=\$$as_ac_var
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8316 $as_echo "$ac_res" >&6; }
8317 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8318 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8319 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8324 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8325 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8326 $as_echo_n "(cached) " >&6
8327 else
8328 ac_wine_try_cflags_saved=$CFLAGS
8329 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8331 /* end confdefs.h. */
8332 int main(int argc, char **argv) { return 0; }
8333 _ACEOF
8334 if ac_fn_c_try_link "$LINENO"; then :
8335 ac_cv_cflags__Wl___enable_new_dtags=yes
8336 else
8337 ac_cv_cflags__Wl___enable_new_dtags=no
8339 rm -f core conftest.err conftest.$ac_objext \
8340 conftest$ac_exeext conftest.$ac_ext
8341 CFLAGS=$ac_wine_try_cflags_saved
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8344 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8345 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8346 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8349 case $host_cpu in
8350 *i[3456789]86* | x86_64)
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8352 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8353 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8354 $as_echo_n "(cached) " >&6
8355 else
8356 ac_wine_try_cflags_saved=$CFLAGS
8357 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8359 /* end confdefs.h. */
8360 int main(int argc, char **argv) { return 0; }
8361 _ACEOF
8362 if ac_fn_c_try_link "$LINENO"; then :
8363 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8364 else
8365 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8367 rm -f core conftest.err conftest.$ac_objext \
8368 conftest$ac_exeext conftest.$ac_ext
8369 CFLAGS=$ac_wine_try_cflags_saved
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8372 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8373 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8374 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8377 esac
8379 libwine_targets="libwine.so"
8380 LIBWINE_RULES="
8381 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8383 all: libwine.so
8385 libwine.so: \$(OBJS)
8386 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8388 install install-lib:: libwine.so
8389 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8391 uninstall::
8392 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8396 as_fn_append LOADER_RULES "
8397 $wine_binary: main.o
8398 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8400 wine-installed: main.o
8401 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8406 DLLFLAGS="$DLLFLAGS -fPIC"
8407 LDEXECFLAGS=""
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8409 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8410 if ${ac_cv_c_dll_gnuelf+:} false; then :
8411 $as_echo_n "(cached) " >&6
8412 else
8413 ac_wine_try_cflags_saved=$CFLAGS
8414 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8416 /* end confdefs.h. */
8417 void myfunc() {}
8418 _ACEOF
8419 if ac_fn_c_try_link "$LINENO"; then :
8420 ac_cv_c_dll_gnuelf="yes"
8421 else
8422 ac_cv_c_dll_gnuelf="no"
8424 rm -f core conftest.err conftest.$ac_objext \
8425 conftest$ac_exeext conftest.$ac_ext
8426 CFLAGS=$ac_wine_try_cflags_saved
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8429 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8430 if test "$ac_cv_c_dll_gnuelf" = "yes"
8431 then
8432 LDSHARED="\$(CC) -shared"
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8434 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8435 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8436 $as_echo_n "(cached) " >&6
8437 else
8438 ac_wine_try_cflags_saved=$CFLAGS
8439 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8441 /* end confdefs.h. */
8442 int main(int argc, char **argv) { return 0; }
8443 _ACEOF
8444 if ac_fn_c_try_link "$LINENO"; then :
8445 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8446 else
8447 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8449 rm -f core conftest.err conftest.$ac_objext \
8450 conftest$ac_exeext conftest.$ac_ext
8451 CFLAGS=$ac_wine_try_cflags_saved
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8454 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8455 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8456 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8457 else
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8459 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8460 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8461 $as_echo_n "(cached) " >&6
8462 else
8463 ac_wine_try_cflags_saved=$CFLAGS
8464 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8466 /* end confdefs.h. */
8467 int main(int argc, char **argv) { return 0; }
8468 _ACEOF
8469 if ac_fn_c_try_link "$LINENO"; then :
8470 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8471 else
8472 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8474 rm -f core conftest.err conftest.$ac_objext \
8475 conftest$ac_exeext conftest.$ac_ext
8476 CFLAGS=$ac_wine_try_cflags_saved
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8479 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8480 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8481 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8485 echo '{ global: *; };' >conftest.map
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8487 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8488 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8489 $as_echo_n "(cached) " >&6
8490 else
8491 ac_wine_try_cflags_saved=$CFLAGS
8492 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8494 /* end confdefs.h. */
8495 int main(int argc, char **argv) { return 0; }
8496 _ACEOF
8497 if ac_fn_c_try_link "$LINENO"; then :
8498 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8499 else
8500 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8502 rm -f core conftest.err conftest.$ac_objext \
8503 conftest$ac_exeext conftest.$ac_ext
8504 CFLAGS=$ac_wine_try_cflags_saved
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8507 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8508 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8509 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8511 rm -f conftest.map
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8514 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8515 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8516 $as_echo_n "(cached) " >&6
8517 else
8518 ac_wine_try_cflags_saved=$CFLAGS
8519 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8521 /* end confdefs.h. */
8522 int main(int argc, char **argv) { return 0; }
8523 _ACEOF
8524 if ac_fn_c_try_link "$LINENO"; then :
8525 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8526 else
8527 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8529 rm -f core conftest.err conftest.$ac_objext \
8530 conftest$ac_exeext conftest.$ac_ext
8531 CFLAGS=$ac_wine_try_cflags_saved
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8534 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8535 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8536 LDEXECFLAGS="-Wl,--export-dynamic"
8539 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8541 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8542 if eval \${$as_ac_var+:} false; then :
8543 $as_echo_n "(cached) " >&6
8544 else
8545 ac_wine_try_cflags_saved=$CFLAGS
8546 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8548 /* end confdefs.h. */
8549 int main(int argc, char **argv) { return 0; }
8550 _ACEOF
8551 if ac_fn_c_try_link "$LINENO"; then :
8552 eval "$as_ac_var=yes"
8553 else
8554 eval "$as_ac_var=no"
8556 rm -f core conftest.err conftest.$ac_objext \
8557 conftest$ac_exeext conftest.$ac_ext
8558 CFLAGS=$ac_wine_try_cflags_saved
8560 eval ac_res=\$$as_ac_var
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8562 $as_echo "$ac_res" >&6; }
8563 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8564 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8565 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8566 else
8567 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8569 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8570 if eval \${$as_ac_var+:} false; then :
8571 $as_echo_n "(cached) " >&6
8572 else
8573 ac_wine_try_cflags_saved=$CFLAGS
8574 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8576 /* end confdefs.h. */
8577 int main(int argc, char **argv) { return 0; }
8578 _ACEOF
8579 if ac_fn_c_try_link "$LINENO"; then :
8580 eval "$as_ac_var=yes"
8581 else
8582 eval "$as_ac_var=no"
8584 rm -f core conftest.err conftest.$ac_objext \
8585 conftest$ac_exeext conftest.$ac_ext
8586 CFLAGS=$ac_wine_try_cflags_saved
8588 eval ac_res=\$$as_ac_var
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8590 $as_echo "$ac_res" >&6; }
8591 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8592 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8593 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8598 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8599 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8600 $as_echo_n "(cached) " >&6
8601 else
8602 ac_wine_try_cflags_saved=$CFLAGS
8603 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8605 /* end confdefs.h. */
8606 int main(int argc, char **argv) { return 0; }
8607 _ACEOF
8608 if ac_fn_c_try_link "$LINENO"; then :
8609 ac_cv_cflags__Wl___enable_new_dtags=yes
8610 else
8611 ac_cv_cflags__Wl___enable_new_dtags=no
8613 rm -f core conftest.err conftest.$ac_objext \
8614 conftest$ac_exeext conftest.$ac_ext
8615 CFLAGS=$ac_wine_try_cflags_saved
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8618 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8619 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8620 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8623 case $host_cpu in
8624 *i[3456789]86* | x86_64)
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8626 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8627 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8628 $as_echo_n "(cached) " >&6
8629 else
8630 ac_wine_try_cflags_saved=$CFLAGS
8631 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8633 /* end confdefs.h. */
8634 int main(int argc, char **argv) { return 0; }
8635 _ACEOF
8636 if ac_fn_c_try_link "$LINENO"; then :
8637 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8638 else
8639 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8641 rm -f core conftest.err conftest.$ac_objext \
8642 conftest$ac_exeext conftest.$ac_ext
8643 CFLAGS=$ac_wine_try_cflags_saved
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8646 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8647 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8648 case $host_os in
8649 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8650 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8651 esac
8654 # Extract the first word of "prelink", so it can be a program name with args.
8655 set dummy prelink; ac_word=$2
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8657 $as_echo_n "checking for $ac_word... " >&6; }
8658 if ${ac_cv_path_PRELINK+:} false; then :
8659 $as_echo_n "(cached) " >&6
8660 else
8661 case $PRELINK in
8662 [\\/]* | ?:[\\/]*)
8663 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8667 for as_dir in /sbin /usr/sbin $PATH
8669 IFS=$as_save_IFS
8670 test -z "$as_dir" && as_dir=.
8671 for ac_exec_ext in '' $ac_executable_extensions; do
8672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8673 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8675 break 2
8677 done
8678 done
8679 IFS=$as_save_IFS
8681 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8683 esac
8685 PRELINK=$ac_cv_path_PRELINK
8686 if test -n "$PRELINK"; then
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8688 $as_echo "$PRELINK" >&6; }
8689 else
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8691 $as_echo "no" >&6; }
8695 if test "x$PRELINK" = xfalse
8696 then
8697 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8700 esac
8702 else
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8704 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8705 if ${ac_cv_c_dll_unixware+:} false; then :
8706 $as_echo_n "(cached) " >&6
8707 else
8708 ac_wine_try_cflags_saved=$CFLAGS
8709 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8711 /* end confdefs.h. */
8712 void myfunc() {}
8713 _ACEOF
8714 if ac_fn_c_try_link "$LINENO"; then :
8715 ac_cv_c_dll_unixware="yes"
8716 else
8717 ac_cv_c_dll_unixware="no"
8719 rm -f core conftest.err conftest.$ac_objext \
8720 conftest$ac_exeext conftest.$ac_ext
8721 CFLAGS=$ac_wine_try_cflags_saved
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8724 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8725 if test "$ac_cv_c_dll_unixware" = "yes"
8726 then
8727 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8730 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8731 LIBWINE_RULES="
8732 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8734 all: libwine.so
8736 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8737 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8739 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8740 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8742 libwine.so: libwine.so.$libwine_soversion
8743 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8745 install install-lib:: libwine.so.$libwine_version
8746 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8747 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8749 install install-dev::
8750 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8752 uninstall::
8753 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8757 as_fn_append LOADER_RULES "
8758 $wine_binary: main.o
8759 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8761 wine-installed: main.o
8762 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8765 esac
8767 as_fn_append LIBWINE_RULES "
8768 EXTRA_TARGETS = $libwine_targets
8771 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8772 enable_winemac_drv=${enable_winemac_drv:-no}
8774 CROSSTARGET=""
8776 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8777 then
8778 case "$host_cpu" in
8779 i[3456789]86*)
8780 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
8781 mingw32-gcc" ;;
8782 x86_64)
8783 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 " ;;
8785 ac_prefix_list="" ;;
8786 esac
8787 for ac_prog in $ac_prefix_list
8789 # Extract the first word of "$ac_prog", so it can be a program name with args.
8790 set dummy $ac_prog; ac_word=$2
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8792 $as_echo_n "checking for $ac_word... " >&6; }
8793 if ${ac_cv_prog_CROSSCC+:} false; then :
8794 $as_echo_n "(cached) " >&6
8795 else
8796 if test -n "$CROSSCC"; then
8797 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8798 else
8799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8800 for as_dir in $PATH
8802 IFS=$as_save_IFS
8803 test -z "$as_dir" && as_dir=.
8804 for ac_exec_ext in '' $ac_executable_extensions; do
8805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8806 ac_cv_prog_CROSSCC="$ac_prog"
8807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8808 break 2
8810 done
8811 done
8812 IFS=$as_save_IFS
8816 CROSSCC=$ac_cv_prog_CROSSCC
8817 if test -n "$CROSSCC"; then
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8819 $as_echo "$CROSSCC" >&6; }
8820 else
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8822 $as_echo "no" >&6; }
8826 test -n "$CROSSCC" && break
8827 done
8828 test -n "$CROSSCC" || CROSSCC="false"
8830 if test "$CROSSCC" != "false"
8831 then
8832 ac_save_CC="$CC"
8833 CC="$CROSSCC"
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8835 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8837 /* end confdefs.h. */
8840 main ()
8844 return 0;
8846 _ACEOF
8847 if ac_fn_c_try_compile "$LINENO"; then :
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8849 $as_echo "yes" >&6; }
8850 set x $CROSSCC
8851 shift
8852 while test $# -ge 1
8854 case "$1" in
8855 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8856 esac
8857 shift
8858 done
8859 else
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8861 $as_echo "no" >&6; }
8863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8864 CC="$ac_save_CC"
8869 if test "$ac_cv_header_pthread_h" = "yes"
8870 then
8871 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8872 if test "x$ac_cv_func_pthread_create" = xyes; then :
8874 else
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8876 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8877 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8878 $as_echo_n "(cached) " >&6
8879 else
8880 ac_check_lib_save_LIBS=$LIBS
8881 LIBS="-lpthread $LIBS"
8882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8883 /* end confdefs.h. */
8885 /* Override any GCC internal prototype to avoid an error.
8886 Use char because int might match the return type of a GCC
8887 builtin and then its argument prototype would still apply. */
8888 #ifdef __cplusplus
8889 extern "C"
8890 #endif
8891 char pthread_create ();
8893 main ()
8895 return pthread_create ();
8897 return 0;
8899 _ACEOF
8900 if ac_fn_c_try_link "$LINENO"; then :
8901 ac_cv_lib_pthread_pthread_create=yes
8902 else
8903 ac_cv_lib_pthread_pthread_create=no
8905 rm -f core conftest.err conftest.$ac_objext \
8906 conftest$ac_exeext conftest.$ac_ext
8907 LIBS=$ac_check_lib_save_LIBS
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8910 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8911 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8912 PTHREAD_LIBS="-lpthread"
8919 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8920 case "x$with_pthread" in
8921 xno) ;;
8922 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8923 Wine cannot support threads without libpthread.
8924 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8925 esac
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8930 $as_echo_n "checking for X... " >&6; }
8933 # Check whether --with-x was given.
8934 if test "${with_x+set}" = set; then :
8935 withval=$with_x;
8938 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8939 if test "x$with_x" = xno; then
8940 # The user explicitly disabled X.
8941 have_x=disabled
8942 else
8943 case $x_includes,$x_libraries in #(
8944 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8945 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8946 $as_echo_n "(cached) " >&6
8947 else
8948 # One or both of the vars are not set, and there is no cached value.
8949 ac_x_includes=no ac_x_libraries=no
8950 rm -f -r conftest.dir
8951 if mkdir conftest.dir; then
8952 cd conftest.dir
8953 cat >Imakefile <<'_ACEOF'
8954 incroot:
8955 @echo incroot='${INCROOT}'
8956 usrlibdir:
8957 @echo usrlibdir='${USRLIBDIR}'
8958 libdir:
8959 @echo libdir='${LIBDIR}'
8960 _ACEOF
8961 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8962 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8963 for ac_var in incroot usrlibdir libdir; do
8964 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8965 done
8966 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8967 for ac_extension in a so sl dylib la dll; do
8968 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8969 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8970 ac_im_usrlibdir=$ac_im_libdir; break
8972 done
8973 # Screen out bogus values from the imake configuration. They are
8974 # bogus both because they are the default anyway, and because
8975 # using them would break gcc on systems where it needs fixed includes.
8976 case $ac_im_incroot in
8977 /usr/include) ac_x_includes= ;;
8978 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8979 esac
8980 case $ac_im_usrlibdir in
8981 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8982 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8983 esac
8985 cd ..
8986 rm -f -r conftest.dir
8989 # Standard set of common directories for X headers.
8990 # Check X11 before X11Rn because it is often a symlink to the current release.
8991 ac_x_header_dirs='
8992 /usr/X11/include
8993 /usr/X11R7/include
8994 /usr/X11R6/include
8995 /usr/X11R5/include
8996 /usr/X11R4/include
8998 /usr/include/X11
8999 /usr/include/X11R7
9000 /usr/include/X11R6
9001 /usr/include/X11R5
9002 /usr/include/X11R4
9004 /usr/local/X11/include
9005 /usr/local/X11R7/include
9006 /usr/local/X11R6/include
9007 /usr/local/X11R5/include
9008 /usr/local/X11R4/include
9010 /usr/local/include/X11
9011 /usr/local/include/X11R7
9012 /usr/local/include/X11R6
9013 /usr/local/include/X11R5
9014 /usr/local/include/X11R4
9016 /usr/X386/include
9017 /usr/x386/include
9018 /usr/XFree86/include/X11
9020 /usr/include
9021 /usr/local/include
9022 /usr/unsupported/include
9023 /usr/athena/include
9024 /usr/local/x11r5/include
9025 /usr/lpp/Xamples/include
9027 /usr/openwin/include
9028 /usr/openwin/share/include'
9030 if test "$ac_x_includes" = no; then
9031 # Guess where to find include files, by looking for Xlib.h.
9032 # First, try using that file with no special directory specified.
9033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9034 /* end confdefs.h. */
9035 #include <X11/Xlib.h>
9036 _ACEOF
9037 if ac_fn_c_try_cpp "$LINENO"; then :
9038 # We can compile using X headers with no special include directory.
9039 ac_x_includes=
9040 else
9041 for ac_dir in $ac_x_header_dirs; do
9042 if test -r "$ac_dir/X11/Xlib.h"; then
9043 ac_x_includes=$ac_dir
9044 break
9046 done
9048 rm -f conftest.err conftest.i conftest.$ac_ext
9049 fi # $ac_x_includes = no
9051 if test "$ac_x_libraries" = no; then
9052 # Check for the libraries.
9053 # See if we find them without any special options.
9054 # Don't add to $LIBS permanently.
9055 ac_save_LIBS=$LIBS
9056 LIBS="-lX11 $LIBS"
9057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9058 /* end confdefs.h. */
9059 #include <X11/Xlib.h>
9061 main ()
9063 XrmInitialize ()
9065 return 0;
9067 _ACEOF
9068 if ac_fn_c_try_link "$LINENO"; then :
9069 LIBS=$ac_save_LIBS
9070 # We can link X programs with no special library path.
9071 ac_x_libraries=
9072 else
9073 LIBS=$ac_save_LIBS
9074 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9076 # Don't even attempt the hair of trying to link an X program!
9077 for ac_extension in a so sl dylib la dll; do
9078 if test -r "$ac_dir/libX11.$ac_extension"; then
9079 ac_x_libraries=$ac_dir
9080 break 2
9082 done
9083 done
9085 rm -f core conftest.err conftest.$ac_objext \
9086 conftest$ac_exeext conftest.$ac_ext
9087 fi # $ac_x_libraries = no
9089 case $ac_x_includes,$ac_x_libraries in #(
9090 no,* | *,no | *\'*)
9091 # Didn't find X, or a directory has "'" in its name.
9092 ac_cv_have_x="have_x=no";; #(
9094 # Record where we found X for the cache.
9095 ac_cv_have_x="have_x=yes\
9096 ac_x_includes='$ac_x_includes'\
9097 ac_x_libraries='$ac_x_libraries'"
9098 esac
9100 ;; #(
9101 *) have_x=yes;;
9102 esac
9103 eval "$ac_cv_have_x"
9104 fi # $with_x != no
9106 if test "$have_x" != yes; then
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9108 $as_echo "$have_x" >&6; }
9109 no_x=yes
9110 else
9111 # If each of the values was on the command line, it overrides each guess.
9112 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9113 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9114 # Update the cache value to reflect the command line values.
9115 ac_cv_have_x="have_x=yes\
9116 ac_x_includes='$x_includes'\
9117 ac_x_libraries='$x_libraries'"
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9119 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9122 if test "$no_x" = yes; then
9123 # Not all programs may use this symbol, but it does not hurt to define it.
9125 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9127 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9128 else
9129 if test -n "$x_includes"; then
9130 X_CFLAGS="$X_CFLAGS -I$x_includes"
9133 # It would also be nice to do this for all -L options, not just this one.
9134 if test -n "$x_libraries"; then
9135 X_LIBS="$X_LIBS -L$x_libraries"
9136 # For Solaris; some versions of Sun CC require a space after -R and
9137 # others require no space. Words are not sufficient . . . .
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9139 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9140 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9141 ac_xsave_c_werror_flag=$ac_c_werror_flag
9142 ac_c_werror_flag=yes
9143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9144 /* end confdefs.h. */
9147 main ()
9151 return 0;
9153 _ACEOF
9154 if ac_fn_c_try_link "$LINENO"; then :
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9156 $as_echo "no" >&6; }
9157 X_LIBS="$X_LIBS -R$x_libraries"
9158 else
9159 LIBS="$ac_xsave_LIBS -R $x_libraries"
9160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9161 /* end confdefs.h. */
9164 main ()
9168 return 0;
9170 _ACEOF
9171 if ac_fn_c_try_link "$LINENO"; then :
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9173 $as_echo "yes" >&6; }
9174 X_LIBS="$X_LIBS -R $x_libraries"
9175 else
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9177 $as_echo "neither works" >&6; }
9179 rm -f core conftest.err conftest.$ac_objext \
9180 conftest$ac_exeext conftest.$ac_ext
9182 rm -f core conftest.err conftest.$ac_objext \
9183 conftest$ac_exeext conftest.$ac_ext
9184 ac_c_werror_flag=$ac_xsave_c_werror_flag
9185 LIBS=$ac_xsave_LIBS
9188 # Check for system-dependent libraries X programs must link with.
9189 # Do this before checking for the system-independent R6 libraries
9190 # (-lICE), since we may need -lsocket or whatever for X linking.
9192 if test "$ISC" = yes; then
9193 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9194 else
9195 # Martyn Johnson says this is needed for Ultrix, if the X
9196 # libraries were built with DECnet support. And Karl Berry says
9197 # the Alpha needs dnet_stub (dnet does not exist).
9198 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9200 /* end confdefs.h. */
9202 /* Override any GCC internal prototype to avoid an error.
9203 Use char because int might match the return type of a GCC
9204 builtin and then its argument prototype would still apply. */
9205 #ifdef __cplusplus
9206 extern "C"
9207 #endif
9208 char XOpenDisplay ();
9210 main ()
9212 return XOpenDisplay ();
9214 return 0;
9216 _ACEOF
9217 if ac_fn_c_try_link "$LINENO"; then :
9219 else
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9221 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9222 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9223 $as_echo_n "(cached) " >&6
9224 else
9225 ac_check_lib_save_LIBS=$LIBS
9226 LIBS="-ldnet $LIBS"
9227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9228 /* end confdefs.h. */
9230 /* Override any GCC internal prototype to avoid an error.
9231 Use char because int might match the return type of a GCC
9232 builtin and then its argument prototype would still apply. */
9233 #ifdef __cplusplus
9234 extern "C"
9235 #endif
9236 char dnet_ntoa ();
9238 main ()
9240 return dnet_ntoa ();
9242 return 0;
9244 _ACEOF
9245 if ac_fn_c_try_link "$LINENO"; then :
9246 ac_cv_lib_dnet_dnet_ntoa=yes
9247 else
9248 ac_cv_lib_dnet_dnet_ntoa=no
9250 rm -f core conftest.err conftest.$ac_objext \
9251 conftest$ac_exeext conftest.$ac_ext
9252 LIBS=$ac_check_lib_save_LIBS
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9255 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9256 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9257 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9260 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9262 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9263 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9264 $as_echo_n "(cached) " >&6
9265 else
9266 ac_check_lib_save_LIBS=$LIBS
9267 LIBS="-ldnet_stub $LIBS"
9268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9269 /* end confdefs.h. */
9271 /* Override any GCC internal prototype to avoid an error.
9272 Use char because int might match the return type of a GCC
9273 builtin and then its argument prototype would still apply. */
9274 #ifdef __cplusplus
9275 extern "C"
9276 #endif
9277 char dnet_ntoa ();
9279 main ()
9281 return dnet_ntoa ();
9283 return 0;
9285 _ACEOF
9286 if ac_fn_c_try_link "$LINENO"; then :
9287 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9288 else
9289 ac_cv_lib_dnet_stub_dnet_ntoa=no
9291 rm -f core conftest.err conftest.$ac_objext \
9292 conftest$ac_exeext conftest.$ac_ext
9293 LIBS=$ac_check_lib_save_LIBS
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9296 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9297 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9298 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9303 rm -f core conftest.err conftest.$ac_objext \
9304 conftest$ac_exeext conftest.$ac_ext
9305 LIBS="$ac_xsave_LIBS"
9307 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9308 # to get the SysV transport functions.
9309 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9310 # needs -lnsl.
9311 # The nsl library prevents programs from opening the X display
9312 # on Irix 5.2, according to T.E. Dickey.
9313 # The functions gethostbyname, getservbyname, and inet_addr are
9314 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9315 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9316 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9320 if test $ac_cv_func_gethostbyname = no; then
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9322 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9323 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9324 $as_echo_n "(cached) " >&6
9325 else
9326 ac_check_lib_save_LIBS=$LIBS
9327 LIBS="-lnsl $LIBS"
9328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9329 /* end confdefs.h. */
9331 /* Override any GCC internal prototype to avoid an error.
9332 Use char because int might match the return type of a GCC
9333 builtin and then its argument prototype would still apply. */
9334 #ifdef __cplusplus
9335 extern "C"
9336 #endif
9337 char gethostbyname ();
9339 main ()
9341 return gethostbyname ();
9343 return 0;
9345 _ACEOF
9346 if ac_fn_c_try_link "$LINENO"; then :
9347 ac_cv_lib_nsl_gethostbyname=yes
9348 else
9349 ac_cv_lib_nsl_gethostbyname=no
9351 rm -f core conftest.err conftest.$ac_objext \
9352 conftest$ac_exeext conftest.$ac_ext
9353 LIBS=$ac_check_lib_save_LIBS
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9356 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9357 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9358 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9361 if test $ac_cv_lib_nsl_gethostbyname = no; then
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9363 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9364 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9365 $as_echo_n "(cached) " >&6
9366 else
9367 ac_check_lib_save_LIBS=$LIBS
9368 LIBS="-lbsd $LIBS"
9369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9370 /* end confdefs.h. */
9372 /* Override any GCC internal prototype to avoid an error.
9373 Use char because int might match the return type of a GCC
9374 builtin and then its argument prototype would still apply. */
9375 #ifdef __cplusplus
9376 extern "C"
9377 #endif
9378 char gethostbyname ();
9380 main ()
9382 return gethostbyname ();
9384 return 0;
9386 _ACEOF
9387 if ac_fn_c_try_link "$LINENO"; then :
9388 ac_cv_lib_bsd_gethostbyname=yes
9389 else
9390 ac_cv_lib_bsd_gethostbyname=no
9392 rm -f core conftest.err conftest.$ac_objext \
9393 conftest$ac_exeext conftest.$ac_ext
9394 LIBS=$ac_check_lib_save_LIBS
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9397 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9398 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9399 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9405 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9406 # socket/setsockopt and other routines are undefined under SCO ODT
9407 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9408 # on later versions), says Simon Leinen: it contains gethostby*
9409 # variants that don't use the name server (or something). -lsocket
9410 # must be given before -lnsl if both are needed. We assume that
9411 # if connect needs -lnsl, so does gethostbyname.
9412 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9413 if test "x$ac_cv_func_connect" = xyes; then :
9417 if test $ac_cv_func_connect = no; then
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9419 $as_echo_n "checking for connect in -lsocket... " >&6; }
9420 if ${ac_cv_lib_socket_connect+:} false; then :
9421 $as_echo_n "(cached) " >&6
9422 else
9423 ac_check_lib_save_LIBS=$LIBS
9424 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9426 /* end confdefs.h. */
9428 /* Override any GCC internal prototype to avoid an error.
9429 Use char because int might match the return type of a GCC
9430 builtin and then its argument prototype would still apply. */
9431 #ifdef __cplusplus
9432 extern "C"
9433 #endif
9434 char connect ();
9436 main ()
9438 return connect ();
9440 return 0;
9442 _ACEOF
9443 if ac_fn_c_try_link "$LINENO"; then :
9444 ac_cv_lib_socket_connect=yes
9445 else
9446 ac_cv_lib_socket_connect=no
9448 rm -f core conftest.err conftest.$ac_objext \
9449 conftest$ac_exeext conftest.$ac_ext
9450 LIBS=$ac_check_lib_save_LIBS
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9453 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9454 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9455 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9460 # Guillermo Gomez says -lposix is necessary on A/UX.
9461 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9462 if test "x$ac_cv_func_remove" = xyes; then :
9466 if test $ac_cv_func_remove = no; then
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9468 $as_echo_n "checking for remove in -lposix... " >&6; }
9469 if ${ac_cv_lib_posix_remove+:} false; then :
9470 $as_echo_n "(cached) " >&6
9471 else
9472 ac_check_lib_save_LIBS=$LIBS
9473 LIBS="-lposix $LIBS"
9474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9475 /* end confdefs.h. */
9477 /* Override any GCC internal prototype to avoid an error.
9478 Use char because int might match the return type of a GCC
9479 builtin and then its argument prototype would still apply. */
9480 #ifdef __cplusplus
9481 extern "C"
9482 #endif
9483 char remove ();
9485 main ()
9487 return remove ();
9489 return 0;
9491 _ACEOF
9492 if ac_fn_c_try_link "$LINENO"; then :
9493 ac_cv_lib_posix_remove=yes
9494 else
9495 ac_cv_lib_posix_remove=no
9497 rm -f core conftest.err conftest.$ac_objext \
9498 conftest$ac_exeext conftest.$ac_ext
9499 LIBS=$ac_check_lib_save_LIBS
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9502 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9503 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9504 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9509 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9510 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9511 if test "x$ac_cv_func_shmat" = xyes; then :
9515 if test $ac_cv_func_shmat = no; then
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9517 $as_echo_n "checking for shmat in -lipc... " >&6; }
9518 if ${ac_cv_lib_ipc_shmat+:} false; then :
9519 $as_echo_n "(cached) " >&6
9520 else
9521 ac_check_lib_save_LIBS=$LIBS
9522 LIBS="-lipc $LIBS"
9523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9524 /* end confdefs.h. */
9526 /* Override any GCC internal prototype to avoid an error.
9527 Use char because int might match the return type of a GCC
9528 builtin and then its argument prototype would still apply. */
9529 #ifdef __cplusplus
9530 extern "C"
9531 #endif
9532 char shmat ();
9534 main ()
9536 return shmat ();
9538 return 0;
9540 _ACEOF
9541 if ac_fn_c_try_link "$LINENO"; then :
9542 ac_cv_lib_ipc_shmat=yes
9543 else
9544 ac_cv_lib_ipc_shmat=no
9546 rm -f core conftest.err conftest.$ac_objext \
9547 conftest$ac_exeext conftest.$ac_ext
9548 LIBS=$ac_check_lib_save_LIBS
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9551 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9552 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9553 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9559 # Check for libraries that X11R6 Xt/Xaw programs need.
9560 ac_save_LDFLAGS=$LDFLAGS
9561 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9562 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9563 # check for ICE first), but we must link in the order -lSM -lICE or
9564 # we get undefined symbols. So assume we have SM if we have ICE.
9565 # These have to be linked with before -lX11, unlike the other
9566 # libraries we check for below, so use a different variable.
9567 # John Interrante, Karl Berry
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9569 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9570 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9571 $as_echo_n "(cached) " >&6
9572 else
9573 ac_check_lib_save_LIBS=$LIBS
9574 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9576 /* end confdefs.h. */
9578 /* Override any GCC internal prototype to avoid an error.
9579 Use char because int might match the return type of a GCC
9580 builtin and then its argument prototype would still apply. */
9581 #ifdef __cplusplus
9582 extern "C"
9583 #endif
9584 char IceConnectionNumber ();
9586 main ()
9588 return IceConnectionNumber ();
9590 return 0;
9592 _ACEOF
9593 if ac_fn_c_try_link "$LINENO"; then :
9594 ac_cv_lib_ICE_IceConnectionNumber=yes
9595 else
9596 ac_cv_lib_ICE_IceConnectionNumber=no
9598 rm -f core conftest.err conftest.$ac_objext \
9599 conftest$ac_exeext conftest.$ac_ext
9600 LIBS=$ac_check_lib_save_LIBS
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9603 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9604 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9605 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9608 LDFLAGS=$ac_save_LDFLAGS
9613 if test "$have_x" = "yes"
9614 then
9615 ac_save_CPPFLAGS="$CPPFLAGS"
9616 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9619 $as_echo_n "checking for -lX11... " >&6; }
9620 if ${ac_cv_lib_soname_X11+:} false; then :
9621 $as_echo_n "(cached) " >&6
9622 else
9623 ac_check_soname_save_LIBS=$LIBS
9624 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9626 /* end confdefs.h. */
9628 /* Override any GCC internal prototype to avoid an error.
9629 Use char because int might match the return type of a GCC
9630 builtin and then its argument prototype would still apply. */
9631 #ifdef __cplusplus
9632 extern "C"
9633 #endif
9634 char XCreateWindow ();
9636 main ()
9638 return XCreateWindow ();
9640 return 0;
9642 _ACEOF
9643 if ac_fn_c_try_link "$LINENO"; then :
9644 case "$LIBEXT" in
9645 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9646 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'` ;;
9647 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9648 if ${ac_cv_lib_soname_X11:+false} :; then :
9649 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9650 fi ;;
9651 esac
9653 rm -f core conftest.err conftest.$ac_objext \
9654 conftest$ac_exeext conftest.$ac_ext
9655 LIBS=$ac_check_soname_save_LIBS
9657 if ${ac_cv_lib_soname_X11:+false} :; then :
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9659 $as_echo "not found" >&6; }
9661 else
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9663 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9665 cat >>confdefs.h <<_ACEOF
9666 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9667 _ACEOF
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9672 $as_echo_n "checking for -lXext... " >&6; }
9673 if ${ac_cv_lib_soname_Xext+:} false; then :
9674 $as_echo_n "(cached) " >&6
9675 else
9676 ac_check_soname_save_LIBS=$LIBS
9677 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9679 /* end confdefs.h. */
9681 /* Override any GCC internal prototype to avoid an error.
9682 Use char because int might match the return type of a GCC
9683 builtin and then its argument prototype would still apply. */
9684 #ifdef __cplusplus
9685 extern "C"
9686 #endif
9687 char XextCreateExtension ();
9689 main ()
9691 return XextCreateExtension ();
9693 return 0;
9695 _ACEOF
9696 if ac_fn_c_try_link "$LINENO"; then :
9697 case "$LIBEXT" in
9698 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9699 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'` ;;
9700 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9701 if ${ac_cv_lib_soname_Xext:+false} :; then :
9702 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9703 fi ;;
9704 esac
9706 rm -f core conftest.err conftest.$ac_objext \
9707 conftest$ac_exeext conftest.$ac_ext
9708 LIBS=$ac_check_soname_save_LIBS
9710 if ${ac_cv_lib_soname_Xext:+false} :; then :
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9712 $as_echo "not found" >&6; }
9714 else
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9716 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9718 cat >>confdefs.h <<_ACEOF
9719 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9720 _ACEOF
9722 X_LIBS="$X_LIBS -lXext"
9724 X_LIBS="$X_LIBS -lX11"
9726 for ac_header in X11/Xlib.h \
9727 X11/XKBlib.h \
9728 X11/Xutil.h \
9729 X11/Xcursor/Xcursor.h \
9730 X11/extensions/shape.h \
9731 X11/extensions/XInput.h \
9732 X11/extensions/XInput2.h \
9733 X11/extensions/XShm.h \
9734 X11/extensions/Xcomposite.h \
9735 X11/extensions/Xinerama.h \
9736 X11/extensions/Xrandr.h \
9737 X11/extensions/Xrender.h \
9738 X11/extensions/xf86vmode.h \
9739 X11/extensions/xf86vmproto.h
9740 do :
9741 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9742 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9743 # include <X11/Xlib.h>
9744 #endif
9745 #ifdef HAVE_X11_XUTIL_H
9746 # include <X11/Xutil.h>
9747 #endif
9749 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9750 cat >>confdefs.h <<_ACEOF
9751 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9752 _ACEOF
9756 done
9759 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9760 then
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9762 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9763 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9764 $as_echo_n "(cached) " >&6
9765 else
9766 ac_check_lib_save_LIBS=$LIBS
9767 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9769 /* end confdefs.h. */
9771 /* Override any GCC internal prototype to avoid an error.
9772 Use char because int might match the return type of a GCC
9773 builtin and then its argument prototype would still apply. */
9774 #ifdef __cplusplus
9775 extern "C"
9776 #endif
9777 char XkbQueryExtension ();
9779 main ()
9781 return XkbQueryExtension ();
9783 return 0;
9785 _ACEOF
9786 if ac_fn_c_try_link "$LINENO"; then :
9787 ac_cv_lib_X11_XkbQueryExtension=yes
9788 else
9789 ac_cv_lib_X11_XkbQueryExtension=no
9791 rm -f core conftest.err conftest.$ac_objext \
9792 conftest$ac_exeext conftest.$ac_ext
9793 LIBS=$ac_check_lib_save_LIBS
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9796 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9797 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9799 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9805 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9806 then
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9808 $as_echo_n "checking for -lXcursor... " >&6; }
9809 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9810 $as_echo_n "(cached) " >&6
9811 else
9812 ac_check_soname_save_LIBS=$LIBS
9813 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9815 /* end confdefs.h. */
9817 /* Override any GCC internal prototype to avoid an error.
9818 Use char because int might match the return type of a GCC
9819 builtin and then its argument prototype would still apply. */
9820 #ifdef __cplusplus
9821 extern "C"
9822 #endif
9823 char XcursorImageLoadCursor ();
9825 main ()
9827 return XcursorImageLoadCursor ();
9829 return 0;
9831 _ACEOF
9832 if ac_fn_c_try_link "$LINENO"; then :
9833 case "$LIBEXT" in
9834 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9835 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'` ;;
9836 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9837 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9838 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9839 fi ;;
9840 esac
9842 rm -f core conftest.err conftest.$ac_objext \
9843 conftest$ac_exeext conftest.$ac_ext
9844 LIBS=$ac_check_soname_save_LIBS
9846 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9848 $as_echo "not found" >&6; }
9850 else
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9852 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9854 cat >>confdefs.h <<_ACEOF
9855 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9856 _ACEOF
9861 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9862 case "x$with_xcursor" in
9863 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9864 xno) ;;
9865 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9866 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9867 esac
9870 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9871 then
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9873 $as_echo_n "checking for -lXi... " >&6; }
9874 if ${ac_cv_lib_soname_Xi+:} false; then :
9875 $as_echo_n "(cached) " >&6
9876 else
9877 ac_check_soname_save_LIBS=$LIBS
9878 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9880 /* end confdefs.h. */
9882 /* Override any GCC internal prototype to avoid an error.
9883 Use char because int might match the return type of a GCC
9884 builtin and then its argument prototype would still apply. */
9885 #ifdef __cplusplus
9886 extern "C"
9887 #endif
9888 char XOpenDevice ();
9890 main ()
9892 return XOpenDevice ();
9894 return 0;
9896 _ACEOF
9897 if ac_fn_c_try_link "$LINENO"; then :
9898 case "$LIBEXT" in
9899 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9900 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'` ;;
9901 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9902 if ${ac_cv_lib_soname_Xi:+false} :; then :
9903 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9904 fi ;;
9905 esac
9907 rm -f core conftest.err conftest.$ac_objext \
9908 conftest$ac_exeext conftest.$ac_ext
9909 LIBS=$ac_check_soname_save_LIBS
9911 if ${ac_cv_lib_soname_Xi:+false} :; then :
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9913 $as_echo "not found" >&6; }
9915 else
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9917 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9919 cat >>confdefs.h <<_ACEOF
9920 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9921 _ACEOF
9926 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9927 case "x$with_xinput" in
9928 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9929 xno) ;;
9930 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9931 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9932 esac
9935 if test "x$ac_cv_lib_soname_Xi" != x
9936 then
9937 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9938 case "x$with_xinput2" in
9939 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9940 xno) ;;
9941 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9942 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9943 esac
9947 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9948 then
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9950 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9951 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9952 $as_echo_n "(cached) " >&6
9953 else
9954 ac_check_lib_save_LIBS=$LIBS
9955 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9957 /* end confdefs.h. */
9959 /* Override any GCC internal prototype to avoid an error.
9960 Use char because int might match the return type of a GCC
9961 builtin and then its argument prototype would still apply. */
9962 #ifdef __cplusplus
9963 extern "C"
9964 #endif
9965 char XShmQueryExtension ();
9967 main ()
9969 return XShmQueryExtension ();
9971 return 0;
9973 _ACEOF
9974 if ac_fn_c_try_link "$LINENO"; then :
9975 ac_cv_lib_Xext_XShmQueryExtension=yes
9976 else
9977 ac_cv_lib_Xext_XShmQueryExtension=no
9979 rm -f core conftest.err conftest.$ac_objext \
9980 conftest$ac_exeext conftest.$ac_ext
9981 LIBS=$ac_check_lib_save_LIBS
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9984 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9985 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9987 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9992 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9993 case "x$with_xshm" in
9994 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9995 xno) ;;
9996 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9997 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9998 esac
10001 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10002 then
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10004 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10005 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10006 $as_echo_n "(cached) " >&6
10007 else
10008 ac_check_lib_save_LIBS=$LIBS
10009 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10011 /* end confdefs.h. */
10013 /* Override any GCC internal prototype to avoid an error.
10014 Use char because int might match the return type of a GCC
10015 builtin and then its argument prototype would still apply. */
10016 #ifdef __cplusplus
10017 extern "C"
10018 #endif
10019 char XShapeQueryExtension ();
10021 main ()
10023 return XShapeQueryExtension ();
10025 return 0;
10027 _ACEOF
10028 if ac_fn_c_try_link "$LINENO"; then :
10029 ac_cv_lib_Xext_XShapeQueryExtension=yes
10030 else
10031 ac_cv_lib_Xext_XShapeQueryExtension=no
10033 rm -f core conftest.err conftest.$ac_objext \
10034 conftest$ac_exeext conftest.$ac_ext
10035 LIBS=$ac_check_lib_save_LIBS
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10038 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10039 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10041 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10046 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10047 case "x$with_xshape" in
10048 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10049 xno) ;;
10050 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10051 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10052 esac
10055 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10056 then
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10058 $as_echo_n "checking for -lXxf86vm... " >&6; }
10059 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10060 $as_echo_n "(cached) " >&6
10061 else
10062 ac_check_soname_save_LIBS=$LIBS
10063 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10065 /* end confdefs.h. */
10067 /* Override any GCC internal prototype to avoid an error.
10068 Use char because int might match the return type of a GCC
10069 builtin and then its argument prototype would still apply. */
10070 #ifdef __cplusplus
10071 extern "C"
10072 #endif
10073 char XF86VidModeQueryExtension ();
10075 main ()
10077 return XF86VidModeQueryExtension ();
10079 return 0;
10081 _ACEOF
10082 if ac_fn_c_try_link "$LINENO"; then :
10083 case "$LIBEXT" in
10084 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10085 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'` ;;
10086 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10087 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10088 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10089 fi ;;
10090 esac
10092 rm -f core conftest.err conftest.$ac_objext \
10093 conftest$ac_exeext conftest.$ac_ext
10094 LIBS=$ac_check_soname_save_LIBS
10096 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10098 $as_echo "not found" >&6; }
10100 else
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10102 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10104 cat >>confdefs.h <<_ACEOF
10105 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10106 _ACEOF
10111 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10112 case "x$with_xxf86vm" in
10113 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10114 xno) ;;
10115 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10116 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10117 esac
10120 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10121 then
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10123 $as_echo_n "checking for -lXrender... " >&6; }
10124 if ${ac_cv_lib_soname_Xrender+:} false; then :
10125 $as_echo_n "(cached) " >&6
10126 else
10127 ac_check_soname_save_LIBS=$LIBS
10128 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10130 /* end confdefs.h. */
10132 /* Override any GCC internal prototype to avoid an error.
10133 Use char because int might match the return type of a GCC
10134 builtin and then its argument prototype would still apply. */
10135 #ifdef __cplusplus
10136 extern "C"
10137 #endif
10138 char XRenderQueryExtension ();
10140 main ()
10142 return XRenderQueryExtension ();
10144 return 0;
10146 _ACEOF
10147 if ac_fn_c_try_link "$LINENO"; then :
10148 case "$LIBEXT" in
10149 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10150 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'` ;;
10151 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10152 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10153 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10154 fi ;;
10155 esac
10157 rm -f core conftest.err conftest.$ac_objext \
10158 conftest$ac_exeext conftest.$ac_ext
10159 LIBS=$ac_check_soname_save_LIBS
10161 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10163 $as_echo "not found" >&6; }
10165 else
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10167 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10169 cat >>confdefs.h <<_ACEOF
10170 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10171 _ACEOF
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10174 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10175 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10176 $as_echo_n "(cached) " >&6
10177 else
10178 ac_check_lib_save_LIBS=$LIBS
10179 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10181 /* end confdefs.h. */
10183 /* Override any GCC internal prototype to avoid an error.
10184 Use char because int might match the return type of a GCC
10185 builtin and then its argument prototype would still apply. */
10186 #ifdef __cplusplus
10187 extern "C"
10188 #endif
10189 char XRenderSetPictureTransform ();
10191 main ()
10193 return XRenderSetPictureTransform ();
10195 return 0;
10197 _ACEOF
10198 if ac_fn_c_try_link "$LINENO"; then :
10199 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10200 else
10201 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10203 rm -f core conftest.err conftest.$ac_objext \
10204 conftest$ac_exeext conftest.$ac_ext
10205 LIBS=$ac_check_lib_save_LIBS
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10208 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10209 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10211 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10216 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10217 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10218 $as_echo_n "(cached) " >&6
10219 else
10220 ac_check_lib_save_LIBS=$LIBS
10221 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10223 /* end confdefs.h. */
10225 /* Override any GCC internal prototype to avoid an error.
10226 Use char because int might match the return type of a GCC
10227 builtin and then its argument prototype would still apply. */
10228 #ifdef __cplusplus
10229 extern "C"
10230 #endif
10231 char XRenderCreateLinearGradient ();
10233 main ()
10235 return XRenderCreateLinearGradient ();
10237 return 0;
10239 _ACEOF
10240 if ac_fn_c_try_link "$LINENO"; then :
10241 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10242 else
10243 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10245 rm -f core conftest.err conftest.$ac_objext \
10246 conftest$ac_exeext conftest.$ac_ext
10247 LIBS=$ac_check_lib_save_LIBS
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10250 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10251 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10253 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10260 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10261 case "x$with_xrender" in
10262 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10263 xno) ;;
10264 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10265 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10266 esac
10269 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10270 then
10271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10272 /* end confdefs.h. */
10273 #include <X11/Xlib.h>
10274 #include <X11/extensions/Xrandr.h>
10276 main ()
10278 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10280 return 0;
10282 _ACEOF
10283 if ac_fn_c_try_compile "$LINENO"; then :
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10285 $as_echo_n "checking for -lXrandr... " >&6; }
10286 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10287 $as_echo_n "(cached) " >&6
10288 else
10289 ac_check_soname_save_LIBS=$LIBS
10290 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10292 /* end confdefs.h. */
10294 /* Override any GCC internal prototype to avoid an error.
10295 Use char because int might match the return type of a GCC
10296 builtin and then its argument prototype would still apply. */
10297 #ifdef __cplusplus
10298 extern "C"
10299 #endif
10300 char XRRQueryExtension ();
10302 main ()
10304 return XRRQueryExtension ();
10306 return 0;
10308 _ACEOF
10309 if ac_fn_c_try_link "$LINENO"; then :
10310 case "$LIBEXT" in
10311 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10312 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'` ;;
10313 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10314 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10315 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10316 fi ;;
10317 esac
10319 rm -f core conftest.err conftest.$ac_objext \
10320 conftest$ac_exeext conftest.$ac_ext
10321 LIBS=$ac_check_soname_save_LIBS
10323 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10325 $as_echo "not found" >&6; }
10327 else
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10329 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10331 cat >>confdefs.h <<_ACEOF
10332 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10333 _ACEOF
10335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10336 /* end confdefs.h. */
10337 #include <X11/Xlib.h>
10338 #include <X11/extensions/Xrandr.h>
10340 main ()
10342 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10344 return 0;
10346 _ACEOF
10347 if ac_fn_c_try_compile "$LINENO"; then :
10349 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10357 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10358 case "x$with_xrandr" in
10359 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10360 xno) ;;
10361 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10362 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10363 esac
10366 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10367 then
10368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10369 /* end confdefs.h. */
10370 #include <X11/Xlib.h>
10371 #include <X11/extensions/Xinerama.h>
10373 main ()
10375 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10377 return 0;
10379 _ACEOF
10380 if ac_fn_c_try_compile "$LINENO"; then :
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10382 $as_echo_n "checking for -lXinerama... " >&6; }
10383 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10384 $as_echo_n "(cached) " >&6
10385 else
10386 ac_check_soname_save_LIBS=$LIBS
10387 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10389 /* end confdefs.h. */
10391 /* Override any GCC internal prototype to avoid an error.
10392 Use char because int might match the return type of a GCC
10393 builtin and then its argument prototype would still apply. */
10394 #ifdef __cplusplus
10395 extern "C"
10396 #endif
10397 char XineramaQueryScreens ();
10399 main ()
10401 return XineramaQueryScreens ();
10403 return 0;
10405 _ACEOF
10406 if ac_fn_c_try_link "$LINENO"; then :
10407 case "$LIBEXT" in
10408 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10409 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'` ;;
10410 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10411 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10412 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10413 fi ;;
10414 esac
10416 rm -f core conftest.err conftest.$ac_objext \
10417 conftest$ac_exeext conftest.$ac_ext
10418 LIBS=$ac_check_soname_save_LIBS
10420 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10422 $as_echo "not found" >&6; }
10424 else
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10426 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10428 cat >>confdefs.h <<_ACEOF
10429 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10430 _ACEOF
10435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10437 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10438 case "x$with_xinerama" in
10439 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10440 xno) ;;
10441 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10442 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10443 esac
10446 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10447 then
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10449 $as_echo_n "checking for -lXcomposite... " >&6; }
10450 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10451 $as_echo_n "(cached) " >&6
10452 else
10453 ac_check_soname_save_LIBS=$LIBS
10454 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10456 /* end confdefs.h. */
10458 /* Override any GCC internal prototype to avoid an error.
10459 Use char because int might match the return type of a GCC
10460 builtin and then its argument prototype would still apply. */
10461 #ifdef __cplusplus
10462 extern "C"
10463 #endif
10464 char XCompositeRedirectWindow ();
10466 main ()
10468 return XCompositeRedirectWindow ();
10470 return 0;
10472 _ACEOF
10473 if ac_fn_c_try_link "$LINENO"; then :
10474 case "$LIBEXT" in
10475 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10476 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'` ;;
10477 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10478 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10479 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10480 fi ;;
10481 esac
10483 rm -f core conftest.err conftest.$ac_objext \
10484 conftest$ac_exeext conftest.$ac_ext
10485 LIBS=$ac_check_soname_save_LIBS
10487 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10489 $as_echo "not found" >&6; }
10491 else
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10493 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10495 cat >>confdefs.h <<_ACEOF
10496 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10497 _ACEOF
10502 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10503 case "x$with_xcomposite" in
10504 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10505 xno) ;;
10506 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10507 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10508 esac
10511 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10512 #include <X11/Xlib.h>
10513 #endif
10515 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10517 cat >>confdefs.h <<_ACEOF
10518 #define HAVE_XICCALLBACK_CALLBACK 1
10519 _ACEOF
10523 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10524 #include <X11/Xlib.h>
10525 #endif
10527 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10529 cat >>confdefs.h <<_ACEOF
10530 #define HAVE_XEVENT_XCOOKIE 1
10531 _ACEOF
10538 opengl_msg=""
10539 if test "x$with_opengl" != "xno"
10540 then
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10542 $as_echo_n "checking for -lGL... " >&6; }
10543 if ${ac_cv_lib_soname_GL+:} false; then :
10544 $as_echo_n "(cached) " >&6
10545 else
10546 ac_check_soname_save_LIBS=$LIBS
10547 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10549 /* end confdefs.h. */
10551 /* Override any GCC internal prototype to avoid an error.
10552 Use char because int might match the return type of a GCC
10553 builtin and then its argument prototype would still apply. */
10554 #ifdef __cplusplus
10555 extern "C"
10556 #endif
10557 char glXCreateContext ();
10559 main ()
10561 return glXCreateContext ();
10563 return 0;
10565 _ACEOF
10566 if ac_fn_c_try_link "$LINENO"; then :
10567 case "$LIBEXT" in
10568 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10569 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'` ;;
10570 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10571 if ${ac_cv_lib_soname_GL:+false} :; then :
10572 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10573 fi ;;
10574 esac
10576 rm -f core conftest.err conftest.$ac_objext \
10577 conftest$ac_exeext conftest.$ac_ext
10578 LIBS=$ac_check_soname_save_LIBS
10580 if ${ac_cv_lib_soname_GL:+false} :; then :
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10582 $as_echo "not found" >&6; }
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10584 $as_echo_n "checking for -lGL... " >&6; }
10585 if ${ac_cv_lib_soname_GL+:} false; then :
10586 $as_echo_n "(cached) " >&6
10587 else
10588 ac_check_soname_save_LIBS=$LIBS
10589 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"
10590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10591 /* end confdefs.h. */
10593 /* Override any GCC internal prototype to avoid an error.
10594 Use char because int might match the return type of a GCC
10595 builtin and then its argument prototype would still apply. */
10596 #ifdef __cplusplus
10597 extern "C"
10598 #endif
10599 char glXCreateContext ();
10601 main ()
10603 return glXCreateContext ();
10605 return 0;
10607 _ACEOF
10608 if ac_fn_c_try_link "$LINENO"; then :
10609 case "$LIBEXT" in
10610 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10611 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'` ;;
10612 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10613 if ${ac_cv_lib_soname_GL:+false} :; then :
10614 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10615 fi ;;
10616 esac
10618 rm -f core conftest.err conftest.$ac_objext \
10619 conftest$ac_exeext conftest.$ac_ext
10620 LIBS=$ac_check_soname_save_LIBS
10622 if ${ac_cv_lib_soname_GL:+false} :; then :
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10624 $as_echo "not found" >&6; }
10625 if test -f /usr/X11R6/lib/libGL.a
10626 then
10627 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10628 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10629 else
10630 opengl_msg="No OpenGL library found on this system."
10632 else
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10634 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10636 cat >>confdefs.h <<_ACEOF
10637 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10638 _ACEOF
10640 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"
10642 else
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10644 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10646 cat >>confdefs.h <<_ACEOF
10647 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10648 _ACEOF
10650 OPENGL_LIBS="-lGL"
10652 if test "x$with_glu" != "xno"
10653 then
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10655 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10656 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10657 $as_echo_n "(cached) " >&6
10658 else
10659 ac_check_lib_save_LIBS=$LIBS
10660 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10662 /* end confdefs.h. */
10664 /* Override any GCC internal prototype to avoid an error.
10665 Use char because int might match the return type of a GCC
10666 builtin and then its argument prototype would still apply. */
10667 #ifdef __cplusplus
10668 extern "C"
10669 #endif
10670 char gluLookAt ();
10672 main ()
10674 return gluLookAt ();
10676 return 0;
10678 _ACEOF
10679 if ac_fn_c_try_link "$LINENO"; then :
10680 ac_cv_lib_GLU_gluLookAt=yes
10681 else
10682 ac_cv_lib_GLU_gluLookAt=no
10684 rm -f core conftest.err conftest.$ac_objext \
10685 conftest$ac_exeext conftest.$ac_ext
10686 LIBS=$ac_check_lib_save_LIBS
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10689 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10690 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10694 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10695 case "x$with_glu" in
10696 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10697 xno) ;;
10698 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10699 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10700 esac
10704 if test "x$with_osmesa" != "xno"
10705 then
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10707 $as_echo_n "checking for -lOSMesa... " >&6; }
10708 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10709 $as_echo_n "(cached) " >&6
10710 else
10711 ac_check_soname_save_LIBS=$LIBS
10712 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10714 /* end confdefs.h. */
10716 /* Override any GCC internal prototype to avoid an error.
10717 Use char because int might match the return type of a GCC
10718 builtin and then its argument prototype would still apply. */
10719 #ifdef __cplusplus
10720 extern "C"
10721 #endif
10722 char glAccum ();
10724 main ()
10726 return glAccum ();
10728 return 0;
10730 _ACEOF
10731 if ac_fn_c_try_link "$LINENO"; then :
10732 case "$LIBEXT" in
10733 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10734 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'` ;;
10735 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10736 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10737 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10738 fi ;;
10739 esac
10741 rm -f core conftest.err conftest.$ac_objext \
10742 conftest$ac_exeext conftest.$ac_ext
10743 LIBS=$ac_check_soname_save_LIBS
10745 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10747 $as_echo "not found" >&6; }
10749 else
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10751 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10753 cat >>confdefs.h <<_ACEOF
10754 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10755 _ACEOF
10759 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10760 case "x$with_osmesa" in
10761 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10762 xno) ;;
10763 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10764 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10765 esac
10769 if test -n "$opengl_msg"; then :
10770 case "x$with_opengl" in
10771 x) as_fn_append wine_warnings "|$opengl_msg
10772 OpenGL and Direct3D won't be supported." ;;
10773 xno) ;;
10774 *) as_fn_error $? "$opengl_msg
10775 OpenGL and Direct3D won't be supported.
10776 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10777 esac
10780 CPPFLAGS="$ac_save_CPPFLAGS"
10781 else
10782 X_CFLAGS=""
10783 X_LIBS=""
10784 enable_winex11_drv=${enable_winex11_drv:-no}
10786 if test "x$X_LIBS" = "x"; then :
10787 case "x$with_x" in
10788 xno) ;;
10789 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10790 without X support, which probably isn't what you want. You will need
10791 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10792 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10793 esac
10796 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10798 if test "$ac_cv_header_CL_cl_h" = "yes"
10799 then
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10801 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10802 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10803 $as_echo_n "(cached) " >&6
10804 else
10805 ac_check_lib_save_LIBS=$LIBS
10806 LIBS="-lOpenCL $LIBS"
10807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10808 /* end confdefs.h. */
10810 /* Override any GCC internal prototype to avoid an error.
10811 Use char because int might match the return type of a GCC
10812 builtin and then its argument prototype would still apply. */
10813 #ifdef __cplusplus
10814 extern "C"
10815 #endif
10816 char clGetPlatformInfo ();
10818 main ()
10820 return clGetPlatformInfo ();
10822 return 0;
10824 _ACEOF
10825 if ac_fn_c_try_link "$LINENO"; then :
10826 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10827 else
10828 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10830 rm -f core conftest.err conftest.$ac_objext \
10831 conftest$ac_exeext conftest.$ac_ext
10832 LIBS=$ac_check_lib_save_LIBS
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10835 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10836 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10837 OPENCL_LIBS="-lOpenCL"
10842 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10843 case "x$with_opencl" in
10844 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10845 xno) ;;
10846 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10847 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10848 esac
10850 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10852 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10853 then
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10855 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10856 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10857 $as_echo_n "(cached) " >&6
10858 else
10859 ac_check_lib_save_LIBS=$LIBS
10860 LIBS="-lpcap $LIBS"
10861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10862 /* end confdefs.h. */
10864 /* Override any GCC internal prototype to avoid an error.
10865 Use char because int might match the return type of a GCC
10866 builtin and then its argument prototype would still apply. */
10867 #ifdef __cplusplus
10868 extern "C"
10869 #endif
10870 char pcap_create ();
10872 main ()
10874 return pcap_create ();
10876 return 0;
10878 _ACEOF
10879 if ac_fn_c_try_link "$LINENO"; then :
10880 ac_cv_lib_pcap_pcap_create=yes
10881 else
10882 ac_cv_lib_pcap_pcap_create=no
10884 rm -f core conftest.err conftest.$ac_objext \
10885 conftest$ac_exeext conftest.$ac_ext
10886 LIBS=$ac_check_lib_save_LIBS
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10889 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10890 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10891 LIBPCAP="-lpcap"
10896 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10897 case "x$with_pcap" in
10898 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10899 xno) ;;
10900 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10901 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10902 esac
10904 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10907 if test "x$with_xml" != "xno"
10908 then
10909 if ${XML2_CFLAGS:+false} :; then :
10910 if ${PKG_CONFIG+:} false; then :
10911 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10914 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10915 if ${XML2_LIBS:+false} :; then :
10916 if ${PKG_CONFIG+:} false; then :
10917 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10920 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10921 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10922 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10923 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10924 ac_save_CPPFLAGS=$CPPFLAGS
10925 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10926 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10927 do :
10928 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10929 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10930 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10931 cat >>confdefs.h <<_ACEOF
10932 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10933 _ACEOF
10937 done
10939 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"
10940 then
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10942 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10943 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10944 $as_echo_n "(cached) " >&6
10945 else
10946 ac_check_lib_save_LIBS=$LIBS
10947 LIBS="-lxml2 $XML2_LIBS $LIBS"
10948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10949 /* end confdefs.h. */
10951 /* Override any GCC internal prototype to avoid an error.
10952 Use char because int might match the return type of a GCC
10953 builtin and then its argument prototype would still apply. */
10954 #ifdef __cplusplus
10955 extern "C"
10956 #endif
10957 char xmlParseMemory ();
10959 main ()
10961 return xmlParseMemory ();
10963 return 0;
10965 _ACEOF
10966 if ac_fn_c_try_link "$LINENO"; then :
10967 ac_cv_lib_xml2_xmlParseMemory=yes
10968 else
10969 ac_cv_lib_xml2_xmlParseMemory=no
10971 rm -f core conftest.err conftest.$ac_objext \
10972 conftest$ac_exeext conftest.$ac_ext
10973 LIBS=$ac_check_lib_save_LIBS
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10976 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10977 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10979 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10981 else
10982 XML2_LIBS=""
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10986 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10987 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10988 $as_echo_n "(cached) " >&6
10989 else
10990 ac_check_lib_save_LIBS=$LIBS
10991 LIBS="-lxml2 $XML2_LIBS $LIBS"
10992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10993 /* end confdefs.h. */
10995 /* Override any GCC internal prototype to avoid an error.
10996 Use char because int might match the return type of a GCC
10997 builtin and then its argument prototype would still apply. */
10998 #ifdef __cplusplus
10999 extern "C"
11000 #endif
11001 char xmlReadMemory ();
11003 main ()
11005 return xmlReadMemory ();
11007 return 0;
11009 _ACEOF
11010 if ac_fn_c_try_link "$LINENO"; then :
11011 ac_cv_lib_xml2_xmlReadMemory=yes
11012 else
11013 ac_cv_lib_xml2_xmlReadMemory=no
11015 rm -f core conftest.err conftest.$ac_objext \
11016 conftest$ac_exeext conftest.$ac_ext
11017 LIBS=$ac_check_lib_save_LIBS
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11020 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11021 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11023 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11028 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11029 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11030 $as_echo_n "(cached) " >&6
11031 else
11032 ac_check_lib_save_LIBS=$LIBS
11033 LIBS="-lxml2 $XML2_LIBS $LIBS"
11034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11035 /* end confdefs.h. */
11037 /* Override any GCC internal prototype to avoid an error.
11038 Use char because int might match the return type of a GCC
11039 builtin and then its argument prototype would still apply. */
11040 #ifdef __cplusplus
11041 extern "C"
11042 #endif
11043 char xmlNewDocPI ();
11045 main ()
11047 return xmlNewDocPI ();
11049 return 0;
11051 _ACEOF
11052 if ac_fn_c_try_link "$LINENO"; then :
11053 ac_cv_lib_xml2_xmlNewDocPI=yes
11054 else
11055 ac_cv_lib_xml2_xmlNewDocPI=no
11057 rm -f core conftest.err conftest.$ac_objext \
11058 conftest$ac_exeext conftest.$ac_ext
11059 LIBS=$ac_check_lib_save_LIBS
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11062 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11063 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11065 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11070 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11071 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11072 $as_echo_n "(cached) " >&6
11073 else
11074 ac_check_lib_save_LIBS=$LIBS
11075 LIBS="-lxml2 $XML2_LIBS $LIBS"
11076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11077 /* end confdefs.h. */
11079 /* Override any GCC internal prototype to avoid an error.
11080 Use char because int might match the return type of a GCC
11081 builtin and then its argument prototype would still apply. */
11082 #ifdef __cplusplus
11083 extern "C"
11084 #endif
11085 char xmlSchemaSetParserStructuredErrors ();
11087 main ()
11089 return xmlSchemaSetParserStructuredErrors ();
11091 return 0;
11093 _ACEOF
11094 if ac_fn_c_try_link "$LINENO"; then :
11095 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11096 else
11097 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11099 rm -f core conftest.err conftest.$ac_objext \
11100 conftest$ac_exeext conftest.$ac_ext
11101 LIBS=$ac_check_lib_save_LIBS
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11104 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11105 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11107 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11112 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11113 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11114 $as_echo_n "(cached) " >&6
11115 else
11116 ac_check_lib_save_LIBS=$LIBS
11117 LIBS="-lxml2 $XML2_LIBS $LIBS"
11118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11119 /* end confdefs.h. */
11121 /* Override any GCC internal prototype to avoid an error.
11122 Use char because int might match the return type of a GCC
11123 builtin and then its argument prototype would still apply. */
11124 #ifdef __cplusplus
11125 extern "C"
11126 #endif
11127 char xmlSchemaSetValidStructuredErrors ();
11129 main ()
11131 return xmlSchemaSetValidStructuredErrors ();
11133 return 0;
11135 _ACEOF
11136 if ac_fn_c_try_link "$LINENO"; then :
11137 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11138 else
11139 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11141 rm -f core conftest.err conftest.$ac_objext \
11142 conftest$ac_exeext conftest.$ac_ext
11143 LIBS=$ac_check_lib_save_LIBS
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11146 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11147 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11149 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11154 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11155 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11156 $as_echo_n "(cached) " >&6
11157 else
11158 ac_check_lib_save_LIBS=$LIBS
11159 LIBS="-lxml2 $XML2_LIBS $LIBS"
11160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11161 /* end confdefs.h. */
11163 /* Override any GCC internal prototype to avoid an error.
11164 Use char because int might match the return type of a GCC
11165 builtin and then its argument prototype would still apply. */
11166 #ifdef __cplusplus
11167 extern "C"
11168 #endif
11169 char xmlFirstElementChild ();
11171 main ()
11173 return xmlFirstElementChild ();
11175 return 0;
11177 _ACEOF
11178 if ac_fn_c_try_link "$LINENO"; then :
11179 ac_cv_lib_xml2_xmlFirstElementChild=yes
11180 else
11181 ac_cv_lib_xml2_xmlFirstElementChild=no
11183 rm -f core conftest.err conftest.$ac_objext \
11184 conftest$ac_exeext conftest.$ac_ext
11185 LIBS=$ac_check_lib_save_LIBS
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11188 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11189 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11191 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11195 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11197 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11199 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11203 else
11204 XML2_CFLAGS=""
11205 XML2_LIBS=""
11207 CPPFLAGS=$ac_save_CPPFLAGS
11208 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11209 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11212 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11213 case "x$with_xml" in
11214 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11215 xno) ;;
11216 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11217 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11218 esac
11221 if test "x$with_xslt" != "xno"
11222 then
11223 if ${XSLT_CFLAGS:+false} :; then :
11224 if ${PKG_CONFIG+:} false; then :
11225 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11228 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11229 if ${XSLT_LIBS:+false} :; then :
11230 if ${PKG_CONFIG+:} false; then :
11231 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11234 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11235 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11236 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11237 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11238 ac_save_CPPFLAGS=$CPPFLAGS
11239 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11240 for ac_header in libxslt/pattern.h libxslt/transform.h
11241 do :
11242 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11243 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11244 # include <libxslt/pattern.h>
11245 #endif
11247 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11248 cat >>confdefs.h <<_ACEOF
11249 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11250 _ACEOF
11254 done
11256 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11257 then
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11259 $as_echo_n "checking for -lxslt... " >&6; }
11260 if ${ac_cv_lib_soname_xslt+:} false; then :
11261 $as_echo_n "(cached) " >&6
11262 else
11263 ac_check_soname_save_LIBS=$LIBS
11264 LIBS="-lxslt $XSLT_LIBS $LIBS"
11265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11266 /* end confdefs.h. */
11268 /* Override any GCC internal prototype to avoid an error.
11269 Use char because int might match the return type of a GCC
11270 builtin and then its argument prototype would still apply. */
11271 #ifdef __cplusplus
11272 extern "C"
11273 #endif
11274 char xsltCompilePattern ();
11276 main ()
11278 return xsltCompilePattern ();
11280 return 0;
11282 _ACEOF
11283 if ac_fn_c_try_link "$LINENO"; then :
11284 case "$LIBEXT" in
11285 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11286 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'` ;;
11287 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11288 if ${ac_cv_lib_soname_xslt:+false} :; then :
11289 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11290 fi ;;
11291 esac
11293 rm -f core conftest.err conftest.$ac_objext \
11294 conftest$ac_exeext conftest.$ac_ext
11295 LIBS=$ac_check_soname_save_LIBS
11297 if ${ac_cv_lib_soname_xslt:+false} :; then :
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11299 $as_echo "not found" >&6; }
11301 else
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11303 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11305 cat >>confdefs.h <<_ACEOF
11306 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11307 _ACEOF
11311 else
11312 XSLT_CFLAGS=""
11314 CPPFLAGS=$ac_save_CPPFLAGS
11315 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11316 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11319 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11320 case "x$with_xslt" in
11321 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11322 xno) ;;
11323 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11324 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11325 esac
11328 if test "x$with_dbus" != "xno"
11329 then
11330 if ${DBUS_CFLAGS:+false} :; then :
11331 if ${PKG_CONFIG+:} false; then :
11332 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11336 if ${DBUS_LIBS:+false} :; then :
11337 if ${PKG_CONFIG+:} false; then :
11338 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11343 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11344 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11345 ac_save_CPPFLAGS=$CPPFLAGS
11346 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11347 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11348 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11350 $as_echo_n "checking for -ldbus-1... " >&6; }
11351 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11352 $as_echo_n "(cached) " >&6
11353 else
11354 ac_check_soname_save_LIBS=$LIBS
11355 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11357 /* end confdefs.h. */
11359 /* Override any GCC internal prototype to avoid an error.
11360 Use char because int might match the return type of a GCC
11361 builtin and then its argument prototype would still apply. */
11362 #ifdef __cplusplus
11363 extern "C"
11364 #endif
11365 char dbus_connection_close ();
11367 main ()
11369 return dbus_connection_close ();
11371 return 0;
11373 _ACEOF
11374 if ac_fn_c_try_link "$LINENO"; then :
11375 case "$LIBEXT" in
11376 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11377 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'` ;;
11378 *) 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'`
11379 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11380 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11381 fi ;;
11382 esac
11384 rm -f core conftest.err conftest.$ac_objext \
11385 conftest$ac_exeext conftest.$ac_ext
11386 LIBS=$ac_check_soname_save_LIBS
11388 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11390 $as_echo "not found" >&6; }
11391 DBUS_CFLAGS=""
11392 else
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11394 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11396 cat >>confdefs.h <<_ACEOF
11397 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11398 _ACEOF
11402 else
11403 DBUS_CFLAGS=""
11407 CPPFLAGS=$ac_save_CPPFLAGS
11408 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11409 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11412 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11413 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11414 case "x$with_dbus" in
11415 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11416 xno) ;;
11417 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11418 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11419 esac
11422 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11423 then
11424 if ${HAL_CFLAGS:+false} :; then :
11425 if ${PKG_CONFIG+:} false; then :
11426 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11430 if ${HAL_LIBS:+false} :; then :
11431 if ${PKG_CONFIG+:} false; then :
11432 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11436 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11437 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11438 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11439 ac_save_CPPFLAGS=$CPPFLAGS
11440 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11441 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11442 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11444 $as_echo_n "checking for -lhal... " >&6; }
11445 if ${ac_cv_lib_soname_hal+:} false; then :
11446 $as_echo_n "(cached) " >&6
11447 else
11448 ac_check_soname_save_LIBS=$LIBS
11449 LIBS="-lhal $HAL_LIBS $LIBS"
11450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11451 /* end confdefs.h. */
11453 /* Override any GCC internal prototype to avoid an error.
11454 Use char because int might match the return type of a GCC
11455 builtin and then its argument prototype would still apply. */
11456 #ifdef __cplusplus
11457 extern "C"
11458 #endif
11459 char libhal_ctx_new ();
11461 main ()
11463 return libhal_ctx_new ();
11465 return 0;
11467 _ACEOF
11468 if ac_fn_c_try_link "$LINENO"; then :
11469 case "$LIBEXT" in
11470 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11471 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'` ;;
11472 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11473 if ${ac_cv_lib_soname_hal:+false} :; then :
11474 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11475 fi ;;
11476 esac
11478 rm -f core conftest.err conftest.$ac_objext \
11479 conftest$ac_exeext conftest.$ac_ext
11480 LIBS=$ac_check_soname_save_LIBS
11482 if ${ac_cv_lib_soname_hal:+false} :; then :
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11484 $as_echo "not found" >&6; }
11485 HAL_CFLAGS=""
11486 else
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11488 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11490 cat >>confdefs.h <<_ACEOF
11491 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11492 _ACEOF
11496 else
11497 HAL_CFLAGS=""
11501 CPPFLAGS=$ac_save_CPPFLAGS
11502 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11503 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11505 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11506 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11507 case "x$with_hal" in
11508 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11509 xno) ;;
11510 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11511 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11512 esac
11516 if test "x$with_gnutls" != "xno"
11517 then
11518 if ${GNUTLS_CFLAGS:+false} :; then :
11519 if ${PKG_CONFIG+:} false; then :
11520 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11524 if ${GNUTLS_LIBS:+false} :; then :
11525 if ${PKG_CONFIG+:} false; then :
11526 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11531 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11532 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11533 ac_save_CPPFLAGS=$CPPFLAGS
11534 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11535 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11536 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11538 /* end confdefs.h. */
11539 #include <gnutls/gnutls.h>
11540 #include <gnutls/crypto.h>
11542 main ()
11544 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11546 return 0;
11548 _ACEOF
11549 if ac_fn_c_try_compile "$LINENO"; then :
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11551 $as_echo_n "checking for -lgnutls... " >&6; }
11552 if ${ac_cv_lib_soname_gnutls+:} false; then :
11553 $as_echo_n "(cached) " >&6
11554 else
11555 ac_check_soname_save_LIBS=$LIBS
11556 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11558 /* end confdefs.h. */
11560 /* Override any GCC internal prototype to avoid an error.
11561 Use char because int might match the return type of a GCC
11562 builtin and then its argument prototype would still apply. */
11563 #ifdef __cplusplus
11564 extern "C"
11565 #endif
11566 char gnutls_global_init ();
11568 main ()
11570 return gnutls_global_init ();
11572 return 0;
11574 _ACEOF
11575 if ac_fn_c_try_link "$LINENO"; then :
11576 case "$LIBEXT" in
11577 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11578 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'` ;;
11579 *) 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'`
11580 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11581 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'`
11582 fi ;;
11583 esac
11585 rm -f core conftest.err conftest.$ac_objext \
11586 conftest$ac_exeext conftest.$ac_ext
11587 LIBS=$ac_check_soname_save_LIBS
11589 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11591 $as_echo "not found" >&6; }
11592 GNUTLS_CFLAGS=""
11593 else
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11595 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11597 cat >>confdefs.h <<_ACEOF
11598 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11599 _ACEOF
11604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11605 else
11606 GNUTLS_CFLAGS=""
11610 CPPFLAGS=$ac_save_CPPFLAGS
11611 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11612 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11615 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11616 case "x$with_gnutls" in
11617 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11618 xno) ;;
11619 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11620 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11621 esac
11624 CURSES_LIBS=""
11625 if test "$ac_cv_header_ncurses_h" = "yes"
11626 then
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11628 $as_echo_n "checking for -lncurses... " >&6; }
11629 if ${ac_cv_lib_soname_ncurses+:} false; then :
11630 $as_echo_n "(cached) " >&6
11631 else
11632 ac_check_soname_save_LIBS=$LIBS
11633 LIBS="-lncurses $LIBS"
11634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11635 /* end confdefs.h. */
11637 /* Override any GCC internal prototype to avoid an error.
11638 Use char because int might match the return type of a GCC
11639 builtin and then its argument prototype would still apply. */
11640 #ifdef __cplusplus
11641 extern "C"
11642 #endif
11643 char waddch ();
11645 main ()
11647 return waddch ();
11649 return 0;
11651 _ACEOF
11652 if ac_fn_c_try_link "$LINENO"; then :
11653 case "$LIBEXT" in
11654 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11655 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'` ;;
11656 *) 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'`
11657 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11658 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11659 fi ;;
11660 esac
11662 rm -f core conftest.err conftest.$ac_objext \
11663 conftest$ac_exeext conftest.$ac_ext
11664 LIBS=$ac_check_soname_save_LIBS
11666 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11668 $as_echo "not found" >&6; }
11670 else
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11672 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11674 cat >>confdefs.h <<_ACEOF
11675 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11676 _ACEOF
11678 CURSES_LIBS="-lncurses"
11680 elif test "$ac_cv_header_curses_h" = "yes"
11681 then
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11683 $as_echo_n "checking for -lcurses... " >&6; }
11684 if ${ac_cv_lib_soname_curses+:} false; then :
11685 $as_echo_n "(cached) " >&6
11686 else
11687 ac_check_soname_save_LIBS=$LIBS
11688 LIBS="-lcurses $LIBS"
11689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11690 /* end confdefs.h. */
11692 /* Override any GCC internal prototype to avoid an error.
11693 Use char because int might match the return type of a GCC
11694 builtin and then its argument prototype would still apply. */
11695 #ifdef __cplusplus
11696 extern "C"
11697 #endif
11698 char waddch ();
11700 main ()
11702 return waddch ();
11704 return 0;
11706 _ACEOF
11707 if ac_fn_c_try_link "$LINENO"; then :
11708 case "$LIBEXT" in
11709 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11710 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'` ;;
11711 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11712 if ${ac_cv_lib_soname_curses:+false} :; then :
11713 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11714 fi ;;
11715 esac
11717 rm -f core conftest.err conftest.$ac_objext \
11718 conftest$ac_exeext conftest.$ac_ext
11719 LIBS=$ac_check_soname_save_LIBS
11721 if ${ac_cv_lib_soname_curses:+false} :; then :
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11723 $as_echo "not found" >&6; }
11725 else
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11727 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11729 cat >>confdefs.h <<_ACEOF
11730 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11731 _ACEOF
11733 CURSES_LIBS="-lcurses"
11736 ac_save_LIBS="$LIBS"
11737 LIBS="$LIBS $CURSES_LIBS"
11738 for ac_func in mousemask
11739 do :
11740 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11741 if test "x$ac_cv_func_mousemask" = xyes; then :
11742 cat >>confdefs.h <<_ACEOF
11743 #define HAVE_MOUSEMASK 1
11744 _ACEOF
11747 done
11749 LIBS="$ac_save_LIBS"
11750 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11751 case "x$with_curses" in
11752 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11753 xno) ;;
11754 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11755 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11756 esac
11759 if test "x$with_sane" != "xno"
11760 then
11761 if ${SANE_CFLAGS:+false} :; then :
11762 if ${PKG_CONFIG+:} false; then :
11763 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11766 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11767 if ${SANE_LIBS:+false} :; then :
11768 if ${PKG_CONFIG+:} false; then :
11769 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11772 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11774 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11775 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11776 ac_save_CPPFLAGS=$CPPFLAGS
11777 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11778 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11779 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11781 $as_echo_n "checking for -lsane... " >&6; }
11782 if ${ac_cv_lib_soname_sane+:} false; then :
11783 $as_echo_n "(cached) " >&6
11784 else
11785 ac_check_soname_save_LIBS=$LIBS
11786 LIBS="-lsane $SANE_LIBS $LIBS"
11787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11788 /* end confdefs.h. */
11790 /* Override any GCC internal prototype to avoid an error.
11791 Use char because int might match the return type of a GCC
11792 builtin and then its argument prototype would still apply. */
11793 #ifdef __cplusplus
11794 extern "C"
11795 #endif
11796 char sane_init ();
11798 main ()
11800 return sane_init ();
11802 return 0;
11804 _ACEOF
11805 if ac_fn_c_try_link "$LINENO"; then :
11806 case "$LIBEXT" in
11807 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11808 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'` ;;
11809 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11810 if ${ac_cv_lib_soname_sane:+false} :; then :
11811 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11812 fi ;;
11813 esac
11815 rm -f core conftest.err conftest.$ac_objext \
11816 conftest$ac_exeext conftest.$ac_ext
11817 LIBS=$ac_check_soname_save_LIBS
11819 if ${ac_cv_lib_soname_sane:+false} :; then :
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11821 $as_echo "not found" >&6; }
11822 SANE_CFLAGS=""
11823 else
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11825 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11827 cat >>confdefs.h <<_ACEOF
11828 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11829 _ACEOF
11833 else
11834 SANE_CFLAGS=""
11838 CPPFLAGS=$ac_save_CPPFLAGS
11839 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11840 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11843 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11844 case "x$with_sane" in
11845 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11846 xno) ;;
11847 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11848 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11849 esac
11852 if test "x$with_v4l" != "xno"
11853 then
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11855 $as_echo_n "checking for -lv4l1... " >&6; }
11856 if ${ac_cv_lib_soname_v4l1+:} false; then :
11857 $as_echo_n "(cached) " >&6
11858 else
11859 ac_check_soname_save_LIBS=$LIBS
11860 LIBS="-lv4l1 $LIBS"
11861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11862 /* end confdefs.h. */
11864 /* Override any GCC internal prototype to avoid an error.
11865 Use char because int might match the return type of a GCC
11866 builtin and then its argument prototype would still apply. */
11867 #ifdef __cplusplus
11868 extern "C"
11869 #endif
11870 char v4l1_open ();
11872 main ()
11874 return v4l1_open ();
11876 return 0;
11878 _ACEOF
11879 if ac_fn_c_try_link "$LINENO"; then :
11880 case "$LIBEXT" in
11881 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11882 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'` ;;
11883 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11884 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11885 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11886 fi ;;
11887 esac
11889 rm -f core conftest.err conftest.$ac_objext \
11890 conftest$ac_exeext conftest.$ac_ext
11891 LIBS=$ac_check_soname_save_LIBS
11893 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11895 $as_echo "not found" >&6; }
11897 else
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11899 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11901 cat >>confdefs.h <<_ACEOF
11902 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11903 _ACEOF
11908 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11909 case "x$with_v4l" in
11910 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11911 xno) ;;
11912 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11913 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11914 esac
11917 if test "x$with_gphoto" != "xno"
11918 then
11919 if ${GPHOTO2_CFLAGS:+false} :; then :
11920 if ${PKG_CONFIG+:} false; then :
11921 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11924 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11925 if ${GPHOTO2_LIBS:+false} :; then :
11926 if ${PKG_CONFIG+:} false; then :
11927 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11930 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11931 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11932 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11933 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11934 ac_save_CPPFLAGS=$CPPFLAGS
11935 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11936 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11937 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11939 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11940 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11941 $as_echo_n "(cached) " >&6
11942 else
11943 ac_check_lib_save_LIBS=$LIBS
11944 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11946 /* end confdefs.h. */
11948 /* Override any GCC internal prototype to avoid an error.
11949 Use char because int might match the return type of a GCC
11950 builtin and then its argument prototype would still apply. */
11951 #ifdef __cplusplus
11952 extern "C"
11953 #endif
11954 char gp_camera_new ();
11956 main ()
11958 return gp_camera_new ();
11960 return 0;
11962 _ACEOF
11963 if ac_fn_c_try_link "$LINENO"; then :
11964 ac_cv_lib_gphoto2_gp_camera_new=yes
11965 else
11966 ac_cv_lib_gphoto2_gp_camera_new=no
11968 rm -f core conftest.err conftest.$ac_objext \
11969 conftest$ac_exeext conftest.$ac_ext
11970 LIBS=$ac_check_lib_save_LIBS
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11973 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11974 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11976 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11978 else
11979 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11982 else
11983 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11987 CPPFLAGS=$ac_save_CPPFLAGS
11988 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11989 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11991 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11992 if ${PKG_CONFIG+:} false; then :
11993 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11996 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11997 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11998 if ${PKG_CONFIG+:} false; then :
11999 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12002 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
12003 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12004 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12005 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12006 ac_save_CPPFLAGS=$CPPFLAGS
12007 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12008 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12009 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12011 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12012 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12013 $as_echo_n "(cached) " >&6
12014 else
12015 ac_check_lib_save_LIBS=$LIBS
12016 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12018 /* end confdefs.h. */
12020 /* Override any GCC internal prototype to avoid an error.
12021 Use char because int might match the return type of a GCC
12022 builtin and then its argument prototype would still apply. */
12023 #ifdef __cplusplus
12024 extern "C"
12025 #endif
12026 char gp_port_info_list_new ();
12028 main ()
12030 return gp_port_info_list_new ();
12032 return 0;
12034 _ACEOF
12035 if ac_fn_c_try_link "$LINENO"; then :
12036 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12037 else
12038 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12040 rm -f core conftest.err conftest.$ac_objext \
12041 conftest$ac_exeext conftest.$ac_ext
12042 LIBS=$ac_check_lib_save_LIBS
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12045 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12046 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12048 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12050 else
12051 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12054 else
12055 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12059 CPPFLAGS=$ac_save_CPPFLAGS
12060 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12061 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12064 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12065 case "x$with_gphoto" in
12066 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12067 xno) ;;
12068 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12069 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12070 esac
12072 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12073 case "x$with_gphoto" in
12074 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12075 xno) ;;
12076 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12077 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12078 esac
12082 if test "$ac_cv_header_resolv_h" = "yes"
12083 then
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12085 $as_echo_n "checking for resolver library... " >&6; }
12086 if ${ac_cv_have_resolv+:} false; then :
12087 $as_echo_n "(cached) " >&6
12088 else
12089 ac_save_LIBS="$LIBS"
12090 for lib in '' -lresolv
12092 LIBS="$lib $ac_save_LIBS"
12093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12094 /* end confdefs.h. */
12095 #ifdef HAVE_NETINET_IN_H
12096 #include <netinet/in.h>
12097 #endif
12098 #include <resolv.h>
12100 main ()
12102 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12104 return 0;
12106 _ACEOF
12107 if ac_fn_c_try_link "$LINENO"; then :
12108 ac_cv_have_resolv=${lib:-"none required"}
12109 else
12110 ac_cv_have_resolv="not found"
12112 rm -f core conftest.err conftest.$ac_objext \
12113 conftest$ac_exeext conftest.$ac_ext
12114 test "x$ac_cv_have_resolv" = "xnot found" || break
12115 done
12116 LIBS="$ac_save_LIBS"
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12119 $as_echo "$ac_cv_have_resolv" >&6; }
12121 case "$ac_cv_have_resolv" in
12122 "not found") ;;
12123 "none required")
12125 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12128 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12130 RESOLV_LIBS=$ac_cv_have_resolv
12132 esac
12135 if test "x$with_cms" != "xno"
12136 then
12137 if ${LCMS2_CFLAGS:+false} :; then :
12138 if ${PKG_CONFIG+:} false; then :
12139 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12143 if ${LCMS2_LIBS:+false} :; then :
12144 if ${PKG_CONFIG+:} false; then :
12145 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12149 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12150 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12151 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12152 ac_save_CPPFLAGS=$CPPFLAGS
12153 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12154 for ac_header in lcms2.h
12155 do :
12156 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12157 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12158 cat >>confdefs.h <<_ACEOF
12159 #define HAVE_LCMS2_H 1
12160 _ACEOF
12164 done
12166 if test "$ac_cv_header_lcms2_h" = "yes"
12167 then
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12169 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12170 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12171 $as_echo_n "(cached) " >&6
12172 else
12173 ac_check_lib_save_LIBS=$LIBS
12174 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12176 /* end confdefs.h. */
12178 /* Override any GCC internal prototype to avoid an error.
12179 Use char because int might match the return type of a GCC
12180 builtin and then its argument prototype would still apply. */
12181 #ifdef __cplusplus
12182 extern "C"
12183 #endif
12184 char cmsOpenProfileFromFile ();
12186 main ()
12188 return cmsOpenProfileFromFile ();
12190 return 0;
12192 _ACEOF
12193 if ac_fn_c_try_link "$LINENO"; then :
12194 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12195 else
12196 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12198 rm -f core conftest.err conftest.$ac_objext \
12199 conftest$ac_exeext conftest.$ac_ext
12200 LIBS=$ac_check_lib_save_LIBS
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12203 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12204 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12206 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12208 else
12209 LCMS2_LIBS=""
12212 else
12213 LCMS2_CFLAGS=""
12214 LCMS2_LIBS=""
12216 CPPFLAGS=$ac_save_CPPFLAGS
12217 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12218 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12221 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12222 case "x$with_cms" in
12223 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12224 xno) ;;
12225 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12226 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12227 esac
12230 if test "x$with_freetype" != "xno"
12231 then
12232 if ${FREETYPE_CFLAGS:+false} :; then :
12233 if ${PKG_CONFIG+:} false; then :
12234 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12237 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12238 if ${FREETYPE_LIBS:+false} :; then :
12239 if ${PKG_CONFIG+:} false; then :
12240 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12243 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12244 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12245 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12246 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12247 ac_save_CPPFLAGS=$CPPFLAGS
12248 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12249 for ac_header in ft2build.h
12250 do :
12251 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12252 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12253 cat >>confdefs.h <<_ACEOF
12254 #define HAVE_FT2BUILD_H 1
12255 _ACEOF
12259 done
12261 if test "$ac_cv_header_ft2build_h" = "yes"
12262 then
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12264 $as_echo_n "checking for -lfreetype... " >&6; }
12265 if ${ac_cv_lib_soname_freetype+:} false; then :
12266 $as_echo_n "(cached) " >&6
12267 else
12268 ac_check_soname_save_LIBS=$LIBS
12269 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12271 /* end confdefs.h. */
12273 /* Override any GCC internal prototype to avoid an error.
12274 Use char because int might match the return type of a GCC
12275 builtin and then its argument prototype would still apply. */
12276 #ifdef __cplusplus
12277 extern "C"
12278 #endif
12279 char FT_Init_FreeType ();
12281 main ()
12283 return FT_Init_FreeType ();
12285 return 0;
12287 _ACEOF
12288 if ac_fn_c_try_link "$LINENO"; then :
12289 case "$LIBEXT" in
12290 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12291 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'` ;;
12292 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12293 if ${ac_cv_lib_soname_freetype:+false} :; then :
12294 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12295 fi ;;
12296 esac
12298 rm -f core conftest.err conftest.$ac_objext \
12299 conftest$ac_exeext conftest.$ac_ext
12300 LIBS=$ac_check_soname_save_LIBS
12302 if ${ac_cv_lib_soname_freetype:+false} :; then :
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12304 $as_echo "not found" >&6; }
12305 FREETYPE_LIBS=""
12306 else
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12308 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12310 cat >>confdefs.h <<_ACEOF
12311 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12312 _ACEOF
12315 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12317 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12318 #include FT_MODULE_H
12320 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12322 cat >>confdefs.h <<_ACEOF
12323 #define HAVE_FT_TRUETYPEENGINETYPE 1
12324 _ACEOF
12330 else
12331 FREETYPE_CFLAGS=""
12332 FREETYPE_LIBS=""
12334 CPPFLAGS=$ac_save_CPPFLAGS
12335 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12336 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12339 if test "x$ac_cv_lib_soname_freetype" = x; then :
12340 case "x$with_freetype" in
12341 xno) ;;
12342 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12343 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12344 esac
12346 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12349 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12350 if ${ac_cv_c_ppdev+:} false; then :
12351 $as_echo_n "(cached) " >&6
12352 else
12353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12354 /* end confdefs.h. */
12355 #ifdef HAVE_SYS_IOCTL_H
12356 # include <sys/ioctl.h>
12357 #endif
12358 #include <linux/ppdev.h>
12360 main ()
12362 ioctl (1,PPCLAIM,0)
12364 return 0;
12366 _ACEOF
12367 if ac_fn_c_try_compile "$LINENO"; then :
12368 ac_cv_c_ppdev="yes"
12369 else
12370 ac_cv_c_ppdev="no"
12372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12375 $as_echo "$ac_cv_c_ppdev" >&6; }
12376 if test "$ac_cv_c_ppdev" = "yes"
12377 then
12379 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12383 ac_wine_check_funcs_save_LIBS="$LIBS"
12384 LIBS="$LIBS $PTHREAD_LIBS"
12385 for ac_func in \
12386 pthread_attr_get_np \
12387 pthread_getattr_np \
12388 pthread_getthreadid_np \
12389 pthread_get_stackaddr_np \
12390 pthread_get_stacksize_np
12391 do :
12392 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12393 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12394 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12395 cat >>confdefs.h <<_ACEOF
12396 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12397 _ACEOF
12400 done
12402 LIBS="$ac_wine_check_funcs_save_LIBS"
12404 if test "$ac_cv_header_zlib_h" = "yes"
12405 then
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12407 $as_echo_n "checking for inflate in -lz... " >&6; }
12408 if ${ac_cv_lib_z_inflate+:} false; then :
12409 $as_echo_n "(cached) " >&6
12410 else
12411 ac_check_lib_save_LIBS=$LIBS
12412 LIBS="-lz $LIBS"
12413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12414 /* end confdefs.h. */
12416 /* Override any GCC internal prototype to avoid an error.
12417 Use char because int might match the return type of a GCC
12418 builtin and then its argument prototype would still apply. */
12419 #ifdef __cplusplus
12420 extern "C"
12421 #endif
12422 char inflate ();
12424 main ()
12426 return inflate ();
12428 return 0;
12430 _ACEOF
12431 if ac_fn_c_try_link "$LINENO"; then :
12432 ac_cv_lib_z_inflate=yes
12433 else
12434 ac_cv_lib_z_inflate=no
12436 rm -f core conftest.err conftest.$ac_objext \
12437 conftest$ac_exeext conftest.$ac_ext
12438 LIBS=$ac_check_lib_save_LIBS
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12441 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12442 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12444 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12446 Z_LIBS="-lz"
12451 if test "x$Z_LIBS" = "x"; then :
12452 case "x$with_zlib" in
12453 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12454 xno) ;;
12455 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12456 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12457 esac
12460 if test "x$enable_tools" != xno
12461 then
12462 if test "$ac_cv_header_gettext_po_h" = "yes"
12463 then
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12465 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12466 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12467 $as_echo_n "(cached) " >&6
12468 else
12469 ac_check_lib_save_LIBS=$LIBS
12470 LIBS="-lgettextpo $LIBS"
12471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12472 /* end confdefs.h. */
12474 /* Override any GCC internal prototype to avoid an error.
12475 Use char because int might match the return type of a GCC
12476 builtin and then its argument prototype would still apply. */
12477 #ifdef __cplusplus
12478 extern "C"
12479 #endif
12480 char po_message_msgctxt ();
12482 main ()
12484 return po_message_msgctxt ();
12486 return 0;
12488 _ACEOF
12489 if ac_fn_c_try_link "$LINENO"; then :
12490 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12491 else
12492 ac_cv_lib_gettextpo_po_message_msgctxt=no
12494 rm -f core conftest.err conftest.$ac_objext \
12495 conftest$ac_exeext conftest.$ac_ext
12496 LIBS=$ac_check_lib_save_LIBS
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12499 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12500 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12502 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12504 GETTEXTPO_LIBS="-lgettextpo"
12509 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12510 case "x$with_gettextpo" in
12511 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12512 xno) ;;
12513 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12514 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12515 esac
12519 if test "x$with_gstreamer" != "xno"
12520 then
12521 if ${GSTREAMER_CFLAGS:+false} :; then :
12522 if ${PKG_CONFIG+:} false; then :
12523 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12527 if ${GSTREAMER_LIBS:+false} :; then :
12528 if ${PKG_CONFIG+:} false; then :
12529 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12534 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12535 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12536 ac_save_CPPFLAGS=$CPPFLAGS
12537 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12538 ac_gst_incl=""
12539 for i in $GSTREAMER_CFLAGS
12541 case "$i" in
12542 -I*) ac_gst_incl="$ac_gst_incl $i";;
12543 esac
12544 done
12545 GSTREAMER_CFLAGS=$ac_gst_incl
12546 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12547 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12548 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12549 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12550 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12552 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12554 /* end confdefs.h. */
12555 #include <gst/app/gstappsink.h>
12557 main ()
12559 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12561 return 0;
12563 _ACEOF
12564 if ac_fn_c_try_compile "$LINENO"; then :
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12566 $as_echo "yes" >&6; }
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12568 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12569 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12570 $as_echo_n "(cached) " >&6
12571 else
12572 ac_check_lib_save_LIBS=$LIBS
12573 LIBS="-lgstreamer-0.10 $LIBS"
12574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12575 /* end confdefs.h. */
12577 /* Override any GCC internal prototype to avoid an error.
12578 Use char because int might match the return type of a GCC
12579 builtin and then its argument prototype would still apply. */
12580 #ifdef __cplusplus
12581 extern "C"
12582 #endif
12583 char gst_pad_get_caps_reffed ();
12585 main ()
12587 return gst_pad_get_caps_reffed ();
12589 return 0;
12591 _ACEOF
12592 if ac_fn_c_try_link "$LINENO"; then :
12593 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12594 else
12595 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12597 rm -f core conftest.err conftest.$ac_objext \
12598 conftest$ac_exeext conftest.$ac_ext
12599 LIBS=$ac_check_lib_save_LIBS
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12602 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12603 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12605 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12606 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12607 $as_echo_n "(cached) " >&6
12608 else
12609 ac_check_lib_save_LIBS=$LIBS
12610 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12614 /* Override any GCC internal prototype to avoid an error.
12615 Use char because int might match the return type of a GCC
12616 builtin and then its argument prototype would still apply. */
12617 #ifdef __cplusplus
12618 extern "C"
12619 #endif
12620 char gst_app_buffer_new ();
12622 main ()
12624 return gst_app_buffer_new ();
12626 return 0;
12628 _ACEOF
12629 if ac_fn_c_try_link "$LINENO"; then :
12630 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12631 else
12632 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12634 rm -f core conftest.err conftest.$ac_objext \
12635 conftest$ac_exeext conftest.$ac_ext
12636 LIBS=$ac_check_lib_save_LIBS
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12639 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12640 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12646 else
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12648 $as_echo "no" >&6; }
12650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12654 else
12655 GSTREAMER_CFLAGS=""
12659 CPPFLAGS=$ac_save_CPPFLAGS
12660 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12661 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12664 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12665 case "x$with_gstreamer" in
12666 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12667 xno) ;;
12668 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12669 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12670 esac
12672 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12674 ALSA_LIBS=""
12676 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12677 then
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12679 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12680 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12681 $as_echo_n "(cached) " >&6
12682 else
12683 ac_check_lib_save_LIBS=$LIBS
12684 LIBS="-lasound $LIBS"
12685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12686 /* end confdefs.h. */
12688 /* Override any GCC internal prototype to avoid an error.
12689 Use char because int might match the return type of a GCC
12690 builtin and then its argument prototype would still apply. */
12691 #ifdef __cplusplus
12692 extern "C"
12693 #endif
12694 char snd_pcm_hw_params_get_access_mask ();
12696 main ()
12698 return snd_pcm_hw_params_get_access_mask ();
12700 return 0;
12702 _ACEOF
12703 if ac_fn_c_try_link "$LINENO"; then :
12704 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12705 else
12706 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12708 rm -f core conftest.err conftest.$ac_objext \
12709 conftest$ac_exeext conftest.$ac_ext
12710 LIBS=$ac_check_lib_save_LIBS
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12713 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12714 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12716 /* end confdefs.h. */
12717 #ifdef HAVE_ALSA_ASOUNDLIB_H
12718 #include <alsa/asoundlib.h>
12719 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12720 #include <sys/asoundlib.h>
12721 #endif
12723 main ()
12725 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12727 return 0;
12729 _ACEOF
12730 if ac_fn_c_try_compile "$LINENO"; then :
12731 ALSA_LIBS="-lasound"
12733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12738 if test "x$with_oss" != xno
12739 then
12740 ac_save_CPPFLAGS="$CPPFLAGS"
12741 if test -f /etc/oss.conf
12742 then
12743 . /etc/oss.conf
12745 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12746 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12747 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12748 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12749 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12751 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12753 cat >>confdefs.h <<_ACEOF
12754 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12755 _ACEOF
12757 OSS4_CFLAGS="$ac_oss_incl"
12764 CPPFLAGS="$ac_save_CPPFLAGS"
12765 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12766 then
12767 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12771 if test "x$with_capi" != "xno"
12772 then
12773 if ${CAPI20_CFLAGS:+false} :; then :
12774 if ${PKG_CONFIG+:} false; then :
12775 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12779 if ${CAPI20_LIBS:+false} :; then :
12780 if ${PKG_CONFIG+:} false; then :
12781 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12786 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12787 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12788 ac_save_CPPFLAGS=$CPPFLAGS
12789 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12790 for ac_header in capi20.h linux/capi.h
12791 do :
12792 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12793 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12795 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12796 cat >>confdefs.h <<_ACEOF
12797 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12798 _ACEOF
12802 done
12804 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12805 then
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12807 $as_echo_n "checking for -lcapi20... " >&6; }
12808 if ${ac_cv_lib_soname_capi20+:} false; then :
12809 $as_echo_n "(cached) " >&6
12810 else
12811 ac_check_soname_save_LIBS=$LIBS
12812 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12814 /* end confdefs.h. */
12816 /* Override any GCC internal prototype to avoid an error.
12817 Use char because int might match the return type of a GCC
12818 builtin and then its argument prototype would still apply. */
12819 #ifdef __cplusplus
12820 extern "C"
12821 #endif
12822 char capi20_register ();
12824 main ()
12826 return capi20_register ();
12828 return 0;
12830 _ACEOF
12831 if ac_fn_c_try_link "$LINENO"; then :
12832 case "$LIBEXT" in
12833 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12834 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'` ;;
12835 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12836 if ${ac_cv_lib_soname_capi20:+false} :; then :
12837 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12838 fi ;;
12839 esac
12841 rm -f core conftest.err conftest.$ac_objext \
12842 conftest$ac_exeext conftest.$ac_ext
12843 LIBS=$ac_check_soname_save_LIBS
12845 if ${ac_cv_lib_soname_capi20:+false} :; then :
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12847 $as_echo "not found" >&6; }
12849 else
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12851 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12853 cat >>confdefs.h <<_ACEOF
12854 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12855 _ACEOF
12860 CPPFLAGS=$ac_save_CPPFLAGS
12861 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12862 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12865 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12866 case "x$with_capi" in
12867 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12868 xno) ;;
12869 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12870 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12871 esac
12874 CUPS_CFLAGS=""
12876 if test "x$with_cups" != "xno"
12877 then
12878 ac_save_CPPFLAGS="$CPPFLAGS"
12879 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12880 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12881 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12882 for ac_header in cups/cups.h
12883 do :
12884 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12885 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12886 cat >>confdefs.h <<_ACEOF
12887 #define HAVE_CUPS_CUPS_H 1
12888 _ACEOF
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12890 $as_echo_n "checking for -lcups... " >&6; }
12891 if ${ac_cv_lib_soname_cups+:} false; then :
12892 $as_echo_n "(cached) " >&6
12893 else
12894 ac_check_soname_save_LIBS=$LIBS
12895 LIBS="-lcups $ac_cups_libs $LIBS"
12896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12897 /* end confdefs.h. */
12899 /* Override any GCC internal prototype to avoid an error.
12900 Use char because int might match the return type of a GCC
12901 builtin and then its argument prototype would still apply. */
12902 #ifdef __cplusplus
12903 extern "C"
12904 #endif
12905 char cupsGetDefault ();
12907 main ()
12909 return cupsGetDefault ();
12911 return 0;
12913 _ACEOF
12914 if ac_fn_c_try_link "$LINENO"; then :
12915 case "$LIBEXT" in
12916 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12917 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'` ;;
12918 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12919 if ${ac_cv_lib_soname_cups:+false} :; then :
12920 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12921 fi ;;
12922 esac
12924 rm -f core conftest.err conftest.$ac_objext \
12925 conftest$ac_exeext conftest.$ac_ext
12926 LIBS=$ac_check_soname_save_LIBS
12928 if ${ac_cv_lib_soname_cups:+false} :; then :
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12930 $as_echo "not found" >&6; }
12932 else
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12934 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12936 cat >>confdefs.h <<_ACEOF
12937 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12938 _ACEOF
12940 CUPS_CFLAGS="$ac_cups_cflags"
12944 done
12946 CPPFLAGS="$ac_save_CPPFLAGS"
12948 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12949 case "x$with_cups" in
12950 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12951 xno) ;;
12952 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12953 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12954 esac
12957 if test "x$with_fontconfig" != "xno"
12958 then
12959 if ${FONTCONFIG_CFLAGS:+false} :; then :
12960 if ${PKG_CONFIG+:} false; then :
12961 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12964 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12965 if ${FONTCONFIG_LIBS:+false} :; then :
12966 if ${PKG_CONFIG+:} false; then :
12967 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12970 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12972 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12973 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12974 ac_save_CPPFLAGS=$CPPFLAGS
12975 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12976 for ac_header in fontconfig/fontconfig.h
12977 do :
12978 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12979 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12980 cat >>confdefs.h <<_ACEOF
12981 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12982 _ACEOF
12986 done
12988 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12989 then
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12991 $as_echo_n "checking for -lfontconfig... " >&6; }
12992 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12993 $as_echo_n "(cached) " >&6
12994 else
12995 ac_check_soname_save_LIBS=$LIBS
12996 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12998 /* end confdefs.h. */
13000 /* Override any GCC internal prototype to avoid an error.
13001 Use char because int might match the return type of a GCC
13002 builtin and then its argument prototype would still apply. */
13003 #ifdef __cplusplus
13004 extern "C"
13005 #endif
13006 char FcInit ();
13008 main ()
13010 return FcInit ();
13012 return 0;
13014 _ACEOF
13015 if ac_fn_c_try_link "$LINENO"; then :
13016 case "$LIBEXT" in
13017 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13018 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'` ;;
13019 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13020 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13021 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13022 fi ;;
13023 esac
13025 rm -f core conftest.err conftest.$ac_objext \
13026 conftest$ac_exeext conftest.$ac_ext
13027 LIBS=$ac_check_soname_save_LIBS
13029 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13031 $as_echo "not found" >&6; }
13032 FONTCONFIG_CFLAGS=""
13033 else
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13035 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13037 cat >>confdefs.h <<_ACEOF
13038 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13039 _ACEOF
13043 else
13044 FONTCONFIG_CFLAGS=""
13046 CPPFLAGS=$ac_save_CPPFLAGS
13047 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13048 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13051 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13052 case "x$with_fontconfig" in
13053 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13054 xno) ;;
13055 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13056 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13057 esac
13060 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13061 then
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13063 $as_echo_n "checking for -lgsm... " >&6; }
13064 if ${ac_cv_lib_soname_gsm+:} false; then :
13065 $as_echo_n "(cached) " >&6
13066 else
13067 ac_check_soname_save_LIBS=$LIBS
13068 LIBS="-lgsm $LIBS"
13069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13070 /* end confdefs.h. */
13072 /* Override any GCC internal prototype to avoid an error.
13073 Use char because int might match the return type of a GCC
13074 builtin and then its argument prototype would still apply. */
13075 #ifdef __cplusplus
13076 extern "C"
13077 #endif
13078 char gsm_create ();
13080 main ()
13082 return gsm_create ();
13084 return 0;
13086 _ACEOF
13087 if ac_fn_c_try_link "$LINENO"; then :
13088 case "$LIBEXT" in
13089 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13090 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'` ;;
13091 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13092 if ${ac_cv_lib_soname_gsm:+false} :; then :
13093 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13094 fi ;;
13095 esac
13097 rm -f core conftest.err conftest.$ac_objext \
13098 conftest$ac_exeext conftest.$ac_ext
13099 LIBS=$ac_check_soname_save_LIBS
13101 if ${ac_cv_lib_soname_gsm:+false} :; then :
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13103 $as_echo "not found" >&6; }
13105 else
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13107 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13109 cat >>confdefs.h <<_ACEOF
13110 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13111 _ACEOF
13116 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13117 case "x$with_gsm" in
13118 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13119 xno) ;;
13120 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13121 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13122 esac
13125 if test "x$with_jpeg" != "xno"
13126 then
13127 if ${JPEG_CFLAGS:+false} :; then :
13128 if ${PKG_CONFIG+:} false; then :
13129 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13133 if ${JPEG_LIBS:+false} :; then :
13134 if ${PKG_CONFIG+:} false; then :
13135 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13140 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13141 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13142 ac_save_CPPFLAGS=$CPPFLAGS
13143 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13144 for ac_header in jpeglib.h
13145 do :
13146 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13147 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13148 cat >>confdefs.h <<_ACEOF
13149 #define HAVE_JPEGLIB_H 1
13150 _ACEOF
13154 done
13156 if test "$ac_cv_header_jpeglib_h" = "yes"
13157 then
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13159 $as_echo_n "checking for -ljpeg... " >&6; }
13160 if ${ac_cv_lib_soname_jpeg+:} false; then :
13161 $as_echo_n "(cached) " >&6
13162 else
13163 ac_check_soname_save_LIBS=$LIBS
13164 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13166 /* end confdefs.h. */
13168 /* Override any GCC internal prototype to avoid an error.
13169 Use char because int might match the return type of a GCC
13170 builtin and then its argument prototype would still apply. */
13171 #ifdef __cplusplus
13172 extern "C"
13173 #endif
13174 char jpeg_start_decompress ();
13176 main ()
13178 return jpeg_start_decompress ();
13180 return 0;
13182 _ACEOF
13183 if ac_fn_c_try_link "$LINENO"; then :
13184 case "$LIBEXT" in
13185 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13186 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'` ;;
13187 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13188 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13189 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13190 fi ;;
13191 esac
13193 rm -f core conftest.err conftest.$ac_objext \
13194 conftest$ac_exeext conftest.$ac_ext
13195 LIBS=$ac_check_soname_save_LIBS
13197 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13199 $as_echo "not found" >&6; }
13200 JPEG_CFLAGS=""
13201 else
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13203 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13205 cat >>confdefs.h <<_ACEOF
13206 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13207 _ACEOF
13211 else
13212 JPEG_CFLAGS=""
13214 CPPFLAGS=$ac_save_CPPFLAGS
13215 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13216 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13219 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13220 case "x$with_jpeg" in
13221 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13222 xno) ;;
13223 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13224 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13225 esac
13228 if test "x$with_png" != "xno"
13229 then
13230 if ${PNG_CFLAGS:+false} :; then :
13231 if ${PKG_CONFIG+:} false; then :
13232 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13235 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13236 if ${PNG_LIBS:+false} :; then :
13237 if ${PKG_CONFIG+:} false; then :
13238 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13241 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13243 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13244 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13245 ac_save_CPPFLAGS=$CPPFLAGS
13246 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13247 for ac_header in png.h
13248 do :
13249 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13250 if test "x$ac_cv_header_png_h" = xyes; then :
13251 cat >>confdefs.h <<_ACEOF
13252 #define HAVE_PNG_H 1
13253 _ACEOF
13257 done
13259 if test "$ac_cv_header_png_h" = "yes"
13260 then
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13262 $as_echo_n "checking for -lpng... " >&6; }
13263 if ${ac_cv_lib_soname_png+:} false; then :
13264 $as_echo_n "(cached) " >&6
13265 else
13266 ac_check_soname_save_LIBS=$LIBS
13267 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13269 /* end confdefs.h. */
13271 /* Override any GCC internal prototype to avoid an error.
13272 Use char because int might match the return type of a GCC
13273 builtin and then its argument prototype would still apply. */
13274 #ifdef __cplusplus
13275 extern "C"
13276 #endif
13277 char png_create_read_struct ();
13279 main ()
13281 return png_create_read_struct ();
13283 return 0;
13285 _ACEOF
13286 if ac_fn_c_try_link "$LINENO"; then :
13287 case "$LIBEXT" in
13288 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13289 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'` ;;
13290 *) 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'`
13291 if ${ac_cv_lib_soname_png:+false} :; then :
13292 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13293 fi ;;
13294 esac
13296 rm -f core conftest.err conftest.$ac_objext \
13297 conftest$ac_exeext conftest.$ac_ext
13298 LIBS=$ac_check_soname_save_LIBS
13300 if ${ac_cv_lib_soname_png:+false} :; then :
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13302 $as_echo "not found" >&6; }
13303 PNG_CFLAGS=""
13304 else
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13306 $as_echo "$ac_cv_lib_soname_png" >&6; }
13308 cat >>confdefs.h <<_ACEOF
13309 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13310 _ACEOF
13312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13313 /* end confdefs.h. */
13314 #include <png.h>
13316 main ()
13318 typeof(png_set_expand_gray_1_2_4_to_8) *p
13320 return 0;
13322 _ACEOF
13323 if ac_fn_c_try_compile "$LINENO"; then :
13325 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13330 else
13331 PNG_CFLAGS=""
13333 CPPFLAGS=$ac_save_CPPFLAGS
13334 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13335 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13338 if test "x$ac_cv_lib_soname_png" = "x"; then :
13339 case "x$with_png" in
13340 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13341 xno) ;;
13342 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13343 This is an error since --with-png was requested." "$LINENO" 5 ;;
13344 esac
13347 if test "x$with_tiff" != "xno"
13348 then
13349 if ${TIFF_CFLAGS:+false} :; then :
13350 if ${PKG_CONFIG+:} false; then :
13351 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13355 if ${TIFF_LIBS:+false} :; then :
13356 if ${PKG_CONFIG+:} false; then :
13357 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13362 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13363 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13364 ac_save_CPPFLAGS=$CPPFLAGS
13365 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13366 for ac_header in tiffio.h
13367 do :
13368 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13369 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13370 cat >>confdefs.h <<_ACEOF
13371 #define HAVE_TIFFIO_H 1
13372 _ACEOF
13376 done
13378 if test "$ac_cv_header_tiffio_h" = "yes"
13379 then
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13381 $as_echo_n "checking for -ltiff... " >&6; }
13382 if ${ac_cv_lib_soname_tiff+:} false; then :
13383 $as_echo_n "(cached) " >&6
13384 else
13385 ac_check_soname_save_LIBS=$LIBS
13386 LIBS="-ltiff $TIFF_LIBS $LIBS"
13387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13388 /* end confdefs.h. */
13390 /* Override any GCC internal prototype to avoid an error.
13391 Use char because int might match the return type of a GCC
13392 builtin and then its argument prototype would still apply. */
13393 #ifdef __cplusplus
13394 extern "C"
13395 #endif
13396 char TIFFClientOpen ();
13398 main ()
13400 return TIFFClientOpen ();
13402 return 0;
13404 _ACEOF
13405 if ac_fn_c_try_link "$LINENO"; then :
13406 case "$LIBEXT" in
13407 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13408 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'` ;;
13409 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13410 if ${ac_cv_lib_soname_tiff:+false} :; then :
13411 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13412 fi ;;
13413 esac
13415 rm -f core conftest.err conftest.$ac_objext \
13416 conftest$ac_exeext conftest.$ac_ext
13417 LIBS=$ac_check_soname_save_LIBS
13419 if ${ac_cv_lib_soname_tiff:+false} :; then :
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13421 $as_echo "not found" >&6; }
13423 else
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13425 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13427 cat >>confdefs.h <<_ACEOF
13428 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13429 _ACEOF
13434 CPPFLAGS=$ac_save_CPPFLAGS
13435 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13436 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13439 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13440 case "x$with_tiff" in
13441 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13442 xno) ;;
13443 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13444 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13445 esac
13448 if test "x$with_mpg123" != "xno"
13449 then
13450 if ${MPG123_CFLAGS:+false} :; then :
13451 if ${PKG_CONFIG+:} false; then :
13452 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13456 if ${MPG123_LIBS:+false} :; then :
13457 if ${PKG_CONFIG+:} false; then :
13458 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13462 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13463 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13464 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13465 ac_save_CPPFLAGS=$CPPFLAGS
13466 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13467 for ac_header in mpg123.h
13468 do :
13469 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13470 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13471 cat >>confdefs.h <<_ACEOF
13472 #define HAVE_MPG123_H 1
13473 _ACEOF
13477 done
13479 if test "$ac_cv_header_mpg123_h" = "yes"
13480 then
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13482 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13483 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13484 $as_echo_n "(cached) " >&6
13485 else
13486 ac_check_lib_save_LIBS=$LIBS
13487 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13489 /* end confdefs.h. */
13491 /* Override any GCC internal prototype to avoid an error.
13492 Use char because int might match the return type of a GCC
13493 builtin and then its argument prototype would still apply. */
13494 #ifdef __cplusplus
13495 extern "C"
13496 #endif
13497 char mpg123_feed ();
13499 main ()
13501 return mpg123_feed ();
13503 return 0;
13505 _ACEOF
13506 if ac_fn_c_try_link "$LINENO"; then :
13507 ac_cv_lib_mpg123_mpg123_feed=yes
13508 else
13509 ac_cv_lib_mpg123_mpg123_feed=no
13511 rm -f core conftest.err conftest.$ac_objext \
13512 conftest$ac_exeext conftest.$ac_ext
13513 LIBS=$ac_check_lib_save_LIBS
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13516 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13517 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13519 else
13520 MPG123_LIBS=""
13523 else
13524 MPG123_CFLAGS=""
13525 MPG123_LIBS=""
13527 CPPFLAGS=$ac_save_CPPFLAGS
13528 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13529 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13532 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13533 case "x$with_mpg123" in
13534 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13535 xno) ;;
13536 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13537 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13538 esac
13540 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}
13542 if test "$ac_cv_header_AL_al_h" = "yes"
13543 then
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13545 $as_echo_n "checking for -lopenal... " >&6; }
13546 if ${ac_cv_lib_soname_openal+:} false; then :
13547 $as_echo_n "(cached) " >&6
13548 else
13549 ac_check_soname_save_LIBS=$LIBS
13550 LIBS="-lopenal $LIBS"
13551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13552 /* end confdefs.h. */
13554 /* Override any GCC internal prototype to avoid an error.
13555 Use char because int might match the return type of a GCC
13556 builtin and then its argument prototype would still apply. */
13557 #ifdef __cplusplus
13558 extern "C"
13559 #endif
13560 char alGetSource3i ();
13562 main ()
13564 return alGetSource3i ();
13566 return 0;
13568 _ACEOF
13569 if ac_fn_c_try_link "$LINENO"; then :
13570 case "$LIBEXT" in
13571 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13572 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'` ;;
13573 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13574 if ${ac_cv_lib_soname_openal:+false} :; then :
13575 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13576 fi ;;
13577 esac
13579 rm -f core conftest.err conftest.$ac_objext \
13580 conftest$ac_exeext conftest.$ac_ext
13581 LIBS=$ac_check_soname_save_LIBS
13583 if ${ac_cv_lib_soname_openal:+false} :; then :
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13585 $as_echo "not found" >&6; }
13587 else
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13589 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13591 cat >>confdefs.h <<_ACEOF
13592 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13593 _ACEOF
13595 OPENAL_LIBS="-lopenal"
13597 ac_cv_lib_openal=yes
13599 cat >>confdefs.h <<_ACEOF
13600 #define HAVE_OPENAL 1
13601 _ACEOF
13605 if test "x$ac_cv_lib_openal" != xyes; then :
13606 case "x$with_openal" in
13607 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL and XAudio2 won't be supported" ;;
13608 xno) ;;
13609 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL and XAudio2 won't be supported
13610 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13611 esac
13613 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13614 test "x$ac_cv_lib_openal" = xyes || enable_xaudio2_7=${enable_xaudio2_7:-no}
13616 if test "$ac_cv_header_kstat_h" = "yes"
13617 then
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13619 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13620 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13621 $as_echo_n "(cached) " >&6
13622 else
13623 ac_check_lib_save_LIBS=$LIBS
13624 LIBS="-lkstat $LIBS"
13625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h. */
13628 /* Override any GCC internal prototype to avoid an error.
13629 Use char because int might match the return type of a GCC
13630 builtin and then its argument prototype would still apply. */
13631 #ifdef __cplusplus
13632 extern "C"
13633 #endif
13634 char kstat_open ();
13636 main ()
13638 return kstat_open ();
13640 return 0;
13642 _ACEOF
13643 if ac_fn_c_try_link "$LINENO"; then :
13644 ac_cv_lib_kstat_kstat_open=yes
13645 else
13646 ac_cv_lib_kstat_kstat_open=no
13648 rm -f core conftest.err conftest.$ac_objext \
13649 conftest$ac_exeext conftest.$ac_ext
13650 LIBS=$ac_check_lib_save_LIBS
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13653 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13654 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13656 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13658 KSTAT_LIBS="-lkstat"
13664 if test "$ac_cv_header_libprocstat_h" = "yes"
13665 then
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13667 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13668 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13669 $as_echo_n "(cached) " >&6
13670 else
13671 ac_check_lib_save_LIBS=$LIBS
13672 LIBS="-lprocstat $LIBS"
13673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13674 /* end confdefs.h. */
13676 /* Override any GCC internal prototype to avoid an error.
13677 Use char because int might match the return type of a GCC
13678 builtin and then its argument prototype would still apply. */
13679 #ifdef __cplusplus
13680 extern "C"
13681 #endif
13682 char procstat_open_sysctl ();
13684 main ()
13686 return procstat_open_sysctl ();
13688 return 0;
13690 _ACEOF
13691 if ac_fn_c_try_link "$LINENO"; then :
13692 ac_cv_lib_procstat_procstat_open_sysctl=yes
13693 else
13694 ac_cv_lib_procstat_procstat_open_sysctl=no
13696 rm -f core conftest.err conftest.$ac_objext \
13697 conftest$ac_exeext conftest.$ac_ext
13698 LIBS=$ac_check_lib_save_LIBS
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13701 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13702 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13704 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13706 PROCSTAT_LIBS="-lprocstat"
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13713 $as_echo_n "checking for -lodbc... " >&6; }
13714 if ${ac_cv_lib_soname_odbc+:} false; then :
13715 $as_echo_n "(cached) " >&6
13716 else
13717 ac_check_soname_save_LIBS=$LIBS
13718 LIBS="-lodbc $LIBS"
13719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13720 /* end confdefs.h. */
13722 /* Override any GCC internal prototype to avoid an error.
13723 Use char because int might match the return type of a GCC
13724 builtin and then its argument prototype would still apply. */
13725 #ifdef __cplusplus
13726 extern "C"
13727 #endif
13728 char SQLConnect ();
13730 main ()
13732 return SQLConnect ();
13734 return 0;
13736 _ACEOF
13737 if ac_fn_c_try_link "$LINENO"; then :
13738 case "$LIBEXT" in
13739 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13740 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'` ;;
13741 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13742 if ${ac_cv_lib_soname_odbc:+false} :; then :
13743 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13744 fi ;;
13745 esac
13747 rm -f core conftest.err conftest.$ac_objext \
13748 conftest$ac_exeext conftest.$ac_ext
13749 LIBS=$ac_check_soname_save_LIBS
13751 if ${ac_cv_lib_soname_odbc:+false} :; then :
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13753 $as_echo "not found" >&6; }
13754 cat >>confdefs.h <<_ACEOF
13755 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13756 _ACEOF
13758 else
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13760 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13762 cat >>confdefs.h <<_ACEOF
13763 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13764 _ACEOF
13769 if test "x$with_netapi" != "xno"
13770 then
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13772 $as_echo_n "checking for -lnetapi... " >&6; }
13773 if ${ac_cv_lib_soname_netapi+:} false; then :
13774 $as_echo_n "(cached) " >&6
13775 else
13776 ac_check_soname_save_LIBS=$LIBS
13777 LIBS="-lnetapi $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 libnetapi_init ();
13789 main ()
13791 return libnetapi_init ();
13793 return 0;
13795 _ACEOF
13796 if ac_fn_c_try_link "$LINENO"; then :
13797 case "$LIBEXT" in
13798 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13799 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'` ;;
13800 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13801 if ${ac_cv_lib_soname_netapi:+false} :; then :
13802 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13803 fi ;;
13804 esac
13806 rm -f core conftest.err conftest.$ac_objext \
13807 conftest$ac_exeext conftest.$ac_ext
13808 LIBS=$ac_check_soname_save_LIBS
13810 if ${ac_cv_lib_soname_netapi:+false} :; then :
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13812 $as_echo "not found" >&6; }
13813 cat >>confdefs.h <<_ACEOF
13814 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13815 _ACEOF
13817 else
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13819 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13821 cat >>confdefs.h <<_ACEOF
13822 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13823 _ACEOF
13829 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13830 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13831 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13832 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13834 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13835 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13836 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13837 then
13838 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13842 EXTRACFLAGS=""
13844 if test "x${GCC}" = "xyes"
13845 then
13846 EXTRACFLAGS="-Wall -pipe"
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13849 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13850 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13851 $as_echo_n "(cached) " >&6
13852 else
13853 if test "$cross_compiling" = yes; then :
13854 ac_cv_c_gcc_strength_bug="no"
13855 else
13856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13857 /* end confdefs.h. */
13858 int L[4] = {0,1,2,3};
13860 main ()
13862 static int Array[3];
13863 unsigned int B = 3;
13864 int i;
13865 for(i=0; i<B; i++) Array[i] = i - 3;
13866 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13867 L[i] = 4;
13868 return (Array[1] != -2 || L[2] != 3)
13870 return 0;
13872 _ACEOF
13873 if ac_fn_c_try_run "$LINENO"; then :
13874 ac_cv_c_gcc_strength_bug="no"
13875 else
13876 ac_cv_c_gcc_strength_bug="yes"
13878 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13879 conftest.$ac_objext conftest.beam conftest.$ac_ext
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13884 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13885 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13886 then
13887 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13891 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13892 if ${ac_cv_cflags__fno_builtin+:} false; then :
13893 $as_echo_n "(cached) " >&6
13894 else
13895 ac_wine_try_cflags_saved=$CFLAGS
13896 CFLAGS="$CFLAGS -fno-builtin"
13897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13898 /* end confdefs.h. */
13899 int main(int argc, char **argv) { return 0; }
13900 _ACEOF
13901 if ac_fn_c_try_link "$LINENO"; then :
13902 ac_cv_cflags__fno_builtin=yes
13903 else
13904 ac_cv_cflags__fno_builtin=no
13906 rm -f core conftest.err conftest.$ac_objext \
13907 conftest$ac_exeext conftest.$ac_ext
13908 CFLAGS=$ac_wine_try_cflags_saved
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13911 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13912 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13913 BUILTINFLAG="-fno-builtin"
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13917 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13918 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13919 $as_echo_n "(cached) " >&6
13920 else
13921 ac_wine_try_cflags_saved=$CFLAGS
13922 CFLAGS="$CFLAGS -fno-strict-aliasing"
13923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13924 /* end confdefs.h. */
13925 int main(int argc, char **argv) { return 0; }
13926 _ACEOF
13927 if ac_fn_c_try_link "$LINENO"; then :
13928 ac_cv_cflags__fno_strict_aliasing=yes
13929 else
13930 ac_cv_cflags__fno_strict_aliasing=no
13932 rm -f core conftest.err conftest.$ac_objext \
13933 conftest$ac_exeext conftest.$ac_ext
13934 CFLAGS=$ac_wine_try_cflags_saved
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13937 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13938 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13939 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13941 saved_CFLAGS=$CFLAGS
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13943 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13944 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13945 $as_echo_n "(cached) " >&6
13946 else
13947 ac_wine_try_cflags_saved=$CFLAGS
13948 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13950 /* end confdefs.h. */
13951 int main(int argc, char **argv) { return 0; }
13952 _ACEOF
13953 if ac_fn_c_try_link "$LINENO"; then :
13954 ac_cv_cflags__Werror_unknown_warning_option=yes
13955 else
13956 ac_cv_cflags__Werror_unknown_warning_option=no
13958 rm -f core conftest.err conftest.$ac_objext \
13959 conftest$ac_exeext conftest.$ac_ext
13960 CFLAGS=$ac_wine_try_cflags_saved
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13963 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13964 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13965 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13968 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13969 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13970 $as_echo_n "(cached) " >&6
13971 else
13972 ac_wine_try_cflags_saved=$CFLAGS
13973 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13975 /* end confdefs.h. */
13976 int main(int argc, char **argv) { return 0; }
13977 _ACEOF
13978 if ac_fn_c_try_link "$LINENO"; then :
13979 ac_cv_cflags__Wdeclaration_after_statement=yes
13980 else
13981 ac_cv_cflags__Wdeclaration_after_statement=no
13983 rm -f core conftest.err conftest.$ac_objext \
13984 conftest$ac_exeext conftest.$ac_ext
13985 CFLAGS=$ac_wine_try_cflags_saved
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13988 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13989 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13990 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13993 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13994 if ${ac_cv_cflags__Wempty_body+:} false; then :
13995 $as_echo_n "(cached) " >&6
13996 else
13997 ac_wine_try_cflags_saved=$CFLAGS
13998 CFLAGS="$CFLAGS -Wempty-body"
13999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14000 /* end confdefs.h. */
14001 int main(int argc, char **argv) { return 0; }
14002 _ACEOF
14003 if ac_fn_c_try_link "$LINENO"; then :
14004 ac_cv_cflags__Wempty_body=yes
14005 else
14006 ac_cv_cflags__Wempty_body=no
14008 rm -f core conftest.err conftest.$ac_objext \
14009 conftest$ac_exeext conftest.$ac_ext
14010 CFLAGS=$ac_wine_try_cflags_saved
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14013 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14014 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14015 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14018 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14019 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14020 $as_echo_n "(cached) " >&6
14021 else
14022 ac_wine_try_cflags_saved=$CFLAGS
14023 CFLAGS="$CFLAGS -Wignored-qualifiers"
14024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14025 /* end confdefs.h. */
14026 int main(int argc, char **argv) { return 0; }
14027 _ACEOF
14028 if ac_fn_c_try_link "$LINENO"; then :
14029 ac_cv_cflags__Wignored_qualifiers=yes
14030 else
14031 ac_cv_cflags__Wignored_qualifiers=no
14033 rm -f core conftest.err conftest.$ac_objext \
14034 conftest$ac_exeext conftest.$ac_ext
14035 CFLAGS=$ac_wine_try_cflags_saved
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14038 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14039 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14040 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14043 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14044 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14045 $as_echo_n "(cached) " >&6
14046 else
14047 ac_wine_try_cflags_saved=$CFLAGS
14048 CFLAGS="$CFLAGS -Wstrict-prototypes"
14049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14050 /* end confdefs.h. */
14051 int main(int argc, char **argv) { return 0; }
14052 _ACEOF
14053 if ac_fn_c_try_link "$LINENO"; then :
14054 ac_cv_cflags__Wstrict_prototypes=yes
14055 else
14056 ac_cv_cflags__Wstrict_prototypes=no
14058 rm -f core conftest.err conftest.$ac_objext \
14059 conftest$ac_exeext conftest.$ac_ext
14060 CFLAGS=$ac_wine_try_cflags_saved
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14063 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14064 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14065 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14068 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14069 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14070 $as_echo_n "(cached) " >&6
14071 else
14072 ac_wine_try_cflags_saved=$CFLAGS
14073 CFLAGS="$CFLAGS -Wtype-limits"
14074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14075 /* end confdefs.h. */
14076 int main(int argc, char **argv) { return 0; }
14077 _ACEOF
14078 if ac_fn_c_try_link "$LINENO"; then :
14079 ac_cv_cflags__Wtype_limits=yes
14080 else
14081 ac_cv_cflags__Wtype_limits=no
14083 rm -f core conftest.err conftest.$ac_objext \
14084 conftest$ac_exeext conftest.$ac_ext
14085 CFLAGS=$ac_wine_try_cflags_saved
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14088 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14089 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14090 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14093 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14094 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14095 $as_echo_n "(cached) " >&6
14096 else
14097 ac_wine_try_cflags_saved=$CFLAGS
14098 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14100 /* end confdefs.h. */
14101 int main(int argc, char **argv) { return 0; }
14102 _ACEOF
14103 if ac_fn_c_try_link "$LINENO"; then :
14104 ac_cv_cflags__Wunused_but_set_parameter=yes
14105 else
14106 ac_cv_cflags__Wunused_but_set_parameter=no
14108 rm -f core conftest.err conftest.$ac_objext \
14109 conftest$ac_exeext conftest.$ac_ext
14110 CFLAGS=$ac_wine_try_cflags_saved
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14113 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14114 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14115 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14118 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14119 if ${ac_cv_cflags__Wvla+:} false; then :
14120 $as_echo_n "(cached) " >&6
14121 else
14122 ac_wine_try_cflags_saved=$CFLAGS
14123 CFLAGS="$CFLAGS -Wvla"
14124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14125 /* end confdefs.h. */
14126 int main(int argc, char **argv) { return 0; }
14127 _ACEOF
14128 if ac_fn_c_try_link "$LINENO"; then :
14129 ac_cv_cflags__Wvla=yes
14130 else
14131 ac_cv_cflags__Wvla=no
14133 rm -f core conftest.err conftest.$ac_objext \
14134 conftest$ac_exeext conftest.$ac_ext
14135 CFLAGS=$ac_wine_try_cflags_saved
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14138 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14139 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14140 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14143 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14144 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14145 $as_echo_n "(cached) " >&6
14146 else
14147 ac_wine_try_cflags_saved=$CFLAGS
14148 CFLAGS="$CFLAGS -Wwrite-strings"
14149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14150 /* end confdefs.h. */
14151 int main(int argc, char **argv) { return 0; }
14152 _ACEOF
14153 if ac_fn_c_try_link "$LINENO"; then :
14154 ac_cv_cflags__Wwrite_strings=yes
14155 else
14156 ac_cv_cflags__Wwrite_strings=no
14158 rm -f core conftest.err conftest.$ac_objext \
14159 conftest$ac_exeext conftest.$ac_ext
14160 CFLAGS=$ac_wine_try_cflags_saved
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14163 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14164 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14165 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14169 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14170 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14171 $as_echo_n "(cached) " >&6
14172 else
14173 ac_wine_try_cflags_saved=$CFLAGS
14174 CFLAGS="$CFLAGS -Wpointer-arith"
14175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14176 /* end confdefs.h. */
14177 int main(int argc, char **argv) { return 0; }
14178 _ACEOF
14179 if ac_fn_c_try_link "$LINENO"; then :
14180 ac_cv_cflags__Wpointer_arith=yes
14181 else
14182 ac_cv_cflags__Wpointer_arith=no
14184 rm -f core conftest.err conftest.$ac_objext \
14185 conftest$ac_exeext conftest.$ac_ext
14186 CFLAGS=$ac_wine_try_cflags_saved
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14189 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14190 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14191 saved_string_h_CFLAGS=$CFLAGS
14192 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14194 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14195 if ${ac_cv_c_string_h_warnings+:} false; then :
14196 $as_echo_n "(cached) " >&6
14197 else
14198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14199 /* end confdefs.h. */
14200 #include <string.h>
14202 main ()
14206 return 0;
14208 _ACEOF
14209 if ac_fn_c_try_compile "$LINENO"; then :
14210 ac_cv_c_string_h_warnings=no
14211 else
14212 ac_cv_c_string_h_warnings=yes
14214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14217 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14218 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14219 CFLAGS=$saved_string_h_CFLAGS
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14223 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14224 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14225 $as_echo_n "(cached) " >&6
14226 else
14227 ac_wine_try_cflags_saved=$CFLAGS
14228 CFLAGS="$CFLAGS -Wlogical-op"
14229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14230 /* end confdefs.h. */
14231 int main(int argc, char **argv) { return 0; }
14232 _ACEOF
14233 if ac_fn_c_try_link "$LINENO"; then :
14234 ac_cv_cflags__Wlogical_op=yes
14235 else
14236 ac_cv_cflags__Wlogical_op=no
14238 rm -f core conftest.err conftest.$ac_objext \
14239 conftest$ac_exeext conftest.$ac_ext
14240 CFLAGS=$ac_wine_try_cflags_saved
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14243 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14244 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14245 saved_string_h_CFLAGS=$CFLAGS
14246 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14248 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14249 if ${ac_cv_c_logicalop_noisy+:} false; then :
14250 $as_echo_n "(cached) " >&6
14251 else
14252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14253 /* end confdefs.h. */
14254 #include <string.h>
14255 char*f(const char *h,char n) {return strchr(h,n);}
14257 main ()
14261 return 0;
14263 _ACEOF
14264 if ac_fn_c_try_compile "$LINENO"; then :
14265 ac_cv_c_logicalop_noisy=no
14266 else
14267 ac_cv_c_logicalop_noisy=yes
14269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14272 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14273 CFLAGS=$saved_string_h_CFLAGS
14274 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14277 CFLAGS=$saved_CFLAGS
14279 for ac_flag in $CFLAGS; do
14280 case $ac_flag in
14281 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14282 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14283 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14284 $as_echo_n "(cached) " >&6
14285 else
14286 ac_wine_try_cflags_saved=$CFLAGS
14287 CFLAGS="$CFLAGS -gdwarf-2"
14288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14289 /* end confdefs.h. */
14290 int main(int argc, char **argv) { return 0; }
14291 _ACEOF
14292 if ac_fn_c_try_link "$LINENO"; then :
14293 ac_cv_cflags__gdwarf_2=yes
14294 else
14295 ac_cv_cflags__gdwarf_2=no
14297 rm -f core conftest.err conftest.$ac_objext \
14298 conftest$ac_exeext conftest.$ac_ext
14299 CFLAGS=$ac_wine_try_cflags_saved
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14302 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14303 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14304 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14307 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14308 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14309 $as_echo_n "(cached) " >&6
14310 else
14311 ac_wine_try_cflags_saved=$CFLAGS
14312 CFLAGS="$CFLAGS -gstrict-dwarf"
14313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14314 /* end confdefs.h. */
14315 int main(int argc, char **argv) { return 0; }
14316 _ACEOF
14317 if ac_fn_c_try_link "$LINENO"; then :
14318 ac_cv_cflags__gstrict_dwarf=yes
14319 else
14320 ac_cv_cflags__gstrict_dwarf=no
14322 rm -f core conftest.err conftest.$ac_objext \
14323 conftest$ac_exeext conftest.$ac_ext
14324 CFLAGS=$ac_wine_try_cflags_saved
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14327 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14328 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14329 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14330 fi ;;
14331 esac
14332 done
14334 case $host_cpu in
14335 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14336 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14337 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14338 $as_echo_n "(cached) " >&6
14339 else
14340 ac_wine_try_cflags_saved=$CFLAGS
14341 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14343 /* end confdefs.h. */
14344 int main(int argc, char **argv) { return 0; }
14345 _ACEOF
14346 if ac_fn_c_try_link "$LINENO"; then :
14347 ac_cv_cflags__fno_omit_frame_pointer=yes
14348 else
14349 ac_cv_cflags__fno_omit_frame_pointer=no
14351 rm -f core conftest.err conftest.$ac_objext \
14352 conftest$ac_exeext conftest.$ac_ext
14353 CFLAGS=$ac_wine_try_cflags_saved
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14356 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14357 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14358 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14359 fi ;;
14360 esac
14362 case $host in
14363 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14364 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14365 if ${ac_cv_cflags__Wno_format+:} false; then :
14366 $as_echo_n "(cached) " >&6
14367 else
14368 ac_wine_try_cflags_saved=$CFLAGS
14369 CFLAGS="$CFLAGS -Wno-format"
14370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14371 /* end confdefs.h. */
14372 int main(int argc, char **argv) { return 0; }
14373 _ACEOF
14374 if ac_fn_c_try_link "$LINENO"; then :
14375 ac_cv_cflags__Wno_format=yes
14376 else
14377 ac_cv_cflags__Wno_format=no
14379 rm -f core conftest.err conftest.$ac_objext \
14380 conftest$ac_exeext conftest.$ac_ext
14381 CFLAGS=$ac_wine_try_cflags_saved
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14384 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14385 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14386 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14387 fi ;;
14388 esac
14390 if test "x$enable_maintainer_mode" = "xyes"
14391 then
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14393 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14394 if ${ac_cv_cflags__Werror+:} false; then :
14395 $as_echo_n "(cached) " >&6
14396 else
14397 ac_wine_try_cflags_saved=$CFLAGS
14398 CFLAGS="$CFLAGS -Werror"
14399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14400 /* end confdefs.h. */
14401 int main(int argc, char **argv) { return 0; }
14402 _ACEOF
14403 if ac_fn_c_try_link "$LINENO"; then :
14404 ac_cv_cflags__Werror=yes
14405 else
14406 ac_cv_cflags__Werror=no
14408 rm -f core conftest.err conftest.$ac_objext \
14409 conftest$ac_exeext conftest.$ac_ext
14410 CFLAGS=$ac_wine_try_cflags_saved
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14413 $as_echo "$ac_cv_cflags__Werror" >&6; }
14414 if test "x$ac_cv_cflags__Werror" = xyes; then :
14415 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14419 saved_CFLAGS="$CFLAGS"
14420 CFLAGS="$CFLAGS -Werror"
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14422 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14423 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14424 $as_echo_n "(cached) " >&6
14425 else
14426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14427 /* end confdefs.h. */
14428 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14430 main ()
14434 return 0;
14436 _ACEOF
14437 if ac_fn_c_try_compile "$LINENO"; then :
14438 ac_cv_have_ms_hook_prologue="yes"
14439 else
14440 ac_cv_have_ms_hook_prologue="no"
14442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14445 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14446 CFLAGS="$saved_CFLAGS"
14447 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14448 then
14450 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14452 else
14453 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14460 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14461 if ${ac_cv_c_fortify_enabled+:} false; then :
14462 $as_echo_n "(cached) " >&6
14463 else
14464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14465 /* end confdefs.h. */
14466 #include <string.h>
14468 main ()
14470 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14471 #error Fortify enabled
14472 #endif
14474 return 0;
14476 _ACEOF
14477 if ac_fn_c_try_compile "$LINENO"; then :
14478 ac_cv_c_fortify_enabled=no
14479 else
14480 ac_cv_c_fortify_enabled=yes
14482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14485 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14486 if test "$ac_cv_c_fortify_enabled" = yes
14487 then
14488 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14493 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14494 if ${ac_cv_c_extern_prefix+:} false; then :
14495 $as_echo_n "(cached) " >&6
14496 else
14497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14498 /* end confdefs.h. */
14499 extern int ac_test;
14501 main ()
14503 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14505 return 0;
14507 _ACEOF
14508 if ac_fn_c_try_link "$LINENO"; then :
14509 ac_cv_c_extern_prefix="yes"
14510 else
14511 ac_cv_c_extern_prefix="no"
14513 rm -f core conftest.err conftest.$ac_objext \
14514 conftest$ac_exeext conftest.$ac_ext
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14517 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14519 case $host_cpu in
14520 *i[3456789]86*)
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14522 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14523 if ${ac_cv_c_stdcall_suffix+:} false; then :
14524 $as_echo_n "(cached) " >&6
14525 else
14526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14527 /* end confdefs.h. */
14528 #ifndef _MSC_VER
14529 #define __stdcall __attribute__((__stdcall__))
14530 #endif
14531 int __stdcall ac_test(int i) { return i; }
14533 main ()
14535 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14537 return 0;
14539 _ACEOF
14540 if ac_fn_c_try_link "$LINENO"; then :
14541 ac_cv_c_stdcall_suffix="yes"
14542 else
14543 ac_cv_c_stdcall_suffix="no"
14545 rm -f core conftest.err conftest.$ac_objext \
14546 conftest$ac_exeext conftest.$ac_ext
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14549 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14550 *) ac_cv_c_stdcall_suffix="no" ;;
14551 esac
14554 if test "$ac_cv_c_extern_prefix" = "yes"
14555 then
14556 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14558 asm_name_prefix="_"
14559 else
14560 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14562 asm_name_prefix=""
14566 if test "$ac_cv_c_stdcall_suffix" = "yes"
14567 then
14568 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14570 else
14571 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14577 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14578 if ${ac_cv_asm_func_def+:} false; then :
14579 $as_echo_n "(cached) " >&6
14580 else
14581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14582 /* end confdefs.h. */
14585 main ()
14587 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14589 return 0;
14591 _ACEOF
14592 if ac_fn_c_try_link "$LINENO"; then :
14593 ac_cv_asm_func_def=".def"
14594 else
14595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14596 /* end confdefs.h. */
14599 main ()
14601 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14603 return 0;
14605 _ACEOF
14606 if ac_fn_c_try_link "$LINENO"; then :
14607 ac_cv_asm_func_def=".type @function"
14608 else
14609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14610 /* end confdefs.h. */
14613 main ()
14615 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14617 return 0;
14619 _ACEOF
14620 if ac_fn_c_try_link "$LINENO"; then :
14621 ac_cv_asm_func_def=".type 2"
14622 else
14623 ac_cv_asm_func_def="unknown"
14625 rm -f core conftest.err conftest.$ac_objext \
14626 conftest$ac_exeext conftest.$ac_ext
14628 rm -f core conftest.err conftest.$ac_objext \
14629 conftest$ac_exeext conftest.$ac_ext
14631 rm -f core conftest.err conftest.$ac_objext \
14632 conftest$ac_exeext conftest.$ac_ext
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14635 $as_echo "$ac_cv_asm_func_def" >&6; }
14638 case "$ac_cv_asm_func_def" in
14639 ".def")
14640 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14642 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14643 ".type @function")
14644 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14646 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14647 ".type 2")
14648 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14650 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14652 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14654 asm_func_header="" ;;
14655 esac
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14658 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14659 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14660 $as_echo_n "(cached) " >&6
14661 else
14662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14663 /* end confdefs.h. */
14664 asm(".text\n\t.long 0");
14666 main ()
14670 return 0;
14672 _ACEOF
14673 if ac_fn_c_try_compile "$LINENO"; then :
14674 ac_cv_c_asm_outside_funcs="yes"
14675 else
14676 ac_cv_c_asm_outside_funcs="no"
14678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14681 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14684 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14685 if ${ac_cv_c_dot_previous+:} false; then :
14686 $as_echo_n "(cached) " >&6
14687 else
14688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14689 /* end confdefs.h. */
14692 main ()
14694 asm(".text\nac_test:\t.long 0\n\t.previous");
14696 return 0;
14698 _ACEOF
14699 if ac_fn_c_try_link "$LINENO"; then :
14700 ac_cv_c_dot_previous="yes"
14701 else
14702 ac_cv_c_dot_previous="no"
14704 rm -f core conftest.err conftest.$ac_objext \
14705 conftest$ac_exeext conftest.$ac_ext
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14708 $as_echo "$ac_cv_c_dot_previous" >&6; }
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14711 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14712 if ${ac_cv_c_cfi_support+:} false; then :
14713 $as_echo_n "(cached) " >&6
14714 else
14715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14716 /* end confdefs.h. */
14717 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14719 main ()
14723 return 0;
14725 _ACEOF
14726 if ac_fn_c_try_compile "$LINENO"; then :
14727 ac_cv_c_cfi_support="yes"
14728 else
14729 ac_cv_c_cfi_support="no"
14731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14734 $as_echo "$ac_cv_c_cfi_support" >&6; }
14736 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14737 asm_func_trailer=""
14738 if test "$ac_cv_c_dot_previous" = "yes"
14739 then
14740 asm_func_trailer="\\n\\t.previous"
14742 if test "$ac_cv_c_cfi_support" = "yes"
14743 then
14744 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14745 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14747 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14749 UNWINDFLAGS=-fasynchronous-unwind-tables
14751 else
14752 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14754 if test "x$enable_win64" = "xyes"
14755 then
14756 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14760 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14763 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14764 then
14765 cat >>confdefs.h <<_ACEOF
14766 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14767 _ACEOF
14769 else
14770 cat >>confdefs.h <<_ACEOF
14771 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14772 _ACEOF
14776 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14779 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14783 case $build_os in
14784 cygwin*|mingw32*) TOOLSEXT=".exe"
14786 esac
14788 case $host_os in
14789 linux*)
14790 case $host_cpu in
14791 *i[3456789]86*|x86_64*)
14792 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14793 loader_programs="$loader_programs $wine_binary-preloader"
14794 as_fn_append LOADER_RULES "
14795 $wine_binary-preloader: preloader.o
14796 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14798 install install-lib:: $wine_binary-preloader
14799 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14801 uninstall::
14802 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14804 preloader_EXTRADEFS = $BUILTINFLAG
14805 " ;;
14806 esac
14808 esac
14809 as_fn_append LOADER_RULES "
14810 PROGRAMS = $loader_programs
14814 ac_save_CFLAGS="$CFLAGS"
14815 CFLAGS="$CFLAGS $BUILTINFLAG"
14816 for ac_func in \
14817 __res_get_state \
14818 __res_getservers \
14819 _finite \
14820 _isnan \
14821 _pclose \
14822 _popen \
14823 _snprintf \
14824 _spawnvp \
14825 _strdup \
14826 _stricmp \
14827 _strnicmp \
14828 _strtoi64 \
14829 _strtoui64 \
14830 _vsnprintf \
14831 asctime_r \
14832 chsize \
14833 dlopen \
14834 epoll_create \
14835 ffs \
14836 finitef \
14837 fnmatch \
14838 fork \
14839 fpclass \
14840 fstatfs \
14841 fstatvfs \
14842 ftruncate \
14843 futimens \
14844 futimes \
14845 futimesat \
14846 getattrlist \
14847 getdirentries \
14848 getopt_long_only \
14849 getpwuid \
14850 gettimeofday \
14851 getuid \
14852 if_nameindex \
14853 isnanf \
14854 kqueue \
14855 lstat \
14856 memmove \
14857 mmap \
14858 pclose \
14859 pipe2 \
14860 poll \
14861 popen \
14862 port_create \
14863 prctl \
14864 pread \
14865 proc_pidinfo \
14866 pwrite \
14867 readdir \
14868 readlink \
14869 sched_yield \
14870 select \
14871 setproctitle \
14872 setrlimit \
14873 settimeofday \
14874 sigaltstack \
14875 sigprocmask \
14876 snprintf \
14877 statfs \
14878 statvfs \
14879 strcasecmp \
14880 strdup \
14881 strerror \
14882 strncasecmp \
14883 strtold \
14884 strtoll \
14885 strtoull \
14886 symlink \
14887 tcdrain \
14888 thr_kill2 \
14889 timegm \
14890 usleep \
14891 vsnprintf
14893 do :
14894 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14895 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14896 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14897 cat >>confdefs.h <<_ACEOF
14898 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14899 _ACEOF
14902 done
14904 CFLAGS="$ac_save_CFLAGS"
14906 if test "$ac_cv_func_dlopen" = no
14907 then
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14909 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14910 if ${ac_cv_lib_dl_dlopen+:} false; then :
14911 $as_echo_n "(cached) " >&6
14912 else
14913 ac_check_lib_save_LIBS=$LIBS
14914 LIBS="-ldl $LIBS"
14915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14916 /* end confdefs.h. */
14918 /* Override any GCC internal prototype to avoid an error.
14919 Use char because int might match the return type of a GCC
14920 builtin and then its argument prototype would still apply. */
14921 #ifdef __cplusplus
14922 extern "C"
14923 #endif
14924 char dlopen ();
14926 main ()
14928 return dlopen ();
14930 return 0;
14932 _ACEOF
14933 if ac_fn_c_try_link "$LINENO"; then :
14934 ac_cv_lib_dl_dlopen=yes
14935 else
14936 ac_cv_lib_dl_dlopen=no
14938 rm -f core conftest.err conftest.$ac_objext \
14939 conftest$ac_exeext conftest.$ac_ext
14940 LIBS=$ac_check_lib_save_LIBS
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14943 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14944 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14945 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14946 DL_LIBS="-ldl"
14951 ac_wine_check_funcs_save_LIBS="$LIBS"
14952 LIBS="$LIBS $DL_LIBS"
14953 for ac_func in dladdr
14954 do :
14955 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14956 if test "x$ac_cv_func_dladdr" = xyes; then :
14957 cat >>confdefs.h <<_ACEOF
14958 #define HAVE_DLADDR 1
14959 _ACEOF
14962 done
14964 LIBS="$ac_wine_check_funcs_save_LIBS"
14966 if test "$ac_cv_func_poll" = no
14967 then
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14969 $as_echo_n "checking for poll in -lpoll... " >&6; }
14970 if ${ac_cv_lib_poll_poll+:} false; then :
14971 $as_echo_n "(cached) " >&6
14972 else
14973 ac_check_lib_save_LIBS=$LIBS
14974 LIBS="-lpoll $LIBS"
14975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14976 /* end confdefs.h. */
14978 /* Override any GCC internal prototype to avoid an error.
14979 Use char because int might match the return type of a GCC
14980 builtin and then its argument prototype would still apply. */
14981 #ifdef __cplusplus
14982 extern "C"
14983 #endif
14984 char poll ();
14986 main ()
14988 return poll ();
14990 return 0;
14992 _ACEOF
14993 if ac_fn_c_try_link "$LINENO"; then :
14994 ac_cv_lib_poll_poll=yes
14995 else
14996 ac_cv_lib_poll_poll=no
14998 rm -f core conftest.err conftest.$ac_objext \
14999 conftest$ac_exeext conftest.$ac_ext
15000 LIBS=$ac_check_lib_save_LIBS
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15003 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15004 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15005 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15006 POLL_LIBS="-lpoll"
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15013 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15014 if ${ac_cv_search_gethostbyname+:} false; then :
15015 $as_echo_n "(cached) " >&6
15016 else
15017 ac_func_search_save_LIBS=$LIBS
15018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15019 /* end confdefs.h. */
15021 /* Override any GCC internal prototype to avoid an error.
15022 Use char because int might match the return type of a GCC
15023 builtin and then its argument prototype would still apply. */
15024 #ifdef __cplusplus
15025 extern "C"
15026 #endif
15027 char gethostbyname ();
15029 main ()
15031 return gethostbyname ();
15033 return 0;
15035 _ACEOF
15036 for ac_lib in '' nsl; do
15037 if test -z "$ac_lib"; then
15038 ac_res="none required"
15039 else
15040 ac_res=-l$ac_lib
15041 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15043 if ac_fn_c_try_link "$LINENO"; then :
15044 ac_cv_search_gethostbyname=$ac_res
15046 rm -f core conftest.err conftest.$ac_objext \
15047 conftest$ac_exeext
15048 if ${ac_cv_search_gethostbyname+:} false; then :
15049 break
15051 done
15052 if ${ac_cv_search_gethostbyname+:} false; then :
15054 else
15055 ac_cv_search_gethostbyname=no
15057 rm conftest.$ac_ext
15058 LIBS=$ac_func_search_save_LIBS
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15061 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15062 ac_res=$ac_cv_search_gethostbyname
15063 if test "$ac_res" != no; then :
15064 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15070 $as_echo_n "checking for library containing connect... " >&6; }
15071 if ${ac_cv_search_connect+:} false; then :
15072 $as_echo_n "(cached) " >&6
15073 else
15074 ac_func_search_save_LIBS=$LIBS
15075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15076 /* end confdefs.h. */
15078 /* Override any GCC internal prototype to avoid an error.
15079 Use char because int might match the return type of a GCC
15080 builtin and then its argument prototype would still apply. */
15081 #ifdef __cplusplus
15082 extern "C"
15083 #endif
15084 char connect ();
15086 main ()
15088 return connect ();
15090 return 0;
15092 _ACEOF
15093 for ac_lib in '' socket; do
15094 if test -z "$ac_lib"; then
15095 ac_res="none required"
15096 else
15097 ac_res=-l$ac_lib
15098 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15100 if ac_fn_c_try_link "$LINENO"; then :
15101 ac_cv_search_connect=$ac_res
15103 rm -f core conftest.err conftest.$ac_objext \
15104 conftest$ac_exeext
15105 if ${ac_cv_search_connect+:} false; then :
15106 break
15108 done
15109 if ${ac_cv_search_connect+:} false; then :
15111 else
15112 ac_cv_search_connect=no
15114 rm conftest.$ac_ext
15115 LIBS=$ac_func_search_save_LIBS
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15118 $as_echo "$ac_cv_search_connect" >&6; }
15119 ac_res=$ac_cv_search_connect
15120 if test "$ac_res" != no; then :
15121 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15127 $as_echo_n "checking for library containing inet_aton... " >&6; }
15128 if ${ac_cv_search_inet_aton+:} false; then :
15129 $as_echo_n "(cached) " >&6
15130 else
15131 ac_func_search_save_LIBS=$LIBS
15132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15133 /* end confdefs.h. */
15135 /* Override any GCC internal prototype to avoid an error.
15136 Use char because int might match the return type of a GCC
15137 builtin and then its argument prototype would still apply. */
15138 #ifdef __cplusplus
15139 extern "C"
15140 #endif
15141 char inet_aton ();
15143 main ()
15145 return inet_aton ();
15147 return 0;
15149 _ACEOF
15150 for ac_lib in '' resolv; do
15151 if test -z "$ac_lib"; then
15152 ac_res="none required"
15153 else
15154 ac_res=-l$ac_lib
15155 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15157 if ac_fn_c_try_link "$LINENO"; then :
15158 ac_cv_search_inet_aton=$ac_res
15160 rm -f core conftest.err conftest.$ac_objext \
15161 conftest$ac_exeext
15162 if ${ac_cv_search_inet_aton+:} false; then :
15163 break
15165 done
15166 if ${ac_cv_search_inet_aton+:} false; then :
15168 else
15169 ac_cv_search_inet_aton=no
15171 rm conftest.$ac_ext
15172 LIBS=$ac_func_search_save_LIBS
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15175 $as_echo "$ac_cv_search_inet_aton" >&6; }
15176 ac_res=$ac_cv_search_inet_aton
15177 if test "$ac_res" != no; then :
15178 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15183 for ac_func in \
15184 getaddrinfo \
15185 getnameinfo \
15186 getnetbyname \
15187 getprotobyname \
15188 getprotobynumber \
15189 getservbyport \
15190 inet_addr \
15191 inet_network \
15192 inet_ntop \
15193 inet_pton \
15194 sendmsg \
15195 socketpair \
15197 do :
15198 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15199 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15200 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15201 cat >>confdefs.h <<_ACEOF
15202 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15203 _ACEOF
15206 done
15209 ac_save_LIBS=$LIBS
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15211 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15212 if ${ac_cv_search_clock_gettime+:} false; then :
15213 $as_echo_n "(cached) " >&6
15214 else
15215 ac_func_search_save_LIBS=$LIBS
15216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15217 /* end confdefs.h. */
15219 /* Override any GCC internal prototype to avoid an error.
15220 Use char because int might match the return type of a GCC
15221 builtin and then its argument prototype would still apply. */
15222 #ifdef __cplusplus
15223 extern "C"
15224 #endif
15225 char clock_gettime ();
15227 main ()
15229 return clock_gettime ();
15231 return 0;
15233 _ACEOF
15234 for ac_lib in '' rt; do
15235 if test -z "$ac_lib"; then
15236 ac_res="none required"
15237 else
15238 ac_res=-l$ac_lib
15239 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15241 if ac_fn_c_try_link "$LINENO"; then :
15242 ac_cv_search_clock_gettime=$ac_res
15244 rm -f core conftest.err conftest.$ac_objext \
15245 conftest$ac_exeext
15246 if ${ac_cv_search_clock_gettime+:} false; then :
15247 break
15249 done
15250 if ${ac_cv_search_clock_gettime+:} false; then :
15252 else
15253 ac_cv_search_clock_gettime=no
15255 rm conftest.$ac_ext
15256 LIBS=$ac_func_search_save_LIBS
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15259 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15260 ac_res=$ac_cv_search_clock_gettime
15261 if test "$ac_res" != no; then :
15262 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15264 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15266 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15270 LIBS=$ac_save_LIBS
15272 LDAP_LIBS=""
15274 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15275 then
15276 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15278 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15280 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15281 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15282 $as_echo_n "(cached) " >&6
15283 else
15284 ac_check_lib_save_LIBS=$LIBS
15285 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15287 /* end confdefs.h. */
15289 /* Override any GCC internal prototype to avoid an error.
15290 Use char because int might match the return type of a GCC
15291 builtin and then its argument prototype would still apply. */
15292 #ifdef __cplusplus
15293 extern "C"
15294 #endif
15295 char ldap_initialize ();
15297 main ()
15299 return ldap_initialize ();
15301 return 0;
15303 _ACEOF
15304 if ac_fn_c_try_link "$LINENO"; then :
15305 ac_cv_lib_ldap_r_ldap_initialize=yes
15306 else
15307 ac_cv_lib_ldap_r_ldap_initialize=no
15309 rm -f core conftest.err conftest.$ac_objext \
15310 conftest$ac_exeext conftest.$ac_ext
15311 LIBS=$ac_check_lib_save_LIBS
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15314 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15315 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15317 $as_echo_n "checking for ber_init in -llber... " >&6; }
15318 if ${ac_cv_lib_lber_ber_init+:} false; then :
15319 $as_echo_n "(cached) " >&6
15320 else
15321 ac_check_lib_save_LIBS=$LIBS
15322 LIBS="-llber $PTHREAD_LIBS $LIBS"
15323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15324 /* end confdefs.h. */
15326 /* Override any GCC internal prototype to avoid an error.
15327 Use char because int might match the return type of a GCC
15328 builtin and then its argument prototype would still apply. */
15329 #ifdef __cplusplus
15330 extern "C"
15331 #endif
15332 char ber_init ();
15334 main ()
15336 return ber_init ();
15338 return 0;
15340 _ACEOF
15341 if ac_fn_c_try_link "$LINENO"; then :
15342 ac_cv_lib_lber_ber_init=yes
15343 else
15344 ac_cv_lib_lber_ber_init=no
15346 rm -f core conftest.err conftest.$ac_objext \
15347 conftest$ac_exeext conftest.$ac_ext
15348 LIBS=$ac_check_lib_save_LIBS
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15351 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15352 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15354 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15356 LDAP_LIBS="-lldap_r -llber"
15363 ac_wine_check_funcs_save_LIBS="$LIBS"
15364 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15365 for ac_func in \
15366 ldap_count_references \
15367 ldap_first_reference \
15368 ldap_next_reference \
15369 ldap_parse_reference \
15370 ldap_parse_sort_control \
15371 ldap_parse_sortresponse_control \
15372 ldap_parse_vlv_control \
15373 ldap_parse_vlvresponse_control
15374 do :
15375 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15376 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15377 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15378 cat >>confdefs.h <<_ACEOF
15379 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15380 _ACEOF
15383 done
15385 LIBS="$ac_wine_check_funcs_save_LIBS"
15387 if test "x$LDAP_LIBS" = "x"; then :
15388 case "x$with_ldap" in
15389 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15390 xno) ;;
15391 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15392 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15393 esac
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15397 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15398 if ${wine_cv_one_arg_mkdir+:} false; then :
15399 $as_echo_n "(cached) " >&6
15400 else
15401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15402 /* end confdefs.h. */
15403 #include <sys/stat.h>
15405 main ()
15407 mkdir("foo");
15409 return 0;
15411 _ACEOF
15412 if ac_fn_c_try_compile "$LINENO"; then :
15413 wine_cv_one_arg_mkdir=yes
15414 else
15415 wine_cv_one_arg_mkdir=no
15417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15420 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15421 if test "$wine_cv_one_arg_mkdir" = "yes"
15422 then
15424 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15429 $as_echo_n "checking for sched_setaffinity... " >&6; }
15430 if ${wine_cv_have_sched_setaffinity+:} false; then :
15431 $as_echo_n "(cached) " >&6
15432 else
15433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15434 /* end confdefs.h. */
15435 #define _GNU_SOURCE
15436 #include <sched.h>
15438 main ()
15440 sched_setaffinity(0, 0, 0);
15442 return 0;
15444 _ACEOF
15445 if ac_fn_c_try_link "$LINENO"; then :
15446 wine_cv_have_sched_setaffinity=yes
15447 else
15448 wine_cv_have_sched_setaffinity=no
15450 rm -f core conftest.err conftest.$ac_objext \
15451 conftest$ac_exeext conftest.$ac_ext
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15454 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15455 if test "$wine_cv_have_sched_setaffinity" = "yes"
15456 then
15458 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15463 $as_echo_n "checking for fallocate... " >&6; }
15464 if ${wine_cv_have_fallocate+:} false; then :
15465 $as_echo_n "(cached) " >&6
15466 else
15467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15468 /* end confdefs.h. */
15469 #define _GNU_SOURCE
15470 #include <fcntl.h>
15472 main ()
15474 fallocate(-1, 0, 0, 0);
15476 return 0;
15478 _ACEOF
15479 if ac_fn_c_try_link "$LINENO"; then :
15480 wine_cv_have_fallocate=yes
15481 else
15482 wine_cv_have_fallocate=no
15484 rm -f core conftest.err conftest.$ac_objext \
15485 conftest$ac_exeext conftest.$ac_ext
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15488 $as_echo "$wine_cv_have_fallocate" >&6; }
15489 if test "$wine_cv_have_fallocate" = "yes"
15490 then
15492 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15498 $as_echo_n "checking for inline... " >&6; }
15499 if ${ac_cv_c_inline+:} false; then :
15500 $as_echo_n "(cached) " >&6
15501 else
15502 ac_cv_c_inline=no
15503 for ac_kw in inline __inline__ __inline; do
15504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15505 /* end confdefs.h. */
15506 #ifndef __cplusplus
15507 typedef int foo_t;
15508 static $ac_kw foo_t static_foo () {return 0; }
15509 $ac_kw foo_t foo () {return 0; }
15510 #endif
15512 _ACEOF
15513 if ac_fn_c_try_compile "$LINENO"; then :
15514 ac_cv_c_inline=$ac_kw
15516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15517 test "$ac_cv_c_inline" != no && break
15518 done
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15522 $as_echo "$ac_cv_c_inline" >&6; }
15524 case $ac_cv_c_inline in
15525 inline | yes) ;;
15527 case $ac_cv_c_inline in
15528 no) ac_val=;;
15529 *) ac_val=$ac_cv_c_inline;;
15530 esac
15531 cat >>confdefs.h <<_ACEOF
15532 #ifndef __cplusplus
15533 #define inline $ac_val
15534 #endif
15535 _ACEOF
15537 esac
15539 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15540 if test "x$ac_cv_type_mode_t" = xyes; then :
15542 cat >>confdefs.h <<_ACEOF
15543 #define HAVE_MODE_T 1
15544 _ACEOF
15548 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15549 if test "x$ac_cv_type_off_t" = xyes; then :
15551 cat >>confdefs.h <<_ACEOF
15552 #define HAVE_OFF_T 1
15553 _ACEOF
15557 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15558 if test "x$ac_cv_type_pid_t" = xyes; then :
15560 cat >>confdefs.h <<_ACEOF
15561 #define HAVE_PID_T 1
15562 _ACEOF
15566 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15567 if test "x$ac_cv_type_size_t" = xyes; then :
15569 cat >>confdefs.h <<_ACEOF
15570 #define HAVE_SIZE_T 1
15571 _ACEOF
15575 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15576 if test "x$ac_cv_type_ssize_t" = xyes; then :
15578 cat >>confdefs.h <<_ACEOF
15579 #define HAVE_SSIZE_T 1
15580 _ACEOF
15584 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15585 if test "x$ac_cv_type_long_long" = xyes; then :
15587 cat >>confdefs.h <<_ACEOF
15588 #define HAVE_LONG_LONG 1
15589 _ACEOF
15593 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15594 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15596 cat >>confdefs.h <<_ACEOF
15597 #define HAVE_FSBLKCNT_T 1
15598 _ACEOF
15602 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15603 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15605 cat >>confdefs.h <<_ACEOF
15606 #define HAVE_FSFILCNT_T 1
15607 _ACEOF
15612 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15613 #include <signal.h>
15615 if test "x$ac_cv_type_sigset_t" = xyes; then :
15617 cat >>confdefs.h <<_ACEOF
15618 #define HAVE_SIGSET_T 1
15619 _ACEOF
15624 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15626 if test "x$ac_cv_type_request_sense" = xyes; then :
15628 cat >>confdefs.h <<_ACEOF
15629 #define HAVE_REQUEST_SENSE 1
15630 _ACEOF
15636 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15637 #ifdef HAVE_SYS_SOCKET_H
15638 #include <sys/socket.h>
15639 #endif
15640 #ifdef HAVE_SYS_SOCKETVAR_H
15641 #include <sys/socketvar.h>
15642 #endif
15643 #ifdef HAVE_NET_ROUTE_H
15644 #include <net/route.h>
15645 #endif
15646 #ifdef HAVE_NETINET_IN_H
15647 #include <netinet/in.h>
15648 #endif
15649 #ifdef HAVE_NETINET_IN_SYSTM_H
15650 #include <netinet/in_systm.h>
15651 #endif
15652 #ifdef HAVE_NETINET_IP_H
15653 #include <netinet/ip.h>
15654 #endif
15655 #ifdef HAVE_NETINET_IN_PCB_H
15656 #include <netinet/in_pcb.h>
15657 #endif
15659 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15661 cat >>confdefs.h <<_ACEOF
15662 #define HAVE_STRUCT_XINPGEN 1
15663 _ACEOF
15669 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15670 #include <link.h>
15671 #endif
15672 #ifdef HAVE_SYS_LINK_H
15673 #include <sys/link.h>
15674 #endif
15676 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15678 cat >>confdefs.h <<_ACEOF
15679 #define HAVE_STRUCT_R_DEBUG 1
15680 _ACEOF
15684 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15685 #include <link.h>
15686 #endif
15687 #ifdef HAVE_SYS_LINK_H
15688 #include <sys/link.h>
15689 #endif
15691 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15693 cat >>confdefs.h <<_ACEOF
15694 #define HAVE_STRUCT_LINK_MAP 1
15695 _ACEOF
15701 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15702 #include <linux/input.h>
15703 #endif
15705 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15707 cat >>confdefs.h <<_ACEOF
15708 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15709 _ACEOF
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15716 $as_echo_n "checking for sigaddset... " >&6; }
15717 if ${wine_cv_have_sigaddset+:} false; then :
15718 $as_echo_n "(cached) " >&6
15719 else
15720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15721 /* end confdefs.h. */
15722 #include <signal.h>
15724 main ()
15726 sigset_t set; sigaddset(&set,SIGTERM);
15728 return 0;
15730 _ACEOF
15731 if ac_fn_c_try_link "$LINENO"; then :
15732 wine_cv_have_sigaddset=yes
15733 else
15734 wine_cv_have_sigaddset=no
15736 rm -f core conftest.err conftest.$ac_objext \
15737 conftest$ac_exeext conftest.$ac_ext
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15740 $as_echo "$wine_cv_have_sigaddset" >&6; }
15741 if test "$wine_cv_have_sigaddset" = "yes"
15742 then
15744 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15750 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15751 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15752 $as_echo_n "(cached) " >&6
15753 else
15754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15755 /* end confdefs.h. */
15756 #include <netdb.h>
15758 main ()
15761 char *name=0;
15762 struct hostent he;
15763 struct hostent *result;
15764 char *buf=0;
15765 int bufsize=0;
15766 int errnr;
15767 char *addr=0;
15768 int addrlen=0;
15769 int addrtype=0;
15770 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15771 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15774 return 0;
15776 _ACEOF
15777 if ac_fn_c_try_link "$LINENO"; then :
15778 wine_cv_linux_gethostbyname_r_6=yes
15779 else
15780 wine_cv_linux_gethostbyname_r_6=no
15783 rm -f core conftest.err conftest.$ac_objext \
15784 conftest$ac_exeext conftest.$ac_ext
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15788 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15789 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15790 then
15792 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15796 if test "$ac_cv_header_linux_joystick_h" = "yes"
15797 then
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15799 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15800 if ${wine_cv_linux_joystick_22_api+:} false; then :
15801 $as_echo_n "(cached) " >&6
15802 else
15803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15804 /* end confdefs.h. */
15806 #include <sys/ioctl.h>
15807 #include <sys/types.h>
15808 #include <linux/joystick.h>
15810 struct js_event blub;
15811 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15812 #error "no 2.2 header"
15813 #endif
15816 main ()
15818 /*empty*/
15820 return 0;
15822 _ACEOF
15823 if ac_fn_c_try_compile "$LINENO"; then :
15824 wine_cv_linux_joystick_22_api=yes
15825 else
15826 wine_cv_linux_joystick_22_api=no
15828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15832 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15833 if test "$wine_cv_linux_joystick_22_api" = "yes"
15834 then
15836 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15842 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15843 #ifdef HAVE_SYS_PARAM_H
15844 # include <sys/param.h>
15845 #endif
15846 #ifdef HAVE_SYS_MOUNT_H
15847 # include <sys/mount.h>
15848 #endif
15849 #ifdef HAVE_SYS_VFS_H
15850 # include <sys/vfs.h>
15851 #endif
15852 #ifdef HAVE_SYS_STATFS_H
15853 # include <sys/statfs.h>
15854 #endif
15856 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15858 cat >>confdefs.h <<_ACEOF
15859 #define HAVE_STRUCT_STATFS_F_BFREE 1
15860 _ACEOF
15864 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15865 #ifdef HAVE_SYS_PARAM_H
15866 # include <sys/param.h>
15867 #endif
15868 #ifdef HAVE_SYS_MOUNT_H
15869 # include <sys/mount.h>
15870 #endif
15871 #ifdef HAVE_SYS_VFS_H
15872 # include <sys/vfs.h>
15873 #endif
15874 #ifdef HAVE_SYS_STATFS_H
15875 # include <sys/statfs.h>
15876 #endif
15878 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15880 cat >>confdefs.h <<_ACEOF
15881 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15882 _ACEOF
15886 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15887 #ifdef HAVE_SYS_PARAM_H
15888 # include <sys/param.h>
15889 #endif
15890 #ifdef HAVE_SYS_MOUNT_H
15891 # include <sys/mount.h>
15892 #endif
15893 #ifdef HAVE_SYS_VFS_H
15894 # include <sys/vfs.h>
15895 #endif
15896 #ifdef HAVE_SYS_STATFS_H
15897 # include <sys/statfs.h>
15898 #endif
15900 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15902 cat >>confdefs.h <<_ACEOF
15903 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15904 _ACEOF
15908 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15909 #ifdef HAVE_SYS_PARAM_H
15910 # include <sys/param.h>
15911 #endif
15912 #ifdef HAVE_SYS_MOUNT_H
15913 # include <sys/mount.h>
15914 #endif
15915 #ifdef HAVE_SYS_VFS_H
15916 # include <sys/vfs.h>
15917 #endif
15918 #ifdef HAVE_SYS_STATFS_H
15919 # include <sys/statfs.h>
15920 #endif
15922 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15924 cat >>confdefs.h <<_ACEOF
15925 #define HAVE_STRUCT_STATFS_F_FFREE 1
15926 _ACEOF
15930 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15931 #ifdef HAVE_SYS_PARAM_H
15932 # include <sys/param.h>
15933 #endif
15934 #ifdef HAVE_SYS_MOUNT_H
15935 # include <sys/mount.h>
15936 #endif
15937 #ifdef HAVE_SYS_VFS_H
15938 # include <sys/vfs.h>
15939 #endif
15940 #ifdef HAVE_SYS_STATFS_H
15941 # include <sys/statfs.h>
15942 #endif
15944 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15946 cat >>confdefs.h <<_ACEOF
15947 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15948 _ACEOF
15952 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15953 #ifdef HAVE_SYS_PARAM_H
15954 # include <sys/param.h>
15955 #endif
15956 #ifdef HAVE_SYS_MOUNT_H
15957 # include <sys/mount.h>
15958 #endif
15959 #ifdef HAVE_SYS_VFS_H
15960 # include <sys/vfs.h>
15961 #endif
15962 #ifdef HAVE_SYS_STATFS_H
15963 # include <sys/statfs.h>
15964 #endif
15966 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15968 cat >>confdefs.h <<_ACEOF
15969 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15970 _ACEOF
15976 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15977 #include <sys/statvfs.h>
15978 #endif
15980 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15982 cat >>confdefs.h <<_ACEOF
15983 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15984 _ACEOF
15990 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15991 #include <dirent.h>
15992 #endif
15994 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15996 cat >>confdefs.h <<_ACEOF
15997 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15998 _ACEOF
16004 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16005 #ifdef HAVE_SYS_SOCKET_H
16006 # include <sys/socket.h>
16007 #endif
16008 #ifdef HAVE_SYS_UN_H
16009 # include <sys/un.h>
16010 #endif
16012 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16014 cat >>confdefs.h <<_ACEOF
16015 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16016 _ACEOF
16020 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16021 #ifdef HAVE_SYS_SOCKET_H
16022 # include <sys/socket.h>
16023 #endif
16024 #ifdef HAVE_SYS_UN_H
16025 # include <sys/un.h>
16026 #endif
16028 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16030 cat >>confdefs.h <<_ACEOF
16031 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16032 _ACEOF
16036 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16037 #ifdef HAVE_SYS_SOCKET_H
16038 # include <sys/socket.h>
16039 #endif
16040 #ifdef HAVE_SYS_UN_H
16041 # include <sys/un.h>
16042 #endif
16044 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16046 cat >>confdefs.h <<_ACEOF
16047 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16048 _ACEOF
16054 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16055 #ifdef HAVE_SCSI_SG_H
16056 #include <scsi/sg.h>
16057 #endif
16059 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16061 cat >>confdefs.h <<_ACEOF
16062 #define HAVE_SCSIREQ_T_CMD 1
16063 _ACEOF
16067 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>
16068 #ifdef HAVE_SCSI_SG_H
16069 #include <scsi/sg.h>
16070 #endif
16072 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16074 cat >>confdefs.h <<_ACEOF
16075 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16076 _ACEOF
16082 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16084 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16086 cat >>confdefs.h <<_ACEOF
16087 #define HAVE_SIGINFO_T_SI_FD 1
16088 _ACEOF
16094 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16095 #ifdef HAVE_SYS_MTIO_H
16096 #include <sys/mtio.h>
16097 #endif
16099 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16101 cat >>confdefs.h <<_ACEOF
16102 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16103 _ACEOF
16107 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16108 #ifdef HAVE_SYS_MTIO_H
16109 #include <sys/mtio.h>
16110 #endif
16112 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16114 cat >>confdefs.h <<_ACEOF
16115 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16116 _ACEOF
16120 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16121 #ifdef HAVE_SYS_MTIO_H
16122 #include <sys/mtio.h>
16123 #endif
16125 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16127 cat >>confdefs.h <<_ACEOF
16128 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16129 _ACEOF
16135 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16136 #include <getopt.h>
16137 #endif
16139 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16141 cat >>confdefs.h <<_ACEOF
16142 #define HAVE_STRUCT_OPTION_NAME 1
16143 _ACEOF
16149 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16150 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16152 cat >>confdefs.h <<_ACEOF
16153 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16154 _ACEOF
16158 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16159 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16161 cat >>confdefs.h <<_ACEOF
16162 #define HAVE_STRUCT_STAT_ST_MTIM 1
16163 _ACEOF
16167 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16168 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16170 cat >>confdefs.h <<_ACEOF
16171 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16172 _ACEOF
16176 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16177 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16179 cat >>confdefs.h <<_ACEOF
16180 #define HAVE_STRUCT_STAT_ST_CTIM 1
16181 _ACEOF
16185 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16186 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16188 cat >>confdefs.h <<_ACEOF
16189 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16190 _ACEOF
16194 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16195 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16197 cat >>confdefs.h <<_ACEOF
16198 #define HAVE_STRUCT_STAT_ST_ATIM 1
16199 _ACEOF
16203 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16204 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16206 cat >>confdefs.h <<_ACEOF
16207 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16208 _ACEOF
16212 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16213 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16215 cat >>confdefs.h <<_ACEOF
16216 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16217 _ACEOF
16221 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16222 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16224 cat >>confdefs.h <<_ACEOF
16225 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16226 _ACEOF
16230 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16231 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16233 cat >>confdefs.h <<_ACEOF
16234 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16235 _ACEOF
16239 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16240 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16242 cat >>confdefs.h <<_ACEOF
16243 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16244 _ACEOF
16248 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16249 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16251 cat >>confdefs.h <<_ACEOF
16252 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16253 _ACEOF
16259 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
16260 #include <sys/types.h>
16261 #endif
16262 #ifdef HAVE_NETINET_IN_H
16263 #include <netinet/in.h>
16264 #endif
16266 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16268 cat >>confdefs.h <<_ACEOF
16269 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16270 _ACEOF
16276 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16277 #include <resolv.h>
16278 #endif
16280 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16282 cat >>confdefs.h <<_ACEOF
16283 #define HAVE_STRUCT___RES_STATE 1
16284 _ACEOF
16290 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
16291 #include <resolv.h>
16292 #endif
16294 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16296 cat >>confdefs.h <<_ACEOF
16297 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16298 _ACEOF
16304 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16305 #include <sys/types.h>
16306 #endif
16307 #ifdef HAVE_NETINET_IN_H
16308 # include <netinet/in.h>
16309 #endif
16310 #ifdef HAVE_ARPA_NAMESER_H
16311 # include <arpa/nameser.h>
16312 #endif
16314 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16316 cat >>confdefs.h <<_ACEOF
16317 #define HAVE_NS_MSG__MSG_PTR 1
16318 _ACEOF
16324 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16325 #include <sys/types.h>
16326 #endif
16327 #ifdef HAVE_NETINET_IP_H
16328 #include <netinet/ip.h>
16329 #endif
16330 #ifdef HAVE_NETINET_IP_ICMP_H
16331 #include <netinet/ip_icmp.h>
16332 #endif
16333 #ifdef HAVE_NETINET_ICMP_VAR_H
16334 #include <netinet/icmp_var.h>
16335 #endif
16337 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16339 cat >>confdefs.h <<_ACEOF
16340 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16341 _ACEOF
16347 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16348 #include <sys/types.h>
16349 #endif
16350 #ifdef HAVE_ALIAS_H
16351 #include <alias.h>
16352 #endif
16353 #ifdef HAVE_SYS_SOCKET_H
16354 #include <sys/socket.h>
16355 #endif
16356 #ifdef HAVE_SYS_SOCKETVAR_H
16357 #include <sys/socketvar.h>
16358 #endif
16359 #ifdef HAVE_SYS_TIMEOUT_H
16360 #include <sys/timeout.h>
16361 #endif
16362 #ifdef HAVE_NETINET_IN_H
16363 #include <netinet/in.h>
16364 #endif
16365 #ifdef HAVE_NETINET_IN_SYSTM_H
16366 #include <netinet/in_systm.h>
16367 #endif
16368 #ifdef HAVE_NETINET_IP_H
16369 #include <netinet/ip.h>
16370 #endif
16371 #ifdef HAVE_NETINET_IP_VAR_H
16372 #include <netinet/ip_var.h>
16373 #endif
16374 #ifdef HAVE_NETINET_IP_ICMP_H
16375 #include <netinet/ip_icmp.h>
16376 #endif
16377 #ifdef HAVE_NETINET_ICMP_VAR_H
16378 #include <netinet/icmp_var.h>
16379 #endif
16381 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16383 cat >>confdefs.h <<_ACEOF
16384 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16385 _ACEOF
16391 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16392 #include <sys/types.h>
16393 #endif
16394 #ifdef HAVE_SYS_SOCKETVAR_H
16395 #include <sys/socketvar.h>
16396 #endif
16397 #ifdef HAVE_NETINET_IN_H
16398 #include <netinet/in.h>
16399 #endif
16400 #ifdef HAVE_NETINET_IP_VAR_H
16401 #include <netinet/ip_var.h>
16402 #endif
16404 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16406 cat >>confdefs.h <<_ACEOF
16407 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16408 _ACEOF
16414 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
16415 #include <netinet/ip_var.h>
16416 #endif
16418 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16420 cat >>confdefs.h <<_ACEOF
16421 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16422 _ACEOF
16428 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16429 #include <sys/types.h>
16430 #endif
16431 #ifdef HAVE_SYS_SOCKETVAR_H
16432 #include <sys/socketvar.h>
16433 #endif
16434 #ifdef HAVE_NETINET_IN_H
16435 #include <netinet/in.h>
16436 #endif
16437 #ifdef HAVE_NETINET_TCP_H
16438 #include <netinet/tcp.h>
16439 #endif
16440 #ifdef HAVE_NETINET_TCP_VAR_H
16441 #include <netinet/tcp_var.h>
16442 #endif
16444 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16446 cat >>confdefs.h <<_ACEOF
16447 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16448 _ACEOF
16454 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
16455 #include <netinet/tcp_var.h>
16456 #endif
16458 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16460 cat >>confdefs.h <<_ACEOF
16461 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16462 _ACEOF
16468 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16469 #include <sys/types.h>
16470 #endif
16471 #ifdef HAVE_NETINET_IN_H
16472 #include <netinet/in.h>
16473 #endif
16474 #ifdef HAVE_NETINET_IP_VAR_H
16475 #include <netinet/ip_var.h>
16476 #endif
16477 #ifdef HAVE_NETINET_UDP_H
16478 #include <netinet/udp.h>
16479 #endif
16480 #ifdef HAVE_NETINET_UDP_VAR_H
16481 #include <netinet/udp_var.h>
16482 #endif
16484 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16486 cat >>confdefs.h <<_ACEOF
16487 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16488 _ACEOF
16494 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16495 #include <sys/types.h>
16496 #endif
16497 #ifdef HAVE_NET_IF_H
16498 # include <net/if.h>
16499 #endif
16501 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16503 cat >>confdefs.h <<_ACEOF
16504 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16505 _ACEOF
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16512 $as_echo_n "checking for timezone variable... " >&6; }
16513 if ${ac_cv_have_timezone+:} false; then :
16514 $as_echo_n "(cached) " >&6
16515 else
16516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16517 /* end confdefs.h. */
16518 #include <time.h>
16520 main ()
16522 timezone = 1
16524 return 0;
16526 _ACEOF
16527 if ac_fn_c_try_link "$LINENO"; then :
16528 ac_cv_have_timezone="yes"
16529 else
16530 ac_cv_have_timezone="no"
16532 rm -f core conftest.err conftest.$ac_objext \
16533 conftest$ac_exeext conftest.$ac_ext
16535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16536 $as_echo "$ac_cv_have_timezone" >&6; }
16537 if test "$ac_cv_have_timezone" = "yes"
16538 then
16540 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16544 $as_echo_n "checking for daylight variable... " >&6; }
16545 if ${ac_cv_have_daylight+:} false; then :
16546 $as_echo_n "(cached) " >&6
16547 else
16548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16549 /* end confdefs.h. */
16550 #include <time.h>
16552 main ()
16554 daylight = 1
16556 return 0;
16558 _ACEOF
16559 if ac_fn_c_try_link "$LINENO"; then :
16560 ac_cv_have_daylight="yes"
16561 else
16562 ac_cv_have_daylight="no"
16564 rm -f core conftest.err conftest.$ac_objext \
16565 conftest$ac_exeext conftest.$ac_ext
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16568 $as_echo "$ac_cv_have_daylight" >&6; }
16569 if test "$ac_cv_have_daylight" = "yes"
16570 then
16572 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16576 ac_save_LIBS="$LIBS"
16577 LIBS="$LIBS -lm"
16578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16579 $as_echo_n "checking for isfinite... " >&6; }
16580 if ${ac_cv_have_isfinite+:} false; then :
16581 $as_echo_n "(cached) " >&6
16582 else
16583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16584 /* end confdefs.h. */
16585 #define _GNU_SOURCE
16586 #include <math.h>
16588 main ()
16590 float f = 0.0; return isfinite(f)
16592 return 0;
16594 _ACEOF
16595 if ac_fn_c_try_link "$LINENO"; then :
16596 ac_cv_have_isfinite="yes"
16597 else
16598 ac_cv_have_isfinite="no"
16600 rm -f core conftest.err conftest.$ac_objext \
16601 conftest$ac_exeext conftest.$ac_ext
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16604 $as_echo "$ac_cv_have_isfinite" >&6; }
16605 if test "$ac_cv_have_isfinite" = "yes"
16606 then
16608 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16613 $as_echo_n "checking for isinf... " >&6; }
16614 if ${ac_cv_have_isinf+:} false; then :
16615 $as_echo_n "(cached) " >&6
16616 else
16617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16618 /* end confdefs.h. */
16619 #include <math.h>
16621 main ()
16623 float f = 0.0; return isinf(f)
16625 return 0;
16627 _ACEOF
16628 if ac_fn_c_try_link "$LINENO"; then :
16629 ac_cv_have_isinf="yes"
16630 else
16631 ac_cv_have_isinf="no"
16633 rm -f core conftest.err conftest.$ac_objext \
16634 conftest$ac_exeext conftest.$ac_ext
16636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16637 $as_echo "$ac_cv_have_isinf" >&6; }
16638 if test "$ac_cv_have_isinf" = "yes"
16639 then
16641 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16646 $as_echo_n "checking for isnan... " >&6; }
16647 if ${ac_cv_have_isnan+:} false; then :
16648 $as_echo_n "(cached) " >&6
16649 else
16650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16651 /* end confdefs.h. */
16652 #include <math.h>
16654 main ()
16656 float f = 0.0; return isnan(f)
16658 return 0;
16660 _ACEOF
16661 if ac_fn_c_try_link "$LINENO"; then :
16662 ac_cv_have_isnan="yes"
16663 else
16664 ac_cv_have_isnan="no"
16666 rm -f core conftest.err conftest.$ac_objext \
16667 conftest$ac_exeext conftest.$ac_ext
16669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16670 $as_echo "$ac_cv_have_isnan" >&6; }
16671 if test "$ac_cv_have_isnan" = "yes"
16672 then
16674 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16678 for ac_func in \
16679 cbrt \
16680 cbrtf \
16681 erf \
16682 erff \
16683 exp2 \
16684 exp2f \
16685 llrint \
16686 llrintf \
16687 llround \
16688 llroundf \
16689 log2 \
16690 log2f \
16691 lrint \
16692 lrintf \
16693 lround \
16694 lroundf \
16695 rint \
16696 rintf \
16697 round \
16698 roundf \
16699 trunc \
16700 truncf
16702 do :
16703 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16704 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16705 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16706 cat >>confdefs.h <<_ACEOF
16707 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16708 _ACEOF
16711 done
16713 LIBS="$ac_save_LIBS"
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16716 $as_echo_n "checking for __builtin_clz... " >&6; }
16717 if ${ac_cv_have___builtin_clz+:} false; then :
16718 $as_echo_n "(cached) " >&6
16719 else
16720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16721 /* end confdefs.h. */
16724 main ()
16726 return __builtin_clz(1)
16728 return 0;
16730 _ACEOF
16731 if ac_fn_c_try_link "$LINENO"; then :
16732 ac_cv_have___builtin_clz="yes"
16733 else
16734 ac_cv_have___builtin_clz="no"
16736 rm -f core conftest.err conftest.$ac_objext \
16737 conftest$ac_exeext conftest.$ac_ext
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16740 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16741 if test "$ac_cv_have___builtin_clz" = "yes"
16742 then
16744 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16749 case $host_cpu in
16750 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16751 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16752 if ${ac_cv_cpp_def___i386__+:} false; then :
16753 $as_echo_n "(cached) " >&6
16754 else
16755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16756 /* end confdefs.h. */
16757 #ifndef __i386__
16759 #endif
16760 _ACEOF
16761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16762 $EGREP "yes" >/dev/null 2>&1; then :
16763 ac_cv_cpp_def___i386__=yes
16764 else
16765 ac_cv_cpp_def___i386__=no
16767 rm -f conftest*
16770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16771 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16772 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16773 CFLAGS="$CFLAGS -D__i386__"
16774 LINTFLAGS="$LINTFLAGS -D__i386__"
16775 fi ;;
16776 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16777 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16778 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16779 $as_echo_n "(cached) " >&6
16780 else
16781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16782 /* end confdefs.h. */
16783 #ifndef __x86_64__
16785 #endif
16786 _ACEOF
16787 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16788 $EGREP "yes" >/dev/null 2>&1; then :
16789 ac_cv_cpp_def___x86_64__=yes
16790 else
16791 ac_cv_cpp_def___x86_64__=no
16793 rm -f conftest*
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16797 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16798 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16799 CFLAGS="$CFLAGS -D__x86_64__"
16800 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16801 fi ;;
16802 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16803 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16804 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16805 $as_echo_n "(cached) " >&6
16806 else
16807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16808 /* end confdefs.h. */
16809 #ifndef __sparc64__
16811 #endif
16812 _ACEOF
16813 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16814 $EGREP "yes" >/dev/null 2>&1; then :
16815 ac_cv_cpp_def___sparc64__=yes
16816 else
16817 ac_cv_cpp_def___sparc64__=no
16819 rm -f conftest*
16822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16823 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16824 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16825 CFLAGS="$CFLAGS -D__sparc64__"
16826 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16827 fi ;;
16828 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16829 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16830 if ${ac_cv_cpp_def___sparc__+:} false; then :
16831 $as_echo_n "(cached) " >&6
16832 else
16833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16834 /* end confdefs.h. */
16835 #ifndef __sparc__
16837 #endif
16838 _ACEOF
16839 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16840 $EGREP "yes" >/dev/null 2>&1; then :
16841 ac_cv_cpp_def___sparc__=yes
16842 else
16843 ac_cv_cpp_def___sparc__=no
16845 rm -f conftest*
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16849 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16850 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16851 CFLAGS="$CFLAGS -D__sparc__"
16852 LINTFLAGS="$LINTFLAGS -D__sparc__"
16853 fi ;;
16854 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16855 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16856 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16857 $as_echo_n "(cached) " >&6
16858 else
16859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16860 /* end confdefs.h. */
16861 #ifndef __powerpc64__
16863 #endif
16864 _ACEOF
16865 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16866 $EGREP "yes" >/dev/null 2>&1; then :
16867 ac_cv_cpp_def___powerpc64__=yes
16868 else
16869 ac_cv_cpp_def___powerpc64__=no
16871 rm -f conftest*
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16875 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16876 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16877 CFLAGS="$CFLAGS -D__powerpc64__"
16878 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16879 fi ;;
16880 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16881 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16882 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16883 $as_echo_n "(cached) " >&6
16884 else
16885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16886 /* end confdefs.h. */
16887 #ifndef __powerpc__
16889 #endif
16890 _ACEOF
16891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16892 $EGREP "yes" >/dev/null 2>&1; then :
16893 ac_cv_cpp_def___powerpc__=yes
16894 else
16895 ac_cv_cpp_def___powerpc__=no
16897 rm -f conftest*
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16901 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16902 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16903 CFLAGS="$CFLAGS -D__powerpc__"
16904 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16905 fi ;;
16906 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16907 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16908 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16909 $as_echo_n "(cached) " >&6
16910 else
16911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16912 /* end confdefs.h. */
16913 #ifndef __aarch64__
16915 #endif
16916 _ACEOF
16917 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16918 $EGREP "yes" >/dev/null 2>&1; then :
16919 ac_cv_cpp_def___aarch64__=yes
16920 else
16921 ac_cv_cpp_def___aarch64__=no
16923 rm -f conftest*
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16927 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16928 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16929 CFLAGS="$CFLAGS -D__aarch64__"
16930 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16931 fi ;;
16932 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16933 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16934 if ${ac_cv_cpp_def___arm__+:} false; then :
16935 $as_echo_n "(cached) " >&6
16936 else
16937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16938 /* end confdefs.h. */
16939 #ifndef __arm__
16941 #endif
16942 _ACEOF
16943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16944 $EGREP "yes" >/dev/null 2>&1; then :
16945 ac_cv_cpp_def___arm__=yes
16946 else
16947 ac_cv_cpp_def___arm__=no
16949 rm -f conftest*
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16953 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16954 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16955 CFLAGS="$CFLAGS -D__arm__"
16956 LINTFLAGS="$LINTFLAGS -D__arm__"
16957 fi ;;
16958 esac
16960 case $host_vendor in
16961 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16962 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16963 if ${ac_cv_cpp_def___sun__+:} false; then :
16964 $as_echo_n "(cached) " >&6
16965 else
16966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16967 /* end confdefs.h. */
16968 #ifndef __sun__
16970 #endif
16971 _ACEOF
16972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16973 $EGREP "yes" >/dev/null 2>&1; then :
16974 ac_cv_cpp_def___sun__=yes
16975 else
16976 ac_cv_cpp_def___sun__=no
16978 rm -f conftest*
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16982 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16983 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16984 CFLAGS="$CFLAGS -D__sun__"
16985 LINTFLAGS="$LINTFLAGS -D__sun__"
16986 fi ;;
16987 esac
16993 ac_config_commands="$ac_config_commands include/stamp-h"
16995 $as_echo_n "creating Makefile rules..." >&6
16997 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16998 SOCKET_LIBS = $SOCKET_LIBS
16999 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17000 IOKIT_LIBS = $IOKIT_LIBS
17001 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17002 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17003 CORESERVICES_LIBS = $CORESERVICES_LIBS
17004 APPKIT_LIBS = $APPKIT_LIBS
17005 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17006 SECURITY_LIBS = $SECURITY_LIBS
17007 COREAUDIO_LIBS = $COREAUDIO_LIBS
17008 OPENAL_LIBS = $OPENAL_LIBS
17009 OPENCL_LIBS = $OPENCL_LIBS
17010 QUICKTIME_LIBS = $QUICKTIME_LIBS
17011 CARBON_LIBS = $CARBON_LIBS
17012 PTHREAD_LIBS = $PTHREAD_LIBS
17013 X_CFLAGS = $X_CFLAGS
17014 X_PRE_LIBS = $X_PRE_LIBS
17015 X_LIBS = $X_LIBS
17016 X_EXTRA_LIBS = $X_EXTRA_LIBS
17017 XML2_CFLAGS = $XML2_CFLAGS
17018 XML2_LIBS = $XML2_LIBS
17019 XSLT_CFLAGS = $XSLT_CFLAGS
17020 XSLT_LIBS = $XSLT_LIBS
17021 DBUS_CFLAGS = $DBUS_CFLAGS
17022 DBUS_LIBS = $DBUS_LIBS
17023 HAL_CFLAGS = $HAL_CFLAGS
17024 HAL_LIBS = $HAL_LIBS
17025 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17026 GNUTLS_LIBS = $GNUTLS_LIBS
17027 SANE_CFLAGS = $SANE_CFLAGS
17028 SANE_LIBS = $SANE_LIBS
17029 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17030 GPHOTO2_LIBS = $GPHOTO2_LIBS
17031 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17032 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17033 RESOLV_LIBS = $RESOLV_LIBS
17034 LCMS2_CFLAGS = $LCMS2_CFLAGS
17035 LCMS2_LIBS = $LCMS2_LIBS
17036 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17037 FREETYPE_LIBS = $FREETYPE_LIBS
17038 Z_LIBS = $Z_LIBS
17039 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17040 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17041 GSTREAMER_LIBS = $GSTREAMER_LIBS
17042 ALSA_LIBS = $ALSA_LIBS
17043 OSS4_CFLAGS = $OSS4_CFLAGS
17044 CAPI20_CFLAGS = $CAPI20_CFLAGS
17045 CAPI20_LIBS = $CAPI20_LIBS
17046 CUPS_CFLAGS = $CUPS_CFLAGS
17047 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17048 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17049 JPEG_CFLAGS = $JPEG_CFLAGS
17050 JPEG_LIBS = $JPEG_LIBS
17051 PNG_CFLAGS = $PNG_CFLAGS
17052 PNG_LIBS = $PNG_LIBS
17053 TIFF_CFLAGS = $TIFF_CFLAGS
17054 TIFF_LIBS = $TIFF_LIBS
17055 MPG123_CFLAGS = $MPG123_CFLAGS
17056 MPG123_LIBS = $MPG123_LIBS
17057 KSTAT_LIBS = $KSTAT_LIBS
17058 PROCSTAT_LIBS = $PROCSTAT_LIBS
17059 DL_LIBS = $DL_LIBS
17060 POLL_LIBS = $POLL_LIBS
17061 RT_LIBS = $RT_LIBS
17062 LDAP_LIBS = $LDAP_LIBS
17067 wine_fn_append_rule "
17068 # Rules automatically generated by configure
17070 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17072 .INIT: Makefile
17073 .MAKEFILEDEPS:
17074 all: Makefile
17075 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
17076 @./config.status Make.tmp Makefile"
17078 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
17079 .gitignore: config.status
17080 @./config.status .gitignore"
17082 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17083 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17085 if test "x$enable_fonts" != xno; then
17086 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17087 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17088 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17089 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17090 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
17092 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17093 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17094 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17095 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17096 ac_config_links="$ac_config_links wine:tools/winewrapper"
17097 wine_fn_config_symlink wine
17098 if test "x$enable_win64" != xno; then
17099 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17100 wine_fn_config_symlink wine64
17103 wine_fn_config_dll acledit enable_acledit
17104 wine_fn_config_dll aclui enable_aclui implib
17105 wine_fn_config_dll activeds enable_activeds implib
17106 wine_fn_config_dll actxprxy enable_actxprxy clean
17107 wine_fn_config_lib adsiid
17108 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17109 wine_fn_config_test dlls/advapi32/tests advapi32_test
17110 wine_fn_config_dll advpack enable_advpack implib
17111 wine_fn_config_test dlls/advpack/tests advpack_test
17112 wine_fn_config_dll amstream enable_amstream clean
17113 wine_fn_config_test dlls/amstream/tests amstream_test
17114 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17115 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17116 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17117 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17118 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17119 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17120 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17121 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17122 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17123 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17124 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17125 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17126 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17127 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17128 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17129 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17130 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17131 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17132 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17133 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17134 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17135 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17136 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17137 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17138 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17139 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17140 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17141 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17142 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17143 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17144 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17145 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17146 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17147 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17148 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17149 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17150 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17151 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17152 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17153 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17154 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17155 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17156 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17157 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17158 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17159 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17160 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17161 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17162 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17163 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17164 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17165 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17166 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17167 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17168 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17169 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17170 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17171 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17172 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17173 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17174 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17175 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17176 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17177 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17178 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17179 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17180 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17181 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17182 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17183 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17184 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17185 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17186 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17187 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17188 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17189 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17190 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17191 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17192 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17193 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17194 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17195 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17196 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17197 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17198 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17199 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17200 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17201 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17202 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17203 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17204 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17205 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17206 wine_fn_config_dll apphelp enable_apphelp
17207 wine_fn_config_test dlls/apphelp/tests apphelp_test
17208 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17209 wine_fn_config_dll atl enable_atl clean,implib
17210 wine_fn_config_test dlls/atl/tests atl_test
17211 wine_fn_config_dll atl100 enable_atl100 clean,implib
17212 wine_fn_config_test dlls/atl100/tests atl100_test
17213 wine_fn_config_dll atl110 enable_atl110 clean
17214 wine_fn_config_dll atl80 enable_atl80 clean,implib
17215 wine_fn_config_test dlls/atl80/tests atl80_test
17216 wine_fn_config_dll atl90 enable_atl90 clean
17217 wine_fn_config_dll authz enable_authz
17218 wine_fn_config_dll avicap32 enable_avicap32 implib
17219 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17220 wine_fn_config_test dlls/avifil32/tests avifil32_test
17221 wine_fn_config_dll avifile.dll16 enable_win16
17222 wine_fn_config_dll avrt enable_avrt implib
17223 wine_fn_config_dll bcrypt enable_bcrypt
17224 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17225 wine_fn_config_dll browseui enable_browseui clean,po
17226 wine_fn_config_test dlls/browseui/tests browseui_test
17227 wine_fn_config_dll cabinet enable_cabinet implib
17228 wine_fn_config_test dlls/cabinet/tests cabinet_test
17229 wine_fn_config_dll capi2032 enable_capi2032 implib
17230 wine_fn_config_dll cards enable_cards implib
17231 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17232 wine_fn_config_dll clusapi enable_clusapi implib
17233 wine_fn_config_dll combase enable_combase
17234 wine_fn_config_test dlls/combase/tests combase_test
17235 wine_fn_config_dll comcat enable_comcat
17236 wine_fn_config_test dlls/comcat/tests comcat_test
17237 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17238 wine_fn_config_test dlls/comctl32/tests comctl32_test
17239 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17240 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17241 wine_fn_config_dll comm.drv16 enable_win16
17242 wine_fn_config_dll commdlg.dll16 enable_win16
17243 wine_fn_config_dll compobj.dll16 enable_win16
17244 wine_fn_config_dll compstui enable_compstui implib
17245 wine_fn_config_dll comsvcs enable_comsvcs implib
17246 wine_fn_config_dll connect enable_connect
17247 wine_fn_config_dll credui enable_credui implib,po
17248 wine_fn_config_test dlls/credui/tests credui_test
17249 wine_fn_config_dll crtdll enable_crtdll implib
17250 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17251 wine_fn_config_test dlls/crypt32/tests crypt32_test
17252 wine_fn_config_dll cryptdlg enable_cryptdlg po
17253 wine_fn_config_dll cryptdll enable_cryptdll implib
17254 wine_fn_config_dll cryptext enable_cryptext
17255 wine_fn_config_dll cryptnet enable_cryptnet implib
17256 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17257 wine_fn_config_dll cryptui enable_cryptui implib,po
17258 wine_fn_config_test dlls/cryptui/tests cryptui_test
17259 wine_fn_config_dll ctapi32 enable_ctapi32
17260 wine_fn_config_dll ctl3d.dll16 enable_win16
17261 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17262 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17263 wine_fn_config_dll d2d1 enable_d2d1 implib
17264 wine_fn_config_test dlls/d2d1/tests d2d1_test
17265 wine_fn_config_dll d3d10 enable_d3d10 implib
17266 wine_fn_config_test dlls/d3d10/tests d3d10_test
17267 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17268 wine_fn_config_dll d3d10core enable_d3d10core implib
17269 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17270 wine_fn_config_dll d3d11 enable_d3d11 implib
17271 wine_fn_config_test dlls/d3d11/tests d3d11_test
17272 wine_fn_config_dll d3d8 enable_d3d8 implib
17273 wine_fn_config_test dlls/d3d8/tests d3d8_test
17274 wine_fn_config_dll d3d9 enable_d3d9 implib
17275 wine_fn_config_test dlls/d3d9/tests d3d9_test
17276 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17277 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17278 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17279 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17280 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17281 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17282 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17283 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17284 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17285 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17286 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17287 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17288 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17289 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17290 wine_fn_config_dll d3dim enable_d3dim implib
17291 wine_fn_config_dll d3drm enable_d3drm implib
17292 wine_fn_config_test dlls/d3drm/tests d3drm_test
17293 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17294 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17295 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17296 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17297 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17298 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17299 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17300 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17301 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17302 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17303 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17304 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17305 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17306 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17307 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17308 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17309 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17310 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17311 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17312 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17313 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17314 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17315 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17316 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17317 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17318 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17319 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17320 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17321 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17322 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17323 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17324 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17325 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17326 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17327 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17328 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17329 wine_fn_config_dll davclnt enable_davclnt
17330 wine_fn_config_dll dbgeng enable_dbgeng implib
17331 wine_fn_config_dll dbghelp enable_dbghelp implib
17332 wine_fn_config_dll dciman32 enable_dciman32 implib
17333 wine_fn_config_dll ddeml.dll16 enable_win16
17334 wine_fn_config_dll ddraw enable_ddraw clean,implib
17335 wine_fn_config_test dlls/ddraw/tests ddraw_test
17336 wine_fn_config_dll ddrawex enable_ddrawex clean
17337 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17338 wine_fn_config_dll devenum enable_devenum clean,po
17339 wine_fn_config_test dlls/devenum/tests devenum_test
17340 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17341 wine_fn_config_dll difxapi enable_difxapi
17342 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17343 wine_fn_config_test dlls/dinput/tests dinput_test
17344 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17345 wine_fn_config_test dlls/dinput8/tests dinput8_test
17346 wine_fn_config_dll dispdib.dll16 enable_win16
17347 wine_fn_config_dll dispex enable_dispex clean
17348 wine_fn_config_test dlls/dispex/tests dispex_test
17349 wine_fn_config_dll display.drv16 enable_win16
17350 wine_fn_config_dll dmband enable_dmband clean
17351 wine_fn_config_test dlls/dmband/tests dmband_test
17352 wine_fn_config_dll dmcompos enable_dmcompos clean
17353 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17354 wine_fn_config_dll dmime enable_dmime clean
17355 wine_fn_config_test dlls/dmime/tests dmime_test
17356 wine_fn_config_dll dmloader enable_dmloader clean
17357 wine_fn_config_test dlls/dmloader/tests dmloader_test
17358 wine_fn_config_dll dmscript enable_dmscript clean
17359 wine_fn_config_test dlls/dmscript/tests dmscript_test
17360 wine_fn_config_dll dmstyle enable_dmstyle clean
17361 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17362 wine_fn_config_dll dmsynth enable_dmsynth clean
17363 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17364 wine_fn_config_dll dmusic enable_dmusic clean
17365 wine_fn_config_test dlls/dmusic/tests dmusic_test
17366 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17367 wine_fn_config_dll dnsapi enable_dnsapi implib
17368 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17369 wine_fn_config_dll dplay enable_dplay implib
17370 wine_fn_config_dll dplayx enable_dplayx clean,implib
17371 wine_fn_config_test dlls/dplayx/tests dplayx_test
17372 wine_fn_config_dll dpnaddr enable_dpnaddr
17373 wine_fn_config_dll dpnet enable_dpnet clean,implib
17374 wine_fn_config_test dlls/dpnet/tests dpnet_test
17375 wine_fn_config_dll dpnhpast enable_dpnhpast
17376 wine_fn_config_dll dpnlobby enable_dpnlobby
17377 wine_fn_config_dll dpvoice enable_dpvoice clean
17378 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17379 wine_fn_config_dll dpwsockx enable_dpwsockx
17380 wine_fn_config_dll drmclien enable_drmclien
17381 wine_fn_config_dll dsound enable_dsound clean,implib
17382 wine_fn_config_test dlls/dsound/tests dsound_test
17383 wine_fn_config_dll dssenh enable_dssenh
17384 wine_fn_config_test dlls/dssenh/tests dssenh_test
17385 wine_fn_config_dll dswave enable_dswave clean
17386 wine_fn_config_test dlls/dswave/tests dswave_test
17387 wine_fn_config_dll dwmapi enable_dwmapi implib
17388 wine_fn_config_dll dwrite enable_dwrite implib
17389 wine_fn_config_test dlls/dwrite/tests dwrite_test
17390 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17391 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17392 wine_fn_config_lib dxerr8
17393 wine_fn_config_lib dxerr9
17394 wine_fn_config_dll dxgi enable_dxgi implib
17395 wine_fn_config_test dlls/dxgi/tests dxgi_test
17396 wine_fn_config_lib dxguid
17397 wine_fn_config_dll dxva2 enable_dxva2
17398 wine_fn_config_dll evr enable_evr
17399 wine_fn_config_dll explorerframe enable_explorerframe clean
17400 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17401 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17402 wine_fn_config_dll faultrep enable_faultrep implib
17403 wine_fn_config_test dlls/faultrep/tests faultrep_test
17404 wine_fn_config_dll fltlib enable_fltlib
17405 wine_fn_config_dll fntcache enable_fntcache
17406 wine_fn_config_dll fontsub enable_fontsub
17407 wine_fn_config_dll fusion enable_fusion
17408 wine_fn_config_test dlls/fusion/tests fusion_test
17409 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17410 wine_fn_config_dll gameux enable_gameux clean
17411 wine_fn_config_test dlls/gameux/tests gameux_test
17412 wine_fn_config_dll gdi.exe16 enable_win16
17413 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17414 wine_fn_config_test dlls/gdi32/tests gdi32_test
17415 wine_fn_config_dll gdiplus enable_gdiplus implib
17416 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17417 wine_fn_config_dll glu32 enable_glu32 implib
17418 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17419 wine_fn_config_dll gpkcsp enable_gpkcsp
17420 wine_fn_config_dll hal enable_hal
17421 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17422 wine_fn_config_dll hid enable_hid implib
17423 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17424 wine_fn_config_dll hlink enable_hlink clean,implib
17425 wine_fn_config_test dlls/hlink/tests hlink_test
17426 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17427 wine_fn_config_dll httpapi enable_httpapi
17428 wine_fn_config_dll iccvid enable_iccvid po
17429 wine_fn_config_dll icmp enable_icmp
17430 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17431 wine_fn_config_test dlls/ieframe/tests ieframe_test
17432 wine_fn_config_dll ifsmgr.vxd enable_win16
17433 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17434 wine_fn_config_dll imagehlp enable_imagehlp implib
17435 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17436 wine_fn_config_dll imm.dll16 enable_win16
17437 wine_fn_config_dll imm32 enable_imm32 implib
17438 wine_fn_config_test dlls/imm32/tests imm32_test
17439 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17440 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17441 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17442 wine_fn_config_dll inetmib1 enable_inetmib1
17443 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17444 wine_fn_config_dll infosoft enable_infosoft clean
17445 wine_fn_config_test dlls/infosoft/tests infosoft_test
17446 wine_fn_config_dll initpki enable_initpki
17447 wine_fn_config_dll inkobj enable_inkobj
17448 wine_fn_config_dll inseng enable_inseng clean
17449 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17450 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17451 wine_fn_config_dll itircl enable_itircl
17452 wine_fn_config_dll itss enable_itss clean
17453 wine_fn_config_test dlls/itss/tests itss_test
17454 wine_fn_config_dll joy.cpl enable_joy_cpl po
17455 wine_fn_config_dll jscript enable_jscript clean,po
17456 wine_fn_config_test dlls/jscript/tests jscript_test
17457 wine_fn_config_dll jsproxy enable_jsproxy implib
17458 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17459 wine_fn_config_test dlls/kernel32/tests kernel32_test
17460 wine_fn_config_dll keyboard.drv16 enable_win16
17461 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17462 wine_fn_config_dll ksuser enable_ksuser
17463 wine_fn_config_dll ktmw32 enable_ktmw32
17464 wine_fn_config_dll loadperf enable_loadperf implib
17465 wine_fn_config_dll localspl enable_localspl po
17466 wine_fn_config_test dlls/localspl/tests localspl_test
17467 wine_fn_config_dll localui enable_localui po
17468 wine_fn_config_test dlls/localui/tests localui_test
17469 wine_fn_config_dll lz32 enable_lz32 implib
17470 wine_fn_config_test dlls/lz32/tests lz32_test
17471 wine_fn_config_dll lzexpand.dll16 enable_win16
17472 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17473 wine_fn_config_test dlls/mapi32/tests mapi32_test
17474 wine_fn_config_dll mapistub enable_mapistub
17475 wine_fn_config_dll mciavi32 enable_mciavi32
17476 wine_fn_config_dll mcicda enable_mcicda
17477 wine_fn_config_dll mciqtz32 enable_mciqtz32
17478 wine_fn_config_dll mciseq enable_mciseq
17479 wine_fn_config_dll mciwave enable_mciwave
17480 wine_fn_config_dll mf enable_mf
17481 wine_fn_config_dll mfplat enable_mfplat
17482 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17483 wine_fn_config_dll mgmtapi enable_mgmtapi
17484 wine_fn_config_dll midimap enable_midimap
17485 wine_fn_config_dll mlang enable_mlang clean,implib
17486 wine_fn_config_test dlls/mlang/tests mlang_test
17487 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17488 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17489 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17490 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17491 wine_fn_config_dll mmdevldr.vxd enable_win16
17492 wine_fn_config_dll mmsystem.dll16 enable_win16
17493 wine_fn_config_dll monodebg.vxd enable_win16
17494 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17495 wine_fn_config_dll mouse.drv16 enable_win16
17496 wine_fn_config_dll mpr enable_mpr implib,po
17497 wine_fn_config_test dlls/mpr/tests mpr_test
17498 wine_fn_config_dll mprapi enable_mprapi implib
17499 wine_fn_config_dll msacm.dll16 enable_win16
17500 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17501 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17502 wine_fn_config_test dlls/msacm32/tests msacm32_test
17503 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17504 wine_fn_config_dll msasn1 enable_msasn1 implib
17505 wine_fn_config_dll mscat32 enable_mscat32
17506 wine_fn_config_dll mscms enable_mscms implib
17507 wine_fn_config_test dlls/mscms/tests mscms_test
17508 wine_fn_config_dll mscoree enable_mscoree clean
17509 wine_fn_config_test dlls/mscoree/tests mscoree_test
17510 wine_fn_config_dll msctf enable_msctf clean
17511 wine_fn_config_test dlls/msctf/tests msctf_test
17512 wine_fn_config_dll msctfp enable_msctfp clean
17513 wine_fn_config_dll msdaps enable_msdaps clean
17514 wine_fn_config_dll msdmo enable_msdmo implib
17515 wine_fn_config_test dlls/msdmo/tests msdmo_test
17516 wine_fn_config_dll msftedit enable_msftedit
17517 wine_fn_config_dll msg711.acm enable_msg711_acm
17518 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17519 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17520 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17521 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17522 wine_fn_config_dll msi enable_msi clean,implib,po
17523 wine_fn_config_test dlls/msi/tests msi_test
17524 wine_fn_config_dll msident enable_msident clean
17525 wine_fn_config_dll msimg32 enable_msimg32 implib
17526 wine_fn_config_dll msimsg enable_msimsg
17527 wine_fn_config_dll msimtf enable_msimtf clean
17528 wine_fn_config_dll msisip enable_msisip
17529 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17530 wine_fn_config_dll msls31 enable_msls31
17531 wine_fn_config_dll msnet32 enable_msnet32
17532 wine_fn_config_dll mspatcha enable_mspatcha implib
17533 wine_fn_config_dll msrle32 enable_msrle32 po
17534 wine_fn_config_test dlls/msrle32/tests msrle32_test
17535 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17536 wine_fn_config_dll mssign32 enable_mssign32
17537 wine_fn_config_dll mssip32 enable_mssip32
17538 wine_fn_config_dll mstask enable_mstask clean
17539 wine_fn_config_test dlls/mstask/tests mstask_test
17540 wine_fn_config_dll msvcirt enable_msvcirt
17541 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17542 wine_fn_config_dll msvcm80 enable_msvcm80
17543 wine_fn_config_dll msvcm90 enable_msvcm90
17544 wine_fn_config_dll msvcp100 enable_msvcp100
17545 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17546 wine_fn_config_dll msvcp110 enable_msvcp110
17547 wine_fn_config_dll msvcp120 enable_msvcp120
17548 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17549 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17550 wine_fn_config_dll msvcp60 enable_msvcp60
17551 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17552 wine_fn_config_dll msvcp70 enable_msvcp70
17553 wine_fn_config_dll msvcp71 enable_msvcp71
17554 wine_fn_config_dll msvcp80 enable_msvcp80
17555 wine_fn_config_dll msvcp90 enable_msvcp90
17556 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17557 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17558 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17559 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17560 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17561 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17562 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17563 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17564 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17565 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17566 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17567 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17568 wine_fn_config_dll msvcrt enable_msvcrt implib
17569 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17570 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17571 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17572 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17573 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17574 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17575 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17576 wine_fn_config_dll msvidc32 enable_msvidc32 po
17577 wine_fn_config_dll msvideo.dll16 enable_win16
17578 wine_fn_config_dll mswsock enable_mswsock implib
17579 wine_fn_config_dll msxml enable_msxml clean
17580 wine_fn_config_dll msxml2 enable_msxml2 clean
17581 wine_fn_config_dll msxml3 enable_msxml3 clean
17582 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17583 wine_fn_config_dll msxml4 enable_msxml4 clean
17584 wine_fn_config_dll msxml6 enable_msxml6 clean
17585 wine_fn_config_dll nddeapi enable_nddeapi implib
17586 wine_fn_config_dll ndis.sys enable_ndis_sys
17587 wine_fn_config_dll netapi32 enable_netapi32 implib
17588 wine_fn_config_test dlls/netapi32/tests netapi32_test
17589 wine_fn_config_dll netcfgx enable_netcfgx clean
17590 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17591 wine_fn_config_dll netprofm enable_netprofm clean
17592 wine_fn_config_test dlls/netprofm/tests netprofm_test
17593 wine_fn_config_dll newdev enable_newdev implib
17594 wine_fn_config_dll normaliz enable_normaliz implib
17595 wine_fn_config_dll npmshtml enable_npmshtml
17596 wine_fn_config_dll npptools enable_npptools
17597 wine_fn_config_dll ntdll enable_ntdll implib
17598 wine_fn_config_test dlls/ntdll/tests ntdll_test
17599 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17600 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17601 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17602 wine_fn_config_dll ntprint enable_ntprint
17603 wine_fn_config_test dlls/ntprint/tests ntprint_test
17604 wine_fn_config_dll objsel enable_objsel clean
17605 wine_fn_config_dll odbc32 enable_odbc32 implib
17606 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17607 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17608 wine_fn_config_dll odbccu32 enable_odbccu32
17609 wine_fn_config_dll ole2.dll16 enable_win16
17610 wine_fn_config_dll ole2conv.dll16 enable_win16
17611 wine_fn_config_dll ole2disp.dll16 enable_win16
17612 wine_fn_config_dll ole2nls.dll16 enable_win16
17613 wine_fn_config_dll ole2prox.dll16 enable_win16
17614 wine_fn_config_dll ole2thk.dll16 enable_win16
17615 wine_fn_config_dll ole32 enable_ole32 clean,implib
17616 wine_fn_config_test dlls/ole32/tests ole32_test
17617 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17618 wine_fn_config_test dlls/oleacc/tests oleacc_test
17619 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17620 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17621 wine_fn_config_dll olecli.dll16 enable_win16
17622 wine_fn_config_dll olecli32 enable_olecli32 implib
17623 wine_fn_config_dll oledb32 enable_oledb32 clean
17624 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17625 wine_fn_config_dll oledlg enable_oledlg implib,po
17626 wine_fn_config_test dlls/oledlg/tests oledlg_test
17627 wine_fn_config_dll olepro32 enable_olepro32 implib
17628 wine_fn_config_dll olesvr.dll16 enable_win16
17629 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17630 wine_fn_config_dll olethk32 enable_olethk32
17631 wine_fn_config_dll openal32 enable_openal32
17632 wine_fn_config_dll opencl enable_opencl
17633 wine_fn_config_dll opengl32 enable_opengl32 implib
17634 wine_fn_config_test dlls/opengl32/tests opengl32_test
17635 wine_fn_config_dll packager enable_packager clean
17636 wine_fn_config_test dlls/packager/tests packager_test
17637 wine_fn_config_dll pdh enable_pdh implib
17638 wine_fn_config_test dlls/pdh/tests pdh_test
17639 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17640 wine_fn_config_dll pidgen enable_pidgen
17641 wine_fn_config_dll powrprof enable_powrprof implib
17642 wine_fn_config_dll printui enable_printui
17643 wine_fn_config_dll prntvpt enable_prntvpt
17644 wine_fn_config_dll propsys enable_propsys clean,implib
17645 wine_fn_config_test dlls/propsys/tests propsys_test
17646 wine_fn_config_dll psapi enable_psapi implib
17647 wine_fn_config_test dlls/psapi/tests psapi_test
17648 wine_fn_config_dll pstorec enable_pstorec clean
17649 wine_fn_config_dll qcap enable_qcap
17650 wine_fn_config_test dlls/qcap/tests qcap_test
17651 wine_fn_config_dll qedit enable_qedit clean
17652 wine_fn_config_test dlls/qedit/tests qedit_test
17653 wine_fn_config_dll qmgr enable_qmgr clean
17654 wine_fn_config_test dlls/qmgr/tests qmgr_test
17655 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17656 wine_fn_config_dll quartz enable_quartz clean,implib
17657 wine_fn_config_test dlls/quartz/tests quartz_test clean
17658 wine_fn_config_dll query enable_query
17659 wine_fn_config_dll rasapi16.dll16 enable_win16
17660 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17661 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17662 wine_fn_config_dll rasdlg enable_rasdlg implib
17663 wine_fn_config_dll regapi enable_regapi
17664 wine_fn_config_dll resutils enable_resutils implib
17665 wine_fn_config_dll riched20 enable_riched20 clean,implib
17666 wine_fn_config_test dlls/riched20/tests riched20_test
17667 wine_fn_config_dll riched32 enable_riched32
17668 wine_fn_config_test dlls/riched32/tests riched32_test
17669 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17670 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17671 wine_fn_config_dll rsabase enable_rsabase
17672 wine_fn_config_dll rsaenh enable_rsaenh implib
17673 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17674 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17675 wine_fn_config_dll rtutils enable_rtutils implib
17676 wine_fn_config_dll samlib enable_samlib
17677 wine_fn_config_dll sane.ds enable_sane_ds po
17678 wine_fn_config_dll scarddlg enable_scarddlg
17679 wine_fn_config_dll sccbase enable_sccbase
17680 wine_fn_config_dll schannel enable_schannel
17681 wine_fn_config_test dlls/schannel/tests schannel_test
17682 wine_fn_config_dll schedsvc enable_schedsvc clean
17683 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17684 wine_fn_config_dll scrrun enable_scrrun clean
17685 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17686 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17687 wine_fn_config_dll secur32 enable_secur32 implib
17688 wine_fn_config_test dlls/secur32/tests secur32_test
17689 wine_fn_config_dll security enable_security
17690 wine_fn_config_dll sensapi enable_sensapi implib
17691 wine_fn_config_dll serialui enable_serialui implib,po
17692 wine_fn_config_test dlls/serialui/tests serialui_test
17693 wine_fn_config_dll setupapi enable_setupapi implib,po
17694 wine_fn_config_test dlls/setupapi/tests setupapi_test
17695 wine_fn_config_dll setupx.dll16 enable_win16
17696 wine_fn_config_dll sfc enable_sfc implib
17697 wine_fn_config_dll sfc_os enable_sfc_os implib
17698 wine_fn_config_dll shdoclc enable_shdoclc po
17699 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17700 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17701 wine_fn_config_dll shell.dll16 enable_win16
17702 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17703 wine_fn_config_test dlls/shell32/tests shell32_test
17704 wine_fn_config_dll shfolder enable_shfolder implib
17705 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17706 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17707 wine_fn_config_dll slbcsp enable_slbcsp
17708 wine_fn_config_dll slc enable_slc implib
17709 wine_fn_config_test dlls/slc/tests slc_test
17710 wine_fn_config_dll snmpapi enable_snmpapi implib
17711 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17712 wine_fn_config_dll softpub enable_softpub
17713 wine_fn_config_dll sound.drv16 enable_win16
17714 wine_fn_config_dll spoolss enable_spoolss implib
17715 wine_fn_config_test dlls/spoolss/tests spoolss_test
17716 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17717 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17718 wine_fn_config_dll sti enable_sti clean,implib
17719 wine_fn_config_test dlls/sti/tests sti_test
17720 wine_fn_config_dll storage.dll16 enable_win16
17721 wine_fn_config_dll stress.dll16 enable_win16
17722 wine_fn_config_lib strmbase
17723 wine_fn_config_lib strmiids
17724 wine_fn_config_dll svrapi enable_svrapi
17725 wine_fn_config_dll sxs enable_sxs implib
17726 wine_fn_config_test dlls/sxs/tests sxs_test
17727 wine_fn_config_dll system.drv16 enable_win16
17728 wine_fn_config_dll t2embed enable_t2embed
17729 wine_fn_config_dll tapi32 enable_tapi32 implib
17730 wine_fn_config_dll taskschd enable_taskschd clean
17731 wine_fn_config_test dlls/taskschd/tests taskschd_test
17732 wine_fn_config_dll toolhelp.dll16 enable_win16
17733 wine_fn_config_dll traffic enable_traffic
17734 wine_fn_config_dll twain.dll16 enable_win16
17735 wine_fn_config_dll twain_32 enable_twain_32
17736 wine_fn_config_test dlls/twain_32/tests twain_32_test
17737 wine_fn_config_dll typelib.dll16 enable_win16
17738 wine_fn_config_dll ucrtbase enable_ucrtbase
17739 wine_fn_config_dll unicows enable_unicows implib
17740 wine_fn_config_dll updspapi enable_updspapi
17741 wine_fn_config_dll url enable_url implib
17742 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17743 wine_fn_config_test dlls/urlmon/tests urlmon_test
17744 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17745 wine_fn_config_dll user.exe16 enable_win16
17746 wine_fn_config_dll user32 enable_user32 clean,implib,po
17747 wine_fn_config_test dlls/user32/tests user32_test
17748 wine_fn_config_dll userenv enable_userenv implib
17749 wine_fn_config_test dlls/userenv/tests userenv_test
17750 wine_fn_config_dll usp10 enable_usp10 implib
17751 wine_fn_config_test dlls/usp10/tests usp10_test
17752 wine_fn_config_lib uuid
17753 wine_fn_config_dll uxtheme enable_uxtheme implib
17754 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17755 wine_fn_config_dll vbscript enable_vbscript clean
17756 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17757 wine_fn_config_dll vcomp enable_vcomp
17758 wine_fn_config_test dlls/vcomp/tests vcomp_test
17759 wine_fn_config_dll vcomp100 enable_vcomp100
17760 wine_fn_config_dll vcomp110 enable_vcomp110
17761 wine_fn_config_dll vcomp90 enable_vcomp90
17762 wine_fn_config_dll vdhcp.vxd enable_win16
17763 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17764 wine_fn_config_dll ver.dll16 enable_win16
17765 wine_fn_config_dll version enable_version implib
17766 wine_fn_config_test dlls/version/tests version_test
17767 wine_fn_config_dll vmm.vxd enable_win16
17768 wine_fn_config_dll vnbt.vxd enable_win16
17769 wine_fn_config_dll vnetbios.vxd enable_win16
17770 wine_fn_config_dll vssapi enable_vssapi
17771 wine_fn_config_dll vtdapi.vxd enable_win16
17772 wine_fn_config_dll vwin32.vxd enable_win16
17773 wine_fn_config_dll w32skrnl enable_win16
17774 wine_fn_config_dll w32sys.dll16 enable_win16
17775 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17776 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17777 wine_fn_config_dll wbemprox enable_wbemprox clean
17778 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17779 wine_fn_config_dll webservices enable_webservices implib
17780 wine_fn_config_dll wer enable_wer implib
17781 wine_fn_config_test dlls/wer/tests wer_test
17782 wine_fn_config_dll wevtapi enable_wevtapi
17783 wine_fn_config_dll wiaservc enable_wiaservc clean
17784 wine_fn_config_dll win32s16.dll16 enable_win16
17785 wine_fn_config_dll win87em.dll16 enable_win16
17786 wine_fn_config_dll winaspi.dll16 enable_win16
17787 wine_fn_config_dll windebug.dll16 enable_win16
17788 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17789 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17790 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17791 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17792 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17793 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17794 wine_fn_config_lib winecrt0
17795 wine_fn_config_dll wined3d enable_wined3d implib
17796 wine_fn_config_dll winegstreamer enable_winegstreamer
17797 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17798 wine_fn_config_dll winemac.drv enable_winemac_drv
17799 wine_fn_config_dll winemapi enable_winemapi
17800 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17801 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17802 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17803 wine_fn_config_dll wineps16.drv16 enable_win16
17804 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17805 wine_fn_config_dll winex11.drv enable_winex11_drv
17806 wine_fn_config_dll wing.dll16 enable_win16
17807 wine_fn_config_dll wing32 enable_wing32
17808 wine_fn_config_dll winhttp enable_winhttp clean,implib
17809 wine_fn_config_test dlls/winhttp/tests winhttp_test
17810 wine_fn_config_dll wininet enable_wininet implib,po
17811 wine_fn_config_test dlls/wininet/tests wininet_test
17812 wine_fn_config_dll winmm enable_winmm implib,po
17813 wine_fn_config_test dlls/winmm/tests winmm_test
17814 wine_fn_config_dll winnls.dll16 enable_win16
17815 wine_fn_config_dll winnls32 enable_winnls32 implib
17816 wine_fn_config_dll winscard enable_winscard implib
17817 wine_fn_config_dll winsock.dll16 enable_win16
17818 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17819 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17820 wine_fn_config_dll winsta enable_winsta
17821 wine_fn_config_dll wintab.dll16 enable_win16
17822 wine_fn_config_dll wintab32 enable_wintab32 implib
17823 wine_fn_config_test dlls/wintab32/tests wintab32_test
17824 wine_fn_config_dll wintrust enable_wintrust implib
17825 wine_fn_config_test dlls/wintrust/tests wintrust_test
17826 wine_fn_config_dll wlanapi enable_wlanapi
17827 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17828 wine_fn_config_test dlls/wldap32/tests wldap32_test
17829 wine_fn_config_dll wmi enable_wmi
17830 wine_fn_config_dll wmiutils enable_wmiutils clean
17831 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17832 wine_fn_config_dll wmp enable_wmp clean
17833 wine_fn_config_test dlls/wmp/tests wmp_test
17834 wine_fn_config_dll wmvcore enable_wmvcore
17835 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17836 wine_fn_config_dll wow32 enable_win16 implib
17837 wine_fn_config_dll wpcap enable_wpcap
17838 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17839 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17840 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17841 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17842 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17843 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17844 wine_fn_config_dll wsock32 enable_wsock32 implib
17845 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17846 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17847 wine_fn_config_dll wuapi enable_wuapi clean
17848 wine_fn_config_dll wuaueng enable_wuaueng
17849 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17850 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17851 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17852 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17853 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17854 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17855 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17856 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17857 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17858 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17859 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17860 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
17861 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
17862 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
17863 wine_fn_config_dll xinput1_1 enable_xinput1_1
17864 wine_fn_config_dll xinput1_2 enable_xinput1_2
17865 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17866 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17867 wine_fn_config_dll xinput1_4 enable_xinput1_4
17868 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17869 wine_fn_config_dll xmllite enable_xmllite implib
17870 wine_fn_config_test dlls/xmllite/tests xmllite_test
17871 wine_fn_config_dll xolehlp enable_xolehlp
17872 wine_fn_config_dll xpsprint enable_xpsprint
17873 wine_fn_config_dll xpssvcs enable_xpssvcs
17874 wine_fn_config_makefile documentation enable_documentation clean
17875 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17876 wine_fn_config_makefile include enable_include clean,install-dev
17877 wine_fn_config_makefile libs/port enable_libs_port
17878 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17879 wine_fn_config_makefile libs/wpp enable_libs_wpp
17880 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17881 wine_fn_config_program arp enable_arp install
17882 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17883 wine_fn_config_program attrib enable_attrib install,po
17884 wine_fn_config_program cabarc enable_cabarc install
17885 wine_fn_config_program cacls enable_cacls install
17886 wine_fn_config_program clock enable_clock install,po
17887 wine_fn_config_program cmd enable_cmd install,po
17888 wine_fn_config_test programs/cmd/tests cmd.exe_test
17889 wine_fn_config_program conhost enable_conhost install
17890 wine_fn_config_program control enable_control install
17891 wine_fn_config_program cscript enable_cscript clean,install
17892 wine_fn_config_program dpnsvr enable_dpnsvr install
17893 wine_fn_config_program dxdiag enable_dxdiag install,po
17894 wine_fn_config_program eject enable_eject install
17895 wine_fn_config_program expand enable_expand install
17896 wine_fn_config_program explorer enable_explorer install,po
17897 wine_fn_config_program extrac32 enable_extrac32 install
17898 wine_fn_config_program findstr enable_findstr install
17899 wine_fn_config_program hh enable_hh install
17900 wine_fn_config_program hostname enable_hostname install,po
17901 wine_fn_config_program icinfo enable_icinfo install
17902 wine_fn_config_program iexplore enable_iexplore install
17903 wine_fn_config_program ipconfig enable_ipconfig install,po
17904 wine_fn_config_program lodctr enable_lodctr install
17905 wine_fn_config_program mofcomp enable_mofcomp install
17906 wine_fn_config_program mshta enable_mshta install
17907 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17908 wine_fn_config_program net enable_net install,po
17909 wine_fn_config_program netsh enable_netsh install
17910 wine_fn_config_program netstat enable_netstat install,po
17911 wine_fn_config_program ngen enable_ngen install
17912 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17913 wine_fn_config_program oleview enable_oleview install,po
17914 wine_fn_config_program ping enable_ping install
17915 wine_fn_config_program plugplay enable_plugplay install
17916 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17917 wine_fn_config_program progman enable_progman install,po
17918 wine_fn_config_program reg enable_reg install,po
17919 wine_fn_config_test programs/reg/tests reg.exe_test
17920 wine_fn_config_program regasm enable_regasm install
17921 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17922 wine_fn_config_test programs/regedit/tests regedit.exe_test
17923 wine_fn_config_program regsvcs enable_regsvcs install
17924 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17925 wine_fn_config_program rpcss enable_rpcss clean,install
17926 wine_fn_config_program rundll.exe16 enable_win16 install
17927 wine_fn_config_program rundll32 enable_rundll32 install
17928 wine_fn_config_program sc enable_sc install
17929 wine_fn_config_program schtasks enable_schtasks install
17930 wine_fn_config_program sdbinst enable_sdbinst install
17931 wine_fn_config_program secedit enable_secedit install
17932 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17933 wine_fn_config_program services enable_services clean,install
17934 wine_fn_config_test programs/services/tests services.exe_test
17935 wine_fn_config_program spoolsv enable_spoolsv install
17936 wine_fn_config_program start enable_start install,po
17937 wine_fn_config_program svchost enable_svchost install
17938 wine_fn_config_program systeminfo enable_systeminfo install
17939 wine_fn_config_program taskkill enable_taskkill install,po
17940 wine_fn_config_program tasklist enable_tasklist install
17941 wine_fn_config_program taskmgr enable_taskmgr install,po
17942 wine_fn_config_program termsv enable_termsv install
17943 wine_fn_config_program uninstaller enable_uninstaller install,po
17944 wine_fn_config_program unlodctr enable_unlodctr install
17945 wine_fn_config_program view enable_view install,po
17946 wine_fn_config_program wevtutil enable_wevtutil install
17947 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17948 wine_fn_config_program winebrowser enable_winebrowser install
17949 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17950 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17951 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17952 wine_fn_config_program winedevice enable_winedevice install
17953 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17954 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17955 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17956 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17957 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17958 wine_fn_config_program winetest enable_winetest clean
17959 wine_fn_config_program winevdm enable_win16 install
17960 wine_fn_config_program winhelp.exe16 enable_win16 install
17961 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17962 wine_fn_config_program winoldap.mod16 enable_win16 install
17963 wine_fn_config_program winver enable_winver install
17964 wine_fn_config_program wmic enable_wmic install,po
17965 wine_fn_config_program wordpad enable_wordpad install,po
17966 wine_fn_config_program write enable_write install,po
17967 wine_fn_config_program wscript enable_wscript clean,install
17968 wine_fn_config_test programs/wscript/tests wscript.exe_test
17969 wine_fn_config_program wusa enable_wusa install
17970 wine_fn_config_program xcopy enable_xcopy install,po
17971 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17972 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17973 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17974 wine_fn_config_tool tools/sfnt2fon clean
17975 wine_fn_config_tool tools/widl clean,install-dev,manpage
17976 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17977 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17978 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17979 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17980 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17982 LINGUAS="\
17983 ar \
17984 bg \
17985 ca \
17986 cs \
17987 da \
17988 de \
17989 el \
17990 en \
17991 en_US \
17992 eo \
17993 es \
17994 fa \
17995 fi \
17996 fr \
17997 he \
17998 hi \
17999 hr \
18000 hu \
18001 it \
18002 ja \
18003 ko \
18004 lt \
18005 ml \
18006 nb_NO \
18007 nl \
18008 or \
18009 pa \
18010 pl \
18011 pt_BR \
18012 pt_PT \
18013 rm \
18014 ro \
18015 ru \
18016 sk \
18017 sl \
18018 sr_RS@cyrillic \
18019 sr_RS@latin \
18020 sv \
18021 te \
18022 th \
18023 tr \
18024 uk \
18025 wa \
18026 zh_CN \
18027 zh_TW"
18032 wine_fn_ignore_file ".gitignore"
18033 wine_fn_ignore_file "Makefile"
18034 wine_fn_ignore_file "TAGS"
18035 wine_fn_ignore_file "tags"
18036 wine_fn_ignore_file "autom4te.cache"
18037 wine_fn_ignore_file "config.cache"
18038 wine_fn_ignore_file "config.log"
18039 wine_fn_ignore_file "config.status"
18040 wine_fn_ignore_file "configure.lineno"
18041 wine_fn_ignore_file "include/config.h"
18042 wine_fn_ignore_file "include/stamp-h"
18043 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
18045 if test "x$enable_tools" != xno
18046 then
18047 wine_fn_ignore_file "tools/makedep$ac_exeext"
18048 ac_config_commands="$ac_config_commands tools/makedep"
18052 ac_config_commands="$ac_config_commands Makefile"
18055 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
18059 if test "x$enable_maintainer_mode" = xyes
18060 then
18061 wine_fn_append_rule "configure: configure.ac aclocal.m4
18062 autoconf --warnings=all
18063 include/config.h.in: include/stamp-h.in
18064 include/stamp-h.in: configure.ac aclocal.m4
18065 autoheader --warnings=all
18066 @echo timestamp > \$@"
18069 if test "x$with_gettextpo" = xyes
18070 then
18071 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18072 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
18073 \$(LINGUAS:%=po/%.po): po/wine.pot
18074 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18075 po/wine.pot: \$(ALL_POT_FILES)
18076 msgcat -o \$@ \$(ALL_POT_FILES)"
18079 if test "$MSGFMT" != false
18080 then
18081 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
18082 clean::
18083 \$(RM) \$(LINGUAS:%=po/%.mo)"
18085 posrc="po"
18086 test "$srcdir" = . || posrc="$srcdir/po"
18087 for i in $LINGUAS
18089 wine_fn_ignore_file "po/$i.mo"
18090 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
18091 \$(MSGFMT) -o \$@ $posrc/$i.po"
18092 done
18093 else
18094 LINGUAS=
18097 if test "x$enable_tools" != xno
18098 then
18099 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18100 @./config.status tools/makedep
18101 Makefile: tools/makedep$ac_exeext
18102 distclean:: clean
18103 \$(RM) tools/makedep$ac_exeext"
18104 else
18105 wine_fn_append_rule "\$(MAKEDEP):
18106 @echo \"You need to run make in $TOOLSDIR first\" && false"
18109 if test -n "$with_wine64"
18110 then
18111 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18112 fonts server tools:
18113 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18114 $with_wine64/loader/wine:
18115 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18116 $with_wine64/loader/wine-preloader:
18117 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18118 clean::
18119 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18120 else
18121 as_fn_append LOADER_RULES "
18122 install install-lib:: wine.inf install-man-pages
18123 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
18124 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18126 uninstall::
18127 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18131 if test "$srcdir" = .
18132 then
18133 ac_config_commands="$ac_config_commands .gitignore"
18137 $as_echo " done" >&6
18138 cat >confcache <<\_ACEOF
18139 # This file is a shell script that caches the results of configure
18140 # tests run on this system so they can be shared between configure
18141 # scripts and configure runs, see configure's option --config-cache.
18142 # It is not useful on other systems. If it contains results you don't
18143 # want to keep, you may remove or edit it.
18145 # config.status only pays attention to the cache file if you give it
18146 # the --recheck option to rerun configure.
18148 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18149 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18150 # following values.
18152 _ACEOF
18154 # The following way of writing the cache mishandles newlines in values,
18155 # but we know of no workaround that is simple, portable, and efficient.
18156 # So, we kill variables containing newlines.
18157 # Ultrix sh set writes to stderr and can't be redirected directly,
18158 # and sets the high bit in the cache file unless we assign to the vars.
18160 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18161 eval ac_val=\$$ac_var
18162 case $ac_val in #(
18163 *${as_nl}*)
18164 case $ac_var in #(
18165 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18166 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18167 esac
18168 case $ac_var in #(
18169 _ | IFS | as_nl) ;; #(
18170 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18171 *) { eval $ac_var=; unset $ac_var;} ;;
18172 esac ;;
18173 esac
18174 done
18176 (set) 2>&1 |
18177 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18178 *${as_nl}ac_space=\ *)
18179 # `set' does not quote correctly, so add quotes: double-quote
18180 # substitution turns \\\\ into \\, and sed turns \\ into \.
18181 sed -n \
18182 "s/'/'\\\\''/g;
18183 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18184 ;; #(
18186 # `set' quotes correctly as required by POSIX, so do not add quotes.
18187 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18189 esac |
18190 sort
18192 sed '
18193 /^ac_cv_env_/b end
18194 t clear
18195 :clear
18196 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18197 t end
18198 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18199 :end' >>confcache
18200 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18201 if test -w "$cache_file"; then
18202 if test "x$cache_file" != "x/dev/null"; then
18203 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18204 $as_echo "$as_me: updating cache $cache_file" >&6;}
18205 if test ! -f "$cache_file" || test -h "$cache_file"; then
18206 cat confcache >"$cache_file"
18207 else
18208 case $cache_file in #(
18209 */* | ?:*)
18210 mv -f confcache "$cache_file"$$ &&
18211 mv -f "$cache_file"$$ "$cache_file" ;; #(
18213 mv -f confcache "$cache_file" ;;
18214 esac
18217 else
18218 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18219 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18222 rm -f confcache
18224 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18225 # Let make expand exec_prefix.
18226 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18228 DEFS=-DHAVE_CONFIG_H
18230 ac_libobjs=
18231 ac_ltlibobjs=
18233 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18234 # 1. Remove the extension, and $U if already installed.
18235 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18236 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18237 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18238 # will be set to the directory where LIBOBJS objects are built.
18239 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18240 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18241 done
18242 LIBOBJS=$ac_libobjs
18244 LTLIBOBJS=$ac_ltlibobjs
18248 : "${CONFIG_STATUS=./config.status}"
18249 ac_write_fail=0
18250 ac_clean_files_save=$ac_clean_files
18251 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18252 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18253 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18254 as_write_fail=0
18255 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18256 #! $SHELL
18257 # Generated by $as_me.
18258 # Run this file to recreate the current configuration.
18259 # Compiler output produced by configure, useful for debugging
18260 # configure, is in config.log if it exists.
18262 debug=false
18263 ac_cs_recheck=false
18264 ac_cs_silent=false
18266 SHELL=\${CONFIG_SHELL-$SHELL}
18267 export SHELL
18268 _ASEOF
18269 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18270 ## -------------------- ##
18271 ## M4sh Initialization. ##
18272 ## -------------------- ##
18274 # Be more Bourne compatible
18275 DUALCASE=1; export DUALCASE # for MKS sh
18276 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18277 emulate sh
18278 NULLCMD=:
18279 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18280 # is contrary to our usage. Disable this feature.
18281 alias -g '${1+"$@"}'='"$@"'
18282 setopt NO_GLOB_SUBST
18283 else
18284 case `(set -o) 2>/dev/null` in #(
18285 *posix*) :
18286 set -o posix ;; #(
18287 *) :
18289 esac
18293 as_nl='
18295 export as_nl
18296 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18297 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18298 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18299 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18300 # Prefer a ksh shell builtin over an external printf program on Solaris,
18301 # but without wasting forks for bash or zsh.
18302 if test -z "$BASH_VERSION$ZSH_VERSION" \
18303 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18304 as_echo='print -r --'
18305 as_echo_n='print -rn --'
18306 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18307 as_echo='printf %s\n'
18308 as_echo_n='printf %s'
18309 else
18310 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18311 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18312 as_echo_n='/usr/ucb/echo -n'
18313 else
18314 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18315 as_echo_n_body='eval
18316 arg=$1;
18317 case $arg in #(
18318 *"$as_nl"*)
18319 expr "X$arg" : "X\\(.*\\)$as_nl";
18320 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18321 esac;
18322 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18324 export as_echo_n_body
18325 as_echo_n='sh -c $as_echo_n_body as_echo'
18327 export as_echo_body
18328 as_echo='sh -c $as_echo_body as_echo'
18331 # The user is always right.
18332 if test "${PATH_SEPARATOR+set}" != set; then
18333 PATH_SEPARATOR=:
18334 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18335 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18336 PATH_SEPARATOR=';'
18341 # IFS
18342 # We need space, tab and new line, in precisely that order. Quoting is
18343 # there to prevent editors from complaining about space-tab.
18344 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18345 # splitting by setting IFS to empty value.)
18346 IFS=" "" $as_nl"
18348 # Find who we are. Look in the path if we contain no directory separator.
18349 as_myself=
18350 case $0 in #((
18351 *[\\/]* ) as_myself=$0 ;;
18352 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18353 for as_dir in $PATH
18355 IFS=$as_save_IFS
18356 test -z "$as_dir" && as_dir=.
18357 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18358 done
18359 IFS=$as_save_IFS
18362 esac
18363 # We did not find ourselves, most probably we were run as `sh COMMAND'
18364 # in which case we are not to be found in the path.
18365 if test "x$as_myself" = x; then
18366 as_myself=$0
18368 if test ! -f "$as_myself"; then
18369 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18370 exit 1
18373 # Unset variables that we do not need and which cause bugs (e.g. in
18374 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18375 # suppresses any "Segmentation fault" message there. '((' could
18376 # trigger a bug in pdksh 5.2.14.
18377 for as_var in BASH_ENV ENV MAIL MAILPATH
18378 do eval test x\${$as_var+set} = xset \
18379 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18380 done
18381 PS1='$ '
18382 PS2='> '
18383 PS4='+ '
18385 # NLS nuisances.
18386 LC_ALL=C
18387 export LC_ALL
18388 LANGUAGE=C
18389 export LANGUAGE
18391 # CDPATH.
18392 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18395 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18396 # ----------------------------------------
18397 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18398 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18399 # script with STATUS, using 1 if that was 0.
18400 as_fn_error ()
18402 as_status=$1; test $as_status -eq 0 && as_status=1
18403 if test "$4"; then
18404 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18405 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18407 $as_echo "$as_me: error: $2" >&2
18408 as_fn_exit $as_status
18409 } # as_fn_error
18412 # as_fn_set_status STATUS
18413 # -----------------------
18414 # Set $? to STATUS, without forking.
18415 as_fn_set_status ()
18417 return $1
18418 } # as_fn_set_status
18420 # as_fn_exit STATUS
18421 # -----------------
18422 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18423 as_fn_exit ()
18425 set +e
18426 as_fn_set_status $1
18427 exit $1
18428 } # as_fn_exit
18430 # as_fn_unset VAR
18431 # ---------------
18432 # Portably unset VAR.
18433 as_fn_unset ()
18435 { eval $1=; unset $1;}
18437 as_unset=as_fn_unset
18438 # as_fn_append VAR VALUE
18439 # ----------------------
18440 # Append the text in VALUE to the end of the definition contained in VAR. Take
18441 # advantage of any shell optimizations that allow amortized linear growth over
18442 # repeated appends, instead of the typical quadratic growth present in naive
18443 # implementations.
18444 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18445 eval 'as_fn_append ()
18447 eval $1+=\$2
18449 else
18450 as_fn_append ()
18452 eval $1=\$$1\$2
18454 fi # as_fn_append
18456 # as_fn_arith ARG...
18457 # ------------------
18458 # Perform arithmetic evaluation on the ARGs, and store the result in the
18459 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18460 # must be portable across $(()) and expr.
18461 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18462 eval 'as_fn_arith ()
18464 as_val=$(( $* ))
18466 else
18467 as_fn_arith ()
18469 as_val=`expr "$@" || test $? -eq 1`
18471 fi # as_fn_arith
18474 if expr a : '\(a\)' >/dev/null 2>&1 &&
18475 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18476 as_expr=expr
18477 else
18478 as_expr=false
18481 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18482 as_basename=basename
18483 else
18484 as_basename=false
18487 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18488 as_dirname=dirname
18489 else
18490 as_dirname=false
18493 as_me=`$as_basename -- "$0" ||
18494 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18495 X"$0" : 'X\(//\)$' \| \
18496 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18497 $as_echo X/"$0" |
18498 sed '/^.*\/\([^/][^/]*\)\/*$/{
18499 s//\1/
18502 /^X\/\(\/\/\)$/{
18503 s//\1/
18506 /^X\/\(\/\).*/{
18507 s//\1/
18510 s/.*/./; q'`
18512 # Avoid depending upon Character Ranges.
18513 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18514 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18515 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18516 as_cr_digits='0123456789'
18517 as_cr_alnum=$as_cr_Letters$as_cr_digits
18519 ECHO_C= ECHO_N= ECHO_T=
18520 case `echo -n x` in #(((((
18521 -n*)
18522 case `echo 'xy\c'` in
18523 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18524 xy) ECHO_C='\c';;
18525 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18526 ECHO_T=' ';;
18527 esac;;
18529 ECHO_N='-n';;
18530 esac
18532 rm -f conf$$ conf$$.exe conf$$.file
18533 if test -d conf$$.dir; then
18534 rm -f conf$$.dir/conf$$.file
18535 else
18536 rm -f conf$$.dir
18537 mkdir conf$$.dir 2>/dev/null
18539 if (echo >conf$$.file) 2>/dev/null; then
18540 if ln -s conf$$.file conf$$ 2>/dev/null; then
18541 as_ln_s='ln -s'
18542 # ... but there are two gotchas:
18543 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18544 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18545 # In both cases, we have to default to `cp -pR'.
18546 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18547 as_ln_s='cp -pR'
18548 elif ln conf$$.file conf$$ 2>/dev/null; then
18549 as_ln_s=ln
18550 else
18551 as_ln_s='cp -pR'
18553 else
18554 as_ln_s='cp -pR'
18556 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18557 rmdir conf$$.dir 2>/dev/null
18560 # as_fn_mkdir_p
18561 # -------------
18562 # Create "$as_dir" as a directory, including parents if necessary.
18563 as_fn_mkdir_p ()
18566 case $as_dir in #(
18567 -*) as_dir=./$as_dir;;
18568 esac
18569 test -d "$as_dir" || eval $as_mkdir_p || {
18570 as_dirs=
18571 while :; do
18572 case $as_dir in #(
18573 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18574 *) as_qdir=$as_dir;;
18575 esac
18576 as_dirs="'$as_qdir' $as_dirs"
18577 as_dir=`$as_dirname -- "$as_dir" ||
18578 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18579 X"$as_dir" : 'X\(//\)[^/]' \| \
18580 X"$as_dir" : 'X\(//\)$' \| \
18581 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18582 $as_echo X"$as_dir" |
18583 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18584 s//\1/
18587 /^X\(\/\/\)[^/].*/{
18588 s//\1/
18591 /^X\(\/\/\)$/{
18592 s//\1/
18595 /^X\(\/\).*/{
18596 s//\1/
18599 s/.*/./; q'`
18600 test -d "$as_dir" && break
18601 done
18602 test -z "$as_dirs" || eval "mkdir $as_dirs"
18603 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18606 } # as_fn_mkdir_p
18607 if mkdir -p . 2>/dev/null; then
18608 as_mkdir_p='mkdir -p "$as_dir"'
18609 else
18610 test -d ./-p && rmdir ./-p
18611 as_mkdir_p=false
18615 # as_fn_executable_p FILE
18616 # -----------------------
18617 # Test if FILE is an executable regular file.
18618 as_fn_executable_p ()
18620 test -f "$1" && test -x "$1"
18621 } # as_fn_executable_p
18622 as_test_x='test -x'
18623 as_executable_p=as_fn_executable_p
18625 # Sed expression to map a string onto a valid CPP name.
18626 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18628 # Sed expression to map a string onto a valid variable name.
18629 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18632 exec 6>&1
18633 ## ----------------------------------- ##
18634 ## Main body of $CONFIG_STATUS script. ##
18635 ## ----------------------------------- ##
18636 _ASEOF
18637 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18639 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18640 # Save the log message, to keep $0 and so on meaningful, and to
18641 # report actual input values of CONFIG_FILES etc. instead of their
18642 # values after options handling.
18643 ac_log="
18644 This file was extended by Wine $as_me 1.7.50, which was
18645 generated by GNU Autoconf 2.69. Invocation command line was
18647 CONFIG_FILES = $CONFIG_FILES
18648 CONFIG_HEADERS = $CONFIG_HEADERS
18649 CONFIG_LINKS = $CONFIG_LINKS
18650 CONFIG_COMMANDS = $CONFIG_COMMANDS
18651 $ $0 $@
18653 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18656 _ACEOF
18658 case $ac_config_files in *"
18659 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18660 esac
18662 case $ac_config_headers in *"
18663 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18664 esac
18667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18668 # Files that config.status was made for.
18669 config_files="$ac_config_files"
18670 config_headers="$ac_config_headers"
18671 config_links="$ac_config_links"
18672 config_commands="$ac_config_commands"
18674 _ACEOF
18676 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18677 ac_cs_usage="\
18678 \`$as_me' instantiates files and other configuration actions
18679 from templates according to the current configuration. Unless the files
18680 and actions are specified as TAGs, all are instantiated by default.
18682 Usage: $0 [OPTION]... [TAG]...
18684 -h, --help print this help, then exit
18685 -V, --version print version number and configuration settings, then exit
18686 --config print configuration, then exit
18687 -q, --quiet, --silent
18688 do not print progress messages
18689 -d, --debug don't remove temporary files
18690 --recheck update $as_me by reconfiguring in the same conditions
18691 --file=FILE[:TEMPLATE]
18692 instantiate the configuration file FILE
18693 --header=FILE[:TEMPLATE]
18694 instantiate the configuration header FILE
18696 Configuration files:
18697 $config_files
18699 Configuration headers:
18700 $config_headers
18702 Configuration links:
18703 $config_links
18705 Configuration commands:
18706 $config_commands
18708 Report bugs to <wine-devel@winehq.org>.
18709 Wine home page: <http://www.winehq.org>."
18711 _ACEOF
18712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18713 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18714 ac_cs_version="\\
18715 Wine config.status 1.7.50
18716 configured by $0, generated by GNU Autoconf 2.69,
18717 with options \\"\$ac_cs_config\\"
18719 Copyright (C) 2012 Free Software Foundation, Inc.
18720 This config.status script is free software; the Free Software Foundation
18721 gives unlimited permission to copy, distribute and modify it."
18723 ac_pwd='$ac_pwd'
18724 srcdir='$srcdir'
18725 test -n "\$AWK" || AWK=awk
18726 _ACEOF
18728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18729 # The default lists apply if the user does not specify any file.
18730 ac_need_defaults=:
18731 while test $# != 0
18733 case $1 in
18734 --*=?*)
18735 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18736 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18737 ac_shift=:
18739 --*=)
18740 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18741 ac_optarg=
18742 ac_shift=:
18745 ac_option=$1
18746 ac_optarg=$2
18747 ac_shift=shift
18749 esac
18751 case $ac_option in
18752 # Handling of the options.
18753 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18754 ac_cs_recheck=: ;;
18755 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18756 $as_echo "$ac_cs_version"; exit ;;
18757 --config | --confi | --conf | --con | --co | --c )
18758 $as_echo "$ac_cs_config"; exit ;;
18759 --debug | --debu | --deb | --de | --d | -d )
18760 debug=: ;;
18761 --file | --fil | --fi | --f )
18762 $ac_shift
18763 case $ac_optarg in
18764 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18765 '') as_fn_error $? "missing file argument" ;;
18766 esac
18767 as_fn_append CONFIG_FILES " '$ac_optarg'"
18768 ac_need_defaults=false;;
18769 --header | --heade | --head | --hea )
18770 $ac_shift
18771 case $ac_optarg in
18772 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18773 esac
18774 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18775 ac_need_defaults=false;;
18776 --he | --h)
18777 # Conflict between --help and --header
18778 as_fn_error $? "ambiguous option: \`$1'
18779 Try \`$0 --help' for more information.";;
18780 --help | --hel | -h )
18781 $as_echo "$ac_cs_usage"; exit ;;
18782 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18783 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18784 ac_cs_silent=: ;;
18786 # This is an error.
18787 -*) as_fn_error $? "unrecognized option: \`$1'
18788 Try \`$0 --help' for more information." ;;
18790 *) as_fn_append ac_config_targets " $1"
18791 ac_need_defaults=false ;;
18793 esac
18794 shift
18795 done
18797 ac_configure_extra_args=
18799 if $ac_cs_silent; then
18800 exec 6>/dev/null
18801 ac_configure_extra_args="$ac_configure_extra_args --silent"
18804 _ACEOF
18805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18806 if \$ac_cs_recheck; then
18807 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18808 shift
18809 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18810 CONFIG_SHELL='$SHELL'
18811 export CONFIG_SHELL
18812 exec "\$@"
18815 _ACEOF
18816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18817 exec 5>>config.log
18819 echo
18820 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18821 ## Running $as_me. ##
18822 _ASBOX
18823 $as_echo "$ac_log"
18824 } >&5
18826 _ACEOF
18827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18829 # INIT-COMMANDS
18831 wine_fn_output_makedep ()
18833 as_dir=tools; as_fn_mkdir_p
18834 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18836 wine_fn_output_makefile ()
18838 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18839 `cat $wine_rules_file`
18840 _WINE_EOF
18841 as_fn_error $? "could not create Makefile" "$LINENO" 5
18843 wine_fn_output_gitignore ()
18845 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18846 $GITIGNORE
18847 _WINE_EOF
18848 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18851 _ACEOF
18853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18855 # Handling of arguments.
18856 for ac_config_target in $ac_config_targets
18858 case $ac_config_target in
18859 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18860 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18861 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18862 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18863 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18864 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18865 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18866 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18867 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18868 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18869 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18870 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18871 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18872 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18874 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18875 esac
18876 done
18879 # If the user did not use the arguments to specify the items to instantiate,
18880 # then the envvar interface is used. Set only those that are not.
18881 # We use the long form for the default assignment because of an extremely
18882 # bizarre bug on SunOS 4.1.3.
18883 if $ac_need_defaults; then
18884 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18885 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18886 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18887 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18890 # Have a temporary directory for convenience. Make it in the build tree
18891 # simply because there is no reason against having it here, and in addition,
18892 # creating and moving files from /tmp can sometimes cause problems.
18893 # Hook for its removal unless debugging.
18894 # Note that there is a small window in which the directory will not be cleaned:
18895 # after its creation but before its name has been assigned to `$tmp'.
18896 $debug ||
18898 tmp= ac_tmp=
18899 trap 'exit_status=$?
18900 : "${ac_tmp:=$tmp}"
18901 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18903 trap 'as_fn_exit 1' 1 2 13 15
18905 # Create a (secure) tmp directory for tmp files.
18908 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18909 test -d "$tmp"
18910 } ||
18912 tmp=./conf$$-$RANDOM
18913 (umask 077 && mkdir "$tmp")
18914 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18915 ac_tmp=$tmp
18917 # Set up the scripts for CONFIG_FILES section.
18918 # No need to generate them if there are no CONFIG_FILES.
18919 # This happens for instance with `./config.status config.h'.
18920 if test -n "$CONFIG_FILES"; then
18923 ac_cr=`echo X | tr X '\015'`
18924 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18925 # But we know of no other shell where ac_cr would be empty at this
18926 # point, so we can use a bashism as a fallback.
18927 if test "x$ac_cr" = x; then
18928 eval ac_cr=\$\'\\r\'
18930 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18931 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18932 ac_cs_awk_cr='\\r'
18933 else
18934 ac_cs_awk_cr=$ac_cr
18937 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18938 _ACEOF
18942 echo "cat >conf$$subs.awk <<_ACEOF" &&
18943 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18944 echo "_ACEOF"
18945 } >conf$$subs.sh ||
18946 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18947 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18948 ac_delim='%!_!# '
18949 for ac_last_try in false false false false false :; do
18950 . ./conf$$subs.sh ||
18951 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18953 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18954 if test $ac_delim_n = $ac_delim_num; then
18955 break
18956 elif $ac_last_try; then
18957 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18958 else
18959 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18961 done
18962 rm -f conf$$subs.sh
18964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18965 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18966 _ACEOF
18967 sed -n '
18969 s/^/S["/; s/!.*/"]=/
18972 s/^[^!]*!//
18973 :repl
18974 t repl
18975 s/'"$ac_delim"'$//
18976 t delim
18979 s/\(.\{148\}\)..*/\1/
18980 t more1
18981 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18984 b repl
18985 :more1
18986 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18989 s/.\{148\}//
18990 t nl
18991 :delim
18993 s/\(.\{148\}\)..*/\1/
18994 t more2
18995 s/["\\]/\\&/g; s/^/"/; s/$/"/
18998 :more2
18999 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19002 s/.\{148\}//
19003 t delim
19004 ' <conf$$subs.awk | sed '
19005 /^[^""]/{
19007 s/\n//
19009 ' >>$CONFIG_STATUS || ac_write_fail=1
19010 rm -f conf$$subs.awk
19011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19012 _ACAWK
19013 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19014 for (key in S) S_is_set[key] = 1
19015 FS = "\a"
19019 line = $ 0
19020 nfields = split(line, field, "@")
19021 substed = 0
19022 len = length(field[1])
19023 for (i = 2; i < nfields; i++) {
19024 key = field[i]
19025 keylen = length(key)
19026 if (S_is_set[key]) {
19027 value = S[key]
19028 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19029 len += length(value) + length(field[++i])
19030 substed = 1
19031 } else
19032 len += 1 + keylen
19035 print line
19038 _ACAWK
19039 _ACEOF
19040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19041 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19042 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19043 else
19045 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19046 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19047 _ACEOF
19049 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19050 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19051 # trailing colons and then remove the whole line if VPATH becomes empty
19052 # (actually we leave an empty line to preserve line numbers).
19053 if test "x$srcdir" = x.; then
19054 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19056 s///
19057 s/^/:/
19058 s/[ ]*$/:/
19059 s/:\$(srcdir):/:/g
19060 s/:\${srcdir}:/:/g
19061 s/:@srcdir@:/:/g
19062 s/^:*//
19063 s/:*$//
19065 s/\(=[ ]*\).*/\1/
19067 s/\n//
19068 s/^[^=]*=[ ]*$//
19072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19073 fi # test -n "$CONFIG_FILES"
19075 # Set up the scripts for CONFIG_HEADERS section.
19076 # No need to generate them if there are no CONFIG_HEADERS.
19077 # This happens for instance with `./config.status Makefile'.
19078 if test -n "$CONFIG_HEADERS"; then
19079 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19080 BEGIN {
19081 _ACEOF
19083 # Transform confdefs.h into an awk script `defines.awk', embedded as
19084 # here-document in config.status, that substitutes the proper values into
19085 # config.h.in to produce config.h.
19087 # Create a delimiter string that does not exist in confdefs.h, to ease
19088 # handling of long lines.
19089 ac_delim='%!_!# '
19090 for ac_last_try in false false :; do
19091 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19092 if test -z "$ac_tt"; then
19093 break
19094 elif $ac_last_try; then
19095 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19096 else
19097 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19099 done
19101 # For the awk script, D is an array of macro values keyed by name,
19102 # likewise P contains macro parameters if any. Preserve backslash
19103 # newline sequences.
19105 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19106 sed -n '
19107 s/.\{148\}/&'"$ac_delim"'/g
19108 t rset
19109 :rset
19110 s/^[ ]*#[ ]*define[ ][ ]*/ /
19111 t def
19113 :def
19114 s/\\$//
19115 t bsnl
19116 s/["\\]/\\&/g
19117 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19118 D["\1"]=" \3"/p
19119 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19121 :bsnl
19122 s/["\\]/\\&/g
19123 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19124 D["\1"]=" \3\\\\\\n"\\/p
19125 t cont
19126 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19127 t cont
19129 :cont
19131 s/.\{148\}/&'"$ac_delim"'/g
19132 t clear
19133 :clear
19134 s/\\$//
19135 t bsnlc
19136 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19138 :bsnlc
19139 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19140 b cont
19141 ' <confdefs.h | sed '
19142 s/'"$ac_delim"'/"\\\
19143 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19146 for (key in D) D_is_set[key] = 1
19147 FS = "\a"
19149 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19150 line = \$ 0
19151 split(line, arg, " ")
19152 if (arg[1] == "#") {
19153 defundef = arg[2]
19154 mac1 = arg[3]
19155 } else {
19156 defundef = substr(arg[1], 2)
19157 mac1 = arg[2]
19159 split(mac1, mac2, "(") #)
19160 macro = mac2[1]
19161 prefix = substr(line, 1, index(line, defundef) - 1)
19162 if (D_is_set[macro]) {
19163 # Preserve the white space surrounding the "#".
19164 print prefix "define", macro P[macro] D[macro]
19165 next
19166 } else {
19167 # Replace #undef with comments. This is necessary, for example,
19168 # in the case of _POSIX_SOURCE, which is predefined and required
19169 # on some systems where configure will not decide to define it.
19170 if (defundef == "undef") {
19171 print "/*", prefix defundef, macro, "*/"
19172 next
19176 { print }
19177 _ACAWK
19178 _ACEOF
19179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19180 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19181 fi # test -n "$CONFIG_HEADERS"
19184 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19185 shift
19186 for ac_tag
19188 case $ac_tag in
19189 :[FHLC]) ac_mode=$ac_tag; continue;;
19190 esac
19191 case $ac_mode$ac_tag in
19192 :[FHL]*:*);;
19193 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19194 :[FH]-) ac_tag=-:-;;
19195 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19196 esac
19197 ac_save_IFS=$IFS
19198 IFS=:
19199 set x $ac_tag
19200 IFS=$ac_save_IFS
19201 shift
19202 ac_file=$1
19203 shift
19205 case $ac_mode in
19206 :L) ac_source=$1;;
19207 :[FH])
19208 ac_file_inputs=
19209 for ac_f
19211 case $ac_f in
19212 -) ac_f="$ac_tmp/stdin";;
19213 *) # Look for the file first in the build tree, then in the source tree
19214 # (if the path is not absolute). The absolute path cannot be DOS-style,
19215 # because $ac_f cannot contain `:'.
19216 test -f "$ac_f" ||
19217 case $ac_f in
19218 [\\/$]*) false;;
19219 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19220 esac ||
19221 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19222 esac
19223 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19224 as_fn_append ac_file_inputs " '$ac_f'"
19225 done
19227 # Let's still pretend it is `configure' which instantiates (i.e., don't
19228 # use $as_me), people would be surprised to read:
19229 # /* config.h. Generated by config.status. */
19230 configure_input='Generated from '`
19231 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19232 `' by configure.'
19233 if test x"$ac_file" != x-; then
19234 configure_input="$ac_file. $configure_input"
19235 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19236 $as_echo "$as_me: creating $ac_file" >&6;}
19238 # Neutralize special characters interpreted by sed in replacement strings.
19239 case $configure_input in #(
19240 *\&* | *\|* | *\\* )
19241 ac_sed_conf_input=`$as_echo "$configure_input" |
19242 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19243 *) ac_sed_conf_input=$configure_input;;
19244 esac
19246 case $ac_tag in
19247 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19248 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19249 esac
19251 esac
19253 ac_dir=`$as_dirname -- "$ac_file" ||
19254 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19255 X"$ac_file" : 'X\(//\)[^/]' \| \
19256 X"$ac_file" : 'X\(//\)$' \| \
19257 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19258 $as_echo X"$ac_file" |
19259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19260 s//\1/
19263 /^X\(\/\/\)[^/].*/{
19264 s//\1/
19267 /^X\(\/\/\)$/{
19268 s//\1/
19271 /^X\(\/\).*/{
19272 s//\1/
19275 s/.*/./; q'`
19276 as_dir="$ac_dir"; as_fn_mkdir_p
19277 ac_builddir=.
19279 case "$ac_dir" in
19280 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19282 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19283 # A ".." for each directory in $ac_dir_suffix.
19284 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19285 case $ac_top_builddir_sub in
19286 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19287 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19288 esac ;;
19289 esac
19290 ac_abs_top_builddir=$ac_pwd
19291 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19292 # for backward compatibility:
19293 ac_top_builddir=$ac_top_build_prefix
19295 case $srcdir in
19296 .) # We are building in place.
19297 ac_srcdir=.
19298 ac_top_srcdir=$ac_top_builddir_sub
19299 ac_abs_top_srcdir=$ac_pwd ;;
19300 [\\/]* | ?:[\\/]* ) # Absolute name.
19301 ac_srcdir=$srcdir$ac_dir_suffix;
19302 ac_top_srcdir=$srcdir
19303 ac_abs_top_srcdir=$srcdir ;;
19304 *) # Relative name.
19305 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19306 ac_top_srcdir=$ac_top_build_prefix$srcdir
19307 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19308 esac
19309 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19312 case $ac_mode in
19315 # CONFIG_FILE
19318 _ACEOF
19320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19321 # If the template does not know about datarootdir, expand it.
19322 # FIXME: This hack should be removed a few years after 2.60.
19323 ac_datarootdir_hack=; ac_datarootdir_seen=
19324 ac_sed_dataroot='
19325 /datarootdir/ {
19329 /@datadir@/p
19330 /@docdir@/p
19331 /@infodir@/p
19332 /@localedir@/p
19333 /@mandir@/p'
19334 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19335 *datarootdir*) ac_datarootdir_seen=yes;;
19336 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19338 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19339 _ACEOF
19340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19341 ac_datarootdir_hack='
19342 s&@datadir@&$datadir&g
19343 s&@docdir@&$docdir&g
19344 s&@infodir@&$infodir&g
19345 s&@localedir@&$localedir&g
19346 s&@mandir@&$mandir&g
19347 s&\\\${datarootdir}&$datarootdir&g' ;;
19348 esac
19349 _ACEOF
19351 # Neutralize VPATH when `$srcdir' = `.'.
19352 # Shell code in configure.ac might set extrasub.
19353 # FIXME: do we really want to maintain this feature?
19354 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19355 ac_sed_extra="$ac_vpsub
19356 $extrasub
19357 _ACEOF
19358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19360 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19361 s|@configure_input@|$ac_sed_conf_input|;t t
19362 s&@top_builddir@&$ac_top_builddir_sub&;t t
19363 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19364 s&@srcdir@&$ac_srcdir&;t t
19365 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19366 s&@top_srcdir@&$ac_top_srcdir&;t t
19367 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19368 s&@builddir@&$ac_builddir&;t t
19369 s&@abs_builddir@&$ac_abs_builddir&;t t
19370 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19371 $ac_datarootdir_hack
19373 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19374 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19376 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19377 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19378 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19379 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19381 which seems to be undefined. Please make sure it is defined" >&5
19382 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19383 which seems to be undefined. Please make sure it is defined" >&2;}
19385 rm -f "$ac_tmp/stdin"
19386 case $ac_file in
19387 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19388 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19389 esac \
19390 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19394 # CONFIG_HEADER
19396 if test x"$ac_file" != x-; then
19398 $as_echo "/* $configure_input */" \
19399 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19400 } >"$ac_tmp/config.h" \
19401 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19402 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19403 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19404 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19405 else
19406 rm -f "$ac_file"
19407 mv "$ac_tmp/config.h" "$ac_file" \
19408 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19410 else
19411 $as_echo "/* $configure_input */" \
19412 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19413 || as_fn_error $? "could not create -" "$LINENO" 5
19418 # CONFIG_LINK
19421 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19423 else
19424 # Prefer the file from the source tree if names are identical.
19425 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19426 ac_source=$srcdir/$ac_source
19429 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19430 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19432 if test ! -r "$ac_source"; then
19433 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19435 rm -f "$ac_file"
19437 # Try a relative symlink, then a hard link, then a copy.
19438 case $ac_source in
19439 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19440 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19441 esac
19442 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19443 ln "$ac_source" "$ac_file" 2>/dev/null ||
19444 cp -p "$ac_source" "$ac_file" ||
19445 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19448 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19449 $as_echo "$as_me: executing $ac_file commands" >&6;}
19451 esac
19454 case $ac_file$ac_mode in
19455 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19456 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19457 "Makefile":C) wine_fn_output_makefile Makefile ;;
19458 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19460 esac
19461 done # for ac_tag
19464 as_fn_exit 0
19465 _ACEOF
19466 ac_clean_files=$ac_clean_files_save
19468 test $ac_write_fail = 0 ||
19469 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19472 # configure is writing to config.log, and then calls config.status.
19473 # config.status does its own redirection, appending to config.log.
19474 # Unfortunately, on DOS this fails, as config.log is still kept open
19475 # by configure, so config.status won't be able to write to it; its
19476 # output is simply discarded. So we exec the FD to /dev/null,
19477 # effectively closing config.log, so it can be properly (re)opened and
19478 # appended to by config.status. When coming back to configure, we
19479 # need to make the FD available again.
19480 if test "$no_create" != yes; then
19481 ac_cs_success=:
19482 ac_config_status_args=
19483 test "$silent" = yes &&
19484 ac_config_status_args="$ac_config_status_args --quiet"
19485 exec 5>/dev/null
19486 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19487 exec 5>>config.log
19488 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19489 # would make configure fail if this is the last instruction.
19490 $ac_cs_success || as_fn_exit 1
19492 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19494 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19498 if test "$no_create" = "yes"
19499 then
19500 exit 0
19503 ac_save_IFS="$IFS"
19504 if test "x$wine_notices != "x; then
19505 echo >&6
19506 IFS="|"
19507 for msg in $wine_notices; do
19508 IFS="$ac_save_IFS"
19509 if ${msg:+false} :; then :
19511 else
19512 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19513 $as_echo "$as_me: $msg" >&6;}
19515 done
19517 IFS="|"
19518 for msg in $wine_warnings; do
19519 IFS="$ac_save_IFS"
19520 if ${msg:+false} :; then :
19522 else
19523 echo >&2
19524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19525 $as_echo "$as_me: WARNING: $msg" >&2;}
19527 done
19528 IFS="$ac_save_IFS"
19530 $as_echo "
19531 $as_me: Finished. Do '${ac_make}' to compile Wine.
19532 " >&6