vssapi: Add stub implementations for a couple of functions.
[wine.git] / configure
blob4b1a37d47e5f7830a8454e570aafa0393da94e63
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.31.
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.31'
584 PACKAGE_STRING='Wine 1.7.31'
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
709 LDRPATH_LOCAL
710 LDRPATH_INSTALL
711 DLLFLAGS
712 DLLPREFIX
713 dlldir
715 OPENGL_LIBS
716 ICOTOOL
717 CONVERT
718 RSVG
719 FONTFORGE
720 PKG_CONFIG
721 MSGFMT
722 LDCONFIG
723 EGREP
724 GREP
725 LN_S
726 RANLIB
727 ARFLAGS
728 STRIP
729 ac_ct_AR
731 BISON
732 FLEX
733 TOOLSDIR
734 TARGETFLAGS
735 CPPBIN
736 ac_ct_CXX
737 CXXFLAGS
739 OBJEXT
740 EXEEXT
741 ac_ct_CC
742 CPPFLAGS
743 LDFLAGS
744 CFLAGS
746 SET_MAKE
747 host_os
748 host_vendor
749 host_cpu
750 host
751 build_os
752 build_vendor
753 build_cpu
754 build
755 target_alias
756 host_alias
757 build_alias
758 LIBS
759 ECHO_T
760 ECHO_N
761 ECHO_C
762 DEFS
763 mandir
764 localedir
765 libdir
766 psdir
767 pdfdir
768 dvidir
769 htmldir
770 infodir
771 docdir
772 oldincludedir
773 includedir
774 localstatedir
775 sharedstatedir
776 sysconfdir
777 datadir
778 datarootdir
779 libexecdir
780 sbindir
781 bindir
782 program_transform_name
783 prefix
784 exec_prefix
785 PACKAGE_URL
786 PACKAGE_BUGREPORT
787 PACKAGE_STRING
788 PACKAGE_VERSION
789 PACKAGE_TARNAME
790 PACKAGE_NAME
791 PATH_SEPARATOR
792 SHELL'
793 ac_subst_files=''
794 ac_user_opts='
795 enable_option_checking
796 enable_win16
797 enable_win64
798 enable_tests
799 enable_maintainer_mode
800 with_alsa
801 with_capi
802 with_cms
803 with_coreaudio
804 with_cups
805 with_curses
806 with_dbus
807 with_fontconfig
808 with_freetype
809 with_gettext
810 with_gettextpo
811 with_gphoto
812 with_glu
813 with_gnutls
814 with_gsm
815 with_gstreamer
816 with_hal
817 with_jpeg
818 with_ldap
819 with_mpg123
820 with_netapi
821 with_openal
822 with_opencl
823 with_opengl
824 with_osmesa
825 with_oss
826 with_pcap
827 with_png
828 with_pthread
829 with_sane
830 with_tiff
831 with_v4l
832 with_xcomposite
833 with_xcursor
834 with_xinerama
835 with_xinput
836 with_xinput2
837 with_xml
838 with_xrandr
839 with_xrender
840 with_xshape
841 with_xshm
842 with_xslt
843 with_xxf86vm
844 with_zlib
845 with_wine_tools
846 with_wine64
847 enable_largefile
848 with_x
849 enable_acledit
850 enable_aclui
851 enable_activeds
852 enable_actxprxy
853 enable_advapi32
854 enable_advpack
855 enable_amstream
856 enable_api_ms_win_core_com_l1_1_0
857 enable_api_ms_win_core_console_l1_1_0
858 enable_api_ms_win_core_debug_l1_1_1
859 enable_api_ms_win_core_errorhandling_l1_1_1
860 enable_api_ms_win_core_file_l1_2_0
861 enable_api_ms_win_core_handle_l1_1_0
862 enable_api_ms_win_core_heap_l1_2_0
863 enable_api_ms_win_core_heap_obsolete_l1_1_0
864 enable_api_ms_win_core_interlocked_l1_2_0
865 enable_api_ms_win_core_io_l1_1_1
866 enable_api_ms_win_core_kernel32_legacy_l1_1_0
867 enable_api_ms_win_core_libraryloader_l1_1_1
868 enable_api_ms_win_core_localization_l1_2_0
869 enable_api_ms_win_core_localization_obsolete_l1_1_0
870 enable_api_ms_win_core_localregistry_l1_1_0
871 enable_api_ms_win_core_memory_l1_1_1
872 enable_api_ms_win_core_namedpipe_l1_2_0
873 enable_api_ms_win_core_processenvironment_l1_2_0
874 enable_api_ms_win_core_processthreads_l1_1_0
875 enable_api_ms_win_core_processthreads_l1_1_1
876 enable_api_ms_win_core_profile_l1_1_0
877 enable_api_ms_win_core_psapi_l1_1_0
878 enable_api_ms_win_core_registry_l1_1_0
879 enable_api_ms_win_core_rtlsupport_l1_2_0
880 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
881 enable_api_ms_win_core_string_l1_1_0
882 enable_api_ms_win_core_synch_l1_2_0
883 enable_api_ms_win_core_sysinfo_l1_2_0
884 enable_api_ms_win_core_threadpool_legacy_l1_1_0
885 enable_api_ms_win_core_timezone_l1_1_0
886 enable_api_ms_win_core_url_l1_1_0
887 enable_api_ms_win_core_util_l1_1_0
888 enable_api_ms_win_core_winrt_error_l1_1_0
889 enable_api_ms_win_core_winrt_string_l1_1_0
890 enable_api_ms_win_downlevel_advapi32_l1_1_0
891 enable_api_ms_win_downlevel_advapi32_l2_1_0
892 enable_api_ms_win_downlevel_normaliz_l1_1_0
893 enable_api_ms_win_downlevel_ole32_l1_1_0
894 enable_api_ms_win_downlevel_shell32_l1_1_0
895 enable_api_ms_win_downlevel_shlwapi_l1_1_0
896 enable_api_ms_win_downlevel_shlwapi_l2_1_0
897 enable_api_ms_win_downlevel_user32_l1_1_0
898 enable_api_ms_win_downlevel_version_l1_1_0
899 enable_api_ms_win_eventing_provider_l1_1_0
900 enable_api_ms_win_ntuser_dc_access_l1_1_0
901 enable_api_ms_win_security_base_l1_1_0
902 enable_api_ms_win_security_base_l1_2_0
903 enable_api_ms_win_security_sddl_l1_1_0
904 enable_api_ms_win_service_core_l1_1_1
905 enable_api_ms_win_service_management_l1_1_0
906 enable_api_ms_win_service_winsvc_l1_2_0
907 enable_apphelp
908 enable_appwiz_cpl
909 enable_atl
910 enable_atl100
911 enable_atl110
912 enable_atl80
913 enable_atl90
914 enable_authz
915 enable_avicap32
916 enable_avifil32
917 enable_avrt
918 enable_bcrypt
919 enable_browseui
920 enable_cabinet
921 enable_capi2032
922 enable_cards
923 enable_cfgmgr32
924 enable_clusapi
925 enable_comcat
926 enable_comctl32
927 enable_comdlg32
928 enable_compstui
929 enable_comsvcs
930 enable_credui
931 enable_crtdll
932 enable_crypt32
933 enable_cryptdlg
934 enable_cryptdll
935 enable_cryptext
936 enable_cryptnet
937 enable_cryptui
938 enable_ctapi32
939 enable_ctl3d32
940 enable_d2d1
941 enable_d3d10
942 enable_d3d10_1
943 enable_d3d10core
944 enable_d3d11
945 enable_d3d8
946 enable_d3d9
947 enable_d3dcompiler_33
948 enable_d3dcompiler_34
949 enable_d3dcompiler_35
950 enable_d3dcompiler_36
951 enable_d3dcompiler_37
952 enable_d3dcompiler_38
953 enable_d3dcompiler_39
954 enable_d3dcompiler_40
955 enable_d3dcompiler_41
956 enable_d3dcompiler_42
957 enable_d3dcompiler_43
958 enable_d3dim
959 enable_d3drm
960 enable_d3dx10_33
961 enable_d3dx10_34
962 enable_d3dx10_35
963 enable_d3dx10_36
964 enable_d3dx10_37
965 enable_d3dx10_38
966 enable_d3dx10_39
967 enable_d3dx10_40
968 enable_d3dx10_41
969 enable_d3dx10_42
970 enable_d3dx10_43
971 enable_d3dx11_42
972 enable_d3dx11_43
973 enable_d3dx9_24
974 enable_d3dx9_25
975 enable_d3dx9_26
976 enable_d3dx9_27
977 enable_d3dx9_28
978 enable_d3dx9_29
979 enable_d3dx9_30
980 enable_d3dx9_31
981 enable_d3dx9_32
982 enable_d3dx9_33
983 enable_d3dx9_34
984 enable_d3dx9_35
985 enable_d3dx9_36
986 enable_d3dx9_37
987 enable_d3dx9_38
988 enable_d3dx9_39
989 enable_d3dx9_40
990 enable_d3dx9_41
991 enable_d3dx9_42
992 enable_d3dx9_43
993 enable_d3dxof
994 enable_dbgeng
995 enable_dbghelp
996 enable_dciman32
997 enable_ddraw
998 enable_ddrawex
999 enable_devenum
1000 enable_dhcpcsvc
1001 enable_difxapi
1002 enable_dinput
1003 enable_dinput8
1004 enable_dispex
1005 enable_dmband
1006 enable_dmcompos
1007 enable_dmime
1008 enable_dmloader
1009 enable_dmscript
1010 enable_dmstyle
1011 enable_dmsynth
1012 enable_dmusic
1013 enable_dmusic32
1014 enable_dnsapi
1015 enable_dplay
1016 enable_dplayx
1017 enable_dpnaddr
1018 enable_dpnet
1019 enable_dpnhpast
1020 enable_dpnlobby
1021 enable_dpvoice
1022 enable_dpwsockx
1023 enable_drmclien
1024 enable_dsound
1025 enable_dssenh
1026 enable_dswave
1027 enable_dwmapi
1028 enable_dwrite
1029 enable_dxdiagn
1030 enable_dxgi
1031 enable_dxva2
1032 enable_explorerframe
1033 enable_ext_ms_win_gdi_devcaps_l1_1_0
1034 enable_faultrep
1035 enable_fltlib
1036 enable_fntcache
1037 enable_fontsub
1038 enable_fusion
1039 enable_fwpuclnt
1040 enable_gameux
1041 enable_gdi32
1042 enable_gdiplus
1043 enable_glu32
1044 enable_gphoto2_ds
1045 enable_gpkcsp
1046 enable_hal
1047 enable_hhctrl_ocx
1048 enable_hid
1049 enable_hlink
1050 enable_hnetcfg
1051 enable_httpapi
1052 enable_iccvid
1053 enable_icmp
1054 enable_ieframe
1055 enable_imaadp32_acm
1056 enable_imagehlp
1057 enable_imm32
1058 enable_inetcomm
1059 enable_inetcpl_cpl
1060 enable_inetmib1
1061 enable_infosoft
1062 enable_initpki
1063 enable_inkobj
1064 enable_inseng
1065 enable_iphlpapi
1066 enable_itircl
1067 enable_itss
1068 enable_joy_cpl
1069 enable_jscript
1070 enable_jsproxy
1071 enable_kernel32
1072 enable_ksuser
1073 enable_ktmw32
1074 enable_loadperf
1075 enable_localspl
1076 enable_localui
1077 enable_lz32
1078 enable_mapi32
1079 enable_mapistub
1080 enable_mciavi32
1081 enable_mcicda
1082 enable_mciqtz32
1083 enable_mciseq
1084 enable_mciwave
1085 enable_mgmtapi
1086 enable_midimap
1087 enable_mlang
1088 enable_mmcndmgr
1089 enable_mmdevapi
1090 enable_mountmgr_sys
1091 enable_mpr
1092 enable_mprapi
1093 enable_msacm32_drv
1094 enable_msacm32
1095 enable_msadp32_acm
1096 enable_msasn1
1097 enable_mscat32
1098 enable_mscms
1099 enable_mscoree
1100 enable_msctf
1101 enable_msdaps
1102 enable_msdmo
1103 enable_msftedit
1104 enable_msg711_acm
1105 enable_msgsm32_acm
1106 enable_mshtml_tlb
1107 enable_mshtml
1108 enable_msi
1109 enable_msident
1110 enable_msimg32
1111 enable_msimsg
1112 enable_msimtf
1113 enable_msisip
1114 enable_msisys_ocx
1115 enable_msls31
1116 enable_msnet32
1117 enable_mspatcha
1118 enable_msrle32
1119 enable_mssign32
1120 enable_mssip32
1121 enable_mstask
1122 enable_msvcirt
1123 enable_msvcm80
1124 enable_msvcm90
1125 enable_msvcp100
1126 enable_msvcp110
1127 enable_msvcp120
1128 enable_msvcp60
1129 enable_msvcp70
1130 enable_msvcp71
1131 enable_msvcp80
1132 enable_msvcp90
1133 enable_msvcr100
1134 enable_msvcr110
1135 enable_msvcr120
1136 enable_msvcr70
1137 enable_msvcr71
1138 enable_msvcr80
1139 enable_msvcr90
1140 enable_msvcrt
1141 enable_msvcrt20
1142 enable_msvcrt40
1143 enable_msvcrtd
1144 enable_msvfw32
1145 enable_msvidc32
1146 enable_mswsock
1147 enable_msxml
1148 enable_msxml2
1149 enable_msxml3
1150 enable_msxml4
1151 enable_msxml6
1152 enable_nddeapi
1153 enable_ndis_sys
1154 enable_netapi32
1155 enable_netcfgx
1156 enable_netprofm
1157 enable_newdev
1158 enable_normaliz
1159 enable_npmshtml
1160 enable_npptools
1161 enable_ntdll
1162 enable_ntdsapi
1163 enable_ntoskrnl_exe
1164 enable_ntprint
1165 enable_objsel
1166 enable_odbc32
1167 enable_odbccp32
1168 enable_odbccu32
1169 enable_ole32
1170 enable_oleacc
1171 enable_oleaut32
1172 enable_olecli32
1173 enable_oledb32
1174 enable_oledlg
1175 enable_olepro32
1176 enable_olesvr32
1177 enable_olethk32
1178 enable_openal32
1179 enable_opencl
1180 enable_opengl32
1181 enable_packager
1182 enable_pdh
1183 enable_photometadatahandler
1184 enable_pidgen
1185 enable_powrprof
1186 enable_printui
1187 enable_prntvpt
1188 enable_propsys
1189 enable_psapi
1190 enable_pstorec
1191 enable_qcap
1192 enable_qedit
1193 enable_qmgr
1194 enable_qmgrprxy
1195 enable_quartz
1196 enable_query
1197 enable_rasapi32
1198 enable_rasdlg
1199 enable_regapi
1200 enable_resutils
1201 enable_riched20
1202 enable_riched32
1203 enable_rpcrt4
1204 enable_rsabase
1205 enable_rsaenh
1206 enable_rstrtmgr
1207 enable_rtutils
1208 enable_samlib
1209 enable_sane_ds
1210 enable_scarddlg
1211 enable_sccbase
1212 enable_schannel
1213 enable_schedsvc
1214 enable_scrrun
1215 enable_scsiport_sys
1216 enable_secur32
1217 enable_security
1218 enable_sensapi
1219 enable_serialui
1220 enable_setupapi
1221 enable_sfc
1222 enable_sfc_os
1223 enable_shdoclc
1224 enable_shdocvw
1225 enable_shell32
1226 enable_shfolder
1227 enable_shlwapi
1228 enable_slbcsp
1229 enable_slc
1230 enable_snmpapi
1231 enable_softpub
1232 enable_spoolss
1233 enable_stdole2_tlb
1234 enable_stdole32_tlb
1235 enable_sti
1236 enable_svrapi
1237 enable_sxs
1238 enable_t2embed
1239 enable_tapi32
1240 enable_taskschd
1241 enable_traffic
1242 enable_twain_32
1243 enable_unicows
1244 enable_updspapi
1245 enable_url
1246 enable_urlmon
1247 enable_usbd_sys
1248 enable_user32
1249 enable_userenv
1250 enable_usp10
1251 enable_uxtheme
1252 enable_vbscript
1253 enable_vcomp
1254 enable_vcomp100
1255 enable_vcomp90
1256 enable_vdmdbg
1257 enable_version
1258 enable_vssapi
1259 enable_wbemdisp
1260 enable_wbemprox
1261 enable_webservices
1262 enable_wer
1263 enable_wevtapi
1264 enable_wiaservc
1265 enable_windowscodecs
1266 enable_windowscodecsext
1267 enable_winealsa_drv
1268 enable_winecoreaudio_drv
1269 enable_wined3d
1270 enable_winegstreamer
1271 enable_winejoystick_drv
1272 enable_winemac_drv
1273 enable_winemapi
1274 enable_winemp3_acm
1275 enable_wineoss_drv
1276 enable_wineps_drv
1277 enable_wineqtdecoder
1278 enable_winex11_drv
1279 enable_wing32
1280 enable_winhttp
1281 enable_wininet
1282 enable_winmm
1283 enable_winnls32
1284 enable_winscard
1285 enable_winspool_drv
1286 enable_winsta
1287 enable_wintab32
1288 enable_wintrust
1289 enable_wlanapi
1290 enable_wldap32
1291 enable_wmi
1292 enable_wmiutils
1293 enable_wmp
1294 enable_wmvcore
1295 enable_wnaspi32
1296 enable_wpcap
1297 enable_ws2_32
1298 enable_wshom_ocx
1299 enable_wsnmp32
1300 enable_wsock32
1301 enable_wtsapi32
1302 enable_wuapi
1303 enable_wuaueng
1304 enable_xapofx1_1
1305 enable_xinput1_1
1306 enable_xinput1_2
1307 enable_xinput1_3
1308 enable_xinput1_4
1309 enable_xinput9_1_0
1310 enable_xmllite
1311 enable_xolehlp
1312 enable_xpsprint
1313 enable_xpssvcs
1314 enable_documentation
1315 enable_fonts
1316 enable_include
1317 enable_libs_port
1318 enable_libs_wine
1319 enable_libs_wpp
1320 enable_loader
1321 enable_arp
1322 enable_aspnet_regiis
1323 enable_attrib
1324 enable_cabarc
1325 enable_cacls
1326 enable_clock
1327 enable_cmd
1328 enable_conhost
1329 enable_control
1330 enable_cscript
1331 enable_dpnsvr
1332 enable_dxdiag
1333 enable_eject
1334 enable_expand
1335 enable_explorer
1336 enable_extrac32
1337 enable_findstr
1338 enable_hh
1339 enable_hostname
1340 enable_icinfo
1341 enable_iexplore
1342 enable_ipconfig
1343 enable_lodctr
1344 enable_mofcomp
1345 enable_mshta
1346 enable_msiexec
1347 enable_net
1348 enable_netsh
1349 enable_netstat
1350 enable_ngen
1351 enable_notepad
1352 enable_oleview
1353 enable_ping
1354 enable_plugplay
1355 enable_presentationfontcache
1356 enable_progman
1357 enable_reg
1358 enable_regasm
1359 enable_regedit
1360 enable_regsvcs
1361 enable_regsvr32
1362 enable_rpcss
1363 enable_rundll32
1364 enable_sc
1365 enable_schtasks
1366 enable_sdbinst
1367 enable_secedit
1368 enable_servicemodelreg
1369 enable_services
1370 enable_spoolsv
1371 enable_start
1372 enable_svchost
1373 enable_systeminfo
1374 enable_taskkill
1375 enable_tasklist
1376 enable_taskmgr
1377 enable_termsv
1378 enable_uninstaller
1379 enable_unlodctr
1380 enable_view
1381 enable_wevtutil
1382 enable_wineboot
1383 enable_winebrowser
1384 enable_winecfg
1385 enable_wineconsole
1386 enable_winedbg
1387 enable_winedevice
1388 enable_winefile
1389 enable_winemenubuilder
1390 enable_winemine
1391 enable_winemsibuilder
1392 enable_winepath
1393 enable_winetest
1394 enable_winhlp32
1395 enable_winver
1396 enable_wmic
1397 enable_wordpad
1398 enable_write
1399 enable_wscript
1400 enable_wusa
1401 enable_xcopy
1402 enable_server
1403 enable_tools
1405 ac_precious_vars='build_alias
1406 host_alias
1407 target_alias
1409 CFLAGS
1410 LDFLAGS
1411 LIBS
1412 CPPFLAGS
1414 CXXFLAGS
1417 XMKMF
1418 XML2_CFLAGS
1419 XML2_LIBS
1420 XSLT_CFLAGS
1421 XSLT_LIBS
1422 DBUS_CFLAGS
1423 DBUS_LIBS
1424 HAL_CFLAGS
1425 HAL_LIBS
1426 GNUTLS_CFLAGS
1427 GNUTLS_LIBS
1428 SANE_CFLAGS
1429 SANE_LIBS
1430 GPHOTO2_CFLAGS
1431 GPHOTO2_LIBS
1432 GPHOTO2_PORT_CFLAGS
1433 GPHOTO2_PORT_LIBS
1434 LCMS2_CFLAGS
1435 LCMS2_LIBS
1436 FREETYPE_CFLAGS
1437 FREETYPE_LIBS
1438 GSTREAMER_CFLAGS
1439 GSTREAMER_LIBS
1440 CAPI20_CFLAGS
1441 CAPI20_LIBS
1442 FONTCONFIG_CFLAGS
1443 FONTCONFIG_LIBS
1444 JPEG_CFLAGS
1445 JPEG_LIBS
1446 PNG_CFLAGS
1447 PNG_LIBS
1448 TIFF_CFLAGS
1449 TIFF_LIBS
1450 MPG123_CFLAGS
1451 MPG123_LIBS'
1454 # Initialize some variables set by options.
1455 ac_init_help=
1456 ac_init_version=false
1457 ac_unrecognized_opts=
1458 ac_unrecognized_sep=
1459 # The variables have the same names as the options, with
1460 # dashes changed to underlines.
1461 cache_file=/dev/null
1462 exec_prefix=NONE
1463 no_create=
1464 no_recursion=
1465 prefix=NONE
1466 program_prefix=NONE
1467 program_suffix=NONE
1468 program_transform_name=s,x,x,
1469 silent=
1470 site=
1471 srcdir=
1472 verbose=
1473 x_includes=NONE
1474 x_libraries=NONE
1476 # Installation directory options.
1477 # These are left unexpanded so users can "make install exec_prefix=/foo"
1478 # and all the variables that are supposed to be based on exec_prefix
1479 # by default will actually change.
1480 # Use braces instead of parens because sh, perl, etc. also accept them.
1481 # (The list follows the same order as the GNU Coding Standards.)
1482 bindir='${exec_prefix}/bin'
1483 sbindir='${exec_prefix}/sbin'
1484 libexecdir='${exec_prefix}/libexec'
1485 datarootdir='${prefix}/share'
1486 datadir='${datarootdir}'
1487 sysconfdir='${prefix}/etc'
1488 sharedstatedir='${prefix}/com'
1489 localstatedir='${prefix}/var'
1490 includedir='${prefix}/include'
1491 oldincludedir='/usr/include'
1492 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1493 infodir='${datarootdir}/info'
1494 htmldir='${docdir}'
1495 dvidir='${docdir}'
1496 pdfdir='${docdir}'
1497 psdir='${docdir}'
1498 libdir='${exec_prefix}/lib'
1499 localedir='${datarootdir}/locale'
1500 mandir='${datarootdir}/man'
1502 ac_prev=
1503 ac_dashdash=
1504 for ac_option
1506 # If the previous option needs an argument, assign it.
1507 if test -n "$ac_prev"; then
1508 eval $ac_prev=\$ac_option
1509 ac_prev=
1510 continue
1513 case $ac_option in
1514 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1515 *=) ac_optarg= ;;
1516 *) ac_optarg=yes ;;
1517 esac
1519 # Accept the important Cygnus configure options, so we can diagnose typos.
1521 case $ac_dashdash$ac_option in
1523 ac_dashdash=yes ;;
1525 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1526 ac_prev=bindir ;;
1527 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1528 bindir=$ac_optarg ;;
1530 -build | --build | --buil | --bui | --bu)
1531 ac_prev=build_alias ;;
1532 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1533 build_alias=$ac_optarg ;;
1535 -cache-file | --cache-file | --cache-fil | --cache-fi \
1536 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1537 ac_prev=cache_file ;;
1538 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1539 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1540 cache_file=$ac_optarg ;;
1542 --config-cache | -C)
1543 cache_file=config.cache ;;
1545 -datadir | --datadir | --datadi | --datad)
1546 ac_prev=datadir ;;
1547 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1548 datadir=$ac_optarg ;;
1550 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1551 | --dataroo | --dataro | --datar)
1552 ac_prev=datarootdir ;;
1553 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1554 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1555 datarootdir=$ac_optarg ;;
1557 -disable-* | --disable-*)
1558 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1559 # Reject names that are not valid shell variable names.
1560 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1561 as_fn_error $? "invalid feature name: $ac_useropt"
1562 ac_useropt_orig=$ac_useropt
1563 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1564 case $ac_user_opts in
1566 "enable_$ac_useropt"
1567 "*) ;;
1568 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1569 ac_unrecognized_sep=', ';;
1570 esac
1571 eval enable_$ac_useropt=no ;;
1573 -docdir | --docdir | --docdi | --doc | --do)
1574 ac_prev=docdir ;;
1575 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1576 docdir=$ac_optarg ;;
1578 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1579 ac_prev=dvidir ;;
1580 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1581 dvidir=$ac_optarg ;;
1583 -enable-* | --enable-*)
1584 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1585 # Reject names that are not valid shell variable names.
1586 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1587 as_fn_error $? "invalid feature name: $ac_useropt"
1588 ac_useropt_orig=$ac_useropt
1589 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1590 case $ac_user_opts in
1592 "enable_$ac_useropt"
1593 "*) ;;
1594 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1595 ac_unrecognized_sep=', ';;
1596 esac
1597 eval enable_$ac_useropt=\$ac_optarg ;;
1599 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1600 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1601 | --exec | --exe | --ex)
1602 ac_prev=exec_prefix ;;
1603 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1604 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1605 | --exec=* | --exe=* | --ex=*)
1606 exec_prefix=$ac_optarg ;;
1608 -gas | --gas | --ga | --g)
1609 # Obsolete; use --with-gas.
1610 with_gas=yes ;;
1612 -help | --help | --hel | --he | -h)
1613 ac_init_help=long ;;
1614 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1615 ac_init_help=recursive ;;
1616 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1617 ac_init_help=short ;;
1619 -host | --host | --hos | --ho)
1620 ac_prev=host_alias ;;
1621 -host=* | --host=* | --hos=* | --ho=*)
1622 host_alias=$ac_optarg ;;
1624 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1625 ac_prev=htmldir ;;
1626 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1627 | --ht=*)
1628 htmldir=$ac_optarg ;;
1630 -includedir | --includedir | --includedi | --included | --include \
1631 | --includ | --inclu | --incl | --inc)
1632 ac_prev=includedir ;;
1633 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1634 | --includ=* | --inclu=* | --incl=* | --inc=*)
1635 includedir=$ac_optarg ;;
1637 -infodir | --infodir | --infodi | --infod | --info | --inf)
1638 ac_prev=infodir ;;
1639 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1640 infodir=$ac_optarg ;;
1642 -libdir | --libdir | --libdi | --libd)
1643 ac_prev=libdir ;;
1644 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1645 libdir=$ac_optarg ;;
1647 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1648 | --libexe | --libex | --libe)
1649 ac_prev=libexecdir ;;
1650 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1651 | --libexe=* | --libex=* | --libe=*)
1652 libexecdir=$ac_optarg ;;
1654 -localedir | --localedir | --localedi | --localed | --locale)
1655 ac_prev=localedir ;;
1656 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1657 localedir=$ac_optarg ;;
1659 -localstatedir | --localstatedir | --localstatedi | --localstated \
1660 | --localstate | --localstat | --localsta | --localst | --locals)
1661 ac_prev=localstatedir ;;
1662 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1663 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1664 localstatedir=$ac_optarg ;;
1666 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1667 ac_prev=mandir ;;
1668 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1669 mandir=$ac_optarg ;;
1671 -nfp | --nfp | --nf)
1672 # Obsolete; use --without-fp.
1673 with_fp=no ;;
1675 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1676 | --no-cr | --no-c | -n)
1677 no_create=yes ;;
1679 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1680 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1681 no_recursion=yes ;;
1683 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1684 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1685 | --oldin | --oldi | --old | --ol | --o)
1686 ac_prev=oldincludedir ;;
1687 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1688 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1689 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1690 oldincludedir=$ac_optarg ;;
1692 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1693 ac_prev=prefix ;;
1694 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1695 prefix=$ac_optarg ;;
1697 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1698 | --program-pre | --program-pr | --program-p)
1699 ac_prev=program_prefix ;;
1700 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1701 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1702 program_prefix=$ac_optarg ;;
1704 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1705 | --program-suf | --program-su | --program-s)
1706 ac_prev=program_suffix ;;
1707 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1708 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1709 program_suffix=$ac_optarg ;;
1711 -program-transform-name | --program-transform-name \
1712 | --program-transform-nam | --program-transform-na \
1713 | --program-transform-n | --program-transform- \
1714 | --program-transform | --program-transfor \
1715 | --program-transfo | --program-transf \
1716 | --program-trans | --program-tran \
1717 | --progr-tra | --program-tr | --program-t)
1718 ac_prev=program_transform_name ;;
1719 -program-transform-name=* | --program-transform-name=* \
1720 | --program-transform-nam=* | --program-transform-na=* \
1721 | --program-transform-n=* | --program-transform-=* \
1722 | --program-transform=* | --program-transfor=* \
1723 | --program-transfo=* | --program-transf=* \
1724 | --program-trans=* | --program-tran=* \
1725 | --progr-tra=* | --program-tr=* | --program-t=*)
1726 program_transform_name=$ac_optarg ;;
1728 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1729 ac_prev=pdfdir ;;
1730 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1731 pdfdir=$ac_optarg ;;
1733 -psdir | --psdir | --psdi | --psd | --ps)
1734 ac_prev=psdir ;;
1735 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1736 psdir=$ac_optarg ;;
1738 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1739 | -silent | --silent | --silen | --sile | --sil)
1740 silent=yes ;;
1742 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1743 ac_prev=sbindir ;;
1744 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1745 | --sbi=* | --sb=*)
1746 sbindir=$ac_optarg ;;
1748 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1749 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1750 | --sharedst | --shareds | --shared | --share | --shar \
1751 | --sha | --sh)
1752 ac_prev=sharedstatedir ;;
1753 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1754 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1755 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1756 | --sha=* | --sh=*)
1757 sharedstatedir=$ac_optarg ;;
1759 -site | --site | --sit)
1760 ac_prev=site ;;
1761 -site=* | --site=* | --sit=*)
1762 site=$ac_optarg ;;
1764 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1765 ac_prev=srcdir ;;
1766 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1767 srcdir=$ac_optarg ;;
1769 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1770 | --syscon | --sysco | --sysc | --sys | --sy)
1771 ac_prev=sysconfdir ;;
1772 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1773 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1774 sysconfdir=$ac_optarg ;;
1776 -target | --target | --targe | --targ | --tar | --ta | --t)
1777 ac_prev=target_alias ;;
1778 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1779 target_alias=$ac_optarg ;;
1781 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1782 verbose=yes ;;
1784 -version | --version | --versio | --versi | --vers | -V)
1785 ac_init_version=: ;;
1787 -with-* | --with-*)
1788 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1789 # Reject names that are not valid shell variable names.
1790 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1791 as_fn_error $? "invalid package name: $ac_useropt"
1792 ac_useropt_orig=$ac_useropt
1793 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1794 case $ac_user_opts in
1796 "with_$ac_useropt"
1797 "*) ;;
1798 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1799 ac_unrecognized_sep=', ';;
1800 esac
1801 eval with_$ac_useropt=\$ac_optarg ;;
1803 -without-* | --without-*)
1804 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1805 # Reject names that are not valid shell variable names.
1806 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1807 as_fn_error $? "invalid package name: $ac_useropt"
1808 ac_useropt_orig=$ac_useropt
1809 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1810 case $ac_user_opts in
1812 "with_$ac_useropt"
1813 "*) ;;
1814 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1815 ac_unrecognized_sep=', ';;
1816 esac
1817 eval with_$ac_useropt=no ;;
1819 --x)
1820 # Obsolete; use --with-x.
1821 with_x=yes ;;
1823 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1824 | --x-incl | --x-inc | --x-in | --x-i)
1825 ac_prev=x_includes ;;
1826 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1827 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1828 x_includes=$ac_optarg ;;
1830 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1831 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1832 ac_prev=x_libraries ;;
1833 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1834 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1835 x_libraries=$ac_optarg ;;
1837 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1838 Try \`$0 --help' for more information"
1841 *=*)
1842 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1843 # Reject names that are not valid shell variable names.
1844 case $ac_envvar in #(
1845 '' | [0-9]* | *[!_$as_cr_alnum]* )
1846 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1847 esac
1848 eval $ac_envvar=\$ac_optarg
1849 export $ac_envvar ;;
1852 # FIXME: should be removed in autoconf 3.0.
1853 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1854 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1855 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1856 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1859 esac
1860 done
1862 if test -n "$ac_prev"; then
1863 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1864 as_fn_error $? "missing argument to $ac_option"
1867 if test -n "$ac_unrecognized_opts"; then
1868 case $enable_option_checking in
1869 no) ;;
1870 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1871 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1872 esac
1875 # Check all directory arguments for consistency.
1876 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1877 datadir sysconfdir sharedstatedir localstatedir includedir \
1878 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1879 libdir localedir mandir
1881 eval ac_val=\$$ac_var
1882 # Remove trailing slashes.
1883 case $ac_val in
1884 */ )
1885 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1886 eval $ac_var=\$ac_val;;
1887 esac
1888 # Be sure to have absolute directory names.
1889 case $ac_val in
1890 [\\/$]* | ?:[\\/]* ) continue;;
1891 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1892 esac
1893 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1894 done
1896 # There might be people who depend on the old broken behavior: `$host'
1897 # used to hold the argument of --host etc.
1898 # FIXME: To remove some day.
1899 build=$build_alias
1900 host=$host_alias
1901 target=$target_alias
1903 # FIXME: To remove some day.
1904 if test "x$host_alias" != x; then
1905 if test "x$build_alias" = x; then
1906 cross_compiling=maybe
1907 elif test "x$build_alias" != "x$host_alias"; then
1908 cross_compiling=yes
1912 ac_tool_prefix=
1913 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1915 test "$silent" = yes && exec 6>/dev/null
1918 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1919 ac_ls_di=`ls -di .` &&
1920 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1921 as_fn_error $? "working directory cannot be determined"
1922 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1923 as_fn_error $? "pwd does not report name of working directory"
1926 # Find the source files, if location was not specified.
1927 if test -z "$srcdir"; then
1928 ac_srcdir_defaulted=yes
1929 # Try the directory containing this script, then the parent directory.
1930 ac_confdir=`$as_dirname -- "$as_myself" ||
1931 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1932 X"$as_myself" : 'X\(//\)[^/]' \| \
1933 X"$as_myself" : 'X\(//\)$' \| \
1934 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1935 $as_echo X"$as_myself" |
1936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1937 s//\1/
1940 /^X\(\/\/\)[^/].*/{
1941 s//\1/
1944 /^X\(\/\/\)$/{
1945 s//\1/
1948 /^X\(\/\).*/{
1949 s//\1/
1952 s/.*/./; q'`
1953 srcdir=$ac_confdir
1954 if test ! -r "$srcdir/$ac_unique_file"; then
1955 srcdir=..
1957 else
1958 ac_srcdir_defaulted=no
1960 if test ! -r "$srcdir/$ac_unique_file"; then
1961 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1962 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1964 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1965 ac_abs_confdir=`(
1966 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1967 pwd)`
1968 # When building in place, set srcdir=.
1969 if test "$ac_abs_confdir" = "$ac_pwd"; then
1970 srcdir=.
1972 # Remove unnecessary trailing slashes from srcdir.
1973 # Double slashes in file names in object file debugging info
1974 # mess up M-x gdb in Emacs.
1975 case $srcdir in
1976 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1977 esac
1978 for ac_var in $ac_precious_vars; do
1979 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1980 eval ac_env_${ac_var}_value=\$${ac_var}
1981 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1982 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1983 done
1986 # Report the --help message.
1988 if test "$ac_init_help" = "long"; then
1989 # Omit some internal or obsolete options to make the list less imposing.
1990 # This message is too long to be a string in the A/UX 3.1 sh.
1991 cat <<_ACEOF
1992 \`configure' configures Wine 1.7.31 to adapt to many kinds of systems.
1994 Usage: $0 [OPTION]... [VAR=VALUE]...
1996 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1997 VAR=VALUE. See below for descriptions of some of the useful variables.
1999 Defaults for the options are specified in brackets.
2001 Configuration:
2002 -h, --help display this help and exit
2003 --help=short display options specific to this package
2004 --help=recursive display the short help of all the included packages
2005 -V, --version display version information and exit
2006 -q, --quiet, --silent do not print \`checking ...' messages
2007 --cache-file=FILE cache test results in FILE [disabled]
2008 -C, --config-cache alias for \`--cache-file=config.cache'
2009 -n, --no-create do not create output files
2010 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2012 Installation directories:
2013 --prefix=PREFIX install architecture-independent files in PREFIX
2014 [$ac_default_prefix]
2015 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2016 [PREFIX]
2018 By default, \`make install' will install all the files in
2019 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2020 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2021 for instance \`--prefix=\$HOME'.
2023 For better control, use the options below.
2025 Fine tuning of the installation directories:
2026 --bindir=DIR user executables [EPREFIX/bin]
2027 --sbindir=DIR system admin executables [EPREFIX/sbin]
2028 --libexecdir=DIR program executables [EPREFIX/libexec]
2029 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2030 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2031 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2032 --libdir=DIR object code libraries [EPREFIX/lib]
2033 --includedir=DIR C header files [PREFIX/include]
2034 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2035 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2036 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2037 --infodir=DIR info documentation [DATAROOTDIR/info]
2038 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2039 --mandir=DIR man documentation [DATAROOTDIR/man]
2040 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2041 --htmldir=DIR html documentation [DOCDIR]
2042 --dvidir=DIR dvi documentation [DOCDIR]
2043 --pdfdir=DIR pdf documentation [DOCDIR]
2044 --psdir=DIR ps documentation [DOCDIR]
2045 _ACEOF
2047 cat <<\_ACEOF
2049 X features:
2050 --x-includes=DIR X include files are in DIR
2051 --x-libraries=DIR X library files are in DIR
2053 System types:
2054 --build=BUILD configure for building on BUILD [guessed]
2055 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2056 _ACEOF
2059 if test -n "$ac_init_help"; then
2060 case $ac_init_help in
2061 short | recursive ) echo "Configuration of Wine 1.7.31:";;
2062 esac
2063 cat <<\_ACEOF
2065 Optional Features:
2066 --disable-option-checking ignore unrecognized --enable/--with options
2067 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2068 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2069 --disable-win16 do not include Win16 support
2070 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2071 binaries)
2072 --disable-tests do not build the regression tests
2073 --enable-maintainer-mode
2074 enable maintainer-specific build rules
2075 --disable-largefile omit support for large files
2077 Optional Packages:
2078 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2079 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2080 --without-alsa do not use the Alsa sound support
2081 --without-capi do not use CAPI (ISDN support)
2082 --without-cms do not use CMS (color management support)
2083 --without-coreaudio do not use the CoreAudio sound support
2084 --without-cups do not use CUPS
2085 --without-curses do not use (n)curses
2086 --without-dbus do not use DBus (dynamic device support)
2087 --without-fontconfig do not use fontconfig
2088 --without-freetype do not use the FreeType library
2089 --without-gettext do not use gettext
2090 --with-gettextpo use the GetTextPO library to rebuild po files
2091 --without-gphoto do not use gphoto (Digital Camera support)
2092 --without-glu do not use the GLU library
2093 --without-gnutls do not use GnuTLS (schannel support)
2094 --without-gsm do not use libgsm (GSM 06.10 codec support)
2095 --without-gstreamer do not use GStreamer (codecs support)
2096 --without-hal do not use HAL (dynamic device support)
2097 --without-jpeg do not use JPEG
2098 --without-ldap do not use LDAP
2099 --without-mpg123 do not use the mpg123 library
2100 --without-netapi do not use the Samba NetAPI library
2101 --without-openal do not use OpenAL
2102 --without-opencl do not use OpenCL
2103 --without-opengl do not use OpenGL
2104 --without-osmesa do not use the OSMesa library
2105 --without-oss do not use the OSS sound support
2106 --without-pcap do not use the Packet Capture library
2107 --without-png do not use PNG
2108 --without-pthread do not use the pthread library
2109 --without-sane do not use SANE (scanner support)
2110 --without-tiff do not use TIFF
2111 --without-v4l do not use v4l1 (v4l support)
2112 --without-xcomposite do not use the Xcomposite extension
2113 --without-xcursor do not use the Xcursor extension
2114 --without-xinerama do not use Xinerama (multi-monitor support)
2115 --without-xinput do not use the Xinput extension
2116 --without-xinput2 do not use the Xinput 2 extension
2117 --without-xml do not use XML
2118 --without-xrandr do not use Xrandr (resolution changes)
2119 --without-xrender do not use the Xrender extension
2120 --without-xshape do not use the Xshape extension
2121 --without-xshm do not use XShm (shared memory extension)
2122 --without-xslt do not use XSLT
2123 --without-xxf86vm do not use XFree video mode extension
2124 --without-zlib do not use Zlib (data compression)
2125 --with-wine-tools=DIR use Wine tools from directory DIR
2126 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2127 --with-x use the X Window System
2129 Some influential environment variables:
2130 CC C compiler command
2131 CFLAGS C compiler flags
2132 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2133 nonstandard directory <lib dir>
2134 LIBS libraries to pass to the linker, e.g. -l<library>
2135 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2136 you have headers in a nonstandard directory <include dir>
2137 CXX C++ compiler command
2138 CXXFLAGS C++ compiler flags
2139 CPP C preprocessor
2140 XMKMF Path to xmkmf, Makefile generator for X Window System
2141 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2142 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2143 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2144 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2145 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2146 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2147 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2148 HAL_LIBS Linker flags for hal, overriding pkg-config
2149 GNUTLS_CFLAGS
2150 C compiler flags for gnutls, overriding pkg-config
2151 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2152 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2153 SANE_LIBS Linker flags for libsane, overriding pkg-config
2154 GPHOTO2_CFLAGS
2155 C compiler flags for libgphoto2, overriding pkg-config
2156 GPHOTO2_LIBS
2157 Linker flags for libgphoto2, overriding pkg-config
2158 GPHOTO2_PORT_CFLAGS
2159 C compiler flags for libgphoto2_port, overriding pkg-config
2160 GPHOTO2_PORT_LIBS
2161 Linker flags for libgphoto2_port, overriding pkg-config
2162 LCMS2_CFLAGS
2163 C compiler flags for lcms2, overriding pkg-config
2164 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2165 FREETYPE_CFLAGS
2166 C compiler flags for freetype2, overriding pkg-config
2167 FREETYPE_LIBS
2168 Linker flags for freetype2, overriding pkg-config
2169 GSTREAMER_CFLAGS
2170 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2171 GSTREAMER_LIBS
2172 Linker flags for gstreamer-app-0.10, overriding pkg-config
2173 CAPI20_CFLAGS
2174 C compiler flags for capi20, overriding pkg-config
2175 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2176 FONTCONFIG_CFLAGS
2177 C compiler flags for fontconfig, overriding pkg-config
2178 FONTCONFIG_LIBS
2179 Linker flags for fontconfig, overriding pkg-config
2180 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2181 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2182 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2183 PNG_LIBS Linker flags for libpng, overriding pkg-config
2184 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2185 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2186 MPG123_CFLAGS
2187 C compiler flags for libmpg123, overriding pkg-config
2188 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2190 Use these variables to override the choices made by `configure' or to help
2191 it to find libraries and programs with nonstandard names/locations.
2193 Report bugs to <wine-devel@winehq.org>.
2194 Wine home page: <http://www.winehq.org>.
2195 _ACEOF
2196 ac_status=$?
2199 if test "$ac_init_help" = "recursive"; then
2200 # If there are subdirs, report their specific --help.
2201 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2202 test -d "$ac_dir" ||
2203 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2204 continue
2205 ac_builddir=.
2207 case "$ac_dir" in
2208 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2210 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2211 # A ".." for each directory in $ac_dir_suffix.
2212 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2213 case $ac_top_builddir_sub in
2214 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2215 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2216 esac ;;
2217 esac
2218 ac_abs_top_builddir=$ac_pwd
2219 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2220 # for backward compatibility:
2221 ac_top_builddir=$ac_top_build_prefix
2223 case $srcdir in
2224 .) # We are building in place.
2225 ac_srcdir=.
2226 ac_top_srcdir=$ac_top_builddir_sub
2227 ac_abs_top_srcdir=$ac_pwd ;;
2228 [\\/]* | ?:[\\/]* ) # Absolute name.
2229 ac_srcdir=$srcdir$ac_dir_suffix;
2230 ac_top_srcdir=$srcdir
2231 ac_abs_top_srcdir=$srcdir ;;
2232 *) # Relative name.
2233 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2234 ac_top_srcdir=$ac_top_build_prefix$srcdir
2235 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2236 esac
2237 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2239 cd "$ac_dir" || { ac_status=$?; continue; }
2240 # Check for guested configure.
2241 if test -f "$ac_srcdir/configure.gnu"; then
2242 echo &&
2243 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2244 elif test -f "$ac_srcdir/configure"; then
2245 echo &&
2246 $SHELL "$ac_srcdir/configure" --help=recursive
2247 else
2248 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2249 fi || ac_status=$?
2250 cd "$ac_pwd" || { ac_status=$?; break; }
2251 done
2254 test -n "$ac_init_help" && exit $ac_status
2255 if $ac_init_version; then
2256 cat <<\_ACEOF
2257 Wine configure 1.7.31
2258 generated by GNU Autoconf 2.69
2260 Copyright (C) 2012 Free Software Foundation, Inc.
2261 This configure script is free software; the Free Software Foundation
2262 gives unlimited permission to copy, distribute and modify it.
2263 _ACEOF
2264 exit
2267 ## ------------------------ ##
2268 ## Autoconf initialization. ##
2269 ## ------------------------ ##
2271 # ac_fn_c_try_compile LINENO
2272 # --------------------------
2273 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2274 ac_fn_c_try_compile ()
2276 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2277 rm -f conftest.$ac_objext
2278 if { { ac_try="$ac_compile"
2279 case "(($ac_try" in
2280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2281 *) ac_try_echo=$ac_try;;
2282 esac
2283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2284 $as_echo "$ac_try_echo"; } >&5
2285 (eval "$ac_compile") 2>conftest.err
2286 ac_status=$?
2287 if test -s conftest.err; then
2288 grep -v '^ *+' conftest.err >conftest.er1
2289 cat conftest.er1 >&5
2290 mv -f conftest.er1 conftest.err
2292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2293 test $ac_status = 0; } && {
2294 test -z "$ac_c_werror_flag" ||
2295 test ! -s conftest.err
2296 } && test -s conftest.$ac_objext; then :
2297 ac_retval=0
2298 else
2299 $as_echo "$as_me: failed program was:" >&5
2300 sed 's/^/| /' conftest.$ac_ext >&5
2302 ac_retval=1
2304 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2305 as_fn_set_status $ac_retval
2307 } # ac_fn_c_try_compile
2309 # ac_fn_cxx_try_compile LINENO
2310 # ----------------------------
2311 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2312 ac_fn_cxx_try_compile ()
2314 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2315 rm -f conftest.$ac_objext
2316 if { { ac_try="$ac_compile"
2317 case "(($ac_try" in
2318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2319 *) ac_try_echo=$ac_try;;
2320 esac
2321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2322 $as_echo "$ac_try_echo"; } >&5
2323 (eval "$ac_compile") 2>conftest.err
2324 ac_status=$?
2325 if test -s conftest.err; then
2326 grep -v '^ *+' conftest.err >conftest.er1
2327 cat conftest.er1 >&5
2328 mv -f conftest.er1 conftest.err
2330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2331 test $ac_status = 0; } && {
2332 test -z "$ac_cxx_werror_flag" ||
2333 test ! -s conftest.err
2334 } && test -s conftest.$ac_objext; then :
2335 ac_retval=0
2336 else
2337 $as_echo "$as_me: failed program was:" >&5
2338 sed 's/^/| /' conftest.$ac_ext >&5
2340 ac_retval=1
2342 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2343 as_fn_set_status $ac_retval
2345 } # ac_fn_cxx_try_compile
2347 # ac_fn_c_try_link LINENO
2348 # -----------------------
2349 # Try to link conftest.$ac_ext, and return whether this succeeded.
2350 ac_fn_c_try_link ()
2352 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2353 rm -f conftest.$ac_objext conftest$ac_exeext
2354 if { { ac_try="$ac_link"
2355 case "(($ac_try" in
2356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2357 *) ac_try_echo=$ac_try;;
2358 esac
2359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2360 $as_echo "$ac_try_echo"; } >&5
2361 (eval "$ac_link") 2>conftest.err
2362 ac_status=$?
2363 if test -s conftest.err; then
2364 grep -v '^ *+' conftest.err >conftest.er1
2365 cat conftest.er1 >&5
2366 mv -f conftest.er1 conftest.err
2368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2369 test $ac_status = 0; } && {
2370 test -z "$ac_c_werror_flag" ||
2371 test ! -s conftest.err
2372 } && test -s conftest$ac_exeext && {
2373 test "$cross_compiling" = yes ||
2374 test -x conftest$ac_exeext
2375 }; then :
2376 ac_retval=0
2377 else
2378 $as_echo "$as_me: failed program was:" >&5
2379 sed 's/^/| /' conftest.$ac_ext >&5
2381 ac_retval=1
2383 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2384 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2385 # interfere with the next link command; also delete a directory that is
2386 # left behind by Apple's compiler. We do this before executing the actions.
2387 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2388 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2389 as_fn_set_status $ac_retval
2391 } # ac_fn_c_try_link
2393 # ac_fn_c_try_cpp LINENO
2394 # ----------------------
2395 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2396 ac_fn_c_try_cpp ()
2398 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2399 if { { ac_try="$ac_cpp conftest.$ac_ext"
2400 case "(($ac_try" in
2401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2402 *) ac_try_echo=$ac_try;;
2403 esac
2404 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2405 $as_echo "$ac_try_echo"; } >&5
2406 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2407 ac_status=$?
2408 if test -s conftest.err; then
2409 grep -v '^ *+' conftest.err >conftest.er1
2410 cat conftest.er1 >&5
2411 mv -f conftest.er1 conftest.err
2413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2414 test $ac_status = 0; } > conftest.i && {
2415 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2416 test ! -s conftest.err
2417 }; then :
2418 ac_retval=0
2419 else
2420 $as_echo "$as_me: failed program was:" >&5
2421 sed 's/^/| /' conftest.$ac_ext >&5
2423 ac_retval=1
2425 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2426 as_fn_set_status $ac_retval
2428 } # ac_fn_c_try_cpp
2430 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2431 # -------------------------------------------------------
2432 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2433 # the include files in INCLUDES and setting the cache variable VAR
2434 # accordingly.
2435 ac_fn_c_check_header_mongrel ()
2437 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2438 if eval \${$3+:} false; then :
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2440 $as_echo_n "checking for $2... " >&6; }
2441 if eval \${$3+:} false; then :
2442 $as_echo_n "(cached) " >&6
2444 eval ac_res=\$$3
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2446 $as_echo "$ac_res" >&6; }
2447 else
2448 # Is the header compilable?
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2450 $as_echo_n "checking $2 usability... " >&6; }
2451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2452 /* end confdefs.h. */
2454 #include <$2>
2455 _ACEOF
2456 if ac_fn_c_try_compile "$LINENO"; then :
2457 ac_header_compiler=yes
2458 else
2459 ac_header_compiler=no
2461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2463 $as_echo "$ac_header_compiler" >&6; }
2465 # Is the header present?
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2467 $as_echo_n "checking $2 presence... " >&6; }
2468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2469 /* end confdefs.h. */
2470 #include <$2>
2471 _ACEOF
2472 if ac_fn_c_try_cpp "$LINENO"; then :
2473 ac_header_preproc=yes
2474 else
2475 ac_header_preproc=no
2477 rm -f conftest.err conftest.i conftest.$ac_ext
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2479 $as_echo "$ac_header_preproc" >&6; }
2481 # So? What about this header?
2482 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2483 yes:no: )
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2485 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2487 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2489 no:yes:* )
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2491 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2493 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2495 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2497 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2499 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2500 ( $as_echo "## ------------------------------------ ##
2501 ## Report this to wine-devel@winehq.org ##
2502 ## ------------------------------------ ##"
2503 ) | sed "s/^/$as_me: WARNING: /" >&2
2505 esac
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2507 $as_echo_n "checking for $2... " >&6; }
2508 if eval \${$3+:} false; then :
2509 $as_echo_n "(cached) " >&6
2510 else
2511 eval "$3=\$ac_header_compiler"
2513 eval ac_res=\$$3
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2515 $as_echo "$ac_res" >&6; }
2517 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2519 } # ac_fn_c_check_header_mongrel
2521 # ac_fn_c_try_run LINENO
2522 # ----------------------
2523 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2524 # that executables *can* be run.
2525 ac_fn_c_try_run ()
2527 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2528 if { { ac_try="$ac_link"
2529 case "(($ac_try" in
2530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2531 *) ac_try_echo=$ac_try;;
2532 esac
2533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2534 $as_echo "$ac_try_echo"; } >&5
2535 (eval "$ac_link") 2>&5
2536 ac_status=$?
2537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2538 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2539 { { case "(($ac_try" in
2540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2541 *) ac_try_echo=$ac_try;;
2542 esac
2543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2544 $as_echo "$ac_try_echo"; } >&5
2545 (eval "$ac_try") 2>&5
2546 ac_status=$?
2547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2548 test $ac_status = 0; }; }; then :
2549 ac_retval=0
2550 else
2551 $as_echo "$as_me: program exited with status $ac_status" >&5
2552 $as_echo "$as_me: failed program was:" >&5
2553 sed 's/^/| /' conftest.$ac_ext >&5
2555 ac_retval=$ac_status
2557 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2558 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2559 as_fn_set_status $ac_retval
2561 } # ac_fn_c_try_run
2563 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2564 # -------------------------------------------------------
2565 # Tests whether HEADER exists and can be compiled using the include files in
2566 # INCLUDES, setting the cache variable VAR accordingly.
2567 ac_fn_c_check_header_compile ()
2569 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2571 $as_echo_n "checking for $2... " >&6; }
2572 if eval \${$3+:} false; then :
2573 $as_echo_n "(cached) " >&6
2574 else
2575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2576 /* end confdefs.h. */
2578 #include <$2>
2579 _ACEOF
2580 if ac_fn_c_try_compile "$LINENO"; then :
2581 eval "$3=yes"
2582 else
2583 eval "$3=no"
2585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2587 eval ac_res=\$$3
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2589 $as_echo "$ac_res" >&6; }
2590 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2592 } # ac_fn_c_check_header_compile
2594 # ac_fn_c_check_func LINENO FUNC VAR
2595 # ----------------------------------
2596 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2597 ac_fn_c_check_func ()
2599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2601 $as_echo_n "checking for $2... " >&6; }
2602 if eval \${$3+:} false; then :
2603 $as_echo_n "(cached) " >&6
2604 else
2605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2606 /* end confdefs.h. */
2607 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2609 #define $2 innocuous_$2
2611 /* System header to define __stub macros and hopefully few prototypes,
2612 which can conflict with char $2 (); below.
2613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2614 <limits.h> exists even on freestanding compilers. */
2616 #ifdef __STDC__
2617 # include <limits.h>
2618 #else
2619 # include <assert.h>
2620 #endif
2622 #undef $2
2624 /* Override any GCC internal prototype to avoid an error.
2625 Use char because int might match the return type of a GCC
2626 builtin and then its argument prototype would still apply. */
2627 #ifdef __cplusplus
2628 extern "C"
2629 #endif
2630 char $2 ();
2631 /* The GNU C library defines this for functions which it implements
2632 to always fail with ENOSYS. Some functions are actually named
2633 something starting with __ and the normal name is an alias. */
2634 #if defined __stub_$2 || defined __stub___$2
2635 choke me
2636 #endif
2639 main ()
2641 return $2 ();
2643 return 0;
2645 _ACEOF
2646 if ac_fn_c_try_link "$LINENO"; then :
2647 eval "$3=yes"
2648 else
2649 eval "$3=no"
2651 rm -f core conftest.err conftest.$ac_objext \
2652 conftest$ac_exeext conftest.$ac_ext
2654 eval ac_res=\$$3
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2656 $as_echo "$ac_res" >&6; }
2657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2659 } # ac_fn_c_check_func
2661 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2662 # ----------------------------------------------------
2663 # Tries to find if the field MEMBER exists in type AGGR, after including
2664 # INCLUDES, setting cache variable VAR accordingly.
2665 ac_fn_c_check_member ()
2667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2669 $as_echo_n "checking for $2.$3... " >&6; }
2670 if eval \${$4+:} false; then :
2671 $as_echo_n "(cached) " >&6
2672 else
2673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2674 /* end confdefs.h. */
2677 main ()
2679 static $2 ac_aggr;
2680 if (ac_aggr.$3)
2681 return 0;
2683 return 0;
2685 _ACEOF
2686 if ac_fn_c_try_compile "$LINENO"; then :
2687 eval "$4=yes"
2688 else
2689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2690 /* end confdefs.h. */
2693 main ()
2695 static $2 ac_aggr;
2696 if (sizeof ac_aggr.$3)
2697 return 0;
2699 return 0;
2701 _ACEOF
2702 if ac_fn_c_try_compile "$LINENO"; then :
2703 eval "$4=yes"
2704 else
2705 eval "$4=no"
2707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2711 eval ac_res=\$$4
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2713 $as_echo "$ac_res" >&6; }
2714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2716 } # ac_fn_c_check_member
2718 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2719 # -------------------------------------------
2720 # Tests whether TYPE exists after having included INCLUDES, setting cache
2721 # variable VAR accordingly.
2722 ac_fn_c_check_type ()
2724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2726 $as_echo_n "checking for $2... " >&6; }
2727 if eval \${$3+:} false; then :
2728 $as_echo_n "(cached) " >&6
2729 else
2730 eval "$3=no"
2731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2732 /* end confdefs.h. */
2735 main ()
2737 if (sizeof ($2))
2738 return 0;
2740 return 0;
2742 _ACEOF
2743 if ac_fn_c_try_compile "$LINENO"; then :
2744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2745 /* end confdefs.h. */
2748 main ()
2750 if (sizeof (($2)))
2751 return 0;
2753 return 0;
2755 _ACEOF
2756 if ac_fn_c_try_compile "$LINENO"; then :
2758 else
2759 eval "$3=yes"
2761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2765 eval ac_res=\$$3
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2767 $as_echo "$ac_res" >&6; }
2768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2770 } # ac_fn_c_check_type
2771 cat >config.log <<_ACEOF
2772 This file contains any messages produced by compilers while
2773 running configure, to aid debugging if configure makes a mistake.
2775 It was created by Wine $as_me 1.7.31, which was
2776 generated by GNU Autoconf 2.69. Invocation command line was
2778 $ $0 $@
2780 _ACEOF
2781 exec 5>>config.log
2783 cat <<_ASUNAME
2784 ## --------- ##
2785 ## Platform. ##
2786 ## --------- ##
2788 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2789 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2790 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2791 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2792 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2794 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2795 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2797 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2798 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2799 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2800 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2801 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2802 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2803 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2805 _ASUNAME
2807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2808 for as_dir in $PATH
2810 IFS=$as_save_IFS
2811 test -z "$as_dir" && as_dir=.
2812 $as_echo "PATH: $as_dir"
2813 done
2814 IFS=$as_save_IFS
2816 } >&5
2818 cat >&5 <<_ACEOF
2821 ## ----------- ##
2822 ## Core tests. ##
2823 ## ----------- ##
2825 _ACEOF
2828 # Keep a trace of the command line.
2829 # Strip out --no-create and --no-recursion so they do not pile up.
2830 # Strip out --silent because we don't want to record it for future runs.
2831 # Also quote any args containing shell meta-characters.
2832 # Make two passes to allow for proper duplicate-argument suppression.
2833 ac_configure_args=
2834 ac_configure_args0=
2835 ac_configure_args1=
2836 ac_must_keep_next=false
2837 for ac_pass in 1 2
2839 for ac_arg
2841 case $ac_arg in
2842 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2843 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2844 | -silent | --silent | --silen | --sile | --sil)
2845 continue ;;
2846 *\'*)
2847 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2848 esac
2849 case $ac_pass in
2850 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2852 as_fn_append ac_configure_args1 " '$ac_arg'"
2853 if test $ac_must_keep_next = true; then
2854 ac_must_keep_next=false # Got value, back to normal.
2855 else
2856 case $ac_arg in
2857 *=* | --config-cache | -C | -disable-* | --disable-* \
2858 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2859 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2860 | -with-* | --with-* | -without-* | --without-* | --x)
2861 case "$ac_configure_args0 " in
2862 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2863 esac
2865 -* ) ac_must_keep_next=true ;;
2866 esac
2868 as_fn_append ac_configure_args " '$ac_arg'"
2870 esac
2871 done
2872 done
2873 { ac_configure_args0=; unset ac_configure_args0;}
2874 { ac_configure_args1=; unset ac_configure_args1;}
2876 # When interrupted or exit'd, cleanup temporary files, and complete
2877 # config.log. We remove comments because anyway the quotes in there
2878 # would cause problems or look ugly.
2879 # WARNING: Use '\'' to represent an apostrophe within the trap.
2880 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2881 trap 'exit_status=$?
2882 # Save into config.log some information that might help in debugging.
2884 echo
2886 $as_echo "## ---------------- ##
2887 ## Cache variables. ##
2888 ## ---------------- ##"
2889 echo
2890 # The following way of writing the cache mishandles newlines in values,
2892 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2893 eval ac_val=\$$ac_var
2894 case $ac_val in #(
2895 *${as_nl}*)
2896 case $ac_var in #(
2897 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2898 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2899 esac
2900 case $ac_var in #(
2901 _ | IFS | as_nl) ;; #(
2902 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2903 *) { eval $ac_var=; unset $ac_var;} ;;
2904 esac ;;
2905 esac
2906 done
2907 (set) 2>&1 |
2908 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2909 *${as_nl}ac_space=\ *)
2910 sed -n \
2911 "s/'\''/'\''\\\\'\'''\''/g;
2912 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2913 ;; #(
2915 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2917 esac |
2918 sort
2920 echo
2922 $as_echo "## ----------------- ##
2923 ## Output variables. ##
2924 ## ----------------- ##"
2925 echo
2926 for ac_var in $ac_subst_vars
2928 eval ac_val=\$$ac_var
2929 case $ac_val in
2930 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2931 esac
2932 $as_echo "$ac_var='\''$ac_val'\''"
2933 done | sort
2934 echo
2936 if test -n "$ac_subst_files"; then
2937 $as_echo "## ------------------- ##
2938 ## File substitutions. ##
2939 ## ------------------- ##"
2940 echo
2941 for ac_var in $ac_subst_files
2943 eval ac_val=\$$ac_var
2944 case $ac_val in
2945 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2946 esac
2947 $as_echo "$ac_var='\''$ac_val'\''"
2948 done | sort
2949 echo
2952 if test -s confdefs.h; then
2953 $as_echo "## ----------- ##
2954 ## confdefs.h. ##
2955 ## ----------- ##"
2956 echo
2957 cat confdefs.h
2958 echo
2960 test "$ac_signal" != 0 &&
2961 $as_echo "$as_me: caught signal $ac_signal"
2962 $as_echo "$as_me: exit $exit_status"
2963 } >&5
2964 rm -f core *.core core.conftest.* &&
2965 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2966 exit $exit_status
2968 for ac_signal in 1 2 13 15; do
2969 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2970 done
2971 ac_signal=0
2973 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2974 rm -f -r conftest* confdefs.h
2976 $as_echo "/* confdefs.h */" > confdefs.h
2978 # Predefined preprocessor variables.
2980 cat >>confdefs.h <<_ACEOF
2981 #define PACKAGE_NAME "$PACKAGE_NAME"
2982 _ACEOF
2984 cat >>confdefs.h <<_ACEOF
2985 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2986 _ACEOF
2988 cat >>confdefs.h <<_ACEOF
2989 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2990 _ACEOF
2992 cat >>confdefs.h <<_ACEOF
2993 #define PACKAGE_STRING "$PACKAGE_STRING"
2994 _ACEOF
2996 cat >>confdefs.h <<_ACEOF
2997 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2998 _ACEOF
3000 cat >>confdefs.h <<_ACEOF
3001 #define PACKAGE_URL "$PACKAGE_URL"
3002 _ACEOF
3005 # Let the site file select an alternate cache file if it wants to.
3006 # Prefer an explicitly selected file to automatically selected ones.
3007 ac_site_file1=NONE
3008 ac_site_file2=NONE
3009 if test -n "$CONFIG_SITE"; then
3010 # We do not want a PATH search for config.site.
3011 case $CONFIG_SITE in #((
3012 -*) ac_site_file1=./$CONFIG_SITE;;
3013 */*) ac_site_file1=$CONFIG_SITE;;
3014 *) ac_site_file1=./$CONFIG_SITE;;
3015 esac
3016 elif test "x$prefix" != xNONE; then
3017 ac_site_file1=$prefix/share/config.site
3018 ac_site_file2=$prefix/etc/config.site
3019 else
3020 ac_site_file1=$ac_default_prefix/share/config.site
3021 ac_site_file2=$ac_default_prefix/etc/config.site
3023 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3025 test "x$ac_site_file" = xNONE && continue
3026 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3028 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3029 sed 's/^/| /' "$ac_site_file" >&5
3030 . "$ac_site_file" \
3031 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3032 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3033 as_fn_error $? "failed to load site script $ac_site_file
3034 See \`config.log' for more details" "$LINENO" 5; }
3036 done
3038 if test -r "$cache_file"; then
3039 # Some versions of bash will fail to source /dev/null (special files
3040 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3041 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3043 $as_echo "$as_me: loading cache $cache_file" >&6;}
3044 case $cache_file in
3045 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3046 *) . "./$cache_file";;
3047 esac
3049 else
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3051 $as_echo "$as_me: creating cache $cache_file" >&6;}
3052 >$cache_file
3055 # Check that the precious variables saved in the cache have kept the same
3056 # value.
3057 ac_cache_corrupted=false
3058 for ac_var in $ac_precious_vars; do
3059 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3060 eval ac_new_set=\$ac_env_${ac_var}_set
3061 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3062 eval ac_new_val=\$ac_env_${ac_var}_value
3063 case $ac_old_set,$ac_new_set in
3064 set,)
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3066 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3067 ac_cache_corrupted=: ;;
3068 ,set)
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3070 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3071 ac_cache_corrupted=: ;;
3072 ,);;
3074 if test "x$ac_old_val" != "x$ac_new_val"; then
3075 # differences in whitespace do not lead to failure.
3076 ac_old_val_w=`echo x $ac_old_val`
3077 ac_new_val_w=`echo x $ac_new_val`
3078 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3080 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3081 ac_cache_corrupted=:
3082 else
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3084 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3085 eval $ac_var=\$ac_old_val
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3088 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3090 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3091 fi;;
3092 esac
3093 # Pass precious variables to config.status.
3094 if test "$ac_new_set" = set; then
3095 case $ac_new_val in
3096 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3097 *) ac_arg=$ac_var=$ac_new_val ;;
3098 esac
3099 case " $ac_configure_args " in
3100 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3101 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3102 esac
3104 done
3105 if $ac_cache_corrupted; then
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3109 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3110 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3112 ## -------------------- ##
3113 ## Main body of script. ##
3114 ## -------------------- ##
3116 ac_ext=c
3117 ac_cpp='$CPP $CPPFLAGS'
3118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3124 ac_config_headers="$ac_config_headers include/config.h"
3126 ac_aux_dir=
3127 for ac_dir in tools "$srcdir"/tools; do
3128 if test -f "$ac_dir/install-sh"; then
3129 ac_aux_dir=$ac_dir
3130 ac_install_sh="$ac_aux_dir/install-sh -c"
3131 break
3132 elif test -f "$ac_dir/install.sh"; then
3133 ac_aux_dir=$ac_dir
3134 ac_install_sh="$ac_aux_dir/install.sh -c"
3135 break
3136 elif test -f "$ac_dir/shtool"; then
3137 ac_aux_dir=$ac_dir
3138 ac_install_sh="$ac_aux_dir/shtool install -c"
3139 break
3141 done
3142 if test -z "$ac_aux_dir"; then
3143 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3146 # These three variables are undocumented and unsupported,
3147 # and are intended to be withdrawn in a future Autoconf release.
3148 # They can cause serious problems if a builder's source tree is in a directory
3149 # whose full name contains unusual characters.
3150 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3151 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3152 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3156 libwine_version="1.0"
3160 # Check whether --enable-win16 was given.
3161 if test "${enable_win16+set}" = set; then :
3162 enableval=$enable_win16;
3165 # Check whether --enable-win64 was given.
3166 if test "${enable_win64+set}" = set; then :
3167 enableval=$enable_win64;
3170 # Check whether --enable-tests was given.
3171 if test "${enable_tests+set}" = set; then :
3172 enableval=$enable_tests;
3175 # Check whether --enable-maintainer-mode was given.
3176 if test "${enable_maintainer_mode+set}" = set; then :
3177 enableval=$enable_maintainer_mode;
3182 # Check whether --with-alsa was given.
3183 if test "${with_alsa+set}" = set; then :
3184 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3188 # Check whether --with-capi was given.
3189 if test "${with_capi+set}" = set; then :
3190 withval=$with_capi;
3194 # Check whether --with-cms was given.
3195 if test "${with_cms+set}" = set; then :
3196 withval=$with_cms;
3200 # Check whether --with-coreaudio was given.
3201 if test "${with_coreaudio+set}" = set; then :
3202 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3206 # Check whether --with-cups was given.
3207 if test "${with_cups+set}" = set; then :
3208 withval=$with_cups;
3212 # Check whether --with-curses was given.
3213 if test "${with_curses+set}" = set; then :
3214 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3218 # Check whether --with-dbus was given.
3219 if test "${with_dbus+set}" = set; then :
3220 withval=$with_dbus;
3224 # Check whether --with-fontconfig was given.
3225 if test "${with_fontconfig+set}" = set; then :
3226 withval=$with_fontconfig;
3230 # Check whether --with-freetype was given.
3231 if test "${with_freetype+set}" = set; then :
3232 withval=$with_freetype;
3236 # Check whether --with-gettext was given.
3237 if test "${with_gettext+set}" = set; then :
3238 withval=$with_gettext;
3242 # Check whether --with-gettextpo was given.
3243 if test "${with_gettextpo+set}" = set; then :
3244 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3248 # Check whether --with-gphoto was given.
3249 if test "${with_gphoto+set}" = set; then :
3250 withval=$with_gphoto;
3254 # Check whether --with-glu was given.
3255 if test "${with_glu+set}" = set; then :
3256 withval=$with_glu;
3260 # Check whether --with-gnutls was given.
3261 if test "${with_gnutls+set}" = set; then :
3262 withval=$with_gnutls;
3266 # Check whether --with-gsm was given.
3267 if test "${with_gsm+set}" = set; then :
3268 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3272 # Check whether --with-gstreamer was given.
3273 if test "${with_gstreamer+set}" = set; then :
3274 withval=$with_gstreamer;
3278 # Check whether --with-hal was given.
3279 if test "${with_hal+set}" = set; then :
3280 withval=$with_hal;
3284 # Check whether --with-jpeg was given.
3285 if test "${with_jpeg+set}" = set; then :
3286 withval=$with_jpeg;
3290 # Check whether --with-ldap was given.
3291 if test "${with_ldap+set}" = set; then :
3292 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3296 # Check whether --with-mpg123 was given.
3297 if test "${with_mpg123+set}" = set; then :
3298 withval=$with_mpg123;
3302 # Check whether --with-netapi was given.
3303 if test "${with_netapi+set}" = set; then :
3304 withval=$with_netapi;
3308 # Check whether --with-openal was given.
3309 if test "${with_openal+set}" = set; then :
3310 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3314 # Check whether --with-opencl was given.
3315 if test "${with_opencl+set}" = set; then :
3316 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3320 # Check whether --with-opengl was given.
3321 if test "${with_opengl+set}" = set; then :
3322 withval=$with_opengl;
3326 # Check whether --with-osmesa was given.
3327 if test "${with_osmesa+set}" = set; then :
3328 withval=$with_osmesa;
3332 # Check whether --with-oss was given.
3333 if test "${with_oss+set}" = set; then :
3334 withval=$with_oss;
3338 # Check whether --with-pcap was given.
3339 if test "${with_pcap+set}" = set; then :
3340 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3344 # Check whether --with-png was given.
3345 if test "${with_png+set}" = set; then :
3346 withval=$with_png;
3350 # Check whether --with-pthread was given.
3351 if test "${with_pthread+set}" = set; then :
3352 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3356 # Check whether --with-sane was given.
3357 if test "${with_sane+set}" = set; then :
3358 withval=$with_sane;
3362 # Check whether --with-tiff was given.
3363 if test "${with_tiff+set}" = set; then :
3364 withval=$with_tiff;
3368 # Check whether --with-v4l was given.
3369 if test "${with_v4l+set}" = set; then :
3370 withval=$with_v4l;
3374 # Check whether --with-xcomposite was given.
3375 if test "${with_xcomposite+set}" = set; then :
3376 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3380 # Check whether --with-xcursor was given.
3381 if test "${with_xcursor+set}" = set; then :
3382 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3386 # Check whether --with-xinerama was given.
3387 if test "${with_xinerama+set}" = set; then :
3388 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3392 # Check whether --with-xinput was given.
3393 if test "${with_xinput+set}" = set; then :
3394 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3398 # Check whether --with-xinput2 was given.
3399 if test "${with_xinput2+set}" = set; then :
3400 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3404 # Check whether --with-xml was given.
3405 if test "${with_xml+set}" = set; then :
3406 withval=$with_xml;
3410 # Check whether --with-xrandr was given.
3411 if test "${with_xrandr+set}" = set; then :
3412 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3416 # Check whether --with-xrender was given.
3417 if test "${with_xrender+set}" = set; then :
3418 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3422 # Check whether --with-xshape was given.
3423 if test "${with_xshape+set}" = set; then :
3424 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3428 # Check whether --with-xshm was given.
3429 if test "${with_xshm+set}" = set; then :
3430 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3434 # Check whether --with-xslt was given.
3435 if test "${with_xslt+set}" = set; then :
3436 withval=$with_xslt;
3440 # Check whether --with-xxf86vm was given.
3441 if test "${with_xxf86vm+set}" = set; then :
3442 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
3446 # Check whether --with-zlib was given.
3447 if test "${with_zlib+set}" = set; then :
3448 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3453 # Check whether --with-wine-tools was given.
3454 if test "${with_wine_tools+set}" = set; then :
3455 withval=$with_wine_tools;
3459 # Check whether --with-wine64 was given.
3460 if test "${with_wine64+set}" = set; then :
3461 withval=$with_wine64;
3465 # Make sure we can run config.sub.
3466 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3467 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3470 $as_echo_n "checking build system type... " >&6; }
3471 if ${ac_cv_build+:} false; then :
3472 $as_echo_n "(cached) " >&6
3473 else
3474 ac_build_alias=$build_alias
3475 test "x$ac_build_alias" = x &&
3476 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3477 test "x$ac_build_alias" = x &&
3478 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3479 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3480 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3484 $as_echo "$ac_cv_build" >&6; }
3485 case $ac_cv_build in
3486 *-*-*) ;;
3487 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3488 esac
3489 build=$ac_cv_build
3490 ac_save_IFS=$IFS; IFS='-'
3491 set x $ac_cv_build
3492 shift
3493 build_cpu=$1
3494 build_vendor=$2
3495 shift; shift
3496 # Remember, the first character of IFS is used to create $*,
3497 # except with old shells:
3498 build_os=$*
3499 IFS=$ac_save_IFS
3500 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3504 $as_echo_n "checking host system type... " >&6; }
3505 if ${ac_cv_host+:} false; then :
3506 $as_echo_n "(cached) " >&6
3507 else
3508 if test "x$host_alias" = x; then
3509 ac_cv_host=$ac_cv_build
3510 else
3511 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3512 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3517 $as_echo "$ac_cv_host" >&6; }
3518 case $ac_cv_host in
3519 *-*-*) ;;
3520 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3521 esac
3522 host=$ac_cv_host
3523 ac_save_IFS=$IFS; IFS='-'
3524 set x $ac_cv_host
3525 shift
3526 host_cpu=$1
3527 host_vendor=$2
3528 shift; shift
3529 # Remember, the first character of IFS is used to create $*,
3530 # except with old shells:
3531 host_os=$*
3532 IFS=$ac_save_IFS
3533 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3537 case "$srcdir" in
3538 .) ;;
3539 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3540 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3541 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3542 fi ;;
3543 esac
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3547 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3548 set x ${MAKE-make}
3549 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3550 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3551 $as_echo_n "(cached) " >&6
3552 else
3553 cat >conftest.make <<\_ACEOF
3554 SHELL = /bin/sh
3555 all:
3556 @echo '@@@%%%=$(MAKE)=@@@%%%'
3557 _ACEOF
3558 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3559 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3560 *@@@%%%=?*=@@@%%%*)
3561 eval ac_cv_prog_make_${ac_make}_set=yes;;
3563 eval ac_cv_prog_make_${ac_make}_set=no;;
3564 esac
3565 rm -f conftest.make
3567 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3569 $as_echo "yes" >&6; }
3570 SET_MAKE=
3571 else
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3573 $as_echo "no" >&6; }
3574 SET_MAKE="MAKE=${MAKE-make}"
3577 ac_ext=c
3578 ac_cpp='$CPP $CPPFLAGS'
3579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3582 if test -n "$ac_tool_prefix"; then
3583 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3584 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3586 $as_echo_n "checking for $ac_word... " >&6; }
3587 if ${ac_cv_prog_CC+:} false; then :
3588 $as_echo_n "(cached) " >&6
3589 else
3590 if test -n "$CC"; then
3591 ac_cv_prog_CC="$CC" # Let the user override the test.
3592 else
3593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3594 for as_dir in $PATH
3596 IFS=$as_save_IFS
3597 test -z "$as_dir" && as_dir=.
3598 for ac_exec_ext in '' $ac_executable_extensions; do
3599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3600 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3602 break 2
3604 done
3605 done
3606 IFS=$as_save_IFS
3610 CC=$ac_cv_prog_CC
3611 if test -n "$CC"; then
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3613 $as_echo "$CC" >&6; }
3614 else
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3616 $as_echo "no" >&6; }
3621 if test -z "$ac_cv_prog_CC"; then
3622 ac_ct_CC=$CC
3623 # Extract the first word of "gcc", so it can be a program name with args.
3624 set dummy gcc; ac_word=$2
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3626 $as_echo_n "checking for $ac_word... " >&6; }
3627 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3628 $as_echo_n "(cached) " >&6
3629 else
3630 if test -n "$ac_ct_CC"; then
3631 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3632 else
3633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3634 for as_dir in $PATH
3636 IFS=$as_save_IFS
3637 test -z "$as_dir" && as_dir=.
3638 for ac_exec_ext in '' $ac_executable_extensions; do
3639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3640 ac_cv_prog_ac_ct_CC="gcc"
3641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3642 break 2
3644 done
3645 done
3646 IFS=$as_save_IFS
3650 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3651 if test -n "$ac_ct_CC"; then
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3653 $as_echo "$ac_ct_CC" >&6; }
3654 else
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3656 $as_echo "no" >&6; }
3659 if test "x$ac_ct_CC" = x; then
3660 CC=""
3661 else
3662 case $cross_compiling:$ac_tool_warned in
3663 yes:)
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3666 ac_tool_warned=yes ;;
3667 esac
3668 CC=$ac_ct_CC
3670 else
3671 CC="$ac_cv_prog_CC"
3674 if test -z "$CC"; then
3675 if test -n "$ac_tool_prefix"; then
3676 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3677 set dummy ${ac_tool_prefix}cc; ac_word=$2
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3679 $as_echo_n "checking for $ac_word... " >&6; }
3680 if ${ac_cv_prog_CC+:} false; then :
3681 $as_echo_n "(cached) " >&6
3682 else
3683 if test -n "$CC"; then
3684 ac_cv_prog_CC="$CC" # Let the user override the test.
3685 else
3686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3687 for as_dir in $PATH
3689 IFS=$as_save_IFS
3690 test -z "$as_dir" && as_dir=.
3691 for ac_exec_ext in '' $ac_executable_extensions; do
3692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3693 ac_cv_prog_CC="${ac_tool_prefix}cc"
3694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3695 break 2
3697 done
3698 done
3699 IFS=$as_save_IFS
3703 CC=$ac_cv_prog_CC
3704 if test -n "$CC"; then
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3706 $as_echo "$CC" >&6; }
3707 else
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3709 $as_echo "no" >&6; }
3715 if test -z "$CC"; then
3716 # Extract the first word of "cc", so it can be a program name with args.
3717 set dummy cc; ac_word=$2
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3719 $as_echo_n "checking for $ac_word... " >&6; }
3720 if ${ac_cv_prog_CC+:} false; then :
3721 $as_echo_n "(cached) " >&6
3722 else
3723 if test -n "$CC"; then
3724 ac_cv_prog_CC="$CC" # Let the user override the test.
3725 else
3726 ac_prog_rejected=no
3727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3728 for as_dir in $PATH
3730 IFS=$as_save_IFS
3731 test -z "$as_dir" && as_dir=.
3732 for ac_exec_ext in '' $ac_executable_extensions; do
3733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3734 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3735 ac_prog_rejected=yes
3736 continue
3738 ac_cv_prog_CC="cc"
3739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3740 break 2
3742 done
3743 done
3744 IFS=$as_save_IFS
3746 if test $ac_prog_rejected = yes; then
3747 # We found a bogon in the path, so make sure we never use it.
3748 set dummy $ac_cv_prog_CC
3749 shift
3750 if test $# != 0; then
3751 # We chose a different compiler from the bogus one.
3752 # However, it has the same basename, so the bogon will be chosen
3753 # first if we set CC to just the basename; use the full file name.
3754 shift
3755 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3760 CC=$ac_cv_prog_CC
3761 if test -n "$CC"; then
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3763 $as_echo "$CC" >&6; }
3764 else
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3766 $as_echo "no" >&6; }
3771 if test -z "$CC"; then
3772 if test -n "$ac_tool_prefix"; then
3773 for ac_prog in cl.exe
3775 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3776 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3778 $as_echo_n "checking for $ac_word... " >&6; }
3779 if ${ac_cv_prog_CC+:} false; then :
3780 $as_echo_n "(cached) " >&6
3781 else
3782 if test -n "$CC"; then
3783 ac_cv_prog_CC="$CC" # Let the user override the test.
3784 else
3785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3786 for as_dir in $PATH
3788 IFS=$as_save_IFS
3789 test -z "$as_dir" && as_dir=.
3790 for ac_exec_ext in '' $ac_executable_extensions; do
3791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3792 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3794 break 2
3796 done
3797 done
3798 IFS=$as_save_IFS
3802 CC=$ac_cv_prog_CC
3803 if test -n "$CC"; then
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3805 $as_echo "$CC" >&6; }
3806 else
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3808 $as_echo "no" >&6; }
3812 test -n "$CC" && break
3813 done
3815 if test -z "$CC"; then
3816 ac_ct_CC=$CC
3817 for ac_prog in cl.exe
3819 # Extract the first word of "$ac_prog", so it can be a program name with args.
3820 set dummy $ac_prog; ac_word=$2
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3822 $as_echo_n "checking for $ac_word... " >&6; }
3823 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3824 $as_echo_n "(cached) " >&6
3825 else
3826 if test -n "$ac_ct_CC"; then
3827 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3828 else
3829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3830 for as_dir in $PATH
3832 IFS=$as_save_IFS
3833 test -z "$as_dir" && as_dir=.
3834 for ac_exec_ext in '' $ac_executable_extensions; do
3835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3836 ac_cv_prog_ac_ct_CC="$ac_prog"
3837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3838 break 2
3840 done
3841 done
3842 IFS=$as_save_IFS
3846 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3847 if test -n "$ac_ct_CC"; then
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3849 $as_echo "$ac_ct_CC" >&6; }
3850 else
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3852 $as_echo "no" >&6; }
3856 test -n "$ac_ct_CC" && break
3857 done
3859 if test "x$ac_ct_CC" = x; then
3860 CC=""
3861 else
3862 case $cross_compiling:$ac_tool_warned in
3863 yes:)
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3866 ac_tool_warned=yes ;;
3867 esac
3868 CC=$ac_ct_CC
3875 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3876 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3877 as_fn_error $? "no acceptable C compiler found in \$PATH
3878 See \`config.log' for more details" "$LINENO" 5; }
3880 # Provide some information about the compiler.
3881 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3882 set X $ac_compile
3883 ac_compiler=$2
3884 for ac_option in --version -v -V -qversion; do
3885 { { ac_try="$ac_compiler $ac_option >&5"
3886 case "(($ac_try" in
3887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3888 *) ac_try_echo=$ac_try;;
3889 esac
3890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3891 $as_echo "$ac_try_echo"; } >&5
3892 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3893 ac_status=$?
3894 if test -s conftest.err; then
3895 sed '10a\
3896 ... rest of stderr output deleted ...
3897 10q' conftest.err >conftest.er1
3898 cat conftest.er1 >&5
3900 rm -f conftest.er1 conftest.err
3901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3902 test $ac_status = 0; }
3903 done
3905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3906 /* end confdefs.h. */
3909 main ()
3913 return 0;
3915 _ACEOF
3916 ac_clean_files_save=$ac_clean_files
3917 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3918 # Try to create an executable without -o first, disregard a.out.
3919 # It will help us diagnose broken compilers, and finding out an intuition
3920 # of exeext.
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3922 $as_echo_n "checking whether the C compiler works... " >&6; }
3923 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3925 # The possible output files:
3926 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3928 ac_rmfiles=
3929 for ac_file in $ac_files
3931 case $ac_file in
3932 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3933 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3934 esac
3935 done
3936 rm -f $ac_rmfiles
3938 if { { ac_try="$ac_link_default"
3939 case "(($ac_try" in
3940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3941 *) ac_try_echo=$ac_try;;
3942 esac
3943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3944 $as_echo "$ac_try_echo"; } >&5
3945 (eval "$ac_link_default") 2>&5
3946 ac_status=$?
3947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3948 test $ac_status = 0; }; then :
3949 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3950 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3951 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3952 # so that the user can short-circuit this test for compilers unknown to
3953 # Autoconf.
3954 for ac_file in $ac_files ''
3956 test -f "$ac_file" || continue
3957 case $ac_file in
3958 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3960 [ab].out )
3961 # We found the default executable, but exeext='' is most
3962 # certainly right.
3963 break;;
3964 *.* )
3965 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3966 then :; else
3967 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3969 # We set ac_cv_exeext here because the later test for it is not
3970 # safe: cross compilers may not add the suffix if given an `-o'
3971 # argument, so we may need to know it at that point already.
3972 # Even if this section looks crufty: it has the advantage of
3973 # actually working.
3974 break;;
3976 break;;
3977 esac
3978 done
3979 test "$ac_cv_exeext" = no && ac_cv_exeext=
3981 else
3982 ac_file=''
3984 if test -z "$ac_file"; then :
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3986 $as_echo "no" >&6; }
3987 $as_echo "$as_me: failed program was:" >&5
3988 sed 's/^/| /' conftest.$ac_ext >&5
3990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3992 as_fn_error 77 "C compiler cannot create executables
3993 See \`config.log' for more details" "$LINENO" 5; }
3994 else
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3996 $as_echo "yes" >&6; }
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3999 $as_echo_n "checking for C compiler default output file name... " >&6; }
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4001 $as_echo "$ac_file" >&6; }
4002 ac_exeext=$ac_cv_exeext
4004 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4005 ac_clean_files=$ac_clean_files_save
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4007 $as_echo_n "checking for suffix of executables... " >&6; }
4008 if { { ac_try="$ac_link"
4009 case "(($ac_try" in
4010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4011 *) ac_try_echo=$ac_try;;
4012 esac
4013 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4014 $as_echo "$ac_try_echo"; } >&5
4015 (eval "$ac_link") 2>&5
4016 ac_status=$?
4017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4018 test $ac_status = 0; }; then :
4019 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4020 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4021 # work properly (i.e., refer to `conftest.exe'), while it won't with
4022 # `rm'.
4023 for ac_file in conftest.exe conftest conftest.*; do
4024 test -f "$ac_file" || continue
4025 case $ac_file in
4026 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4027 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4028 break;;
4029 * ) break;;
4030 esac
4031 done
4032 else
4033 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4034 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4035 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4036 See \`config.log' for more details" "$LINENO" 5; }
4038 rm -f conftest conftest$ac_cv_exeext
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4040 $as_echo "$ac_cv_exeext" >&6; }
4042 rm -f conftest.$ac_ext
4043 EXEEXT=$ac_cv_exeext
4044 ac_exeext=$EXEEXT
4045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4046 /* end confdefs.h. */
4047 #include <stdio.h>
4049 main ()
4051 FILE *f = fopen ("conftest.out", "w");
4052 return ferror (f) || fclose (f) != 0;
4055 return 0;
4057 _ACEOF
4058 ac_clean_files="$ac_clean_files conftest.out"
4059 # Check that the compiler produces executables we can run. If not, either
4060 # the compiler is broken, or we cross compile.
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4062 $as_echo_n "checking whether we are cross compiling... " >&6; }
4063 if test "$cross_compiling" != yes; then
4064 { { ac_try="$ac_link"
4065 case "(($ac_try" in
4066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4067 *) ac_try_echo=$ac_try;;
4068 esac
4069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4070 $as_echo "$ac_try_echo"; } >&5
4071 (eval "$ac_link") 2>&5
4072 ac_status=$?
4073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4074 test $ac_status = 0; }
4075 if { ac_try='./conftest$ac_cv_exeext'
4076 { { case "(($ac_try" in
4077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4078 *) ac_try_echo=$ac_try;;
4079 esac
4080 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4081 $as_echo "$ac_try_echo"; } >&5
4082 (eval "$ac_try") 2>&5
4083 ac_status=$?
4084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4085 test $ac_status = 0; }; }; then
4086 cross_compiling=no
4087 else
4088 if test "$cross_compiling" = maybe; then
4089 cross_compiling=yes
4090 else
4091 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4093 as_fn_error $? "cannot run C compiled programs.
4094 If you meant to cross compile, use \`--host'.
4095 See \`config.log' for more details" "$LINENO" 5; }
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4100 $as_echo "$cross_compiling" >&6; }
4102 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4103 ac_clean_files=$ac_clean_files_save
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4105 $as_echo_n "checking for suffix of object files... " >&6; }
4106 if ${ac_cv_objext+:} false; then :
4107 $as_echo_n "(cached) " >&6
4108 else
4109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4110 /* end confdefs.h. */
4113 main ()
4117 return 0;
4119 _ACEOF
4120 rm -f conftest.o conftest.obj
4121 if { { ac_try="$ac_compile"
4122 case "(($ac_try" in
4123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4124 *) ac_try_echo=$ac_try;;
4125 esac
4126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4127 $as_echo "$ac_try_echo"; } >&5
4128 (eval "$ac_compile") 2>&5
4129 ac_status=$?
4130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4131 test $ac_status = 0; }; then :
4132 for ac_file in conftest.o conftest.obj conftest.*; do
4133 test -f "$ac_file" || continue;
4134 case $ac_file in
4135 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4136 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4137 break;;
4138 esac
4139 done
4140 else
4141 $as_echo "$as_me: failed program was:" >&5
4142 sed 's/^/| /' conftest.$ac_ext >&5
4144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4146 as_fn_error $? "cannot compute suffix of object files: cannot compile
4147 See \`config.log' for more details" "$LINENO" 5; }
4149 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4152 $as_echo "$ac_cv_objext" >&6; }
4153 OBJEXT=$ac_cv_objext
4154 ac_objext=$OBJEXT
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4156 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4157 if ${ac_cv_c_compiler_gnu+:} false; then :
4158 $as_echo_n "(cached) " >&6
4159 else
4160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4161 /* end confdefs.h. */
4164 main ()
4166 #ifndef __GNUC__
4167 choke me
4168 #endif
4171 return 0;
4173 _ACEOF
4174 if ac_fn_c_try_compile "$LINENO"; then :
4175 ac_compiler_gnu=yes
4176 else
4177 ac_compiler_gnu=no
4179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4180 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4184 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4185 if test $ac_compiler_gnu = yes; then
4186 GCC=yes
4187 else
4188 GCC=
4190 ac_test_CFLAGS=${CFLAGS+set}
4191 ac_save_CFLAGS=$CFLAGS
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4193 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4194 if ${ac_cv_prog_cc_g+:} false; then :
4195 $as_echo_n "(cached) " >&6
4196 else
4197 ac_save_c_werror_flag=$ac_c_werror_flag
4198 ac_c_werror_flag=yes
4199 ac_cv_prog_cc_g=no
4200 CFLAGS="-g"
4201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4205 main ()
4209 return 0;
4211 _ACEOF
4212 if ac_fn_c_try_compile "$LINENO"; then :
4213 ac_cv_prog_cc_g=yes
4214 else
4215 CFLAGS=""
4216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4217 /* end confdefs.h. */
4220 main ()
4224 return 0;
4226 _ACEOF
4227 if ac_fn_c_try_compile "$LINENO"; then :
4229 else
4230 ac_c_werror_flag=$ac_save_c_werror_flag
4231 CFLAGS="-g"
4232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4233 /* end confdefs.h. */
4236 main ()
4240 return 0;
4242 _ACEOF
4243 if ac_fn_c_try_compile "$LINENO"; then :
4244 ac_cv_prog_cc_g=yes
4246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4251 ac_c_werror_flag=$ac_save_c_werror_flag
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4254 $as_echo "$ac_cv_prog_cc_g" >&6; }
4255 if test "$ac_test_CFLAGS" = set; then
4256 CFLAGS=$ac_save_CFLAGS
4257 elif test $ac_cv_prog_cc_g = yes; then
4258 if test "$GCC" = yes; then
4259 CFLAGS="-g -O2"
4260 else
4261 CFLAGS="-g"
4263 else
4264 if test "$GCC" = yes; then
4265 CFLAGS="-O2"
4266 else
4267 CFLAGS=
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4271 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4272 if ${ac_cv_prog_cc_c89+:} false; then :
4273 $as_echo_n "(cached) " >&6
4274 else
4275 ac_cv_prog_cc_c89=no
4276 ac_save_CC=$CC
4277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4278 /* end confdefs.h. */
4279 #include <stdarg.h>
4280 #include <stdio.h>
4281 struct stat;
4282 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4283 struct buf { int x; };
4284 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4285 static char *e (p, i)
4286 char **p;
4287 int i;
4289 return p[i];
4291 static char *f (char * (*g) (char **, int), char **p, ...)
4293 char *s;
4294 va_list v;
4295 va_start (v,p);
4296 s = g (p, va_arg (v,int));
4297 va_end (v);
4298 return s;
4301 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4302 function prototypes and stuff, but not '\xHH' hex character constants.
4303 These don't provoke an error unfortunately, instead are silently treated
4304 as 'x'. The following induces an error, until -std is added to get
4305 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4306 array size at least. It's necessary to write '\x00'==0 to get something
4307 that's true only with -std. */
4308 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4310 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4311 inside strings and character constants. */
4312 #define FOO(x) 'x'
4313 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4315 int test (int i, double x);
4316 struct s1 {int (*f) (int a);};
4317 struct s2 {int (*f) (double a);};
4318 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4319 int argc;
4320 char **argv;
4322 main ()
4324 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4326 return 0;
4328 _ACEOF
4329 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4330 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4332 CC="$ac_save_CC $ac_arg"
4333 if ac_fn_c_try_compile "$LINENO"; then :
4334 ac_cv_prog_cc_c89=$ac_arg
4336 rm -f core conftest.err conftest.$ac_objext
4337 test "x$ac_cv_prog_cc_c89" != "xno" && break
4338 done
4339 rm -f conftest.$ac_ext
4340 CC=$ac_save_CC
4343 # AC_CACHE_VAL
4344 case "x$ac_cv_prog_cc_c89" in
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4347 $as_echo "none needed" >&6; } ;;
4348 xno)
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4350 $as_echo "unsupported" >&6; } ;;
4352 CC="$CC $ac_cv_prog_cc_c89"
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4354 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4355 esac
4356 if test "x$ac_cv_prog_cc_c89" != xno; then :
4360 ac_ext=c
4361 ac_cpp='$CPP $CPPFLAGS'
4362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4366 ac_ext=cpp
4367 ac_cpp='$CXXCPP $CPPFLAGS'
4368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4371 if test -z "$CXX"; then
4372 if test -n "$CCC"; then
4373 CXX=$CCC
4374 else
4375 if test -n "$ac_tool_prefix"; then
4376 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4378 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4379 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4381 $as_echo_n "checking for $ac_word... " >&6; }
4382 if ${ac_cv_prog_CXX+:} false; then :
4383 $as_echo_n "(cached) " >&6
4384 else
4385 if test -n "$CXX"; then
4386 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4387 else
4388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4389 for as_dir in $PATH
4391 IFS=$as_save_IFS
4392 test -z "$as_dir" && as_dir=.
4393 for ac_exec_ext in '' $ac_executable_extensions; do
4394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4395 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4397 break 2
4399 done
4400 done
4401 IFS=$as_save_IFS
4405 CXX=$ac_cv_prog_CXX
4406 if test -n "$CXX"; then
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4408 $as_echo "$CXX" >&6; }
4409 else
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4411 $as_echo "no" >&6; }
4415 test -n "$CXX" && break
4416 done
4418 if test -z "$CXX"; then
4419 ac_ct_CXX=$CXX
4420 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4422 # Extract the first word of "$ac_prog", so it can be a program name with args.
4423 set dummy $ac_prog; ac_word=$2
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4425 $as_echo_n "checking for $ac_word... " >&6; }
4426 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4427 $as_echo_n "(cached) " >&6
4428 else
4429 if test -n "$ac_ct_CXX"; then
4430 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4431 else
4432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4433 for as_dir in $PATH
4435 IFS=$as_save_IFS
4436 test -z "$as_dir" && as_dir=.
4437 for ac_exec_ext in '' $ac_executable_extensions; do
4438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4439 ac_cv_prog_ac_ct_CXX="$ac_prog"
4440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4441 break 2
4443 done
4444 done
4445 IFS=$as_save_IFS
4449 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4450 if test -n "$ac_ct_CXX"; then
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4452 $as_echo "$ac_ct_CXX" >&6; }
4453 else
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4455 $as_echo "no" >&6; }
4459 test -n "$ac_ct_CXX" && break
4460 done
4462 if test "x$ac_ct_CXX" = x; then
4463 CXX="g++"
4464 else
4465 case $cross_compiling:$ac_tool_warned in
4466 yes:)
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4469 ac_tool_warned=yes ;;
4470 esac
4471 CXX=$ac_ct_CXX
4477 # Provide some information about the compiler.
4478 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4479 set X $ac_compile
4480 ac_compiler=$2
4481 for ac_option in --version -v -V -qversion; do
4482 { { ac_try="$ac_compiler $ac_option >&5"
4483 case "(($ac_try" in
4484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4485 *) ac_try_echo=$ac_try;;
4486 esac
4487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4488 $as_echo "$ac_try_echo"; } >&5
4489 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4490 ac_status=$?
4491 if test -s conftest.err; then
4492 sed '10a\
4493 ... rest of stderr output deleted ...
4494 10q' conftest.err >conftest.er1
4495 cat conftest.er1 >&5
4497 rm -f conftest.er1 conftest.err
4498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4499 test $ac_status = 0; }
4500 done
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4503 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4504 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4505 $as_echo_n "(cached) " >&6
4506 else
4507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508 /* end confdefs.h. */
4511 main ()
4513 #ifndef __GNUC__
4514 choke me
4515 #endif
4518 return 0;
4520 _ACEOF
4521 if ac_fn_cxx_try_compile "$LINENO"; then :
4522 ac_compiler_gnu=yes
4523 else
4524 ac_compiler_gnu=no
4526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4527 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4531 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4532 if test $ac_compiler_gnu = yes; then
4533 GXX=yes
4534 else
4535 GXX=
4537 ac_test_CXXFLAGS=${CXXFLAGS+set}
4538 ac_save_CXXFLAGS=$CXXFLAGS
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4540 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4541 if ${ac_cv_prog_cxx_g+:} false; then :
4542 $as_echo_n "(cached) " >&6
4543 else
4544 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4545 ac_cxx_werror_flag=yes
4546 ac_cv_prog_cxx_g=no
4547 CXXFLAGS="-g"
4548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4549 /* end confdefs.h. */
4552 main ()
4556 return 0;
4558 _ACEOF
4559 if ac_fn_cxx_try_compile "$LINENO"; then :
4560 ac_cv_prog_cxx_g=yes
4561 else
4562 CXXFLAGS=""
4563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4567 main ()
4571 return 0;
4573 _ACEOF
4574 if ac_fn_cxx_try_compile "$LINENO"; then :
4576 else
4577 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4578 CXXFLAGS="-g"
4579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4580 /* end confdefs.h. */
4583 main ()
4587 return 0;
4589 _ACEOF
4590 if ac_fn_cxx_try_compile "$LINENO"; then :
4591 ac_cv_prog_cxx_g=yes
4593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4598 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4601 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4602 if test "$ac_test_CXXFLAGS" = set; then
4603 CXXFLAGS=$ac_save_CXXFLAGS
4604 elif test $ac_cv_prog_cxx_g = yes; then
4605 if test "$GXX" = yes; then
4606 CXXFLAGS="-g -O2"
4607 else
4608 CXXFLAGS="-g"
4610 else
4611 if test "$GXX" = yes; then
4612 CXXFLAGS="-O2"
4613 else
4614 CXXFLAGS=
4617 ac_ext=c
4618 ac_cpp='$CPP $CPPFLAGS'
4619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4623 if test -n "$ac_tool_prefix"; then
4624 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4625 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4627 $as_echo_n "checking for $ac_word... " >&6; }
4628 if ${ac_cv_prog_CPPBIN+:} false; then :
4629 $as_echo_n "(cached) " >&6
4630 else
4631 if test -n "$CPPBIN"; then
4632 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4633 else
4634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4635 for as_dir in $PATH
4637 IFS=$as_save_IFS
4638 test -z "$as_dir" && as_dir=.
4639 for ac_exec_ext in '' $ac_executable_extensions; do
4640 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4641 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4643 break 2
4645 done
4646 done
4647 IFS=$as_save_IFS
4651 CPPBIN=$ac_cv_prog_CPPBIN
4652 if test -n "$CPPBIN"; then
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4654 $as_echo "$CPPBIN" >&6; }
4655 else
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4657 $as_echo "no" >&6; }
4662 if test -z "$ac_cv_prog_CPPBIN"; then
4663 ac_ct_CPPBIN=$CPPBIN
4664 # Extract the first word of "cpp", so it can be a program name with args.
4665 set dummy cpp; ac_word=$2
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4667 $as_echo_n "checking for $ac_word... " >&6; }
4668 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4669 $as_echo_n "(cached) " >&6
4670 else
4671 if test -n "$ac_ct_CPPBIN"; then
4672 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4673 else
4674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4675 for as_dir in $PATH
4677 IFS=$as_save_IFS
4678 test -z "$as_dir" && as_dir=.
4679 for ac_exec_ext in '' $ac_executable_extensions; do
4680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4681 ac_cv_prog_ac_ct_CPPBIN="cpp"
4682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4683 break 2
4685 done
4686 done
4687 IFS=$as_save_IFS
4691 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4692 if test -n "$ac_ct_CPPBIN"; then
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4694 $as_echo "$ac_ct_CPPBIN" >&6; }
4695 else
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4697 $as_echo "no" >&6; }
4700 if test "x$ac_ct_CPPBIN" = x; then
4701 CPPBIN="cpp"
4702 else
4703 case $cross_compiling:$ac_tool_warned in
4704 yes:)
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4707 ac_tool_warned=yes ;;
4708 esac
4709 CPPBIN=$ac_ct_CPPBIN
4711 else
4712 CPPBIN="$ac_cv_prog_CPPBIN"
4716 cat >>confdefs.h <<_ACEOF
4717 #define EXEEXT "$ac_exeext"
4718 _ACEOF
4721 case $host in
4722 *-darwin*)
4723 if test "x$enable_win64" = "xyes"
4724 then
4725 CC="$CC -m64"
4726 CXX="$CXX -m64"
4727 host_cpu="x86_64"
4728 notice_platform="64-bit "
4729 TARGETFLAGS="-m64"
4731 else
4732 CC="$CC -m32"
4733 CXX="$CXX -m32"
4734 host_cpu="i386"
4735 notice_platform="32-bit "
4736 TARGETFLAGS="-m32"
4738 enable_win16=${enable_win16:-yes}
4740 with_fontconfig=${with_fontconfig:-no}
4742 x86_64*)
4743 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4744 then
4745 CC="$CC -m32"
4746 CXX="$CXX -m32"
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4748 $as_echo_n "checking whether $CC works... " >&6; }
4750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4751 /* end confdefs.h. */
4754 main ()
4758 return 0;
4760 _ACEOF
4761 if ac_fn_c_try_link "$LINENO"; then :
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4763 $as_echo "yes" >&6; }
4764 else
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4766 $as_echo "no" >&6; }
4767 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4769 rm -f core conftest.err conftest.$ac_objext \
4770 conftest$ac_exeext conftest.$ac_ext
4771 host_cpu="i386"
4772 notice_platform="32-bit "
4773 TARGETFLAGS="-m32"
4775 enable_win16=${enable_win16:-yes}
4776 else
4777 if test "x${GCC}" = "xyes"
4778 then
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4780 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4782 /* end confdefs.h. */
4783 #include <stdarg.h>
4785 main ()
4787 void func(__builtin_ms_va_list *args);
4789 return 0;
4791 _ACEOF
4792 if ac_fn_c_try_compile "$LINENO"; then :
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4794 $as_echo "yes" >&6; }
4795 else
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4797 $as_echo "no" >&6; }
4798 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4802 TARGETFLAGS="-m64"
4806 arm*)
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4808 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4810 /* end confdefs.h. */
4811 int ac_test(int i) { return i; }
4813 main ()
4815 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4817 return 0;
4819 _ACEOF
4820 if ac_fn_c_try_link "$LINENO"; then :
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4822 $as_echo "yes" >&6; }
4823 else
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4825 $as_echo "no" >&6; }
4826 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4828 rm -f core conftest.err conftest.$ac_objext \
4829 conftest$ac_exeext conftest.$ac_ext
4830 CFLAGS="$CFLAGS -marm"
4831 TARGETFLAGS="-marm"
4834 *-mingw32*|*-cygwin*)
4835 enable_win16=${enable_win16:-no}
4836 CFLAGS="$CFLAGS -D_WIN32"
4838 i[3456789]86*)
4839 enable_win16=${enable_win16:-yes}
4841 esac
4843 enable_win16=${enable_win16:-no}
4844 enable_win64=${enable_win64:-no}
4846 enable_winetest=${enable_winetest:-$enable_tests}
4848 if test -n "$with_wine64"
4849 then
4850 if test "x$enable_win64" = "xyes"
4851 then
4852 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4853 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4855 enable_fonts=${enable_fonts:-no}
4856 enable_server=${enable_server:-no}
4857 elif test "x$enable_win64" = "xyes"
4858 then
4859 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4863 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4864 if ${wine_cv_toolsdir+:} false; then :
4865 $as_echo_n "(cached) " >&6
4866 else
4867 wine_cv_toolsdir="$with_wine_tools"
4868 if test -z "$with_wine_tools"; then
4869 if test "$cross_compiling" = "yes"; then
4870 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4871 elif test -n "$with_wine64"; then
4872 wine_cv_toolsdir="$with_wine64"
4875 if test -z "$wine_cv_toolsdir"; then
4876 wine_makedep=tools/makedep
4877 wine_cv_toolsdir="\$(top_builddir)"
4878 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4879 wine_makedep=$wine_cv_toolsdir/tools/makedep
4880 case "$wine_cv_toolsdir" in
4881 /*) ;;
4882 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4883 esac
4884 enable_tools=${enable_tools:-no}
4885 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4886 else
4887 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4891 $as_echo "$wine_cv_toolsdir" >&6; }
4892 TOOLSDIR=$wine_cv_toolsdir
4894 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4895 then
4896 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4900 for ac_prog in flex
4902 # Extract the first word of "$ac_prog", so it can be a program name with args.
4903 set dummy $ac_prog; ac_word=$2
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4905 $as_echo_n "checking for $ac_word... " >&6; }
4906 if ${ac_cv_prog_FLEX+:} false; then :
4907 $as_echo_n "(cached) " >&6
4908 else
4909 if test -n "$FLEX"; then
4910 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4911 else
4912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4913 for as_dir in $PATH
4915 IFS=$as_save_IFS
4916 test -z "$as_dir" && as_dir=.
4917 for ac_exec_ext in '' $ac_executable_extensions; do
4918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4919 ac_cv_prog_FLEX="$ac_prog"
4920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4921 break 2
4923 done
4924 done
4925 IFS=$as_save_IFS
4929 FLEX=$ac_cv_prog_FLEX
4930 if test -n "$FLEX"; then
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4932 $as_echo "$FLEX" >&6; }
4933 else
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4935 $as_echo "no" >&6; }
4939 test -n "$FLEX" && break
4940 done
4941 test -n "$FLEX" || FLEX="none"
4943 if test "$FLEX" = "none"
4944 then
4945 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4948 $as_echo_n "checking whether flex is recent enough... " >&6; }
4949 cat >conftest.l <<EOF
4950 %top{
4951 #include "prediluvian.h"
4955 if $FLEX -t conftest.l >/dev/null 2>&5
4956 then
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4958 $as_echo "yes" >&6; }
4959 else
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4961 $as_echo "no" >&6; }
4962 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4965 for ac_prog in bison
4967 # Extract the first word of "$ac_prog", so it can be a program name with args.
4968 set dummy $ac_prog; ac_word=$2
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4970 $as_echo_n "checking for $ac_word... " >&6; }
4971 if ${ac_cv_prog_BISON+:} false; then :
4972 $as_echo_n "(cached) " >&6
4973 else
4974 if test -n "$BISON"; then
4975 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4976 else
4977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4978 for as_dir in $PATH
4980 IFS=$as_save_IFS
4981 test -z "$as_dir" && as_dir=.
4982 for ac_exec_ext in '' $ac_executable_extensions; do
4983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4984 ac_cv_prog_BISON="$ac_prog"
4985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4986 break 2
4988 done
4989 done
4990 IFS=$as_save_IFS
4994 BISON=$ac_cv_prog_BISON
4995 if test -n "$BISON"; then
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4997 $as_echo "$BISON" >&6; }
4998 else
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5000 $as_echo "no" >&6; }
5004 test -n "$BISON" && break
5005 done
5006 test -n "$BISON" || BISON="none"
5008 if test "$BISON" = "none"
5009 then
5010 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5013 if test -n "$ac_tool_prefix"; then
5014 for ac_prog in ar gar
5016 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5017 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5019 $as_echo_n "checking for $ac_word... " >&6; }
5020 if ${ac_cv_prog_AR+:} false; then :
5021 $as_echo_n "(cached) " >&6
5022 else
5023 if test -n "$AR"; then
5024 ac_cv_prog_AR="$AR" # Let the user override the test.
5025 else
5026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5027 for as_dir in $PATH
5029 IFS=$as_save_IFS
5030 test -z "$as_dir" && as_dir=.
5031 for ac_exec_ext in '' $ac_executable_extensions; do
5032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5033 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5035 break 2
5037 done
5038 done
5039 IFS=$as_save_IFS
5043 AR=$ac_cv_prog_AR
5044 if test -n "$AR"; then
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5046 $as_echo "$AR" >&6; }
5047 else
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 $as_echo "no" >&6; }
5053 test -n "$AR" && break
5054 done
5056 if test -z "$AR"; then
5057 ac_ct_AR=$AR
5058 for ac_prog in ar gar
5060 # Extract the first word of "$ac_prog", so it can be a program name with args.
5061 set dummy $ac_prog; ac_word=$2
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5063 $as_echo_n "checking for $ac_word... " >&6; }
5064 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5065 $as_echo_n "(cached) " >&6
5066 else
5067 if test -n "$ac_ct_AR"; then
5068 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5069 else
5070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5071 for as_dir in $PATH
5073 IFS=$as_save_IFS
5074 test -z "$as_dir" && as_dir=.
5075 for ac_exec_ext in '' $ac_executable_extensions; do
5076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5077 ac_cv_prog_ac_ct_AR="$ac_prog"
5078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5079 break 2
5081 done
5082 done
5083 IFS=$as_save_IFS
5087 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5088 if test -n "$ac_ct_AR"; then
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5090 $as_echo "$ac_ct_AR" >&6; }
5091 else
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5093 $as_echo "no" >&6; }
5097 test -n "$ac_ct_AR" && break
5098 done
5100 if test "x$ac_ct_AR" = x; then
5101 AR="ar"
5102 else
5103 case $cross_compiling:$ac_tool_warned in
5104 yes:)
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5107 ac_tool_warned=yes ;;
5108 esac
5109 AR=$ac_ct_AR
5113 if test -n "$ac_tool_prefix"; then
5114 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5115 set dummy ${ac_tool_prefix}strip; ac_word=$2
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5117 $as_echo_n "checking for $ac_word... " >&6; }
5118 if ${ac_cv_prog_STRIP+:} false; then :
5119 $as_echo_n "(cached) " >&6
5120 else
5121 if test -n "$STRIP"; then
5122 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5123 else
5124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5125 for as_dir in $PATH
5127 IFS=$as_save_IFS
5128 test -z "$as_dir" && as_dir=.
5129 for ac_exec_ext in '' $ac_executable_extensions; do
5130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5131 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5133 break 2
5135 done
5136 done
5137 IFS=$as_save_IFS
5141 STRIP=$ac_cv_prog_STRIP
5142 if test -n "$STRIP"; then
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5144 $as_echo "$STRIP" >&6; }
5145 else
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147 $as_echo "no" >&6; }
5152 if test -z "$ac_cv_prog_STRIP"; then
5153 ac_ct_STRIP=$STRIP
5154 # Extract the first word of "strip", so it can be a program name with args.
5155 set dummy strip; ac_word=$2
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5157 $as_echo_n "checking for $ac_word... " >&6; }
5158 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5159 $as_echo_n "(cached) " >&6
5160 else
5161 if test -n "$ac_ct_STRIP"; then
5162 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5163 else
5164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5165 for as_dir in $PATH
5167 IFS=$as_save_IFS
5168 test -z "$as_dir" && as_dir=.
5169 for ac_exec_ext in '' $ac_executable_extensions; do
5170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5171 ac_cv_prog_ac_ct_STRIP="strip"
5172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 break 2
5175 done
5176 done
5177 IFS=$as_save_IFS
5181 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5182 if test -n "$ac_ct_STRIP"; then
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5184 $as_echo "$ac_ct_STRIP" >&6; }
5185 else
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5187 $as_echo "no" >&6; }
5190 if test "x$ac_ct_STRIP" = x; then
5191 STRIP="strip"
5192 else
5193 case $cross_compiling:$ac_tool_warned in
5194 yes:)
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5197 ac_tool_warned=yes ;;
5198 esac
5199 STRIP=$ac_ct_STRIP
5201 else
5202 STRIP="$ac_cv_prog_STRIP"
5205 ARFLAGS=rc
5207 if test -n "$ac_tool_prefix"; then
5208 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5209 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5211 $as_echo_n "checking for $ac_word... " >&6; }
5212 if ${ac_cv_prog_RANLIB+:} false; then :
5213 $as_echo_n "(cached) " >&6
5214 else
5215 if test -n "$RANLIB"; then
5216 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5217 else
5218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5219 for as_dir in $PATH
5221 IFS=$as_save_IFS
5222 test -z "$as_dir" && as_dir=.
5223 for ac_exec_ext in '' $ac_executable_extensions; do
5224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5225 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5227 break 2
5229 done
5230 done
5231 IFS=$as_save_IFS
5235 RANLIB=$ac_cv_prog_RANLIB
5236 if test -n "$RANLIB"; then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5238 $as_echo "$RANLIB" >&6; }
5239 else
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241 $as_echo "no" >&6; }
5246 if test -z "$ac_cv_prog_RANLIB"; then
5247 ac_ct_RANLIB=$RANLIB
5248 # Extract the first word of "ranlib", so it can be a program name with args.
5249 set dummy ranlib; ac_word=$2
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5251 $as_echo_n "checking for $ac_word... " >&6; }
5252 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5253 $as_echo_n "(cached) " >&6
5254 else
5255 if test -n "$ac_ct_RANLIB"; then
5256 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5257 else
5258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5259 for as_dir in $PATH
5261 IFS=$as_save_IFS
5262 test -z "$as_dir" && as_dir=.
5263 for ac_exec_ext in '' $ac_executable_extensions; do
5264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5265 ac_cv_prog_ac_ct_RANLIB="ranlib"
5266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5267 break 2
5269 done
5270 done
5271 IFS=$as_save_IFS
5275 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5276 if test -n "$ac_ct_RANLIB"; then
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5278 $as_echo "$ac_ct_RANLIB" >&6; }
5279 else
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5281 $as_echo "no" >&6; }
5284 if test "x$ac_ct_RANLIB" = x; then
5285 RANLIB=":"
5286 else
5287 case $cross_compiling:$ac_tool_warned in
5288 yes:)
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5291 ac_tool_warned=yes ;;
5292 esac
5293 RANLIB=$ac_ct_RANLIB
5295 else
5296 RANLIB="$ac_cv_prog_RANLIB"
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5300 $as_echo_n "checking whether ln -s works... " >&6; }
5301 LN_S=$as_ln_s
5302 if test "$LN_S" = "ln -s"; then
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5304 $as_echo "yes" >&6; }
5305 else
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5307 $as_echo "no, using $LN_S" >&6; }
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5311 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5312 if ${ac_cv_path_GREP+:} false; then :
5313 $as_echo_n "(cached) " >&6
5314 else
5315 if test -z "$GREP"; then
5316 ac_path_GREP_found=false
5317 # Loop through the user's path and test for each of PROGNAME-LIST
5318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5319 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5321 IFS=$as_save_IFS
5322 test -z "$as_dir" && as_dir=.
5323 for ac_prog in grep ggrep; do
5324 for ac_exec_ext in '' $ac_executable_extensions; do
5325 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5326 as_fn_executable_p "$ac_path_GREP" || continue
5327 # Check for GNU ac_path_GREP and select it if it is found.
5328 # Check for GNU $ac_path_GREP
5329 case `"$ac_path_GREP" --version 2>&1` in
5330 *GNU*)
5331 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5333 ac_count=0
5334 $as_echo_n 0123456789 >"conftest.in"
5335 while :
5337 cat "conftest.in" "conftest.in" >"conftest.tmp"
5338 mv "conftest.tmp" "conftest.in"
5339 cp "conftest.in" "conftest.nl"
5340 $as_echo 'GREP' >> "conftest.nl"
5341 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5342 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5343 as_fn_arith $ac_count + 1 && ac_count=$as_val
5344 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5345 # Best one so far, save it but keep looking for a better one
5346 ac_cv_path_GREP="$ac_path_GREP"
5347 ac_path_GREP_max=$ac_count
5349 # 10*(2^10) chars as input seems more than enough
5350 test $ac_count -gt 10 && break
5351 done
5352 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5353 esac
5355 $ac_path_GREP_found && break 3
5356 done
5357 done
5358 done
5359 IFS=$as_save_IFS
5360 if test -z "$ac_cv_path_GREP"; then
5361 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5363 else
5364 ac_cv_path_GREP=$GREP
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5369 $as_echo "$ac_cv_path_GREP" >&6; }
5370 GREP="$ac_cv_path_GREP"
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5374 $as_echo_n "checking for egrep... " >&6; }
5375 if ${ac_cv_path_EGREP+:} false; then :
5376 $as_echo_n "(cached) " >&6
5377 else
5378 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5379 then ac_cv_path_EGREP="$GREP -E"
5380 else
5381 if test -z "$EGREP"; then
5382 ac_path_EGREP_found=false
5383 # Loop through the user's path and test for each of PROGNAME-LIST
5384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5385 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5387 IFS=$as_save_IFS
5388 test -z "$as_dir" && as_dir=.
5389 for ac_prog in egrep; do
5390 for ac_exec_ext in '' $ac_executable_extensions; do
5391 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5392 as_fn_executable_p "$ac_path_EGREP" || continue
5393 # Check for GNU ac_path_EGREP and select it if it is found.
5394 # Check for GNU $ac_path_EGREP
5395 case `"$ac_path_EGREP" --version 2>&1` in
5396 *GNU*)
5397 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5399 ac_count=0
5400 $as_echo_n 0123456789 >"conftest.in"
5401 while :
5403 cat "conftest.in" "conftest.in" >"conftest.tmp"
5404 mv "conftest.tmp" "conftest.in"
5405 cp "conftest.in" "conftest.nl"
5406 $as_echo 'EGREP' >> "conftest.nl"
5407 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5408 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5409 as_fn_arith $ac_count + 1 && ac_count=$as_val
5410 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5411 # Best one so far, save it but keep looking for a better one
5412 ac_cv_path_EGREP="$ac_path_EGREP"
5413 ac_path_EGREP_max=$ac_count
5415 # 10*(2^10) chars as input seems more than enough
5416 test $ac_count -gt 10 && break
5417 done
5418 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5419 esac
5421 $ac_path_EGREP_found && break 3
5422 done
5423 done
5424 done
5425 IFS=$as_save_IFS
5426 if test -z "$ac_cv_path_EGREP"; then
5427 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5429 else
5430 ac_cv_path_EGREP=$EGREP
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5436 $as_echo "$ac_cv_path_EGREP" >&6; }
5437 EGREP="$ac_cv_path_EGREP"
5440 # Extract the first word of "ldconfig", so it can be a program name with args.
5441 set dummy ldconfig; ac_word=$2
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5443 $as_echo_n "checking for $ac_word... " >&6; }
5444 if ${ac_cv_path_LDCONFIG+:} false; then :
5445 $as_echo_n "(cached) " >&6
5446 else
5447 case $LDCONFIG in
5448 [\\/]* | ?:[\\/]*)
5449 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5453 for as_dir in /sbin /usr/sbin $PATH
5455 IFS=$as_save_IFS
5456 test -z "$as_dir" && as_dir=.
5457 for ac_exec_ext in '' $ac_executable_extensions; do
5458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5459 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5461 break 2
5463 done
5464 done
5465 IFS=$as_save_IFS
5467 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5469 esac
5471 LDCONFIG=$ac_cv_path_LDCONFIG
5472 if test -n "$LDCONFIG"; then
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5474 $as_echo "$LDCONFIG" >&6; }
5475 else
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5477 $as_echo "no" >&6; }
5481 for ac_prog in msgfmt
5483 # Extract the first word of "$ac_prog", so it can be a program name with args.
5484 set dummy $ac_prog; ac_word=$2
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5486 $as_echo_n "checking for $ac_word... " >&6; }
5487 if ${ac_cv_prog_MSGFMT+:} false; then :
5488 $as_echo_n "(cached) " >&6
5489 else
5490 if test -n "$MSGFMT"; then
5491 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5492 else
5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5494 for as_dir in $PATH
5496 IFS=$as_save_IFS
5497 test -z "$as_dir" && as_dir=.
5498 for ac_exec_ext in '' $ac_executable_extensions; do
5499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5500 ac_cv_prog_MSGFMT="$ac_prog"
5501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5502 break 2
5504 done
5505 done
5506 IFS=$as_save_IFS
5510 MSGFMT=$ac_cv_prog_MSGFMT
5511 if test -n "$MSGFMT"; then
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5513 $as_echo "$MSGFMT" >&6; }
5514 else
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5516 $as_echo "no" >&6; }
5520 test -n "$MSGFMT" && break
5521 done
5522 test -n "$MSGFMT" || MSGFMT="false"
5524 if ${ac_tool_prefix+:} false; then :
5525 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5526 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5528 $as_echo_n "checking for $ac_word... " >&6; }
5529 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5530 $as_echo_n "(cached) " >&6
5531 else
5532 if test -n "$PKG_CONFIG"; then
5533 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5534 else
5535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5536 for as_dir in $PATH
5538 IFS=$as_save_IFS
5539 test -z "$as_dir" && as_dir=.
5540 for ac_exec_ext in '' $ac_executable_extensions; do
5541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5542 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5544 break 2
5546 done
5547 done
5548 IFS=$as_save_IFS
5552 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5553 if test -n "$PKG_CONFIG"; then
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5555 $as_echo "$PKG_CONFIG" >&6; }
5556 else
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5558 $as_echo "no" >&6; }
5563 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5564 if test "x$cross_compiling" = xyes; then :
5566 else
5567 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5568 # Extract the first word of "pkg-config", so it can be a program name with args.
5569 set dummy pkg-config; ac_word=$2
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5571 $as_echo_n "checking for $ac_word... " >&6; }
5572 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5573 $as_echo_n "(cached) " >&6
5574 else
5575 if test -n "$PKG_CONFIG"; then
5576 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5577 else
5578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5579 for as_dir in $PATH
5581 IFS=$as_save_IFS
5582 test -z "$as_dir" && as_dir=.
5583 for ac_exec_ext in '' $ac_executable_extensions; do
5584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5585 ac_cv_prog_PKG_CONFIG="pkg-config"
5586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5587 break 2
5589 done
5590 done
5591 IFS=$as_save_IFS
5595 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5596 if test -n "$PKG_CONFIG"; then
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5598 $as_echo "$PKG_CONFIG" >&6; }
5599 else
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5601 $as_echo "no" >&6; }
5606 else
5607 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5610 if test "x$enable_maintainer_mode" != "xyes"
5611 then
5612 FONTFORGE=""
5613 RSVG=""
5614 CONVERT=""
5615 ICOTOOL=""
5616 else
5617 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5618 for ac_prog in fontforge
5620 # Extract the first word of "$ac_prog", so it can be a program name with args.
5621 set dummy $ac_prog; ac_word=$2
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5623 $as_echo_n "checking for $ac_word... " >&6; }
5624 if ${ac_cv_prog_FONTFORGE+:} false; then :
5625 $as_echo_n "(cached) " >&6
5626 else
5627 if test -n "$FONTFORGE"; then
5628 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5629 else
5630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5631 for as_dir in $PATH
5633 IFS=$as_save_IFS
5634 test -z "$as_dir" && as_dir=.
5635 for ac_exec_ext in '' $ac_executable_extensions; do
5636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5637 ac_cv_prog_FONTFORGE="$ac_prog"
5638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5639 break 2
5641 done
5642 done
5643 IFS=$as_save_IFS
5647 FONTFORGE=$ac_cv_prog_FONTFORGE
5648 if test -n "$FONTFORGE"; then
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5650 $as_echo "$FONTFORGE" >&6; }
5651 else
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5653 $as_echo "no" >&6; }
5657 test -n "$FONTFORGE" && break
5658 done
5659 test -n "$FONTFORGE" || FONTFORGE="false"
5661 for ac_prog in rsvg
5663 # Extract the first word of "$ac_prog", so it can be a program name with args.
5664 set dummy $ac_prog; ac_word=$2
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5666 $as_echo_n "checking for $ac_word... " >&6; }
5667 if ${ac_cv_prog_RSVG+:} false; then :
5668 $as_echo_n "(cached) " >&6
5669 else
5670 if test -n "$RSVG"; then
5671 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5672 else
5673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5674 for as_dir in $PATH
5676 IFS=$as_save_IFS
5677 test -z "$as_dir" && as_dir=.
5678 for ac_exec_ext in '' $ac_executable_extensions; do
5679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5680 ac_cv_prog_RSVG="$ac_prog"
5681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5682 break 2
5684 done
5685 done
5686 IFS=$as_save_IFS
5690 RSVG=$ac_cv_prog_RSVG
5691 if test -n "$RSVG"; then
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5693 $as_echo "$RSVG" >&6; }
5694 else
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5696 $as_echo "no" >&6; }
5700 test -n "$RSVG" && break
5701 done
5702 test -n "$RSVG" || RSVG="false"
5704 for ac_prog in convert
5706 # Extract the first word of "$ac_prog", so it can be a program name with args.
5707 set dummy $ac_prog; ac_word=$2
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5709 $as_echo_n "checking for $ac_word... " >&6; }
5710 if ${ac_cv_prog_CONVERT+:} false; then :
5711 $as_echo_n "(cached) " >&6
5712 else
5713 if test -n "$CONVERT"; then
5714 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5715 else
5716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5717 for as_dir in $PATH
5719 IFS=$as_save_IFS
5720 test -z "$as_dir" && as_dir=.
5721 for ac_exec_ext in '' $ac_executable_extensions; do
5722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5723 ac_cv_prog_CONVERT="$ac_prog"
5724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5725 break 2
5727 done
5728 done
5729 IFS=$as_save_IFS
5733 CONVERT=$ac_cv_prog_CONVERT
5734 if test -n "$CONVERT"; then
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5736 $as_echo "$CONVERT" >&6; }
5737 else
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5739 $as_echo "no" >&6; }
5743 test -n "$CONVERT" && break
5744 done
5745 test -n "$CONVERT" || CONVERT="false"
5747 for ac_prog in icotool
5749 # Extract the first word of "$ac_prog", so it can be a program name with args.
5750 set dummy $ac_prog; ac_word=$2
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5752 $as_echo_n "checking for $ac_word... " >&6; }
5753 if ${ac_cv_prog_ICOTOOL+:} false; then :
5754 $as_echo_n "(cached) " >&6
5755 else
5756 if test -n "$ICOTOOL"; then
5757 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5758 else
5759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5760 for as_dir in $PATH
5762 IFS=$as_save_IFS
5763 test -z "$as_dir" && as_dir=.
5764 for ac_exec_ext in '' $ac_executable_extensions; do
5765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5766 ac_cv_prog_ICOTOOL="$ac_prog"
5767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5768 break 2
5770 done
5771 done
5772 IFS=$as_save_IFS
5776 ICOTOOL=$ac_cv_prog_ICOTOOL
5777 if test -n "$ICOTOOL"; then
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5779 $as_echo "$ICOTOOL" >&6; }
5780 else
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5782 $as_echo "no" >&6; }
5786 test -n "$ICOTOOL" && break
5787 done
5788 test -n "$ICOTOOL" || ICOTOOL="false"
5790 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5791 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5793 if test "$CONVERT" = false
5794 then
5795 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5796 else
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5798 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5799 convert_version=`convert --version | head -n1`
5800 if test "x$convert_version" != "x"
5801 then
5802 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5803 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5804 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5805 then
5806 CONVERT=false
5809 if test "$CONVERT" = false
5810 then
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5812 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5813 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5814 else
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5816 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5820 if test "$ICOTOOL" = false
5821 then
5822 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5823 else
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5825 $as_echo_n "checking for recent enough icotool... " >&6; }
5826 icotool_version=`icotool --version | head -n1`
5827 if test "x$icotool_version" != "x"
5828 then
5829 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5830 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5831 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5832 then
5833 ICOTOOL=false
5834 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5837 if test "$ICOTOOL" = false
5838 then
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5840 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5841 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5842 else
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5844 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5848 with_gettext=yes
5849 with_gettextpo=yes
5850 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5853 test "x$with_gettext" != xno || MSGFMT=false
5854 if test "$MSGFMT" != "false"
5855 then
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5857 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5858 cat >conftest.po <<EOF
5859 # comment
5860 msgctxt "ctxt"
5861 msgid "id"
5862 msgstr "str"
5864 if $MSGFMT -o /dev/null conftest.po 2>&5
5865 then
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5867 $as_echo "yes" >&6; }
5868 else
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5870 $as_echo "no" >&6; }
5871 MSGFMT=false
5874 if test "$MSGFMT" = false; then :
5875 case "x$with_gettext" in
5876 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5877 xno) ;;
5878 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5879 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5880 esac
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5885 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5886 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5887 $as_echo_n "(cached) " >&6
5888 else
5889 ac_check_lib_save_LIBS=$LIBS
5890 LIBS="-li386 $LIBS"
5891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5892 /* end confdefs.h. */
5894 /* Override any GCC internal prototype to avoid an error.
5895 Use char because int might match the return type of a GCC
5896 builtin and then its argument prototype would still apply. */
5897 #ifdef __cplusplus
5898 extern "C"
5899 #endif
5900 char i386_set_ldt ();
5902 main ()
5904 return i386_set_ldt ();
5906 return 0;
5908 _ACEOF
5909 if ac_fn_c_try_link "$LINENO"; then :
5910 ac_cv_lib_i386_i386_set_ldt=yes
5911 else
5912 ac_cv_lib_i386_i386_set_ldt=no
5914 rm -f core conftest.err conftest.$ac_objext \
5915 conftest$ac_exeext conftest.$ac_ext
5916 LIBS=$ac_check_lib_save_LIBS
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5919 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5920 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5921 cat >>confdefs.h <<_ACEOF
5922 #define HAVE_LIBI386 1
5923 _ACEOF
5925 LIBS="-li386 $LIBS"
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5930 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5931 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5932 $as_echo_n "(cached) " >&6
5933 else
5934 ac_check_lib_save_LIBS=$LIBS
5935 LIBS="-lossaudio $LIBS"
5936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5937 /* end confdefs.h. */
5939 /* Override any GCC internal prototype to avoid an error.
5940 Use char because int might match the return type of a GCC
5941 builtin and then its argument prototype would still apply. */
5942 #ifdef __cplusplus
5943 extern "C"
5944 #endif
5945 char _oss_ioctl ();
5947 main ()
5949 return _oss_ioctl ();
5951 return 0;
5953 _ACEOF
5954 if ac_fn_c_try_link "$LINENO"; then :
5955 ac_cv_lib_ossaudio__oss_ioctl=yes
5956 else
5957 ac_cv_lib_ossaudio__oss_ioctl=no
5959 rm -f core conftest.err conftest.$ac_objext \
5960 conftest$ac_exeext conftest.$ac_ext
5961 LIBS=$ac_check_lib_save_LIBS
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5964 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5965 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5966 cat >>confdefs.h <<_ACEOF
5967 #define HAVE_LIBOSSAUDIO 1
5968 _ACEOF
5970 LIBS="-lossaudio $LIBS"
5975 OPENGL_LIBS=""
5979 # Check whether --enable-largefile was given.
5980 if test "${enable_largefile+set}" = set; then :
5981 enableval=$enable_largefile;
5984 if test "$enable_largefile" != no; then
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5987 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5988 if ${ac_cv_sys_largefile_CC+:} false; then :
5989 $as_echo_n "(cached) " >&6
5990 else
5991 ac_cv_sys_largefile_CC=no
5992 if test "$GCC" != yes; then
5993 ac_save_CC=$CC
5994 while :; do
5995 # IRIX 6.2 and later do not support large files by default,
5996 # so use the C compiler's -n32 option if that helps.
5997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5998 /* end confdefs.h. */
5999 #include <sys/types.h>
6000 /* Check that off_t can represent 2**63 - 1 correctly.
6001 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6002 since some C++ compilers masquerading as C compilers
6003 incorrectly reject 9223372036854775807. */
6004 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6005 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6006 && LARGE_OFF_T % 2147483647 == 1)
6007 ? 1 : -1];
6009 main ()
6013 return 0;
6015 _ACEOF
6016 if ac_fn_c_try_compile "$LINENO"; then :
6017 break
6019 rm -f core conftest.err conftest.$ac_objext
6020 CC="$CC -n32"
6021 if ac_fn_c_try_compile "$LINENO"; then :
6022 ac_cv_sys_largefile_CC=' -n32'; break
6024 rm -f core conftest.err conftest.$ac_objext
6025 break
6026 done
6027 CC=$ac_save_CC
6028 rm -f conftest.$ac_ext
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6032 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6033 if test "$ac_cv_sys_largefile_CC" != no; then
6034 CC=$CC$ac_cv_sys_largefile_CC
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6038 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6039 if ${ac_cv_sys_file_offset_bits+:} false; then :
6040 $as_echo_n "(cached) " >&6
6041 else
6042 while :; do
6043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6044 /* end confdefs.h. */
6045 #include <sys/types.h>
6046 /* Check that off_t can represent 2**63 - 1 correctly.
6047 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6048 since some C++ compilers masquerading as C compilers
6049 incorrectly reject 9223372036854775807. */
6050 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6051 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6052 && LARGE_OFF_T % 2147483647 == 1)
6053 ? 1 : -1];
6055 main ()
6059 return 0;
6061 _ACEOF
6062 if ac_fn_c_try_compile "$LINENO"; then :
6063 ac_cv_sys_file_offset_bits=no; break
6065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6067 /* end confdefs.h. */
6068 #define _FILE_OFFSET_BITS 64
6069 #include <sys/types.h>
6070 /* Check that off_t can represent 2**63 - 1 correctly.
6071 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6072 since some C++ compilers masquerading as C compilers
6073 incorrectly reject 9223372036854775807. */
6074 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6075 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6076 && LARGE_OFF_T % 2147483647 == 1)
6077 ? 1 : -1];
6079 main ()
6083 return 0;
6085 _ACEOF
6086 if ac_fn_c_try_compile "$LINENO"; then :
6087 ac_cv_sys_file_offset_bits=64; break
6089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6090 ac_cv_sys_file_offset_bits=unknown
6091 break
6092 done
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6095 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6096 case $ac_cv_sys_file_offset_bits in #(
6097 no | unknown) ;;
6099 cat >>confdefs.h <<_ACEOF
6100 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6101 _ACEOF
6103 esac
6104 rm -rf conftest*
6105 if test $ac_cv_sys_file_offset_bits = unknown; then
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6107 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6108 if ${ac_cv_sys_large_files+:} false; then :
6109 $as_echo_n "(cached) " >&6
6110 else
6111 while :; do
6112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6113 /* end confdefs.h. */
6114 #include <sys/types.h>
6115 /* Check that off_t can represent 2**63 - 1 correctly.
6116 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6117 since some C++ compilers masquerading as C compilers
6118 incorrectly reject 9223372036854775807. */
6119 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6120 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6121 && LARGE_OFF_T % 2147483647 == 1)
6122 ? 1 : -1];
6124 main ()
6128 return 0;
6130 _ACEOF
6131 if ac_fn_c_try_compile "$LINENO"; then :
6132 ac_cv_sys_large_files=no; break
6134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6136 /* end confdefs.h. */
6137 #define _LARGE_FILES 1
6138 #include <sys/types.h>
6139 /* Check that off_t can represent 2**63 - 1 correctly.
6140 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6141 since some C++ compilers masquerading as C compilers
6142 incorrectly reject 9223372036854775807. */
6143 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6144 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6145 && LARGE_OFF_T % 2147483647 == 1)
6146 ? 1 : -1];
6148 main ()
6152 return 0;
6154 _ACEOF
6155 if ac_fn_c_try_compile "$LINENO"; then :
6156 ac_cv_sys_large_files=1; break
6158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6159 ac_cv_sys_large_files=unknown
6160 break
6161 done
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6164 $as_echo "$ac_cv_sys_large_files" >&6; }
6165 case $ac_cv_sys_large_files in #(
6166 no | unknown) ;;
6168 cat >>confdefs.h <<_ACEOF
6169 #define _LARGE_FILES $ac_cv_sys_large_files
6170 _ACEOF
6172 esac
6173 rm -rf conftest*
6180 ac_ext=c
6181 ac_cpp='$CPP $CPPFLAGS'
6182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6186 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6187 # On Suns, sometimes $CPP names a directory.
6188 if test -n "$CPP" && test -d "$CPP"; then
6189 CPP=
6191 if test -z "$CPP"; then
6192 if ${ac_cv_prog_CPP+:} false; then :
6193 $as_echo_n "(cached) " >&6
6194 else
6195 # Double quotes because CPP needs to be expanded
6196 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6198 ac_preproc_ok=false
6199 for ac_c_preproc_warn_flag in '' yes
6201 # Use a header file that comes with gcc, so configuring glibc
6202 # with a fresh cross-compiler works.
6203 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6204 # <limits.h> exists even on freestanding compilers.
6205 # On the NeXT, cc -E runs the code through the compiler's parser,
6206 # not just through cpp. "Syntax error" is here to catch this case.
6207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6208 /* end confdefs.h. */
6209 #ifdef __STDC__
6210 # include <limits.h>
6211 #else
6212 # include <assert.h>
6213 #endif
6214 Syntax error
6215 _ACEOF
6216 if ac_fn_c_try_cpp "$LINENO"; then :
6218 else
6219 # Broken: fails on valid input.
6220 continue
6222 rm -f conftest.err conftest.i conftest.$ac_ext
6224 # OK, works on sane cases. Now check whether nonexistent headers
6225 # can be detected and how.
6226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6227 /* end confdefs.h. */
6228 #include <ac_nonexistent.h>
6229 _ACEOF
6230 if ac_fn_c_try_cpp "$LINENO"; then :
6231 # Broken: success on invalid input.
6232 continue
6233 else
6234 # Passes both tests.
6235 ac_preproc_ok=:
6236 break
6238 rm -f conftest.err conftest.i conftest.$ac_ext
6240 done
6241 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6242 rm -f conftest.i conftest.err conftest.$ac_ext
6243 if $ac_preproc_ok; then :
6244 break
6247 done
6248 ac_cv_prog_CPP=$CPP
6251 CPP=$ac_cv_prog_CPP
6252 else
6253 ac_cv_prog_CPP=$CPP
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6256 $as_echo "$CPP" >&6; }
6257 ac_preproc_ok=false
6258 for ac_c_preproc_warn_flag in '' yes
6260 # Use a header file that comes with gcc, so configuring glibc
6261 # with a fresh cross-compiler works.
6262 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6263 # <limits.h> exists even on freestanding compilers.
6264 # On the NeXT, cc -E runs the code through the compiler's parser,
6265 # not just through cpp. "Syntax error" is here to catch this case.
6266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6267 /* end confdefs.h. */
6268 #ifdef __STDC__
6269 # include <limits.h>
6270 #else
6271 # include <assert.h>
6272 #endif
6273 Syntax error
6274 _ACEOF
6275 if ac_fn_c_try_cpp "$LINENO"; then :
6277 else
6278 # Broken: fails on valid input.
6279 continue
6281 rm -f conftest.err conftest.i conftest.$ac_ext
6283 # OK, works on sane cases. Now check whether nonexistent headers
6284 # can be detected and how.
6285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6286 /* end confdefs.h. */
6287 #include <ac_nonexistent.h>
6288 _ACEOF
6289 if ac_fn_c_try_cpp "$LINENO"; then :
6290 # Broken: success on invalid input.
6291 continue
6292 else
6293 # Passes both tests.
6294 ac_preproc_ok=:
6295 break
6297 rm -f conftest.err conftest.i conftest.$ac_ext
6299 done
6300 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6301 rm -f conftest.i conftest.err conftest.$ac_ext
6302 if $ac_preproc_ok; then :
6304 else
6305 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6307 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6308 See \`config.log' for more details" "$LINENO" 5; }
6311 ac_ext=c
6312 ac_cpp='$CPP $CPPFLAGS'
6313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6319 $as_echo_n "checking for ANSI C header files... " >&6; }
6320 if ${ac_cv_header_stdc+:} false; then :
6321 $as_echo_n "(cached) " >&6
6322 else
6323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6324 /* end confdefs.h. */
6325 #include <stdlib.h>
6326 #include <stdarg.h>
6327 #include <string.h>
6328 #include <float.h>
6331 main ()
6335 return 0;
6337 _ACEOF
6338 if ac_fn_c_try_compile "$LINENO"; then :
6339 ac_cv_header_stdc=yes
6340 else
6341 ac_cv_header_stdc=no
6343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6345 if test $ac_cv_header_stdc = yes; then
6346 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6348 /* end confdefs.h. */
6349 #include <string.h>
6351 _ACEOF
6352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6353 $EGREP "memchr" >/dev/null 2>&1; then :
6355 else
6356 ac_cv_header_stdc=no
6358 rm -f conftest*
6362 if test $ac_cv_header_stdc = yes; then
6363 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6365 /* end confdefs.h. */
6366 #include <stdlib.h>
6368 _ACEOF
6369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6370 $EGREP "free" >/dev/null 2>&1; then :
6372 else
6373 ac_cv_header_stdc=no
6375 rm -f conftest*
6379 if test $ac_cv_header_stdc = yes; then
6380 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6381 if test "$cross_compiling" = yes; then :
6383 else
6384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6385 /* end confdefs.h. */
6386 #include <ctype.h>
6387 #include <stdlib.h>
6388 #if ((' ' & 0x0FF) == 0x020)
6389 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6390 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6391 #else
6392 # define ISLOWER(c) \
6393 (('a' <= (c) && (c) <= 'i') \
6394 || ('j' <= (c) && (c) <= 'r') \
6395 || ('s' <= (c) && (c) <= 'z'))
6396 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6397 #endif
6399 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6401 main ()
6403 int i;
6404 for (i = 0; i < 256; i++)
6405 if (XOR (islower (i), ISLOWER (i))
6406 || toupper (i) != TOUPPER (i))
6407 return 2;
6408 return 0;
6410 _ACEOF
6411 if ac_fn_c_try_run "$LINENO"; then :
6413 else
6414 ac_cv_header_stdc=no
6416 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6417 conftest.$ac_objext conftest.beam conftest.$ac_ext
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6423 $as_echo "$ac_cv_header_stdc" >&6; }
6424 if test $ac_cv_header_stdc = yes; then
6426 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6430 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6431 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6432 inttypes.h stdint.h unistd.h
6433 do :
6434 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6435 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6437 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6438 cat >>confdefs.h <<_ACEOF
6439 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6440 _ACEOF
6444 done
6447 for ac_header in \
6448 AL/al.h \
6449 ApplicationServices/ApplicationServices.h \
6450 AudioToolbox/AudioConverter.h \
6451 AudioUnit/AudioUnit.h \
6452 AudioUnit/AudioComponent.h \
6453 CL/cl.h \
6454 Carbon/Carbon.h \
6455 CoreAudio/CoreAudio.h \
6456 CoreServices/CoreServices.h \
6457 DiskArbitration/DiskArbitration.h \
6458 IOKit/IOKitLib.h \
6459 IOKit/hid/IOHIDLib.h \
6460 OpenAL/al.h \
6461 OpenCL/opencl.h \
6462 QuickTime/ImageCompression.h \
6463 Security/Security.h \
6464 alias.h \
6465 alsa/asoundlib.h \
6466 arpa/inet.h \
6467 arpa/nameser.h \
6468 asm/types.h \
6469 asm/user.h \
6470 curses.h \
6471 direct.h \
6472 dirent.h \
6473 dlfcn.h \
6474 elf.h \
6475 float.h \
6476 fnmatch.h \
6477 getopt.h \
6478 gettext-po.h \
6479 grp.h \
6480 gsm.h \
6481 gsm/gsm.h \
6482 ieeefp.h \
6483 inet/mib2.h \
6484 io.h \
6485 kstat.h \
6486 lber.h \
6487 ldap.h \
6488 libproc.h \
6489 link.h \
6490 linux/cdrom.h \
6491 linux/compiler.h \
6492 linux/filter.h \
6493 linux/hdreg.h \
6494 linux/input.h \
6495 linux/ioctl.h \
6496 linux/joystick.h \
6497 linux/major.h \
6498 linux/param.h \
6499 linux/serial.h \
6500 linux/types.h \
6501 linux/ucdrom.h \
6502 lwp.h \
6503 mach-o/nlist.h \
6504 mach-o/loader.h \
6505 mach/mach.h \
6506 mach/machine.h \
6507 machine/cpu.h \
6508 machine/limits.h \
6509 machine/sysarch.h \
6510 mntent.h \
6511 ncurses.h \
6512 netdb.h \
6513 netinet/in.h \
6514 netinet/in_systm.h \
6515 netinet/tcp.h \
6516 netinet/tcp_fsm.h \
6517 pcap/pcap.h \
6518 poll.h \
6519 port.h \
6520 process.h \
6521 pthread.h \
6522 pwd.h \
6523 sched.h \
6524 scsi/scsi.h \
6525 scsi/scsi_ioctl.h \
6526 scsi/sg.h \
6527 stdbool.h \
6528 stdint.h \
6529 stropts.h \
6530 sys/asoundlib.h \
6531 sys/attr.h \
6532 sys/cdio.h \
6533 sys/elf32.h \
6534 sys/epoll.h \
6535 sys/event.h \
6536 sys/exec_elf.h \
6537 sys/filio.h \
6538 sys/inotify.h \
6539 sys/ioctl.h \
6540 sys/ipc.h \
6541 sys/limits.h \
6542 sys/link.h \
6543 sys/mman.h \
6544 sys/modem.h \
6545 sys/msg.h \
6546 sys/mtio.h \
6547 sys/param.h \
6548 sys/poll.h \
6549 sys/prctl.h \
6550 sys/protosw.h \
6551 sys/ptrace.h \
6552 sys/queue.h \
6553 sys/resource.h \
6554 sys/scsiio.h \
6555 sys/shm.h \
6556 sys/signal.h \
6557 sys/socket.h \
6558 sys/socketvar.h \
6559 sys/sockio.h \
6560 sys/statvfs.h \
6561 sys/strtio.h \
6562 sys/syscall.h \
6563 sys/tihdr.h \
6564 sys/time.h \
6565 sys/timeout.h \
6566 sys/times.h \
6567 sys/uio.h \
6568 sys/user.h \
6569 sys/utsname.h \
6570 sys/vm86.h \
6571 sys/wait.h \
6572 syscall.h \
6573 termios.h \
6574 unistd.h \
6575 utime.h \
6576 valgrind/memcheck.h \
6577 valgrind/valgrind.h \
6578 zlib.h
6580 do :
6581 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6582 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6583 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6584 cat >>confdefs.h <<_ACEOF
6585 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6586 _ACEOF
6590 done
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6593 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6594 if ${ac_cv_header_stat_broken+:} false; then :
6595 $as_echo_n "(cached) " >&6
6596 else
6597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6598 /* end confdefs.h. */
6599 #include <sys/types.h>
6600 #include <sys/stat.h>
6602 #if defined S_ISBLK && defined S_IFDIR
6603 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6604 #endif
6606 #if defined S_ISBLK && defined S_IFCHR
6607 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6608 #endif
6610 #if defined S_ISLNK && defined S_IFREG
6611 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6612 #endif
6614 #if defined S_ISSOCK && defined S_IFREG
6615 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6616 #endif
6618 _ACEOF
6619 if ac_fn_c_try_compile "$LINENO"; then :
6620 ac_cv_header_stat_broken=no
6621 else
6622 ac_cv_header_stat_broken=yes
6624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6627 $as_echo "$ac_cv_header_stat_broken" >&6; }
6628 if test $ac_cv_header_stat_broken = yes; then
6630 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6636 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6637 do :
6638 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6639 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6640 #ifdef HAVE_SYS_PARAM_H
6641 # include <sys/param.h>
6642 #endif
6644 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6645 cat >>confdefs.h <<_ACEOF
6646 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6647 _ACEOF
6651 done
6654 for ac_header in \
6655 netinet/ip.h \
6656 net/if.h \
6657 net/if_arp.h \
6658 net/if_dl.h \
6659 net/if_types.h \
6660 net/route.h \
6661 netinet/if_ether.h \
6662 netinet/if_inarp.h \
6663 netinet/in_pcb.h \
6664 netinet/ip_icmp.h \
6665 netinet/ip_var.h \
6666 netinet/udp.h \
6667 netipx/ipx.h \
6668 sys/un.h \
6670 do :
6671 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6672 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6673 #ifdef HAVE_SYS_SOCKET_H
6674 # include <sys/socket.h>
6675 #endif
6676 #ifdef HAVE_SYS_SOCKETVAR_H
6677 # include <sys/socketvar.h>
6678 #endif
6679 #ifdef HAVE_NET_ROUTE_H
6680 # include <net/route.h>
6681 #endif
6682 #ifdef HAVE_NETINET_IN_H
6683 # include <netinet/in.h>
6684 #endif
6685 #ifdef HAVE_NETINET_IN_SYSTM_H
6686 # include <netinet/in_systm.h>
6687 #endif
6688 #ifdef HAVE_NET_IF_H
6689 # include <net/if.h>
6690 #endif
6691 #ifdef HAVE_NETINET_IP_H
6692 # include <netinet/ip.h>
6693 #endif
6695 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6696 cat >>confdefs.h <<_ACEOF
6697 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6698 _ACEOF
6702 done
6705 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6706 do :
6707 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6708 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6709 #ifdef HAVE_ALIAS_H
6710 # include <alias.h>
6711 #endif
6712 #ifdef HAVE_SYS_SOCKET_H
6713 # include <sys/socket.h>
6714 #endif
6715 #ifdef HAVE_SYS_SOCKETVAR_H
6716 # include <sys/socketvar.h>
6717 #endif
6718 #ifdef HAVE_SYS_TIMEOUT_H
6719 # include <sys/timeout.h>
6720 #endif
6721 #ifdef HAVE_NETINET_IN_H
6722 # include <netinet/in.h>
6723 #endif
6724 #ifdef HAVE_NETINET_IN_SYSTM_H
6725 # include <netinet/in_systm.h>
6726 #endif
6727 #ifdef HAVE_NETINET_IP_H
6728 # include <netinet/ip.h>
6729 #endif
6730 #ifdef HAVE_NETINET_IP_VAR_H
6731 # include <netinet/ip_var.h>
6732 #endif
6733 #ifdef HAVE_NETINET_IP_ICMP_H
6734 # include <netinet/ip_icmp.h>
6735 #endif
6736 #ifdef HAVE_NETINET_UDP_H
6737 # include <netinet/udp.h>
6738 #endif
6739 #ifdef HAVE_NETINET_TCP_H
6740 # include <netinet/tcp.h>
6741 #endif
6742 #ifdef HAVE_NETINET_TCP_TIMER_H
6743 #include <netinet/tcp_timer.h>
6744 #endif
6746 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6747 cat >>confdefs.h <<_ACEOF
6748 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6749 _ACEOF
6753 done
6756 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6757 do :
6758 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6759 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6760 #ifdef HAVE_ASM_TYPES_H
6761 # include <asm/types.h>
6762 #endif
6763 #ifdef HAVE_SYS_SOCKET_H
6764 # include <sys/socket.h>
6765 #endif
6766 #ifdef HAVE_LINUX_TYPES_H
6767 # include <linux/types.h>
6768 #endif
6770 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6771 cat >>confdefs.h <<_ACEOF
6772 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6773 _ACEOF
6777 done
6780 for ac_header in mach-o/dyld_images.h
6781 do :
6782 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6783 # include <stdbool.h>
6784 #endif
6785 #ifdef HAVE_STDINT_H
6786 # include <stdint.h>
6787 #endif
6789 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6790 cat >>confdefs.h <<_ACEOF
6791 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6792 _ACEOF
6796 done
6799 for ac_header in resolv.h
6800 do :
6801 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6802 #ifdef HAVE_SYS_SOCKET_H
6803 # include <sys/socket.h>
6804 #endif
6805 #ifdef HAVE_NETINET_IN_H
6806 # include <netinet/in.h>
6807 #endif
6808 #ifdef HAVE_ARPA_NAMESER_H
6809 # include <arpa/nameser.h>
6810 #endif
6812 if test "x$ac_cv_header_resolv_h" = xyes; then :
6813 cat >>confdefs.h <<_ACEOF
6814 #define HAVE_RESOLV_H 1
6815 _ACEOF
6819 done
6822 for ac_header in ifaddrs.h
6823 do :
6824 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6826 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6827 cat >>confdefs.h <<_ACEOF
6828 #define HAVE_IFADDRS_H 1
6829 _ACEOF
6833 done
6836 for ac_header in sys/ucontext.h
6837 do :
6838 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6840 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6841 cat >>confdefs.h <<_ACEOF
6842 #define HAVE_SYS_UCONTEXT_H 1
6843 _ACEOF
6847 done
6850 for ac_header in sys/thr.h
6851 do :
6852 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6853 #ifdef HAVE_SYS_UCONTEXT_H
6854 #include <sys/ucontext.h>
6855 #endif
6857 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6858 cat >>confdefs.h <<_ACEOF
6859 #define HAVE_SYS_THR_H 1
6860 _ACEOF
6864 done
6867 for ac_header in pthread_np.h
6868 do :
6869 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6870 #include <pthread.h>
6871 #endif
6873 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6874 cat >>confdefs.h <<_ACEOF
6875 #define HAVE_PTHREAD_NP_H 1
6876 _ACEOF
6880 done
6883 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6884 do :
6885 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6886 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6887 #include <sys/time.h>
6888 #endif
6889 #include <sys/types.h>
6890 #ifdef HAVE_ASM_TYPES_H
6891 #include <asm/types.h>
6892 #endif
6894 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6895 cat >>confdefs.h <<_ACEOF
6896 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6897 _ACEOF
6901 done
6904 for ac_header in libprocstat.h
6905 do :
6906 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6907 #include <sys/param.h>
6908 #endif
6909 #ifdef HAVE_SYS_QUEUE_H
6910 #include <sys/queue.h>
6911 #endif
6912 #ifdef HAVE_SYS_SOCKET_H
6913 #include <sys/socket.h>
6914 #endif
6916 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6917 cat >>confdefs.h <<_ACEOF
6918 #define HAVE_LIBPROCSTAT_H 1
6919 _ACEOF
6923 done
6927 dlldir="\${libdir}/wine"
6929 DLLPREFIX=""
6931 DLLFLAGS="-D_REENTRANT"
6933 LDRPATH_INSTALL=""
6935 LDRPATH_LOCAL=""
6937 LIBEXT="so"
6938 DLLEXT=".so"
6939 IMPLIBEXT="def"
6940 STATIC_IMPLIBEXT="def.a"
6941 # Extract the first word of "ldd", so it can be a program name with args.
6942 set dummy ldd; ac_word=$2
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6944 $as_echo_n "checking for $ac_word... " >&6; }
6945 if ${ac_cv_path_LDD+:} false; then :
6946 $as_echo_n "(cached) " >&6
6947 else
6948 case $LDD in
6949 [\\/]* | ?:[\\/]*)
6950 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6954 as_dummy="/sbin:/usr/sbin:$PATH"
6955 for as_dir in $as_dummy
6957 IFS=$as_save_IFS
6958 test -z "$as_dir" && as_dir=.
6959 for ac_exec_ext in '' $ac_executable_extensions; do
6960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6961 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6963 break 2
6965 done
6966 done
6967 IFS=$as_save_IFS
6969 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6971 esac
6973 LDD=$ac_cv_path_LDD
6974 if test -n "$LDD"; then
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6976 $as_echo "$LDD" >&6; }
6977 else
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6979 $as_echo "no" >&6; }
6983 if test -n "$ac_tool_prefix"; then
6984 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6985 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6987 $as_echo_n "checking for $ac_word... " >&6; }
6988 if ${ac_cv_prog_READELF+:} false; then :
6989 $as_echo_n "(cached) " >&6
6990 else
6991 if test -n "$READELF"; then
6992 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6993 else
6994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6995 for as_dir in $PATH
6997 IFS=$as_save_IFS
6998 test -z "$as_dir" && as_dir=.
6999 for ac_exec_ext in '' $ac_executable_extensions; do
7000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7001 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7003 break 2
7005 done
7006 done
7007 IFS=$as_save_IFS
7011 READELF=$ac_cv_prog_READELF
7012 if test -n "$READELF"; then
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7014 $as_echo "$READELF" >&6; }
7015 else
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7017 $as_echo "no" >&6; }
7022 if test -z "$ac_cv_prog_READELF"; then
7023 ac_ct_READELF=$READELF
7024 # Extract the first word of "readelf", so it can be a program name with args.
7025 set dummy readelf; ac_word=$2
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7027 $as_echo_n "checking for $ac_word... " >&6; }
7028 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7029 $as_echo_n "(cached) " >&6
7030 else
7031 if test -n "$ac_ct_READELF"; then
7032 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7033 else
7034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7035 for as_dir in $PATH
7037 IFS=$as_save_IFS
7038 test -z "$as_dir" && as_dir=.
7039 for ac_exec_ext in '' $ac_executable_extensions; do
7040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7041 ac_cv_prog_ac_ct_READELF="readelf"
7042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7043 break 2
7045 done
7046 done
7047 IFS=$as_save_IFS
7051 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7052 if test -n "$ac_ct_READELF"; then
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7054 $as_echo "$ac_ct_READELF" >&6; }
7055 else
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7057 $as_echo "no" >&6; }
7060 if test "x$ac_ct_READELF" = x; then
7061 READELF="true"
7062 else
7063 case $cross_compiling:$ac_tool_warned in
7064 yes:)
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7066 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7067 ac_tool_warned=yes ;;
7068 esac
7069 READELF=$ac_ct_READELF
7071 else
7072 READELF="$ac_cv_prog_READELF"
7075 wine_rules_file=conf$$rules.make
7076 rm -f $wine_rules_file
7077 ALL_POT_FILES=""
7078 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7079 ALL_TEST_RESOURCES=""
7082 wine_fn_append_file ()
7084 as_fn_append $1 " \\$as_nl $2"
7087 wine_fn_ignore_file ()
7089 case "$1" in
7090 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7091 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7092 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7093 esac
7096 wine_fn_append_rule ()
7098 $as_echo "$1" >>$wine_rules_file
7101 wine_fn_has_flag ()
7103 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7106 wine_fn_depend_rules ()
7108 wine_fn_append_rule \
7109 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7110 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7111 depend: $ac_dir/depend
7112 .PHONY: $ac_dir/depend
7113 $ac_dir/depend: \$(MAKEDEP) dummy
7114 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7117 wine_fn_pot_rules ()
7119 test "x$with_gettextpo" = xyes || return
7121 if wine_fn_has_flag mc
7122 then
7123 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7124 wine_fn_append_rule \
7125 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7126 @cd $ac_dir && \$(MAKE) msg.pot
7127 $ac_dir/msg.pot: tools/wmc include"
7129 if wine_fn_has_flag po
7130 then
7131 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7132 wine_fn_append_rule \
7133 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7134 @cd $ac_dir && \$(MAKE) rsrc.pot
7135 $ac_dir/rsrc.pot: tools/wrc include"
7139 wine_fn_all_rules ()
7141 wine_fn_depend_rules
7142 wine_fn_append_rule \
7143 "all: $ac_dir
7144 .PHONY: $ac_dir
7145 $ac_dir: $ac_dir/Makefile dummy
7146 @cd $ac_dir && \$(MAKE)"
7149 wine_fn_install_rules ()
7151 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7153 wine_fn_append_rule \
7154 ".PHONY: $ac_dir/install $ac_dir/uninstall
7155 $ac_dir/install:: $ac_dir
7156 @cd $ac_dir && \$(MAKE) install
7157 $ac_dir/uninstall:: $ac_dir/Makefile
7158 @cd $ac_dir && \$(MAKE) uninstall
7159 install:: $ac_dir/install
7160 __uninstall__: $ac_dir/uninstall"
7162 if wine_fn_has_flag install-lib
7163 then
7164 wine_fn_append_rule \
7165 ".PHONY: $ac_dir/install-lib
7166 $ac_dir/install-lib:: $ac_dir
7167 @cd $ac_dir && \$(MAKE) install-lib
7168 install-lib:: $ac_dir/install-lib"
7171 if wine_fn_has_flag install-dev
7172 then
7173 wine_fn_append_rule \
7174 ".PHONY: $ac_dir/install-dev
7175 $ac_dir/install-dev:: $ac_dir
7176 @cd $ac_dir && \$(MAKE) install-dev
7177 install-dev:: $ac_dir/install-dev"
7181 wine_fn_clean_rules ()
7183 ac_clean=$@
7184 ac_extraclean="$ac_dir/Makefile"
7185 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7186 case $ac_dir in
7187 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7188 esac
7190 if wine_fn_has_flag clean
7191 then
7192 wine_fn_append_rule \
7193 "__clean__: $ac_dir/clean
7194 .PHONY: $ac_dir/clean
7195 $ac_dir/clean: $ac_dir/Makefile
7196 @cd $ac_dir && \$(MAKE) clean
7197 \$(RM) $ac_extraclean"
7198 else
7199 wine_fn_append_rule \
7200 "__clean__: $ac_dir/clean
7201 .PHONY: $ac_dir/clean
7202 $ac_dir/clean: dummy
7203 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7207 wine_fn_disabled_rules ()
7209 ac_clean=$@
7210 ac_extraclean="$ac_dir/Makefile"
7211 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7213 wine_fn_append_rule \
7214 "__clean__: $ac_dir/clean
7215 .PHONY: $ac_dir/clean
7216 $ac_dir/clean: dummy
7217 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7220 wine_fn_config_makefile ()
7222 ac_dir=$1
7223 ac_enable=$2
7224 ac_flags=$3
7226 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7227 wine_fn_disabled_rules; return
7229 wine_fn_all_rules
7230 wine_fn_install_rules
7231 wine_fn_clean_rules
7234 wine_fn_config_lib ()
7236 ac_name=$1
7237 ac_flags=$2
7238 ac_dir=dlls/$ac_name
7239 ac_deps="include"
7241 if test "x$enable_tools" = xno; then :
7243 else
7244 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7246 wine_fn_all_rules
7247 wine_fn_clean_rules
7249 wine_fn_append_rule \
7250 ".PHONY: $ac_dir/install $ac_dir/uninstall
7251 $ac_dir/install:: $ac_dir
7252 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7253 $ac_dir/uninstall::
7254 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7255 install install-dev:: $ac_dir/install
7256 __uninstall__: $ac_dir/uninstall
7257 __builddeps__: $ac_dir
7258 $ac_dir: $ac_deps"
7261 wine_fn_config_dll ()
7263 ac_name=$1
7264 ac_dir=dlls/$ac_name
7265 ac_enable=$2
7266 ac_flags=$3
7267 ac_implib=${4:-$ac_name}
7268 ac_file=$ac_dir/lib$ac_implib
7269 ac_dll=$ac_name
7270 ac_deps="include"
7271 ac_implibflags=""
7273 if test "x$enable_tools" = xno; then :
7275 else
7276 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7278 case $ac_name in
7279 *16) ac_implibflags=" -m16" ;;
7280 *.*) ;;
7281 *) ac_dll=$ac_dll.dll ;;
7282 esac
7284 ac_clean=
7285 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7286 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7287 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7288 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7290 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7291 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7292 then
7293 wine_fn_depend_rules
7294 wine_fn_clean_rules $ac_clean
7295 else
7296 wine_fn_disabled_rules $ac_clean
7297 return
7299 else
7300 wine_fn_all_rules
7301 wine_fn_clean_rules $ac_clean
7302 wine_fn_append_rule \
7303 "$ac_dir: __builddeps__
7304 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7305 @cd $ac_dir && \$(MAKE) \$@
7306 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7307 install install-lib:: $ac_dir/install-lib
7308 __uninstall__: $ac_dir/uninstall"
7309 if test -n "$DLLEXT"
7310 then
7311 wine_fn_append_rule \
7312 "$ac_dir/install-lib:: $ac_dir
7313 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7314 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7315 $ac_dir/uninstall::
7316 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7317 else
7318 wine_fn_append_rule \
7319 "$ac_dir/install-lib:: $ac_dir
7320 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7321 $ac_dir/uninstall::
7322 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7325 wine_fn_pot_rules
7328 if wine_fn_has_flag staticimplib
7329 then
7330 wine_fn_append_rule \
7331 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7332 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7333 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7334 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7335 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7336 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7337 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7338 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7339 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7340 $ac_dir/uninstall::
7341 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7342 install install-dev:: $ac_dir/install-dev
7343 __uninstall__: $ac_dir/uninstall"
7345 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7346 then
7347 wine_fn_append_rule \
7348 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7349 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7350 $ac_dir/uninstall::
7351 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7354 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7355 then
7356 wine_fn_append_rule \
7357 "__builddeps__: $ac_file.cross.a
7358 $ac_file.cross.a: $ac_dir/Makefile dummy
7359 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7362 elif wine_fn_has_flag implib
7363 then
7364 wine_fn_append_rule \
7365 "__builddeps__: $ac_file.$IMPLIBEXT
7366 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7367 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7368 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7369 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7370 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7371 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7372 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7373 $ac_dir/uninstall::
7374 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7375 install install-dev:: $ac_dir/install-dev
7376 __uninstall__: $ac_dir/uninstall"
7377 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7378 then
7379 wine_fn_append_rule \
7380 "__builddeps__: $ac_file.cross.a
7381 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7382 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7385 if test "$ac_name" != "$ac_implib"
7386 then
7387 wine_fn_append_rule \
7388 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7389 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7390 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7391 clean::
7392 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7393 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7394 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7395 then
7396 wine_fn_append_rule \
7397 "__builddeps__: dlls/lib$ac_implib.cross.a
7398 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7399 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7400 clean::
7401 \$(RM) dlls/lib$ac_implib.cross.a"
7402 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7408 wine_fn_config_program ()
7410 ac_name=$1
7411 ac_dir=programs/$ac_name
7412 ac_enable=$2
7413 ac_flags=$3
7414 ac_program=$ac_name
7416 case $ac_name in
7417 *.*) ;;
7418 *) ac_program=$ac_program.exe ;;
7419 esac
7421 ac_clean=
7422 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7423 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7424 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7425 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7427 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7428 wine_fn_disabled_rules $ac_clean; return
7431 wine_fn_all_rules
7432 wine_fn_clean_rules $ac_clean
7433 wine_fn_append_rule "$ac_dir: __builddeps__"
7434 wine_fn_pot_rules
7436 wine_fn_has_flag install || return
7437 wine_fn_append_rule \
7438 ".PHONY: $ac_dir/install $ac_dir/uninstall
7439 install install-lib:: $ac_dir/install
7440 __uninstall__: $ac_dir/uninstall"
7442 if test -n "$DLLEXT"
7443 then
7444 wine_fn_append_rule \
7445 "$ac_dir/install:: $ac_dir
7446 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7447 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7448 $ac_dir/uninstall::
7449 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7451 if test -z "$with_wine64" && wine_fn_has_flag installbin
7452 then
7453 wine_fn_append_rule \
7454 "$ac_dir/install:: __tooldeps__
7455 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7456 $ac_dir/uninstall::
7457 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7459 else
7460 wine_fn_append_rule \
7461 "$ac_dir/install:: $ac_dir
7462 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7463 $ac_dir/uninstall::
7464 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7467 if test -z "$with_wine64" && wine_fn_has_flag manpage
7468 then
7469 wine_fn_append_rule \
7470 "$ac_dir/install:: $ac_dir
7471 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7472 $ac_dir/uninstall::
7473 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7477 wine_fn_config_test ()
7479 ac_dir=$1
7480 ac_name=$2
7481 ac_flags=$3
7483 ac_clean=
7484 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7485 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7487 if test "x$enable_tests" = xno; then :
7488 wine_fn_disabled_rules $ac_clean; return
7491 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7492 wine_fn_all_rules
7493 wine_fn_clean_rules $ac_clean
7495 wine_fn_append_rule \
7496 "$ac_dir: programs/winetest/Makefile __builddeps__
7497 programs/winetest: $ac_dir
7498 check test: $ac_dir/test
7499 .PHONY: $ac_dir/test
7500 $ac_dir/test: dummy
7501 @cd $ac_dir && \$(MAKE) test
7502 testclean::
7503 \$(RM) $ac_dir/*.ok"
7505 if test -n "$CROSSTARGET"
7506 then
7507 wine_fn_append_rule \
7508 "crosstest: $ac_dir/crosstest
7509 .PHONY: $ac_dir/crosstest
7510 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7511 @cd $ac_dir && \$(MAKE) crosstest"
7515 wine_fn_config_tool ()
7517 ac_dir=$1
7518 ac_flags=$2
7519 if test "x$enable_tools" = xno; then :
7520 return
7523 wine_fn_all_rules
7524 wine_fn_install_rules
7525 wine_fn_clean_rules
7527 wine_fn_append_rule "__tooldeps__: $ac_dir"
7528 wine_fn_append_rule "$ac_dir: libs/port"
7529 case $ac_dir in
7530 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7531 esac
7534 wine_fn_config_symlink ()
7536 ac_linkdir=
7537 if test "x$1" = "x-d"
7538 then
7539 ac_linkdir=$2
7540 shift; shift
7542 ac_links=$@
7543 wine_fn_append_rule \
7544 "$ac_links:
7545 @./config.status \$@
7546 distclean::
7547 \$(RM) $ac_links"
7548 for f in $ac_links; do wine_fn_ignore_file $f; done
7549 test -n "$ac_linkdir" || return
7550 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7553 wine_binary="wine"
7554 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7555 loader_programs="$wine_binary wine-installed"
7556 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7558 LOADER_RULES="
7559 all: wine.inf
7561 install install-lib:: wine-installed
7562 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7564 uninstall::
7565 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7569 case $host_os in
7570 cygwin*|mingw32*)
7571 if test -n "$ac_tool_prefix"; then
7572 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7573 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7575 $as_echo_n "checking for $ac_word... " >&6; }
7576 if ${ac_cv_prog_DLLTOOL+:} false; then :
7577 $as_echo_n "(cached) " >&6
7578 else
7579 if test -n "$DLLTOOL"; then
7580 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7581 else
7582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7583 for as_dir in $PATH
7585 IFS=$as_save_IFS
7586 test -z "$as_dir" && as_dir=.
7587 for ac_exec_ext in '' $ac_executable_extensions; do
7588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7589 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7591 break 2
7593 done
7594 done
7595 IFS=$as_save_IFS
7599 DLLTOOL=$ac_cv_prog_DLLTOOL
7600 if test -n "$DLLTOOL"; then
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7602 $as_echo "$DLLTOOL" >&6; }
7603 else
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7605 $as_echo "no" >&6; }
7610 if test -z "$ac_cv_prog_DLLTOOL"; then
7611 ac_ct_DLLTOOL=$DLLTOOL
7612 # Extract the first word of "dlltool", so it can be a program name with args.
7613 set dummy dlltool; ac_word=$2
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7615 $as_echo_n "checking for $ac_word... " >&6; }
7616 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7617 $as_echo_n "(cached) " >&6
7618 else
7619 if test -n "$ac_ct_DLLTOOL"; then
7620 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7621 else
7622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7623 for as_dir in $PATH
7625 IFS=$as_save_IFS
7626 test -z "$as_dir" && as_dir=.
7627 for ac_exec_ext in '' $ac_executable_extensions; do
7628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7629 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7631 break 2
7633 done
7634 done
7635 IFS=$as_save_IFS
7639 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7640 if test -n "$ac_ct_DLLTOOL"; then
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7642 $as_echo "$ac_ct_DLLTOOL" >&6; }
7643 else
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7645 $as_echo "no" >&6; }
7648 if test "x$ac_ct_DLLTOOL" = x; then
7649 DLLTOOL="false"
7650 else
7651 case $cross_compiling:$ac_tool_warned in
7652 yes:)
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7655 ac_tool_warned=yes ;;
7656 esac
7657 DLLTOOL=$ac_ct_DLLTOOL
7659 else
7660 DLLTOOL="$ac_cv_prog_DLLTOOL"
7663 LIBEXT="dll"
7664 DLLEXT=""
7665 IMPLIBEXT="a"
7666 STATIC_IMPLIBEXT="a"
7667 enable_iphlpapi=${enable_iphlpapi:-no}
7668 enable_kernel32=${enable_kernel32:-no}
7669 enable_msvcrt=${enable_msvcrt:-no}
7670 enable_ntdll=${enable_ntdll:-no}
7671 enable_ws2_32=${enable_ws2_32:-no}
7672 enable_loader=${enable_loader:-no}
7673 enable_server=${enable_server:-no}
7674 with_x=${with_x:-no}
7675 with_pthread=${with_pthread:-no}
7677 crtlibs=""
7678 case $host_os in
7679 mingw32*)
7680 crtlibs="-lmsvcrt"
7681 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7683 esac
7685 libwine_targets="libwine.dll libwine.a"
7686 LIBWINE_RULES="
7687 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7689 all: libwine.dll libwine.a
7691 libwine.a: \$(srcdir)/wine.def
7692 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7694 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7695 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7697 install install-lib:: libwine.dll
7698 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7700 install install-dev:: libwine.a
7701 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7703 uninstall::
7704 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7709 darwin*|macosx*)
7710 LIBEXT="dylib"
7711 DLLFLAGS="$DLLFLAGS -fPIC"
7712 LIBWINE_LDFLAGS="-multiply_defined suppress"
7713 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7714 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7715 COREFOUNDATION_LIBS="-framework CoreFoundation"
7717 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7719 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7721 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7723 CORESERVICES_LIBS="-framework CoreServices"
7725 APPKIT_LIBS="-framework AppKit"
7727 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7729 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7730 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7731 $as_echo_n "(cached) " >&6
7732 else
7733 ac_wine_try_cflags_saved=$CFLAGS
7734 CFLAGS="$CFLAGS -Wl,-no_pie"
7735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7736 /* end confdefs.h. */
7737 int main(int argc, char **argv) { return 0; }
7738 _ACEOF
7739 if ac_fn_c_try_link "$LINENO"; then :
7740 ac_cv_cflags__Wl__no_pie=yes
7741 else
7742 ac_cv_cflags__Wl__no_pie=no
7744 rm -f core conftest.err conftest.$ac_objext \
7745 conftest$ac_exeext conftest.$ac_ext
7746 CFLAGS=$ac_wine_try_cflags_saved
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7749 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7750 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7751 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7753 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7754 then
7755 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7758 if test "$ac_cv_header_Security_Security_h" = "yes"
7759 then
7760 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7762 ac_save_LIBS="$LIBS"
7763 LIBS="$LIBS $SECURITY_LIBS"
7764 for ac_func in SSLCopyPeerCertificates
7765 do :
7766 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7767 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7768 cat >>confdefs.h <<_ACEOF
7769 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7770 _ACEOF
7773 done
7775 LIBS="$ac_save_LIBS"
7776 with_gnutls=${with_gnutls:-no}
7778 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7779 then
7780 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7781 then
7782 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7784 else
7785 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7788 ac_save_LIBS="$LIBS"
7789 LIBS="$LIBS $COREAUDIO_LIBS"
7790 for ac_func in AUGraphAddNode
7791 do :
7792 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7793 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7794 cat >>confdefs.h <<_ACEOF
7795 #define HAVE_AUGRAPHADDNODE 1
7796 _ACEOF
7799 done
7801 LIBS="$ac_save_LIBS"
7803 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7804 then
7805 OPENAL_LIBS="-framework OpenAL"
7808 cat >>confdefs.h <<_ACEOF
7809 #define HAVE_OPENAL 1
7810 _ACEOF
7812 ac_cv_lib_openal=yes
7814 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7815 then
7816 OPENCL_LIBS="-framework OpenCL"
7818 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7820 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7821 then
7822 ac_save_LIBS="$LIBS"
7823 LIBS="$LIBS $IOKIT_LIBS"
7824 for ac_func in IOHIDManagerCreate
7825 do :
7826 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7827 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7828 cat >>confdefs.h <<_ACEOF
7829 #define HAVE_IOHIDMANAGERCREATE 1
7830 _ACEOF
7833 done
7835 LIBS="$ac_save_LIBS"
7837 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7838 then
7839 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7841 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7842 else
7843 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7845 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7846 then
7847 CARBON_LIBS="-framework Carbon"
7851 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7852 then
7853 ac_save_LIBS="$LIBS"
7854 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7855 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7856 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7857 enable_winemac_drv=${enable_winemac_drv:-yes}
7860 LIBS="$ac_save_LIBS"
7863 if test "x$enable_win16" = "xyes"
7864 then
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7866 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7867 if test "$cross_compiling" = yes; then :
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7869 $as_echo "cross-compiling, assuming yes" >&6; }
7870 else
7871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7872 /* end confdefs.h. */
7873 asm(".text\n"
7874 "bad:\tnop;nop\n"
7875 "good:\tnop;nop\n\t"
7876 ".globl _testfunc\n"
7877 "_testfunc:\tcallw good");
7878 extern void testfunc();
7880 main ()
7882 unsigned short *p = (unsigned short *)testfunc;
7883 return p[0] != 0xe866 || p[1] != 0xfffa
7885 return 0;
7887 _ACEOF
7888 if ac_fn_c_try_run "$LINENO"; then :
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7890 $as_echo "yes" >&6; }
7891 else
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7893 $as_echo "no" >&6; }
7894 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
7896 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7897 conftest.$ac_objext conftest.beam conftest.$ac_ext
7902 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7903 LIBWINE_RULES="
7904 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7906 all: libwine.dylib
7908 libwine.$libwine_version.dylib: \$(OBJS)
7909 \$(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 \$@
7911 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7912 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7914 libwine.dylib: libwine.$libwine_soversion.dylib
7915 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7917 install install-lib:: libwine.$libwine_version.dylib
7918 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7919 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7921 install install-dev::
7922 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7924 uninstall::
7925 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7929 as_fn_append LOADER_RULES "
7930 $wine_binary: main.o wine_info.plist
7931 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7933 wine-installed: main.o wine_info.plist
7934 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7938 linux-android*)
7939 DLLFLAGS="$DLLFLAGS -fPIC"
7940 DLLPREFIX="lib"
7941 LDEXECFLAGS=""
7942 dlldir="\${libdir}"
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7944 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7945 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7946 $as_echo_n "(cached) " >&6
7947 else
7948 ac_wine_try_cflags_saved=$CFLAGS
7949 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7951 /* end confdefs.h. */
7952 int main(int argc, char **argv) { return 0; }
7953 _ACEOF
7954 if ac_fn_c_try_link "$LINENO"; then :
7955 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7956 else
7957 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7959 rm -f core conftest.err conftest.$ac_objext \
7960 conftest$ac_exeext conftest.$ac_ext
7961 CFLAGS=$ac_wine_try_cflags_saved
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7964 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7965 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7966 LDEXECFLAGS="-Wl,--export-dynamic"
7968 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7970 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7971 if eval \${$as_ac_var+:} false; then :
7972 $as_echo_n "(cached) " >&6
7973 else
7974 ac_wine_try_cflags_saved=$CFLAGS
7975 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7977 /* end confdefs.h. */
7978 int main(int argc, char **argv) { return 0; }
7979 _ACEOF
7980 if ac_fn_c_try_link "$LINENO"; then :
7981 eval "$as_ac_var=yes"
7982 else
7983 eval "$as_ac_var=no"
7985 rm -f core conftest.err conftest.$ac_objext \
7986 conftest$ac_exeext conftest.$ac_ext
7987 CFLAGS=$ac_wine_try_cflags_saved
7989 eval ac_res=\$$as_ac_var
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7991 $as_echo "$ac_res" >&6; }
7992 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7993 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7994 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7995 else
7996 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7998 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7999 if eval \${$as_ac_var+:} false; then :
8000 $as_echo_n "(cached) " >&6
8001 else
8002 ac_wine_try_cflags_saved=$CFLAGS
8003 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
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 eval "$as_ac_var=yes"
8010 else
8011 eval "$as_ac_var=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 eval ac_res=\$$as_ac_var
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8019 $as_echo "$ac_res" >&6; }
8020 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8021 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8022 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8027 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8028 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8029 $as_echo_n "(cached) " >&6
8030 else
8031 ac_wine_try_cflags_saved=$CFLAGS
8032 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8034 /* end confdefs.h. */
8035 int main(int argc, char **argv) { return 0; }
8036 _ACEOF
8037 if ac_fn_c_try_link "$LINENO"; then :
8038 ac_cv_cflags__Wl___enable_new_dtags=yes
8039 else
8040 ac_cv_cflags__Wl___enable_new_dtags=no
8042 rm -f core conftest.err conftest.$ac_objext \
8043 conftest$ac_exeext conftest.$ac_ext
8044 CFLAGS=$ac_wine_try_cflags_saved
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8047 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8048 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8049 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8052 case $host_cpu in
8053 *i[3456789]86* | x86_64)
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8055 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8056 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8057 $as_echo_n "(cached) " >&6
8058 else
8059 ac_wine_try_cflags_saved=$CFLAGS
8060 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8062 /* end confdefs.h. */
8063 int main(int argc, char **argv) { return 0; }
8064 _ACEOF
8065 if ac_fn_c_try_link "$LINENO"; then :
8066 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8067 else
8068 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8070 rm -f core conftest.err conftest.$ac_objext \
8071 conftest$ac_exeext conftest.$ac_ext
8072 CFLAGS=$ac_wine_try_cflags_saved
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8075 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8076 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8077 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8080 esac
8082 libwine_targets="libwine.so"
8083 LIBWINE_RULES="
8084 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8086 all: libwine.so
8088 libwine.so: \$(OBJS)
8089 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8091 install install-lib:: libwine.so
8092 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8094 uninstall::
8095 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8099 as_fn_append LOADER_RULES "
8100 $wine_binary: main.o
8101 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8103 wine-installed: main.o
8104 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8109 DLLFLAGS="$DLLFLAGS -fPIC"
8110 LDEXECFLAGS=""
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8112 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8113 if ${ac_cv_c_dll_gnuelf+:} false; then :
8114 $as_echo_n "(cached) " >&6
8115 else
8116 ac_wine_try_cflags_saved=$CFLAGS
8117 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8119 /* end confdefs.h. */
8120 void myfunc() {}
8121 _ACEOF
8122 if ac_fn_c_try_link "$LINENO"; then :
8123 ac_cv_c_dll_gnuelf="yes"
8124 else
8125 ac_cv_c_dll_gnuelf="no"
8127 rm -f core conftest.err conftest.$ac_objext \
8128 conftest$ac_exeext conftest.$ac_ext
8129 CFLAGS=$ac_wine_try_cflags_saved
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8132 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8133 if test "$ac_cv_c_dll_gnuelf" = "yes"
8134 then
8135 LDSHARED="\$(CC) -shared"
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8137 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8138 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8139 $as_echo_n "(cached) " >&6
8140 else
8141 ac_wine_try_cflags_saved=$CFLAGS
8142 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8144 /* end confdefs.h. */
8145 int main(int argc, char **argv) { return 0; }
8146 _ACEOF
8147 if ac_fn_c_try_link "$LINENO"; then :
8148 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8149 else
8150 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8152 rm -f core conftest.err conftest.$ac_objext \
8153 conftest$ac_exeext conftest.$ac_ext
8154 CFLAGS=$ac_wine_try_cflags_saved
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8157 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8158 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8159 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8160 else
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8162 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8163 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8164 $as_echo_n "(cached) " >&6
8165 else
8166 ac_wine_try_cflags_saved=$CFLAGS
8167 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8169 /* end confdefs.h. */
8170 int main(int argc, char **argv) { return 0; }
8171 _ACEOF
8172 if ac_fn_c_try_link "$LINENO"; then :
8173 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8174 else
8175 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8177 rm -f core conftest.err conftest.$ac_objext \
8178 conftest$ac_exeext conftest.$ac_ext
8179 CFLAGS=$ac_wine_try_cflags_saved
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8182 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8183 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8184 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8188 echo '{ global: *; };' >conftest.map
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8190 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8191 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8192 $as_echo_n "(cached) " >&6
8193 else
8194 ac_wine_try_cflags_saved=$CFLAGS
8195 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8197 /* end confdefs.h. */
8198 int main(int argc, char **argv) { return 0; }
8199 _ACEOF
8200 if ac_fn_c_try_link "$LINENO"; then :
8201 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8202 else
8203 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8205 rm -f core conftest.err conftest.$ac_objext \
8206 conftest$ac_exeext conftest.$ac_ext
8207 CFLAGS=$ac_wine_try_cflags_saved
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8210 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8211 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8212 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8214 rm -f conftest.map
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8217 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8218 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8219 $as_echo_n "(cached) " >&6
8220 else
8221 ac_wine_try_cflags_saved=$CFLAGS
8222 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8224 /* end confdefs.h. */
8225 int main(int argc, char **argv) { return 0; }
8226 _ACEOF
8227 if ac_fn_c_try_link "$LINENO"; then :
8228 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8229 else
8230 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8232 rm -f core conftest.err conftest.$ac_objext \
8233 conftest$ac_exeext conftest.$ac_ext
8234 CFLAGS=$ac_wine_try_cflags_saved
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8237 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8238 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8239 LDEXECFLAGS="-Wl,--export-dynamic"
8242 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8244 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8245 if eval \${$as_ac_var+:} false; then :
8246 $as_echo_n "(cached) " >&6
8247 else
8248 ac_wine_try_cflags_saved=$CFLAGS
8249 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8251 /* end confdefs.h. */
8252 int main(int argc, char **argv) { return 0; }
8253 _ACEOF
8254 if ac_fn_c_try_link "$LINENO"; then :
8255 eval "$as_ac_var=yes"
8256 else
8257 eval "$as_ac_var=no"
8259 rm -f core conftest.err conftest.$ac_objext \
8260 conftest$ac_exeext conftest.$ac_ext
8261 CFLAGS=$ac_wine_try_cflags_saved
8263 eval ac_res=\$$as_ac_var
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8265 $as_echo "$ac_res" >&6; }
8266 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8267 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8268 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8269 else
8270 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8272 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8273 if eval \${$as_ac_var+:} false; then :
8274 $as_echo_n "(cached) " >&6
8275 else
8276 ac_wine_try_cflags_saved=$CFLAGS
8277 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8279 /* end confdefs.h. */
8280 int main(int argc, char **argv) { return 0; }
8281 _ACEOF
8282 if ac_fn_c_try_link "$LINENO"; then :
8283 eval "$as_ac_var=yes"
8284 else
8285 eval "$as_ac_var=no"
8287 rm -f core conftest.err conftest.$ac_objext \
8288 conftest$ac_exeext conftest.$ac_ext
8289 CFLAGS=$ac_wine_try_cflags_saved
8291 eval ac_res=\$$as_ac_var
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8293 $as_echo "$ac_res" >&6; }
8294 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8295 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8296 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8301 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8302 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8303 $as_echo_n "(cached) " >&6
8304 else
8305 ac_wine_try_cflags_saved=$CFLAGS
8306 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8308 /* end confdefs.h. */
8309 int main(int argc, char **argv) { return 0; }
8310 _ACEOF
8311 if ac_fn_c_try_link "$LINENO"; then :
8312 ac_cv_cflags__Wl___enable_new_dtags=yes
8313 else
8314 ac_cv_cflags__Wl___enable_new_dtags=no
8316 rm -f core conftest.err conftest.$ac_objext \
8317 conftest$ac_exeext conftest.$ac_ext
8318 CFLAGS=$ac_wine_try_cflags_saved
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8321 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8322 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8323 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8326 case $host_cpu in
8327 *i[3456789]86* | x86_64)
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8329 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8330 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8331 $as_echo_n "(cached) " >&6
8332 else
8333 ac_wine_try_cflags_saved=$CFLAGS
8334 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8336 /* end confdefs.h. */
8337 int main(int argc, char **argv) { return 0; }
8338 _ACEOF
8339 if ac_fn_c_try_link "$LINENO"; then :
8340 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8341 else
8342 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8344 rm -f core conftest.err conftest.$ac_objext \
8345 conftest$ac_exeext conftest.$ac_ext
8346 CFLAGS=$ac_wine_try_cflags_saved
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8349 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8350 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8351 case $host_os in
8352 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8353 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8354 esac
8357 # Extract the first word of "prelink", so it can be a program name with args.
8358 set dummy prelink; ac_word=$2
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8360 $as_echo_n "checking for $ac_word... " >&6; }
8361 if ${ac_cv_path_PRELINK+:} false; then :
8362 $as_echo_n "(cached) " >&6
8363 else
8364 case $PRELINK in
8365 [\\/]* | ?:[\\/]*)
8366 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8370 for as_dir in /sbin /usr/sbin $PATH
8372 IFS=$as_save_IFS
8373 test -z "$as_dir" && as_dir=.
8374 for ac_exec_ext in '' $ac_executable_extensions; do
8375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8376 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8378 break 2
8380 done
8381 done
8382 IFS=$as_save_IFS
8384 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8386 esac
8388 PRELINK=$ac_cv_path_PRELINK
8389 if test -n "$PRELINK"; then
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8391 $as_echo "$PRELINK" >&6; }
8392 else
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8394 $as_echo "no" >&6; }
8398 if test "x$PRELINK" = xfalse
8399 then
8400 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8403 esac
8405 else
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8407 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8408 if ${ac_cv_c_dll_unixware+:} false; then :
8409 $as_echo_n "(cached) " >&6
8410 else
8411 ac_wine_try_cflags_saved=$CFLAGS
8412 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8414 /* end confdefs.h. */
8415 void myfunc() {}
8416 _ACEOF
8417 if ac_fn_c_try_link "$LINENO"; then :
8418 ac_cv_c_dll_unixware="yes"
8419 else
8420 ac_cv_c_dll_unixware="no"
8422 rm -f core conftest.err conftest.$ac_objext \
8423 conftest$ac_exeext conftest.$ac_ext
8424 CFLAGS=$ac_wine_try_cflags_saved
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8427 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8428 if test "$ac_cv_c_dll_unixware" = "yes"
8429 then
8430 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8433 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8434 LIBWINE_RULES="
8435 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8437 all: libwine.so
8439 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8440 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8442 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8443 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8445 libwine.so: libwine.so.$libwine_soversion
8446 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8448 install install-lib:: libwine.so.$libwine_version
8449 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8450 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8452 install install-dev::
8453 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8455 uninstall::
8456 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8460 as_fn_append LOADER_RULES "
8461 $wine_binary: main.o
8462 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8464 wine-installed: main.o
8465 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8468 esac
8470 as_fn_append LIBWINE_RULES "
8471 EXTRA_TARGETS = $libwine_targets
8474 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8475 enable_winemac_drv=${enable_winemac_drv:-no}
8477 CROSSTARGET=""
8479 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8480 then
8481 case "$host_cpu" in
8482 i[3456789]86*)
8483 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
8484 mingw32-gcc" ;;
8485 x86_64)
8486 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 " ;;
8488 ac_prefix_list="" ;;
8489 esac
8490 for ac_prog in $ac_prefix_list
8492 # Extract the first word of "$ac_prog", so it can be a program name with args.
8493 set dummy $ac_prog; ac_word=$2
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8495 $as_echo_n "checking for $ac_word... " >&6; }
8496 if ${ac_cv_prog_CROSSCC+:} false; then :
8497 $as_echo_n "(cached) " >&6
8498 else
8499 if test -n "$CROSSCC"; then
8500 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8501 else
8502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8503 for as_dir in $PATH
8505 IFS=$as_save_IFS
8506 test -z "$as_dir" && as_dir=.
8507 for ac_exec_ext in '' $ac_executable_extensions; do
8508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8509 ac_cv_prog_CROSSCC="$ac_prog"
8510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8511 break 2
8513 done
8514 done
8515 IFS=$as_save_IFS
8519 CROSSCC=$ac_cv_prog_CROSSCC
8520 if test -n "$CROSSCC"; then
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8522 $as_echo "$CROSSCC" >&6; }
8523 else
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8525 $as_echo "no" >&6; }
8529 test -n "$CROSSCC" && break
8530 done
8531 test -n "$CROSSCC" || CROSSCC="false"
8533 if test "$CROSSCC" != "false"
8534 then
8535 ac_save_CC="$CC"
8536 CC="$CROSSCC"
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8538 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8540 /* end confdefs.h. */
8543 main ()
8547 return 0;
8549 _ACEOF
8550 if ac_fn_c_try_compile "$LINENO"; then :
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8552 $as_echo "yes" >&6; }
8553 set x $CROSSCC
8554 shift
8555 while test $# -ge 1
8557 case "$1" in
8558 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8559 esac
8560 shift
8561 done
8562 else
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8564 $as_echo "no" >&6; }
8566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8567 CC="$ac_save_CC"
8572 if test "$ac_cv_header_pthread_h" = "yes"
8573 then
8574 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8575 if test "x$ac_cv_func_pthread_create" = xyes; then :
8577 else
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8579 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8580 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8581 $as_echo_n "(cached) " >&6
8582 else
8583 ac_check_lib_save_LIBS=$LIBS
8584 LIBS="-lpthread $LIBS"
8585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8586 /* end confdefs.h. */
8588 /* Override any GCC internal prototype to avoid an error.
8589 Use char because int might match the return type of a GCC
8590 builtin and then its argument prototype would still apply. */
8591 #ifdef __cplusplus
8592 extern "C"
8593 #endif
8594 char pthread_create ();
8596 main ()
8598 return pthread_create ();
8600 return 0;
8602 _ACEOF
8603 if ac_fn_c_try_link "$LINENO"; then :
8604 ac_cv_lib_pthread_pthread_create=yes
8605 else
8606 ac_cv_lib_pthread_pthread_create=no
8608 rm -f core conftest.err conftest.$ac_objext \
8609 conftest$ac_exeext conftest.$ac_ext
8610 LIBS=$ac_check_lib_save_LIBS
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8613 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8614 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8615 PTHREAD_LIBS="-lpthread"
8622 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8623 case "x$with_pthread" in
8624 xno) ;;
8625 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8626 Wine cannot support threads without libpthread.
8627 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8628 esac
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8633 $as_echo_n "checking for X... " >&6; }
8636 # Check whether --with-x was given.
8637 if test "${with_x+set}" = set; then :
8638 withval=$with_x;
8641 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8642 if test "x$with_x" = xno; then
8643 # The user explicitly disabled X.
8644 have_x=disabled
8645 else
8646 case $x_includes,$x_libraries in #(
8647 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8648 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8649 $as_echo_n "(cached) " >&6
8650 else
8651 # One or both of the vars are not set, and there is no cached value.
8652 ac_x_includes=no ac_x_libraries=no
8653 rm -f -r conftest.dir
8654 if mkdir conftest.dir; then
8655 cd conftest.dir
8656 cat >Imakefile <<'_ACEOF'
8657 incroot:
8658 @echo incroot='${INCROOT}'
8659 usrlibdir:
8660 @echo usrlibdir='${USRLIBDIR}'
8661 libdir:
8662 @echo libdir='${LIBDIR}'
8663 _ACEOF
8664 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8665 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8666 for ac_var in incroot usrlibdir libdir; do
8667 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8668 done
8669 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8670 for ac_extension in a so sl dylib la dll; do
8671 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8672 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8673 ac_im_usrlibdir=$ac_im_libdir; break
8675 done
8676 # Screen out bogus values from the imake configuration. They are
8677 # bogus both because they are the default anyway, and because
8678 # using them would break gcc on systems where it needs fixed includes.
8679 case $ac_im_incroot in
8680 /usr/include) ac_x_includes= ;;
8681 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8682 esac
8683 case $ac_im_usrlibdir in
8684 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8685 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8686 esac
8688 cd ..
8689 rm -f -r conftest.dir
8692 # Standard set of common directories for X headers.
8693 # Check X11 before X11Rn because it is often a symlink to the current release.
8694 ac_x_header_dirs='
8695 /usr/X11/include
8696 /usr/X11R7/include
8697 /usr/X11R6/include
8698 /usr/X11R5/include
8699 /usr/X11R4/include
8701 /usr/include/X11
8702 /usr/include/X11R7
8703 /usr/include/X11R6
8704 /usr/include/X11R5
8705 /usr/include/X11R4
8707 /usr/local/X11/include
8708 /usr/local/X11R7/include
8709 /usr/local/X11R6/include
8710 /usr/local/X11R5/include
8711 /usr/local/X11R4/include
8713 /usr/local/include/X11
8714 /usr/local/include/X11R7
8715 /usr/local/include/X11R6
8716 /usr/local/include/X11R5
8717 /usr/local/include/X11R4
8719 /usr/X386/include
8720 /usr/x386/include
8721 /usr/XFree86/include/X11
8723 /usr/include
8724 /usr/local/include
8725 /usr/unsupported/include
8726 /usr/athena/include
8727 /usr/local/x11r5/include
8728 /usr/lpp/Xamples/include
8730 /usr/openwin/include
8731 /usr/openwin/share/include'
8733 if test "$ac_x_includes" = no; then
8734 # Guess where to find include files, by looking for Xlib.h.
8735 # First, try using that file with no special directory specified.
8736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8737 /* end confdefs.h. */
8738 #include <X11/Xlib.h>
8739 _ACEOF
8740 if ac_fn_c_try_cpp "$LINENO"; then :
8741 # We can compile using X headers with no special include directory.
8742 ac_x_includes=
8743 else
8744 for ac_dir in $ac_x_header_dirs; do
8745 if test -r "$ac_dir/X11/Xlib.h"; then
8746 ac_x_includes=$ac_dir
8747 break
8749 done
8751 rm -f conftest.err conftest.i conftest.$ac_ext
8752 fi # $ac_x_includes = no
8754 if test "$ac_x_libraries" = no; then
8755 # Check for the libraries.
8756 # See if we find them without any special options.
8757 # Don't add to $LIBS permanently.
8758 ac_save_LIBS=$LIBS
8759 LIBS="-lX11 $LIBS"
8760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8761 /* end confdefs.h. */
8762 #include <X11/Xlib.h>
8764 main ()
8766 XrmInitialize ()
8768 return 0;
8770 _ACEOF
8771 if ac_fn_c_try_link "$LINENO"; then :
8772 LIBS=$ac_save_LIBS
8773 # We can link X programs with no special library path.
8774 ac_x_libraries=
8775 else
8776 LIBS=$ac_save_LIBS
8777 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8779 # Don't even attempt the hair of trying to link an X program!
8780 for ac_extension in a so sl dylib la dll; do
8781 if test -r "$ac_dir/libX11.$ac_extension"; then
8782 ac_x_libraries=$ac_dir
8783 break 2
8785 done
8786 done
8788 rm -f core conftest.err conftest.$ac_objext \
8789 conftest$ac_exeext conftest.$ac_ext
8790 fi # $ac_x_libraries = no
8792 case $ac_x_includes,$ac_x_libraries in #(
8793 no,* | *,no | *\'*)
8794 # Didn't find X, or a directory has "'" in its name.
8795 ac_cv_have_x="have_x=no";; #(
8797 # Record where we found X for the cache.
8798 ac_cv_have_x="have_x=yes\
8799 ac_x_includes='$ac_x_includes'\
8800 ac_x_libraries='$ac_x_libraries'"
8801 esac
8803 ;; #(
8804 *) have_x=yes;;
8805 esac
8806 eval "$ac_cv_have_x"
8807 fi # $with_x != no
8809 if test "$have_x" != yes; then
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8811 $as_echo "$have_x" >&6; }
8812 no_x=yes
8813 else
8814 # If each of the values was on the command line, it overrides each guess.
8815 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8816 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8817 # Update the cache value to reflect the command line values.
8818 ac_cv_have_x="have_x=yes\
8819 ac_x_includes='$x_includes'\
8820 ac_x_libraries='$x_libraries'"
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8822 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8825 if test "$no_x" = yes; then
8826 # Not all programs may use this symbol, but it does not hurt to define it.
8828 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8830 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8831 else
8832 if test -n "$x_includes"; then
8833 X_CFLAGS="$X_CFLAGS -I$x_includes"
8836 # It would also be nice to do this for all -L options, not just this one.
8837 if test -n "$x_libraries"; then
8838 X_LIBS="$X_LIBS -L$x_libraries"
8839 # For Solaris; some versions of Sun CC require a space after -R and
8840 # others require no space. Words are not sufficient . . . .
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8842 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8843 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8844 ac_xsave_c_werror_flag=$ac_c_werror_flag
8845 ac_c_werror_flag=yes
8846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8847 /* end confdefs.h. */
8850 main ()
8854 return 0;
8856 _ACEOF
8857 if ac_fn_c_try_link "$LINENO"; then :
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8859 $as_echo "no" >&6; }
8860 X_LIBS="$X_LIBS -R$x_libraries"
8861 else
8862 LIBS="$ac_xsave_LIBS -R $x_libraries"
8863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8864 /* end confdefs.h. */
8867 main ()
8871 return 0;
8873 _ACEOF
8874 if ac_fn_c_try_link "$LINENO"; then :
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8876 $as_echo "yes" >&6; }
8877 X_LIBS="$X_LIBS -R $x_libraries"
8878 else
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8880 $as_echo "neither works" >&6; }
8882 rm -f core conftest.err conftest.$ac_objext \
8883 conftest$ac_exeext conftest.$ac_ext
8885 rm -f core conftest.err conftest.$ac_objext \
8886 conftest$ac_exeext conftest.$ac_ext
8887 ac_c_werror_flag=$ac_xsave_c_werror_flag
8888 LIBS=$ac_xsave_LIBS
8891 # Check for system-dependent libraries X programs must link with.
8892 # Do this before checking for the system-independent R6 libraries
8893 # (-lICE), since we may need -lsocket or whatever for X linking.
8895 if test "$ISC" = yes; then
8896 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8897 else
8898 # Martyn Johnson says this is needed for Ultrix, if the X
8899 # libraries were built with DECnet support. And Karl Berry says
8900 # the Alpha needs dnet_stub (dnet does not exist).
8901 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8903 /* end confdefs.h. */
8905 /* Override any GCC internal prototype to avoid an error.
8906 Use char because int might match the return type of a GCC
8907 builtin and then its argument prototype would still apply. */
8908 #ifdef __cplusplus
8909 extern "C"
8910 #endif
8911 char XOpenDisplay ();
8913 main ()
8915 return XOpenDisplay ();
8917 return 0;
8919 _ACEOF
8920 if ac_fn_c_try_link "$LINENO"; then :
8922 else
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8924 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8925 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8926 $as_echo_n "(cached) " >&6
8927 else
8928 ac_check_lib_save_LIBS=$LIBS
8929 LIBS="-ldnet $LIBS"
8930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8931 /* end confdefs.h. */
8933 /* Override any GCC internal prototype to avoid an error.
8934 Use char because int might match the return type of a GCC
8935 builtin and then its argument prototype would still apply. */
8936 #ifdef __cplusplus
8937 extern "C"
8938 #endif
8939 char dnet_ntoa ();
8941 main ()
8943 return dnet_ntoa ();
8945 return 0;
8947 _ACEOF
8948 if ac_fn_c_try_link "$LINENO"; then :
8949 ac_cv_lib_dnet_dnet_ntoa=yes
8950 else
8951 ac_cv_lib_dnet_dnet_ntoa=no
8953 rm -f core conftest.err conftest.$ac_objext \
8954 conftest$ac_exeext conftest.$ac_ext
8955 LIBS=$ac_check_lib_save_LIBS
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8958 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8959 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8960 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8963 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8965 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8966 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8967 $as_echo_n "(cached) " >&6
8968 else
8969 ac_check_lib_save_LIBS=$LIBS
8970 LIBS="-ldnet_stub $LIBS"
8971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8972 /* end confdefs.h. */
8974 /* Override any GCC internal prototype to avoid an error.
8975 Use char because int might match the return type of a GCC
8976 builtin and then its argument prototype would still apply. */
8977 #ifdef __cplusplus
8978 extern "C"
8979 #endif
8980 char dnet_ntoa ();
8982 main ()
8984 return dnet_ntoa ();
8986 return 0;
8988 _ACEOF
8989 if ac_fn_c_try_link "$LINENO"; then :
8990 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8991 else
8992 ac_cv_lib_dnet_stub_dnet_ntoa=no
8994 rm -f core conftest.err conftest.$ac_objext \
8995 conftest$ac_exeext conftest.$ac_ext
8996 LIBS=$ac_check_lib_save_LIBS
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8999 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9000 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9001 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9006 rm -f core conftest.err conftest.$ac_objext \
9007 conftest$ac_exeext conftest.$ac_ext
9008 LIBS="$ac_xsave_LIBS"
9010 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9011 # to get the SysV transport functions.
9012 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9013 # needs -lnsl.
9014 # The nsl library prevents programs from opening the X display
9015 # on Irix 5.2, according to T.E. Dickey.
9016 # The functions gethostbyname, getservbyname, and inet_addr are
9017 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9018 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9019 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9023 if test $ac_cv_func_gethostbyname = no; then
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9025 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9026 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9027 $as_echo_n "(cached) " >&6
9028 else
9029 ac_check_lib_save_LIBS=$LIBS
9030 LIBS="-lnsl $LIBS"
9031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9032 /* end confdefs.h. */
9034 /* Override any GCC internal prototype to avoid an error.
9035 Use char because int might match the return type of a GCC
9036 builtin and then its argument prototype would still apply. */
9037 #ifdef __cplusplus
9038 extern "C"
9039 #endif
9040 char gethostbyname ();
9042 main ()
9044 return gethostbyname ();
9046 return 0;
9048 _ACEOF
9049 if ac_fn_c_try_link "$LINENO"; then :
9050 ac_cv_lib_nsl_gethostbyname=yes
9051 else
9052 ac_cv_lib_nsl_gethostbyname=no
9054 rm -f core conftest.err conftest.$ac_objext \
9055 conftest$ac_exeext conftest.$ac_ext
9056 LIBS=$ac_check_lib_save_LIBS
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9059 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9060 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9061 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9064 if test $ac_cv_lib_nsl_gethostbyname = no; then
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9066 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9067 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9068 $as_echo_n "(cached) " >&6
9069 else
9070 ac_check_lib_save_LIBS=$LIBS
9071 LIBS="-lbsd $LIBS"
9072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9073 /* end confdefs.h. */
9075 /* Override any GCC internal prototype to avoid an error.
9076 Use char because int might match the return type of a GCC
9077 builtin and then its argument prototype would still apply. */
9078 #ifdef __cplusplus
9079 extern "C"
9080 #endif
9081 char gethostbyname ();
9083 main ()
9085 return gethostbyname ();
9087 return 0;
9089 _ACEOF
9090 if ac_fn_c_try_link "$LINENO"; then :
9091 ac_cv_lib_bsd_gethostbyname=yes
9092 else
9093 ac_cv_lib_bsd_gethostbyname=no
9095 rm -f core conftest.err conftest.$ac_objext \
9096 conftest$ac_exeext conftest.$ac_ext
9097 LIBS=$ac_check_lib_save_LIBS
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9100 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9101 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9102 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9108 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9109 # socket/setsockopt and other routines are undefined under SCO ODT
9110 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9111 # on later versions), says Simon Leinen: it contains gethostby*
9112 # variants that don't use the name server (or something). -lsocket
9113 # must be given before -lnsl if both are needed. We assume that
9114 # if connect needs -lnsl, so does gethostbyname.
9115 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9116 if test "x$ac_cv_func_connect" = xyes; then :
9120 if test $ac_cv_func_connect = no; then
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9122 $as_echo_n "checking for connect in -lsocket... " >&6; }
9123 if ${ac_cv_lib_socket_connect+:} false; then :
9124 $as_echo_n "(cached) " >&6
9125 else
9126 ac_check_lib_save_LIBS=$LIBS
9127 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9129 /* end confdefs.h. */
9131 /* Override any GCC internal prototype to avoid an error.
9132 Use char because int might match the return type of a GCC
9133 builtin and then its argument prototype would still apply. */
9134 #ifdef __cplusplus
9135 extern "C"
9136 #endif
9137 char connect ();
9139 main ()
9141 return connect ();
9143 return 0;
9145 _ACEOF
9146 if ac_fn_c_try_link "$LINENO"; then :
9147 ac_cv_lib_socket_connect=yes
9148 else
9149 ac_cv_lib_socket_connect=no
9151 rm -f core conftest.err conftest.$ac_objext \
9152 conftest$ac_exeext conftest.$ac_ext
9153 LIBS=$ac_check_lib_save_LIBS
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9156 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9157 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9158 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9163 # Guillermo Gomez says -lposix is necessary on A/UX.
9164 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9165 if test "x$ac_cv_func_remove" = xyes; then :
9169 if test $ac_cv_func_remove = no; then
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9171 $as_echo_n "checking for remove in -lposix... " >&6; }
9172 if ${ac_cv_lib_posix_remove+:} false; then :
9173 $as_echo_n "(cached) " >&6
9174 else
9175 ac_check_lib_save_LIBS=$LIBS
9176 LIBS="-lposix $LIBS"
9177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9178 /* end confdefs.h. */
9180 /* Override any GCC internal prototype to avoid an error.
9181 Use char because int might match the return type of a GCC
9182 builtin and then its argument prototype would still apply. */
9183 #ifdef __cplusplus
9184 extern "C"
9185 #endif
9186 char remove ();
9188 main ()
9190 return remove ();
9192 return 0;
9194 _ACEOF
9195 if ac_fn_c_try_link "$LINENO"; then :
9196 ac_cv_lib_posix_remove=yes
9197 else
9198 ac_cv_lib_posix_remove=no
9200 rm -f core conftest.err conftest.$ac_objext \
9201 conftest$ac_exeext conftest.$ac_ext
9202 LIBS=$ac_check_lib_save_LIBS
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9205 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9206 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9207 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9212 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9213 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9214 if test "x$ac_cv_func_shmat" = xyes; then :
9218 if test $ac_cv_func_shmat = no; then
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9220 $as_echo_n "checking for shmat in -lipc... " >&6; }
9221 if ${ac_cv_lib_ipc_shmat+:} false; then :
9222 $as_echo_n "(cached) " >&6
9223 else
9224 ac_check_lib_save_LIBS=$LIBS
9225 LIBS="-lipc $LIBS"
9226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9227 /* end confdefs.h. */
9229 /* Override any GCC internal prototype to avoid an error.
9230 Use char because int might match the return type of a GCC
9231 builtin and then its argument prototype would still apply. */
9232 #ifdef __cplusplus
9233 extern "C"
9234 #endif
9235 char shmat ();
9237 main ()
9239 return shmat ();
9241 return 0;
9243 _ACEOF
9244 if ac_fn_c_try_link "$LINENO"; then :
9245 ac_cv_lib_ipc_shmat=yes
9246 else
9247 ac_cv_lib_ipc_shmat=no
9249 rm -f core conftest.err conftest.$ac_objext \
9250 conftest$ac_exeext conftest.$ac_ext
9251 LIBS=$ac_check_lib_save_LIBS
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9254 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9255 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9256 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9262 # Check for libraries that X11R6 Xt/Xaw programs need.
9263 ac_save_LDFLAGS=$LDFLAGS
9264 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9265 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9266 # check for ICE first), but we must link in the order -lSM -lICE or
9267 # we get undefined symbols. So assume we have SM if we have ICE.
9268 # These have to be linked with before -lX11, unlike the other
9269 # libraries we check for below, so use a different variable.
9270 # John Interrante, Karl Berry
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9272 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9273 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9274 $as_echo_n "(cached) " >&6
9275 else
9276 ac_check_lib_save_LIBS=$LIBS
9277 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9279 /* end confdefs.h. */
9281 /* Override any GCC internal prototype to avoid an error.
9282 Use char because int might match the return type of a GCC
9283 builtin and then its argument prototype would still apply. */
9284 #ifdef __cplusplus
9285 extern "C"
9286 #endif
9287 char IceConnectionNumber ();
9289 main ()
9291 return IceConnectionNumber ();
9293 return 0;
9295 _ACEOF
9296 if ac_fn_c_try_link "$LINENO"; then :
9297 ac_cv_lib_ICE_IceConnectionNumber=yes
9298 else
9299 ac_cv_lib_ICE_IceConnectionNumber=no
9301 rm -f core conftest.err conftest.$ac_objext \
9302 conftest$ac_exeext conftest.$ac_ext
9303 LIBS=$ac_check_lib_save_LIBS
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9306 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9307 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9308 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9311 LDFLAGS=$ac_save_LDFLAGS
9316 if test "$have_x" = "yes"
9317 then
9318 ac_save_CPPFLAGS="$CPPFLAGS"
9319 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9322 $as_echo_n "checking for -lX11... " >&6; }
9323 if ${ac_cv_lib_soname_X11+:} false; then :
9324 $as_echo_n "(cached) " >&6
9325 else
9326 ac_check_soname_save_LIBS=$LIBS
9327 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $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 XCreateWindow ();
9339 main ()
9341 return XCreateWindow ();
9343 return 0;
9345 _ACEOF
9346 if ac_fn_c_try_link "$LINENO"; then :
9347 case "$LIBEXT" in
9348 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9349 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'` ;;
9350 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9351 if ${ac_cv_lib_soname_X11:+false} :; then :
9352 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9353 fi ;;
9354 esac
9356 rm -f core conftest.err conftest.$ac_objext \
9357 conftest$ac_exeext conftest.$ac_ext
9358 LIBS=$ac_check_soname_save_LIBS
9360 if ${ac_cv_lib_soname_X11:+false} :; then :
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9362 $as_echo "not found" >&6; }
9364 else
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9366 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9368 cat >>confdefs.h <<_ACEOF
9369 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9370 _ACEOF
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9375 $as_echo_n "checking for -lXext... " >&6; }
9376 if ${ac_cv_lib_soname_Xext+:} false; then :
9377 $as_echo_n "(cached) " >&6
9378 else
9379 ac_check_soname_save_LIBS=$LIBS
9380 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9382 /* end confdefs.h. */
9384 /* Override any GCC internal prototype to avoid an error.
9385 Use char because int might match the return type of a GCC
9386 builtin and then its argument prototype would still apply. */
9387 #ifdef __cplusplus
9388 extern "C"
9389 #endif
9390 char XextCreateExtension ();
9392 main ()
9394 return XextCreateExtension ();
9396 return 0;
9398 _ACEOF
9399 if ac_fn_c_try_link "$LINENO"; then :
9400 case "$LIBEXT" in
9401 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9402 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'` ;;
9403 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9404 if ${ac_cv_lib_soname_Xext:+false} :; then :
9405 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9406 fi ;;
9407 esac
9409 rm -f core conftest.err conftest.$ac_objext \
9410 conftest$ac_exeext conftest.$ac_ext
9411 LIBS=$ac_check_soname_save_LIBS
9413 if ${ac_cv_lib_soname_Xext:+false} :; then :
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9415 $as_echo "not found" >&6; }
9417 else
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9419 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9421 cat >>confdefs.h <<_ACEOF
9422 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9423 _ACEOF
9425 X_LIBS="$X_LIBS -lXext"
9427 X_LIBS="$X_LIBS -lX11"
9429 for ac_header in X11/Xlib.h \
9430 X11/XKBlib.h \
9431 X11/Xutil.h \
9432 X11/Xcursor/Xcursor.h \
9433 X11/extensions/shape.h \
9434 X11/extensions/XInput.h \
9435 X11/extensions/XInput2.h \
9436 X11/extensions/XShm.h \
9437 X11/extensions/Xcomposite.h \
9438 X11/extensions/Xinerama.h \
9439 X11/extensions/Xrandr.h \
9440 X11/extensions/Xrender.h \
9441 X11/extensions/xf86vmode.h \
9442 X11/extensions/xf86vmproto.h
9443 do :
9444 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9445 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9446 # include <X11/Xlib.h>
9447 #endif
9448 #ifdef HAVE_X11_XUTIL_H
9449 # include <X11/Xutil.h>
9450 #endif
9452 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9453 cat >>confdefs.h <<_ACEOF
9454 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9455 _ACEOF
9459 done
9462 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9463 then
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9465 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9466 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9467 $as_echo_n "(cached) " >&6
9468 else
9469 ac_check_lib_save_LIBS=$LIBS
9470 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9472 /* end confdefs.h. */
9474 /* Override any GCC internal prototype to avoid an error.
9475 Use char because int might match the return type of a GCC
9476 builtin and then its argument prototype would still apply. */
9477 #ifdef __cplusplus
9478 extern "C"
9479 #endif
9480 char XkbQueryExtension ();
9482 main ()
9484 return XkbQueryExtension ();
9486 return 0;
9488 _ACEOF
9489 if ac_fn_c_try_link "$LINENO"; then :
9490 ac_cv_lib_X11_XkbQueryExtension=yes
9491 else
9492 ac_cv_lib_X11_XkbQueryExtension=no
9494 rm -f core conftest.err conftest.$ac_objext \
9495 conftest$ac_exeext conftest.$ac_ext
9496 LIBS=$ac_check_lib_save_LIBS
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9499 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9500 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9502 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9508 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9509 then
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9511 $as_echo_n "checking for -lXcursor... " >&6; }
9512 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9513 $as_echo_n "(cached) " >&6
9514 else
9515 ac_check_soname_save_LIBS=$LIBS
9516 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9518 /* end confdefs.h. */
9520 /* Override any GCC internal prototype to avoid an error.
9521 Use char because int might match the return type of a GCC
9522 builtin and then its argument prototype would still apply. */
9523 #ifdef __cplusplus
9524 extern "C"
9525 #endif
9526 char XcursorImageLoadCursor ();
9528 main ()
9530 return XcursorImageLoadCursor ();
9532 return 0;
9534 _ACEOF
9535 if ac_fn_c_try_link "$LINENO"; then :
9536 case "$LIBEXT" in
9537 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9538 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'` ;;
9539 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9540 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9541 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9542 fi ;;
9543 esac
9545 rm -f core conftest.err conftest.$ac_objext \
9546 conftest$ac_exeext conftest.$ac_ext
9547 LIBS=$ac_check_soname_save_LIBS
9549 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9551 $as_echo "not found" >&6; }
9553 else
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9555 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9557 cat >>confdefs.h <<_ACEOF
9558 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9559 _ACEOF
9564 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9565 case "x$with_xcursor" in
9566 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9567 xno) ;;
9568 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9569 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9570 esac
9573 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9574 then
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9576 $as_echo_n "checking for -lXi... " >&6; }
9577 if ${ac_cv_lib_soname_Xi+:} false; then :
9578 $as_echo_n "(cached) " >&6
9579 else
9580 ac_check_soname_save_LIBS=$LIBS
9581 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9583 /* end confdefs.h. */
9585 /* Override any GCC internal prototype to avoid an error.
9586 Use char because int might match the return type of a GCC
9587 builtin and then its argument prototype would still apply. */
9588 #ifdef __cplusplus
9589 extern "C"
9590 #endif
9591 char XOpenDevice ();
9593 main ()
9595 return XOpenDevice ();
9597 return 0;
9599 _ACEOF
9600 if ac_fn_c_try_link "$LINENO"; then :
9601 case "$LIBEXT" in
9602 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9603 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'` ;;
9604 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9605 if ${ac_cv_lib_soname_Xi:+false} :; then :
9606 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9607 fi ;;
9608 esac
9610 rm -f core conftest.err conftest.$ac_objext \
9611 conftest$ac_exeext conftest.$ac_ext
9612 LIBS=$ac_check_soname_save_LIBS
9614 if ${ac_cv_lib_soname_Xi:+false} :; then :
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9616 $as_echo "not found" >&6; }
9618 else
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9620 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9622 cat >>confdefs.h <<_ACEOF
9623 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9624 _ACEOF
9629 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9630 case "x$with_xinput" in
9631 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9632 xno) ;;
9633 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9634 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9635 esac
9638 if test "x$ac_cv_lib_soname_Xi" != x
9639 then
9640 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9641 case "x$with_xinput2" in
9642 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9643 xno) ;;
9644 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9645 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9646 esac
9650 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9651 then
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9653 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9654 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9655 $as_echo_n "(cached) " >&6
9656 else
9657 ac_check_lib_save_LIBS=$LIBS
9658 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9660 /* end confdefs.h. */
9662 /* Override any GCC internal prototype to avoid an error.
9663 Use char because int might match the return type of a GCC
9664 builtin and then its argument prototype would still apply. */
9665 #ifdef __cplusplus
9666 extern "C"
9667 #endif
9668 char XShmQueryExtension ();
9670 main ()
9672 return XShmQueryExtension ();
9674 return 0;
9676 _ACEOF
9677 if ac_fn_c_try_link "$LINENO"; then :
9678 ac_cv_lib_Xext_XShmQueryExtension=yes
9679 else
9680 ac_cv_lib_Xext_XShmQueryExtension=no
9682 rm -f core conftest.err conftest.$ac_objext \
9683 conftest$ac_exeext conftest.$ac_ext
9684 LIBS=$ac_check_lib_save_LIBS
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9687 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9688 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9690 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9695 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9696 case "x$with_xshm" in
9697 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9698 xno) ;;
9699 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9700 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9701 esac
9704 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9705 then
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9707 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9708 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9709 $as_echo_n "(cached) " >&6
9710 else
9711 ac_check_lib_save_LIBS=$LIBS
9712 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9714 /* end confdefs.h. */
9716 /* Override any GCC internal prototype to avoid an error.
9717 Use char because int might match the return type of a GCC
9718 builtin and then its argument prototype would still apply. */
9719 #ifdef __cplusplus
9720 extern "C"
9721 #endif
9722 char XShapeQueryExtension ();
9724 main ()
9726 return XShapeQueryExtension ();
9728 return 0;
9730 _ACEOF
9731 if ac_fn_c_try_link "$LINENO"; then :
9732 ac_cv_lib_Xext_XShapeQueryExtension=yes
9733 else
9734 ac_cv_lib_Xext_XShapeQueryExtension=no
9736 rm -f core conftest.err conftest.$ac_objext \
9737 conftest$ac_exeext conftest.$ac_ext
9738 LIBS=$ac_check_lib_save_LIBS
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9741 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9742 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9744 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9749 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9750 case "x$with_xshape" in
9751 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9752 xno) ;;
9753 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9754 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9755 esac
9758 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9759 then
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9761 $as_echo_n "checking for -lXxf86vm... " >&6; }
9762 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9763 $as_echo_n "(cached) " >&6
9764 else
9765 ac_check_soname_save_LIBS=$LIBS
9766 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9768 /* end confdefs.h. */
9770 /* Override any GCC internal prototype to avoid an error.
9771 Use char because int might match the return type of a GCC
9772 builtin and then its argument prototype would still apply. */
9773 #ifdef __cplusplus
9774 extern "C"
9775 #endif
9776 char XF86VidModeQueryExtension ();
9778 main ()
9780 return XF86VidModeQueryExtension ();
9782 return 0;
9784 _ACEOF
9785 if ac_fn_c_try_link "$LINENO"; then :
9786 case "$LIBEXT" in
9787 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9788 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'` ;;
9789 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9790 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9791 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9792 fi ;;
9793 esac
9795 rm -f core conftest.err conftest.$ac_objext \
9796 conftest$ac_exeext conftest.$ac_ext
9797 LIBS=$ac_check_soname_save_LIBS
9799 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9801 $as_echo "not found" >&6; }
9803 else
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9805 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9807 cat >>confdefs.h <<_ACEOF
9808 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9809 _ACEOF
9814 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9815 case "x$with_xxf86vm" in
9816 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9817 xno) ;;
9818 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9819 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9820 esac
9823 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9824 then
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9826 $as_echo_n "checking for -lXrender... " >&6; }
9827 if ${ac_cv_lib_soname_Xrender+:} false; then :
9828 $as_echo_n "(cached) " >&6
9829 else
9830 ac_check_soname_save_LIBS=$LIBS
9831 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9833 /* end confdefs.h. */
9835 /* Override any GCC internal prototype to avoid an error.
9836 Use char because int might match the return type of a GCC
9837 builtin and then its argument prototype would still apply. */
9838 #ifdef __cplusplus
9839 extern "C"
9840 #endif
9841 char XRenderQueryExtension ();
9843 main ()
9845 return XRenderQueryExtension ();
9847 return 0;
9849 _ACEOF
9850 if ac_fn_c_try_link "$LINENO"; then :
9851 case "$LIBEXT" in
9852 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9853 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'` ;;
9854 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9855 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9856 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9857 fi ;;
9858 esac
9860 rm -f core conftest.err conftest.$ac_objext \
9861 conftest$ac_exeext conftest.$ac_ext
9862 LIBS=$ac_check_soname_save_LIBS
9864 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9866 $as_echo "not found" >&6; }
9868 else
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9870 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9872 cat >>confdefs.h <<_ACEOF
9873 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9874 _ACEOF
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9877 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9878 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9879 $as_echo_n "(cached) " >&6
9880 else
9881 ac_check_lib_save_LIBS=$LIBS
9882 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9884 /* end confdefs.h. */
9886 /* Override any GCC internal prototype to avoid an error.
9887 Use char because int might match the return type of a GCC
9888 builtin and then its argument prototype would still apply. */
9889 #ifdef __cplusplus
9890 extern "C"
9891 #endif
9892 char XRenderSetPictureTransform ();
9894 main ()
9896 return XRenderSetPictureTransform ();
9898 return 0;
9900 _ACEOF
9901 if ac_fn_c_try_link "$LINENO"; then :
9902 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9903 else
9904 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9906 rm -f core conftest.err conftest.$ac_objext \
9907 conftest$ac_exeext conftest.$ac_ext
9908 LIBS=$ac_check_lib_save_LIBS
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9911 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9912 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9914 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9919 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9920 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9921 $as_echo_n "(cached) " >&6
9922 else
9923 ac_check_lib_save_LIBS=$LIBS
9924 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9926 /* end confdefs.h. */
9928 /* Override any GCC internal prototype to avoid an error.
9929 Use char because int might match the return type of a GCC
9930 builtin and then its argument prototype would still apply. */
9931 #ifdef __cplusplus
9932 extern "C"
9933 #endif
9934 char XRenderCreateLinearGradient ();
9936 main ()
9938 return XRenderCreateLinearGradient ();
9940 return 0;
9942 _ACEOF
9943 if ac_fn_c_try_link "$LINENO"; then :
9944 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9945 else
9946 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9948 rm -f core conftest.err conftest.$ac_objext \
9949 conftest$ac_exeext conftest.$ac_ext
9950 LIBS=$ac_check_lib_save_LIBS
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9953 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9954 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9956 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9963 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9964 case "x$with_xrender" in
9965 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9966 xno) ;;
9967 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9968 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9969 esac
9972 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9973 then
9974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9975 /* end confdefs.h. */
9976 #include <X11/Xlib.h>
9977 #include <X11/extensions/Xrandr.h>
9979 main ()
9981 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9983 return 0;
9985 _ACEOF
9986 if ac_fn_c_try_compile "$LINENO"; then :
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9988 $as_echo_n "checking for -lXrandr... " >&6; }
9989 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9990 $as_echo_n "(cached) " >&6
9991 else
9992 ac_check_soname_save_LIBS=$LIBS
9993 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9995 /* end confdefs.h. */
9997 /* Override any GCC internal prototype to avoid an error.
9998 Use char because int might match the return type of a GCC
9999 builtin and then its argument prototype would still apply. */
10000 #ifdef __cplusplus
10001 extern "C"
10002 #endif
10003 char XRRQueryExtension ();
10005 main ()
10007 return XRRQueryExtension ();
10009 return 0;
10011 _ACEOF
10012 if ac_fn_c_try_link "$LINENO"; then :
10013 case "$LIBEXT" in
10014 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10015 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'` ;;
10016 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10017 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10018 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10019 fi ;;
10020 esac
10022 rm -f core conftest.err conftest.$ac_objext \
10023 conftest$ac_exeext conftest.$ac_ext
10024 LIBS=$ac_check_soname_save_LIBS
10026 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10028 $as_echo "not found" >&6; }
10030 else
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10032 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10034 cat >>confdefs.h <<_ACEOF
10035 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10036 _ACEOF
10038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10039 /* end confdefs.h. */
10040 #include <X11/Xlib.h>
10041 #include <X11/extensions/Xrandr.h>
10043 main ()
10045 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10047 return 0;
10049 _ACEOF
10050 if ac_fn_c_try_compile "$LINENO"; then :
10052 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10060 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10061 case "x$with_xrandr" in
10062 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10063 xno) ;;
10064 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10065 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10066 esac
10069 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10070 then
10071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10072 /* end confdefs.h. */
10073 #include <X11/Xlib.h>
10074 #include <X11/extensions/Xinerama.h>
10076 main ()
10078 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10080 return 0;
10082 _ACEOF
10083 if ac_fn_c_try_compile "$LINENO"; then :
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10085 $as_echo_n "checking for -lXinerama... " >&6; }
10086 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10087 $as_echo_n "(cached) " >&6
10088 else
10089 ac_check_soname_save_LIBS=$LIBS
10090 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10092 /* end confdefs.h. */
10094 /* Override any GCC internal prototype to avoid an error.
10095 Use char because int might match the return type of a GCC
10096 builtin and then its argument prototype would still apply. */
10097 #ifdef __cplusplus
10098 extern "C"
10099 #endif
10100 char XineramaQueryScreens ();
10102 main ()
10104 return XineramaQueryScreens ();
10106 return 0;
10108 _ACEOF
10109 if ac_fn_c_try_link "$LINENO"; then :
10110 case "$LIBEXT" in
10111 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10112 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'` ;;
10113 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10114 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10115 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10116 fi ;;
10117 esac
10119 rm -f core conftest.err conftest.$ac_objext \
10120 conftest$ac_exeext conftest.$ac_ext
10121 LIBS=$ac_check_soname_save_LIBS
10123 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10125 $as_echo "not found" >&6; }
10127 else
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10129 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10131 cat >>confdefs.h <<_ACEOF
10132 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10133 _ACEOF
10138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10140 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10141 case "x$with_xinerama" in
10142 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10143 xno) ;;
10144 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10145 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10146 esac
10149 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10150 then
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10152 $as_echo_n "checking for -lXcomposite... " >&6; }
10153 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10154 $as_echo_n "(cached) " >&6
10155 else
10156 ac_check_soname_save_LIBS=$LIBS
10157 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10159 /* end confdefs.h. */
10161 /* Override any GCC internal prototype to avoid an error.
10162 Use char because int might match the return type of a GCC
10163 builtin and then its argument prototype would still apply. */
10164 #ifdef __cplusplus
10165 extern "C"
10166 #endif
10167 char XCompositeRedirectWindow ();
10169 main ()
10171 return XCompositeRedirectWindow ();
10173 return 0;
10175 _ACEOF
10176 if ac_fn_c_try_link "$LINENO"; then :
10177 case "$LIBEXT" in
10178 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10179 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'` ;;
10180 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10181 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10182 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10183 fi ;;
10184 esac
10186 rm -f core conftest.err conftest.$ac_objext \
10187 conftest$ac_exeext conftest.$ac_ext
10188 LIBS=$ac_check_soname_save_LIBS
10190 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10192 $as_echo "not found" >&6; }
10194 else
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10196 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10198 cat >>confdefs.h <<_ACEOF
10199 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10200 _ACEOF
10205 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10206 case "x$with_xcomposite" in
10207 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10208 xno) ;;
10209 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10210 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10211 esac
10214 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10215 #include <X11/Xlib.h>
10216 #endif
10218 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10220 cat >>confdefs.h <<_ACEOF
10221 #define HAVE_XICCALLBACK_CALLBACK 1
10222 _ACEOF
10226 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10227 #include <X11/Xlib.h>
10228 #endif
10230 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10232 cat >>confdefs.h <<_ACEOF
10233 #define HAVE_XEVENT_XCOOKIE 1
10234 _ACEOF
10241 opengl_msg=""
10242 if test "x$with_opengl" != "xno"
10243 then
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10245 $as_echo_n "checking for -lGL... " >&6; }
10246 if ${ac_cv_lib_soname_GL+:} false; then :
10247 $as_echo_n "(cached) " >&6
10248 else
10249 ac_check_soname_save_LIBS=$LIBS
10250 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10252 /* end confdefs.h. */
10254 /* Override any GCC internal prototype to avoid an error.
10255 Use char because int might match the return type of a GCC
10256 builtin and then its argument prototype would still apply. */
10257 #ifdef __cplusplus
10258 extern "C"
10259 #endif
10260 char glXCreateContext ();
10262 main ()
10264 return glXCreateContext ();
10266 return 0;
10268 _ACEOF
10269 if ac_fn_c_try_link "$LINENO"; then :
10270 case "$LIBEXT" in
10271 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10272 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'` ;;
10273 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10274 if ${ac_cv_lib_soname_GL:+false} :; then :
10275 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10276 fi ;;
10277 esac
10279 rm -f core conftest.err conftest.$ac_objext \
10280 conftest$ac_exeext conftest.$ac_ext
10281 LIBS=$ac_check_soname_save_LIBS
10283 if ${ac_cv_lib_soname_GL:+false} :; then :
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10285 $as_echo "not found" >&6; }
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10287 $as_echo_n "checking for -lGL... " >&6; }
10288 if ${ac_cv_lib_soname_GL+:} false; then :
10289 $as_echo_n "(cached) " >&6
10290 else
10291 ac_check_soname_save_LIBS=$LIBS
10292 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"
10293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10294 /* end confdefs.h. */
10296 /* Override any GCC internal prototype to avoid an error.
10297 Use char because int might match the return type of a GCC
10298 builtin and then its argument prototype would still apply. */
10299 #ifdef __cplusplus
10300 extern "C"
10301 #endif
10302 char glXCreateContext ();
10304 main ()
10306 return glXCreateContext ();
10308 return 0;
10310 _ACEOF
10311 if ac_fn_c_try_link "$LINENO"; then :
10312 case "$LIBEXT" in
10313 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10314 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'` ;;
10315 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10316 if ${ac_cv_lib_soname_GL:+false} :; then :
10317 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10318 fi ;;
10319 esac
10321 rm -f core conftest.err conftest.$ac_objext \
10322 conftest$ac_exeext conftest.$ac_ext
10323 LIBS=$ac_check_soname_save_LIBS
10325 if ${ac_cv_lib_soname_GL:+false} :; then :
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10327 $as_echo "not found" >&6; }
10328 if test -f /usr/X11R6/lib/libGL.a
10329 then
10330 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10331 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10332 else
10333 opengl_msg="No OpenGL library found on this system."
10335 else
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10337 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10339 cat >>confdefs.h <<_ACEOF
10340 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10341 _ACEOF
10343 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"
10345 else
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10347 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10349 cat >>confdefs.h <<_ACEOF
10350 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10351 _ACEOF
10353 OPENGL_LIBS="-lGL"
10355 if test "x$with_glu" != "xno"
10356 then
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10358 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10359 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10360 $as_echo_n "(cached) " >&6
10361 else
10362 ac_check_lib_save_LIBS=$LIBS
10363 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10365 /* end confdefs.h. */
10367 /* Override any GCC internal prototype to avoid an error.
10368 Use char because int might match the return type of a GCC
10369 builtin and then its argument prototype would still apply. */
10370 #ifdef __cplusplus
10371 extern "C"
10372 #endif
10373 char gluLookAt ();
10375 main ()
10377 return gluLookAt ();
10379 return 0;
10381 _ACEOF
10382 if ac_fn_c_try_link "$LINENO"; then :
10383 ac_cv_lib_GLU_gluLookAt=yes
10384 else
10385 ac_cv_lib_GLU_gluLookAt=no
10387 rm -f core conftest.err conftest.$ac_objext \
10388 conftest$ac_exeext conftest.$ac_ext
10389 LIBS=$ac_check_lib_save_LIBS
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10392 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10393 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10397 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10398 case "x$with_glu" in
10399 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10400 xno) ;;
10401 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10402 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10403 esac
10407 if test "x$with_osmesa" != "xno"
10408 then
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10410 $as_echo_n "checking for -lOSMesa... " >&6; }
10411 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10412 $as_echo_n "(cached) " >&6
10413 else
10414 ac_check_soname_save_LIBS=$LIBS
10415 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10417 /* end confdefs.h. */
10419 /* Override any GCC internal prototype to avoid an error.
10420 Use char because int might match the return type of a GCC
10421 builtin and then its argument prototype would still apply. */
10422 #ifdef __cplusplus
10423 extern "C"
10424 #endif
10425 char glAccum ();
10427 main ()
10429 return glAccum ();
10431 return 0;
10433 _ACEOF
10434 if ac_fn_c_try_link "$LINENO"; then :
10435 case "$LIBEXT" in
10436 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10437 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'` ;;
10438 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10439 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10440 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10441 fi ;;
10442 esac
10444 rm -f core conftest.err conftest.$ac_objext \
10445 conftest$ac_exeext conftest.$ac_ext
10446 LIBS=$ac_check_soname_save_LIBS
10448 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10450 $as_echo "not found" >&6; }
10452 else
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10454 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10456 cat >>confdefs.h <<_ACEOF
10457 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10458 _ACEOF
10462 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10463 case "x$with_osmesa" in
10464 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10465 xno) ;;
10466 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10467 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10468 esac
10472 if test -n "$opengl_msg"; then :
10473 case "x$with_opengl" in
10474 x) as_fn_append wine_warnings "|$opengl_msg
10475 OpenGL and Direct3D won't be supported." ;;
10476 xno) ;;
10477 *) as_fn_error $? "$opengl_msg
10478 OpenGL and Direct3D won't be supported.
10479 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10480 esac
10483 CPPFLAGS="$ac_save_CPPFLAGS"
10484 else
10485 X_CFLAGS=""
10486 X_LIBS=""
10487 enable_winex11_drv=${enable_winex11_drv:-no}
10489 if test "x$X_LIBS" = "x"; then :
10490 case "x$with_x" in
10491 xno) ;;
10492 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10493 without X support, which probably isn't what you want. You will need
10494 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10495 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10496 esac
10499 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10501 if test "$ac_cv_header_CL_cl_h" = "yes"
10502 then
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10504 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10505 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10506 $as_echo_n "(cached) " >&6
10507 else
10508 ac_check_lib_save_LIBS=$LIBS
10509 LIBS="-lOpenCL $LIBS"
10510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10511 /* end confdefs.h. */
10513 /* Override any GCC internal prototype to avoid an error.
10514 Use char because int might match the return type of a GCC
10515 builtin and then its argument prototype would still apply. */
10516 #ifdef __cplusplus
10517 extern "C"
10518 #endif
10519 char clGetPlatformInfo ();
10521 main ()
10523 return clGetPlatformInfo ();
10525 return 0;
10527 _ACEOF
10528 if ac_fn_c_try_link "$LINENO"; then :
10529 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10530 else
10531 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10533 rm -f core conftest.err conftest.$ac_objext \
10534 conftest$ac_exeext conftest.$ac_ext
10535 LIBS=$ac_check_lib_save_LIBS
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10538 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10539 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10540 OPENCL_LIBS="-lOpenCL"
10545 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10546 case "x$with_opencl" in
10547 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10548 xno) ;;
10549 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10550 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10551 esac
10553 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10555 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10556 then
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10558 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10559 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10560 $as_echo_n "(cached) " >&6
10561 else
10562 ac_check_lib_save_LIBS=$LIBS
10563 LIBS="-lpcap $LIBS"
10564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10565 /* end confdefs.h. */
10567 /* Override any GCC internal prototype to avoid an error.
10568 Use char because int might match the return type of a GCC
10569 builtin and then its argument prototype would still apply. */
10570 #ifdef __cplusplus
10571 extern "C"
10572 #endif
10573 char pcap_create ();
10575 main ()
10577 return pcap_create ();
10579 return 0;
10581 _ACEOF
10582 if ac_fn_c_try_link "$LINENO"; then :
10583 ac_cv_lib_pcap_pcap_create=yes
10584 else
10585 ac_cv_lib_pcap_pcap_create=no
10587 rm -f core conftest.err conftest.$ac_objext \
10588 conftest$ac_exeext conftest.$ac_ext
10589 LIBS=$ac_check_lib_save_LIBS
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10592 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10593 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10594 LIBPCAP="-lpcap"
10599 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10600 case "x$with_pcap" in
10601 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10602 xno) ;;
10603 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10604 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10605 esac
10607 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10610 if test "x$with_xml" != "xno"
10611 then
10612 if ${XML2_CFLAGS:+false} :; then :
10613 if ${PKG_CONFIG+:} false; then :
10614 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10617 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10618 if ${XML2_LIBS:+false} :; then :
10619 if ${PKG_CONFIG+:} false; then :
10620 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10623 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10624 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10625 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10626 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10627 ac_save_CPPFLAGS=$CPPFLAGS
10628 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10629 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10630 do :
10631 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10632 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10633 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10634 cat >>confdefs.h <<_ACEOF
10635 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10636 _ACEOF
10640 done
10642 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"
10643 then
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10645 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10646 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10647 $as_echo_n "(cached) " >&6
10648 else
10649 ac_check_lib_save_LIBS=$LIBS
10650 LIBS="-lxml2 $XML2_LIBS $LIBS"
10651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10652 /* end confdefs.h. */
10654 /* Override any GCC internal prototype to avoid an error.
10655 Use char because int might match the return type of a GCC
10656 builtin and then its argument prototype would still apply. */
10657 #ifdef __cplusplus
10658 extern "C"
10659 #endif
10660 char xmlParseMemory ();
10662 main ()
10664 return xmlParseMemory ();
10666 return 0;
10668 _ACEOF
10669 if ac_fn_c_try_link "$LINENO"; then :
10670 ac_cv_lib_xml2_xmlParseMemory=yes
10671 else
10672 ac_cv_lib_xml2_xmlParseMemory=no
10674 rm -f core conftest.err conftest.$ac_objext \
10675 conftest$ac_exeext conftest.$ac_ext
10676 LIBS=$ac_check_lib_save_LIBS
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10679 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10680 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10682 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10684 else
10685 XML2_LIBS=""
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10689 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10690 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10691 $as_echo_n "(cached) " >&6
10692 else
10693 ac_check_lib_save_LIBS=$LIBS
10694 LIBS="-lxml2 $XML2_LIBS $LIBS"
10695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10696 /* end confdefs.h. */
10698 /* Override any GCC internal prototype to avoid an error.
10699 Use char because int might match the return type of a GCC
10700 builtin and then its argument prototype would still apply. */
10701 #ifdef __cplusplus
10702 extern "C"
10703 #endif
10704 char xmlReadMemory ();
10706 main ()
10708 return xmlReadMemory ();
10710 return 0;
10712 _ACEOF
10713 if ac_fn_c_try_link "$LINENO"; then :
10714 ac_cv_lib_xml2_xmlReadMemory=yes
10715 else
10716 ac_cv_lib_xml2_xmlReadMemory=no
10718 rm -f core conftest.err conftest.$ac_objext \
10719 conftest$ac_exeext conftest.$ac_ext
10720 LIBS=$ac_check_lib_save_LIBS
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10723 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10724 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10726 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10731 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10732 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10733 $as_echo_n "(cached) " >&6
10734 else
10735 ac_check_lib_save_LIBS=$LIBS
10736 LIBS="-lxml2 $XML2_LIBS $LIBS"
10737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10738 /* end confdefs.h. */
10740 /* Override any GCC internal prototype to avoid an error.
10741 Use char because int might match the return type of a GCC
10742 builtin and then its argument prototype would still apply. */
10743 #ifdef __cplusplus
10744 extern "C"
10745 #endif
10746 char xmlNewDocPI ();
10748 main ()
10750 return xmlNewDocPI ();
10752 return 0;
10754 _ACEOF
10755 if ac_fn_c_try_link "$LINENO"; then :
10756 ac_cv_lib_xml2_xmlNewDocPI=yes
10757 else
10758 ac_cv_lib_xml2_xmlNewDocPI=no
10760 rm -f core conftest.err conftest.$ac_objext \
10761 conftest$ac_exeext conftest.$ac_ext
10762 LIBS=$ac_check_lib_save_LIBS
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10765 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10766 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10768 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10773 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10774 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10775 $as_echo_n "(cached) " >&6
10776 else
10777 ac_check_lib_save_LIBS=$LIBS
10778 LIBS="-lxml2 $XML2_LIBS $LIBS"
10779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10780 /* end confdefs.h. */
10782 /* Override any GCC internal prototype to avoid an error.
10783 Use char because int might match the return type of a GCC
10784 builtin and then its argument prototype would still apply. */
10785 #ifdef __cplusplus
10786 extern "C"
10787 #endif
10788 char xmlSchemaSetParserStructuredErrors ();
10790 main ()
10792 return xmlSchemaSetParserStructuredErrors ();
10794 return 0;
10796 _ACEOF
10797 if ac_fn_c_try_link "$LINENO"; then :
10798 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10799 else
10800 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10802 rm -f core conftest.err conftest.$ac_objext \
10803 conftest$ac_exeext conftest.$ac_ext
10804 LIBS=$ac_check_lib_save_LIBS
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10807 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10808 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10810 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10815 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10816 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10817 $as_echo_n "(cached) " >&6
10818 else
10819 ac_check_lib_save_LIBS=$LIBS
10820 LIBS="-lxml2 $XML2_LIBS $LIBS"
10821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10822 /* end confdefs.h. */
10824 /* Override any GCC internal prototype to avoid an error.
10825 Use char because int might match the return type of a GCC
10826 builtin and then its argument prototype would still apply. */
10827 #ifdef __cplusplus
10828 extern "C"
10829 #endif
10830 char xmlSchemaSetValidStructuredErrors ();
10832 main ()
10834 return xmlSchemaSetValidStructuredErrors ();
10836 return 0;
10838 _ACEOF
10839 if ac_fn_c_try_link "$LINENO"; then :
10840 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10841 else
10842 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10844 rm -f core conftest.err conftest.$ac_objext \
10845 conftest$ac_exeext conftest.$ac_ext
10846 LIBS=$ac_check_lib_save_LIBS
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10849 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10850 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10852 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10857 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10858 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10859 $as_echo_n "(cached) " >&6
10860 else
10861 ac_check_lib_save_LIBS=$LIBS
10862 LIBS="-lxml2 $XML2_LIBS $LIBS"
10863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10864 /* end confdefs.h. */
10866 /* Override any GCC internal prototype to avoid an error.
10867 Use char because int might match the return type of a GCC
10868 builtin and then its argument prototype would still apply. */
10869 #ifdef __cplusplus
10870 extern "C"
10871 #endif
10872 char xmlFirstElementChild ();
10874 main ()
10876 return xmlFirstElementChild ();
10878 return 0;
10880 _ACEOF
10881 if ac_fn_c_try_link "$LINENO"; then :
10882 ac_cv_lib_xml2_xmlFirstElementChild=yes
10883 else
10884 ac_cv_lib_xml2_xmlFirstElementChild=no
10886 rm -f core conftest.err conftest.$ac_objext \
10887 conftest$ac_exeext conftest.$ac_ext
10888 LIBS=$ac_check_lib_save_LIBS
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10891 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10892 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10894 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10898 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10900 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10902 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10906 else
10907 XML2_CFLAGS=""
10908 XML2_LIBS=""
10910 CPPFLAGS=$ac_save_CPPFLAGS
10911 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10912 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10915 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10916 case "x$with_xml" in
10917 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10918 xno) ;;
10919 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10920 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10921 esac
10924 if test "x$with_xslt" != "xno"
10925 then
10926 if ${XSLT_CFLAGS:+false} :; then :
10927 if ${PKG_CONFIG+:} false; then :
10928 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10931 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10932 if ${XSLT_LIBS:+false} :; then :
10933 if ${PKG_CONFIG+:} false; then :
10934 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10937 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10938 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10939 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10940 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10941 ac_save_CPPFLAGS=$CPPFLAGS
10942 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10943 for ac_header in libxslt/pattern.h libxslt/transform.h
10944 do :
10945 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10946 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10947 # include <libxslt/pattern.h>
10948 #endif
10950 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10951 cat >>confdefs.h <<_ACEOF
10952 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10953 _ACEOF
10957 done
10959 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10960 then
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10962 $as_echo_n "checking for -lxslt... " >&6; }
10963 if ${ac_cv_lib_soname_xslt+:} false; then :
10964 $as_echo_n "(cached) " >&6
10965 else
10966 ac_check_soname_save_LIBS=$LIBS
10967 LIBS="-lxslt $XSLT_LIBS $LIBS"
10968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10969 /* end confdefs.h. */
10971 /* Override any GCC internal prototype to avoid an error.
10972 Use char because int might match the return type of a GCC
10973 builtin and then its argument prototype would still apply. */
10974 #ifdef __cplusplus
10975 extern "C"
10976 #endif
10977 char xsltCompilePattern ();
10979 main ()
10981 return xsltCompilePattern ();
10983 return 0;
10985 _ACEOF
10986 if ac_fn_c_try_link "$LINENO"; then :
10987 case "$LIBEXT" in
10988 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10989 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'` ;;
10990 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10991 if ${ac_cv_lib_soname_xslt:+false} :; then :
10992 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10993 fi ;;
10994 esac
10996 rm -f core conftest.err conftest.$ac_objext \
10997 conftest$ac_exeext conftest.$ac_ext
10998 LIBS=$ac_check_soname_save_LIBS
11000 if ${ac_cv_lib_soname_xslt:+false} :; then :
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11002 $as_echo "not found" >&6; }
11004 else
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11006 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11008 cat >>confdefs.h <<_ACEOF
11009 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11010 _ACEOF
11014 else
11015 XSLT_CFLAGS=""
11017 CPPFLAGS=$ac_save_CPPFLAGS
11018 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11019 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11022 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11023 case "x$with_xslt" in
11024 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11025 xno) ;;
11026 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11027 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11028 esac
11031 if test "x$with_dbus" != "xno"
11032 then
11033 if ${DBUS_CFLAGS:+false} :; then :
11034 if ${PKG_CONFIG+:} false; then :
11035 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11039 if ${DBUS_LIBS:+false} :; then :
11040 if ${PKG_CONFIG+:} false; then :
11041 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11046 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11047 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11048 ac_save_CPPFLAGS=$CPPFLAGS
11049 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11050 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11051 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11053 $as_echo_n "checking for -ldbus-1... " >&6; }
11054 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11055 $as_echo_n "(cached) " >&6
11056 else
11057 ac_check_soname_save_LIBS=$LIBS
11058 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11060 /* end confdefs.h. */
11062 /* Override any GCC internal prototype to avoid an error.
11063 Use char because int might match the return type of a GCC
11064 builtin and then its argument prototype would still apply. */
11065 #ifdef __cplusplus
11066 extern "C"
11067 #endif
11068 char dbus_connection_close ();
11070 main ()
11072 return dbus_connection_close ();
11074 return 0;
11076 _ACEOF
11077 if ac_fn_c_try_link "$LINENO"; then :
11078 case "$LIBEXT" in
11079 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11080 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'` ;;
11081 *) 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'`
11082 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11083 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11084 fi ;;
11085 esac
11087 rm -f core conftest.err conftest.$ac_objext \
11088 conftest$ac_exeext conftest.$ac_ext
11089 LIBS=$ac_check_soname_save_LIBS
11091 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11093 $as_echo "not found" >&6; }
11094 DBUS_CFLAGS=""
11095 else
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11097 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11099 cat >>confdefs.h <<_ACEOF
11100 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11101 _ACEOF
11105 else
11106 DBUS_CFLAGS=""
11110 CPPFLAGS=$ac_save_CPPFLAGS
11111 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11112 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11115 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11116 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11117 case "x$with_dbus" in
11118 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11119 xno) ;;
11120 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11121 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11122 esac
11125 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11126 then
11127 if ${HAL_CFLAGS:+false} :; then :
11128 if ${PKG_CONFIG+:} false; then :
11129 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11133 if ${HAL_LIBS:+false} :; then :
11134 if ${PKG_CONFIG+:} false; then :
11135 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11139 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11140 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11141 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11142 ac_save_CPPFLAGS=$CPPFLAGS
11143 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11144 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11145 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11147 $as_echo_n "checking for -lhal... " >&6; }
11148 if ${ac_cv_lib_soname_hal+:} false; then :
11149 $as_echo_n "(cached) " >&6
11150 else
11151 ac_check_soname_save_LIBS=$LIBS
11152 LIBS="-lhal $HAL_LIBS $LIBS"
11153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11154 /* end confdefs.h. */
11156 /* Override any GCC internal prototype to avoid an error.
11157 Use char because int might match the return type of a GCC
11158 builtin and then its argument prototype would still apply. */
11159 #ifdef __cplusplus
11160 extern "C"
11161 #endif
11162 char libhal_ctx_new ();
11164 main ()
11166 return libhal_ctx_new ();
11168 return 0;
11170 _ACEOF
11171 if ac_fn_c_try_link "$LINENO"; then :
11172 case "$LIBEXT" in
11173 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11174 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'` ;;
11175 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11176 if ${ac_cv_lib_soname_hal:+false} :; then :
11177 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11178 fi ;;
11179 esac
11181 rm -f core conftest.err conftest.$ac_objext \
11182 conftest$ac_exeext conftest.$ac_ext
11183 LIBS=$ac_check_soname_save_LIBS
11185 if ${ac_cv_lib_soname_hal:+false} :; then :
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11187 $as_echo "not found" >&6; }
11188 HAL_CFLAGS=""
11189 else
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11191 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11193 cat >>confdefs.h <<_ACEOF
11194 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11195 _ACEOF
11199 else
11200 HAL_CFLAGS=""
11204 CPPFLAGS=$ac_save_CPPFLAGS
11205 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11206 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11208 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11209 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11210 case "x$with_hal" in
11211 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11212 xno) ;;
11213 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11214 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11215 esac
11219 if test "x$with_gnutls" != "xno"
11220 then
11221 if ${GNUTLS_CFLAGS:+false} :; then :
11222 if ${PKG_CONFIG+:} false; then :
11223 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11227 if ${GNUTLS_LIBS:+false} :; then :
11228 if ${PKG_CONFIG+:} false; then :
11229 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11234 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11235 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11236 ac_save_CPPFLAGS=$CPPFLAGS
11237 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11238 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11239 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11241 /* end confdefs.h. */
11242 #include <gnutls/gnutls.h>
11243 #include <gnutls/crypto.h>
11245 main ()
11247 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11249 return 0;
11251 _ACEOF
11252 if ac_fn_c_try_compile "$LINENO"; then :
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11254 $as_echo_n "checking for -lgnutls... " >&6; }
11255 if ${ac_cv_lib_soname_gnutls+:} false; then :
11256 $as_echo_n "(cached) " >&6
11257 else
11258 ac_check_soname_save_LIBS=$LIBS
11259 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11261 /* end confdefs.h. */
11263 /* Override any GCC internal prototype to avoid an error.
11264 Use char because int might match the return type of a GCC
11265 builtin and then its argument prototype would still apply. */
11266 #ifdef __cplusplus
11267 extern "C"
11268 #endif
11269 char gnutls_global_init ();
11271 main ()
11273 return gnutls_global_init ();
11275 return 0;
11277 _ACEOF
11278 if ac_fn_c_try_link "$LINENO"; then :
11279 case "$LIBEXT" in
11280 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11281 dylib) ac_cv_lib_soname_gnutls=`otool -L conftest$ac_exeext | grep "libgnutls\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11282 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11283 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11284 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11285 fi ;;
11286 esac
11288 rm -f core conftest.err conftest.$ac_objext \
11289 conftest$ac_exeext conftest.$ac_ext
11290 LIBS=$ac_check_soname_save_LIBS
11292 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11294 $as_echo "not found" >&6; }
11295 GNUTLS_CFLAGS=""
11296 else
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11298 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11300 cat >>confdefs.h <<_ACEOF
11301 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11302 _ACEOF
11307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11308 else
11309 GNUTLS_CFLAGS=""
11313 CPPFLAGS=$ac_save_CPPFLAGS
11314 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11315 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11318 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11319 case "x$with_gnutls" in
11320 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11321 xno) ;;
11322 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11323 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11324 esac
11327 CURSES_LIBS=""
11328 if test "$ac_cv_header_ncurses_h" = "yes"
11329 then
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11331 $as_echo_n "checking for -lncurses... " >&6; }
11332 if ${ac_cv_lib_soname_ncurses+:} false; then :
11333 $as_echo_n "(cached) " >&6
11334 else
11335 ac_check_soname_save_LIBS=$LIBS
11336 LIBS="-lncurses $LIBS"
11337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11338 /* end confdefs.h. */
11340 /* Override any GCC internal prototype to avoid an error.
11341 Use char because int might match the return type of a GCC
11342 builtin and then its argument prototype would still apply. */
11343 #ifdef __cplusplus
11344 extern "C"
11345 #endif
11346 char waddch ();
11348 main ()
11350 return waddch ();
11352 return 0;
11354 _ACEOF
11355 if ac_fn_c_try_link "$LINENO"; then :
11356 case "$LIBEXT" in
11357 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11358 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'` ;;
11359 *) 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'`
11360 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11361 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11362 fi ;;
11363 esac
11365 rm -f core conftest.err conftest.$ac_objext \
11366 conftest$ac_exeext conftest.$ac_ext
11367 LIBS=$ac_check_soname_save_LIBS
11369 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11371 $as_echo "not found" >&6; }
11373 else
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11375 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11377 cat >>confdefs.h <<_ACEOF
11378 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11379 _ACEOF
11381 CURSES_LIBS="-lncurses"
11383 elif test "$ac_cv_header_curses_h" = "yes"
11384 then
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11386 $as_echo_n "checking for -lcurses... " >&6; }
11387 if ${ac_cv_lib_soname_curses+:} false; then :
11388 $as_echo_n "(cached) " >&6
11389 else
11390 ac_check_soname_save_LIBS=$LIBS
11391 LIBS="-lcurses $LIBS"
11392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11393 /* end confdefs.h. */
11395 /* Override any GCC internal prototype to avoid an error.
11396 Use char because int might match the return type of a GCC
11397 builtin and then its argument prototype would still apply. */
11398 #ifdef __cplusplus
11399 extern "C"
11400 #endif
11401 char waddch ();
11403 main ()
11405 return waddch ();
11407 return 0;
11409 _ACEOF
11410 if ac_fn_c_try_link "$LINENO"; then :
11411 case "$LIBEXT" in
11412 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11413 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'` ;;
11414 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11415 if ${ac_cv_lib_soname_curses:+false} :; then :
11416 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11417 fi ;;
11418 esac
11420 rm -f core conftest.err conftest.$ac_objext \
11421 conftest$ac_exeext conftest.$ac_ext
11422 LIBS=$ac_check_soname_save_LIBS
11424 if ${ac_cv_lib_soname_curses:+false} :; then :
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11426 $as_echo "not found" >&6; }
11428 else
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11430 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11432 cat >>confdefs.h <<_ACEOF
11433 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11434 _ACEOF
11436 CURSES_LIBS="-lcurses"
11439 ac_save_LIBS="$LIBS"
11440 LIBS="$LIBS $CURSES_LIBS"
11441 for ac_func in mousemask
11442 do :
11443 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11444 if test "x$ac_cv_func_mousemask" = xyes; then :
11445 cat >>confdefs.h <<_ACEOF
11446 #define HAVE_MOUSEMASK 1
11447 _ACEOF
11450 done
11452 LIBS="$ac_save_LIBS"
11453 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11454 case "x$with_curses" in
11455 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11456 xno) ;;
11457 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11458 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11459 esac
11462 if test "x$with_sane" != "xno"
11463 then
11464 if ${SANE_CFLAGS:+false} :; then :
11465 if ${PKG_CONFIG+:} false; then :
11466 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11469 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11470 if ${SANE_LIBS:+false} :; then :
11471 if ${PKG_CONFIG+:} false; then :
11472 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11475 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11477 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11478 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11479 ac_save_CPPFLAGS=$CPPFLAGS
11480 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11481 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11482 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11484 $as_echo_n "checking for -lsane... " >&6; }
11485 if ${ac_cv_lib_soname_sane+:} false; then :
11486 $as_echo_n "(cached) " >&6
11487 else
11488 ac_check_soname_save_LIBS=$LIBS
11489 LIBS="-lsane $SANE_LIBS $LIBS"
11490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11491 /* end confdefs.h. */
11493 /* Override any GCC internal prototype to avoid an error.
11494 Use char because int might match the return type of a GCC
11495 builtin and then its argument prototype would still apply. */
11496 #ifdef __cplusplus
11497 extern "C"
11498 #endif
11499 char sane_init ();
11501 main ()
11503 return sane_init ();
11505 return 0;
11507 _ACEOF
11508 if ac_fn_c_try_link "$LINENO"; then :
11509 case "$LIBEXT" in
11510 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11511 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'` ;;
11512 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11513 if ${ac_cv_lib_soname_sane:+false} :; then :
11514 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11515 fi ;;
11516 esac
11518 rm -f core conftest.err conftest.$ac_objext \
11519 conftest$ac_exeext conftest.$ac_ext
11520 LIBS=$ac_check_soname_save_LIBS
11522 if ${ac_cv_lib_soname_sane:+false} :; then :
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11524 $as_echo "not found" >&6; }
11525 SANE_CFLAGS=""
11526 else
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11528 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11530 cat >>confdefs.h <<_ACEOF
11531 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11532 _ACEOF
11536 else
11537 SANE_CFLAGS=""
11541 CPPFLAGS=$ac_save_CPPFLAGS
11542 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11543 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11546 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11547 case "x$with_sane" in
11548 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11549 xno) ;;
11550 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11551 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11552 esac
11555 if test "x$with_v4l" != "xno"
11556 then
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11558 $as_echo_n "checking for -lv4l1... " >&6; }
11559 if ${ac_cv_lib_soname_v4l1+:} false; then :
11560 $as_echo_n "(cached) " >&6
11561 else
11562 ac_check_soname_save_LIBS=$LIBS
11563 LIBS="-lv4l1 $LIBS"
11564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11565 /* end confdefs.h. */
11567 /* Override any GCC internal prototype to avoid an error.
11568 Use char because int might match the return type of a GCC
11569 builtin and then its argument prototype would still apply. */
11570 #ifdef __cplusplus
11571 extern "C"
11572 #endif
11573 char v4l1_open ();
11575 main ()
11577 return v4l1_open ();
11579 return 0;
11581 _ACEOF
11582 if ac_fn_c_try_link "$LINENO"; then :
11583 case "$LIBEXT" in
11584 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11585 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'` ;;
11586 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11587 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11588 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11589 fi ;;
11590 esac
11592 rm -f core conftest.err conftest.$ac_objext \
11593 conftest$ac_exeext conftest.$ac_ext
11594 LIBS=$ac_check_soname_save_LIBS
11596 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11598 $as_echo "not found" >&6; }
11600 else
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11602 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11604 cat >>confdefs.h <<_ACEOF
11605 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11606 _ACEOF
11611 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11612 case "x$with_v4l" in
11613 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11614 xno) ;;
11615 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11616 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11617 esac
11620 if test "x$with_gphoto" != "xno"
11621 then
11622 if ${GPHOTO2_CFLAGS:+false} :; then :
11623 if ${PKG_CONFIG+:} false; then :
11624 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11627 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11628 if ${GPHOTO2_LIBS:+false} :; then :
11629 if ${PKG_CONFIG+:} false; then :
11630 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11633 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11634 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11635 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11636 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11637 ac_save_CPPFLAGS=$CPPFLAGS
11638 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11639 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11640 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11642 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11643 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11644 $as_echo_n "(cached) " >&6
11645 else
11646 ac_check_lib_save_LIBS=$LIBS
11647 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11649 /* end confdefs.h. */
11651 /* Override any GCC internal prototype to avoid an error.
11652 Use char because int might match the return type of a GCC
11653 builtin and then its argument prototype would still apply. */
11654 #ifdef __cplusplus
11655 extern "C"
11656 #endif
11657 char gp_camera_new ();
11659 main ()
11661 return gp_camera_new ();
11663 return 0;
11665 _ACEOF
11666 if ac_fn_c_try_link "$LINENO"; then :
11667 ac_cv_lib_gphoto2_gp_camera_new=yes
11668 else
11669 ac_cv_lib_gphoto2_gp_camera_new=no
11671 rm -f core conftest.err conftest.$ac_objext \
11672 conftest$ac_exeext conftest.$ac_ext
11673 LIBS=$ac_check_lib_save_LIBS
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11676 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11677 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11679 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11681 else
11682 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11685 else
11686 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11690 CPPFLAGS=$ac_save_CPPFLAGS
11691 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11692 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11694 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11695 if ${PKG_CONFIG+:} false; then :
11696 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11699 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11700 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11701 if ${PKG_CONFIG+:} false; then :
11702 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11705 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11706 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11707 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11708 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11709 ac_save_CPPFLAGS=$CPPFLAGS
11710 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11711 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11712 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11714 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11715 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11716 $as_echo_n "(cached) " >&6
11717 else
11718 ac_check_lib_save_LIBS=$LIBS
11719 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11721 /* end confdefs.h. */
11723 /* Override any GCC internal prototype to avoid an error.
11724 Use char because int might match the return type of a GCC
11725 builtin and then its argument prototype would still apply. */
11726 #ifdef __cplusplus
11727 extern "C"
11728 #endif
11729 char gp_port_info_list_new ();
11731 main ()
11733 return gp_port_info_list_new ();
11735 return 0;
11737 _ACEOF
11738 if ac_fn_c_try_link "$LINENO"; then :
11739 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11740 else
11741 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11743 rm -f core conftest.err conftest.$ac_objext \
11744 conftest$ac_exeext conftest.$ac_ext
11745 LIBS=$ac_check_lib_save_LIBS
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11748 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11749 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11751 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11753 else
11754 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11757 else
11758 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11762 CPPFLAGS=$ac_save_CPPFLAGS
11763 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11764 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11767 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11768 case "x$with_gphoto" in
11769 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11770 xno) ;;
11771 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11772 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11773 esac
11775 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11776 case "x$with_gphoto" in
11777 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11778 xno) ;;
11779 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11780 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11781 esac
11785 if test "$ac_cv_header_resolv_h" = "yes"
11786 then
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11788 $as_echo_n "checking for resolver library... " >&6; }
11789 if ${ac_cv_have_resolv+:} false; then :
11790 $as_echo_n "(cached) " >&6
11791 else
11792 ac_save_LIBS="$LIBS"
11793 for lib in '' -lresolv
11795 LIBS="$lib $ac_save_LIBS"
11796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11797 /* end confdefs.h. */
11798 #ifdef HAVE_NETINET_IN_H
11799 #include <netinet/in.h>
11800 #endif
11801 #include <resolv.h>
11803 main ()
11805 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11807 return 0;
11809 _ACEOF
11810 if ac_fn_c_try_link "$LINENO"; then :
11811 ac_cv_have_resolv=${lib:-"none required"}
11812 else
11813 ac_cv_have_resolv="not found"
11815 rm -f core conftest.err conftest.$ac_objext \
11816 conftest$ac_exeext conftest.$ac_ext
11817 test "x$ac_cv_have_resolv" = "xnot found" || break
11818 done
11819 LIBS="$ac_save_LIBS"
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11822 $as_echo "$ac_cv_have_resolv" >&6; }
11824 case "$ac_cv_have_resolv" in
11825 "not found") ;;
11826 "none required")
11828 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11831 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11833 RESOLV_LIBS=$ac_cv_have_resolv
11835 esac
11838 if test "x$with_lcms2" != "xno"
11839 then
11840 if ${LCMS2_CFLAGS:+false} :; then :
11841 if ${PKG_CONFIG+:} false; then :
11842 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11846 if ${LCMS2_LIBS:+false} :; then :
11847 if ${PKG_CONFIG+:} false; then :
11848 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11852 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11853 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11854 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11855 ac_save_CPPFLAGS=$CPPFLAGS
11856 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11857 for ac_header in lcms2.h
11858 do :
11859 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11860 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11861 cat >>confdefs.h <<_ACEOF
11862 #define HAVE_LCMS2_H 1
11863 _ACEOF
11867 done
11869 if test "$ac_cv_header_lcms2_h" = "yes"
11870 then
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11872 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11873 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11874 $as_echo_n "(cached) " >&6
11875 else
11876 ac_check_lib_save_LIBS=$LIBS
11877 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11879 /* end confdefs.h. */
11881 /* Override any GCC internal prototype to avoid an error.
11882 Use char because int might match the return type of a GCC
11883 builtin and then its argument prototype would still apply. */
11884 #ifdef __cplusplus
11885 extern "C"
11886 #endif
11887 char cmsOpenProfileFromFile ();
11889 main ()
11891 return cmsOpenProfileFromFile ();
11893 return 0;
11895 _ACEOF
11896 if ac_fn_c_try_link "$LINENO"; then :
11897 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11898 else
11899 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11901 rm -f core conftest.err conftest.$ac_objext \
11902 conftest$ac_exeext conftest.$ac_ext
11903 LIBS=$ac_check_lib_save_LIBS
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11906 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11907 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11909 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11911 else
11912 LCMS2_LIBS=""
11915 else
11916 LCMS2_CFLAGS=""
11917 LCMS2_LIBS=""
11919 CPPFLAGS=$ac_save_CPPFLAGS
11920 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11921 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11924 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11925 case "x$with_cms" in
11926 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11927 xno) ;;
11928 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11929 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11930 esac
11933 if test "x$with_freetype" != "xno"
11934 then
11935 if ${FREETYPE_CFLAGS:+false} :; then :
11936 if ${PKG_CONFIG+:} false; then :
11937 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11940 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11941 if ${FREETYPE_LIBS:+false} :; then :
11942 if ${PKG_CONFIG+:} false; then :
11943 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11946 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11947 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11948 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11949 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11950 ac_save_CPPFLAGS=$CPPFLAGS
11951 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11952 for ac_header in ft2build.h
11953 do :
11954 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11955 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11956 cat >>confdefs.h <<_ACEOF
11957 #define HAVE_FT2BUILD_H 1
11958 _ACEOF
11962 done
11964 if test "$ac_cv_header_ft2build_h" = "yes"
11965 then
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11967 $as_echo_n "checking for -lfreetype... " >&6; }
11968 if ${ac_cv_lib_soname_freetype+:} false; then :
11969 $as_echo_n "(cached) " >&6
11970 else
11971 ac_check_soname_save_LIBS=$LIBS
11972 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11974 /* end confdefs.h. */
11976 /* Override any GCC internal prototype to avoid an error.
11977 Use char because int might match the return type of a GCC
11978 builtin and then its argument prototype would still apply. */
11979 #ifdef __cplusplus
11980 extern "C"
11981 #endif
11982 char FT_Init_FreeType ();
11984 main ()
11986 return FT_Init_FreeType ();
11988 return 0;
11990 _ACEOF
11991 if ac_fn_c_try_link "$LINENO"; then :
11992 case "$LIBEXT" in
11993 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11994 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'` ;;
11995 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11996 if ${ac_cv_lib_soname_freetype:+false} :; then :
11997 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11998 fi ;;
11999 esac
12001 rm -f core conftest.err conftest.$ac_objext \
12002 conftest$ac_exeext conftest.$ac_ext
12003 LIBS=$ac_check_soname_save_LIBS
12005 if ${ac_cv_lib_soname_freetype:+false} :; then :
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12007 $as_echo "not found" >&6; }
12008 FREETYPE_LIBS=""
12009 else
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12011 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12013 cat >>confdefs.h <<_ACEOF
12014 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12015 _ACEOF
12018 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12020 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12021 #include FT_MODULE_H
12023 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12025 cat >>confdefs.h <<_ACEOF
12026 #define HAVE_FT_TRUETYPEENGINETYPE 1
12027 _ACEOF
12033 else
12034 FREETYPE_CFLAGS=""
12035 FREETYPE_LIBS=""
12037 CPPFLAGS=$ac_save_CPPFLAGS
12038 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12039 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12042 if test "x$ac_cv_lib_soname_freetype" = x; then :
12043 case "x$with_freetype" in
12044 xno) ;;
12045 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12046 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12047 esac
12049 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12052 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12053 if ${ac_cv_c_ppdev+:} false; then :
12054 $as_echo_n "(cached) " >&6
12055 else
12056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12057 /* end confdefs.h. */
12058 #ifdef HAVE_SYS_IOCTL_H
12059 # include <sys/ioctl.h>
12060 #endif
12061 #include <linux/ppdev.h>
12063 main ()
12065 ioctl (1,PPCLAIM,0)
12067 return 0;
12069 _ACEOF
12070 if ac_fn_c_try_compile "$LINENO"; then :
12071 ac_cv_c_ppdev="yes"
12072 else
12073 ac_cv_c_ppdev="no"
12075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12078 $as_echo "$ac_cv_c_ppdev" >&6; }
12079 if test "$ac_cv_c_ppdev" = "yes"
12080 then
12082 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12086 ac_wine_check_funcs_save_LIBS="$LIBS"
12087 LIBS="$LIBS $PTHREAD_LIBS"
12088 for ac_func in \
12089 pthread_attr_get_np \
12090 pthread_getattr_np \
12091 pthread_getthreadid_np \
12092 pthread_get_stackaddr_np \
12093 pthread_get_stacksize_np
12094 do :
12095 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12096 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12097 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12098 cat >>confdefs.h <<_ACEOF
12099 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12100 _ACEOF
12103 done
12105 LIBS="$ac_wine_check_funcs_save_LIBS"
12107 if test "$ac_cv_header_zlib_h" = "yes"
12108 then
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12110 $as_echo_n "checking for inflate in -lz... " >&6; }
12111 if ${ac_cv_lib_z_inflate+:} false; then :
12112 $as_echo_n "(cached) " >&6
12113 else
12114 ac_check_lib_save_LIBS=$LIBS
12115 LIBS="-lz $LIBS"
12116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12117 /* end confdefs.h. */
12119 /* Override any GCC internal prototype to avoid an error.
12120 Use char because int might match the return type of a GCC
12121 builtin and then its argument prototype would still apply. */
12122 #ifdef __cplusplus
12123 extern "C"
12124 #endif
12125 char inflate ();
12127 main ()
12129 return inflate ();
12131 return 0;
12133 _ACEOF
12134 if ac_fn_c_try_link "$LINENO"; then :
12135 ac_cv_lib_z_inflate=yes
12136 else
12137 ac_cv_lib_z_inflate=no
12139 rm -f core conftest.err conftest.$ac_objext \
12140 conftest$ac_exeext conftest.$ac_ext
12141 LIBS=$ac_check_lib_save_LIBS
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12144 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12145 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12147 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12149 Z_LIBS="-lz"
12154 if test "x$Z_LIBS" = "x"; then :
12155 case "x$with_zlib" in
12156 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12157 xno) ;;
12158 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12159 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12160 esac
12163 if test "x$enable_tools" != xno
12164 then
12165 if test "$ac_cv_header_gettext_po_h" = "yes"
12166 then
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12168 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12169 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12170 $as_echo_n "(cached) " >&6
12171 else
12172 ac_check_lib_save_LIBS=$LIBS
12173 LIBS="-lgettextpo $LIBS"
12174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12175 /* end confdefs.h. */
12177 /* Override any GCC internal prototype to avoid an error.
12178 Use char because int might match the return type of a GCC
12179 builtin and then its argument prototype would still apply. */
12180 #ifdef __cplusplus
12181 extern "C"
12182 #endif
12183 char po_message_msgctxt ();
12185 main ()
12187 return po_message_msgctxt ();
12189 return 0;
12191 _ACEOF
12192 if ac_fn_c_try_link "$LINENO"; then :
12193 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12194 else
12195 ac_cv_lib_gettextpo_po_message_msgctxt=no
12197 rm -f core conftest.err conftest.$ac_objext \
12198 conftest$ac_exeext conftest.$ac_ext
12199 LIBS=$ac_check_lib_save_LIBS
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12202 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12203 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12205 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12207 GETTEXTPO_LIBS="-lgettextpo"
12212 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12213 case "x$with_gettextpo" in
12214 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12215 xno) ;;
12216 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12217 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12218 esac
12222 if test "x$with_gstreamer" != "xno"
12223 then
12224 if ${GSTREAMER_CFLAGS:+false} :; then :
12225 if ${PKG_CONFIG+:} false; then :
12226 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12230 if ${GSTREAMER_LIBS:+false} :; then :
12231 if ${PKG_CONFIG+:} false; then :
12232 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12237 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12238 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12239 ac_save_CPPFLAGS=$CPPFLAGS
12240 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12241 ac_gst_incl=""
12242 for i in $GSTREAMER_CFLAGS
12244 case "$i" in
12245 -I*) ac_gst_incl="$ac_gst_incl $i";;
12246 esac
12247 done
12248 GSTREAMER_CFLAGS=$ac_gst_incl
12249 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12250 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12251 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12252 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12253 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12255 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12257 /* end confdefs.h. */
12258 #include <gst/app/gstappsink.h>
12260 main ()
12262 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12264 return 0;
12266 _ACEOF
12267 if ac_fn_c_try_compile "$LINENO"; then :
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12269 $as_echo "yes" >&6; }
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12271 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12272 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12273 $as_echo_n "(cached) " >&6
12274 else
12275 ac_check_lib_save_LIBS=$LIBS
12276 LIBS="-lgstreamer-0.10 $LIBS"
12277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12278 /* end confdefs.h. */
12280 /* Override any GCC internal prototype to avoid an error.
12281 Use char because int might match the return type of a GCC
12282 builtin and then its argument prototype would still apply. */
12283 #ifdef __cplusplus
12284 extern "C"
12285 #endif
12286 char gst_pad_get_caps_reffed ();
12288 main ()
12290 return gst_pad_get_caps_reffed ();
12292 return 0;
12294 _ACEOF
12295 if ac_fn_c_try_link "$LINENO"; then :
12296 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12297 else
12298 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12300 rm -f core conftest.err conftest.$ac_objext \
12301 conftest$ac_exeext conftest.$ac_ext
12302 LIBS=$ac_check_lib_save_LIBS
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12305 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12306 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12308 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12309 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12310 $as_echo_n "(cached) " >&6
12311 else
12312 ac_check_lib_save_LIBS=$LIBS
12313 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12315 /* end confdefs.h. */
12317 /* Override any GCC internal prototype to avoid an error.
12318 Use char because int might match the return type of a GCC
12319 builtin and then its argument prototype would still apply. */
12320 #ifdef __cplusplus
12321 extern "C"
12322 #endif
12323 char gst_app_buffer_new ();
12325 main ()
12327 return gst_app_buffer_new ();
12329 return 0;
12331 _ACEOF
12332 if ac_fn_c_try_link "$LINENO"; then :
12333 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12334 else
12335 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12337 rm -f core conftest.err conftest.$ac_objext \
12338 conftest$ac_exeext conftest.$ac_ext
12339 LIBS=$ac_check_lib_save_LIBS
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12342 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12343 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12349 else
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12351 $as_echo "no" >&6; }
12353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12357 else
12358 GSTREAMER_CFLAGS=""
12362 CPPFLAGS=$ac_save_CPPFLAGS
12363 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12364 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12367 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12368 case "x$with_gstreamer" in
12369 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12370 xno) ;;
12371 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12372 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12373 esac
12375 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12377 ALSA_LIBS=""
12379 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12380 then
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12382 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12383 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12384 $as_echo_n "(cached) " >&6
12385 else
12386 ac_check_lib_save_LIBS=$LIBS
12387 LIBS="-lasound $LIBS"
12388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12389 /* end confdefs.h. */
12391 /* Override any GCC internal prototype to avoid an error.
12392 Use char because int might match the return type of a GCC
12393 builtin and then its argument prototype would still apply. */
12394 #ifdef __cplusplus
12395 extern "C"
12396 #endif
12397 char snd_pcm_hw_params_get_access_mask ();
12399 main ()
12401 return snd_pcm_hw_params_get_access_mask ();
12403 return 0;
12405 _ACEOF
12406 if ac_fn_c_try_link "$LINENO"; then :
12407 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12408 else
12409 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12411 rm -f core conftest.err conftest.$ac_objext \
12412 conftest$ac_exeext conftest.$ac_ext
12413 LIBS=$ac_check_lib_save_LIBS
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12416 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12417 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12419 /* end confdefs.h. */
12420 #ifdef HAVE_ALSA_ASOUNDLIB_H
12421 #include <alsa/asoundlib.h>
12422 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12423 #include <sys/asoundlib.h>
12424 #endif
12426 main ()
12428 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12430 return 0;
12432 _ACEOF
12433 if ac_fn_c_try_compile "$LINENO"; then :
12434 ALSA_LIBS="-lasound"
12436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12441 if test "x$with_oss" != xno
12442 then
12443 ac_save_CPPFLAGS="$CPPFLAGS"
12444 if test -f /etc/oss.conf
12445 then
12446 . /etc/oss.conf
12448 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12449 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12450 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12451 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12452 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12454 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12456 cat >>confdefs.h <<_ACEOF
12457 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12458 _ACEOF
12460 OSS4_CFLAGS="$ac_oss_incl"
12467 CPPFLAGS="$ac_save_CPPFLAGS"
12468 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12469 then
12470 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12474 if test "x$with_capi" != "xno"
12475 then
12476 if ${CAPI20_CFLAGS:+false} :; then :
12477 if ${PKG_CONFIG+:} false; then :
12478 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12482 if ${CAPI20_LIBS:+false} :; then :
12483 if ${PKG_CONFIG+:} false; then :
12484 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12489 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12490 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12491 ac_save_CPPFLAGS=$CPPFLAGS
12492 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12493 for ac_header in capi20.h linux/capi.h
12494 do :
12495 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12496 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12498 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12499 cat >>confdefs.h <<_ACEOF
12500 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12501 _ACEOF
12505 done
12507 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12508 then
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12510 $as_echo_n "checking for -lcapi20... " >&6; }
12511 if ${ac_cv_lib_soname_capi20+:} false; then :
12512 $as_echo_n "(cached) " >&6
12513 else
12514 ac_check_soname_save_LIBS=$LIBS
12515 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12517 /* end confdefs.h. */
12519 /* Override any GCC internal prototype to avoid an error.
12520 Use char because int might match the return type of a GCC
12521 builtin and then its argument prototype would still apply. */
12522 #ifdef __cplusplus
12523 extern "C"
12524 #endif
12525 char capi20_register ();
12527 main ()
12529 return capi20_register ();
12531 return 0;
12533 _ACEOF
12534 if ac_fn_c_try_link "$LINENO"; then :
12535 case "$LIBEXT" in
12536 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12537 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'` ;;
12538 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12539 if ${ac_cv_lib_soname_capi20:+false} :; then :
12540 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12541 fi ;;
12542 esac
12544 rm -f core conftest.err conftest.$ac_objext \
12545 conftest$ac_exeext conftest.$ac_ext
12546 LIBS=$ac_check_soname_save_LIBS
12548 if ${ac_cv_lib_soname_capi20:+false} :; then :
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12550 $as_echo "not found" >&6; }
12552 else
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12554 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12556 cat >>confdefs.h <<_ACEOF
12557 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12558 _ACEOF
12563 CPPFLAGS=$ac_save_CPPFLAGS
12564 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12565 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12568 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12569 case "x$with_capi" in
12570 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12571 xno) ;;
12572 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12573 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12574 esac
12577 CUPS_CFLAGS=""
12579 if test "x$with_cups" != "xno"
12580 then
12581 ac_save_CPPFLAGS="$CPPFLAGS"
12582 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12583 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12584 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12585 for ac_header in cups/cups.h
12586 do :
12587 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12588 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12589 cat >>confdefs.h <<_ACEOF
12590 #define HAVE_CUPS_CUPS_H 1
12591 _ACEOF
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12593 $as_echo_n "checking for -lcups... " >&6; }
12594 if ${ac_cv_lib_soname_cups+:} false; then :
12595 $as_echo_n "(cached) " >&6
12596 else
12597 ac_check_soname_save_LIBS=$LIBS
12598 LIBS="-lcups $ac_cups_libs $LIBS"
12599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12600 /* end confdefs.h. */
12602 /* Override any GCC internal prototype to avoid an error.
12603 Use char because int might match the return type of a GCC
12604 builtin and then its argument prototype would still apply. */
12605 #ifdef __cplusplus
12606 extern "C"
12607 #endif
12608 char cupsGetDefault ();
12610 main ()
12612 return cupsGetDefault ();
12614 return 0;
12616 _ACEOF
12617 if ac_fn_c_try_link "$LINENO"; then :
12618 case "$LIBEXT" in
12619 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12620 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'` ;;
12621 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12622 if ${ac_cv_lib_soname_cups:+false} :; then :
12623 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12624 fi ;;
12625 esac
12627 rm -f core conftest.err conftest.$ac_objext \
12628 conftest$ac_exeext conftest.$ac_ext
12629 LIBS=$ac_check_soname_save_LIBS
12631 if ${ac_cv_lib_soname_cups:+false} :; then :
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12633 $as_echo "not found" >&6; }
12635 else
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12637 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12639 cat >>confdefs.h <<_ACEOF
12640 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12641 _ACEOF
12643 CUPS_CFLAGS="$ac_cups_cflags"
12647 done
12649 CPPFLAGS="$ac_save_CPPFLAGS"
12651 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12652 case "x$with_cups" in
12653 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12654 xno) ;;
12655 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12656 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12657 esac
12660 if test "x$with_fontconfig" != "xno"
12661 then
12662 if ${FONTCONFIG_CFLAGS:+false} :; then :
12663 if ${PKG_CONFIG+:} false; then :
12664 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12667 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12668 if ${FONTCONFIG_LIBS:+false} :; then :
12669 if ${PKG_CONFIG+:} false; then :
12670 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12673 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12675 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12676 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12677 ac_save_CPPFLAGS=$CPPFLAGS
12678 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12679 for ac_header in fontconfig/fontconfig.h
12680 do :
12681 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12682 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12683 cat >>confdefs.h <<_ACEOF
12684 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12685 _ACEOF
12689 done
12691 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12692 then
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12694 $as_echo_n "checking for -lfontconfig... " >&6; }
12695 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12696 $as_echo_n "(cached) " >&6
12697 else
12698 ac_check_soname_save_LIBS=$LIBS
12699 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12701 /* end confdefs.h. */
12703 /* Override any GCC internal prototype to avoid an error.
12704 Use char because int might match the return type of a GCC
12705 builtin and then its argument prototype would still apply. */
12706 #ifdef __cplusplus
12707 extern "C"
12708 #endif
12709 char FcInit ();
12711 main ()
12713 return FcInit ();
12715 return 0;
12717 _ACEOF
12718 if ac_fn_c_try_link "$LINENO"; then :
12719 case "$LIBEXT" in
12720 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12721 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'` ;;
12722 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12723 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12724 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12725 fi ;;
12726 esac
12728 rm -f core conftest.err conftest.$ac_objext \
12729 conftest$ac_exeext conftest.$ac_ext
12730 LIBS=$ac_check_soname_save_LIBS
12732 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12734 $as_echo "not found" >&6; }
12735 FONTCONFIG_CFLAGS=""
12736 else
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12738 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12740 cat >>confdefs.h <<_ACEOF
12741 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12742 _ACEOF
12746 else
12747 FONTCONFIG_CFLAGS=""
12749 CPPFLAGS=$ac_save_CPPFLAGS
12750 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12751 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12754 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12755 case "x$with_fontconfig" in
12756 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12757 xno) ;;
12758 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12759 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12760 esac
12763 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12764 then
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12766 $as_echo_n "checking for -lgsm... " >&6; }
12767 if ${ac_cv_lib_soname_gsm+:} false; then :
12768 $as_echo_n "(cached) " >&6
12769 else
12770 ac_check_soname_save_LIBS=$LIBS
12771 LIBS="-lgsm $LIBS"
12772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12773 /* end confdefs.h. */
12775 /* Override any GCC internal prototype to avoid an error.
12776 Use char because int might match the return type of a GCC
12777 builtin and then its argument prototype would still apply. */
12778 #ifdef __cplusplus
12779 extern "C"
12780 #endif
12781 char gsm_create ();
12783 main ()
12785 return gsm_create ();
12787 return 0;
12789 _ACEOF
12790 if ac_fn_c_try_link "$LINENO"; then :
12791 case "$LIBEXT" in
12792 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12793 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'` ;;
12794 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12795 if ${ac_cv_lib_soname_gsm:+false} :; then :
12796 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12797 fi ;;
12798 esac
12800 rm -f core conftest.err conftest.$ac_objext \
12801 conftest$ac_exeext conftest.$ac_ext
12802 LIBS=$ac_check_soname_save_LIBS
12804 if ${ac_cv_lib_soname_gsm:+false} :; then :
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12806 $as_echo "not found" >&6; }
12808 else
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12810 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12812 cat >>confdefs.h <<_ACEOF
12813 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12814 _ACEOF
12819 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12820 case "x$with_gsm" in
12821 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12822 xno) ;;
12823 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12824 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12825 esac
12828 if test "x$with_jpeg" != "xno"
12829 then
12830 if ${JPEG_CFLAGS:+false} :; then :
12831 if ${PKG_CONFIG+:} false; then :
12832 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12836 if ${JPEG_LIBS:+false} :; then :
12837 if ${PKG_CONFIG+:} false; then :
12838 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12843 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12844 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12845 ac_save_CPPFLAGS=$CPPFLAGS
12846 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12847 for ac_header in jpeglib.h
12848 do :
12849 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12850 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12851 cat >>confdefs.h <<_ACEOF
12852 #define HAVE_JPEGLIB_H 1
12853 _ACEOF
12857 done
12859 if test "$ac_cv_header_jpeglib_h" = "yes"
12860 then
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12862 $as_echo_n "checking for -ljpeg... " >&6; }
12863 if ${ac_cv_lib_soname_jpeg+:} false; then :
12864 $as_echo_n "(cached) " >&6
12865 else
12866 ac_check_soname_save_LIBS=$LIBS
12867 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12869 /* end confdefs.h. */
12871 /* Override any GCC internal prototype to avoid an error.
12872 Use char because int might match the return type of a GCC
12873 builtin and then its argument prototype would still apply. */
12874 #ifdef __cplusplus
12875 extern "C"
12876 #endif
12877 char jpeg_start_decompress ();
12879 main ()
12881 return jpeg_start_decompress ();
12883 return 0;
12885 _ACEOF
12886 if ac_fn_c_try_link "$LINENO"; then :
12887 case "$LIBEXT" in
12888 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12889 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'` ;;
12890 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12891 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12892 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12893 fi ;;
12894 esac
12896 rm -f core conftest.err conftest.$ac_objext \
12897 conftest$ac_exeext conftest.$ac_ext
12898 LIBS=$ac_check_soname_save_LIBS
12900 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12902 $as_echo "not found" >&6; }
12903 JPEG_CFLAGS=""
12904 else
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12906 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12908 cat >>confdefs.h <<_ACEOF
12909 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12910 _ACEOF
12914 else
12915 JPEG_CFLAGS=""
12917 CPPFLAGS=$ac_save_CPPFLAGS
12918 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12919 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12922 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12923 case "x$with_jpeg" in
12924 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12925 xno) ;;
12926 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12927 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12928 esac
12931 if test "x$with_png" != "xno"
12932 then
12933 if ${PNG_CFLAGS:+false} :; then :
12934 if ${PKG_CONFIG+:} false; then :
12935 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12938 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12939 if ${PNG_LIBS:+false} :; then :
12940 if ${PKG_CONFIG+:} false; then :
12941 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12944 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12946 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12947 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12948 ac_save_CPPFLAGS=$CPPFLAGS
12949 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12950 for ac_header in png.h
12951 do :
12952 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12953 if test "x$ac_cv_header_png_h" = xyes; then :
12954 cat >>confdefs.h <<_ACEOF
12955 #define HAVE_PNG_H 1
12956 _ACEOF
12960 done
12962 if test "$ac_cv_header_png_h" = "yes"
12963 then
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12965 $as_echo_n "checking for -lpng... " >&6; }
12966 if ${ac_cv_lib_soname_png+:} false; then :
12967 $as_echo_n "(cached) " >&6
12968 else
12969 ac_check_soname_save_LIBS=$LIBS
12970 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12972 /* end confdefs.h. */
12974 /* Override any GCC internal prototype to avoid an error.
12975 Use char because int might match the return type of a GCC
12976 builtin and then its argument prototype would still apply. */
12977 #ifdef __cplusplus
12978 extern "C"
12979 #endif
12980 char png_create_read_struct ();
12982 main ()
12984 return png_create_read_struct ();
12986 return 0;
12988 _ACEOF
12989 if ac_fn_c_try_link "$LINENO"; then :
12990 case "$LIBEXT" in
12991 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12992 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'` ;;
12993 *) 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'`
12994 if ${ac_cv_lib_soname_png:+false} :; then :
12995 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12996 fi ;;
12997 esac
12999 rm -f core conftest.err conftest.$ac_objext \
13000 conftest$ac_exeext conftest.$ac_ext
13001 LIBS=$ac_check_soname_save_LIBS
13003 if ${ac_cv_lib_soname_png:+false} :; then :
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13005 $as_echo "not found" >&6; }
13006 PNG_CFLAGS=""
13007 else
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13009 $as_echo "$ac_cv_lib_soname_png" >&6; }
13011 cat >>confdefs.h <<_ACEOF
13012 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13013 _ACEOF
13015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13016 /* end confdefs.h. */
13017 #include <png.h>
13019 main ()
13021 typeof(png_set_expand_gray_1_2_4_to_8) *p
13023 return 0;
13025 _ACEOF
13026 if ac_fn_c_try_compile "$LINENO"; then :
13028 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13033 else
13034 PNG_CFLAGS=""
13036 CPPFLAGS=$ac_save_CPPFLAGS
13037 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13038 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13041 if test "x$ac_cv_lib_soname_png" = "x"; then :
13042 case "x$with_png" in
13043 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13044 xno) ;;
13045 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13046 This is an error since --with-png was requested." "$LINENO" 5 ;;
13047 esac
13050 if test "x$with_tiff" != "xno"
13051 then
13052 if ${TIFF_CFLAGS:+false} :; then :
13053 if ${PKG_CONFIG+:} false; then :
13054 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13058 if ${TIFF_LIBS:+false} :; then :
13059 if ${PKG_CONFIG+:} false; then :
13060 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13065 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13066 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13067 ac_save_CPPFLAGS=$CPPFLAGS
13068 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13069 for ac_header in tiffio.h
13070 do :
13071 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13072 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13073 cat >>confdefs.h <<_ACEOF
13074 #define HAVE_TIFFIO_H 1
13075 _ACEOF
13079 done
13081 if test "$ac_cv_header_tiffio_h" = "yes"
13082 then
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13084 $as_echo_n "checking for -ltiff... " >&6; }
13085 if ${ac_cv_lib_soname_tiff+:} false; then :
13086 $as_echo_n "(cached) " >&6
13087 else
13088 ac_check_soname_save_LIBS=$LIBS
13089 LIBS="-ltiff $TIFF_LIBS $LIBS"
13090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13091 /* end confdefs.h. */
13093 /* Override any GCC internal prototype to avoid an error.
13094 Use char because int might match the return type of a GCC
13095 builtin and then its argument prototype would still apply. */
13096 #ifdef __cplusplus
13097 extern "C"
13098 #endif
13099 char TIFFClientOpen ();
13101 main ()
13103 return TIFFClientOpen ();
13105 return 0;
13107 _ACEOF
13108 if ac_fn_c_try_link "$LINENO"; then :
13109 case "$LIBEXT" in
13110 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13111 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'` ;;
13112 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13113 if ${ac_cv_lib_soname_tiff:+false} :; then :
13114 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13115 fi ;;
13116 esac
13118 rm -f core conftest.err conftest.$ac_objext \
13119 conftest$ac_exeext conftest.$ac_ext
13120 LIBS=$ac_check_soname_save_LIBS
13122 if ${ac_cv_lib_soname_tiff:+false} :; then :
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13124 $as_echo "not found" >&6; }
13126 else
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13128 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13130 cat >>confdefs.h <<_ACEOF
13131 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13132 _ACEOF
13137 CPPFLAGS=$ac_save_CPPFLAGS
13138 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13139 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13142 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13143 case "x$with_tiff" in
13144 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13145 xno) ;;
13146 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13147 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13148 esac
13151 if test "x$with_mpg123" != "xno"
13152 then
13153 if ${MPG123_CFLAGS:+false} :; then :
13154 if ${PKG_CONFIG+:} false; then :
13155 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13159 if ${MPG123_LIBS:+false} :; then :
13160 if ${PKG_CONFIG+:} false; then :
13161 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13165 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13166 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13167 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13168 ac_save_CPPFLAGS=$CPPFLAGS
13169 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13170 for ac_header in mpg123.h
13171 do :
13172 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13173 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13174 cat >>confdefs.h <<_ACEOF
13175 #define HAVE_MPG123_H 1
13176 _ACEOF
13180 done
13182 if test "$ac_cv_header_mpg123_h" = "yes"
13183 then
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13185 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13186 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13187 $as_echo_n "(cached) " >&6
13188 else
13189 ac_check_lib_save_LIBS=$LIBS
13190 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13192 /* end confdefs.h. */
13194 /* Override any GCC internal prototype to avoid an error.
13195 Use char because int might match the return type of a GCC
13196 builtin and then its argument prototype would still apply. */
13197 #ifdef __cplusplus
13198 extern "C"
13199 #endif
13200 char mpg123_feed ();
13202 main ()
13204 return mpg123_feed ();
13206 return 0;
13208 _ACEOF
13209 if ac_fn_c_try_link "$LINENO"; then :
13210 ac_cv_lib_mpg123_mpg123_feed=yes
13211 else
13212 ac_cv_lib_mpg123_mpg123_feed=no
13214 rm -f core conftest.err conftest.$ac_objext \
13215 conftest$ac_exeext conftest.$ac_ext
13216 LIBS=$ac_check_lib_save_LIBS
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13219 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13220 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13222 else
13223 MPG123_LIBS=""
13226 else
13227 MPG123_CFLAGS=""
13228 MPG123_LIBS=""
13230 CPPFLAGS=$ac_save_CPPFLAGS
13231 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13232 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13235 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13236 case "x$with_mpg123" in
13237 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13238 xno) ;;
13239 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13240 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13241 esac
13243 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}
13245 if test "$ac_cv_header_AL_al_h" = "yes"
13246 then
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13248 $as_echo_n "checking for -lopenal... " >&6; }
13249 if ${ac_cv_lib_soname_openal+:} false; then :
13250 $as_echo_n "(cached) " >&6
13251 else
13252 ac_check_soname_save_LIBS=$LIBS
13253 LIBS="-lopenal $LIBS"
13254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13255 /* end confdefs.h. */
13257 /* Override any GCC internal prototype to avoid an error.
13258 Use char because int might match the return type of a GCC
13259 builtin and then its argument prototype would still apply. */
13260 #ifdef __cplusplus
13261 extern "C"
13262 #endif
13263 char alGetSource3i ();
13265 main ()
13267 return alGetSource3i ();
13269 return 0;
13271 _ACEOF
13272 if ac_fn_c_try_link "$LINENO"; then :
13273 case "$LIBEXT" in
13274 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13275 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'` ;;
13276 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13277 if ${ac_cv_lib_soname_openal:+false} :; then :
13278 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13279 fi ;;
13280 esac
13282 rm -f core conftest.err conftest.$ac_objext \
13283 conftest$ac_exeext conftest.$ac_ext
13284 LIBS=$ac_check_soname_save_LIBS
13286 if ${ac_cv_lib_soname_openal:+false} :; then :
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13288 $as_echo "not found" >&6; }
13290 else
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13292 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13294 cat >>confdefs.h <<_ACEOF
13295 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13296 _ACEOF
13298 OPENAL_LIBS="-lopenal"
13300 ac_cv_lib_openal=yes
13302 cat >>confdefs.h <<_ACEOF
13303 #define HAVE_OPENAL 1
13304 _ACEOF
13308 if test "x$ac_cv_lib_openal" != xyes; then :
13309 case "x$with_openal" in
13310 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13311 xno) ;;
13312 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13313 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13314 esac
13316 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13318 if test "$ac_cv_header_kstat_h" = "yes"
13319 then
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13321 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13322 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13323 $as_echo_n "(cached) " >&6
13324 else
13325 ac_check_lib_save_LIBS=$LIBS
13326 LIBS="-lkstat $LIBS"
13327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13328 /* end confdefs.h. */
13330 /* Override any GCC internal prototype to avoid an error.
13331 Use char because int might match the return type of a GCC
13332 builtin and then its argument prototype would still apply. */
13333 #ifdef __cplusplus
13334 extern "C"
13335 #endif
13336 char kstat_open ();
13338 main ()
13340 return kstat_open ();
13342 return 0;
13344 _ACEOF
13345 if ac_fn_c_try_link "$LINENO"; then :
13346 ac_cv_lib_kstat_kstat_open=yes
13347 else
13348 ac_cv_lib_kstat_kstat_open=no
13350 rm -f core conftest.err conftest.$ac_objext \
13351 conftest$ac_exeext conftest.$ac_ext
13352 LIBS=$ac_check_lib_save_LIBS
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13355 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13356 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13358 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13360 KSTAT_LIBS="-lkstat"
13366 if test "$ac_cv_header_libprocstat_h" = "yes"
13367 then
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13369 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13370 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13371 $as_echo_n "(cached) " >&6
13372 else
13373 ac_check_lib_save_LIBS=$LIBS
13374 LIBS="-lprocstat $LIBS"
13375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13376 /* end confdefs.h. */
13378 /* Override any GCC internal prototype to avoid an error.
13379 Use char because int might match the return type of a GCC
13380 builtin and then its argument prototype would still apply. */
13381 #ifdef __cplusplus
13382 extern "C"
13383 #endif
13384 char procstat_open_sysctl ();
13386 main ()
13388 return procstat_open_sysctl ();
13390 return 0;
13392 _ACEOF
13393 if ac_fn_c_try_link "$LINENO"; then :
13394 ac_cv_lib_procstat_procstat_open_sysctl=yes
13395 else
13396 ac_cv_lib_procstat_procstat_open_sysctl=no
13398 rm -f core conftest.err conftest.$ac_objext \
13399 conftest$ac_exeext conftest.$ac_ext
13400 LIBS=$ac_check_lib_save_LIBS
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13403 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13404 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13406 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13408 PROCSTAT_LIBS="-lprocstat"
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13415 $as_echo_n "checking for -lodbc... " >&6; }
13416 if ${ac_cv_lib_soname_odbc+:} false; then :
13417 $as_echo_n "(cached) " >&6
13418 else
13419 ac_check_soname_save_LIBS=$LIBS
13420 LIBS="-lodbc $LIBS"
13421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13422 /* end confdefs.h. */
13424 /* Override any GCC internal prototype to avoid an error.
13425 Use char because int might match the return type of a GCC
13426 builtin and then its argument prototype would still apply. */
13427 #ifdef __cplusplus
13428 extern "C"
13429 #endif
13430 char SQLConnect ();
13432 main ()
13434 return SQLConnect ();
13436 return 0;
13438 _ACEOF
13439 if ac_fn_c_try_link "$LINENO"; then :
13440 case "$LIBEXT" in
13441 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13442 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'` ;;
13443 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13444 if ${ac_cv_lib_soname_odbc:+false} :; then :
13445 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13446 fi ;;
13447 esac
13449 rm -f core conftest.err conftest.$ac_objext \
13450 conftest$ac_exeext conftest.$ac_ext
13451 LIBS=$ac_check_soname_save_LIBS
13453 if ${ac_cv_lib_soname_odbc:+false} :; then :
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13455 $as_echo "not found" >&6; }
13456 cat >>confdefs.h <<_ACEOF
13457 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13458 _ACEOF
13460 else
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13462 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13464 cat >>confdefs.h <<_ACEOF
13465 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13466 _ACEOF
13471 if test "x$with_netapi" != "xno"
13472 then
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13474 $as_echo_n "checking for -lnetapi... " >&6; }
13475 if ${ac_cv_lib_soname_netapi+:} false; then :
13476 $as_echo_n "(cached) " >&6
13477 else
13478 ac_check_soname_save_LIBS=$LIBS
13479 LIBS="-lnetapi $LIBS"
13480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13481 /* end confdefs.h. */
13483 /* Override any GCC internal prototype to avoid an error.
13484 Use char because int might match the return type of a GCC
13485 builtin and then its argument prototype would still apply. */
13486 #ifdef __cplusplus
13487 extern "C"
13488 #endif
13489 char libnetapi_init ();
13491 main ()
13493 return libnetapi_init ();
13495 return 0;
13497 _ACEOF
13498 if ac_fn_c_try_link "$LINENO"; then :
13499 case "$LIBEXT" in
13500 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13501 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'` ;;
13502 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13503 if ${ac_cv_lib_soname_netapi:+false} :; then :
13504 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13505 fi ;;
13506 esac
13508 rm -f core conftest.err conftest.$ac_objext \
13509 conftest$ac_exeext conftest.$ac_ext
13510 LIBS=$ac_check_soname_save_LIBS
13512 if ${ac_cv_lib_soname_netapi:+false} :; then :
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13514 $as_echo "not found" >&6; }
13515 cat >>confdefs.h <<_ACEOF
13516 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13517 _ACEOF
13519 else
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13521 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13523 cat >>confdefs.h <<_ACEOF
13524 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13525 _ACEOF
13531 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13532 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13533 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13534 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13536 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13537 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13538 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13539 then
13540 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13544 EXTRACFLAGS=""
13546 if test "x${GCC}" = "xyes"
13547 then
13548 EXTRACFLAGS="-Wall -pipe"
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13551 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13552 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13553 $as_echo_n "(cached) " >&6
13554 else
13555 if test "$cross_compiling" = yes; then :
13556 ac_cv_c_gcc_strength_bug="yes"
13557 else
13558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13559 /* end confdefs.h. */
13560 int L[4] = {0,1,2,3};
13562 main ()
13564 static int Array[3];
13565 unsigned int B = 3;
13566 int i;
13567 for(i=0; i<B; i++) Array[i] = i - 3;
13568 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13569 L[i] = 4;
13570 return (Array[1] != -2 || L[2] != 3)
13572 return 0;
13574 _ACEOF
13575 if ac_fn_c_try_run "$LINENO"; then :
13576 ac_cv_c_gcc_strength_bug="no"
13577 else
13578 ac_cv_c_gcc_strength_bug="yes"
13580 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13581 conftest.$ac_objext conftest.beam conftest.$ac_ext
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13586 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13587 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13588 then
13589 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13593 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13594 if ${ac_cv_cflags__fno_builtin+:} false; then :
13595 $as_echo_n "(cached) " >&6
13596 else
13597 ac_wine_try_cflags_saved=$CFLAGS
13598 CFLAGS="$CFLAGS -fno-builtin"
13599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13600 /* end confdefs.h. */
13601 int main(int argc, char **argv) { return 0; }
13602 _ACEOF
13603 if ac_fn_c_try_link "$LINENO"; then :
13604 ac_cv_cflags__fno_builtin=yes
13605 else
13606 ac_cv_cflags__fno_builtin=no
13608 rm -f core conftest.err conftest.$ac_objext \
13609 conftest$ac_exeext conftest.$ac_ext
13610 CFLAGS=$ac_wine_try_cflags_saved
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13613 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13614 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13615 BUILTINFLAG="-fno-builtin"
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13619 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13620 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13621 $as_echo_n "(cached) " >&6
13622 else
13623 ac_wine_try_cflags_saved=$CFLAGS
13624 CFLAGS="$CFLAGS -fno-strict-aliasing"
13625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h. */
13627 int main(int argc, char **argv) { return 0; }
13628 _ACEOF
13629 if ac_fn_c_try_link "$LINENO"; then :
13630 ac_cv_cflags__fno_strict_aliasing=yes
13631 else
13632 ac_cv_cflags__fno_strict_aliasing=no
13634 rm -f core conftest.err conftest.$ac_objext \
13635 conftest$ac_exeext conftest.$ac_ext
13636 CFLAGS=$ac_wine_try_cflags_saved
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13639 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13640 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13641 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13643 saved_CFLAGS=$CFLAGS
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13645 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13646 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13647 $as_echo_n "(cached) " >&6
13648 else
13649 ac_wine_try_cflags_saved=$CFLAGS
13650 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13652 /* end confdefs.h. */
13653 int main(int argc, char **argv) { return 0; }
13654 _ACEOF
13655 if ac_fn_c_try_link "$LINENO"; then :
13656 ac_cv_cflags__Werror_unknown_warning_option=yes
13657 else
13658 ac_cv_cflags__Werror_unknown_warning_option=no
13660 rm -f core conftest.err conftest.$ac_objext \
13661 conftest$ac_exeext conftest.$ac_ext
13662 CFLAGS=$ac_wine_try_cflags_saved
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13665 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13666 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13667 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13670 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13671 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13672 $as_echo_n "(cached) " >&6
13673 else
13674 ac_wine_try_cflags_saved=$CFLAGS
13675 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13677 /* end confdefs.h. */
13678 int main(int argc, char **argv) { return 0; }
13679 _ACEOF
13680 if ac_fn_c_try_link "$LINENO"; then :
13681 ac_cv_cflags__Wdeclaration_after_statement=yes
13682 else
13683 ac_cv_cflags__Wdeclaration_after_statement=no
13685 rm -f core conftest.err conftest.$ac_objext \
13686 conftest$ac_exeext conftest.$ac_ext
13687 CFLAGS=$ac_wine_try_cflags_saved
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13690 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13691 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13692 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13695 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13696 if ${ac_cv_cflags__Wempty_body+:} false; then :
13697 $as_echo_n "(cached) " >&6
13698 else
13699 ac_wine_try_cflags_saved=$CFLAGS
13700 CFLAGS="$CFLAGS -Wempty-body"
13701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13702 /* end confdefs.h. */
13703 int main(int argc, char **argv) { return 0; }
13704 _ACEOF
13705 if ac_fn_c_try_link "$LINENO"; then :
13706 ac_cv_cflags__Wempty_body=yes
13707 else
13708 ac_cv_cflags__Wempty_body=no
13710 rm -f core conftest.err conftest.$ac_objext \
13711 conftest$ac_exeext conftest.$ac_ext
13712 CFLAGS=$ac_wine_try_cflags_saved
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13715 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13716 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13717 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13720 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13721 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13722 $as_echo_n "(cached) " >&6
13723 else
13724 ac_wine_try_cflags_saved=$CFLAGS
13725 CFLAGS="$CFLAGS -Wignored-qualifiers"
13726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13727 /* end confdefs.h. */
13728 int main(int argc, char **argv) { return 0; }
13729 _ACEOF
13730 if ac_fn_c_try_link "$LINENO"; then :
13731 ac_cv_cflags__Wignored_qualifiers=yes
13732 else
13733 ac_cv_cflags__Wignored_qualifiers=no
13735 rm -f core conftest.err conftest.$ac_objext \
13736 conftest$ac_exeext conftest.$ac_ext
13737 CFLAGS=$ac_wine_try_cflags_saved
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13740 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13741 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13742 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13745 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13746 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13747 $as_echo_n "(cached) " >&6
13748 else
13749 ac_wine_try_cflags_saved=$CFLAGS
13750 CFLAGS="$CFLAGS -Wstrict-prototypes"
13751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13752 /* end confdefs.h. */
13753 int main(int argc, char **argv) { return 0; }
13754 _ACEOF
13755 if ac_fn_c_try_link "$LINENO"; then :
13756 ac_cv_cflags__Wstrict_prototypes=yes
13757 else
13758 ac_cv_cflags__Wstrict_prototypes=no
13760 rm -f core conftest.err conftest.$ac_objext \
13761 conftest$ac_exeext conftest.$ac_ext
13762 CFLAGS=$ac_wine_try_cflags_saved
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13765 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13766 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13767 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13770 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13771 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13772 $as_echo_n "(cached) " >&6
13773 else
13774 ac_wine_try_cflags_saved=$CFLAGS
13775 CFLAGS="$CFLAGS -Wtype-limits"
13776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13777 /* end confdefs.h. */
13778 int main(int argc, char **argv) { return 0; }
13779 _ACEOF
13780 if ac_fn_c_try_link "$LINENO"; then :
13781 ac_cv_cflags__Wtype_limits=yes
13782 else
13783 ac_cv_cflags__Wtype_limits=no
13785 rm -f core conftest.err conftest.$ac_objext \
13786 conftest$ac_exeext conftest.$ac_ext
13787 CFLAGS=$ac_wine_try_cflags_saved
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13790 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13791 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13792 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13795 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13796 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13797 $as_echo_n "(cached) " >&6
13798 else
13799 ac_wine_try_cflags_saved=$CFLAGS
13800 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13802 /* end confdefs.h. */
13803 int main(int argc, char **argv) { return 0; }
13804 _ACEOF
13805 if ac_fn_c_try_link "$LINENO"; then :
13806 ac_cv_cflags__Wunused_but_set_parameter=yes
13807 else
13808 ac_cv_cflags__Wunused_but_set_parameter=no
13810 rm -f core conftest.err conftest.$ac_objext \
13811 conftest$ac_exeext conftest.$ac_ext
13812 CFLAGS=$ac_wine_try_cflags_saved
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13815 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13816 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13817 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13820 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13821 if ${ac_cv_cflags__Wvla+:} false; then :
13822 $as_echo_n "(cached) " >&6
13823 else
13824 ac_wine_try_cflags_saved=$CFLAGS
13825 CFLAGS="$CFLAGS -Wvla"
13826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13827 /* end confdefs.h. */
13828 int main(int argc, char **argv) { return 0; }
13829 _ACEOF
13830 if ac_fn_c_try_link "$LINENO"; then :
13831 ac_cv_cflags__Wvla=yes
13832 else
13833 ac_cv_cflags__Wvla=no
13835 rm -f core conftest.err conftest.$ac_objext \
13836 conftest$ac_exeext conftest.$ac_ext
13837 CFLAGS=$ac_wine_try_cflags_saved
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13840 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13841 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13842 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13845 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13846 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13847 $as_echo_n "(cached) " >&6
13848 else
13849 ac_wine_try_cflags_saved=$CFLAGS
13850 CFLAGS="$CFLAGS -Wwrite-strings"
13851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13852 /* end confdefs.h. */
13853 int main(int argc, char **argv) { return 0; }
13854 _ACEOF
13855 if ac_fn_c_try_link "$LINENO"; then :
13856 ac_cv_cflags__Wwrite_strings=yes
13857 else
13858 ac_cv_cflags__Wwrite_strings=no
13860 rm -f core conftest.err conftest.$ac_objext \
13861 conftest$ac_exeext conftest.$ac_ext
13862 CFLAGS=$ac_wine_try_cflags_saved
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13865 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13866 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13867 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13871 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13872 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13873 $as_echo_n "(cached) " >&6
13874 else
13875 ac_wine_try_cflags_saved=$CFLAGS
13876 CFLAGS="$CFLAGS -Wpointer-arith"
13877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13878 /* end confdefs.h. */
13879 int main(int argc, char **argv) { return 0; }
13880 _ACEOF
13881 if ac_fn_c_try_link "$LINENO"; then :
13882 ac_cv_cflags__Wpointer_arith=yes
13883 else
13884 ac_cv_cflags__Wpointer_arith=no
13886 rm -f core conftest.err conftest.$ac_objext \
13887 conftest$ac_exeext conftest.$ac_ext
13888 CFLAGS=$ac_wine_try_cflags_saved
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13891 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13892 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13893 saved_string_h_CFLAGS=$CFLAGS
13894 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13896 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13897 if ${ac_cv_c_string_h_warnings+:} false; then :
13898 $as_echo_n "(cached) " >&6
13899 else
13900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13901 /* end confdefs.h. */
13902 #include <string.h>
13904 main ()
13908 return 0;
13910 _ACEOF
13911 if ac_fn_c_try_compile "$LINENO"; then :
13912 ac_cv_c_string_h_warnings=no
13913 else
13914 ac_cv_c_string_h_warnings=yes
13916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13919 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13920 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13921 CFLAGS=$saved_string_h_CFLAGS
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13925 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13926 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13927 $as_echo_n "(cached) " >&6
13928 else
13929 ac_wine_try_cflags_saved=$CFLAGS
13930 CFLAGS="$CFLAGS -Wlogical-op"
13931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13932 /* end confdefs.h. */
13933 int main(int argc, char **argv) { return 0; }
13934 _ACEOF
13935 if ac_fn_c_try_link "$LINENO"; then :
13936 ac_cv_cflags__Wlogical_op=yes
13937 else
13938 ac_cv_cflags__Wlogical_op=no
13940 rm -f core conftest.err conftest.$ac_objext \
13941 conftest$ac_exeext conftest.$ac_ext
13942 CFLAGS=$ac_wine_try_cflags_saved
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13945 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13946 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13947 saved_string_h_CFLAGS=$CFLAGS
13948 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13950 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13951 if ${ac_cv_c_logicalop_noisy+:} false; then :
13952 $as_echo_n "(cached) " >&6
13953 else
13954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13955 /* end confdefs.h. */
13956 #include <string.h>
13957 char*f(const char *h,char n) {return strchr(h,n);}
13959 main ()
13963 return 0;
13965 _ACEOF
13966 if ac_fn_c_try_compile "$LINENO"; then :
13967 ac_cv_c_logicalop_noisy=no
13968 else
13969 ac_cv_c_logicalop_noisy=yes
13971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13974 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13975 CFLAGS=$saved_string_h_CFLAGS
13976 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13979 CFLAGS=$saved_CFLAGS
13981 for ac_flag in $CFLAGS; do
13982 case $ac_flag in
13983 -g) case $host_os in
13984 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13985 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13986 if ${ac_cv_cflags__gstabsp+:} false; then :
13987 $as_echo_n "(cached) " >&6
13988 else
13989 ac_wine_try_cflags_saved=$CFLAGS
13990 CFLAGS="$CFLAGS -gstabs+"
13991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13992 /* end confdefs.h. */
13993 int main(int argc, char **argv) { return 0; }
13994 _ACEOF
13995 if ac_fn_c_try_link "$LINENO"; then :
13996 ac_cv_cflags__gstabsp=yes
13997 else
13998 ac_cv_cflags__gstabsp=no
14000 rm -f core conftest.err conftest.$ac_objext \
14001 conftest$ac_exeext conftest.$ac_ext
14002 CFLAGS=$ac_wine_try_cflags_saved
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14005 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14006 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14007 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14008 fi ;;
14009 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14010 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14011 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14012 $as_echo_n "(cached) " >&6
14013 else
14014 ac_wine_try_cflags_saved=$CFLAGS
14015 CFLAGS="$CFLAGS -gdwarf-2"
14016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14017 /* end confdefs.h. */
14018 int main(int argc, char **argv) { return 0; }
14019 _ACEOF
14020 if ac_fn_c_try_link "$LINENO"; then :
14021 ac_cv_cflags__gdwarf_2=yes
14022 else
14023 ac_cv_cflags__gdwarf_2=no
14025 rm -f core conftest.err conftest.$ac_objext \
14026 conftest$ac_exeext conftest.$ac_ext
14027 CFLAGS=$ac_wine_try_cflags_saved
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14030 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14031 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14032 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14035 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14036 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14037 $as_echo_n "(cached) " >&6
14038 else
14039 ac_wine_try_cflags_saved=$CFLAGS
14040 CFLAGS="$CFLAGS -gstrict-dwarf"
14041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14042 /* end confdefs.h. */
14043 int main(int argc, char **argv) { return 0; }
14044 _ACEOF
14045 if ac_fn_c_try_link "$LINENO"; then :
14046 ac_cv_cflags__gstrict_dwarf=yes
14047 else
14048 ac_cv_cflags__gstrict_dwarf=no
14050 rm -f core conftest.err conftest.$ac_objext \
14051 conftest$ac_exeext conftest.$ac_ext
14052 CFLAGS=$ac_wine_try_cflags_saved
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14055 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14056 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14057 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14058 fi ;;
14059 esac ;;
14060 esac
14061 done
14063 case $host_cpu in
14064 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14065 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14066 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14067 $as_echo_n "(cached) " >&6
14068 else
14069 ac_wine_try_cflags_saved=$CFLAGS
14070 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14072 /* end confdefs.h. */
14073 int main(int argc, char **argv) { return 0; }
14074 _ACEOF
14075 if ac_fn_c_try_link "$LINENO"; then :
14076 ac_cv_cflags__fno_omit_frame_pointer=yes
14077 else
14078 ac_cv_cflags__fno_omit_frame_pointer=no
14080 rm -f core conftest.err conftest.$ac_objext \
14081 conftest$ac_exeext conftest.$ac_ext
14082 CFLAGS=$ac_wine_try_cflags_saved
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14085 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14086 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14087 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14088 fi ;;
14089 esac
14091 case $host in
14092 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14093 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14094 if ${ac_cv_cflags__Wno_format+:} false; then :
14095 $as_echo_n "(cached) " >&6
14096 else
14097 ac_wine_try_cflags_saved=$CFLAGS
14098 CFLAGS="$CFLAGS -Wno-format"
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__Wno_format=yes
14105 else
14106 ac_cv_cflags__Wno_format=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__Wno_format" >&5
14113 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14114 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14115 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14116 fi ;;
14117 esac
14119 if test "x$enable_maintainer_mode" = "xyes"
14120 then
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14122 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14123 if ${ac_cv_cflags__Werror+:} false; then :
14124 $as_echo_n "(cached) " >&6
14125 else
14126 ac_wine_try_cflags_saved=$CFLAGS
14127 CFLAGS="$CFLAGS -Werror"
14128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14129 /* end confdefs.h. */
14130 int main(int argc, char **argv) { return 0; }
14131 _ACEOF
14132 if ac_fn_c_try_link "$LINENO"; then :
14133 ac_cv_cflags__Werror=yes
14134 else
14135 ac_cv_cflags__Werror=no
14137 rm -f core conftest.err conftest.$ac_objext \
14138 conftest$ac_exeext conftest.$ac_ext
14139 CFLAGS=$ac_wine_try_cflags_saved
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14142 $as_echo "$ac_cv_cflags__Werror" >&6; }
14143 if test "x$ac_cv_cflags__Werror" = xyes; then :
14144 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14148 saved_CFLAGS="$CFLAGS"
14149 CFLAGS="$CFLAGS -Werror"
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14151 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14152 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14153 $as_echo_n "(cached) " >&6
14154 else
14155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14156 /* end confdefs.h. */
14157 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14159 main ()
14163 return 0;
14165 _ACEOF
14166 if ac_fn_c_try_compile "$LINENO"; then :
14167 ac_cv_have_ms_hook_prologue="yes"
14168 else
14169 ac_cv_have_ms_hook_prologue="no"
14171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14174 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14175 CFLAGS="$saved_CFLAGS"
14176 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14177 then
14179 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14181 else
14182 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14189 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14190 if ${ac_cv_c_fortify_enabled+:} false; then :
14191 $as_echo_n "(cached) " >&6
14192 else
14193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14194 /* end confdefs.h. */
14195 #include <string.h>
14197 main ()
14199 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14200 #error Fortify enabled
14201 #endif
14203 return 0;
14205 _ACEOF
14206 if ac_fn_c_try_compile "$LINENO"; then :
14207 ac_cv_c_fortify_enabled=no
14208 else
14209 ac_cv_c_fortify_enabled=yes
14211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14214 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14215 if test "$ac_cv_c_fortify_enabled" = yes
14216 then
14217 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14222 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14223 if ${ac_cv_c_extern_prefix+:} false; then :
14224 $as_echo_n "(cached) " >&6
14225 else
14226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14227 /* end confdefs.h. */
14228 extern int ac_test;
14230 main ()
14232 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14234 return 0;
14236 _ACEOF
14237 if ac_fn_c_try_link "$LINENO"; then :
14238 ac_cv_c_extern_prefix="yes"
14239 else
14240 ac_cv_c_extern_prefix="no"
14242 rm -f core conftest.err conftest.$ac_objext \
14243 conftest$ac_exeext conftest.$ac_ext
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14246 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14248 case $host_cpu in
14249 *i[3456789]86*)
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14251 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14252 if ${ac_cv_c_stdcall_suffix+:} false; then :
14253 $as_echo_n "(cached) " >&6
14254 else
14255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14256 /* end confdefs.h. */
14257 #ifndef _MSC_VER
14258 #define __stdcall __attribute__((__stdcall__))
14259 #endif
14260 int __stdcall ac_test(int i) { return i; }
14262 main ()
14264 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14266 return 0;
14268 _ACEOF
14269 if ac_fn_c_try_link "$LINENO"; then :
14270 ac_cv_c_stdcall_suffix="yes"
14271 else
14272 ac_cv_c_stdcall_suffix="no"
14274 rm -f core conftest.err conftest.$ac_objext \
14275 conftest$ac_exeext conftest.$ac_ext
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14278 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14279 *) ac_cv_c_stdcall_suffix="no" ;;
14280 esac
14283 if test "$ac_cv_c_extern_prefix" = "yes"
14284 then
14285 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14287 asm_name_prefix="_"
14288 else
14289 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14291 asm_name_prefix=""
14295 if test "$ac_cv_c_stdcall_suffix" = "yes"
14296 then
14297 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14299 else
14300 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14306 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14307 if ${ac_cv_asm_func_def+:} false; then :
14308 $as_echo_n "(cached) " >&6
14309 else
14310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14311 /* end confdefs.h. */
14314 main ()
14316 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14318 return 0;
14320 _ACEOF
14321 if ac_fn_c_try_link "$LINENO"; then :
14322 ac_cv_asm_func_def=".def"
14323 else
14324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14325 /* end confdefs.h. */
14328 main ()
14330 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14332 return 0;
14334 _ACEOF
14335 if ac_fn_c_try_link "$LINENO"; then :
14336 ac_cv_asm_func_def=".type @function"
14337 else
14338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14339 /* end confdefs.h. */
14342 main ()
14344 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14346 return 0;
14348 _ACEOF
14349 if ac_fn_c_try_link "$LINENO"; then :
14350 ac_cv_asm_func_def=".type 2"
14351 else
14352 ac_cv_asm_func_def="unknown"
14354 rm -f core conftest.err conftest.$ac_objext \
14355 conftest$ac_exeext conftest.$ac_ext
14357 rm -f core conftest.err conftest.$ac_objext \
14358 conftest$ac_exeext conftest.$ac_ext
14360 rm -f core conftest.err conftest.$ac_objext \
14361 conftest$ac_exeext conftest.$ac_ext
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14364 $as_echo "$ac_cv_asm_func_def" >&6; }
14367 case "$ac_cv_asm_func_def" in
14368 ".def")
14369 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14371 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14372 ".type @function")
14373 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14375 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14376 ".type 2")
14377 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14379 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14381 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14383 asm_func_header="" ;;
14384 esac
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14387 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14388 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14389 $as_echo_n "(cached) " >&6
14390 else
14391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14392 /* end confdefs.h. */
14393 asm(".text\n\t.long 0");
14395 main ()
14399 return 0;
14401 _ACEOF
14402 if ac_fn_c_try_compile "$LINENO"; then :
14403 ac_cv_c_asm_outside_funcs="yes"
14404 else
14405 ac_cv_c_asm_outside_funcs="no"
14407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14410 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14413 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14414 if ${ac_cv_c_dot_previous+:} false; then :
14415 $as_echo_n "(cached) " >&6
14416 else
14417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14418 /* end confdefs.h. */
14421 main ()
14423 asm(".text\nac_test:\t.long 0\n\t.previous");
14425 return 0;
14427 _ACEOF
14428 if ac_fn_c_try_link "$LINENO"; then :
14429 ac_cv_c_dot_previous="yes"
14430 else
14431 ac_cv_c_dot_previous="no"
14433 rm -f core conftest.err conftest.$ac_objext \
14434 conftest$ac_exeext conftest.$ac_ext
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14437 $as_echo "$ac_cv_c_dot_previous" >&6; }
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14440 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14441 if ${ac_cv_c_cfi_support+:} false; then :
14442 $as_echo_n "(cached) " >&6
14443 else
14444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14445 /* end confdefs.h. */
14446 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14448 main ()
14452 return 0;
14454 _ACEOF
14455 if ac_fn_c_try_compile "$LINENO"; then :
14456 ac_cv_c_cfi_support="yes"
14457 else
14458 ac_cv_c_cfi_support="no"
14460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14463 $as_echo "$ac_cv_c_cfi_support" >&6; }
14465 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14466 asm_func_trailer=""
14467 if test "$ac_cv_c_dot_previous" = "yes"
14468 then
14469 asm_func_trailer="\\n\\t.previous"
14471 if test "$ac_cv_c_cfi_support" = "yes"
14472 then
14473 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14474 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14476 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14478 UNWINDFLAGS=-fasynchronous-unwind-tables
14480 else
14481 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14485 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14488 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14489 then
14490 cat >>confdefs.h <<_ACEOF
14491 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14492 _ACEOF
14494 else
14495 cat >>confdefs.h <<_ACEOF
14496 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14497 _ACEOF
14501 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14504 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14508 case $build_os in
14509 cygwin*|mingw32*) TOOLSEXT=".exe"
14511 esac
14513 case $host_os in
14514 linux*)
14515 case $host_cpu in
14516 *i[3456789]86*|x86_64*)
14517 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14518 loader_programs="$loader_programs $wine_binary-preloader"
14519 as_fn_append LOADER_RULES "
14520 $wine_binary-preloader: preloader.o
14521 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14523 install install-lib:: $wine_binary-preloader
14524 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14526 uninstall::
14527 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14529 preloader_EXTRADEFS = $BUILTINFLAG
14530 " ;;
14531 esac
14533 esac
14534 as_fn_append LOADER_RULES "
14535 PROGRAMS = $loader_programs
14539 ac_save_CFLAGS="$CFLAGS"
14540 CFLAGS="$CFLAGS $BUILTINFLAG"
14541 for ac_func in \
14542 __res_get_state \
14543 __res_getservers \
14544 _finite \
14545 _isnan \
14546 _pclose \
14547 _popen \
14548 _snprintf \
14549 _spawnvp \
14550 _strdup \
14551 _stricmp \
14552 _strnicmp \
14553 _strtoi64 \
14554 _strtoui64 \
14555 _vsnprintf \
14556 asctime_r \
14557 chsize \
14558 dlopen \
14559 epoll_create \
14560 ffs \
14561 fnmatch \
14562 fork \
14563 fpclass \
14564 fstatfs \
14565 fstatvfs \
14566 ftruncate \
14567 futimens \
14568 futimes \
14569 futimesat \
14570 getattrlist \
14571 getdirentries \
14572 getopt_long_only \
14573 getpwuid \
14574 gettimeofday \
14575 getuid \
14576 if_nameindex \
14577 kqueue \
14578 lstat \
14579 memmove \
14580 mmap \
14581 pclose \
14582 pipe2 \
14583 poll \
14584 popen \
14585 port_create \
14586 prctl \
14587 pread \
14588 proc_pidinfo \
14589 pwrite \
14590 readdir \
14591 readlink \
14592 sched_yield \
14593 select \
14594 setproctitle \
14595 setrlimit \
14596 settimeofday \
14597 sigaltstack \
14598 sigprocmask \
14599 snprintf \
14600 statfs \
14601 statvfs \
14602 strcasecmp \
14603 strdup \
14604 strerror \
14605 strncasecmp \
14606 strtold \
14607 strtoll \
14608 strtoull \
14609 symlink \
14610 tcdrain \
14611 thr_kill2 \
14612 timegm \
14613 usleep \
14614 vsnprintf
14616 do :
14617 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14618 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14619 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14620 cat >>confdefs.h <<_ACEOF
14621 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14622 _ACEOF
14625 done
14627 CFLAGS="$ac_save_CFLAGS"
14629 if test "$ac_cv_func_dlopen" = no
14630 then
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14632 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14633 if ${ac_cv_lib_dl_dlopen+:} false; then :
14634 $as_echo_n "(cached) " >&6
14635 else
14636 ac_check_lib_save_LIBS=$LIBS
14637 LIBS="-ldl $LIBS"
14638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14639 /* end confdefs.h. */
14641 /* Override any GCC internal prototype to avoid an error.
14642 Use char because int might match the return type of a GCC
14643 builtin and then its argument prototype would still apply. */
14644 #ifdef __cplusplus
14645 extern "C"
14646 #endif
14647 char dlopen ();
14649 main ()
14651 return dlopen ();
14653 return 0;
14655 _ACEOF
14656 if ac_fn_c_try_link "$LINENO"; then :
14657 ac_cv_lib_dl_dlopen=yes
14658 else
14659 ac_cv_lib_dl_dlopen=no
14661 rm -f core conftest.err conftest.$ac_objext \
14662 conftest$ac_exeext conftest.$ac_ext
14663 LIBS=$ac_check_lib_save_LIBS
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14666 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14667 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14668 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14669 DL_LIBS="-ldl"
14674 ac_wine_check_funcs_save_LIBS="$LIBS"
14675 LIBS="$LIBS $DL_LIBS"
14676 for ac_func in dladdr
14677 do :
14678 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14679 if test "x$ac_cv_func_dladdr" = xyes; then :
14680 cat >>confdefs.h <<_ACEOF
14681 #define HAVE_DLADDR 1
14682 _ACEOF
14685 done
14687 LIBS="$ac_wine_check_funcs_save_LIBS"
14689 if test "$ac_cv_func_poll" = no
14690 then
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14692 $as_echo_n "checking for poll in -lpoll... " >&6; }
14693 if ${ac_cv_lib_poll_poll+:} false; then :
14694 $as_echo_n "(cached) " >&6
14695 else
14696 ac_check_lib_save_LIBS=$LIBS
14697 LIBS="-lpoll $LIBS"
14698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14699 /* end confdefs.h. */
14701 /* Override any GCC internal prototype to avoid an error.
14702 Use char because int might match the return type of a GCC
14703 builtin and then its argument prototype would still apply. */
14704 #ifdef __cplusplus
14705 extern "C"
14706 #endif
14707 char poll ();
14709 main ()
14711 return poll ();
14713 return 0;
14715 _ACEOF
14716 if ac_fn_c_try_link "$LINENO"; then :
14717 ac_cv_lib_poll_poll=yes
14718 else
14719 ac_cv_lib_poll_poll=no
14721 rm -f core conftest.err conftest.$ac_objext \
14722 conftest$ac_exeext conftest.$ac_ext
14723 LIBS=$ac_check_lib_save_LIBS
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14726 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14727 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14728 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14729 POLL_LIBS="-lpoll"
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14736 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14737 if ${ac_cv_search_gethostbyname+:} false; then :
14738 $as_echo_n "(cached) " >&6
14739 else
14740 ac_func_search_save_LIBS=$LIBS
14741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14742 /* end confdefs.h. */
14744 /* Override any GCC internal prototype to avoid an error.
14745 Use char because int might match the return type of a GCC
14746 builtin and then its argument prototype would still apply. */
14747 #ifdef __cplusplus
14748 extern "C"
14749 #endif
14750 char gethostbyname ();
14752 main ()
14754 return gethostbyname ();
14756 return 0;
14758 _ACEOF
14759 for ac_lib in '' nsl; do
14760 if test -z "$ac_lib"; then
14761 ac_res="none required"
14762 else
14763 ac_res=-l$ac_lib
14764 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14766 if ac_fn_c_try_link "$LINENO"; then :
14767 ac_cv_search_gethostbyname=$ac_res
14769 rm -f core conftest.err conftest.$ac_objext \
14770 conftest$ac_exeext
14771 if ${ac_cv_search_gethostbyname+:} false; then :
14772 break
14774 done
14775 if ${ac_cv_search_gethostbyname+:} false; then :
14777 else
14778 ac_cv_search_gethostbyname=no
14780 rm conftest.$ac_ext
14781 LIBS=$ac_func_search_save_LIBS
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14784 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14785 ac_res=$ac_cv_search_gethostbyname
14786 if test "$ac_res" != no; then :
14787 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14793 $as_echo_n "checking for library containing connect... " >&6; }
14794 if ${ac_cv_search_connect+:} false; then :
14795 $as_echo_n "(cached) " >&6
14796 else
14797 ac_func_search_save_LIBS=$LIBS
14798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14799 /* end confdefs.h. */
14801 /* Override any GCC internal prototype to avoid an error.
14802 Use char because int might match the return type of a GCC
14803 builtin and then its argument prototype would still apply. */
14804 #ifdef __cplusplus
14805 extern "C"
14806 #endif
14807 char connect ();
14809 main ()
14811 return connect ();
14813 return 0;
14815 _ACEOF
14816 for ac_lib in '' socket; do
14817 if test -z "$ac_lib"; then
14818 ac_res="none required"
14819 else
14820 ac_res=-l$ac_lib
14821 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14823 if ac_fn_c_try_link "$LINENO"; then :
14824 ac_cv_search_connect=$ac_res
14826 rm -f core conftest.err conftest.$ac_objext \
14827 conftest$ac_exeext
14828 if ${ac_cv_search_connect+:} false; then :
14829 break
14831 done
14832 if ${ac_cv_search_connect+:} false; then :
14834 else
14835 ac_cv_search_connect=no
14837 rm conftest.$ac_ext
14838 LIBS=$ac_func_search_save_LIBS
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14841 $as_echo "$ac_cv_search_connect" >&6; }
14842 ac_res=$ac_cv_search_connect
14843 if test "$ac_res" != no; then :
14844 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14850 $as_echo_n "checking for library containing inet_aton... " >&6; }
14851 if ${ac_cv_search_inet_aton+:} false; then :
14852 $as_echo_n "(cached) " >&6
14853 else
14854 ac_func_search_save_LIBS=$LIBS
14855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14856 /* end confdefs.h. */
14858 /* Override any GCC internal prototype to avoid an error.
14859 Use char because int might match the return type of a GCC
14860 builtin and then its argument prototype would still apply. */
14861 #ifdef __cplusplus
14862 extern "C"
14863 #endif
14864 char inet_aton ();
14866 main ()
14868 return inet_aton ();
14870 return 0;
14872 _ACEOF
14873 for ac_lib in '' resolv; do
14874 if test -z "$ac_lib"; then
14875 ac_res="none required"
14876 else
14877 ac_res=-l$ac_lib
14878 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14880 if ac_fn_c_try_link "$LINENO"; then :
14881 ac_cv_search_inet_aton=$ac_res
14883 rm -f core conftest.err conftest.$ac_objext \
14884 conftest$ac_exeext
14885 if ${ac_cv_search_inet_aton+:} false; then :
14886 break
14888 done
14889 if ${ac_cv_search_inet_aton+:} false; then :
14891 else
14892 ac_cv_search_inet_aton=no
14894 rm conftest.$ac_ext
14895 LIBS=$ac_func_search_save_LIBS
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14898 $as_echo "$ac_cv_search_inet_aton" >&6; }
14899 ac_res=$ac_cv_search_inet_aton
14900 if test "$ac_res" != no; then :
14901 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14906 for ac_func in \
14907 getaddrinfo \
14908 getnameinfo \
14909 getnetbyname \
14910 getprotobyname \
14911 getprotobynumber \
14912 getservbyport \
14913 inet_addr \
14914 inet_network \
14915 inet_ntop \
14916 inet_pton \
14917 sendmsg \
14918 socketpair \
14920 do :
14921 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14922 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14923 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14924 cat >>confdefs.h <<_ACEOF
14925 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14926 _ACEOF
14929 done
14932 ac_save_LIBS=$LIBS
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14934 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14935 if ${ac_cv_search_clock_gettime+:} false; then :
14936 $as_echo_n "(cached) " >&6
14937 else
14938 ac_func_search_save_LIBS=$LIBS
14939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14940 /* end confdefs.h. */
14942 /* Override any GCC internal prototype to avoid an error.
14943 Use char because int might match the return type of a GCC
14944 builtin and then its argument prototype would still apply. */
14945 #ifdef __cplusplus
14946 extern "C"
14947 #endif
14948 char clock_gettime ();
14950 main ()
14952 return clock_gettime ();
14954 return 0;
14956 _ACEOF
14957 for ac_lib in '' rt; do
14958 if test -z "$ac_lib"; then
14959 ac_res="none required"
14960 else
14961 ac_res=-l$ac_lib
14962 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14964 if ac_fn_c_try_link "$LINENO"; then :
14965 ac_cv_search_clock_gettime=$ac_res
14967 rm -f core conftest.err conftest.$ac_objext \
14968 conftest$ac_exeext
14969 if ${ac_cv_search_clock_gettime+:} false; then :
14970 break
14972 done
14973 if ${ac_cv_search_clock_gettime+:} false; then :
14975 else
14976 ac_cv_search_clock_gettime=no
14978 rm conftest.$ac_ext
14979 LIBS=$ac_func_search_save_LIBS
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14982 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14983 ac_res=$ac_cv_search_clock_gettime
14984 if test "$ac_res" != no; then :
14985 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14987 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14989 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14993 LIBS=$ac_save_LIBS
14995 LDAP_LIBS=""
14997 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14998 then
14999 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15001 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15003 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15004 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15005 $as_echo_n "(cached) " >&6
15006 else
15007 ac_check_lib_save_LIBS=$LIBS
15008 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15010 /* end confdefs.h. */
15012 /* Override any GCC internal prototype to avoid an error.
15013 Use char because int might match the return type of a GCC
15014 builtin and then its argument prototype would still apply. */
15015 #ifdef __cplusplus
15016 extern "C"
15017 #endif
15018 char ldap_initialize ();
15020 main ()
15022 return ldap_initialize ();
15024 return 0;
15026 _ACEOF
15027 if ac_fn_c_try_link "$LINENO"; then :
15028 ac_cv_lib_ldap_r_ldap_initialize=yes
15029 else
15030 ac_cv_lib_ldap_r_ldap_initialize=no
15032 rm -f core conftest.err conftest.$ac_objext \
15033 conftest$ac_exeext conftest.$ac_ext
15034 LIBS=$ac_check_lib_save_LIBS
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15037 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15038 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15040 $as_echo_n "checking for ber_init in -llber... " >&6; }
15041 if ${ac_cv_lib_lber_ber_init+:} false; then :
15042 $as_echo_n "(cached) " >&6
15043 else
15044 ac_check_lib_save_LIBS=$LIBS
15045 LIBS="-llber $PTHREAD_LIBS $LIBS"
15046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15047 /* end confdefs.h. */
15049 /* Override any GCC internal prototype to avoid an error.
15050 Use char because int might match the return type of a GCC
15051 builtin and then its argument prototype would still apply. */
15052 #ifdef __cplusplus
15053 extern "C"
15054 #endif
15055 char ber_init ();
15057 main ()
15059 return ber_init ();
15061 return 0;
15063 _ACEOF
15064 if ac_fn_c_try_link "$LINENO"; then :
15065 ac_cv_lib_lber_ber_init=yes
15066 else
15067 ac_cv_lib_lber_ber_init=no
15069 rm -f core conftest.err conftest.$ac_objext \
15070 conftest$ac_exeext conftest.$ac_ext
15071 LIBS=$ac_check_lib_save_LIBS
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15074 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15075 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15077 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15079 LDAP_LIBS="-lldap_r -llber"
15086 ac_wine_check_funcs_save_LIBS="$LIBS"
15087 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15088 for ac_func in \
15089 ldap_count_references \
15090 ldap_first_reference \
15091 ldap_next_reference \
15092 ldap_parse_reference \
15093 ldap_parse_sort_control \
15094 ldap_parse_sortresponse_control \
15095 ldap_parse_vlv_control \
15096 ldap_parse_vlvresponse_control
15097 do :
15098 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15099 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15100 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15101 cat >>confdefs.h <<_ACEOF
15102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15103 _ACEOF
15106 done
15108 LIBS="$ac_wine_check_funcs_save_LIBS"
15110 if test "x$LDAP_LIBS" = "x"; then :
15111 case "x$with_ldap" in
15112 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15113 xno) ;;
15114 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15115 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15116 esac
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15120 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15121 if ${wine_cv_one_arg_mkdir+:} false; then :
15122 $as_echo_n "(cached) " >&6
15123 else
15124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15126 #include <sys/stat.h>
15128 main ()
15130 mkdir("foo");
15132 return 0;
15134 _ACEOF
15135 if ac_fn_c_try_compile "$LINENO"; then :
15136 wine_cv_one_arg_mkdir=yes
15137 else
15138 wine_cv_one_arg_mkdir=no
15140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15143 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15144 if test "$wine_cv_one_arg_mkdir" = "yes"
15145 then
15147 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15152 $as_echo_n "checking for sched_setaffinity... " >&6; }
15153 if ${wine_cv_have_sched_setaffinity+:} false; then :
15154 $as_echo_n "(cached) " >&6
15155 else
15156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15157 /* end confdefs.h. */
15158 #define _GNU_SOURCE
15159 #include <sched.h>
15161 main ()
15163 sched_setaffinity(0, 0, 0);
15165 return 0;
15167 _ACEOF
15168 if ac_fn_c_try_link "$LINENO"; then :
15169 wine_cv_have_sched_setaffinity=yes
15170 else
15171 wine_cv_have_sched_setaffinity=no
15173 rm -f core conftest.err conftest.$ac_objext \
15174 conftest$ac_exeext conftest.$ac_ext
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15177 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15178 if test "$wine_cv_have_sched_setaffinity" = "yes"
15179 then
15181 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15186 $as_echo_n "checking for fallocate... " >&6; }
15187 if ${wine_cv_have_fallocate+:} false; then :
15188 $as_echo_n "(cached) " >&6
15189 else
15190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15191 /* end confdefs.h. */
15192 #define _GNU_SOURCE
15193 #include <fcntl.h>
15195 main ()
15197 fallocate(-1, 0, 0, 0);
15199 return 0;
15201 _ACEOF
15202 if ac_fn_c_try_link "$LINENO"; then :
15203 wine_cv_have_fallocate=yes
15204 else
15205 wine_cv_have_fallocate=no
15207 rm -f core conftest.err conftest.$ac_objext \
15208 conftest$ac_exeext conftest.$ac_ext
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15211 $as_echo "$wine_cv_have_fallocate" >&6; }
15212 if test "$wine_cv_have_fallocate" = "yes"
15213 then
15215 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15221 $as_echo_n "checking for inline... " >&6; }
15222 if ${ac_cv_c_inline+:} false; then :
15223 $as_echo_n "(cached) " >&6
15224 else
15225 ac_cv_c_inline=no
15226 for ac_kw in inline __inline__ __inline; do
15227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15228 /* end confdefs.h. */
15229 #ifndef __cplusplus
15230 typedef int foo_t;
15231 static $ac_kw foo_t static_foo () {return 0; }
15232 $ac_kw foo_t foo () {return 0; }
15233 #endif
15235 _ACEOF
15236 if ac_fn_c_try_compile "$LINENO"; then :
15237 ac_cv_c_inline=$ac_kw
15239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15240 test "$ac_cv_c_inline" != no && break
15241 done
15244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15245 $as_echo "$ac_cv_c_inline" >&6; }
15247 case $ac_cv_c_inline in
15248 inline | yes) ;;
15250 case $ac_cv_c_inline in
15251 no) ac_val=;;
15252 *) ac_val=$ac_cv_c_inline;;
15253 esac
15254 cat >>confdefs.h <<_ACEOF
15255 #ifndef __cplusplus
15256 #define inline $ac_val
15257 #endif
15258 _ACEOF
15260 esac
15262 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15263 if test "x$ac_cv_type_mode_t" = xyes; then :
15265 cat >>confdefs.h <<_ACEOF
15266 #define HAVE_MODE_T 1
15267 _ACEOF
15271 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15272 if test "x$ac_cv_type_off_t" = xyes; then :
15274 cat >>confdefs.h <<_ACEOF
15275 #define HAVE_OFF_T 1
15276 _ACEOF
15280 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15281 if test "x$ac_cv_type_pid_t" = xyes; then :
15283 cat >>confdefs.h <<_ACEOF
15284 #define HAVE_PID_T 1
15285 _ACEOF
15289 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15290 if test "x$ac_cv_type_size_t" = xyes; then :
15292 cat >>confdefs.h <<_ACEOF
15293 #define HAVE_SIZE_T 1
15294 _ACEOF
15298 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15299 if test "x$ac_cv_type_ssize_t" = xyes; then :
15301 cat >>confdefs.h <<_ACEOF
15302 #define HAVE_SSIZE_T 1
15303 _ACEOF
15307 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15308 if test "x$ac_cv_type_long_long" = xyes; then :
15310 cat >>confdefs.h <<_ACEOF
15311 #define HAVE_LONG_LONG 1
15312 _ACEOF
15316 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15317 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15319 cat >>confdefs.h <<_ACEOF
15320 #define HAVE_FSBLKCNT_T 1
15321 _ACEOF
15325 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15326 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15328 cat >>confdefs.h <<_ACEOF
15329 #define HAVE_FSFILCNT_T 1
15330 _ACEOF
15335 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15336 #include <signal.h>
15338 if test "x$ac_cv_type_sigset_t" = xyes; then :
15340 cat >>confdefs.h <<_ACEOF
15341 #define HAVE_SIGSET_T 1
15342 _ACEOF
15347 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15349 if test "x$ac_cv_type_request_sense" = xyes; then :
15351 cat >>confdefs.h <<_ACEOF
15352 #define HAVE_REQUEST_SENSE 1
15353 _ACEOF
15359 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15360 #ifdef HAVE_SYS_SOCKET_H
15361 #include <sys/socket.h>
15362 #endif
15363 #ifdef HAVE_SYS_SOCKETVAR_H
15364 #include <sys/socketvar.h>
15365 #endif
15366 #ifdef HAVE_NET_ROUTE_H
15367 #include <net/route.h>
15368 #endif
15369 #ifdef HAVE_NETINET_IN_H
15370 #include <netinet/in.h>
15371 #endif
15372 #ifdef HAVE_NETINET_IN_SYSTM_H
15373 #include <netinet/in_systm.h>
15374 #endif
15375 #ifdef HAVE_NETINET_IP_H
15376 #include <netinet/ip.h>
15377 #endif
15378 #ifdef HAVE_NETINET_IN_PCB_H
15379 #include <netinet/in_pcb.h>
15380 #endif
15382 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15384 cat >>confdefs.h <<_ACEOF
15385 #define HAVE_STRUCT_XINPGEN 1
15386 _ACEOF
15392 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15393 #include <link.h>
15394 #endif
15395 #ifdef HAVE_SYS_LINK_H
15396 #include <sys/link.h>
15397 #endif
15399 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15401 cat >>confdefs.h <<_ACEOF
15402 #define HAVE_STRUCT_R_DEBUG 1
15403 _ACEOF
15407 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15408 #include <link.h>
15409 #endif
15410 #ifdef HAVE_SYS_LINK_H
15411 #include <sys/link.h>
15412 #endif
15414 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15416 cat >>confdefs.h <<_ACEOF
15417 #define HAVE_STRUCT_LINK_MAP 1
15418 _ACEOF
15424 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15425 #include <linux/input.h>
15426 #endif
15428 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15430 cat >>confdefs.h <<_ACEOF
15431 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15432 _ACEOF
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15439 $as_echo_n "checking for sigaddset... " >&6; }
15440 if ${wine_cv_have_sigaddset+:} false; then :
15441 $as_echo_n "(cached) " >&6
15442 else
15443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15444 /* end confdefs.h. */
15445 #include <signal.h>
15447 main ()
15449 sigset_t set; sigaddset(&set,SIGTERM);
15451 return 0;
15453 _ACEOF
15454 if ac_fn_c_try_link "$LINENO"; then :
15455 wine_cv_have_sigaddset=yes
15456 else
15457 wine_cv_have_sigaddset=no
15459 rm -f core conftest.err conftest.$ac_objext \
15460 conftest$ac_exeext conftest.$ac_ext
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15463 $as_echo "$wine_cv_have_sigaddset" >&6; }
15464 if test "$wine_cv_have_sigaddset" = "yes"
15465 then
15467 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15473 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15474 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15475 $as_echo_n "(cached) " >&6
15476 else
15477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15478 /* end confdefs.h. */
15479 #include <netdb.h>
15481 main ()
15484 char *name=0;
15485 struct hostent he;
15486 struct hostent *result;
15487 char *buf=0;
15488 int bufsize=0;
15489 int errnr;
15490 char *addr=0;
15491 int addrlen=0;
15492 int addrtype=0;
15493 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15494 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15497 return 0;
15499 _ACEOF
15500 if ac_fn_c_try_link "$LINENO"; then :
15501 wine_cv_linux_gethostbyname_r_6=yes
15502 else
15503 wine_cv_linux_gethostbyname_r_6=no
15506 rm -f core conftest.err conftest.$ac_objext \
15507 conftest$ac_exeext conftest.$ac_ext
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15511 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15512 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15513 then
15515 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15519 if test "$ac_cv_header_linux_joystick_h" = "yes"
15520 then
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15522 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15523 if ${wine_cv_linux_joystick_22_api+:} false; then :
15524 $as_echo_n "(cached) " >&6
15525 else
15526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15527 /* end confdefs.h. */
15529 #include <sys/ioctl.h>
15530 #include <sys/types.h>
15531 #include <linux/joystick.h>
15533 struct js_event blub;
15534 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15535 #error "no 2.2 header"
15536 #endif
15539 main ()
15541 /*empty*/
15543 return 0;
15545 _ACEOF
15546 if ac_fn_c_try_compile "$LINENO"; then :
15547 wine_cv_linux_joystick_22_api=yes
15548 else
15549 wine_cv_linux_joystick_22_api=no
15551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15555 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15556 if test "$wine_cv_linux_joystick_22_api" = "yes"
15557 then
15559 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15565 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15566 #ifdef HAVE_SYS_PARAM_H
15567 # include <sys/param.h>
15568 #endif
15569 #ifdef HAVE_SYS_MOUNT_H
15570 # include <sys/mount.h>
15571 #endif
15572 #ifdef HAVE_SYS_VFS_H
15573 # include <sys/vfs.h>
15574 #endif
15575 #ifdef HAVE_SYS_STATFS_H
15576 # include <sys/statfs.h>
15577 #endif
15579 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15581 cat >>confdefs.h <<_ACEOF
15582 #define HAVE_STRUCT_STATFS_F_BFREE 1
15583 _ACEOF
15587 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15588 #ifdef HAVE_SYS_PARAM_H
15589 # include <sys/param.h>
15590 #endif
15591 #ifdef HAVE_SYS_MOUNT_H
15592 # include <sys/mount.h>
15593 #endif
15594 #ifdef HAVE_SYS_VFS_H
15595 # include <sys/vfs.h>
15596 #endif
15597 #ifdef HAVE_SYS_STATFS_H
15598 # include <sys/statfs.h>
15599 #endif
15601 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15603 cat >>confdefs.h <<_ACEOF
15604 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15605 _ACEOF
15609 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15610 #ifdef HAVE_SYS_PARAM_H
15611 # include <sys/param.h>
15612 #endif
15613 #ifdef HAVE_SYS_MOUNT_H
15614 # include <sys/mount.h>
15615 #endif
15616 #ifdef HAVE_SYS_VFS_H
15617 # include <sys/vfs.h>
15618 #endif
15619 #ifdef HAVE_SYS_STATFS_H
15620 # include <sys/statfs.h>
15621 #endif
15623 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15625 cat >>confdefs.h <<_ACEOF
15626 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15627 _ACEOF
15631 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15632 #ifdef HAVE_SYS_PARAM_H
15633 # include <sys/param.h>
15634 #endif
15635 #ifdef HAVE_SYS_MOUNT_H
15636 # include <sys/mount.h>
15637 #endif
15638 #ifdef HAVE_SYS_VFS_H
15639 # include <sys/vfs.h>
15640 #endif
15641 #ifdef HAVE_SYS_STATFS_H
15642 # include <sys/statfs.h>
15643 #endif
15645 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15647 cat >>confdefs.h <<_ACEOF
15648 #define HAVE_STRUCT_STATFS_F_FFREE 1
15649 _ACEOF
15653 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15654 #ifdef HAVE_SYS_PARAM_H
15655 # include <sys/param.h>
15656 #endif
15657 #ifdef HAVE_SYS_MOUNT_H
15658 # include <sys/mount.h>
15659 #endif
15660 #ifdef HAVE_SYS_VFS_H
15661 # include <sys/vfs.h>
15662 #endif
15663 #ifdef HAVE_SYS_STATFS_H
15664 # include <sys/statfs.h>
15665 #endif
15667 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15669 cat >>confdefs.h <<_ACEOF
15670 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15671 _ACEOF
15675 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15676 #ifdef HAVE_SYS_PARAM_H
15677 # include <sys/param.h>
15678 #endif
15679 #ifdef HAVE_SYS_MOUNT_H
15680 # include <sys/mount.h>
15681 #endif
15682 #ifdef HAVE_SYS_VFS_H
15683 # include <sys/vfs.h>
15684 #endif
15685 #ifdef HAVE_SYS_STATFS_H
15686 # include <sys/statfs.h>
15687 #endif
15689 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15691 cat >>confdefs.h <<_ACEOF
15692 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15693 _ACEOF
15699 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15700 #include <sys/statvfs.h>
15701 #endif
15703 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15705 cat >>confdefs.h <<_ACEOF
15706 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15707 _ACEOF
15713 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15714 #include <dirent.h>
15715 #endif
15717 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15719 cat >>confdefs.h <<_ACEOF
15720 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15721 _ACEOF
15727 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15728 #ifdef HAVE_SYS_SOCKET_H
15729 # include <sys/socket.h>
15730 #endif
15731 #ifdef HAVE_SYS_UN_H
15732 # include <sys/un.h>
15733 #endif
15735 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15737 cat >>confdefs.h <<_ACEOF
15738 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15739 _ACEOF
15743 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15744 #ifdef HAVE_SYS_SOCKET_H
15745 # include <sys/socket.h>
15746 #endif
15747 #ifdef HAVE_SYS_UN_H
15748 # include <sys/un.h>
15749 #endif
15751 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15753 cat >>confdefs.h <<_ACEOF
15754 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15755 _ACEOF
15759 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15760 #ifdef HAVE_SYS_SOCKET_H
15761 # include <sys/socket.h>
15762 #endif
15763 #ifdef HAVE_SYS_UN_H
15764 # include <sys/un.h>
15765 #endif
15767 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15769 cat >>confdefs.h <<_ACEOF
15770 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15771 _ACEOF
15777 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15778 #ifdef HAVE_SCSI_SG_H
15779 #include <scsi/sg.h>
15780 #endif
15782 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15784 cat >>confdefs.h <<_ACEOF
15785 #define HAVE_SCSIREQ_T_CMD 1
15786 _ACEOF
15790 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>
15791 #ifdef HAVE_SCSI_SG_H
15792 #include <scsi/sg.h>
15793 #endif
15795 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15797 cat >>confdefs.h <<_ACEOF
15798 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15799 _ACEOF
15805 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15807 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15809 cat >>confdefs.h <<_ACEOF
15810 #define HAVE_SIGINFO_T_SI_FD 1
15811 _ACEOF
15817 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15818 #ifdef HAVE_SYS_MTIO_H
15819 #include <sys/mtio.h>
15820 #endif
15822 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15824 cat >>confdefs.h <<_ACEOF
15825 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15826 _ACEOF
15830 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15831 #ifdef HAVE_SYS_MTIO_H
15832 #include <sys/mtio.h>
15833 #endif
15835 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15837 cat >>confdefs.h <<_ACEOF
15838 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15839 _ACEOF
15843 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15844 #ifdef HAVE_SYS_MTIO_H
15845 #include <sys/mtio.h>
15846 #endif
15848 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15850 cat >>confdefs.h <<_ACEOF
15851 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15852 _ACEOF
15858 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15859 #include <getopt.h>
15860 #endif
15862 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15864 cat >>confdefs.h <<_ACEOF
15865 #define HAVE_STRUCT_OPTION_NAME 1
15866 _ACEOF
15872 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15873 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15875 cat >>confdefs.h <<_ACEOF
15876 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15877 _ACEOF
15881 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15882 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15884 cat >>confdefs.h <<_ACEOF
15885 #define HAVE_STRUCT_STAT_ST_MTIM 1
15886 _ACEOF
15890 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15891 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15893 cat >>confdefs.h <<_ACEOF
15894 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15895 _ACEOF
15899 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15900 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15902 cat >>confdefs.h <<_ACEOF
15903 #define HAVE_STRUCT_STAT_ST_CTIM 1
15904 _ACEOF
15908 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15909 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15911 cat >>confdefs.h <<_ACEOF
15912 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15913 _ACEOF
15917 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15918 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15920 cat >>confdefs.h <<_ACEOF
15921 #define HAVE_STRUCT_STAT_ST_ATIM 1
15922 _ACEOF
15926 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15927 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15929 cat >>confdefs.h <<_ACEOF
15930 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15931 _ACEOF
15935 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15936 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15938 cat >>confdefs.h <<_ACEOF
15939 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15940 _ACEOF
15944 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15945 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15947 cat >>confdefs.h <<_ACEOF
15948 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15949 _ACEOF
15953 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15954 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15956 cat >>confdefs.h <<_ACEOF
15957 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15958 _ACEOF
15962 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15963 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15965 cat >>confdefs.h <<_ACEOF
15966 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15967 _ACEOF
15971 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15972 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15974 cat >>confdefs.h <<_ACEOF
15975 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15976 _ACEOF
15982 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
15983 #include <sys/types.h>
15984 #endif
15985 #ifdef HAVE_NETINET_IN_H
15986 #include <netinet/in.h>
15987 #endif
15989 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15991 cat >>confdefs.h <<_ACEOF
15992 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15993 _ACEOF
15999 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16000 #include <resolv.h>
16001 #endif
16003 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16005 cat >>confdefs.h <<_ACEOF
16006 #define HAVE_STRUCT___RES_STATE 1
16007 _ACEOF
16013 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
16014 #include <resolv.h>
16015 #endif
16017 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16019 cat >>confdefs.h <<_ACEOF
16020 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16021 _ACEOF
16027 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16028 #include <sys/types.h>
16029 #endif
16030 #ifdef HAVE_NETINET_IN_H
16031 # include <netinet/in.h>
16032 #endif
16033 #ifdef HAVE_ARPA_NAMESER_H
16034 # include <arpa/nameser.h>
16035 #endif
16037 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16039 cat >>confdefs.h <<_ACEOF
16040 #define HAVE_NS_MSG__MSG_PTR 1
16041 _ACEOF
16047 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16048 #include <sys/types.h>
16049 #endif
16050 #ifdef HAVE_NETINET_IP_H
16051 #include <netinet/ip.h>
16052 #endif
16053 #ifdef HAVE_NETINET_IP_ICMP_H
16054 #include <netinet/ip_icmp.h>
16055 #endif
16056 #ifdef HAVE_NETINET_ICMP_VAR_H
16057 #include <netinet/icmp_var.h>
16058 #endif
16060 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16062 cat >>confdefs.h <<_ACEOF
16063 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16064 _ACEOF
16070 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16071 #include <sys/types.h>
16072 #endif
16073 #ifdef HAVE_ALIAS_H
16074 #include <alias.h>
16075 #endif
16076 #ifdef HAVE_SYS_SOCKET_H
16077 #include <sys/socket.h>
16078 #endif
16079 #ifdef HAVE_SYS_SOCKETVAR_H
16080 #include <sys/socketvar.h>
16081 #endif
16082 #ifdef HAVE_SYS_TIMEOUT_H
16083 #include <sys/timeout.h>
16084 #endif
16085 #ifdef HAVE_NETINET_IN_H
16086 #include <netinet/in.h>
16087 #endif
16088 #ifdef HAVE_NETINET_IN_SYSTM_H
16089 #include <netinet/in_systm.h>
16090 #endif
16091 #ifdef HAVE_NETINET_IP_H
16092 #include <netinet/ip.h>
16093 #endif
16094 #ifdef HAVE_NETINET_IP_VAR_H
16095 #include <netinet/ip_var.h>
16096 #endif
16097 #ifdef HAVE_NETINET_IP_ICMP_H
16098 #include <netinet/ip_icmp.h>
16099 #endif
16100 #ifdef HAVE_NETINET_ICMP_VAR_H
16101 #include <netinet/icmp_var.h>
16102 #endif
16104 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16106 cat >>confdefs.h <<_ACEOF
16107 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16108 _ACEOF
16114 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16115 #include <sys/types.h>
16116 #endif
16117 #ifdef HAVE_SYS_SOCKETVAR_H
16118 #include <sys/socketvar.h>
16119 #endif
16120 #ifdef HAVE_NETINET_IN_H
16121 #include <netinet/in.h>
16122 #endif
16123 #ifdef HAVE_NETINET_IP_VAR_H
16124 #include <netinet/ip_var.h>
16125 #endif
16127 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16129 cat >>confdefs.h <<_ACEOF
16130 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16131 _ACEOF
16137 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
16138 #include <netinet/ip_var.h>
16139 #endif
16141 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16143 cat >>confdefs.h <<_ACEOF
16144 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16145 _ACEOF
16151 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16152 #include <sys/types.h>
16153 #endif
16154 #ifdef HAVE_SYS_SOCKETVAR_H
16155 #include <sys/socketvar.h>
16156 #endif
16157 #ifdef HAVE_NETINET_IN_H
16158 #include <netinet/in.h>
16159 #endif
16160 #ifdef HAVE_NETINET_TCP_H
16161 #include <netinet/tcp.h>
16162 #endif
16163 #ifdef HAVE_NETINET_TCP_VAR_H
16164 #include <netinet/tcp_var.h>
16165 #endif
16167 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16169 cat >>confdefs.h <<_ACEOF
16170 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16171 _ACEOF
16177 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
16178 #include <netinet/tcp_var.h>
16179 #endif
16181 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16183 cat >>confdefs.h <<_ACEOF
16184 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16185 _ACEOF
16191 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16192 #include <sys/types.h>
16193 #endif
16194 #ifdef HAVE_NETINET_IN_H
16195 #include <netinet/in.h>
16196 #endif
16197 #ifdef HAVE_NETINET_IP_VAR_H
16198 #include <netinet/ip_var.h>
16199 #endif
16200 #ifdef HAVE_NETINET_UDP_H
16201 #include <netinet/udp.h>
16202 #endif
16203 #ifdef HAVE_NETINET_UDP_VAR_H
16204 #include <netinet/udp_var.h>
16205 #endif
16207 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16209 cat >>confdefs.h <<_ACEOF
16210 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16211 _ACEOF
16217 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16218 #include <sys/types.h>
16219 #endif
16220 #ifdef HAVE_NET_IF_H
16221 # include <net/if.h>
16222 #endif
16224 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16226 cat >>confdefs.h <<_ACEOF
16227 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16228 _ACEOF
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16235 $as_echo_n "checking for timezone variable... " >&6; }
16236 if ${ac_cv_have_timezone+:} false; then :
16237 $as_echo_n "(cached) " >&6
16238 else
16239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16240 /* end confdefs.h. */
16241 #include <time.h>
16243 main ()
16245 timezone = 1
16247 return 0;
16249 _ACEOF
16250 if ac_fn_c_try_link "$LINENO"; then :
16251 ac_cv_have_timezone="yes"
16252 else
16253 ac_cv_have_timezone="no"
16255 rm -f core conftest.err conftest.$ac_objext \
16256 conftest$ac_exeext conftest.$ac_ext
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16259 $as_echo "$ac_cv_have_timezone" >&6; }
16260 if test "$ac_cv_have_timezone" = "yes"
16261 then
16263 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16267 $as_echo_n "checking for daylight variable... " >&6; }
16268 if ${ac_cv_have_daylight+:} false; then :
16269 $as_echo_n "(cached) " >&6
16270 else
16271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16272 /* end confdefs.h. */
16273 #include <time.h>
16275 main ()
16277 daylight = 1
16279 return 0;
16281 _ACEOF
16282 if ac_fn_c_try_link "$LINENO"; then :
16283 ac_cv_have_daylight="yes"
16284 else
16285 ac_cv_have_daylight="no"
16287 rm -f core conftest.err conftest.$ac_objext \
16288 conftest$ac_exeext conftest.$ac_ext
16290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16291 $as_echo "$ac_cv_have_daylight" >&6; }
16292 if test "$ac_cv_have_daylight" = "yes"
16293 then
16295 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16299 ac_save_LIBS="$LIBS"
16300 LIBS="$LIBS -lm"
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16302 $as_echo_n "checking for isfinite... " >&6; }
16303 if ${ac_cv_have_isfinite+:} false; then :
16304 $as_echo_n "(cached) " >&6
16305 else
16306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16307 /* end confdefs.h. */
16308 #define _GNU_SOURCE
16309 #include <math.h>
16311 main ()
16313 float f = 0.0; return isfinite(f)
16315 return 0;
16317 _ACEOF
16318 if ac_fn_c_try_link "$LINENO"; then :
16319 ac_cv_have_isfinite="yes"
16320 else
16321 ac_cv_have_isfinite="no"
16323 rm -f core conftest.err conftest.$ac_objext \
16324 conftest$ac_exeext conftest.$ac_ext
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16327 $as_echo "$ac_cv_have_isfinite" >&6; }
16328 if test "$ac_cv_have_isfinite" = "yes"
16329 then
16331 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16335 ac_save_LIBS="$LIBS"
16336 LIBS="$LIBS -lm"
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16338 $as_echo_n "checking for isinf... " >&6; }
16339 if ${ac_cv_have_isinf+:} false; then :
16340 $as_echo_n "(cached) " >&6
16341 else
16342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16343 /* end confdefs.h. */
16344 #include <math.h>
16346 main ()
16348 float f = 0.0; return isinf(f)
16350 return 0;
16352 _ACEOF
16353 if ac_fn_c_try_link "$LINENO"; then :
16354 ac_cv_have_isinf="yes"
16355 else
16356 ac_cv_have_isinf="no"
16358 rm -f core conftest.err conftest.$ac_objext \
16359 conftest$ac_exeext conftest.$ac_ext
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16362 $as_echo "$ac_cv_have_isinf" >&6; }
16363 if test "$ac_cv_have_isinf" = "yes"
16364 then
16366 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16371 $as_echo_n "checking for isnan... " >&6; }
16372 if ${ac_cv_have_isnan+:} false; then :
16373 $as_echo_n "(cached) " >&6
16374 else
16375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16376 /* end confdefs.h. */
16377 #include <math.h>
16379 main ()
16381 float f = 0.0; return isnan(f)
16383 return 0;
16385 _ACEOF
16386 if ac_fn_c_try_link "$LINENO"; then :
16387 ac_cv_have_isnan="yes"
16388 else
16389 ac_cv_have_isnan="no"
16391 rm -f core conftest.err conftest.$ac_objext \
16392 conftest$ac_exeext conftest.$ac_ext
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16395 $as_echo "$ac_cv_have_isnan" >&6; }
16396 if test "$ac_cv_have_isnan" = "yes"
16397 then
16399 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16402 LIBS="$ac_save_LIBS"
16405 case $host_cpu in
16406 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16407 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16408 if ${ac_cv_cpp_def___i386__+:} false; then :
16409 $as_echo_n "(cached) " >&6
16410 else
16411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16412 /* end confdefs.h. */
16413 #ifndef __i386__
16415 #endif
16416 _ACEOF
16417 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16418 $EGREP "yes" >/dev/null 2>&1; then :
16419 ac_cv_cpp_def___i386__=yes
16420 else
16421 ac_cv_cpp_def___i386__=no
16423 rm -f conftest*
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16427 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16428 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16429 CFLAGS="$CFLAGS -D__i386__"
16430 LINTFLAGS="$LINTFLAGS -D__i386__"
16431 fi ;;
16432 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16433 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16434 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16435 $as_echo_n "(cached) " >&6
16436 else
16437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16438 /* end confdefs.h. */
16439 #ifndef __x86_64__
16441 #endif
16442 _ACEOF
16443 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16444 $EGREP "yes" >/dev/null 2>&1; then :
16445 ac_cv_cpp_def___x86_64__=yes
16446 else
16447 ac_cv_cpp_def___x86_64__=no
16449 rm -f conftest*
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16453 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16454 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16455 CFLAGS="$CFLAGS -D__x86_64__"
16456 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16457 fi ;;
16458 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16459 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16460 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16461 $as_echo_n "(cached) " >&6
16462 else
16463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16464 /* end confdefs.h. */
16465 #ifndef __sparc64__
16467 #endif
16468 _ACEOF
16469 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16470 $EGREP "yes" >/dev/null 2>&1; then :
16471 ac_cv_cpp_def___sparc64__=yes
16472 else
16473 ac_cv_cpp_def___sparc64__=no
16475 rm -f conftest*
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16479 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16480 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16481 CFLAGS="$CFLAGS -D__sparc64__"
16482 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16483 fi ;;
16484 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16485 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16486 if ${ac_cv_cpp_def___sparc__+:} false; then :
16487 $as_echo_n "(cached) " >&6
16488 else
16489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16490 /* end confdefs.h. */
16491 #ifndef __sparc__
16493 #endif
16494 _ACEOF
16495 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16496 $EGREP "yes" >/dev/null 2>&1; then :
16497 ac_cv_cpp_def___sparc__=yes
16498 else
16499 ac_cv_cpp_def___sparc__=no
16501 rm -f conftest*
16504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16505 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16506 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16507 CFLAGS="$CFLAGS -D__sparc__"
16508 LINTFLAGS="$LINTFLAGS -D__sparc__"
16509 fi ;;
16510 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16511 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16512 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16513 $as_echo_n "(cached) " >&6
16514 else
16515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16516 /* end confdefs.h. */
16517 #ifndef __powerpc64__
16519 #endif
16520 _ACEOF
16521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16522 $EGREP "yes" >/dev/null 2>&1; then :
16523 ac_cv_cpp_def___powerpc64__=yes
16524 else
16525 ac_cv_cpp_def___powerpc64__=no
16527 rm -f conftest*
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16531 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16532 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16533 CFLAGS="$CFLAGS -D__powerpc64__"
16534 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16535 fi ;;
16536 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16537 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16538 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16539 $as_echo_n "(cached) " >&6
16540 else
16541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16542 /* end confdefs.h. */
16543 #ifndef __powerpc__
16545 #endif
16546 _ACEOF
16547 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16548 $EGREP "yes" >/dev/null 2>&1; then :
16549 ac_cv_cpp_def___powerpc__=yes
16550 else
16551 ac_cv_cpp_def___powerpc__=no
16553 rm -f conftest*
16556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16557 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16558 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16559 CFLAGS="$CFLAGS -D__powerpc__"
16560 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16561 fi ;;
16562 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16563 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16564 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16565 $as_echo_n "(cached) " >&6
16566 else
16567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16568 /* end confdefs.h. */
16569 #ifndef __aarch64__
16571 #endif
16572 _ACEOF
16573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16574 $EGREP "yes" >/dev/null 2>&1; then :
16575 ac_cv_cpp_def___aarch64__=yes
16576 else
16577 ac_cv_cpp_def___aarch64__=no
16579 rm -f conftest*
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16583 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16584 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16585 CFLAGS="$CFLAGS -D__aarch64__"
16586 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16587 fi ;;
16588 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16589 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16590 if ${ac_cv_cpp_def___arm__+:} false; then :
16591 $as_echo_n "(cached) " >&6
16592 else
16593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16594 /* end confdefs.h. */
16595 #ifndef __arm__
16597 #endif
16598 _ACEOF
16599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16600 $EGREP "yes" >/dev/null 2>&1; then :
16601 ac_cv_cpp_def___arm__=yes
16602 else
16603 ac_cv_cpp_def___arm__=no
16605 rm -f conftest*
16608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16609 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16610 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16611 CFLAGS="$CFLAGS -D__arm__"
16612 LINTFLAGS="$LINTFLAGS -D__arm__"
16613 fi ;;
16614 esac
16616 case $host_vendor in
16617 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16618 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16619 if ${ac_cv_cpp_def___sun__+:} false; then :
16620 $as_echo_n "(cached) " >&6
16621 else
16622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16623 /* end confdefs.h. */
16624 #ifndef __sun__
16626 #endif
16627 _ACEOF
16628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16629 $EGREP "yes" >/dev/null 2>&1; then :
16630 ac_cv_cpp_def___sun__=yes
16631 else
16632 ac_cv_cpp_def___sun__=no
16634 rm -f conftest*
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16638 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16639 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16640 CFLAGS="$CFLAGS -D__sun__"
16641 LINTFLAGS="$LINTFLAGS -D__sun__"
16642 fi ;;
16643 esac
16649 ac_config_commands="$ac_config_commands include/stamp-h"
16651 $as_echo_n "creating Makefile rules..." >&6
16653 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16654 SOCKET_LIBS = $SOCKET_LIBS
16655 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16656 IOKIT_LIBS = $IOKIT_LIBS
16657 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16658 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16659 CORESERVICES_LIBS = $CORESERVICES_LIBS
16660 APPKIT_LIBS = $APPKIT_LIBS
16661 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16662 SECURITY_LIBS = $SECURITY_LIBS
16663 COREAUDIO_LIBS = $COREAUDIO_LIBS
16664 OPENAL_LIBS = $OPENAL_LIBS
16665 OPENCL_LIBS = $OPENCL_LIBS
16666 QUICKTIME_LIBS = $QUICKTIME_LIBS
16667 CARBON_LIBS = $CARBON_LIBS
16668 PTHREAD_LIBS = $PTHREAD_LIBS
16669 X_CFLAGS = $X_CFLAGS
16670 X_PRE_LIBS = $X_PRE_LIBS
16671 X_LIBS = $X_LIBS
16672 X_EXTRA_LIBS = $X_EXTRA_LIBS
16673 XML2_CFLAGS = $XML2_CFLAGS
16674 XML2_LIBS = $XML2_LIBS
16675 XSLT_CFLAGS = $XSLT_CFLAGS
16676 XSLT_LIBS = $XSLT_LIBS
16677 DBUS_CFLAGS = $DBUS_CFLAGS
16678 DBUS_LIBS = $DBUS_LIBS
16679 HAL_CFLAGS = $HAL_CFLAGS
16680 HAL_LIBS = $HAL_LIBS
16681 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16682 GNUTLS_LIBS = $GNUTLS_LIBS
16683 SANE_CFLAGS = $SANE_CFLAGS
16684 SANE_LIBS = $SANE_LIBS
16685 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16686 GPHOTO2_LIBS = $GPHOTO2_LIBS
16687 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16688 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16689 RESOLV_LIBS = $RESOLV_LIBS
16690 LCMS2_CFLAGS = $LCMS2_CFLAGS
16691 LCMS2_LIBS = $LCMS2_LIBS
16692 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16693 FREETYPE_LIBS = $FREETYPE_LIBS
16694 Z_LIBS = $Z_LIBS
16695 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16696 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16697 GSTREAMER_LIBS = $GSTREAMER_LIBS
16698 ALSA_LIBS = $ALSA_LIBS
16699 OSS4_CFLAGS = $OSS4_CFLAGS
16700 CAPI20_CFLAGS = $CAPI20_CFLAGS
16701 CAPI20_LIBS = $CAPI20_LIBS
16702 CUPS_CFLAGS = $CUPS_CFLAGS
16703 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16704 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16705 JPEG_CFLAGS = $JPEG_CFLAGS
16706 JPEG_LIBS = $JPEG_LIBS
16707 PNG_CFLAGS = $PNG_CFLAGS
16708 PNG_LIBS = $PNG_LIBS
16709 TIFF_CFLAGS = $TIFF_CFLAGS
16710 TIFF_LIBS = $TIFF_LIBS
16711 MPG123_CFLAGS = $MPG123_CFLAGS
16712 MPG123_LIBS = $MPG123_LIBS
16713 KSTAT_LIBS = $KSTAT_LIBS
16714 PROCSTAT_LIBS = $PROCSTAT_LIBS
16715 DL_LIBS = $DL_LIBS
16716 POLL_LIBS = $POLL_LIBS
16717 RT_LIBS = $RT_LIBS
16718 LDAP_LIBS = $LDAP_LIBS
16723 wine_fn_append_rule "
16724 # Rules automatically generated by configure
16726 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16728 .INIT: Makefile
16729 .MAKEFILEDEPS:
16730 all: Makefile
16731 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16732 @./config.status Make.tmp Makefile"
16734 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16735 .gitignore: config.status
16736 @./config.status .gitignore"
16738 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16739 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16741 if test "x$enable_fonts" != xno; then
16742 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16743 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16744 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16745 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16746 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16748 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16749 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16750 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16751 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16752 ac_config_links="$ac_config_links wine:tools/winewrapper"
16753 wine_fn_config_symlink wine
16754 if test "x$enable_win64" != xno; then
16755 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16756 wine_fn_config_symlink wine64
16759 wine_fn_config_dll acledit enable_acledit
16760 wine_fn_config_dll aclui enable_aclui implib
16761 wine_fn_config_dll activeds enable_activeds implib
16762 wine_fn_config_dll actxprxy enable_actxprxy clean
16763 wine_fn_config_lib adsiid
16764 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16765 wine_fn_config_test dlls/advapi32/tests advapi32_test
16766 wine_fn_config_dll advpack enable_advpack implib
16767 wine_fn_config_test dlls/advpack/tests advpack_test
16768 wine_fn_config_dll amstream enable_amstream clean
16769 wine_fn_config_test dlls/amstream/tests amstream_test
16770 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16771 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16772 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16773 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16774 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16775 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16776 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16777 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16778 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16779 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16780 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16781 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16782 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16783 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16784 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16785 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16786 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16787 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16788 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16789 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16790 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16791 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16792 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16793 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16794 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16795 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16796 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16797 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16798 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16799 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16800 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16801 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16802 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16803 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16804 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16805 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16806 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16807 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16808 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16809 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16810 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16811 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16812 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16813 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16814 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16815 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16816 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16817 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16818 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16819 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16820 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16821 wine_fn_config_dll apphelp enable_apphelp
16822 wine_fn_config_test dlls/apphelp/tests apphelp_test
16823 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16824 wine_fn_config_dll atl enable_atl clean,implib
16825 wine_fn_config_test dlls/atl/tests atl_test
16826 wine_fn_config_dll atl100 enable_atl100 clean,implib
16827 wine_fn_config_test dlls/atl100/tests atl100_test
16828 wine_fn_config_dll atl110 enable_atl110 clean
16829 wine_fn_config_dll atl80 enable_atl80 clean,implib
16830 wine_fn_config_test dlls/atl80/tests atl80_test
16831 wine_fn_config_dll atl90 enable_atl90 clean
16832 wine_fn_config_dll authz enable_authz
16833 wine_fn_config_dll avicap32 enable_avicap32 implib
16834 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16835 wine_fn_config_test dlls/avifil32/tests avifil32_test
16836 wine_fn_config_dll avifile.dll16 enable_win16
16837 wine_fn_config_dll avrt enable_avrt implib
16838 wine_fn_config_dll bcrypt enable_bcrypt
16839 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16840 wine_fn_config_dll browseui enable_browseui clean,po
16841 wine_fn_config_test dlls/browseui/tests browseui_test
16842 wine_fn_config_dll cabinet enable_cabinet implib
16843 wine_fn_config_test dlls/cabinet/tests cabinet_test
16844 wine_fn_config_dll capi2032 enable_capi2032 implib
16845 wine_fn_config_dll cards enable_cards implib
16846 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16847 wine_fn_config_dll clusapi enable_clusapi implib
16848 wine_fn_config_dll comcat enable_comcat
16849 wine_fn_config_test dlls/comcat/tests comcat_test
16850 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16851 wine_fn_config_test dlls/comctl32/tests comctl32_test
16852 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16853 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16854 wine_fn_config_dll comm.drv16 enable_win16
16855 wine_fn_config_dll commdlg.dll16 enable_win16
16856 wine_fn_config_dll compobj.dll16 enable_win16
16857 wine_fn_config_dll compstui enable_compstui implib
16858 wine_fn_config_dll comsvcs enable_comsvcs implib
16859 wine_fn_config_dll credui enable_credui implib,po
16860 wine_fn_config_test dlls/credui/tests credui_test
16861 wine_fn_config_dll crtdll enable_crtdll implib
16862 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16863 wine_fn_config_test dlls/crypt32/tests crypt32_test
16864 wine_fn_config_dll cryptdlg enable_cryptdlg po
16865 wine_fn_config_dll cryptdll enable_cryptdll implib
16866 wine_fn_config_dll cryptext enable_cryptext
16867 wine_fn_config_dll cryptnet enable_cryptnet implib
16868 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16869 wine_fn_config_dll cryptui enable_cryptui implib,po
16870 wine_fn_config_test dlls/cryptui/tests cryptui_test
16871 wine_fn_config_dll ctapi32 enable_ctapi32
16872 wine_fn_config_dll ctl3d.dll16 enable_win16
16873 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16874 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16875 wine_fn_config_dll d2d1 enable_d2d1 implib
16876 wine_fn_config_test dlls/d2d1/tests d2d1_test
16877 wine_fn_config_dll d3d10 enable_d3d10 implib
16878 wine_fn_config_test dlls/d3d10/tests d3d10_test
16879 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16880 wine_fn_config_dll d3d10core enable_d3d10core implib
16881 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16882 wine_fn_config_dll d3d11 enable_d3d11
16883 wine_fn_config_dll d3d8 enable_d3d8 implib
16884 wine_fn_config_test dlls/d3d8/tests d3d8_test
16885 wine_fn_config_dll d3d9 enable_d3d9 implib
16886 wine_fn_config_test dlls/d3d9/tests d3d9_test
16887 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16888 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16889 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16890 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16891 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16892 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16893 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16894 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16895 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16896 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16897 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16898 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16899 wine_fn_config_dll d3dim enable_d3dim implib
16900 wine_fn_config_dll d3drm enable_d3drm implib
16901 wine_fn_config_test dlls/d3drm/tests d3drm_test
16902 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16903 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16904 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16905 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16906 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16907 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16908 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16909 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16910 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16911 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16912 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16913 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16914 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16915 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16916 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16917 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16918 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16919 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16920 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16921 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16922 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16923 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16924 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16925 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16926 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16927 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16928 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16929 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16930 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16931 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16932 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16933 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16934 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16935 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16936 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16937 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16938 wine_fn_config_dll dbgeng enable_dbgeng implib
16939 wine_fn_config_dll dbghelp enable_dbghelp implib
16940 wine_fn_config_dll dciman32 enable_dciman32 implib
16941 wine_fn_config_dll ddeml.dll16 enable_win16
16942 wine_fn_config_dll ddraw enable_ddraw clean,implib
16943 wine_fn_config_test dlls/ddraw/tests ddraw_test
16944 wine_fn_config_dll ddrawex enable_ddrawex clean
16945 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16946 wine_fn_config_dll devenum enable_devenum clean,po
16947 wine_fn_config_test dlls/devenum/tests devenum_test
16948 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16949 wine_fn_config_dll difxapi enable_difxapi
16950 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16951 wine_fn_config_test dlls/dinput/tests dinput_test
16952 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16953 wine_fn_config_test dlls/dinput8/tests dinput8_test
16954 wine_fn_config_dll dispdib.dll16 enable_win16
16955 wine_fn_config_dll dispex enable_dispex clean
16956 wine_fn_config_test dlls/dispex/tests dispex_test
16957 wine_fn_config_dll display.drv16 enable_win16
16958 wine_fn_config_dll dmband enable_dmband clean
16959 wine_fn_config_test dlls/dmband/tests dmband_test
16960 wine_fn_config_dll dmcompos enable_dmcompos clean
16961 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16962 wine_fn_config_dll dmime enable_dmime clean
16963 wine_fn_config_test dlls/dmime/tests dmime_test
16964 wine_fn_config_dll dmloader enable_dmloader clean
16965 wine_fn_config_test dlls/dmloader/tests dmloader_test
16966 wine_fn_config_dll dmscript enable_dmscript clean
16967 wine_fn_config_test dlls/dmscript/tests dmscript_test
16968 wine_fn_config_dll dmstyle enable_dmstyle clean
16969 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16970 wine_fn_config_dll dmsynth enable_dmsynth clean
16971 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16972 wine_fn_config_dll dmusic enable_dmusic clean
16973 wine_fn_config_test dlls/dmusic/tests dmusic_test
16974 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16975 wine_fn_config_dll dnsapi enable_dnsapi implib
16976 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16977 wine_fn_config_dll dplay enable_dplay implib
16978 wine_fn_config_dll dplayx enable_dplayx clean,implib
16979 wine_fn_config_test dlls/dplayx/tests dplayx_test
16980 wine_fn_config_dll dpnaddr enable_dpnaddr
16981 wine_fn_config_dll dpnet enable_dpnet clean,implib
16982 wine_fn_config_test dlls/dpnet/tests dpnet_test
16983 wine_fn_config_dll dpnhpast enable_dpnhpast
16984 wine_fn_config_dll dpnlobby enable_dpnlobby
16985 wine_fn_config_dll dpvoice enable_dpvoice clean
16986 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
16987 wine_fn_config_dll dpwsockx enable_dpwsockx
16988 wine_fn_config_dll drmclien enable_drmclien
16989 wine_fn_config_dll dsound enable_dsound clean,implib
16990 wine_fn_config_test dlls/dsound/tests dsound_test
16991 wine_fn_config_dll dssenh enable_dssenh
16992 wine_fn_config_test dlls/dssenh/tests dssenh_test
16993 wine_fn_config_dll dswave enable_dswave clean
16994 wine_fn_config_test dlls/dswave/tests dswave_test
16995 wine_fn_config_dll dwmapi enable_dwmapi implib
16996 wine_fn_config_dll dwrite enable_dwrite implib
16997 wine_fn_config_test dlls/dwrite/tests dwrite_test
16998 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16999 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17000 wine_fn_config_lib dxerr8
17001 wine_fn_config_lib dxerr9
17002 wine_fn_config_dll dxgi enable_dxgi implib
17003 wine_fn_config_test dlls/dxgi/tests dxgi_test
17004 wine_fn_config_lib dxguid
17005 wine_fn_config_dll dxva2 enable_dxva2
17006 wine_fn_config_dll explorerframe enable_explorerframe clean
17007 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17008 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17009 wine_fn_config_dll faultrep enable_faultrep implib
17010 wine_fn_config_test dlls/faultrep/tests faultrep_test
17011 wine_fn_config_dll fltlib enable_fltlib
17012 wine_fn_config_dll fntcache enable_fntcache
17013 wine_fn_config_dll fontsub enable_fontsub
17014 wine_fn_config_dll fusion enable_fusion
17015 wine_fn_config_test dlls/fusion/tests fusion_test
17016 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17017 wine_fn_config_dll gameux enable_gameux clean
17018 wine_fn_config_test dlls/gameux/tests gameux_test
17019 wine_fn_config_dll gdi.exe16 enable_win16
17020 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17021 wine_fn_config_test dlls/gdi32/tests gdi32_test
17022 wine_fn_config_dll gdiplus enable_gdiplus implib
17023 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17024 wine_fn_config_dll glu32 enable_glu32 implib
17025 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17026 wine_fn_config_dll gpkcsp enable_gpkcsp
17027 wine_fn_config_dll hal enable_hal
17028 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17029 wine_fn_config_dll hid enable_hid implib
17030 wine_fn_config_dll hlink enable_hlink clean,implib
17031 wine_fn_config_test dlls/hlink/tests hlink_test
17032 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17033 wine_fn_config_dll httpapi enable_httpapi
17034 wine_fn_config_dll iccvid enable_iccvid po
17035 wine_fn_config_dll icmp enable_icmp
17036 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17037 wine_fn_config_test dlls/ieframe/tests ieframe_test
17038 wine_fn_config_dll ifsmgr.vxd enable_win16
17039 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17040 wine_fn_config_dll imagehlp enable_imagehlp implib
17041 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17042 wine_fn_config_dll imm.dll16 enable_win16
17043 wine_fn_config_dll imm32 enable_imm32 implib
17044 wine_fn_config_test dlls/imm32/tests imm32_test
17045 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17046 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17047 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17048 wine_fn_config_dll inetmib1 enable_inetmib1
17049 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17050 wine_fn_config_dll infosoft enable_infosoft clean
17051 wine_fn_config_test dlls/infosoft/tests infosoft_test
17052 wine_fn_config_dll initpki enable_initpki
17053 wine_fn_config_dll inkobj enable_inkobj
17054 wine_fn_config_dll inseng enable_inseng clean
17055 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17056 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17057 wine_fn_config_dll itircl enable_itircl
17058 wine_fn_config_dll itss enable_itss clean
17059 wine_fn_config_test dlls/itss/tests itss_test
17060 wine_fn_config_dll joy.cpl enable_joy_cpl po
17061 wine_fn_config_dll jscript enable_jscript clean,po
17062 wine_fn_config_test dlls/jscript/tests jscript_test
17063 wine_fn_config_dll jsproxy enable_jsproxy implib
17064 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17065 wine_fn_config_test dlls/kernel32/tests kernel32_test
17066 wine_fn_config_dll keyboard.drv16 enable_win16
17067 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17068 wine_fn_config_dll ksuser enable_ksuser
17069 wine_fn_config_dll ktmw32 enable_ktmw32
17070 wine_fn_config_dll loadperf enable_loadperf implib
17071 wine_fn_config_dll localspl enable_localspl po
17072 wine_fn_config_test dlls/localspl/tests localspl_test
17073 wine_fn_config_dll localui enable_localui po
17074 wine_fn_config_test dlls/localui/tests localui_test
17075 wine_fn_config_dll lz32 enable_lz32 implib
17076 wine_fn_config_test dlls/lz32/tests lz32_test
17077 wine_fn_config_dll lzexpand.dll16 enable_win16
17078 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17079 wine_fn_config_test dlls/mapi32/tests mapi32_test
17080 wine_fn_config_dll mapistub enable_mapistub
17081 wine_fn_config_dll mciavi32 enable_mciavi32
17082 wine_fn_config_dll mcicda enable_mcicda
17083 wine_fn_config_dll mciqtz32 enable_mciqtz32
17084 wine_fn_config_dll mciseq enable_mciseq
17085 wine_fn_config_dll mciwave enable_mciwave
17086 wine_fn_config_dll mgmtapi enable_mgmtapi
17087 wine_fn_config_dll midimap enable_midimap
17088 wine_fn_config_dll mlang enable_mlang clean,implib
17089 wine_fn_config_test dlls/mlang/tests mlang_test
17090 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17091 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17092 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17093 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17094 wine_fn_config_dll mmdevldr.vxd enable_win16
17095 wine_fn_config_dll mmsystem.dll16 enable_win16
17096 wine_fn_config_dll monodebg.vxd enable_win16
17097 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17098 wine_fn_config_dll mouse.drv16 enable_win16
17099 wine_fn_config_dll mpr enable_mpr implib,po
17100 wine_fn_config_test dlls/mpr/tests mpr_test
17101 wine_fn_config_dll mprapi enable_mprapi implib
17102 wine_fn_config_dll msacm.dll16 enable_win16
17103 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17104 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17105 wine_fn_config_test dlls/msacm32/tests msacm32_test
17106 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17107 wine_fn_config_dll msasn1 enable_msasn1 implib
17108 wine_fn_config_dll mscat32 enable_mscat32
17109 wine_fn_config_dll mscms enable_mscms implib
17110 wine_fn_config_test dlls/mscms/tests mscms_test
17111 wine_fn_config_dll mscoree enable_mscoree clean
17112 wine_fn_config_test dlls/mscoree/tests mscoree_test
17113 wine_fn_config_dll msctf enable_msctf clean
17114 wine_fn_config_test dlls/msctf/tests msctf_test
17115 wine_fn_config_dll msdaps enable_msdaps clean
17116 wine_fn_config_dll msdmo enable_msdmo implib
17117 wine_fn_config_dll msftedit enable_msftedit
17118 wine_fn_config_dll msg711.acm enable_msg711_acm
17119 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17120 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17121 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17122 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17123 wine_fn_config_dll msi enable_msi clean,implib,po
17124 wine_fn_config_test dlls/msi/tests msi_test
17125 wine_fn_config_dll msident enable_msident clean
17126 wine_fn_config_dll msimg32 enable_msimg32 implib
17127 wine_fn_config_dll msimsg enable_msimsg
17128 wine_fn_config_dll msimtf enable_msimtf clean
17129 wine_fn_config_dll msisip enable_msisip
17130 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17131 wine_fn_config_dll msls31 enable_msls31
17132 wine_fn_config_dll msnet32 enable_msnet32
17133 wine_fn_config_dll mspatcha enable_mspatcha
17134 wine_fn_config_dll msrle32 enable_msrle32 po
17135 wine_fn_config_test dlls/msrle32/tests msrle32_test
17136 wine_fn_config_dll mssign32 enable_mssign32
17137 wine_fn_config_dll mssip32 enable_mssip32
17138 wine_fn_config_dll mstask enable_mstask clean
17139 wine_fn_config_test dlls/mstask/tests mstask_test
17140 wine_fn_config_dll msvcirt enable_msvcirt
17141 wine_fn_config_dll msvcm80 enable_msvcm80
17142 wine_fn_config_dll msvcm90 enable_msvcm90
17143 wine_fn_config_dll msvcp100 enable_msvcp100
17144 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17145 wine_fn_config_dll msvcp110 enable_msvcp110
17146 wine_fn_config_dll msvcp120 enable_msvcp120
17147 wine_fn_config_dll msvcp60 enable_msvcp60
17148 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17149 wine_fn_config_dll msvcp70 enable_msvcp70
17150 wine_fn_config_dll msvcp71 enable_msvcp71
17151 wine_fn_config_dll msvcp80 enable_msvcp80
17152 wine_fn_config_dll msvcp90 enable_msvcp90
17153 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17154 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17155 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17156 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17157 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17158 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17159 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17160 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17161 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17162 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17163 wine_fn_config_dll msvcrt enable_msvcrt implib
17164 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17165 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17166 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17167 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17168 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17169 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17170 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17171 wine_fn_config_dll msvidc32 enable_msvidc32 po
17172 wine_fn_config_dll msvideo.dll16 enable_win16
17173 wine_fn_config_dll mswsock enable_mswsock implib
17174 wine_fn_config_dll msxml enable_msxml clean
17175 wine_fn_config_dll msxml2 enable_msxml2 clean
17176 wine_fn_config_dll msxml3 enable_msxml3 clean
17177 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17178 wine_fn_config_dll msxml4 enable_msxml4 clean
17179 wine_fn_config_dll msxml6 enable_msxml6 clean
17180 wine_fn_config_dll nddeapi enable_nddeapi implib
17181 wine_fn_config_dll ndis.sys enable_ndis_sys
17182 wine_fn_config_dll netapi32 enable_netapi32 implib
17183 wine_fn_config_test dlls/netapi32/tests netapi32_test
17184 wine_fn_config_dll netcfgx enable_netcfgx clean
17185 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17186 wine_fn_config_dll netprofm enable_netprofm clean
17187 wine_fn_config_test dlls/netprofm/tests netprofm_test
17188 wine_fn_config_dll newdev enable_newdev implib
17189 wine_fn_config_dll normaliz enable_normaliz implib
17190 wine_fn_config_dll npmshtml enable_npmshtml
17191 wine_fn_config_dll npptools enable_npptools
17192 wine_fn_config_dll ntdll enable_ntdll implib
17193 wine_fn_config_test dlls/ntdll/tests ntdll_test
17194 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17195 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17196 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17197 wine_fn_config_dll ntprint enable_ntprint
17198 wine_fn_config_test dlls/ntprint/tests ntprint_test
17199 wine_fn_config_dll objsel enable_objsel clean
17200 wine_fn_config_dll odbc32 enable_odbc32 implib
17201 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17202 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17203 wine_fn_config_dll odbccu32 enable_odbccu32
17204 wine_fn_config_dll ole2.dll16 enable_win16
17205 wine_fn_config_dll ole2conv.dll16 enable_win16
17206 wine_fn_config_dll ole2disp.dll16 enable_win16
17207 wine_fn_config_dll ole2nls.dll16 enable_win16
17208 wine_fn_config_dll ole2prox.dll16 enable_win16
17209 wine_fn_config_dll ole2thk.dll16 enable_win16
17210 wine_fn_config_dll ole32 enable_ole32 clean,implib
17211 wine_fn_config_test dlls/ole32/tests ole32_test
17212 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17213 wine_fn_config_test dlls/oleacc/tests oleacc_test
17214 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17215 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17216 wine_fn_config_dll olecli.dll16 enable_win16
17217 wine_fn_config_dll olecli32 enable_olecli32 implib
17218 wine_fn_config_dll oledb32 enable_oledb32 clean
17219 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17220 wine_fn_config_dll oledlg enable_oledlg implib,po
17221 wine_fn_config_dll olepro32 enable_olepro32 implib
17222 wine_fn_config_dll olesvr.dll16 enable_win16
17223 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17224 wine_fn_config_dll olethk32 enable_olethk32
17225 wine_fn_config_dll openal32 enable_openal32
17226 wine_fn_config_dll opencl enable_opencl
17227 wine_fn_config_dll opengl32 enable_opengl32 implib
17228 wine_fn_config_test dlls/opengl32/tests opengl32_test
17229 wine_fn_config_dll packager enable_packager clean
17230 wine_fn_config_test dlls/packager/tests packager_test
17231 wine_fn_config_dll pdh enable_pdh implib
17232 wine_fn_config_test dlls/pdh/tests pdh_test
17233 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17234 wine_fn_config_dll pidgen enable_pidgen
17235 wine_fn_config_dll powrprof enable_powrprof implib
17236 wine_fn_config_dll printui enable_printui
17237 wine_fn_config_dll prntvpt enable_prntvpt
17238 wine_fn_config_dll propsys enable_propsys clean,implib
17239 wine_fn_config_test dlls/propsys/tests propsys_test
17240 wine_fn_config_dll psapi enable_psapi implib
17241 wine_fn_config_test dlls/psapi/tests psapi_test
17242 wine_fn_config_dll pstorec enable_pstorec clean
17243 wine_fn_config_dll qcap enable_qcap
17244 wine_fn_config_test dlls/qcap/tests qcap_test
17245 wine_fn_config_dll qedit enable_qedit clean
17246 wine_fn_config_test dlls/qedit/tests qedit_test
17247 wine_fn_config_dll qmgr enable_qmgr clean
17248 wine_fn_config_test dlls/qmgr/tests qmgr_test
17249 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17250 wine_fn_config_dll quartz enable_quartz clean,implib
17251 wine_fn_config_test dlls/quartz/tests quartz_test clean
17252 wine_fn_config_dll query enable_query
17253 wine_fn_config_dll rasapi16.dll16 enable_win16
17254 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17255 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17256 wine_fn_config_dll rasdlg enable_rasdlg implib
17257 wine_fn_config_dll regapi enable_regapi
17258 wine_fn_config_dll resutils enable_resutils implib
17259 wine_fn_config_dll riched20 enable_riched20 implib
17260 wine_fn_config_test dlls/riched20/tests riched20_test
17261 wine_fn_config_dll riched32 enable_riched32
17262 wine_fn_config_test dlls/riched32/tests riched32_test
17263 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17264 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17265 wine_fn_config_dll rsabase enable_rsabase
17266 wine_fn_config_dll rsaenh enable_rsaenh implib
17267 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17268 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17269 wine_fn_config_dll rtutils enable_rtutils implib
17270 wine_fn_config_dll samlib enable_samlib
17271 wine_fn_config_dll sane.ds enable_sane_ds po
17272 wine_fn_config_dll scarddlg enable_scarddlg
17273 wine_fn_config_dll sccbase enable_sccbase
17274 wine_fn_config_dll schannel enable_schannel
17275 wine_fn_config_test dlls/schannel/tests schannel_test
17276 wine_fn_config_dll schedsvc enable_schedsvc clean
17277 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17278 wine_fn_config_dll scrrun enable_scrrun clean
17279 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17280 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17281 wine_fn_config_dll secur32 enable_secur32 implib
17282 wine_fn_config_test dlls/secur32/tests secur32_test
17283 wine_fn_config_dll security enable_security
17284 wine_fn_config_dll sensapi enable_sensapi implib
17285 wine_fn_config_dll serialui enable_serialui implib,po
17286 wine_fn_config_test dlls/serialui/tests serialui_test
17287 wine_fn_config_dll setupapi enable_setupapi implib,po
17288 wine_fn_config_test dlls/setupapi/tests setupapi_test
17289 wine_fn_config_dll setupx.dll16 enable_win16
17290 wine_fn_config_dll sfc enable_sfc implib
17291 wine_fn_config_dll sfc_os enable_sfc_os implib
17292 wine_fn_config_dll shdoclc enable_shdoclc po
17293 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17294 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17295 wine_fn_config_dll shell.dll16 enable_win16
17296 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17297 wine_fn_config_test dlls/shell32/tests shell32_test
17298 wine_fn_config_dll shfolder enable_shfolder implib
17299 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17300 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17301 wine_fn_config_dll slbcsp enable_slbcsp
17302 wine_fn_config_dll slc enable_slc implib
17303 wine_fn_config_dll snmpapi enable_snmpapi implib
17304 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17305 wine_fn_config_dll softpub enable_softpub
17306 wine_fn_config_dll sound.drv16 enable_win16
17307 wine_fn_config_dll spoolss enable_spoolss implib
17308 wine_fn_config_test dlls/spoolss/tests spoolss_test
17309 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17310 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17311 wine_fn_config_dll sti enable_sti clean,implib
17312 wine_fn_config_test dlls/sti/tests sti_test
17313 wine_fn_config_dll storage.dll16 enable_win16
17314 wine_fn_config_dll stress.dll16 enable_win16
17315 wine_fn_config_lib strmbase
17316 wine_fn_config_lib strmiids
17317 wine_fn_config_dll svrapi enable_svrapi
17318 wine_fn_config_dll sxs enable_sxs implib
17319 wine_fn_config_test dlls/sxs/tests sxs_test
17320 wine_fn_config_dll system.drv16 enable_win16
17321 wine_fn_config_dll t2embed enable_t2embed
17322 wine_fn_config_dll tapi32 enable_tapi32 implib
17323 wine_fn_config_dll taskschd enable_taskschd clean
17324 wine_fn_config_test dlls/taskschd/tests taskschd_test
17325 wine_fn_config_dll toolhelp.dll16 enable_win16
17326 wine_fn_config_dll traffic enable_traffic
17327 wine_fn_config_dll twain.dll16 enable_win16
17328 wine_fn_config_dll twain_32 enable_twain_32
17329 wine_fn_config_test dlls/twain_32/tests twain_32_test
17330 wine_fn_config_dll typelib.dll16 enable_win16
17331 wine_fn_config_dll unicows enable_unicows implib
17332 wine_fn_config_dll updspapi enable_updspapi
17333 wine_fn_config_dll url enable_url implib
17334 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17335 wine_fn_config_test dlls/urlmon/tests urlmon_test
17336 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17337 wine_fn_config_dll user.exe16 enable_win16
17338 wine_fn_config_dll user32 enable_user32 clean,implib,po
17339 wine_fn_config_test dlls/user32/tests user32_test
17340 wine_fn_config_dll userenv enable_userenv implib
17341 wine_fn_config_test dlls/userenv/tests userenv_test
17342 wine_fn_config_dll usp10 enable_usp10 implib
17343 wine_fn_config_test dlls/usp10/tests usp10_test
17344 wine_fn_config_lib uuid
17345 wine_fn_config_dll uxtheme enable_uxtheme implib
17346 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17347 wine_fn_config_dll vbscript enable_vbscript clean
17348 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17349 wine_fn_config_dll vcomp enable_vcomp
17350 wine_fn_config_dll vcomp100 enable_vcomp100
17351 wine_fn_config_dll vcomp90 enable_vcomp90
17352 wine_fn_config_dll vdhcp.vxd enable_win16
17353 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17354 wine_fn_config_dll ver.dll16 enable_win16
17355 wine_fn_config_dll version enable_version implib
17356 wine_fn_config_test dlls/version/tests version_test
17357 wine_fn_config_dll vmm.vxd enable_win16
17358 wine_fn_config_dll vnbt.vxd enable_win16
17359 wine_fn_config_dll vnetbios.vxd enable_win16
17360 wine_fn_config_dll vssapi enable_vssapi
17361 wine_fn_config_dll vtdapi.vxd enable_win16
17362 wine_fn_config_dll vwin32.vxd enable_win16
17363 wine_fn_config_dll w32skrnl enable_win16
17364 wine_fn_config_dll w32sys.dll16 enable_win16
17365 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17366 wine_fn_config_dll wbemprox enable_wbemprox clean
17367 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17368 wine_fn_config_dll webservices enable_webservices implib
17369 wine_fn_config_dll wer enable_wer implib
17370 wine_fn_config_test dlls/wer/tests wer_test
17371 wine_fn_config_dll wevtapi enable_wevtapi
17372 wine_fn_config_dll wiaservc enable_wiaservc clean
17373 wine_fn_config_dll win32s16.dll16 enable_win16
17374 wine_fn_config_dll win87em.dll16 enable_win16
17375 wine_fn_config_dll winaspi.dll16 enable_win16
17376 wine_fn_config_dll windebug.dll16 enable_win16
17377 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17378 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17379 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17380 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17381 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17382 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17383 wine_fn_config_lib winecrt0
17384 wine_fn_config_dll wined3d enable_wined3d implib
17385 wine_fn_config_dll winegstreamer enable_winegstreamer
17386 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17387 wine_fn_config_dll winemac.drv enable_winemac_drv
17388 wine_fn_config_dll winemapi enable_winemapi
17389 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17390 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17391 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17392 wine_fn_config_dll wineps16.drv16 enable_win16
17393 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17394 wine_fn_config_dll winex11.drv enable_winex11_drv
17395 wine_fn_config_dll wing.dll16 enable_win16
17396 wine_fn_config_dll wing32 enable_wing32
17397 wine_fn_config_dll winhttp enable_winhttp clean,implib
17398 wine_fn_config_test dlls/winhttp/tests winhttp_test
17399 wine_fn_config_dll wininet enable_wininet implib,po
17400 wine_fn_config_test dlls/wininet/tests wininet_test
17401 wine_fn_config_dll winmm enable_winmm implib,po
17402 wine_fn_config_test dlls/winmm/tests winmm_test
17403 wine_fn_config_dll winnls.dll16 enable_win16
17404 wine_fn_config_dll winnls32 enable_winnls32 implib
17405 wine_fn_config_dll winscard enable_winscard implib
17406 wine_fn_config_dll winsock.dll16 enable_win16
17407 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17408 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17409 wine_fn_config_dll winsta enable_winsta
17410 wine_fn_config_dll wintab.dll16 enable_win16
17411 wine_fn_config_dll wintab32 enable_wintab32 implib
17412 wine_fn_config_test dlls/wintab32/tests wintab32_test
17413 wine_fn_config_dll wintrust enable_wintrust implib
17414 wine_fn_config_test dlls/wintrust/tests wintrust_test
17415 wine_fn_config_dll wlanapi enable_wlanapi
17416 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17417 wine_fn_config_test dlls/wldap32/tests wldap32_test
17418 wine_fn_config_dll wmi enable_wmi
17419 wine_fn_config_dll wmiutils enable_wmiutils clean
17420 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17421 wine_fn_config_dll wmp enable_wmp clean
17422 wine_fn_config_test dlls/wmp/tests wmp_test
17423 wine_fn_config_dll wmvcore enable_wmvcore
17424 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17425 wine_fn_config_dll wow32 enable_win16 implib
17426 wine_fn_config_dll wpcap enable_wpcap
17427 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17428 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17429 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17430 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17431 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17432 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17433 wine_fn_config_dll wsock32 enable_wsock32 implib
17434 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17435 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17436 wine_fn_config_dll wuapi enable_wuapi clean
17437 wine_fn_config_dll wuaueng enable_wuaueng
17438 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17439 wine_fn_config_dll xinput1_1 enable_xinput1_1
17440 wine_fn_config_dll xinput1_2 enable_xinput1_2
17441 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17442 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17443 wine_fn_config_dll xinput1_4 enable_xinput1_4
17444 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17445 wine_fn_config_dll xmllite enable_xmllite implib
17446 wine_fn_config_test dlls/xmllite/tests xmllite_test
17447 wine_fn_config_dll xolehlp enable_xolehlp
17448 wine_fn_config_dll xpsprint enable_xpsprint
17449 wine_fn_config_dll xpssvcs enable_xpssvcs
17450 wine_fn_config_makefile documentation enable_documentation clean
17451 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17452 wine_fn_config_makefile include enable_include clean,install-dev
17453 wine_fn_config_makefile libs/port enable_libs_port
17454 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17455 wine_fn_config_makefile libs/wpp enable_libs_wpp
17456 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17457 wine_fn_config_program arp enable_arp install
17458 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17459 wine_fn_config_program attrib enable_attrib install,po
17460 wine_fn_config_program cabarc enable_cabarc install
17461 wine_fn_config_program cacls enable_cacls install
17462 wine_fn_config_program clock enable_clock install,po
17463 wine_fn_config_program cmd enable_cmd install,po
17464 wine_fn_config_test programs/cmd/tests cmd.exe_test
17465 wine_fn_config_program conhost enable_conhost install
17466 wine_fn_config_program control enable_control install
17467 wine_fn_config_program cscript enable_cscript clean,install
17468 wine_fn_config_program dpnsvr enable_dpnsvr install
17469 wine_fn_config_program dxdiag enable_dxdiag install,po
17470 wine_fn_config_program eject enable_eject install
17471 wine_fn_config_program expand enable_expand install
17472 wine_fn_config_program explorer enable_explorer install,po
17473 wine_fn_config_program extrac32 enable_extrac32 install
17474 wine_fn_config_program findstr enable_findstr install
17475 wine_fn_config_program hh enable_hh install
17476 wine_fn_config_program hostname enable_hostname install,po
17477 wine_fn_config_program icinfo enable_icinfo install
17478 wine_fn_config_program iexplore enable_iexplore install
17479 wine_fn_config_program ipconfig enable_ipconfig install,po
17480 wine_fn_config_program lodctr enable_lodctr install
17481 wine_fn_config_program mofcomp enable_mofcomp install
17482 wine_fn_config_program mshta enable_mshta install
17483 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17484 wine_fn_config_program net enable_net install,po
17485 wine_fn_config_program netsh enable_netsh install
17486 wine_fn_config_program netstat enable_netstat install,po
17487 wine_fn_config_program ngen enable_ngen install
17488 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17489 wine_fn_config_program oleview enable_oleview install,po
17490 wine_fn_config_program ping enable_ping install
17491 wine_fn_config_program plugplay enable_plugplay install
17492 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17493 wine_fn_config_program progman enable_progman install,po
17494 wine_fn_config_program reg enable_reg install,po
17495 wine_fn_config_test programs/reg/tests reg.exe_test
17496 wine_fn_config_program regasm enable_regasm install
17497 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17498 wine_fn_config_test programs/regedit/tests regedit.exe_test
17499 wine_fn_config_program regsvcs enable_regsvcs install
17500 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17501 wine_fn_config_program rpcss enable_rpcss clean,install
17502 wine_fn_config_program rundll.exe16 enable_win16 install
17503 wine_fn_config_program rundll32 enable_rundll32 install
17504 wine_fn_config_program sc enable_sc install
17505 wine_fn_config_program schtasks enable_schtasks install
17506 wine_fn_config_program sdbinst enable_sdbinst install
17507 wine_fn_config_program secedit enable_secedit install
17508 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17509 wine_fn_config_program services enable_services clean,install
17510 wine_fn_config_test programs/services/tests services.exe_test
17511 wine_fn_config_program spoolsv enable_spoolsv install
17512 wine_fn_config_program start enable_start install,po
17513 wine_fn_config_program svchost enable_svchost install
17514 wine_fn_config_program systeminfo enable_systeminfo install
17515 wine_fn_config_program taskkill enable_taskkill install,po
17516 wine_fn_config_program tasklist enable_tasklist install
17517 wine_fn_config_program taskmgr enable_taskmgr install,po
17518 wine_fn_config_program termsv enable_termsv install
17519 wine_fn_config_program uninstaller enable_uninstaller install,po
17520 wine_fn_config_program unlodctr enable_unlodctr install
17521 wine_fn_config_program view enable_view install,po
17522 wine_fn_config_program wevtutil enable_wevtutil install
17523 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17524 wine_fn_config_program winebrowser enable_winebrowser install
17525 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17526 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17527 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17528 wine_fn_config_program winedevice enable_winedevice install
17529 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17530 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17531 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17532 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17533 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17534 wine_fn_config_program winetest enable_winetest clean
17535 wine_fn_config_program winevdm enable_win16 install
17536 wine_fn_config_program winhelp.exe16 enable_win16 install
17537 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17538 wine_fn_config_program winoldap.mod16 enable_win16 install
17539 wine_fn_config_program winver enable_winver install
17540 wine_fn_config_program wmic enable_wmic install,po
17541 wine_fn_config_program wordpad enable_wordpad install,po
17542 wine_fn_config_program write enable_write install,po
17543 wine_fn_config_program wscript enable_wscript clean,install
17544 wine_fn_config_test programs/wscript/tests wscript.exe_test
17545 wine_fn_config_program wusa enable_wusa install
17546 wine_fn_config_program xcopy enable_xcopy install,po
17547 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17548 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17549 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17550 wine_fn_config_tool tools/sfnt2fon clean
17551 wine_fn_config_tool tools/widl clean,install-dev,manpage
17552 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17553 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17554 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17555 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17556 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17558 LINGUAS="\
17559 ar \
17560 bg \
17561 ca \
17562 cs \
17563 da \
17564 de \
17565 el \
17566 en \
17567 en_US \
17568 eo \
17569 es \
17570 fa \
17571 fi \
17572 fr \
17573 he \
17574 hi \
17575 hr \
17576 hu \
17577 it \
17578 ja \
17579 ko \
17580 lt \
17581 ml \
17582 nb_NO \
17583 nl \
17584 or \
17585 pa \
17586 pl \
17587 pt_BR \
17588 pt_PT \
17589 rm \
17590 ro \
17591 ru \
17592 sk \
17593 sl \
17594 sr_RS@cyrillic \
17595 sr_RS@latin \
17596 sv \
17597 te \
17598 th \
17599 tr \
17600 uk \
17601 wa \
17602 zh_CN \
17603 zh_TW"
17608 wine_fn_ignore_file ".gitignore"
17609 wine_fn_ignore_file "Makefile"
17610 wine_fn_ignore_file "TAGS"
17611 wine_fn_ignore_file "tags"
17612 wine_fn_ignore_file "autom4te.cache"
17613 wine_fn_ignore_file "config.cache"
17614 wine_fn_ignore_file "config.log"
17615 wine_fn_ignore_file "config.status"
17616 wine_fn_ignore_file "configure.lineno"
17617 wine_fn_ignore_file "include/config.h"
17618 wine_fn_ignore_file "include/stamp-h"
17619 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17621 if test "x$enable_tools" != xno
17622 then
17623 wine_fn_ignore_file "tools/makedep$ac_exeext"
17624 ac_config_commands="$ac_config_commands tools/makedep"
17628 ac_config_commands="$ac_config_commands Makefile"
17631 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17635 if test "x$enable_maintainer_mode" = xyes
17636 then
17637 wine_fn_append_rule "configure: configure.ac aclocal.m4
17638 autoconf --warnings=all
17639 include/config.h.in: include/stamp-h.in
17640 include/stamp-h.in: configure.ac aclocal.m4
17641 autoheader --warnings=all
17642 @echo timestamp > \$@"
17645 if test "x$with_gettextpo" = xyes
17646 then
17647 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17648 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17649 \$(LINGUAS:%=po/%.po): po/wine.pot
17650 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17651 po/wine.pot: \$(ALL_POT_FILES)
17652 msgcat -o \$@ \$(ALL_POT_FILES)"
17655 if test "$MSGFMT" != false
17656 then
17657 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17658 clean::
17659 \$(RM) \$(LINGUAS:%=po/%.mo)"
17661 posrc="po"
17662 test "$srcdir" = . || posrc="$srcdir/po"
17663 for i in $LINGUAS
17665 wine_fn_ignore_file "po/$i.mo"
17666 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17667 \$(MSGFMT) -o \$@ $posrc/$i.po"
17668 done
17669 else
17670 LINGUAS=
17673 if test "x$enable_tools" != xno
17674 then
17675 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17676 @./config.status tools/makedep
17677 Makefile: tools/makedep$ac_exeext
17678 distclean:: clean
17679 \$(RM) tools/makedep$ac_exeext"
17680 else
17681 wine_fn_append_rule "\$(MAKEDEP):
17682 @echo \"You need to run make in $TOOLSDIR first\" && false"
17685 if test -n "$with_wine64"
17686 then
17687 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17688 fonts server tools:
17689 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17690 $with_wine64/loader/wine:
17691 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17692 $with_wine64/loader/wine-preloader:
17693 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17694 clean::
17695 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17696 else
17697 as_fn_append LOADER_RULES "
17698 install install-lib:: wine.inf install-man-pages
17699 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17700 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17702 uninstall::
17703 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17707 if test "$srcdir" = .
17708 then
17709 ac_config_commands="$ac_config_commands .gitignore"
17713 $as_echo " done" >&6
17714 cat >confcache <<\_ACEOF
17715 # This file is a shell script that caches the results of configure
17716 # tests run on this system so they can be shared between configure
17717 # scripts and configure runs, see configure's option --config-cache.
17718 # It is not useful on other systems. If it contains results you don't
17719 # want to keep, you may remove or edit it.
17721 # config.status only pays attention to the cache file if you give it
17722 # the --recheck option to rerun configure.
17724 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17725 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17726 # following values.
17728 _ACEOF
17730 # The following way of writing the cache mishandles newlines in values,
17731 # but we know of no workaround that is simple, portable, and efficient.
17732 # So, we kill variables containing newlines.
17733 # Ultrix sh set writes to stderr and can't be redirected directly,
17734 # and sets the high bit in the cache file unless we assign to the vars.
17736 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17737 eval ac_val=\$$ac_var
17738 case $ac_val in #(
17739 *${as_nl}*)
17740 case $ac_var in #(
17741 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17742 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17743 esac
17744 case $ac_var in #(
17745 _ | IFS | as_nl) ;; #(
17746 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17747 *) { eval $ac_var=; unset $ac_var;} ;;
17748 esac ;;
17749 esac
17750 done
17752 (set) 2>&1 |
17753 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17754 *${as_nl}ac_space=\ *)
17755 # `set' does not quote correctly, so add quotes: double-quote
17756 # substitution turns \\\\ into \\, and sed turns \\ into \.
17757 sed -n \
17758 "s/'/'\\\\''/g;
17759 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17760 ;; #(
17762 # `set' quotes correctly as required by POSIX, so do not add quotes.
17763 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17765 esac |
17766 sort
17768 sed '
17769 /^ac_cv_env_/b end
17770 t clear
17771 :clear
17772 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17773 t end
17774 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17775 :end' >>confcache
17776 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17777 if test -w "$cache_file"; then
17778 if test "x$cache_file" != "x/dev/null"; then
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17780 $as_echo "$as_me: updating cache $cache_file" >&6;}
17781 if test ! -f "$cache_file" || test -h "$cache_file"; then
17782 cat confcache >"$cache_file"
17783 else
17784 case $cache_file in #(
17785 */* | ?:*)
17786 mv -f confcache "$cache_file"$$ &&
17787 mv -f "$cache_file"$$ "$cache_file" ;; #(
17789 mv -f confcache "$cache_file" ;;
17790 esac
17793 else
17794 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17795 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17798 rm -f confcache
17800 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17801 # Let make expand exec_prefix.
17802 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17804 DEFS=-DHAVE_CONFIG_H
17806 ac_libobjs=
17807 ac_ltlibobjs=
17809 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17810 # 1. Remove the extension, and $U if already installed.
17811 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17812 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17813 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17814 # will be set to the directory where LIBOBJS objects are built.
17815 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17816 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17817 done
17818 LIBOBJS=$ac_libobjs
17820 LTLIBOBJS=$ac_ltlibobjs
17824 : "${CONFIG_STATUS=./config.status}"
17825 ac_write_fail=0
17826 ac_clean_files_save=$ac_clean_files
17827 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17828 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17829 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17830 as_write_fail=0
17831 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17832 #! $SHELL
17833 # Generated by $as_me.
17834 # Run this file to recreate the current configuration.
17835 # Compiler output produced by configure, useful for debugging
17836 # configure, is in config.log if it exists.
17838 debug=false
17839 ac_cs_recheck=false
17840 ac_cs_silent=false
17842 SHELL=\${CONFIG_SHELL-$SHELL}
17843 export SHELL
17844 _ASEOF
17845 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17846 ## -------------------- ##
17847 ## M4sh Initialization. ##
17848 ## -------------------- ##
17850 # Be more Bourne compatible
17851 DUALCASE=1; export DUALCASE # for MKS sh
17852 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17853 emulate sh
17854 NULLCMD=:
17855 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17856 # is contrary to our usage. Disable this feature.
17857 alias -g '${1+"$@"}'='"$@"'
17858 setopt NO_GLOB_SUBST
17859 else
17860 case `(set -o) 2>/dev/null` in #(
17861 *posix*) :
17862 set -o posix ;; #(
17863 *) :
17865 esac
17869 as_nl='
17871 export as_nl
17872 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17873 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17874 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17875 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17876 # Prefer a ksh shell builtin over an external printf program on Solaris,
17877 # but without wasting forks for bash or zsh.
17878 if test -z "$BASH_VERSION$ZSH_VERSION" \
17879 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17880 as_echo='print -r --'
17881 as_echo_n='print -rn --'
17882 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17883 as_echo='printf %s\n'
17884 as_echo_n='printf %s'
17885 else
17886 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17887 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17888 as_echo_n='/usr/ucb/echo -n'
17889 else
17890 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17891 as_echo_n_body='eval
17892 arg=$1;
17893 case $arg in #(
17894 *"$as_nl"*)
17895 expr "X$arg" : "X\\(.*\\)$as_nl";
17896 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17897 esac;
17898 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17900 export as_echo_n_body
17901 as_echo_n='sh -c $as_echo_n_body as_echo'
17903 export as_echo_body
17904 as_echo='sh -c $as_echo_body as_echo'
17907 # The user is always right.
17908 if test "${PATH_SEPARATOR+set}" != set; then
17909 PATH_SEPARATOR=:
17910 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17911 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17912 PATH_SEPARATOR=';'
17917 # IFS
17918 # We need space, tab and new line, in precisely that order. Quoting is
17919 # there to prevent editors from complaining about space-tab.
17920 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17921 # splitting by setting IFS to empty value.)
17922 IFS=" "" $as_nl"
17924 # Find who we are. Look in the path if we contain no directory separator.
17925 as_myself=
17926 case $0 in #((
17927 *[\\/]* ) as_myself=$0 ;;
17928 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17929 for as_dir in $PATH
17931 IFS=$as_save_IFS
17932 test -z "$as_dir" && as_dir=.
17933 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17934 done
17935 IFS=$as_save_IFS
17938 esac
17939 # We did not find ourselves, most probably we were run as `sh COMMAND'
17940 # in which case we are not to be found in the path.
17941 if test "x$as_myself" = x; then
17942 as_myself=$0
17944 if test ! -f "$as_myself"; then
17945 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17946 exit 1
17949 # Unset variables that we do not need and which cause bugs (e.g. in
17950 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17951 # suppresses any "Segmentation fault" message there. '((' could
17952 # trigger a bug in pdksh 5.2.14.
17953 for as_var in BASH_ENV ENV MAIL MAILPATH
17954 do eval test x\${$as_var+set} = xset \
17955 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17956 done
17957 PS1='$ '
17958 PS2='> '
17959 PS4='+ '
17961 # NLS nuisances.
17962 LC_ALL=C
17963 export LC_ALL
17964 LANGUAGE=C
17965 export LANGUAGE
17967 # CDPATH.
17968 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17971 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17972 # ----------------------------------------
17973 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17974 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17975 # script with STATUS, using 1 if that was 0.
17976 as_fn_error ()
17978 as_status=$1; test $as_status -eq 0 && as_status=1
17979 if test "$4"; then
17980 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17981 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17983 $as_echo "$as_me: error: $2" >&2
17984 as_fn_exit $as_status
17985 } # as_fn_error
17988 # as_fn_set_status STATUS
17989 # -----------------------
17990 # Set $? to STATUS, without forking.
17991 as_fn_set_status ()
17993 return $1
17994 } # as_fn_set_status
17996 # as_fn_exit STATUS
17997 # -----------------
17998 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17999 as_fn_exit ()
18001 set +e
18002 as_fn_set_status $1
18003 exit $1
18004 } # as_fn_exit
18006 # as_fn_unset VAR
18007 # ---------------
18008 # Portably unset VAR.
18009 as_fn_unset ()
18011 { eval $1=; unset $1;}
18013 as_unset=as_fn_unset
18014 # as_fn_append VAR VALUE
18015 # ----------------------
18016 # Append the text in VALUE to the end of the definition contained in VAR. Take
18017 # advantage of any shell optimizations that allow amortized linear growth over
18018 # repeated appends, instead of the typical quadratic growth present in naive
18019 # implementations.
18020 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18021 eval 'as_fn_append ()
18023 eval $1+=\$2
18025 else
18026 as_fn_append ()
18028 eval $1=\$$1\$2
18030 fi # as_fn_append
18032 # as_fn_arith ARG...
18033 # ------------------
18034 # Perform arithmetic evaluation on the ARGs, and store the result in the
18035 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18036 # must be portable across $(()) and expr.
18037 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18038 eval 'as_fn_arith ()
18040 as_val=$(( $* ))
18042 else
18043 as_fn_arith ()
18045 as_val=`expr "$@" || test $? -eq 1`
18047 fi # as_fn_arith
18050 if expr a : '\(a\)' >/dev/null 2>&1 &&
18051 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18052 as_expr=expr
18053 else
18054 as_expr=false
18057 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18058 as_basename=basename
18059 else
18060 as_basename=false
18063 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18064 as_dirname=dirname
18065 else
18066 as_dirname=false
18069 as_me=`$as_basename -- "$0" ||
18070 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18071 X"$0" : 'X\(//\)$' \| \
18072 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18073 $as_echo X/"$0" |
18074 sed '/^.*\/\([^/][^/]*\)\/*$/{
18075 s//\1/
18078 /^X\/\(\/\/\)$/{
18079 s//\1/
18082 /^X\/\(\/\).*/{
18083 s//\1/
18086 s/.*/./; q'`
18088 # Avoid depending upon Character Ranges.
18089 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18090 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18091 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18092 as_cr_digits='0123456789'
18093 as_cr_alnum=$as_cr_Letters$as_cr_digits
18095 ECHO_C= ECHO_N= ECHO_T=
18096 case `echo -n x` in #(((((
18097 -n*)
18098 case `echo 'xy\c'` in
18099 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18100 xy) ECHO_C='\c';;
18101 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18102 ECHO_T=' ';;
18103 esac;;
18105 ECHO_N='-n';;
18106 esac
18108 rm -f conf$$ conf$$.exe conf$$.file
18109 if test -d conf$$.dir; then
18110 rm -f conf$$.dir/conf$$.file
18111 else
18112 rm -f conf$$.dir
18113 mkdir conf$$.dir 2>/dev/null
18115 if (echo >conf$$.file) 2>/dev/null; then
18116 if ln -s conf$$.file conf$$ 2>/dev/null; then
18117 as_ln_s='ln -s'
18118 # ... but there are two gotchas:
18119 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18120 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18121 # In both cases, we have to default to `cp -pR'.
18122 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18123 as_ln_s='cp -pR'
18124 elif ln conf$$.file conf$$ 2>/dev/null; then
18125 as_ln_s=ln
18126 else
18127 as_ln_s='cp -pR'
18129 else
18130 as_ln_s='cp -pR'
18132 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18133 rmdir conf$$.dir 2>/dev/null
18136 # as_fn_mkdir_p
18137 # -------------
18138 # Create "$as_dir" as a directory, including parents if necessary.
18139 as_fn_mkdir_p ()
18142 case $as_dir in #(
18143 -*) as_dir=./$as_dir;;
18144 esac
18145 test -d "$as_dir" || eval $as_mkdir_p || {
18146 as_dirs=
18147 while :; do
18148 case $as_dir in #(
18149 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18150 *) as_qdir=$as_dir;;
18151 esac
18152 as_dirs="'$as_qdir' $as_dirs"
18153 as_dir=`$as_dirname -- "$as_dir" ||
18154 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18155 X"$as_dir" : 'X\(//\)[^/]' \| \
18156 X"$as_dir" : 'X\(//\)$' \| \
18157 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18158 $as_echo X"$as_dir" |
18159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18160 s//\1/
18163 /^X\(\/\/\)[^/].*/{
18164 s//\1/
18167 /^X\(\/\/\)$/{
18168 s//\1/
18171 /^X\(\/\).*/{
18172 s//\1/
18175 s/.*/./; q'`
18176 test -d "$as_dir" && break
18177 done
18178 test -z "$as_dirs" || eval "mkdir $as_dirs"
18179 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18182 } # as_fn_mkdir_p
18183 if mkdir -p . 2>/dev/null; then
18184 as_mkdir_p='mkdir -p "$as_dir"'
18185 else
18186 test -d ./-p && rmdir ./-p
18187 as_mkdir_p=false
18191 # as_fn_executable_p FILE
18192 # -----------------------
18193 # Test if FILE is an executable regular file.
18194 as_fn_executable_p ()
18196 test -f "$1" && test -x "$1"
18197 } # as_fn_executable_p
18198 as_test_x='test -x'
18199 as_executable_p=as_fn_executable_p
18201 # Sed expression to map a string onto a valid CPP name.
18202 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18204 # Sed expression to map a string onto a valid variable name.
18205 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18208 exec 6>&1
18209 ## ----------------------------------- ##
18210 ## Main body of $CONFIG_STATUS script. ##
18211 ## ----------------------------------- ##
18212 _ASEOF
18213 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18216 # Save the log message, to keep $0 and so on meaningful, and to
18217 # report actual input values of CONFIG_FILES etc. instead of their
18218 # values after options handling.
18219 ac_log="
18220 This file was extended by Wine $as_me 1.7.31, which was
18221 generated by GNU Autoconf 2.69. Invocation command line was
18223 CONFIG_FILES = $CONFIG_FILES
18224 CONFIG_HEADERS = $CONFIG_HEADERS
18225 CONFIG_LINKS = $CONFIG_LINKS
18226 CONFIG_COMMANDS = $CONFIG_COMMANDS
18227 $ $0 $@
18229 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18232 _ACEOF
18234 case $ac_config_files in *"
18235 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18236 esac
18238 case $ac_config_headers in *"
18239 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18240 esac
18243 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18244 # Files that config.status was made for.
18245 config_files="$ac_config_files"
18246 config_headers="$ac_config_headers"
18247 config_links="$ac_config_links"
18248 config_commands="$ac_config_commands"
18250 _ACEOF
18252 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18253 ac_cs_usage="\
18254 \`$as_me' instantiates files and other configuration actions
18255 from templates according to the current configuration. Unless the files
18256 and actions are specified as TAGs, all are instantiated by default.
18258 Usage: $0 [OPTION]... [TAG]...
18260 -h, --help print this help, then exit
18261 -V, --version print version number and configuration settings, then exit
18262 --config print configuration, then exit
18263 -q, --quiet, --silent
18264 do not print progress messages
18265 -d, --debug don't remove temporary files
18266 --recheck update $as_me by reconfiguring in the same conditions
18267 --file=FILE[:TEMPLATE]
18268 instantiate the configuration file FILE
18269 --header=FILE[:TEMPLATE]
18270 instantiate the configuration header FILE
18272 Configuration files:
18273 $config_files
18275 Configuration headers:
18276 $config_headers
18278 Configuration links:
18279 $config_links
18281 Configuration commands:
18282 $config_commands
18284 Report bugs to <wine-devel@winehq.org>.
18285 Wine home page: <http://www.winehq.org>."
18287 _ACEOF
18288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18289 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18290 ac_cs_version="\\
18291 Wine config.status 1.7.31
18292 configured by $0, generated by GNU Autoconf 2.69,
18293 with options \\"\$ac_cs_config\\"
18295 Copyright (C) 2012 Free Software Foundation, Inc.
18296 This config.status script is free software; the Free Software Foundation
18297 gives unlimited permission to copy, distribute and modify it."
18299 ac_pwd='$ac_pwd'
18300 srcdir='$srcdir'
18301 test -n "\$AWK" || AWK=awk
18302 _ACEOF
18304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18305 # The default lists apply if the user does not specify any file.
18306 ac_need_defaults=:
18307 while test $# != 0
18309 case $1 in
18310 --*=?*)
18311 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18312 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18313 ac_shift=:
18315 --*=)
18316 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18317 ac_optarg=
18318 ac_shift=:
18321 ac_option=$1
18322 ac_optarg=$2
18323 ac_shift=shift
18325 esac
18327 case $ac_option in
18328 # Handling of the options.
18329 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18330 ac_cs_recheck=: ;;
18331 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18332 $as_echo "$ac_cs_version"; exit ;;
18333 --config | --confi | --conf | --con | --co | --c )
18334 $as_echo "$ac_cs_config"; exit ;;
18335 --debug | --debu | --deb | --de | --d | -d )
18336 debug=: ;;
18337 --file | --fil | --fi | --f )
18338 $ac_shift
18339 case $ac_optarg in
18340 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18341 '') as_fn_error $? "missing file argument" ;;
18342 esac
18343 as_fn_append CONFIG_FILES " '$ac_optarg'"
18344 ac_need_defaults=false;;
18345 --header | --heade | --head | --hea )
18346 $ac_shift
18347 case $ac_optarg in
18348 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18349 esac
18350 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18351 ac_need_defaults=false;;
18352 --he | --h)
18353 # Conflict between --help and --header
18354 as_fn_error $? "ambiguous option: \`$1'
18355 Try \`$0 --help' for more information.";;
18356 --help | --hel | -h )
18357 $as_echo "$ac_cs_usage"; exit ;;
18358 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18359 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18360 ac_cs_silent=: ;;
18362 # This is an error.
18363 -*) as_fn_error $? "unrecognized option: \`$1'
18364 Try \`$0 --help' for more information." ;;
18366 *) as_fn_append ac_config_targets " $1"
18367 ac_need_defaults=false ;;
18369 esac
18370 shift
18371 done
18373 ac_configure_extra_args=
18375 if $ac_cs_silent; then
18376 exec 6>/dev/null
18377 ac_configure_extra_args="$ac_configure_extra_args --silent"
18380 _ACEOF
18381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18382 if \$ac_cs_recheck; then
18383 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18384 shift
18385 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18386 CONFIG_SHELL='$SHELL'
18387 export CONFIG_SHELL
18388 exec "\$@"
18391 _ACEOF
18392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18393 exec 5>>config.log
18395 echo
18396 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18397 ## Running $as_me. ##
18398 _ASBOX
18399 $as_echo "$ac_log"
18400 } >&5
18402 _ACEOF
18403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18405 # INIT-COMMANDS
18407 wine_fn_output_makedep ()
18409 as_dir=tools; as_fn_mkdir_p
18410 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18412 wine_fn_output_makefile ()
18414 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18415 `cat $wine_rules_file`
18416 _WINE_EOF
18417 as_fn_error $? "could not create Makefile" "$LINENO" 5
18419 wine_fn_output_gitignore ()
18421 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18422 $GITIGNORE
18423 _WINE_EOF
18424 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18427 _ACEOF
18429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18431 # Handling of arguments.
18432 for ac_config_target in $ac_config_targets
18434 case $ac_config_target in
18435 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18436 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18437 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18438 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18439 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18440 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18441 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18442 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18443 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18444 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18445 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18446 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18447 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18448 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18450 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18451 esac
18452 done
18455 # If the user did not use the arguments to specify the items to instantiate,
18456 # then the envvar interface is used. Set only those that are not.
18457 # We use the long form for the default assignment because of an extremely
18458 # bizarre bug on SunOS 4.1.3.
18459 if $ac_need_defaults; then
18460 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18461 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18462 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18463 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18466 # Have a temporary directory for convenience. Make it in the build tree
18467 # simply because there is no reason against having it here, and in addition,
18468 # creating and moving files from /tmp can sometimes cause problems.
18469 # Hook for its removal unless debugging.
18470 # Note that there is a small window in which the directory will not be cleaned:
18471 # after its creation but before its name has been assigned to `$tmp'.
18472 $debug ||
18474 tmp= ac_tmp=
18475 trap 'exit_status=$?
18476 : "${ac_tmp:=$tmp}"
18477 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18479 trap 'as_fn_exit 1' 1 2 13 15
18481 # Create a (secure) tmp directory for tmp files.
18484 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18485 test -d "$tmp"
18486 } ||
18488 tmp=./conf$$-$RANDOM
18489 (umask 077 && mkdir "$tmp")
18490 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18491 ac_tmp=$tmp
18493 # Set up the scripts for CONFIG_FILES section.
18494 # No need to generate them if there are no CONFIG_FILES.
18495 # This happens for instance with `./config.status config.h'.
18496 if test -n "$CONFIG_FILES"; then
18499 ac_cr=`echo X | tr X '\015'`
18500 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18501 # But we know of no other shell where ac_cr would be empty at this
18502 # point, so we can use a bashism as a fallback.
18503 if test "x$ac_cr" = x; then
18504 eval ac_cr=\$\'\\r\'
18506 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18507 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18508 ac_cs_awk_cr='\\r'
18509 else
18510 ac_cs_awk_cr=$ac_cr
18513 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18514 _ACEOF
18518 echo "cat >conf$$subs.awk <<_ACEOF" &&
18519 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18520 echo "_ACEOF"
18521 } >conf$$subs.sh ||
18522 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18523 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18524 ac_delim='%!_!# '
18525 for ac_last_try in false false false false false :; do
18526 . ./conf$$subs.sh ||
18527 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18529 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18530 if test $ac_delim_n = $ac_delim_num; then
18531 break
18532 elif $ac_last_try; then
18533 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18534 else
18535 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18537 done
18538 rm -f conf$$subs.sh
18540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18541 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18542 _ACEOF
18543 sed -n '
18545 s/^/S["/; s/!.*/"]=/
18548 s/^[^!]*!//
18549 :repl
18550 t repl
18551 s/'"$ac_delim"'$//
18552 t delim
18555 s/\(.\{148\}\)..*/\1/
18556 t more1
18557 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18560 b repl
18561 :more1
18562 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18565 s/.\{148\}//
18566 t nl
18567 :delim
18569 s/\(.\{148\}\)..*/\1/
18570 t more2
18571 s/["\\]/\\&/g; s/^/"/; s/$/"/
18574 :more2
18575 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18578 s/.\{148\}//
18579 t delim
18580 ' <conf$$subs.awk | sed '
18581 /^[^""]/{
18583 s/\n//
18585 ' >>$CONFIG_STATUS || ac_write_fail=1
18586 rm -f conf$$subs.awk
18587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18588 _ACAWK
18589 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18590 for (key in S) S_is_set[key] = 1
18591 FS = "\a"
18595 line = $ 0
18596 nfields = split(line, field, "@")
18597 substed = 0
18598 len = length(field[1])
18599 for (i = 2; i < nfields; i++) {
18600 key = field[i]
18601 keylen = length(key)
18602 if (S_is_set[key]) {
18603 value = S[key]
18604 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18605 len += length(value) + length(field[++i])
18606 substed = 1
18607 } else
18608 len += 1 + keylen
18611 print line
18614 _ACAWK
18615 _ACEOF
18616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18617 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18618 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18619 else
18621 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18622 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18623 _ACEOF
18625 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18626 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18627 # trailing colons and then remove the whole line if VPATH becomes empty
18628 # (actually we leave an empty line to preserve line numbers).
18629 if test "x$srcdir" = x.; then
18630 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18632 s///
18633 s/^/:/
18634 s/[ ]*$/:/
18635 s/:\$(srcdir):/:/g
18636 s/:\${srcdir}:/:/g
18637 s/:@srcdir@:/:/g
18638 s/^:*//
18639 s/:*$//
18641 s/\(=[ ]*\).*/\1/
18643 s/\n//
18644 s/^[^=]*=[ ]*$//
18648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18649 fi # test -n "$CONFIG_FILES"
18651 # Set up the scripts for CONFIG_HEADERS section.
18652 # No need to generate them if there are no CONFIG_HEADERS.
18653 # This happens for instance with `./config.status Makefile'.
18654 if test -n "$CONFIG_HEADERS"; then
18655 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18656 BEGIN {
18657 _ACEOF
18659 # Transform confdefs.h into an awk script `defines.awk', embedded as
18660 # here-document in config.status, that substitutes the proper values into
18661 # config.h.in to produce config.h.
18663 # Create a delimiter string that does not exist in confdefs.h, to ease
18664 # handling of long lines.
18665 ac_delim='%!_!# '
18666 for ac_last_try in false false :; do
18667 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18668 if test -z "$ac_tt"; then
18669 break
18670 elif $ac_last_try; then
18671 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18672 else
18673 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18675 done
18677 # For the awk script, D is an array of macro values keyed by name,
18678 # likewise P contains macro parameters if any. Preserve backslash
18679 # newline sequences.
18681 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18682 sed -n '
18683 s/.\{148\}/&'"$ac_delim"'/g
18684 t rset
18685 :rset
18686 s/^[ ]*#[ ]*define[ ][ ]*/ /
18687 t def
18689 :def
18690 s/\\$//
18691 t bsnl
18692 s/["\\]/\\&/g
18693 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18694 D["\1"]=" \3"/p
18695 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18697 :bsnl
18698 s/["\\]/\\&/g
18699 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18700 D["\1"]=" \3\\\\\\n"\\/p
18701 t cont
18702 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18703 t cont
18705 :cont
18707 s/.\{148\}/&'"$ac_delim"'/g
18708 t clear
18709 :clear
18710 s/\\$//
18711 t bsnlc
18712 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18714 :bsnlc
18715 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18716 b cont
18717 ' <confdefs.h | sed '
18718 s/'"$ac_delim"'/"\\\
18719 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18722 for (key in D) D_is_set[key] = 1
18723 FS = "\a"
18725 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18726 line = \$ 0
18727 split(line, arg, " ")
18728 if (arg[1] == "#") {
18729 defundef = arg[2]
18730 mac1 = arg[3]
18731 } else {
18732 defundef = substr(arg[1], 2)
18733 mac1 = arg[2]
18735 split(mac1, mac2, "(") #)
18736 macro = mac2[1]
18737 prefix = substr(line, 1, index(line, defundef) - 1)
18738 if (D_is_set[macro]) {
18739 # Preserve the white space surrounding the "#".
18740 print prefix "define", macro P[macro] D[macro]
18741 next
18742 } else {
18743 # Replace #undef with comments. This is necessary, for example,
18744 # in the case of _POSIX_SOURCE, which is predefined and required
18745 # on some systems where configure will not decide to define it.
18746 if (defundef == "undef") {
18747 print "/*", prefix defundef, macro, "*/"
18748 next
18752 { print }
18753 _ACAWK
18754 _ACEOF
18755 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18756 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18757 fi # test -n "$CONFIG_HEADERS"
18760 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18761 shift
18762 for ac_tag
18764 case $ac_tag in
18765 :[FHLC]) ac_mode=$ac_tag; continue;;
18766 esac
18767 case $ac_mode$ac_tag in
18768 :[FHL]*:*);;
18769 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18770 :[FH]-) ac_tag=-:-;;
18771 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18772 esac
18773 ac_save_IFS=$IFS
18774 IFS=:
18775 set x $ac_tag
18776 IFS=$ac_save_IFS
18777 shift
18778 ac_file=$1
18779 shift
18781 case $ac_mode in
18782 :L) ac_source=$1;;
18783 :[FH])
18784 ac_file_inputs=
18785 for ac_f
18787 case $ac_f in
18788 -) ac_f="$ac_tmp/stdin";;
18789 *) # Look for the file first in the build tree, then in the source tree
18790 # (if the path is not absolute). The absolute path cannot be DOS-style,
18791 # because $ac_f cannot contain `:'.
18792 test -f "$ac_f" ||
18793 case $ac_f in
18794 [\\/$]*) false;;
18795 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18796 esac ||
18797 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18798 esac
18799 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18800 as_fn_append ac_file_inputs " '$ac_f'"
18801 done
18803 # Let's still pretend it is `configure' which instantiates (i.e., don't
18804 # use $as_me), people would be surprised to read:
18805 # /* config.h. Generated by config.status. */
18806 configure_input='Generated from '`
18807 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18808 `' by configure.'
18809 if test x"$ac_file" != x-; then
18810 configure_input="$ac_file. $configure_input"
18811 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18812 $as_echo "$as_me: creating $ac_file" >&6;}
18814 # Neutralize special characters interpreted by sed in replacement strings.
18815 case $configure_input in #(
18816 *\&* | *\|* | *\\* )
18817 ac_sed_conf_input=`$as_echo "$configure_input" |
18818 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18819 *) ac_sed_conf_input=$configure_input;;
18820 esac
18822 case $ac_tag in
18823 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18824 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18825 esac
18827 esac
18829 ac_dir=`$as_dirname -- "$ac_file" ||
18830 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18831 X"$ac_file" : 'X\(//\)[^/]' \| \
18832 X"$ac_file" : 'X\(//\)$' \| \
18833 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18834 $as_echo X"$ac_file" |
18835 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18836 s//\1/
18839 /^X\(\/\/\)[^/].*/{
18840 s//\1/
18843 /^X\(\/\/\)$/{
18844 s//\1/
18847 /^X\(\/\).*/{
18848 s//\1/
18851 s/.*/./; q'`
18852 as_dir="$ac_dir"; as_fn_mkdir_p
18853 ac_builddir=.
18855 case "$ac_dir" in
18856 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18858 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18859 # A ".." for each directory in $ac_dir_suffix.
18860 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18861 case $ac_top_builddir_sub in
18862 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18863 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18864 esac ;;
18865 esac
18866 ac_abs_top_builddir=$ac_pwd
18867 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18868 # for backward compatibility:
18869 ac_top_builddir=$ac_top_build_prefix
18871 case $srcdir in
18872 .) # We are building in place.
18873 ac_srcdir=.
18874 ac_top_srcdir=$ac_top_builddir_sub
18875 ac_abs_top_srcdir=$ac_pwd ;;
18876 [\\/]* | ?:[\\/]* ) # Absolute name.
18877 ac_srcdir=$srcdir$ac_dir_suffix;
18878 ac_top_srcdir=$srcdir
18879 ac_abs_top_srcdir=$srcdir ;;
18880 *) # Relative name.
18881 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18882 ac_top_srcdir=$ac_top_build_prefix$srcdir
18883 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18884 esac
18885 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18888 case $ac_mode in
18891 # CONFIG_FILE
18894 _ACEOF
18896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18897 # If the template does not know about datarootdir, expand it.
18898 # FIXME: This hack should be removed a few years after 2.60.
18899 ac_datarootdir_hack=; ac_datarootdir_seen=
18900 ac_sed_dataroot='
18901 /datarootdir/ {
18905 /@datadir@/p
18906 /@docdir@/p
18907 /@infodir@/p
18908 /@localedir@/p
18909 /@mandir@/p'
18910 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18911 *datarootdir*) ac_datarootdir_seen=yes;;
18912 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18914 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18915 _ACEOF
18916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18917 ac_datarootdir_hack='
18918 s&@datadir@&$datadir&g
18919 s&@docdir@&$docdir&g
18920 s&@infodir@&$infodir&g
18921 s&@localedir@&$localedir&g
18922 s&@mandir@&$mandir&g
18923 s&\\\${datarootdir}&$datarootdir&g' ;;
18924 esac
18925 _ACEOF
18927 # Neutralize VPATH when `$srcdir' = `.'.
18928 # Shell code in configure.ac might set extrasub.
18929 # FIXME: do we really want to maintain this feature?
18930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18931 ac_sed_extra="$ac_vpsub
18932 $extrasub
18933 _ACEOF
18934 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18936 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18937 s|@configure_input@|$ac_sed_conf_input|;t t
18938 s&@top_builddir@&$ac_top_builddir_sub&;t t
18939 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18940 s&@srcdir@&$ac_srcdir&;t t
18941 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18942 s&@top_srcdir@&$ac_top_srcdir&;t t
18943 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18944 s&@builddir@&$ac_builddir&;t t
18945 s&@abs_builddir@&$ac_abs_builddir&;t t
18946 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18947 $ac_datarootdir_hack
18949 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18950 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18952 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18953 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18954 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18955 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18957 which seems to be undefined. Please make sure it is defined" >&5
18958 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18959 which seems to be undefined. Please make sure it is defined" >&2;}
18961 rm -f "$ac_tmp/stdin"
18962 case $ac_file in
18963 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18964 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18965 esac \
18966 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18970 # CONFIG_HEADER
18972 if test x"$ac_file" != x-; then
18974 $as_echo "/* $configure_input */" \
18975 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18976 } >"$ac_tmp/config.h" \
18977 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18978 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18979 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18980 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18981 else
18982 rm -f "$ac_file"
18983 mv "$ac_tmp/config.h" "$ac_file" \
18984 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18986 else
18987 $as_echo "/* $configure_input */" \
18988 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18989 || as_fn_error $? "could not create -" "$LINENO" 5
18994 # CONFIG_LINK
18997 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18999 else
19000 # Prefer the file from the source tree if names are identical.
19001 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19002 ac_source=$srcdir/$ac_source
19005 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19006 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19008 if test ! -r "$ac_source"; then
19009 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19011 rm -f "$ac_file"
19013 # Try a relative symlink, then a hard link, then a copy.
19014 case $ac_source in
19015 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19016 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19017 esac
19018 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19019 ln "$ac_source" "$ac_file" 2>/dev/null ||
19020 cp -p "$ac_source" "$ac_file" ||
19021 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19024 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19025 $as_echo "$as_me: executing $ac_file commands" >&6;}
19027 esac
19030 case $ac_file$ac_mode in
19031 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19032 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19033 "Makefile":C) wine_fn_output_makefile Makefile ;;
19034 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19036 esac
19037 done # for ac_tag
19040 as_fn_exit 0
19041 _ACEOF
19042 ac_clean_files=$ac_clean_files_save
19044 test $ac_write_fail = 0 ||
19045 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19048 # configure is writing to config.log, and then calls config.status.
19049 # config.status does its own redirection, appending to config.log.
19050 # Unfortunately, on DOS this fails, as config.log is still kept open
19051 # by configure, so config.status won't be able to write to it; its
19052 # output is simply discarded. So we exec the FD to /dev/null,
19053 # effectively closing config.log, so it can be properly (re)opened and
19054 # appended to by config.status. When coming back to configure, we
19055 # need to make the FD available again.
19056 if test "$no_create" != yes; then
19057 ac_cs_success=:
19058 ac_config_status_args=
19059 test "$silent" = yes &&
19060 ac_config_status_args="$ac_config_status_args --quiet"
19061 exec 5>/dev/null
19062 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19063 exec 5>>config.log
19064 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19065 # would make configure fail if this is the last instruction.
19066 $ac_cs_success || as_fn_exit 1
19068 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19070 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19074 if test "$no_create" = "yes"
19075 then
19076 exit 0
19079 ac_save_IFS="$IFS"
19080 if test "x$wine_notices != "x; then
19081 echo >&6
19082 IFS="|"
19083 for msg in $wine_notices; do
19084 IFS="$ac_save_IFS"
19085 if ${msg:+false} :; then :
19087 else
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19089 $as_echo "$as_me: $msg" >&6;}
19091 done
19093 IFS="|"
19094 for msg in $wine_warnings; do
19095 IFS="$ac_save_IFS"
19096 if ${msg:+false} :; then :
19098 else
19099 echo >&2
19100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19101 $as_echo "$as_me: WARNING: $msg" >&2;}
19103 done
19104 IFS="$ac_save_IFS"
19106 $as_echo "
19107 $as_me: Finished. Do '${ac_make}' to compile Wine.
19108 " >&6