wined3d: Calculate the SM4 output mapping in shader_sm4_init().
[wine/multimedia.git] / configure
blobf5446a0aa8609f7beeb98e4e6f81aba7c12daf1c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.30.
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.30'
584 PACKAGE_STRING='Wine 1.7.30'
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_cryptnet
936 enable_cryptui
937 enable_ctapi32
938 enable_ctl3d32
939 enable_d2d1
940 enable_d3d10
941 enable_d3d10_1
942 enable_d3d10core
943 enable_d3d11
944 enable_d3d8
945 enable_d3d9
946 enable_d3dcompiler_33
947 enable_d3dcompiler_34
948 enable_d3dcompiler_35
949 enable_d3dcompiler_36
950 enable_d3dcompiler_37
951 enable_d3dcompiler_38
952 enable_d3dcompiler_39
953 enable_d3dcompiler_40
954 enable_d3dcompiler_41
955 enable_d3dcompiler_42
956 enable_d3dcompiler_43
957 enable_d3dim
958 enable_d3drm
959 enable_d3dx10_33
960 enable_d3dx10_34
961 enable_d3dx10_35
962 enable_d3dx10_36
963 enable_d3dx10_37
964 enable_d3dx10_38
965 enable_d3dx10_39
966 enable_d3dx10_40
967 enable_d3dx10_41
968 enable_d3dx10_42
969 enable_d3dx10_43
970 enable_d3dx11_42
971 enable_d3dx11_43
972 enable_d3dx9_24
973 enable_d3dx9_25
974 enable_d3dx9_26
975 enable_d3dx9_27
976 enable_d3dx9_28
977 enable_d3dx9_29
978 enable_d3dx9_30
979 enable_d3dx9_31
980 enable_d3dx9_32
981 enable_d3dx9_33
982 enable_d3dx9_34
983 enable_d3dx9_35
984 enable_d3dx9_36
985 enable_d3dx9_37
986 enable_d3dx9_38
987 enable_d3dx9_39
988 enable_d3dx9_40
989 enable_d3dx9_41
990 enable_d3dx9_42
991 enable_d3dx9_43
992 enable_d3dxof
993 enable_dbgeng
994 enable_dbghelp
995 enable_dciman32
996 enable_ddraw
997 enable_ddrawex
998 enable_devenum
999 enable_dhcpcsvc
1000 enable_difxapi
1001 enable_dinput
1002 enable_dinput8
1003 enable_dispex
1004 enable_dmband
1005 enable_dmcompos
1006 enable_dmime
1007 enable_dmloader
1008 enable_dmscript
1009 enable_dmstyle
1010 enable_dmsynth
1011 enable_dmusic
1012 enable_dmusic32
1013 enable_dnsapi
1014 enable_dplay
1015 enable_dplayx
1016 enable_dpnaddr
1017 enable_dpnet
1018 enable_dpnhpast
1019 enable_dpnlobby
1020 enable_dpvoice
1021 enable_dpwsockx
1022 enable_drmclien
1023 enable_dsound
1024 enable_dssenh
1025 enable_dswave
1026 enable_dwmapi
1027 enable_dwrite
1028 enable_dxdiagn
1029 enable_dxgi
1030 enable_dxva2
1031 enable_explorerframe
1032 enable_ext_ms_win_gdi_devcaps_l1_1_0
1033 enable_faultrep
1034 enable_fltlib
1035 enable_fntcache
1036 enable_fontsub
1037 enable_fusion
1038 enable_fwpuclnt
1039 enable_gameux
1040 enable_gdi32
1041 enable_gdiplus
1042 enable_glu32
1043 enable_gphoto2_ds
1044 enable_gpkcsp
1045 enable_hal
1046 enable_hhctrl_ocx
1047 enable_hid
1048 enable_hlink
1049 enable_hnetcfg
1050 enable_httpapi
1051 enable_iccvid
1052 enable_icmp
1053 enable_ieframe
1054 enable_imaadp32_acm
1055 enable_imagehlp
1056 enable_imm32
1057 enable_inetcomm
1058 enable_inetcpl_cpl
1059 enable_inetmib1
1060 enable_infosoft
1061 enable_initpki
1062 enable_inkobj
1063 enable_inseng
1064 enable_iphlpapi
1065 enable_itircl
1066 enable_itss
1067 enable_joy_cpl
1068 enable_jscript
1069 enable_jsproxy
1070 enable_kernel32
1071 enable_ksuser
1072 enable_ktmw32
1073 enable_loadperf
1074 enable_localspl
1075 enable_localui
1076 enable_lz32
1077 enable_mapi32
1078 enable_mapistub
1079 enable_mciavi32
1080 enable_mcicda
1081 enable_mciqtz32
1082 enable_mciseq
1083 enable_mciwave
1084 enable_mgmtapi
1085 enable_midimap
1086 enable_mlang
1087 enable_mmcndmgr
1088 enable_mmdevapi
1089 enable_mountmgr_sys
1090 enable_mpr
1091 enable_mprapi
1092 enable_msacm32_drv
1093 enable_msacm32
1094 enable_msadp32_acm
1095 enable_msasn1
1096 enable_mscat32
1097 enable_mscms
1098 enable_mscoree
1099 enable_msctf
1100 enable_msdaps
1101 enable_msdmo
1102 enable_msftedit
1103 enable_msg711_acm
1104 enable_msgsm32_acm
1105 enable_mshtml_tlb
1106 enable_mshtml
1107 enable_msi
1108 enable_msident
1109 enable_msimg32
1110 enable_msimsg
1111 enable_msimtf
1112 enable_msisip
1113 enable_msisys_ocx
1114 enable_msls31
1115 enable_msnet32
1116 enable_mspatcha
1117 enable_msrle32
1118 enable_mssign32
1119 enable_mssip32
1120 enable_mstask
1121 enable_msvcirt
1122 enable_msvcm80
1123 enable_msvcm90
1124 enable_msvcp100
1125 enable_msvcp110
1126 enable_msvcp60
1127 enable_msvcp70
1128 enable_msvcp71
1129 enable_msvcp80
1130 enable_msvcp90
1131 enable_msvcr100
1132 enable_msvcr110
1133 enable_msvcr70
1134 enable_msvcr71
1135 enable_msvcr80
1136 enable_msvcr90
1137 enable_msvcrt
1138 enable_msvcrt20
1139 enable_msvcrt40
1140 enable_msvcrtd
1141 enable_msvfw32
1142 enable_msvidc32
1143 enable_mswsock
1144 enable_msxml
1145 enable_msxml2
1146 enable_msxml3
1147 enable_msxml4
1148 enable_msxml6
1149 enable_nddeapi
1150 enable_ndis_sys
1151 enable_netapi32
1152 enable_netcfgx
1153 enable_netprofm
1154 enable_newdev
1155 enable_normaliz
1156 enable_npmshtml
1157 enable_npptools
1158 enable_ntdll
1159 enable_ntdsapi
1160 enable_ntoskrnl_exe
1161 enable_ntprint
1162 enable_objsel
1163 enable_odbc32
1164 enable_odbccp32
1165 enable_odbccu32
1166 enable_ole32
1167 enable_oleacc
1168 enable_oleaut32
1169 enable_olecli32
1170 enable_oledb32
1171 enable_oledlg
1172 enable_olepro32
1173 enable_olesvr32
1174 enable_olethk32
1175 enable_openal32
1176 enable_opencl
1177 enable_opengl32
1178 enable_packager
1179 enable_pdh
1180 enable_photometadatahandler
1181 enable_pidgen
1182 enable_powrprof
1183 enable_printui
1184 enable_prntvpt
1185 enable_propsys
1186 enable_psapi
1187 enable_pstorec
1188 enable_qcap
1189 enable_qedit
1190 enable_qmgr
1191 enable_qmgrprxy
1192 enable_quartz
1193 enable_query
1194 enable_rasapi32
1195 enable_rasdlg
1196 enable_regapi
1197 enable_resutils
1198 enable_riched20
1199 enable_riched32
1200 enable_rpcrt4
1201 enable_rsabase
1202 enable_rsaenh
1203 enable_rstrtmgr
1204 enable_rtutils
1205 enable_samlib
1206 enable_sane_ds
1207 enable_scarddlg
1208 enable_sccbase
1209 enable_schannel
1210 enable_schedsvc
1211 enable_scrrun
1212 enable_scsiport_sys
1213 enable_secur32
1214 enable_security
1215 enable_sensapi
1216 enable_serialui
1217 enable_setupapi
1218 enable_sfc
1219 enable_sfc_os
1220 enable_shdoclc
1221 enable_shdocvw
1222 enable_shell32
1223 enable_shfolder
1224 enable_shlwapi
1225 enable_slbcsp
1226 enable_slc
1227 enable_snmpapi
1228 enable_softpub
1229 enable_spoolss
1230 enable_stdole2_tlb
1231 enable_stdole32_tlb
1232 enable_sti
1233 enable_svrapi
1234 enable_sxs
1235 enable_t2embed
1236 enable_tapi32
1237 enable_taskschd
1238 enable_traffic
1239 enable_twain_32
1240 enable_unicows
1241 enable_updspapi
1242 enable_url
1243 enable_urlmon
1244 enable_usbd_sys
1245 enable_user32
1246 enable_userenv
1247 enable_usp10
1248 enable_uxtheme
1249 enable_vbscript
1250 enable_vcomp
1251 enable_vcomp100
1252 enable_vcomp90
1253 enable_vdmdbg
1254 enable_version
1255 enable_wbemdisp
1256 enable_wbemprox
1257 enable_webservices
1258 enable_wer
1259 enable_wevtapi
1260 enable_wiaservc
1261 enable_windowscodecs
1262 enable_windowscodecsext
1263 enable_winealsa_drv
1264 enable_winecoreaudio_drv
1265 enable_wined3d
1266 enable_winegstreamer
1267 enable_winejoystick_drv
1268 enable_winemac_drv
1269 enable_winemapi
1270 enable_winemp3_acm
1271 enable_wineoss_drv
1272 enable_wineps_drv
1273 enable_wineqtdecoder
1274 enable_winex11_drv
1275 enable_wing32
1276 enable_winhttp
1277 enable_wininet
1278 enable_winmm
1279 enable_winnls32
1280 enable_winscard
1281 enable_winspool_drv
1282 enable_winsta
1283 enable_wintab32
1284 enable_wintrust
1285 enable_wlanapi
1286 enable_wldap32
1287 enable_wmi
1288 enable_wmiutils
1289 enable_wmp
1290 enable_wmvcore
1291 enable_wnaspi32
1292 enable_wpcap
1293 enable_ws2_32
1294 enable_wshom_ocx
1295 enable_wsnmp32
1296 enable_wsock32
1297 enable_wtsapi32
1298 enable_wuapi
1299 enable_wuaueng
1300 enable_xapofx1_1
1301 enable_xinput1_1
1302 enable_xinput1_2
1303 enable_xinput1_3
1304 enable_xinput1_4
1305 enable_xinput9_1_0
1306 enable_xmllite
1307 enable_xolehlp
1308 enable_xpsprint
1309 enable_xpssvcs
1310 enable_documentation
1311 enable_fonts
1312 enable_include
1313 enable_libs_port
1314 enable_libs_wine
1315 enable_libs_wpp
1316 enable_loader
1317 enable_arp
1318 enable_aspnet_regiis
1319 enable_attrib
1320 enable_cabarc
1321 enable_cacls
1322 enable_clock
1323 enable_cmd
1324 enable_conhost
1325 enable_control
1326 enable_cscript
1327 enable_dpnsvr
1328 enable_dxdiag
1329 enable_eject
1330 enable_expand
1331 enable_explorer
1332 enable_extrac32
1333 enable_findstr
1334 enable_hh
1335 enable_hostname
1336 enable_icinfo
1337 enable_iexplore
1338 enable_ipconfig
1339 enable_lodctr
1340 enable_mofcomp
1341 enable_mshta
1342 enable_msiexec
1343 enable_net
1344 enable_netsh
1345 enable_netstat
1346 enable_ngen
1347 enable_notepad
1348 enable_oleview
1349 enable_ping
1350 enable_plugplay
1351 enable_presentationfontcache
1352 enable_progman
1353 enable_reg
1354 enable_regasm
1355 enable_regedit
1356 enable_regsvcs
1357 enable_regsvr32
1358 enable_rpcss
1359 enable_rundll32
1360 enable_sc
1361 enable_schtasks
1362 enable_sdbinst
1363 enable_secedit
1364 enable_servicemodelreg
1365 enable_services
1366 enable_spoolsv
1367 enable_start
1368 enable_svchost
1369 enable_systeminfo
1370 enable_taskkill
1371 enable_tasklist
1372 enable_taskmgr
1373 enable_termsv
1374 enable_uninstaller
1375 enable_unlodctr
1376 enable_view
1377 enable_wevtutil
1378 enable_wineboot
1379 enable_winebrowser
1380 enable_winecfg
1381 enable_wineconsole
1382 enable_winedbg
1383 enable_winedevice
1384 enable_winefile
1385 enable_winemenubuilder
1386 enable_winemine
1387 enable_winemsibuilder
1388 enable_winepath
1389 enable_winetest
1390 enable_winhlp32
1391 enable_winver
1392 enable_wmic
1393 enable_wordpad
1394 enable_write
1395 enable_wscript
1396 enable_wusa
1397 enable_xcopy
1398 enable_server
1399 enable_tools
1401 ac_precious_vars='build_alias
1402 host_alias
1403 target_alias
1405 CFLAGS
1406 LDFLAGS
1407 LIBS
1408 CPPFLAGS
1410 CXXFLAGS
1413 XMKMF
1414 XML2_CFLAGS
1415 XML2_LIBS
1416 XSLT_CFLAGS
1417 XSLT_LIBS
1418 DBUS_CFLAGS
1419 DBUS_LIBS
1420 HAL_CFLAGS
1421 HAL_LIBS
1422 GNUTLS_CFLAGS
1423 GNUTLS_LIBS
1424 SANE_CFLAGS
1425 SANE_LIBS
1426 GPHOTO2_CFLAGS
1427 GPHOTO2_LIBS
1428 GPHOTO2_PORT_CFLAGS
1429 GPHOTO2_PORT_LIBS
1430 LCMS2_CFLAGS
1431 LCMS2_LIBS
1432 FREETYPE_CFLAGS
1433 FREETYPE_LIBS
1434 GSTREAMER_CFLAGS
1435 GSTREAMER_LIBS
1436 CAPI20_CFLAGS
1437 CAPI20_LIBS
1438 FONTCONFIG_CFLAGS
1439 FONTCONFIG_LIBS
1440 JPEG_CFLAGS
1441 JPEG_LIBS
1442 PNG_CFLAGS
1443 PNG_LIBS
1444 TIFF_CFLAGS
1445 TIFF_LIBS
1446 MPG123_CFLAGS
1447 MPG123_LIBS'
1450 # Initialize some variables set by options.
1451 ac_init_help=
1452 ac_init_version=false
1453 ac_unrecognized_opts=
1454 ac_unrecognized_sep=
1455 # The variables have the same names as the options, with
1456 # dashes changed to underlines.
1457 cache_file=/dev/null
1458 exec_prefix=NONE
1459 no_create=
1460 no_recursion=
1461 prefix=NONE
1462 program_prefix=NONE
1463 program_suffix=NONE
1464 program_transform_name=s,x,x,
1465 silent=
1466 site=
1467 srcdir=
1468 verbose=
1469 x_includes=NONE
1470 x_libraries=NONE
1472 # Installation directory options.
1473 # These are left unexpanded so users can "make install exec_prefix=/foo"
1474 # and all the variables that are supposed to be based on exec_prefix
1475 # by default will actually change.
1476 # Use braces instead of parens because sh, perl, etc. also accept them.
1477 # (The list follows the same order as the GNU Coding Standards.)
1478 bindir='${exec_prefix}/bin'
1479 sbindir='${exec_prefix}/sbin'
1480 libexecdir='${exec_prefix}/libexec'
1481 datarootdir='${prefix}/share'
1482 datadir='${datarootdir}'
1483 sysconfdir='${prefix}/etc'
1484 sharedstatedir='${prefix}/com'
1485 localstatedir='${prefix}/var'
1486 includedir='${prefix}/include'
1487 oldincludedir='/usr/include'
1488 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1489 infodir='${datarootdir}/info'
1490 htmldir='${docdir}'
1491 dvidir='${docdir}'
1492 pdfdir='${docdir}'
1493 psdir='${docdir}'
1494 libdir='${exec_prefix}/lib'
1495 localedir='${datarootdir}/locale'
1496 mandir='${datarootdir}/man'
1498 ac_prev=
1499 ac_dashdash=
1500 for ac_option
1502 # If the previous option needs an argument, assign it.
1503 if test -n "$ac_prev"; then
1504 eval $ac_prev=\$ac_option
1505 ac_prev=
1506 continue
1509 case $ac_option in
1510 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1511 *=) ac_optarg= ;;
1512 *) ac_optarg=yes ;;
1513 esac
1515 # Accept the important Cygnus configure options, so we can diagnose typos.
1517 case $ac_dashdash$ac_option in
1519 ac_dashdash=yes ;;
1521 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1522 ac_prev=bindir ;;
1523 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1524 bindir=$ac_optarg ;;
1526 -build | --build | --buil | --bui | --bu)
1527 ac_prev=build_alias ;;
1528 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1529 build_alias=$ac_optarg ;;
1531 -cache-file | --cache-file | --cache-fil | --cache-fi \
1532 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1533 ac_prev=cache_file ;;
1534 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1535 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1536 cache_file=$ac_optarg ;;
1538 --config-cache | -C)
1539 cache_file=config.cache ;;
1541 -datadir | --datadir | --datadi | --datad)
1542 ac_prev=datadir ;;
1543 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1544 datadir=$ac_optarg ;;
1546 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1547 | --dataroo | --dataro | --datar)
1548 ac_prev=datarootdir ;;
1549 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1550 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1551 datarootdir=$ac_optarg ;;
1553 -disable-* | --disable-*)
1554 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1555 # Reject names that are not valid shell variable names.
1556 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1557 as_fn_error $? "invalid feature name: $ac_useropt"
1558 ac_useropt_orig=$ac_useropt
1559 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1560 case $ac_user_opts in
1562 "enable_$ac_useropt"
1563 "*) ;;
1564 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1565 ac_unrecognized_sep=', ';;
1566 esac
1567 eval enable_$ac_useropt=no ;;
1569 -docdir | --docdir | --docdi | --doc | --do)
1570 ac_prev=docdir ;;
1571 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1572 docdir=$ac_optarg ;;
1574 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1575 ac_prev=dvidir ;;
1576 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1577 dvidir=$ac_optarg ;;
1579 -enable-* | --enable-*)
1580 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1581 # Reject names that are not valid shell variable names.
1582 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1583 as_fn_error $? "invalid feature name: $ac_useropt"
1584 ac_useropt_orig=$ac_useropt
1585 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1586 case $ac_user_opts in
1588 "enable_$ac_useropt"
1589 "*) ;;
1590 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1591 ac_unrecognized_sep=', ';;
1592 esac
1593 eval enable_$ac_useropt=\$ac_optarg ;;
1595 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1596 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1597 | --exec | --exe | --ex)
1598 ac_prev=exec_prefix ;;
1599 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1600 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1601 | --exec=* | --exe=* | --ex=*)
1602 exec_prefix=$ac_optarg ;;
1604 -gas | --gas | --ga | --g)
1605 # Obsolete; use --with-gas.
1606 with_gas=yes ;;
1608 -help | --help | --hel | --he | -h)
1609 ac_init_help=long ;;
1610 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1611 ac_init_help=recursive ;;
1612 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1613 ac_init_help=short ;;
1615 -host | --host | --hos | --ho)
1616 ac_prev=host_alias ;;
1617 -host=* | --host=* | --hos=* | --ho=*)
1618 host_alias=$ac_optarg ;;
1620 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1621 ac_prev=htmldir ;;
1622 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1623 | --ht=*)
1624 htmldir=$ac_optarg ;;
1626 -includedir | --includedir | --includedi | --included | --include \
1627 | --includ | --inclu | --incl | --inc)
1628 ac_prev=includedir ;;
1629 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1630 | --includ=* | --inclu=* | --incl=* | --inc=*)
1631 includedir=$ac_optarg ;;
1633 -infodir | --infodir | --infodi | --infod | --info | --inf)
1634 ac_prev=infodir ;;
1635 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1636 infodir=$ac_optarg ;;
1638 -libdir | --libdir | --libdi | --libd)
1639 ac_prev=libdir ;;
1640 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1641 libdir=$ac_optarg ;;
1643 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1644 | --libexe | --libex | --libe)
1645 ac_prev=libexecdir ;;
1646 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1647 | --libexe=* | --libex=* | --libe=*)
1648 libexecdir=$ac_optarg ;;
1650 -localedir | --localedir | --localedi | --localed | --locale)
1651 ac_prev=localedir ;;
1652 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1653 localedir=$ac_optarg ;;
1655 -localstatedir | --localstatedir | --localstatedi | --localstated \
1656 | --localstate | --localstat | --localsta | --localst | --locals)
1657 ac_prev=localstatedir ;;
1658 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1659 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1660 localstatedir=$ac_optarg ;;
1662 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1663 ac_prev=mandir ;;
1664 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1665 mandir=$ac_optarg ;;
1667 -nfp | --nfp | --nf)
1668 # Obsolete; use --without-fp.
1669 with_fp=no ;;
1671 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1672 | --no-cr | --no-c | -n)
1673 no_create=yes ;;
1675 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1676 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1677 no_recursion=yes ;;
1679 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1680 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1681 | --oldin | --oldi | --old | --ol | --o)
1682 ac_prev=oldincludedir ;;
1683 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1684 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1685 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1686 oldincludedir=$ac_optarg ;;
1688 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1689 ac_prev=prefix ;;
1690 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1691 prefix=$ac_optarg ;;
1693 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1694 | --program-pre | --program-pr | --program-p)
1695 ac_prev=program_prefix ;;
1696 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1697 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1698 program_prefix=$ac_optarg ;;
1700 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1701 | --program-suf | --program-su | --program-s)
1702 ac_prev=program_suffix ;;
1703 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1704 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1705 program_suffix=$ac_optarg ;;
1707 -program-transform-name | --program-transform-name \
1708 | --program-transform-nam | --program-transform-na \
1709 | --program-transform-n | --program-transform- \
1710 | --program-transform | --program-transfor \
1711 | --program-transfo | --program-transf \
1712 | --program-trans | --program-tran \
1713 | --progr-tra | --program-tr | --program-t)
1714 ac_prev=program_transform_name ;;
1715 -program-transform-name=* | --program-transform-name=* \
1716 | --program-transform-nam=* | --program-transform-na=* \
1717 | --program-transform-n=* | --program-transform-=* \
1718 | --program-transform=* | --program-transfor=* \
1719 | --program-transfo=* | --program-transf=* \
1720 | --program-trans=* | --program-tran=* \
1721 | --progr-tra=* | --program-tr=* | --program-t=*)
1722 program_transform_name=$ac_optarg ;;
1724 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1725 ac_prev=pdfdir ;;
1726 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1727 pdfdir=$ac_optarg ;;
1729 -psdir | --psdir | --psdi | --psd | --ps)
1730 ac_prev=psdir ;;
1731 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1732 psdir=$ac_optarg ;;
1734 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1735 | -silent | --silent | --silen | --sile | --sil)
1736 silent=yes ;;
1738 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1739 ac_prev=sbindir ;;
1740 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1741 | --sbi=* | --sb=*)
1742 sbindir=$ac_optarg ;;
1744 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1745 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1746 | --sharedst | --shareds | --shared | --share | --shar \
1747 | --sha | --sh)
1748 ac_prev=sharedstatedir ;;
1749 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1750 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1751 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1752 | --sha=* | --sh=*)
1753 sharedstatedir=$ac_optarg ;;
1755 -site | --site | --sit)
1756 ac_prev=site ;;
1757 -site=* | --site=* | --sit=*)
1758 site=$ac_optarg ;;
1760 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1761 ac_prev=srcdir ;;
1762 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1763 srcdir=$ac_optarg ;;
1765 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1766 | --syscon | --sysco | --sysc | --sys | --sy)
1767 ac_prev=sysconfdir ;;
1768 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1769 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1770 sysconfdir=$ac_optarg ;;
1772 -target | --target | --targe | --targ | --tar | --ta | --t)
1773 ac_prev=target_alias ;;
1774 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1775 target_alias=$ac_optarg ;;
1777 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1778 verbose=yes ;;
1780 -version | --version | --versio | --versi | --vers | -V)
1781 ac_init_version=: ;;
1783 -with-* | --with-*)
1784 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1785 # Reject names that are not valid shell variable names.
1786 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1787 as_fn_error $? "invalid package name: $ac_useropt"
1788 ac_useropt_orig=$ac_useropt
1789 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1790 case $ac_user_opts in
1792 "with_$ac_useropt"
1793 "*) ;;
1794 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1795 ac_unrecognized_sep=', ';;
1796 esac
1797 eval with_$ac_useropt=\$ac_optarg ;;
1799 -without-* | --without-*)
1800 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1801 # Reject names that are not valid shell variable names.
1802 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1803 as_fn_error $? "invalid package name: $ac_useropt"
1804 ac_useropt_orig=$ac_useropt
1805 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1806 case $ac_user_opts in
1808 "with_$ac_useropt"
1809 "*) ;;
1810 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1811 ac_unrecognized_sep=', ';;
1812 esac
1813 eval with_$ac_useropt=no ;;
1815 --x)
1816 # Obsolete; use --with-x.
1817 with_x=yes ;;
1819 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1820 | --x-incl | --x-inc | --x-in | --x-i)
1821 ac_prev=x_includes ;;
1822 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1823 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1824 x_includes=$ac_optarg ;;
1826 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1827 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1828 ac_prev=x_libraries ;;
1829 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1830 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1831 x_libraries=$ac_optarg ;;
1833 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1834 Try \`$0 --help' for more information"
1837 *=*)
1838 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1839 # Reject names that are not valid shell variable names.
1840 case $ac_envvar in #(
1841 '' | [0-9]* | *[!_$as_cr_alnum]* )
1842 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1843 esac
1844 eval $ac_envvar=\$ac_optarg
1845 export $ac_envvar ;;
1848 # FIXME: should be removed in autoconf 3.0.
1849 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1850 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1851 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1852 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1855 esac
1856 done
1858 if test -n "$ac_prev"; then
1859 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1860 as_fn_error $? "missing argument to $ac_option"
1863 if test -n "$ac_unrecognized_opts"; then
1864 case $enable_option_checking in
1865 no) ;;
1866 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1867 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1868 esac
1871 # Check all directory arguments for consistency.
1872 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1873 datadir sysconfdir sharedstatedir localstatedir includedir \
1874 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1875 libdir localedir mandir
1877 eval ac_val=\$$ac_var
1878 # Remove trailing slashes.
1879 case $ac_val in
1880 */ )
1881 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1882 eval $ac_var=\$ac_val;;
1883 esac
1884 # Be sure to have absolute directory names.
1885 case $ac_val in
1886 [\\/$]* | ?:[\\/]* ) continue;;
1887 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1888 esac
1889 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1890 done
1892 # There might be people who depend on the old broken behavior: `$host'
1893 # used to hold the argument of --host etc.
1894 # FIXME: To remove some day.
1895 build=$build_alias
1896 host=$host_alias
1897 target=$target_alias
1899 # FIXME: To remove some day.
1900 if test "x$host_alias" != x; then
1901 if test "x$build_alias" = x; then
1902 cross_compiling=maybe
1903 elif test "x$build_alias" != "x$host_alias"; then
1904 cross_compiling=yes
1908 ac_tool_prefix=
1909 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1911 test "$silent" = yes && exec 6>/dev/null
1914 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1915 ac_ls_di=`ls -di .` &&
1916 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1917 as_fn_error $? "working directory cannot be determined"
1918 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1919 as_fn_error $? "pwd does not report name of working directory"
1922 # Find the source files, if location was not specified.
1923 if test -z "$srcdir"; then
1924 ac_srcdir_defaulted=yes
1925 # Try the directory containing this script, then the parent directory.
1926 ac_confdir=`$as_dirname -- "$as_myself" ||
1927 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1928 X"$as_myself" : 'X\(//\)[^/]' \| \
1929 X"$as_myself" : 'X\(//\)$' \| \
1930 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1931 $as_echo X"$as_myself" |
1932 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1933 s//\1/
1936 /^X\(\/\/\)[^/].*/{
1937 s//\1/
1940 /^X\(\/\/\)$/{
1941 s//\1/
1944 /^X\(\/\).*/{
1945 s//\1/
1948 s/.*/./; q'`
1949 srcdir=$ac_confdir
1950 if test ! -r "$srcdir/$ac_unique_file"; then
1951 srcdir=..
1953 else
1954 ac_srcdir_defaulted=no
1956 if test ! -r "$srcdir/$ac_unique_file"; then
1957 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1958 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1960 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1961 ac_abs_confdir=`(
1962 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1963 pwd)`
1964 # When building in place, set srcdir=.
1965 if test "$ac_abs_confdir" = "$ac_pwd"; then
1966 srcdir=.
1968 # Remove unnecessary trailing slashes from srcdir.
1969 # Double slashes in file names in object file debugging info
1970 # mess up M-x gdb in Emacs.
1971 case $srcdir in
1972 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1973 esac
1974 for ac_var in $ac_precious_vars; do
1975 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1976 eval ac_env_${ac_var}_value=\$${ac_var}
1977 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1978 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1979 done
1982 # Report the --help message.
1984 if test "$ac_init_help" = "long"; then
1985 # Omit some internal or obsolete options to make the list less imposing.
1986 # This message is too long to be a string in the A/UX 3.1 sh.
1987 cat <<_ACEOF
1988 \`configure' configures Wine 1.7.30 to adapt to many kinds of systems.
1990 Usage: $0 [OPTION]... [VAR=VALUE]...
1992 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1993 VAR=VALUE. See below for descriptions of some of the useful variables.
1995 Defaults for the options are specified in brackets.
1997 Configuration:
1998 -h, --help display this help and exit
1999 --help=short display options specific to this package
2000 --help=recursive display the short help of all the included packages
2001 -V, --version display version information and exit
2002 -q, --quiet, --silent do not print \`checking ...' messages
2003 --cache-file=FILE cache test results in FILE [disabled]
2004 -C, --config-cache alias for \`--cache-file=config.cache'
2005 -n, --no-create do not create output files
2006 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2008 Installation directories:
2009 --prefix=PREFIX install architecture-independent files in PREFIX
2010 [$ac_default_prefix]
2011 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2012 [PREFIX]
2014 By default, \`make install' will install all the files in
2015 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2016 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2017 for instance \`--prefix=\$HOME'.
2019 For better control, use the options below.
2021 Fine tuning of the installation directories:
2022 --bindir=DIR user executables [EPREFIX/bin]
2023 --sbindir=DIR system admin executables [EPREFIX/sbin]
2024 --libexecdir=DIR program executables [EPREFIX/libexec]
2025 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2026 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2027 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2028 --libdir=DIR object code libraries [EPREFIX/lib]
2029 --includedir=DIR C header files [PREFIX/include]
2030 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2031 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2032 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2033 --infodir=DIR info documentation [DATAROOTDIR/info]
2034 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2035 --mandir=DIR man documentation [DATAROOTDIR/man]
2036 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2037 --htmldir=DIR html documentation [DOCDIR]
2038 --dvidir=DIR dvi documentation [DOCDIR]
2039 --pdfdir=DIR pdf documentation [DOCDIR]
2040 --psdir=DIR ps documentation [DOCDIR]
2041 _ACEOF
2043 cat <<\_ACEOF
2045 X features:
2046 --x-includes=DIR X include files are in DIR
2047 --x-libraries=DIR X library files are in DIR
2049 System types:
2050 --build=BUILD configure for building on BUILD [guessed]
2051 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2052 _ACEOF
2055 if test -n "$ac_init_help"; then
2056 case $ac_init_help in
2057 short | recursive ) echo "Configuration of Wine 1.7.30:";;
2058 esac
2059 cat <<\_ACEOF
2061 Optional Features:
2062 --disable-option-checking ignore unrecognized --enable/--with options
2063 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2064 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2065 --disable-win16 do not include Win16 support
2066 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2067 binaries)
2068 --disable-tests do not build the regression tests
2069 --enable-maintainer-mode
2070 enable maintainer-specific build rules
2071 --disable-largefile omit support for large files
2073 Optional Packages:
2074 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2075 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2076 --without-alsa do not use the Alsa sound support
2077 --without-capi do not use CAPI (ISDN support)
2078 --without-cms do not use CMS (color management support)
2079 --without-coreaudio do not use the CoreAudio sound support
2080 --without-cups do not use CUPS
2081 --without-curses do not use (n)curses
2082 --without-dbus do not use DBus (dynamic device support)
2083 --without-fontconfig do not use fontconfig
2084 --without-freetype do not use the FreeType library
2085 --without-gettext do not use gettext
2086 --with-gettextpo use the GetTextPO library to rebuild po files
2087 --without-gphoto do not use gphoto (Digital Camera support)
2088 --without-glu do not use the GLU library
2089 --without-gnutls do not use GnuTLS (schannel support)
2090 --without-gsm do not use libgsm (GSM 06.10 codec support)
2091 --without-gstreamer do not use GStreamer (codecs support)
2092 --without-hal do not use HAL (dynamic device support)
2093 --without-jpeg do not use JPEG
2094 --without-ldap do not use LDAP
2095 --without-mpg123 do not use the mpg123 library
2096 --without-netapi do not use the Samba NetAPI library
2097 --without-openal do not use OpenAL
2098 --without-opencl do not use OpenCL
2099 --without-opengl do not use OpenGL
2100 --without-osmesa do not use the OSMesa library
2101 --without-oss do not use the OSS sound support
2102 --without-pcap do not use the Packet Capture library
2103 --without-png do not use PNG
2104 --without-pthread do not use the pthread library
2105 --without-sane do not use SANE (scanner support)
2106 --without-tiff do not use TIFF
2107 --without-v4l do not use v4l1 (v4l support)
2108 --without-xcomposite do not use the Xcomposite extension
2109 --without-xcursor do not use the Xcursor extension
2110 --without-xinerama do not use Xinerama (multi-monitor support)
2111 --without-xinput do not use the Xinput extension
2112 --without-xinput2 do not use the Xinput 2 extension
2113 --without-xml do not use XML
2114 --without-xrandr do not use Xrandr (resolution changes)
2115 --without-xrender do not use the Xrender extension
2116 --without-xshape do not use the Xshape extension
2117 --without-xshm do not use XShm (shared memory extension)
2118 --without-xslt do not use XSLT
2119 --without-xxf86vm do not use XFree video mode extension
2120 --without-zlib do not use Zlib (data compression)
2121 --with-wine-tools=DIR use Wine tools from directory DIR
2122 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2123 --with-x use the X Window System
2125 Some influential environment variables:
2126 CC C compiler command
2127 CFLAGS C compiler flags
2128 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2129 nonstandard directory <lib dir>
2130 LIBS libraries to pass to the linker, e.g. -l<library>
2131 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2132 you have headers in a nonstandard directory <include dir>
2133 CXX C++ compiler command
2134 CXXFLAGS C++ compiler flags
2135 CPP C preprocessor
2136 XMKMF Path to xmkmf, Makefile generator for X Window System
2137 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2138 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2139 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2140 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2141 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2142 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2143 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2144 HAL_LIBS Linker flags for hal, overriding pkg-config
2145 GNUTLS_CFLAGS
2146 C compiler flags for gnutls, overriding pkg-config
2147 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2148 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2149 SANE_LIBS Linker flags for libsane, overriding pkg-config
2150 GPHOTO2_CFLAGS
2151 C compiler flags for libgphoto2, overriding pkg-config
2152 GPHOTO2_LIBS
2153 Linker flags for libgphoto2, overriding pkg-config
2154 GPHOTO2_PORT_CFLAGS
2155 C compiler flags for libgphoto2_port, overriding pkg-config
2156 GPHOTO2_PORT_LIBS
2157 Linker flags for libgphoto2_port, overriding pkg-config
2158 LCMS2_CFLAGS
2159 C compiler flags for lcms2, overriding pkg-config
2160 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2161 FREETYPE_CFLAGS
2162 C compiler flags for freetype2, overriding pkg-config
2163 FREETYPE_LIBS
2164 Linker flags for freetype2, overriding pkg-config
2165 GSTREAMER_CFLAGS
2166 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2167 GSTREAMER_LIBS
2168 Linker flags for gstreamer-app-0.10, overriding pkg-config
2169 CAPI20_CFLAGS
2170 C compiler flags for capi20, overriding pkg-config
2171 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2172 FONTCONFIG_CFLAGS
2173 C compiler flags for fontconfig, overriding pkg-config
2174 FONTCONFIG_LIBS
2175 Linker flags for fontconfig, overriding pkg-config
2176 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2177 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2178 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2179 PNG_LIBS Linker flags for libpng, overriding pkg-config
2180 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2181 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2182 MPG123_CFLAGS
2183 C compiler flags for libmpg123, overriding pkg-config
2184 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2186 Use these variables to override the choices made by `configure' or to help
2187 it to find libraries and programs with nonstandard names/locations.
2189 Report bugs to <wine-devel@winehq.org>.
2190 Wine home page: <http://www.winehq.org>.
2191 _ACEOF
2192 ac_status=$?
2195 if test "$ac_init_help" = "recursive"; then
2196 # If there are subdirs, report their specific --help.
2197 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2198 test -d "$ac_dir" ||
2199 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2200 continue
2201 ac_builddir=.
2203 case "$ac_dir" in
2204 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2206 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2207 # A ".." for each directory in $ac_dir_suffix.
2208 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2209 case $ac_top_builddir_sub in
2210 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2211 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2212 esac ;;
2213 esac
2214 ac_abs_top_builddir=$ac_pwd
2215 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2216 # for backward compatibility:
2217 ac_top_builddir=$ac_top_build_prefix
2219 case $srcdir in
2220 .) # We are building in place.
2221 ac_srcdir=.
2222 ac_top_srcdir=$ac_top_builddir_sub
2223 ac_abs_top_srcdir=$ac_pwd ;;
2224 [\\/]* | ?:[\\/]* ) # Absolute name.
2225 ac_srcdir=$srcdir$ac_dir_suffix;
2226 ac_top_srcdir=$srcdir
2227 ac_abs_top_srcdir=$srcdir ;;
2228 *) # Relative name.
2229 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2230 ac_top_srcdir=$ac_top_build_prefix$srcdir
2231 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2232 esac
2233 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2235 cd "$ac_dir" || { ac_status=$?; continue; }
2236 # Check for guested configure.
2237 if test -f "$ac_srcdir/configure.gnu"; then
2238 echo &&
2239 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2240 elif test -f "$ac_srcdir/configure"; then
2241 echo &&
2242 $SHELL "$ac_srcdir/configure" --help=recursive
2243 else
2244 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2245 fi || ac_status=$?
2246 cd "$ac_pwd" || { ac_status=$?; break; }
2247 done
2250 test -n "$ac_init_help" && exit $ac_status
2251 if $ac_init_version; then
2252 cat <<\_ACEOF
2253 Wine configure 1.7.30
2254 generated by GNU Autoconf 2.69
2256 Copyright (C) 2012 Free Software Foundation, Inc.
2257 This configure script is free software; the Free Software Foundation
2258 gives unlimited permission to copy, distribute and modify it.
2259 _ACEOF
2260 exit
2263 ## ------------------------ ##
2264 ## Autoconf initialization. ##
2265 ## ------------------------ ##
2267 # ac_fn_c_try_compile LINENO
2268 # --------------------------
2269 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2270 ac_fn_c_try_compile ()
2272 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2273 rm -f conftest.$ac_objext
2274 if { { ac_try="$ac_compile"
2275 case "(($ac_try" in
2276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2277 *) ac_try_echo=$ac_try;;
2278 esac
2279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2280 $as_echo "$ac_try_echo"; } >&5
2281 (eval "$ac_compile") 2>conftest.err
2282 ac_status=$?
2283 if test -s conftest.err; then
2284 grep -v '^ *+' conftest.err >conftest.er1
2285 cat conftest.er1 >&5
2286 mv -f conftest.er1 conftest.err
2288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2289 test $ac_status = 0; } && {
2290 test -z "$ac_c_werror_flag" ||
2291 test ! -s conftest.err
2292 } && test -s conftest.$ac_objext; then :
2293 ac_retval=0
2294 else
2295 $as_echo "$as_me: failed program was:" >&5
2296 sed 's/^/| /' conftest.$ac_ext >&5
2298 ac_retval=1
2300 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2301 as_fn_set_status $ac_retval
2303 } # ac_fn_c_try_compile
2305 # ac_fn_cxx_try_compile LINENO
2306 # ----------------------------
2307 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2308 ac_fn_cxx_try_compile ()
2310 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2311 rm -f conftest.$ac_objext
2312 if { { ac_try="$ac_compile"
2313 case "(($ac_try" in
2314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2315 *) ac_try_echo=$ac_try;;
2316 esac
2317 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2318 $as_echo "$ac_try_echo"; } >&5
2319 (eval "$ac_compile") 2>conftest.err
2320 ac_status=$?
2321 if test -s conftest.err; then
2322 grep -v '^ *+' conftest.err >conftest.er1
2323 cat conftest.er1 >&5
2324 mv -f conftest.er1 conftest.err
2326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2327 test $ac_status = 0; } && {
2328 test -z "$ac_cxx_werror_flag" ||
2329 test ! -s conftest.err
2330 } && test -s conftest.$ac_objext; then :
2331 ac_retval=0
2332 else
2333 $as_echo "$as_me: failed program was:" >&5
2334 sed 's/^/| /' conftest.$ac_ext >&5
2336 ac_retval=1
2338 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2339 as_fn_set_status $ac_retval
2341 } # ac_fn_cxx_try_compile
2343 # ac_fn_c_try_link LINENO
2344 # -----------------------
2345 # Try to link conftest.$ac_ext, and return whether this succeeded.
2346 ac_fn_c_try_link ()
2348 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2349 rm -f conftest.$ac_objext conftest$ac_exeext
2350 if { { ac_try="$ac_link"
2351 case "(($ac_try" in
2352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2353 *) ac_try_echo=$ac_try;;
2354 esac
2355 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2356 $as_echo "$ac_try_echo"; } >&5
2357 (eval "$ac_link") 2>conftest.err
2358 ac_status=$?
2359 if test -s conftest.err; then
2360 grep -v '^ *+' conftest.err >conftest.er1
2361 cat conftest.er1 >&5
2362 mv -f conftest.er1 conftest.err
2364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2365 test $ac_status = 0; } && {
2366 test -z "$ac_c_werror_flag" ||
2367 test ! -s conftest.err
2368 } && test -s conftest$ac_exeext && {
2369 test "$cross_compiling" = yes ||
2370 test -x conftest$ac_exeext
2371 }; then :
2372 ac_retval=0
2373 else
2374 $as_echo "$as_me: failed program was:" >&5
2375 sed 's/^/| /' conftest.$ac_ext >&5
2377 ac_retval=1
2379 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2380 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2381 # interfere with the next link command; also delete a directory that is
2382 # left behind by Apple's compiler. We do this before executing the actions.
2383 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2384 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2385 as_fn_set_status $ac_retval
2387 } # ac_fn_c_try_link
2389 # ac_fn_c_try_cpp LINENO
2390 # ----------------------
2391 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2392 ac_fn_c_try_cpp ()
2394 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2395 if { { ac_try="$ac_cpp conftest.$ac_ext"
2396 case "(($ac_try" in
2397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2398 *) ac_try_echo=$ac_try;;
2399 esac
2400 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2401 $as_echo "$ac_try_echo"; } >&5
2402 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2403 ac_status=$?
2404 if test -s conftest.err; then
2405 grep -v '^ *+' conftest.err >conftest.er1
2406 cat conftest.er1 >&5
2407 mv -f conftest.er1 conftest.err
2409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2410 test $ac_status = 0; } > conftest.i && {
2411 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2412 test ! -s conftest.err
2413 }; then :
2414 ac_retval=0
2415 else
2416 $as_echo "$as_me: failed program was:" >&5
2417 sed 's/^/| /' conftest.$ac_ext >&5
2419 ac_retval=1
2421 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2422 as_fn_set_status $ac_retval
2424 } # ac_fn_c_try_cpp
2426 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2427 # -------------------------------------------------------
2428 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2429 # the include files in INCLUDES and setting the cache variable VAR
2430 # accordingly.
2431 ac_fn_c_check_header_mongrel ()
2433 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2434 if eval \${$3+:} false; then :
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2436 $as_echo_n "checking for $2... " >&6; }
2437 if eval \${$3+:} false; then :
2438 $as_echo_n "(cached) " >&6
2440 eval ac_res=\$$3
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2442 $as_echo "$ac_res" >&6; }
2443 else
2444 # Is the header compilable?
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2446 $as_echo_n "checking $2 usability... " >&6; }
2447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2448 /* end confdefs.h. */
2450 #include <$2>
2451 _ACEOF
2452 if ac_fn_c_try_compile "$LINENO"; then :
2453 ac_header_compiler=yes
2454 else
2455 ac_header_compiler=no
2457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2459 $as_echo "$ac_header_compiler" >&6; }
2461 # Is the header present?
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2463 $as_echo_n "checking $2 presence... " >&6; }
2464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2465 /* end confdefs.h. */
2466 #include <$2>
2467 _ACEOF
2468 if ac_fn_c_try_cpp "$LINENO"; then :
2469 ac_header_preproc=yes
2470 else
2471 ac_header_preproc=no
2473 rm -f conftest.err conftest.i conftest.$ac_ext
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2475 $as_echo "$ac_header_preproc" >&6; }
2477 # So? What about this header?
2478 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2479 yes:no: )
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2481 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2483 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2485 no:yes:* )
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2487 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2489 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2491 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2493 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2495 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2496 ( $as_echo "## ------------------------------------ ##
2497 ## Report this to wine-devel@winehq.org ##
2498 ## ------------------------------------ ##"
2499 ) | sed "s/^/$as_me: WARNING: /" >&2
2501 esac
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2503 $as_echo_n "checking for $2... " >&6; }
2504 if eval \${$3+:} false; then :
2505 $as_echo_n "(cached) " >&6
2506 else
2507 eval "$3=\$ac_header_compiler"
2509 eval ac_res=\$$3
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2511 $as_echo "$ac_res" >&6; }
2513 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2515 } # ac_fn_c_check_header_mongrel
2517 # ac_fn_c_try_run LINENO
2518 # ----------------------
2519 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2520 # that executables *can* be run.
2521 ac_fn_c_try_run ()
2523 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2524 if { { ac_try="$ac_link"
2525 case "(($ac_try" in
2526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2527 *) ac_try_echo=$ac_try;;
2528 esac
2529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2530 $as_echo "$ac_try_echo"; } >&5
2531 (eval "$ac_link") 2>&5
2532 ac_status=$?
2533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2534 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2535 { { case "(($ac_try" in
2536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2537 *) ac_try_echo=$ac_try;;
2538 esac
2539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2540 $as_echo "$ac_try_echo"; } >&5
2541 (eval "$ac_try") 2>&5
2542 ac_status=$?
2543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2544 test $ac_status = 0; }; }; then :
2545 ac_retval=0
2546 else
2547 $as_echo "$as_me: program exited with status $ac_status" >&5
2548 $as_echo "$as_me: failed program was:" >&5
2549 sed 's/^/| /' conftest.$ac_ext >&5
2551 ac_retval=$ac_status
2553 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2554 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2555 as_fn_set_status $ac_retval
2557 } # ac_fn_c_try_run
2559 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2560 # -------------------------------------------------------
2561 # Tests whether HEADER exists and can be compiled using the include files in
2562 # INCLUDES, setting the cache variable VAR accordingly.
2563 ac_fn_c_check_header_compile ()
2565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2567 $as_echo_n "checking for $2... " >&6; }
2568 if eval \${$3+:} false; then :
2569 $as_echo_n "(cached) " >&6
2570 else
2571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2572 /* end confdefs.h. */
2574 #include <$2>
2575 _ACEOF
2576 if ac_fn_c_try_compile "$LINENO"; then :
2577 eval "$3=yes"
2578 else
2579 eval "$3=no"
2581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2583 eval ac_res=\$$3
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2585 $as_echo "$ac_res" >&6; }
2586 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2588 } # ac_fn_c_check_header_compile
2590 # ac_fn_c_check_func LINENO FUNC VAR
2591 # ----------------------------------
2592 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2593 ac_fn_c_check_func ()
2595 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2597 $as_echo_n "checking for $2... " >&6; }
2598 if eval \${$3+:} false; then :
2599 $as_echo_n "(cached) " >&6
2600 else
2601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2602 /* end confdefs.h. */
2603 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2605 #define $2 innocuous_$2
2607 /* System header to define __stub macros and hopefully few prototypes,
2608 which can conflict with char $2 (); below.
2609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2610 <limits.h> exists even on freestanding compilers. */
2612 #ifdef __STDC__
2613 # include <limits.h>
2614 #else
2615 # include <assert.h>
2616 #endif
2618 #undef $2
2620 /* Override any GCC internal prototype to avoid an error.
2621 Use char because int might match the return type of a GCC
2622 builtin and then its argument prototype would still apply. */
2623 #ifdef __cplusplus
2624 extern "C"
2625 #endif
2626 char $2 ();
2627 /* The GNU C library defines this for functions which it implements
2628 to always fail with ENOSYS. Some functions are actually named
2629 something starting with __ and the normal name is an alias. */
2630 #if defined __stub_$2 || defined __stub___$2
2631 choke me
2632 #endif
2635 main ()
2637 return $2 ();
2639 return 0;
2641 _ACEOF
2642 if ac_fn_c_try_link "$LINENO"; then :
2643 eval "$3=yes"
2644 else
2645 eval "$3=no"
2647 rm -f core conftest.err conftest.$ac_objext \
2648 conftest$ac_exeext conftest.$ac_ext
2650 eval ac_res=\$$3
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2652 $as_echo "$ac_res" >&6; }
2653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2655 } # ac_fn_c_check_func
2657 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2658 # ----------------------------------------------------
2659 # Tries to find if the field MEMBER exists in type AGGR, after including
2660 # INCLUDES, setting cache variable VAR accordingly.
2661 ac_fn_c_check_member ()
2663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2665 $as_echo_n "checking for $2.$3... " >&6; }
2666 if eval \${$4+:} false; then :
2667 $as_echo_n "(cached) " >&6
2668 else
2669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2670 /* end confdefs.h. */
2673 main ()
2675 static $2 ac_aggr;
2676 if (ac_aggr.$3)
2677 return 0;
2679 return 0;
2681 _ACEOF
2682 if ac_fn_c_try_compile "$LINENO"; then :
2683 eval "$4=yes"
2684 else
2685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2686 /* end confdefs.h. */
2689 main ()
2691 static $2 ac_aggr;
2692 if (sizeof ac_aggr.$3)
2693 return 0;
2695 return 0;
2697 _ACEOF
2698 if ac_fn_c_try_compile "$LINENO"; then :
2699 eval "$4=yes"
2700 else
2701 eval "$4=no"
2703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2707 eval ac_res=\$$4
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2709 $as_echo "$ac_res" >&6; }
2710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2712 } # ac_fn_c_check_member
2714 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2715 # -------------------------------------------
2716 # Tests whether TYPE exists after having included INCLUDES, setting cache
2717 # variable VAR accordingly.
2718 ac_fn_c_check_type ()
2720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2722 $as_echo_n "checking for $2... " >&6; }
2723 if eval \${$3+:} false; then :
2724 $as_echo_n "(cached) " >&6
2725 else
2726 eval "$3=no"
2727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2728 /* end confdefs.h. */
2731 main ()
2733 if (sizeof ($2))
2734 return 0;
2736 return 0;
2738 _ACEOF
2739 if ac_fn_c_try_compile "$LINENO"; then :
2740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2741 /* end confdefs.h. */
2744 main ()
2746 if (sizeof (($2)))
2747 return 0;
2749 return 0;
2751 _ACEOF
2752 if ac_fn_c_try_compile "$LINENO"; then :
2754 else
2755 eval "$3=yes"
2757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2761 eval ac_res=\$$3
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2763 $as_echo "$ac_res" >&6; }
2764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2766 } # ac_fn_c_check_type
2767 cat >config.log <<_ACEOF
2768 This file contains any messages produced by compilers while
2769 running configure, to aid debugging if configure makes a mistake.
2771 It was created by Wine $as_me 1.7.30, which was
2772 generated by GNU Autoconf 2.69. Invocation command line was
2774 $ $0 $@
2776 _ACEOF
2777 exec 5>>config.log
2779 cat <<_ASUNAME
2780 ## --------- ##
2781 ## Platform. ##
2782 ## --------- ##
2784 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2785 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2786 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2787 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2788 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2790 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2791 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2793 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2794 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2795 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2796 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2797 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2798 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2799 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2801 _ASUNAME
2803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2804 for as_dir in $PATH
2806 IFS=$as_save_IFS
2807 test -z "$as_dir" && as_dir=.
2808 $as_echo "PATH: $as_dir"
2809 done
2810 IFS=$as_save_IFS
2812 } >&5
2814 cat >&5 <<_ACEOF
2817 ## ----------- ##
2818 ## Core tests. ##
2819 ## ----------- ##
2821 _ACEOF
2824 # Keep a trace of the command line.
2825 # Strip out --no-create and --no-recursion so they do not pile up.
2826 # Strip out --silent because we don't want to record it for future runs.
2827 # Also quote any args containing shell meta-characters.
2828 # Make two passes to allow for proper duplicate-argument suppression.
2829 ac_configure_args=
2830 ac_configure_args0=
2831 ac_configure_args1=
2832 ac_must_keep_next=false
2833 for ac_pass in 1 2
2835 for ac_arg
2837 case $ac_arg in
2838 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2839 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2840 | -silent | --silent | --silen | --sile | --sil)
2841 continue ;;
2842 *\'*)
2843 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2844 esac
2845 case $ac_pass in
2846 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2848 as_fn_append ac_configure_args1 " '$ac_arg'"
2849 if test $ac_must_keep_next = true; then
2850 ac_must_keep_next=false # Got value, back to normal.
2851 else
2852 case $ac_arg in
2853 *=* | --config-cache | -C | -disable-* | --disable-* \
2854 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2855 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2856 | -with-* | --with-* | -without-* | --without-* | --x)
2857 case "$ac_configure_args0 " in
2858 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2859 esac
2861 -* ) ac_must_keep_next=true ;;
2862 esac
2864 as_fn_append ac_configure_args " '$ac_arg'"
2866 esac
2867 done
2868 done
2869 { ac_configure_args0=; unset ac_configure_args0;}
2870 { ac_configure_args1=; unset ac_configure_args1;}
2872 # When interrupted or exit'd, cleanup temporary files, and complete
2873 # config.log. We remove comments because anyway the quotes in there
2874 # would cause problems or look ugly.
2875 # WARNING: Use '\'' to represent an apostrophe within the trap.
2876 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2877 trap 'exit_status=$?
2878 # Save into config.log some information that might help in debugging.
2880 echo
2882 $as_echo "## ---------------- ##
2883 ## Cache variables. ##
2884 ## ---------------- ##"
2885 echo
2886 # The following way of writing the cache mishandles newlines in values,
2888 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2889 eval ac_val=\$$ac_var
2890 case $ac_val in #(
2891 *${as_nl}*)
2892 case $ac_var in #(
2893 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2894 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2895 esac
2896 case $ac_var in #(
2897 _ | IFS | as_nl) ;; #(
2898 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2899 *) { eval $ac_var=; unset $ac_var;} ;;
2900 esac ;;
2901 esac
2902 done
2903 (set) 2>&1 |
2904 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2905 *${as_nl}ac_space=\ *)
2906 sed -n \
2907 "s/'\''/'\''\\\\'\'''\''/g;
2908 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2909 ;; #(
2911 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2913 esac |
2914 sort
2916 echo
2918 $as_echo "## ----------------- ##
2919 ## Output variables. ##
2920 ## ----------------- ##"
2921 echo
2922 for ac_var in $ac_subst_vars
2924 eval ac_val=\$$ac_var
2925 case $ac_val in
2926 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2927 esac
2928 $as_echo "$ac_var='\''$ac_val'\''"
2929 done | sort
2930 echo
2932 if test -n "$ac_subst_files"; then
2933 $as_echo "## ------------------- ##
2934 ## File substitutions. ##
2935 ## ------------------- ##"
2936 echo
2937 for ac_var in $ac_subst_files
2939 eval ac_val=\$$ac_var
2940 case $ac_val in
2941 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2942 esac
2943 $as_echo "$ac_var='\''$ac_val'\''"
2944 done | sort
2945 echo
2948 if test -s confdefs.h; then
2949 $as_echo "## ----------- ##
2950 ## confdefs.h. ##
2951 ## ----------- ##"
2952 echo
2953 cat confdefs.h
2954 echo
2956 test "$ac_signal" != 0 &&
2957 $as_echo "$as_me: caught signal $ac_signal"
2958 $as_echo "$as_me: exit $exit_status"
2959 } >&5
2960 rm -f core *.core core.conftest.* &&
2961 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2962 exit $exit_status
2964 for ac_signal in 1 2 13 15; do
2965 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2966 done
2967 ac_signal=0
2969 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2970 rm -f -r conftest* confdefs.h
2972 $as_echo "/* confdefs.h */" > confdefs.h
2974 # Predefined preprocessor variables.
2976 cat >>confdefs.h <<_ACEOF
2977 #define PACKAGE_NAME "$PACKAGE_NAME"
2978 _ACEOF
2980 cat >>confdefs.h <<_ACEOF
2981 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2982 _ACEOF
2984 cat >>confdefs.h <<_ACEOF
2985 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2986 _ACEOF
2988 cat >>confdefs.h <<_ACEOF
2989 #define PACKAGE_STRING "$PACKAGE_STRING"
2990 _ACEOF
2992 cat >>confdefs.h <<_ACEOF
2993 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2994 _ACEOF
2996 cat >>confdefs.h <<_ACEOF
2997 #define PACKAGE_URL "$PACKAGE_URL"
2998 _ACEOF
3001 # Let the site file select an alternate cache file if it wants to.
3002 # Prefer an explicitly selected file to automatically selected ones.
3003 ac_site_file1=NONE
3004 ac_site_file2=NONE
3005 if test -n "$CONFIG_SITE"; then
3006 # We do not want a PATH search for config.site.
3007 case $CONFIG_SITE in #((
3008 -*) ac_site_file1=./$CONFIG_SITE;;
3009 */*) ac_site_file1=$CONFIG_SITE;;
3010 *) ac_site_file1=./$CONFIG_SITE;;
3011 esac
3012 elif test "x$prefix" != xNONE; then
3013 ac_site_file1=$prefix/share/config.site
3014 ac_site_file2=$prefix/etc/config.site
3015 else
3016 ac_site_file1=$ac_default_prefix/share/config.site
3017 ac_site_file2=$ac_default_prefix/etc/config.site
3019 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3021 test "x$ac_site_file" = xNONE && continue
3022 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3024 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3025 sed 's/^/| /' "$ac_site_file" >&5
3026 . "$ac_site_file" \
3027 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3029 as_fn_error $? "failed to load site script $ac_site_file
3030 See \`config.log' for more details" "$LINENO" 5; }
3032 done
3034 if test -r "$cache_file"; then
3035 # Some versions of bash will fail to source /dev/null (special files
3036 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3037 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3039 $as_echo "$as_me: loading cache $cache_file" >&6;}
3040 case $cache_file in
3041 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3042 *) . "./$cache_file";;
3043 esac
3045 else
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3047 $as_echo "$as_me: creating cache $cache_file" >&6;}
3048 >$cache_file
3051 # Check that the precious variables saved in the cache have kept the same
3052 # value.
3053 ac_cache_corrupted=false
3054 for ac_var in $ac_precious_vars; do
3055 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3056 eval ac_new_set=\$ac_env_${ac_var}_set
3057 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3058 eval ac_new_val=\$ac_env_${ac_var}_value
3059 case $ac_old_set,$ac_new_set in
3060 set,)
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3062 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3063 ac_cache_corrupted=: ;;
3064 ,set)
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3066 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3067 ac_cache_corrupted=: ;;
3068 ,);;
3070 if test "x$ac_old_val" != "x$ac_new_val"; then
3071 # differences in whitespace do not lead to failure.
3072 ac_old_val_w=`echo x $ac_old_val`
3073 ac_new_val_w=`echo x $ac_new_val`
3074 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3076 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3077 ac_cache_corrupted=:
3078 else
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3080 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3081 eval $ac_var=\$ac_old_val
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3084 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3086 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3087 fi;;
3088 esac
3089 # Pass precious variables to config.status.
3090 if test "$ac_new_set" = set; then
3091 case $ac_new_val in
3092 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3093 *) ac_arg=$ac_var=$ac_new_val ;;
3094 esac
3095 case " $ac_configure_args " in
3096 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3097 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3098 esac
3100 done
3101 if $ac_cache_corrupted; then
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3103 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3105 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3106 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3108 ## -------------------- ##
3109 ## Main body of script. ##
3110 ## -------------------- ##
3112 ac_ext=c
3113 ac_cpp='$CPP $CPPFLAGS'
3114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3120 ac_config_headers="$ac_config_headers include/config.h"
3122 ac_aux_dir=
3123 for ac_dir in tools "$srcdir"/tools; do
3124 if test -f "$ac_dir/install-sh"; then
3125 ac_aux_dir=$ac_dir
3126 ac_install_sh="$ac_aux_dir/install-sh -c"
3127 break
3128 elif 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/shtool"; then
3133 ac_aux_dir=$ac_dir
3134 ac_install_sh="$ac_aux_dir/shtool install -c"
3135 break
3137 done
3138 if test -z "$ac_aux_dir"; then
3139 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3142 # These three variables are undocumented and unsupported,
3143 # and are intended to be withdrawn in a future Autoconf release.
3144 # They can cause serious problems if a builder's source tree is in a directory
3145 # whose full name contains unusual characters.
3146 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3147 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3148 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3152 libwine_version="1.0"
3156 # Check whether --enable-win16 was given.
3157 if test "${enable_win16+set}" = set; then :
3158 enableval=$enable_win16;
3161 # Check whether --enable-win64 was given.
3162 if test "${enable_win64+set}" = set; then :
3163 enableval=$enable_win64;
3166 # Check whether --enable-tests was given.
3167 if test "${enable_tests+set}" = set; then :
3168 enableval=$enable_tests;
3171 # Check whether --enable-maintainer-mode was given.
3172 if test "${enable_maintainer_mode+set}" = set; then :
3173 enableval=$enable_maintainer_mode;
3178 # Check whether --with-alsa was given.
3179 if test "${with_alsa+set}" = set; then :
3180 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3184 # Check whether --with-capi was given.
3185 if test "${with_capi+set}" = set; then :
3186 withval=$with_capi;
3190 # Check whether --with-cms was given.
3191 if test "${with_cms+set}" = set; then :
3192 withval=$with_cms;
3196 # Check whether --with-coreaudio was given.
3197 if test "${with_coreaudio+set}" = set; then :
3198 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3202 # Check whether --with-cups was given.
3203 if test "${with_cups+set}" = set; then :
3204 withval=$with_cups;
3208 # Check whether --with-curses was given.
3209 if test "${with_curses+set}" = set; then :
3210 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3214 # Check whether --with-dbus was given.
3215 if test "${with_dbus+set}" = set; then :
3216 withval=$with_dbus;
3220 # Check whether --with-fontconfig was given.
3221 if test "${with_fontconfig+set}" = set; then :
3222 withval=$with_fontconfig;
3226 # Check whether --with-freetype was given.
3227 if test "${with_freetype+set}" = set; then :
3228 withval=$with_freetype;
3232 # Check whether --with-gettext was given.
3233 if test "${with_gettext+set}" = set; then :
3234 withval=$with_gettext;
3238 # Check whether --with-gettextpo was given.
3239 if test "${with_gettextpo+set}" = set; then :
3240 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3244 # Check whether --with-gphoto was given.
3245 if test "${with_gphoto+set}" = set; then :
3246 withval=$with_gphoto;
3250 # Check whether --with-glu was given.
3251 if test "${with_glu+set}" = set; then :
3252 withval=$with_glu;
3256 # Check whether --with-gnutls was given.
3257 if test "${with_gnutls+set}" = set; then :
3258 withval=$with_gnutls;
3262 # Check whether --with-gsm was given.
3263 if test "${with_gsm+set}" = set; then :
3264 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3268 # Check whether --with-gstreamer was given.
3269 if test "${with_gstreamer+set}" = set; then :
3270 withval=$with_gstreamer;
3274 # Check whether --with-hal was given.
3275 if test "${with_hal+set}" = set; then :
3276 withval=$with_hal;
3280 # Check whether --with-jpeg was given.
3281 if test "${with_jpeg+set}" = set; then :
3282 withval=$with_jpeg;
3286 # Check whether --with-ldap was given.
3287 if test "${with_ldap+set}" = set; then :
3288 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3292 # Check whether --with-mpg123 was given.
3293 if test "${with_mpg123+set}" = set; then :
3294 withval=$with_mpg123;
3298 # Check whether --with-netapi was given.
3299 if test "${with_netapi+set}" = set; then :
3300 withval=$with_netapi;
3304 # Check whether --with-openal was given.
3305 if test "${with_openal+set}" = set; then :
3306 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3310 # Check whether --with-opencl was given.
3311 if test "${with_opencl+set}" = set; then :
3312 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3316 # Check whether --with-opengl was given.
3317 if test "${with_opengl+set}" = set; then :
3318 withval=$with_opengl;
3322 # Check whether --with-osmesa was given.
3323 if test "${with_osmesa+set}" = set; then :
3324 withval=$with_osmesa;
3328 # Check whether --with-oss was given.
3329 if test "${with_oss+set}" = set; then :
3330 withval=$with_oss;
3334 # Check whether --with-pcap was given.
3335 if test "${with_pcap+set}" = set; then :
3336 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3340 # Check whether --with-png was given.
3341 if test "${with_png+set}" = set; then :
3342 withval=$with_png;
3346 # Check whether --with-pthread was given.
3347 if test "${with_pthread+set}" = set; then :
3348 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3352 # Check whether --with-sane was given.
3353 if test "${with_sane+set}" = set; then :
3354 withval=$with_sane;
3358 # Check whether --with-tiff was given.
3359 if test "${with_tiff+set}" = set; then :
3360 withval=$with_tiff;
3364 # Check whether --with-v4l was given.
3365 if test "${with_v4l+set}" = set; then :
3366 withval=$with_v4l;
3370 # Check whether --with-xcomposite was given.
3371 if test "${with_xcomposite+set}" = set; then :
3372 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3376 # Check whether --with-xcursor was given.
3377 if test "${with_xcursor+set}" = set; then :
3378 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3382 # Check whether --with-xinerama was given.
3383 if test "${with_xinerama+set}" = set; then :
3384 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3388 # Check whether --with-xinput was given.
3389 if test "${with_xinput+set}" = set; then :
3390 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3394 # Check whether --with-xinput2 was given.
3395 if test "${with_xinput2+set}" = set; then :
3396 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3400 # Check whether --with-xml was given.
3401 if test "${with_xml+set}" = set; then :
3402 withval=$with_xml;
3406 # Check whether --with-xrandr was given.
3407 if test "${with_xrandr+set}" = set; then :
3408 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3412 # Check whether --with-xrender was given.
3413 if test "${with_xrender+set}" = set; then :
3414 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3418 # Check whether --with-xshape was given.
3419 if test "${with_xshape+set}" = set; then :
3420 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3424 # Check whether --with-xshm was given.
3425 if test "${with_xshm+set}" = set; then :
3426 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3430 # Check whether --with-xslt was given.
3431 if test "${with_xslt+set}" = set; then :
3432 withval=$with_xslt;
3436 # Check whether --with-xxf86vm was given.
3437 if test "${with_xxf86vm+set}" = set; then :
3438 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
3442 # Check whether --with-zlib was given.
3443 if test "${with_zlib+set}" = set; then :
3444 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3449 # Check whether --with-wine-tools was given.
3450 if test "${with_wine_tools+set}" = set; then :
3451 withval=$with_wine_tools;
3455 # Check whether --with-wine64 was given.
3456 if test "${with_wine64+set}" = set; then :
3457 withval=$with_wine64;
3461 # Make sure we can run config.sub.
3462 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3463 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3466 $as_echo_n "checking build system type... " >&6; }
3467 if ${ac_cv_build+:} false; then :
3468 $as_echo_n "(cached) " >&6
3469 else
3470 ac_build_alias=$build_alias
3471 test "x$ac_build_alias" = x &&
3472 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3473 test "x$ac_build_alias" = x &&
3474 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3475 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3476 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3480 $as_echo "$ac_cv_build" >&6; }
3481 case $ac_cv_build in
3482 *-*-*) ;;
3483 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3484 esac
3485 build=$ac_cv_build
3486 ac_save_IFS=$IFS; IFS='-'
3487 set x $ac_cv_build
3488 shift
3489 build_cpu=$1
3490 build_vendor=$2
3491 shift; shift
3492 # Remember, the first character of IFS is used to create $*,
3493 # except with old shells:
3494 build_os=$*
3495 IFS=$ac_save_IFS
3496 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3500 $as_echo_n "checking host system type... " >&6; }
3501 if ${ac_cv_host+:} false; then :
3502 $as_echo_n "(cached) " >&6
3503 else
3504 if test "x$host_alias" = x; then
3505 ac_cv_host=$ac_cv_build
3506 else
3507 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3508 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3513 $as_echo "$ac_cv_host" >&6; }
3514 case $ac_cv_host in
3515 *-*-*) ;;
3516 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3517 esac
3518 host=$ac_cv_host
3519 ac_save_IFS=$IFS; IFS='-'
3520 set x $ac_cv_host
3521 shift
3522 host_cpu=$1
3523 host_vendor=$2
3524 shift; shift
3525 # Remember, the first character of IFS is used to create $*,
3526 # except with old shells:
3527 host_os=$*
3528 IFS=$ac_save_IFS
3529 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3533 case "$srcdir" in
3534 .) ;;
3535 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3536 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3537 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3538 fi ;;
3539 esac
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3543 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3544 set x ${MAKE-make}
3545 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3546 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3547 $as_echo_n "(cached) " >&6
3548 else
3549 cat >conftest.make <<\_ACEOF
3550 SHELL = /bin/sh
3551 all:
3552 @echo '@@@%%%=$(MAKE)=@@@%%%'
3553 _ACEOF
3554 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3555 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3556 *@@@%%%=?*=@@@%%%*)
3557 eval ac_cv_prog_make_${ac_make}_set=yes;;
3559 eval ac_cv_prog_make_${ac_make}_set=no;;
3560 esac
3561 rm -f conftest.make
3563 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3565 $as_echo "yes" >&6; }
3566 SET_MAKE=
3567 else
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3569 $as_echo "no" >&6; }
3570 SET_MAKE="MAKE=${MAKE-make}"
3573 ac_ext=c
3574 ac_cpp='$CPP $CPPFLAGS'
3575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3578 if test -n "$ac_tool_prefix"; then
3579 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3580 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3582 $as_echo_n "checking for $ac_word... " >&6; }
3583 if ${ac_cv_prog_CC+:} false; then :
3584 $as_echo_n "(cached) " >&6
3585 else
3586 if test -n "$CC"; then
3587 ac_cv_prog_CC="$CC" # Let the user override the test.
3588 else
3589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3590 for as_dir in $PATH
3592 IFS=$as_save_IFS
3593 test -z "$as_dir" && as_dir=.
3594 for ac_exec_ext in '' $ac_executable_extensions; do
3595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3596 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3598 break 2
3600 done
3601 done
3602 IFS=$as_save_IFS
3606 CC=$ac_cv_prog_CC
3607 if test -n "$CC"; then
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3609 $as_echo "$CC" >&6; }
3610 else
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3612 $as_echo "no" >&6; }
3617 if test -z "$ac_cv_prog_CC"; then
3618 ac_ct_CC=$CC
3619 # Extract the first word of "gcc", so it can be a program name with args.
3620 set dummy gcc; ac_word=$2
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3622 $as_echo_n "checking for $ac_word... " >&6; }
3623 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3624 $as_echo_n "(cached) " >&6
3625 else
3626 if test -n "$ac_ct_CC"; then
3627 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3628 else
3629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3630 for as_dir in $PATH
3632 IFS=$as_save_IFS
3633 test -z "$as_dir" && as_dir=.
3634 for ac_exec_ext in '' $ac_executable_extensions; do
3635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3636 ac_cv_prog_ac_ct_CC="gcc"
3637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3638 break 2
3640 done
3641 done
3642 IFS=$as_save_IFS
3646 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3647 if test -n "$ac_ct_CC"; then
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3649 $as_echo "$ac_ct_CC" >&6; }
3650 else
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3652 $as_echo "no" >&6; }
3655 if test "x$ac_ct_CC" = x; then
3656 CC=""
3657 else
3658 case $cross_compiling:$ac_tool_warned in
3659 yes:)
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3661 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3662 ac_tool_warned=yes ;;
3663 esac
3664 CC=$ac_ct_CC
3666 else
3667 CC="$ac_cv_prog_CC"
3670 if test -z "$CC"; then
3671 if test -n "$ac_tool_prefix"; then
3672 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3673 set dummy ${ac_tool_prefix}cc; ac_word=$2
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3675 $as_echo_n "checking for $ac_word... " >&6; }
3676 if ${ac_cv_prog_CC+:} false; then :
3677 $as_echo_n "(cached) " >&6
3678 else
3679 if test -n "$CC"; then
3680 ac_cv_prog_CC="$CC" # Let the user override the test.
3681 else
3682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3683 for as_dir in $PATH
3685 IFS=$as_save_IFS
3686 test -z "$as_dir" && as_dir=.
3687 for ac_exec_ext in '' $ac_executable_extensions; do
3688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3689 ac_cv_prog_CC="${ac_tool_prefix}cc"
3690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3691 break 2
3693 done
3694 done
3695 IFS=$as_save_IFS
3699 CC=$ac_cv_prog_CC
3700 if test -n "$CC"; then
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3702 $as_echo "$CC" >&6; }
3703 else
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3705 $as_echo "no" >&6; }
3711 if test -z "$CC"; then
3712 # Extract the first word of "cc", so it can be a program name with args.
3713 set dummy cc; ac_word=$2
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3715 $as_echo_n "checking for $ac_word... " >&6; }
3716 if ${ac_cv_prog_CC+:} false; then :
3717 $as_echo_n "(cached) " >&6
3718 else
3719 if test -n "$CC"; then
3720 ac_cv_prog_CC="$CC" # Let the user override the test.
3721 else
3722 ac_prog_rejected=no
3723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3724 for as_dir in $PATH
3726 IFS=$as_save_IFS
3727 test -z "$as_dir" && as_dir=.
3728 for ac_exec_ext in '' $ac_executable_extensions; do
3729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3730 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3731 ac_prog_rejected=yes
3732 continue
3734 ac_cv_prog_CC="cc"
3735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3736 break 2
3738 done
3739 done
3740 IFS=$as_save_IFS
3742 if test $ac_prog_rejected = yes; then
3743 # We found a bogon in the path, so make sure we never use it.
3744 set dummy $ac_cv_prog_CC
3745 shift
3746 if test $# != 0; then
3747 # We chose a different compiler from the bogus one.
3748 # However, it has the same basename, so the bogon will be chosen
3749 # first if we set CC to just the basename; use the full file name.
3750 shift
3751 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3756 CC=$ac_cv_prog_CC
3757 if test -n "$CC"; then
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3759 $as_echo "$CC" >&6; }
3760 else
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3762 $as_echo "no" >&6; }
3767 if test -z "$CC"; then
3768 if test -n "$ac_tool_prefix"; then
3769 for ac_prog in cl.exe
3771 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3772 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3774 $as_echo_n "checking for $ac_word... " >&6; }
3775 if ${ac_cv_prog_CC+:} false; then :
3776 $as_echo_n "(cached) " >&6
3777 else
3778 if test -n "$CC"; then
3779 ac_cv_prog_CC="$CC" # Let the user override the test.
3780 else
3781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3782 for as_dir in $PATH
3784 IFS=$as_save_IFS
3785 test -z "$as_dir" && as_dir=.
3786 for ac_exec_ext in '' $ac_executable_extensions; do
3787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3788 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3790 break 2
3792 done
3793 done
3794 IFS=$as_save_IFS
3798 CC=$ac_cv_prog_CC
3799 if test -n "$CC"; then
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3801 $as_echo "$CC" >&6; }
3802 else
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3804 $as_echo "no" >&6; }
3808 test -n "$CC" && break
3809 done
3811 if test -z "$CC"; then
3812 ac_ct_CC=$CC
3813 for ac_prog in cl.exe
3815 # Extract the first word of "$ac_prog", so it can be a program name with args.
3816 set dummy $ac_prog; ac_word=$2
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3818 $as_echo_n "checking for $ac_word... " >&6; }
3819 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3820 $as_echo_n "(cached) " >&6
3821 else
3822 if test -n "$ac_ct_CC"; then
3823 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3824 else
3825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3826 for as_dir in $PATH
3828 IFS=$as_save_IFS
3829 test -z "$as_dir" && as_dir=.
3830 for ac_exec_ext in '' $ac_executable_extensions; do
3831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3832 ac_cv_prog_ac_ct_CC="$ac_prog"
3833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3834 break 2
3836 done
3837 done
3838 IFS=$as_save_IFS
3842 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3843 if test -n "$ac_ct_CC"; then
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3845 $as_echo "$ac_ct_CC" >&6; }
3846 else
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3848 $as_echo "no" >&6; }
3852 test -n "$ac_ct_CC" && break
3853 done
3855 if test "x$ac_ct_CC" = x; then
3856 CC=""
3857 else
3858 case $cross_compiling:$ac_tool_warned in
3859 yes:)
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3862 ac_tool_warned=yes ;;
3863 esac
3864 CC=$ac_ct_CC
3871 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3873 as_fn_error $? "no acceptable C compiler found in \$PATH
3874 See \`config.log' for more details" "$LINENO" 5; }
3876 # Provide some information about the compiler.
3877 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3878 set X $ac_compile
3879 ac_compiler=$2
3880 for ac_option in --version -v -V -qversion; do
3881 { { ac_try="$ac_compiler $ac_option >&5"
3882 case "(($ac_try" in
3883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3884 *) ac_try_echo=$ac_try;;
3885 esac
3886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3887 $as_echo "$ac_try_echo"; } >&5
3888 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3889 ac_status=$?
3890 if test -s conftest.err; then
3891 sed '10a\
3892 ... rest of stderr output deleted ...
3893 10q' conftest.err >conftest.er1
3894 cat conftest.er1 >&5
3896 rm -f conftest.er1 conftest.err
3897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3898 test $ac_status = 0; }
3899 done
3901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3902 /* end confdefs.h. */
3905 main ()
3909 return 0;
3911 _ACEOF
3912 ac_clean_files_save=$ac_clean_files
3913 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3914 # Try to create an executable without -o first, disregard a.out.
3915 # It will help us diagnose broken compilers, and finding out an intuition
3916 # of exeext.
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3918 $as_echo_n "checking whether the C compiler works... " >&6; }
3919 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3921 # The possible output files:
3922 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3924 ac_rmfiles=
3925 for ac_file in $ac_files
3927 case $ac_file in
3928 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3929 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3930 esac
3931 done
3932 rm -f $ac_rmfiles
3934 if { { ac_try="$ac_link_default"
3935 case "(($ac_try" in
3936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3937 *) ac_try_echo=$ac_try;;
3938 esac
3939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3940 $as_echo "$ac_try_echo"; } >&5
3941 (eval "$ac_link_default") 2>&5
3942 ac_status=$?
3943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3944 test $ac_status = 0; }; then :
3945 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3946 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3947 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3948 # so that the user can short-circuit this test for compilers unknown to
3949 # Autoconf.
3950 for ac_file in $ac_files ''
3952 test -f "$ac_file" || continue
3953 case $ac_file in
3954 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3956 [ab].out )
3957 # We found the default executable, but exeext='' is most
3958 # certainly right.
3959 break;;
3960 *.* )
3961 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3962 then :; else
3963 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3965 # We set ac_cv_exeext here because the later test for it is not
3966 # safe: cross compilers may not add the suffix if given an `-o'
3967 # argument, so we may need to know it at that point already.
3968 # Even if this section looks crufty: it has the advantage of
3969 # actually working.
3970 break;;
3972 break;;
3973 esac
3974 done
3975 test "$ac_cv_exeext" = no && ac_cv_exeext=
3977 else
3978 ac_file=''
3980 if test -z "$ac_file"; then :
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3982 $as_echo "no" >&6; }
3983 $as_echo "$as_me: failed program was:" >&5
3984 sed 's/^/| /' conftest.$ac_ext >&5
3986 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3987 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3988 as_fn_error 77 "C compiler cannot create executables
3989 See \`config.log' for more details" "$LINENO" 5; }
3990 else
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3992 $as_echo "yes" >&6; }
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3995 $as_echo_n "checking for C compiler default output file name... " >&6; }
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3997 $as_echo "$ac_file" >&6; }
3998 ac_exeext=$ac_cv_exeext
4000 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4001 ac_clean_files=$ac_clean_files_save
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4003 $as_echo_n "checking for suffix of executables... " >&6; }
4004 if { { ac_try="$ac_link"
4005 case "(($ac_try" in
4006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4007 *) ac_try_echo=$ac_try;;
4008 esac
4009 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4010 $as_echo "$ac_try_echo"; } >&5
4011 (eval "$ac_link") 2>&5
4012 ac_status=$?
4013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4014 test $ac_status = 0; }; then :
4015 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4016 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4017 # work properly (i.e., refer to `conftest.exe'), while it won't with
4018 # `rm'.
4019 for ac_file in conftest.exe conftest conftest.*; do
4020 test -f "$ac_file" || continue
4021 case $ac_file in
4022 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4023 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4024 break;;
4025 * ) break;;
4026 esac
4027 done
4028 else
4029 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4031 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4032 See \`config.log' for more details" "$LINENO" 5; }
4034 rm -f conftest conftest$ac_cv_exeext
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4036 $as_echo "$ac_cv_exeext" >&6; }
4038 rm -f conftest.$ac_ext
4039 EXEEXT=$ac_cv_exeext
4040 ac_exeext=$EXEEXT
4041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4042 /* end confdefs.h. */
4043 #include <stdio.h>
4045 main ()
4047 FILE *f = fopen ("conftest.out", "w");
4048 return ferror (f) || fclose (f) != 0;
4051 return 0;
4053 _ACEOF
4054 ac_clean_files="$ac_clean_files conftest.out"
4055 # Check that the compiler produces executables we can run. If not, either
4056 # the compiler is broken, or we cross compile.
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4058 $as_echo_n "checking whether we are cross compiling... " >&6; }
4059 if test "$cross_compiling" != yes; then
4060 { { ac_try="$ac_link"
4061 case "(($ac_try" in
4062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4063 *) ac_try_echo=$ac_try;;
4064 esac
4065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4066 $as_echo "$ac_try_echo"; } >&5
4067 (eval "$ac_link") 2>&5
4068 ac_status=$?
4069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4070 test $ac_status = 0; }
4071 if { ac_try='./conftest$ac_cv_exeext'
4072 { { case "(($ac_try" in
4073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4074 *) ac_try_echo=$ac_try;;
4075 esac
4076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4077 $as_echo "$ac_try_echo"; } >&5
4078 (eval "$ac_try") 2>&5
4079 ac_status=$?
4080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4081 test $ac_status = 0; }; }; then
4082 cross_compiling=no
4083 else
4084 if test "$cross_compiling" = maybe; then
4085 cross_compiling=yes
4086 else
4087 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4089 as_fn_error $? "cannot run C compiled programs.
4090 If you meant to cross compile, use \`--host'.
4091 See \`config.log' for more details" "$LINENO" 5; }
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4096 $as_echo "$cross_compiling" >&6; }
4098 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4099 ac_clean_files=$ac_clean_files_save
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4101 $as_echo_n "checking for suffix of object files... " >&6; }
4102 if ${ac_cv_objext+:} false; then :
4103 $as_echo_n "(cached) " >&6
4104 else
4105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4106 /* end confdefs.h. */
4109 main ()
4113 return 0;
4115 _ACEOF
4116 rm -f conftest.o conftest.obj
4117 if { { ac_try="$ac_compile"
4118 case "(($ac_try" in
4119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4120 *) ac_try_echo=$ac_try;;
4121 esac
4122 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4123 $as_echo "$ac_try_echo"; } >&5
4124 (eval "$ac_compile") 2>&5
4125 ac_status=$?
4126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4127 test $ac_status = 0; }; then :
4128 for ac_file in conftest.o conftest.obj conftest.*; do
4129 test -f "$ac_file" || continue;
4130 case $ac_file in
4131 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4132 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4133 break;;
4134 esac
4135 done
4136 else
4137 $as_echo "$as_me: failed program was:" >&5
4138 sed 's/^/| /' conftest.$ac_ext >&5
4140 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4142 as_fn_error $? "cannot compute suffix of object files: cannot compile
4143 See \`config.log' for more details" "$LINENO" 5; }
4145 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4148 $as_echo "$ac_cv_objext" >&6; }
4149 OBJEXT=$ac_cv_objext
4150 ac_objext=$OBJEXT
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4152 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4153 if ${ac_cv_c_compiler_gnu+:} false; then :
4154 $as_echo_n "(cached) " >&6
4155 else
4156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4157 /* end confdefs.h. */
4160 main ()
4162 #ifndef __GNUC__
4163 choke me
4164 #endif
4167 return 0;
4169 _ACEOF
4170 if ac_fn_c_try_compile "$LINENO"; then :
4171 ac_compiler_gnu=yes
4172 else
4173 ac_compiler_gnu=no
4175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4176 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4180 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4181 if test $ac_compiler_gnu = yes; then
4182 GCC=yes
4183 else
4184 GCC=
4186 ac_test_CFLAGS=${CFLAGS+set}
4187 ac_save_CFLAGS=$CFLAGS
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4189 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4190 if ${ac_cv_prog_cc_g+:} false; then :
4191 $as_echo_n "(cached) " >&6
4192 else
4193 ac_save_c_werror_flag=$ac_c_werror_flag
4194 ac_c_werror_flag=yes
4195 ac_cv_prog_cc_g=no
4196 CFLAGS="-g"
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4201 main ()
4205 return 0;
4207 _ACEOF
4208 if ac_fn_c_try_compile "$LINENO"; then :
4209 ac_cv_prog_cc_g=yes
4210 else
4211 CFLAGS=""
4212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h. */
4216 main ()
4220 return 0;
4222 _ACEOF
4223 if ac_fn_c_try_compile "$LINENO"; then :
4225 else
4226 ac_c_werror_flag=$ac_save_c_werror_flag
4227 CFLAGS="-g"
4228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4229 /* end confdefs.h. */
4232 main ()
4236 return 0;
4238 _ACEOF
4239 if ac_fn_c_try_compile "$LINENO"; then :
4240 ac_cv_prog_cc_g=yes
4242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4247 ac_c_werror_flag=$ac_save_c_werror_flag
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4250 $as_echo "$ac_cv_prog_cc_g" >&6; }
4251 if test "$ac_test_CFLAGS" = set; then
4252 CFLAGS=$ac_save_CFLAGS
4253 elif test $ac_cv_prog_cc_g = yes; then
4254 if test "$GCC" = yes; then
4255 CFLAGS="-g -O2"
4256 else
4257 CFLAGS="-g"
4259 else
4260 if test "$GCC" = yes; then
4261 CFLAGS="-O2"
4262 else
4263 CFLAGS=
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4267 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4268 if ${ac_cv_prog_cc_c89+:} false; then :
4269 $as_echo_n "(cached) " >&6
4270 else
4271 ac_cv_prog_cc_c89=no
4272 ac_save_CC=$CC
4273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4274 /* end confdefs.h. */
4275 #include <stdarg.h>
4276 #include <stdio.h>
4277 struct stat;
4278 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4279 struct buf { int x; };
4280 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4281 static char *e (p, i)
4282 char **p;
4283 int i;
4285 return p[i];
4287 static char *f (char * (*g) (char **, int), char **p, ...)
4289 char *s;
4290 va_list v;
4291 va_start (v,p);
4292 s = g (p, va_arg (v,int));
4293 va_end (v);
4294 return s;
4297 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4298 function prototypes and stuff, but not '\xHH' hex character constants.
4299 These don't provoke an error unfortunately, instead are silently treated
4300 as 'x'. The following induces an error, until -std is added to get
4301 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4302 array size at least. It's necessary to write '\x00'==0 to get something
4303 that's true only with -std. */
4304 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4306 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4307 inside strings and character constants. */
4308 #define FOO(x) 'x'
4309 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4311 int test (int i, double x);
4312 struct s1 {int (*f) (int a);};
4313 struct s2 {int (*f) (double a);};
4314 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4315 int argc;
4316 char **argv;
4318 main ()
4320 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4322 return 0;
4324 _ACEOF
4325 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4326 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4328 CC="$ac_save_CC $ac_arg"
4329 if ac_fn_c_try_compile "$LINENO"; then :
4330 ac_cv_prog_cc_c89=$ac_arg
4332 rm -f core conftest.err conftest.$ac_objext
4333 test "x$ac_cv_prog_cc_c89" != "xno" && break
4334 done
4335 rm -f conftest.$ac_ext
4336 CC=$ac_save_CC
4339 # AC_CACHE_VAL
4340 case "x$ac_cv_prog_cc_c89" in
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4343 $as_echo "none needed" >&6; } ;;
4344 xno)
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4346 $as_echo "unsupported" >&6; } ;;
4348 CC="$CC $ac_cv_prog_cc_c89"
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4350 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4351 esac
4352 if test "x$ac_cv_prog_cc_c89" != xno; then :
4356 ac_ext=c
4357 ac_cpp='$CPP $CPPFLAGS'
4358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4362 ac_ext=cpp
4363 ac_cpp='$CXXCPP $CPPFLAGS'
4364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4367 if test -z "$CXX"; then
4368 if test -n "$CCC"; then
4369 CXX=$CCC
4370 else
4371 if test -n "$ac_tool_prefix"; then
4372 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4374 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4375 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4377 $as_echo_n "checking for $ac_word... " >&6; }
4378 if ${ac_cv_prog_CXX+:} false; then :
4379 $as_echo_n "(cached) " >&6
4380 else
4381 if test -n "$CXX"; then
4382 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4383 else
4384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4385 for as_dir in $PATH
4387 IFS=$as_save_IFS
4388 test -z "$as_dir" && as_dir=.
4389 for ac_exec_ext in '' $ac_executable_extensions; do
4390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4391 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4393 break 2
4395 done
4396 done
4397 IFS=$as_save_IFS
4401 CXX=$ac_cv_prog_CXX
4402 if test -n "$CXX"; then
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4404 $as_echo "$CXX" >&6; }
4405 else
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4407 $as_echo "no" >&6; }
4411 test -n "$CXX" && break
4412 done
4414 if test -z "$CXX"; then
4415 ac_ct_CXX=$CXX
4416 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4418 # Extract the first word of "$ac_prog", so it can be a program name with args.
4419 set dummy $ac_prog; ac_word=$2
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4421 $as_echo_n "checking for $ac_word... " >&6; }
4422 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4423 $as_echo_n "(cached) " >&6
4424 else
4425 if test -n "$ac_ct_CXX"; then
4426 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4427 else
4428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4429 for as_dir in $PATH
4431 IFS=$as_save_IFS
4432 test -z "$as_dir" && as_dir=.
4433 for ac_exec_ext in '' $ac_executable_extensions; do
4434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4435 ac_cv_prog_ac_ct_CXX="$ac_prog"
4436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4437 break 2
4439 done
4440 done
4441 IFS=$as_save_IFS
4445 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4446 if test -n "$ac_ct_CXX"; then
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4448 $as_echo "$ac_ct_CXX" >&6; }
4449 else
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4451 $as_echo "no" >&6; }
4455 test -n "$ac_ct_CXX" && break
4456 done
4458 if test "x$ac_ct_CXX" = x; then
4459 CXX="g++"
4460 else
4461 case $cross_compiling:$ac_tool_warned in
4462 yes:)
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4465 ac_tool_warned=yes ;;
4466 esac
4467 CXX=$ac_ct_CXX
4473 # Provide some information about the compiler.
4474 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4475 set X $ac_compile
4476 ac_compiler=$2
4477 for ac_option in --version -v -V -qversion; do
4478 { { ac_try="$ac_compiler $ac_option >&5"
4479 case "(($ac_try" in
4480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4481 *) ac_try_echo=$ac_try;;
4482 esac
4483 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4484 $as_echo "$ac_try_echo"; } >&5
4485 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4486 ac_status=$?
4487 if test -s conftest.err; then
4488 sed '10a\
4489 ... rest of stderr output deleted ...
4490 10q' conftest.err >conftest.er1
4491 cat conftest.er1 >&5
4493 rm -f conftest.er1 conftest.err
4494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4495 test $ac_status = 0; }
4496 done
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4499 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4500 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4501 $as_echo_n "(cached) " >&6
4502 else
4503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4504 /* end confdefs.h. */
4507 main ()
4509 #ifndef __GNUC__
4510 choke me
4511 #endif
4514 return 0;
4516 _ACEOF
4517 if ac_fn_cxx_try_compile "$LINENO"; then :
4518 ac_compiler_gnu=yes
4519 else
4520 ac_compiler_gnu=no
4522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4523 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4527 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4528 if test $ac_compiler_gnu = yes; then
4529 GXX=yes
4530 else
4531 GXX=
4533 ac_test_CXXFLAGS=${CXXFLAGS+set}
4534 ac_save_CXXFLAGS=$CXXFLAGS
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4536 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4537 if ${ac_cv_prog_cxx_g+:} false; then :
4538 $as_echo_n "(cached) " >&6
4539 else
4540 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4541 ac_cxx_werror_flag=yes
4542 ac_cv_prog_cxx_g=no
4543 CXXFLAGS="-g"
4544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4545 /* end confdefs.h. */
4548 main ()
4552 return 0;
4554 _ACEOF
4555 if ac_fn_cxx_try_compile "$LINENO"; then :
4556 ac_cv_prog_cxx_g=yes
4557 else
4558 CXXFLAGS=""
4559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4560 /* end confdefs.h. */
4563 main ()
4567 return 0;
4569 _ACEOF
4570 if ac_fn_cxx_try_compile "$LINENO"; then :
4572 else
4573 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4574 CXXFLAGS="-g"
4575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4576 /* end confdefs.h. */
4579 main ()
4583 return 0;
4585 _ACEOF
4586 if ac_fn_cxx_try_compile "$LINENO"; then :
4587 ac_cv_prog_cxx_g=yes
4589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4594 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4597 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4598 if test "$ac_test_CXXFLAGS" = set; then
4599 CXXFLAGS=$ac_save_CXXFLAGS
4600 elif test $ac_cv_prog_cxx_g = yes; then
4601 if test "$GXX" = yes; then
4602 CXXFLAGS="-g -O2"
4603 else
4604 CXXFLAGS="-g"
4606 else
4607 if test "$GXX" = yes; then
4608 CXXFLAGS="-O2"
4609 else
4610 CXXFLAGS=
4613 ac_ext=c
4614 ac_cpp='$CPP $CPPFLAGS'
4615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4619 if test -n "$ac_tool_prefix"; then
4620 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4621 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4623 $as_echo_n "checking for $ac_word... " >&6; }
4624 if ${ac_cv_prog_CPPBIN+:} false; then :
4625 $as_echo_n "(cached) " >&6
4626 else
4627 if test -n "$CPPBIN"; then
4628 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4629 else
4630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4631 for as_dir in $PATH
4633 IFS=$as_save_IFS
4634 test -z "$as_dir" && as_dir=.
4635 for ac_exec_ext in '' $ac_executable_extensions; do
4636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4637 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4639 break 2
4641 done
4642 done
4643 IFS=$as_save_IFS
4647 CPPBIN=$ac_cv_prog_CPPBIN
4648 if test -n "$CPPBIN"; then
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4650 $as_echo "$CPPBIN" >&6; }
4651 else
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4653 $as_echo "no" >&6; }
4658 if test -z "$ac_cv_prog_CPPBIN"; then
4659 ac_ct_CPPBIN=$CPPBIN
4660 # Extract the first word of "cpp", so it can be a program name with args.
4661 set dummy cpp; ac_word=$2
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4663 $as_echo_n "checking for $ac_word... " >&6; }
4664 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4665 $as_echo_n "(cached) " >&6
4666 else
4667 if test -n "$ac_ct_CPPBIN"; then
4668 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4669 else
4670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4671 for as_dir in $PATH
4673 IFS=$as_save_IFS
4674 test -z "$as_dir" && as_dir=.
4675 for ac_exec_ext in '' $ac_executable_extensions; do
4676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4677 ac_cv_prog_ac_ct_CPPBIN="cpp"
4678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4679 break 2
4681 done
4682 done
4683 IFS=$as_save_IFS
4687 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4688 if test -n "$ac_ct_CPPBIN"; then
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4690 $as_echo "$ac_ct_CPPBIN" >&6; }
4691 else
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4693 $as_echo "no" >&6; }
4696 if test "x$ac_ct_CPPBIN" = x; then
4697 CPPBIN="cpp"
4698 else
4699 case $cross_compiling:$ac_tool_warned in
4700 yes:)
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4702 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4703 ac_tool_warned=yes ;;
4704 esac
4705 CPPBIN=$ac_ct_CPPBIN
4707 else
4708 CPPBIN="$ac_cv_prog_CPPBIN"
4712 cat >>confdefs.h <<_ACEOF
4713 #define EXEEXT "$ac_exeext"
4714 _ACEOF
4717 case $host in
4718 *-darwin*)
4719 if test "x$enable_win64" = "xyes"
4720 then
4721 CC="$CC -m64"
4722 CXX="$CXX -m64"
4723 host_cpu="x86_64"
4724 notice_platform="64-bit "
4725 TARGETFLAGS="-m64"
4727 else
4728 CC="$CC -m32"
4729 CXX="$CXX -m32"
4730 host_cpu="i386"
4731 notice_platform="32-bit "
4732 TARGETFLAGS="-m32"
4734 enable_win16=${enable_win16:-yes}
4736 with_fontconfig=${with_fontconfig:-no}
4738 x86_64*)
4739 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4740 then
4741 CC="$CC -m32"
4742 CXX="$CXX -m32"
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4744 $as_echo_n "checking whether $CC works... " >&6; }
4746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4747 /* end confdefs.h. */
4750 main ()
4754 return 0;
4756 _ACEOF
4757 if ac_fn_c_try_link "$LINENO"; then :
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4759 $as_echo "yes" >&6; }
4760 else
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4762 $as_echo "no" >&6; }
4763 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4765 rm -f core conftest.err conftest.$ac_objext \
4766 conftest$ac_exeext conftest.$ac_ext
4767 host_cpu="i386"
4768 notice_platform="32-bit "
4769 TARGETFLAGS="-m32"
4771 enable_win16=${enable_win16:-yes}
4772 else
4773 if test "x${GCC}" = "xyes"
4774 then
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4776 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4778 /* end confdefs.h. */
4779 #include <stdarg.h>
4781 main ()
4783 void func(__builtin_ms_va_list *args);
4785 return 0;
4787 _ACEOF
4788 if ac_fn_c_try_compile "$LINENO"; then :
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4790 $as_echo "yes" >&6; }
4791 else
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4793 $as_echo "no" >&6; }
4794 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4798 TARGETFLAGS="-m64"
4802 arm*)
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4804 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4806 /* end confdefs.h. */
4807 int ac_test(int i) { return i; }
4809 main ()
4811 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4813 return 0;
4815 _ACEOF
4816 if ac_fn_c_try_link "$LINENO"; then :
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4818 $as_echo "yes" >&6; }
4819 else
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4821 $as_echo "no" >&6; }
4822 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4824 rm -f core conftest.err conftest.$ac_objext \
4825 conftest$ac_exeext conftest.$ac_ext
4826 CFLAGS="$CFLAGS -marm"
4827 TARGETFLAGS="-marm"
4830 *-mingw32*|*-cygwin*)
4831 enable_win16=${enable_win16:-no}
4832 CFLAGS="$CFLAGS -D_WIN32"
4834 i[3456789]86*)
4835 enable_win16=${enable_win16:-yes}
4837 esac
4839 enable_win16=${enable_win16:-no}
4840 enable_win64=${enable_win64:-no}
4842 enable_winetest=${enable_winetest:-$enable_tests}
4844 if test -n "$with_wine64"
4845 then
4846 if test "x$enable_win64" = "xyes"
4847 then
4848 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4849 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4851 enable_fonts=${enable_fonts:-no}
4852 enable_server=${enable_server:-no}
4853 elif test "x$enable_win64" = "xyes"
4854 then
4855 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4859 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4860 if ${wine_cv_toolsdir+:} false; then :
4861 $as_echo_n "(cached) " >&6
4862 else
4863 wine_cv_toolsdir="$with_wine_tools"
4864 if test -z "$with_wine_tools"; then
4865 if test "$cross_compiling" = "yes"; then
4866 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4867 elif test -n "$with_wine64"; then
4868 wine_cv_toolsdir="$with_wine64"
4871 if test -z "$wine_cv_toolsdir"; then
4872 wine_makedep=tools/makedep
4873 wine_cv_toolsdir="\$(top_builddir)"
4874 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4875 wine_makedep=$wine_cv_toolsdir/tools/makedep
4876 case "$wine_cv_toolsdir" in
4877 /*) ;;
4878 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4879 esac
4880 enable_tools=${enable_tools:-no}
4881 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4882 else
4883 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4887 $as_echo "$wine_cv_toolsdir" >&6; }
4888 TOOLSDIR=$wine_cv_toolsdir
4890 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4891 then
4892 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4896 for ac_prog in flex
4898 # Extract the first word of "$ac_prog", so it can be a program name with args.
4899 set dummy $ac_prog; ac_word=$2
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4901 $as_echo_n "checking for $ac_word... " >&6; }
4902 if ${ac_cv_prog_FLEX+:} false; then :
4903 $as_echo_n "(cached) " >&6
4904 else
4905 if test -n "$FLEX"; then
4906 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4907 else
4908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4909 for as_dir in $PATH
4911 IFS=$as_save_IFS
4912 test -z "$as_dir" && as_dir=.
4913 for ac_exec_ext in '' $ac_executable_extensions; do
4914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4915 ac_cv_prog_FLEX="$ac_prog"
4916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4917 break 2
4919 done
4920 done
4921 IFS=$as_save_IFS
4925 FLEX=$ac_cv_prog_FLEX
4926 if test -n "$FLEX"; then
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4928 $as_echo "$FLEX" >&6; }
4929 else
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4931 $as_echo "no" >&6; }
4935 test -n "$FLEX" && break
4936 done
4937 test -n "$FLEX" || FLEX="none"
4939 if test "$FLEX" = "none"
4940 then
4941 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4944 $as_echo_n "checking whether flex is recent enough... " >&6; }
4945 cat >conftest.l <<EOF
4946 %top{
4947 #include "prediluvian.h"
4951 if $FLEX -t conftest.l >/dev/null 2>&5
4952 then
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4954 $as_echo "yes" >&6; }
4955 else
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4958 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4961 for ac_prog in bison
4963 # Extract the first word of "$ac_prog", so it can be a program name with args.
4964 set dummy $ac_prog; ac_word=$2
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4966 $as_echo_n "checking for $ac_word... " >&6; }
4967 if ${ac_cv_prog_BISON+:} false; then :
4968 $as_echo_n "(cached) " >&6
4969 else
4970 if test -n "$BISON"; then
4971 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4972 else
4973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4974 for as_dir in $PATH
4976 IFS=$as_save_IFS
4977 test -z "$as_dir" && as_dir=.
4978 for ac_exec_ext in '' $ac_executable_extensions; do
4979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4980 ac_cv_prog_BISON="$ac_prog"
4981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4982 break 2
4984 done
4985 done
4986 IFS=$as_save_IFS
4990 BISON=$ac_cv_prog_BISON
4991 if test -n "$BISON"; then
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4993 $as_echo "$BISON" >&6; }
4994 else
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4996 $as_echo "no" >&6; }
5000 test -n "$BISON" && break
5001 done
5002 test -n "$BISON" || BISON="none"
5004 if test "$BISON" = "none"
5005 then
5006 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5009 if test -n "$ac_tool_prefix"; then
5010 for ac_prog in ar gar
5012 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5013 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5015 $as_echo_n "checking for $ac_word... " >&6; }
5016 if ${ac_cv_prog_AR+:} false; then :
5017 $as_echo_n "(cached) " >&6
5018 else
5019 if test -n "$AR"; then
5020 ac_cv_prog_AR="$AR" # Let the user override the test.
5021 else
5022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023 for as_dir in $PATH
5025 IFS=$as_save_IFS
5026 test -z "$as_dir" && as_dir=.
5027 for ac_exec_ext in '' $ac_executable_extensions; do
5028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5029 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5031 break 2
5033 done
5034 done
5035 IFS=$as_save_IFS
5039 AR=$ac_cv_prog_AR
5040 if test -n "$AR"; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5042 $as_echo "$AR" >&6; }
5043 else
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 $as_echo "no" >&6; }
5049 test -n "$AR" && break
5050 done
5052 if test -z "$AR"; then
5053 ac_ct_AR=$AR
5054 for ac_prog in ar gar
5056 # Extract the first word of "$ac_prog", so it can be a program name with args.
5057 set dummy $ac_prog; ac_word=$2
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5059 $as_echo_n "checking for $ac_word... " >&6; }
5060 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5061 $as_echo_n "(cached) " >&6
5062 else
5063 if test -n "$ac_ct_AR"; then
5064 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5065 else
5066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5067 for as_dir in $PATH
5069 IFS=$as_save_IFS
5070 test -z "$as_dir" && as_dir=.
5071 for ac_exec_ext in '' $ac_executable_extensions; do
5072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5073 ac_cv_prog_ac_ct_AR="$ac_prog"
5074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5075 break 2
5077 done
5078 done
5079 IFS=$as_save_IFS
5083 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5084 if test -n "$ac_ct_AR"; then
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5086 $as_echo "$ac_ct_AR" >&6; }
5087 else
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5089 $as_echo "no" >&6; }
5093 test -n "$ac_ct_AR" && break
5094 done
5096 if test "x$ac_ct_AR" = x; then
5097 AR="ar"
5098 else
5099 case $cross_compiling:$ac_tool_warned in
5100 yes:)
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5103 ac_tool_warned=yes ;;
5104 esac
5105 AR=$ac_ct_AR
5109 if test -n "$ac_tool_prefix"; then
5110 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5111 set dummy ${ac_tool_prefix}strip; ac_word=$2
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5113 $as_echo_n "checking for $ac_word... " >&6; }
5114 if ${ac_cv_prog_STRIP+:} false; then :
5115 $as_echo_n "(cached) " >&6
5116 else
5117 if test -n "$STRIP"; then
5118 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5119 else
5120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5121 for as_dir in $PATH
5123 IFS=$as_save_IFS
5124 test -z "$as_dir" && as_dir=.
5125 for ac_exec_ext in '' $ac_executable_extensions; do
5126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5127 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5129 break 2
5131 done
5132 done
5133 IFS=$as_save_IFS
5137 STRIP=$ac_cv_prog_STRIP
5138 if test -n "$STRIP"; then
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5140 $as_echo "$STRIP" >&6; }
5141 else
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5143 $as_echo "no" >&6; }
5148 if test -z "$ac_cv_prog_STRIP"; then
5149 ac_ct_STRIP=$STRIP
5150 # Extract the first word of "strip", so it can be a program name with args.
5151 set dummy strip; ac_word=$2
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5153 $as_echo_n "checking for $ac_word... " >&6; }
5154 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5155 $as_echo_n "(cached) " >&6
5156 else
5157 if test -n "$ac_ct_STRIP"; then
5158 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5159 else
5160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5161 for as_dir in $PATH
5163 IFS=$as_save_IFS
5164 test -z "$as_dir" && as_dir=.
5165 for ac_exec_ext in '' $ac_executable_extensions; do
5166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5167 ac_cv_prog_ac_ct_STRIP="strip"
5168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5169 break 2
5171 done
5172 done
5173 IFS=$as_save_IFS
5177 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5178 if test -n "$ac_ct_STRIP"; then
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5180 $as_echo "$ac_ct_STRIP" >&6; }
5181 else
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5183 $as_echo "no" >&6; }
5186 if test "x$ac_ct_STRIP" = x; then
5187 STRIP="strip"
5188 else
5189 case $cross_compiling:$ac_tool_warned in
5190 yes:)
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5193 ac_tool_warned=yes ;;
5194 esac
5195 STRIP=$ac_ct_STRIP
5197 else
5198 STRIP="$ac_cv_prog_STRIP"
5201 ARFLAGS=rc
5203 if test -n "$ac_tool_prefix"; then
5204 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5205 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5207 $as_echo_n "checking for $ac_word... " >&6; }
5208 if ${ac_cv_prog_RANLIB+:} false; then :
5209 $as_echo_n "(cached) " >&6
5210 else
5211 if test -n "$RANLIB"; then
5212 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5213 else
5214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5215 for as_dir in $PATH
5217 IFS=$as_save_IFS
5218 test -z "$as_dir" && as_dir=.
5219 for ac_exec_ext in '' $ac_executable_extensions; do
5220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5221 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5223 break 2
5225 done
5226 done
5227 IFS=$as_save_IFS
5231 RANLIB=$ac_cv_prog_RANLIB
5232 if test -n "$RANLIB"; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5234 $as_echo "$RANLIB" >&6; }
5235 else
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5237 $as_echo "no" >&6; }
5242 if test -z "$ac_cv_prog_RANLIB"; then
5243 ac_ct_RANLIB=$RANLIB
5244 # Extract the first word of "ranlib", so it can be a program name with args.
5245 set dummy ranlib; ac_word=$2
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5247 $as_echo_n "checking for $ac_word... " >&6; }
5248 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5249 $as_echo_n "(cached) " >&6
5250 else
5251 if test -n "$ac_ct_RANLIB"; then
5252 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5253 else
5254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5255 for as_dir in $PATH
5257 IFS=$as_save_IFS
5258 test -z "$as_dir" && as_dir=.
5259 for ac_exec_ext in '' $ac_executable_extensions; do
5260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5261 ac_cv_prog_ac_ct_RANLIB="ranlib"
5262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5263 break 2
5265 done
5266 done
5267 IFS=$as_save_IFS
5271 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5272 if test -n "$ac_ct_RANLIB"; then
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5274 $as_echo "$ac_ct_RANLIB" >&6; }
5275 else
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5277 $as_echo "no" >&6; }
5280 if test "x$ac_ct_RANLIB" = x; then
5281 RANLIB=":"
5282 else
5283 case $cross_compiling:$ac_tool_warned in
5284 yes:)
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5286 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5287 ac_tool_warned=yes ;;
5288 esac
5289 RANLIB=$ac_ct_RANLIB
5291 else
5292 RANLIB="$ac_cv_prog_RANLIB"
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5296 $as_echo_n "checking whether ln -s works... " >&6; }
5297 LN_S=$as_ln_s
5298 if test "$LN_S" = "ln -s"; then
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5300 $as_echo "yes" >&6; }
5301 else
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5303 $as_echo "no, using $LN_S" >&6; }
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5307 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5308 if ${ac_cv_path_GREP+:} false; then :
5309 $as_echo_n "(cached) " >&6
5310 else
5311 if test -z "$GREP"; then
5312 ac_path_GREP_found=false
5313 # Loop through the user's path and test for each of PROGNAME-LIST
5314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5315 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5317 IFS=$as_save_IFS
5318 test -z "$as_dir" && as_dir=.
5319 for ac_prog in grep ggrep; do
5320 for ac_exec_ext in '' $ac_executable_extensions; do
5321 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5322 as_fn_executable_p "$ac_path_GREP" || continue
5323 # Check for GNU ac_path_GREP and select it if it is found.
5324 # Check for GNU $ac_path_GREP
5325 case `"$ac_path_GREP" --version 2>&1` in
5326 *GNU*)
5327 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5329 ac_count=0
5330 $as_echo_n 0123456789 >"conftest.in"
5331 while :
5333 cat "conftest.in" "conftest.in" >"conftest.tmp"
5334 mv "conftest.tmp" "conftest.in"
5335 cp "conftest.in" "conftest.nl"
5336 $as_echo 'GREP' >> "conftest.nl"
5337 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5338 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5339 as_fn_arith $ac_count + 1 && ac_count=$as_val
5340 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5341 # Best one so far, save it but keep looking for a better one
5342 ac_cv_path_GREP="$ac_path_GREP"
5343 ac_path_GREP_max=$ac_count
5345 # 10*(2^10) chars as input seems more than enough
5346 test $ac_count -gt 10 && break
5347 done
5348 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5349 esac
5351 $ac_path_GREP_found && break 3
5352 done
5353 done
5354 done
5355 IFS=$as_save_IFS
5356 if test -z "$ac_cv_path_GREP"; then
5357 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5359 else
5360 ac_cv_path_GREP=$GREP
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5365 $as_echo "$ac_cv_path_GREP" >&6; }
5366 GREP="$ac_cv_path_GREP"
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5370 $as_echo_n "checking for egrep... " >&6; }
5371 if ${ac_cv_path_EGREP+:} false; then :
5372 $as_echo_n "(cached) " >&6
5373 else
5374 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5375 then ac_cv_path_EGREP="$GREP -E"
5376 else
5377 if test -z "$EGREP"; then
5378 ac_path_EGREP_found=false
5379 # Loop through the user's path and test for each of PROGNAME-LIST
5380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5381 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5383 IFS=$as_save_IFS
5384 test -z "$as_dir" && as_dir=.
5385 for ac_prog in egrep; do
5386 for ac_exec_ext in '' $ac_executable_extensions; do
5387 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5388 as_fn_executable_p "$ac_path_EGREP" || continue
5389 # Check for GNU ac_path_EGREP and select it if it is found.
5390 # Check for GNU $ac_path_EGREP
5391 case `"$ac_path_EGREP" --version 2>&1` in
5392 *GNU*)
5393 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5395 ac_count=0
5396 $as_echo_n 0123456789 >"conftest.in"
5397 while :
5399 cat "conftest.in" "conftest.in" >"conftest.tmp"
5400 mv "conftest.tmp" "conftest.in"
5401 cp "conftest.in" "conftest.nl"
5402 $as_echo 'EGREP' >> "conftest.nl"
5403 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5404 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5405 as_fn_arith $ac_count + 1 && ac_count=$as_val
5406 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5407 # Best one so far, save it but keep looking for a better one
5408 ac_cv_path_EGREP="$ac_path_EGREP"
5409 ac_path_EGREP_max=$ac_count
5411 # 10*(2^10) chars as input seems more than enough
5412 test $ac_count -gt 10 && break
5413 done
5414 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5415 esac
5417 $ac_path_EGREP_found && break 3
5418 done
5419 done
5420 done
5421 IFS=$as_save_IFS
5422 if test -z "$ac_cv_path_EGREP"; then
5423 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5425 else
5426 ac_cv_path_EGREP=$EGREP
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5432 $as_echo "$ac_cv_path_EGREP" >&6; }
5433 EGREP="$ac_cv_path_EGREP"
5436 # Extract the first word of "ldconfig", so it can be a program name with args.
5437 set dummy ldconfig; ac_word=$2
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5439 $as_echo_n "checking for $ac_word... " >&6; }
5440 if ${ac_cv_path_LDCONFIG+:} false; then :
5441 $as_echo_n "(cached) " >&6
5442 else
5443 case $LDCONFIG in
5444 [\\/]* | ?:[\\/]*)
5445 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5449 for as_dir in /sbin /usr/sbin $PATH
5451 IFS=$as_save_IFS
5452 test -z "$as_dir" && as_dir=.
5453 for ac_exec_ext in '' $ac_executable_extensions; do
5454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5455 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5457 break 2
5459 done
5460 done
5461 IFS=$as_save_IFS
5463 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5465 esac
5467 LDCONFIG=$ac_cv_path_LDCONFIG
5468 if test -n "$LDCONFIG"; then
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5470 $as_echo "$LDCONFIG" >&6; }
5471 else
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5473 $as_echo "no" >&6; }
5477 for ac_prog in msgfmt
5479 # Extract the first word of "$ac_prog", so it can be a program name with args.
5480 set dummy $ac_prog; ac_word=$2
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5482 $as_echo_n "checking for $ac_word... " >&6; }
5483 if ${ac_cv_prog_MSGFMT+:} false; then :
5484 $as_echo_n "(cached) " >&6
5485 else
5486 if test -n "$MSGFMT"; then
5487 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5488 else
5489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5490 for as_dir in $PATH
5492 IFS=$as_save_IFS
5493 test -z "$as_dir" && as_dir=.
5494 for ac_exec_ext in '' $ac_executable_extensions; do
5495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5496 ac_cv_prog_MSGFMT="$ac_prog"
5497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5498 break 2
5500 done
5501 done
5502 IFS=$as_save_IFS
5506 MSGFMT=$ac_cv_prog_MSGFMT
5507 if test -n "$MSGFMT"; then
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5509 $as_echo "$MSGFMT" >&6; }
5510 else
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5512 $as_echo "no" >&6; }
5516 test -n "$MSGFMT" && break
5517 done
5518 test -n "$MSGFMT" || MSGFMT="false"
5520 if ${ac_tool_prefix+:} false; then :
5521 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5522 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5524 $as_echo_n "checking for $ac_word... " >&6; }
5525 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5526 $as_echo_n "(cached) " >&6
5527 else
5528 if test -n "$PKG_CONFIG"; then
5529 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5530 else
5531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5532 for as_dir in $PATH
5534 IFS=$as_save_IFS
5535 test -z "$as_dir" && as_dir=.
5536 for ac_exec_ext in '' $ac_executable_extensions; do
5537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5538 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5540 break 2
5542 done
5543 done
5544 IFS=$as_save_IFS
5548 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5549 if test -n "$PKG_CONFIG"; then
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5551 $as_echo "$PKG_CONFIG" >&6; }
5552 else
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5554 $as_echo "no" >&6; }
5559 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5560 if test "x$cross_compiling" = xyes; then :
5562 else
5563 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5564 # Extract the first word of "pkg-config", so it can be a program name with args.
5565 set dummy pkg-config; ac_word=$2
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5567 $as_echo_n "checking for $ac_word... " >&6; }
5568 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5569 $as_echo_n "(cached) " >&6
5570 else
5571 if test -n "$PKG_CONFIG"; then
5572 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5573 else
5574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5575 for as_dir in $PATH
5577 IFS=$as_save_IFS
5578 test -z "$as_dir" && as_dir=.
5579 for ac_exec_ext in '' $ac_executable_extensions; do
5580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5581 ac_cv_prog_PKG_CONFIG="pkg-config"
5582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5583 break 2
5585 done
5586 done
5587 IFS=$as_save_IFS
5591 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5592 if test -n "$PKG_CONFIG"; then
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5594 $as_echo "$PKG_CONFIG" >&6; }
5595 else
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5597 $as_echo "no" >&6; }
5602 else
5603 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5606 if test "x$enable_maintainer_mode" != "xyes"
5607 then
5608 FONTFORGE=""
5609 RSVG=""
5610 CONVERT=""
5611 ICOTOOL=""
5612 else
5613 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5614 for ac_prog in fontforge
5616 # Extract the first word of "$ac_prog", so it can be a program name with args.
5617 set dummy $ac_prog; ac_word=$2
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5619 $as_echo_n "checking for $ac_word... " >&6; }
5620 if ${ac_cv_prog_FONTFORGE+:} false; then :
5621 $as_echo_n "(cached) " >&6
5622 else
5623 if test -n "$FONTFORGE"; then
5624 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5625 else
5626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5627 for as_dir in $PATH
5629 IFS=$as_save_IFS
5630 test -z "$as_dir" && as_dir=.
5631 for ac_exec_ext in '' $ac_executable_extensions; do
5632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5633 ac_cv_prog_FONTFORGE="$ac_prog"
5634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5635 break 2
5637 done
5638 done
5639 IFS=$as_save_IFS
5643 FONTFORGE=$ac_cv_prog_FONTFORGE
5644 if test -n "$FONTFORGE"; then
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5646 $as_echo "$FONTFORGE" >&6; }
5647 else
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5649 $as_echo "no" >&6; }
5653 test -n "$FONTFORGE" && break
5654 done
5655 test -n "$FONTFORGE" || FONTFORGE="false"
5657 for ac_prog in rsvg
5659 # Extract the first word of "$ac_prog", so it can be a program name with args.
5660 set dummy $ac_prog; ac_word=$2
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5662 $as_echo_n "checking for $ac_word... " >&6; }
5663 if ${ac_cv_prog_RSVG+:} false; then :
5664 $as_echo_n "(cached) " >&6
5665 else
5666 if test -n "$RSVG"; then
5667 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5668 else
5669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5670 for as_dir in $PATH
5672 IFS=$as_save_IFS
5673 test -z "$as_dir" && as_dir=.
5674 for ac_exec_ext in '' $ac_executable_extensions; do
5675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5676 ac_cv_prog_RSVG="$ac_prog"
5677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5678 break 2
5680 done
5681 done
5682 IFS=$as_save_IFS
5686 RSVG=$ac_cv_prog_RSVG
5687 if test -n "$RSVG"; then
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5689 $as_echo "$RSVG" >&6; }
5690 else
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5692 $as_echo "no" >&6; }
5696 test -n "$RSVG" && break
5697 done
5698 test -n "$RSVG" || RSVG="false"
5700 for ac_prog in convert
5702 # Extract the first word of "$ac_prog", so it can be a program name with args.
5703 set dummy $ac_prog; ac_word=$2
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5705 $as_echo_n "checking for $ac_word... " >&6; }
5706 if ${ac_cv_prog_CONVERT+:} false; then :
5707 $as_echo_n "(cached) " >&6
5708 else
5709 if test -n "$CONVERT"; then
5710 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5711 else
5712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5713 for as_dir in $PATH
5715 IFS=$as_save_IFS
5716 test -z "$as_dir" && as_dir=.
5717 for ac_exec_ext in '' $ac_executable_extensions; do
5718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5719 ac_cv_prog_CONVERT="$ac_prog"
5720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5721 break 2
5723 done
5724 done
5725 IFS=$as_save_IFS
5729 CONVERT=$ac_cv_prog_CONVERT
5730 if test -n "$CONVERT"; then
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5732 $as_echo "$CONVERT" >&6; }
5733 else
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5735 $as_echo "no" >&6; }
5739 test -n "$CONVERT" && break
5740 done
5741 test -n "$CONVERT" || CONVERT="false"
5743 for ac_prog in icotool
5745 # Extract the first word of "$ac_prog", so it can be a program name with args.
5746 set dummy $ac_prog; ac_word=$2
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5748 $as_echo_n "checking for $ac_word... " >&6; }
5749 if ${ac_cv_prog_ICOTOOL+:} false; then :
5750 $as_echo_n "(cached) " >&6
5751 else
5752 if test -n "$ICOTOOL"; then
5753 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5754 else
5755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5756 for as_dir in $PATH
5758 IFS=$as_save_IFS
5759 test -z "$as_dir" && as_dir=.
5760 for ac_exec_ext in '' $ac_executable_extensions; do
5761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5762 ac_cv_prog_ICOTOOL="$ac_prog"
5763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5764 break 2
5766 done
5767 done
5768 IFS=$as_save_IFS
5772 ICOTOOL=$ac_cv_prog_ICOTOOL
5773 if test -n "$ICOTOOL"; then
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5775 $as_echo "$ICOTOOL" >&6; }
5776 else
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5778 $as_echo "no" >&6; }
5782 test -n "$ICOTOOL" && break
5783 done
5784 test -n "$ICOTOOL" || ICOTOOL="false"
5786 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5787 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5789 if test "$CONVERT" = false
5790 then
5791 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5792 else
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5794 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5795 convert_version=`convert --version | head -n1`
5796 if test "x$convert_version" != "x"
5797 then
5798 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5799 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5800 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5801 then
5802 CONVERT=false
5805 if test "$CONVERT" = false
5806 then
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5808 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5809 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5810 else
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5812 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5816 if test "$ICOTOOL" = false
5817 then
5818 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5819 else
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5821 $as_echo_n "checking for recent enough icotool... " >&6; }
5822 icotool_version=`icotool --version | head -n1`
5823 if test "x$icotool_version" != "x"
5824 then
5825 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5826 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5827 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5828 then
5829 ICOTOOL=false
5830 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5833 if test "$ICOTOOL" = false
5834 then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5836 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5837 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5838 else
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5840 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5844 with_gettext=yes
5845 with_gettextpo=yes
5846 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5849 test "x$with_gettext" != xno || MSGFMT=false
5850 if test "$MSGFMT" != "false"
5851 then
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5853 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5854 cat >conftest.po <<EOF
5855 # comment
5856 msgctxt "ctxt"
5857 msgid "id"
5858 msgstr "str"
5860 if $MSGFMT -o /dev/null conftest.po 2>&5
5861 then
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5863 $as_echo "yes" >&6; }
5864 else
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5866 $as_echo "no" >&6; }
5867 MSGFMT=false
5870 if test "$MSGFMT" = false; then :
5871 case "x$with_gettext" in
5872 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5873 xno) ;;
5874 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5875 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5876 esac
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5881 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5882 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5883 $as_echo_n "(cached) " >&6
5884 else
5885 ac_check_lib_save_LIBS=$LIBS
5886 LIBS="-li386 $LIBS"
5887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5888 /* end confdefs.h. */
5890 /* Override any GCC internal prototype to avoid an error.
5891 Use char because int might match the return type of a GCC
5892 builtin and then its argument prototype would still apply. */
5893 #ifdef __cplusplus
5894 extern "C"
5895 #endif
5896 char i386_set_ldt ();
5898 main ()
5900 return i386_set_ldt ();
5902 return 0;
5904 _ACEOF
5905 if ac_fn_c_try_link "$LINENO"; then :
5906 ac_cv_lib_i386_i386_set_ldt=yes
5907 else
5908 ac_cv_lib_i386_i386_set_ldt=no
5910 rm -f core conftest.err conftest.$ac_objext \
5911 conftest$ac_exeext conftest.$ac_ext
5912 LIBS=$ac_check_lib_save_LIBS
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5915 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5916 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5917 cat >>confdefs.h <<_ACEOF
5918 #define HAVE_LIBI386 1
5919 _ACEOF
5921 LIBS="-li386 $LIBS"
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5926 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5927 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5928 $as_echo_n "(cached) " >&6
5929 else
5930 ac_check_lib_save_LIBS=$LIBS
5931 LIBS="-lossaudio $LIBS"
5932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5933 /* end confdefs.h. */
5935 /* Override any GCC internal prototype to avoid an error.
5936 Use char because int might match the return type of a GCC
5937 builtin and then its argument prototype would still apply. */
5938 #ifdef __cplusplus
5939 extern "C"
5940 #endif
5941 char _oss_ioctl ();
5943 main ()
5945 return _oss_ioctl ();
5947 return 0;
5949 _ACEOF
5950 if ac_fn_c_try_link "$LINENO"; then :
5951 ac_cv_lib_ossaudio__oss_ioctl=yes
5952 else
5953 ac_cv_lib_ossaudio__oss_ioctl=no
5955 rm -f core conftest.err conftest.$ac_objext \
5956 conftest$ac_exeext conftest.$ac_ext
5957 LIBS=$ac_check_lib_save_LIBS
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5960 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5961 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5962 cat >>confdefs.h <<_ACEOF
5963 #define HAVE_LIBOSSAUDIO 1
5964 _ACEOF
5966 LIBS="-lossaudio $LIBS"
5971 OPENGL_LIBS=""
5975 # Check whether --enable-largefile was given.
5976 if test "${enable_largefile+set}" = set; then :
5977 enableval=$enable_largefile;
5980 if test "$enable_largefile" != no; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5983 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5984 if ${ac_cv_sys_largefile_CC+:} false; then :
5985 $as_echo_n "(cached) " >&6
5986 else
5987 ac_cv_sys_largefile_CC=no
5988 if test "$GCC" != yes; then
5989 ac_save_CC=$CC
5990 while :; do
5991 # IRIX 6.2 and later do not support large files by default,
5992 # so use the C compiler's -n32 option if that helps.
5993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5994 /* end confdefs.h. */
5995 #include <sys/types.h>
5996 /* Check that off_t can represent 2**63 - 1 correctly.
5997 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5998 since some C++ compilers masquerading as C compilers
5999 incorrectly reject 9223372036854775807. */
6000 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6001 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6002 && LARGE_OFF_T % 2147483647 == 1)
6003 ? 1 : -1];
6005 main ()
6009 return 0;
6011 _ACEOF
6012 if ac_fn_c_try_compile "$LINENO"; then :
6013 break
6015 rm -f core conftest.err conftest.$ac_objext
6016 CC="$CC -n32"
6017 if ac_fn_c_try_compile "$LINENO"; then :
6018 ac_cv_sys_largefile_CC=' -n32'; break
6020 rm -f core conftest.err conftest.$ac_objext
6021 break
6022 done
6023 CC=$ac_save_CC
6024 rm -f conftest.$ac_ext
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6028 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6029 if test "$ac_cv_sys_largefile_CC" != no; then
6030 CC=$CC$ac_cv_sys_largefile_CC
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6034 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6035 if ${ac_cv_sys_file_offset_bits+:} false; then :
6036 $as_echo_n "(cached) " >&6
6037 else
6038 while :; do
6039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6040 /* end confdefs.h. */
6041 #include <sys/types.h>
6042 /* Check that off_t can represent 2**63 - 1 correctly.
6043 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6044 since some C++ compilers masquerading as C compilers
6045 incorrectly reject 9223372036854775807. */
6046 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6047 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6048 && LARGE_OFF_T % 2147483647 == 1)
6049 ? 1 : -1];
6051 main ()
6055 return 0;
6057 _ACEOF
6058 if ac_fn_c_try_compile "$LINENO"; then :
6059 ac_cv_sys_file_offset_bits=no; break
6061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6063 /* end confdefs.h. */
6064 #define _FILE_OFFSET_BITS 64
6065 #include <sys/types.h>
6066 /* Check that off_t can represent 2**63 - 1 correctly.
6067 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6068 since some C++ compilers masquerading as C compilers
6069 incorrectly reject 9223372036854775807. */
6070 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6071 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6072 && LARGE_OFF_T % 2147483647 == 1)
6073 ? 1 : -1];
6075 main ()
6079 return 0;
6081 _ACEOF
6082 if ac_fn_c_try_compile "$LINENO"; then :
6083 ac_cv_sys_file_offset_bits=64; break
6085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6086 ac_cv_sys_file_offset_bits=unknown
6087 break
6088 done
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6091 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6092 case $ac_cv_sys_file_offset_bits in #(
6093 no | unknown) ;;
6095 cat >>confdefs.h <<_ACEOF
6096 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6097 _ACEOF
6099 esac
6100 rm -rf conftest*
6101 if test $ac_cv_sys_file_offset_bits = unknown; then
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6103 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6104 if ${ac_cv_sys_large_files+:} false; then :
6105 $as_echo_n "(cached) " >&6
6106 else
6107 while :; do
6108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6109 /* end confdefs.h. */
6110 #include <sys/types.h>
6111 /* Check that off_t can represent 2**63 - 1 correctly.
6112 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6113 since some C++ compilers masquerading as C compilers
6114 incorrectly reject 9223372036854775807. */
6115 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6116 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6117 && LARGE_OFF_T % 2147483647 == 1)
6118 ? 1 : -1];
6120 main ()
6124 return 0;
6126 _ACEOF
6127 if ac_fn_c_try_compile "$LINENO"; then :
6128 ac_cv_sys_large_files=no; break
6130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6132 /* end confdefs.h. */
6133 #define _LARGE_FILES 1
6134 #include <sys/types.h>
6135 /* Check that off_t can represent 2**63 - 1 correctly.
6136 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6137 since some C++ compilers masquerading as C compilers
6138 incorrectly reject 9223372036854775807. */
6139 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6140 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6141 && LARGE_OFF_T % 2147483647 == 1)
6142 ? 1 : -1];
6144 main ()
6148 return 0;
6150 _ACEOF
6151 if ac_fn_c_try_compile "$LINENO"; then :
6152 ac_cv_sys_large_files=1; break
6154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6155 ac_cv_sys_large_files=unknown
6156 break
6157 done
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6160 $as_echo "$ac_cv_sys_large_files" >&6; }
6161 case $ac_cv_sys_large_files in #(
6162 no | unknown) ;;
6164 cat >>confdefs.h <<_ACEOF
6165 #define _LARGE_FILES $ac_cv_sys_large_files
6166 _ACEOF
6168 esac
6169 rm -rf conftest*
6176 ac_ext=c
6177 ac_cpp='$CPP $CPPFLAGS'
6178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6182 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6183 # On Suns, sometimes $CPP names a directory.
6184 if test -n "$CPP" && test -d "$CPP"; then
6185 CPP=
6187 if test -z "$CPP"; then
6188 if ${ac_cv_prog_CPP+:} false; then :
6189 $as_echo_n "(cached) " >&6
6190 else
6191 # Double quotes because CPP needs to be expanded
6192 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6194 ac_preproc_ok=false
6195 for ac_c_preproc_warn_flag in '' yes
6197 # Use a header file that comes with gcc, so configuring glibc
6198 # with a fresh cross-compiler works.
6199 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6200 # <limits.h> exists even on freestanding compilers.
6201 # On the NeXT, cc -E runs the code through the compiler's parser,
6202 # not just through cpp. "Syntax error" is here to catch this case.
6203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6204 /* end confdefs.h. */
6205 #ifdef __STDC__
6206 # include <limits.h>
6207 #else
6208 # include <assert.h>
6209 #endif
6210 Syntax error
6211 _ACEOF
6212 if ac_fn_c_try_cpp "$LINENO"; then :
6214 else
6215 # Broken: fails on valid input.
6216 continue
6218 rm -f conftest.err conftest.i conftest.$ac_ext
6220 # OK, works on sane cases. Now check whether nonexistent headers
6221 # can be detected and how.
6222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6223 /* end confdefs.h. */
6224 #include <ac_nonexistent.h>
6225 _ACEOF
6226 if ac_fn_c_try_cpp "$LINENO"; then :
6227 # Broken: success on invalid input.
6228 continue
6229 else
6230 # Passes both tests.
6231 ac_preproc_ok=:
6232 break
6234 rm -f conftest.err conftest.i conftest.$ac_ext
6236 done
6237 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6238 rm -f conftest.i conftest.err conftest.$ac_ext
6239 if $ac_preproc_ok; then :
6240 break
6243 done
6244 ac_cv_prog_CPP=$CPP
6247 CPP=$ac_cv_prog_CPP
6248 else
6249 ac_cv_prog_CPP=$CPP
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6252 $as_echo "$CPP" >&6; }
6253 ac_preproc_ok=false
6254 for ac_c_preproc_warn_flag in '' yes
6256 # Use a header file that comes with gcc, so configuring glibc
6257 # with a fresh cross-compiler works.
6258 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6259 # <limits.h> exists even on freestanding compilers.
6260 # On the NeXT, cc -E runs the code through the compiler's parser,
6261 # not just through cpp. "Syntax error" is here to catch this case.
6262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6263 /* end confdefs.h. */
6264 #ifdef __STDC__
6265 # include <limits.h>
6266 #else
6267 # include <assert.h>
6268 #endif
6269 Syntax error
6270 _ACEOF
6271 if ac_fn_c_try_cpp "$LINENO"; then :
6273 else
6274 # Broken: fails on valid input.
6275 continue
6277 rm -f conftest.err conftest.i conftest.$ac_ext
6279 # OK, works on sane cases. Now check whether nonexistent headers
6280 # can be detected and how.
6281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6282 /* end confdefs.h. */
6283 #include <ac_nonexistent.h>
6284 _ACEOF
6285 if ac_fn_c_try_cpp "$LINENO"; then :
6286 # Broken: success on invalid input.
6287 continue
6288 else
6289 # Passes both tests.
6290 ac_preproc_ok=:
6291 break
6293 rm -f conftest.err conftest.i conftest.$ac_ext
6295 done
6296 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6297 rm -f conftest.i conftest.err conftest.$ac_ext
6298 if $ac_preproc_ok; then :
6300 else
6301 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6303 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6304 See \`config.log' for more details" "$LINENO" 5; }
6307 ac_ext=c
6308 ac_cpp='$CPP $CPPFLAGS'
6309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6315 $as_echo_n "checking for ANSI C header files... " >&6; }
6316 if ${ac_cv_header_stdc+:} false; then :
6317 $as_echo_n "(cached) " >&6
6318 else
6319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6320 /* end confdefs.h. */
6321 #include <stdlib.h>
6322 #include <stdarg.h>
6323 #include <string.h>
6324 #include <float.h>
6327 main ()
6331 return 0;
6333 _ACEOF
6334 if ac_fn_c_try_compile "$LINENO"; then :
6335 ac_cv_header_stdc=yes
6336 else
6337 ac_cv_header_stdc=no
6339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6341 if test $ac_cv_header_stdc = yes; then
6342 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6344 /* end confdefs.h. */
6345 #include <string.h>
6347 _ACEOF
6348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6349 $EGREP "memchr" >/dev/null 2>&1; then :
6351 else
6352 ac_cv_header_stdc=no
6354 rm -f conftest*
6358 if test $ac_cv_header_stdc = yes; then
6359 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6361 /* end confdefs.h. */
6362 #include <stdlib.h>
6364 _ACEOF
6365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6366 $EGREP "free" >/dev/null 2>&1; then :
6368 else
6369 ac_cv_header_stdc=no
6371 rm -f conftest*
6375 if test $ac_cv_header_stdc = yes; then
6376 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6377 if test "$cross_compiling" = yes; then :
6379 else
6380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6381 /* end confdefs.h. */
6382 #include <ctype.h>
6383 #include <stdlib.h>
6384 #if ((' ' & 0x0FF) == 0x020)
6385 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6386 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6387 #else
6388 # define ISLOWER(c) \
6389 (('a' <= (c) && (c) <= 'i') \
6390 || ('j' <= (c) && (c) <= 'r') \
6391 || ('s' <= (c) && (c) <= 'z'))
6392 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6393 #endif
6395 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6397 main ()
6399 int i;
6400 for (i = 0; i < 256; i++)
6401 if (XOR (islower (i), ISLOWER (i))
6402 || toupper (i) != TOUPPER (i))
6403 return 2;
6404 return 0;
6406 _ACEOF
6407 if ac_fn_c_try_run "$LINENO"; then :
6409 else
6410 ac_cv_header_stdc=no
6412 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6413 conftest.$ac_objext conftest.beam conftest.$ac_ext
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6419 $as_echo "$ac_cv_header_stdc" >&6; }
6420 if test $ac_cv_header_stdc = yes; then
6422 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6426 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6427 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6428 inttypes.h stdint.h unistd.h
6429 do :
6430 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6431 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6433 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6434 cat >>confdefs.h <<_ACEOF
6435 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6436 _ACEOF
6440 done
6443 for ac_header in \
6444 AL/al.h \
6445 ApplicationServices/ApplicationServices.h \
6446 AudioToolbox/AudioConverter.h \
6447 AudioUnit/AudioUnit.h \
6448 AudioUnit/AudioComponent.h \
6449 CL/cl.h \
6450 Carbon/Carbon.h \
6451 CoreAudio/CoreAudio.h \
6452 CoreServices/CoreServices.h \
6453 DiskArbitration/DiskArbitration.h \
6454 IOKit/IOKitLib.h \
6455 IOKit/hid/IOHIDLib.h \
6456 OpenAL/al.h \
6457 OpenCL/opencl.h \
6458 QuickTime/ImageCompression.h \
6459 Security/Security.h \
6460 alias.h \
6461 alsa/asoundlib.h \
6462 arpa/inet.h \
6463 arpa/nameser.h \
6464 asm/types.h \
6465 asm/user.h \
6466 curses.h \
6467 direct.h \
6468 dirent.h \
6469 dlfcn.h \
6470 elf.h \
6471 float.h \
6472 fnmatch.h \
6473 getopt.h \
6474 gettext-po.h \
6475 grp.h \
6476 gsm.h \
6477 gsm/gsm.h \
6478 ieeefp.h \
6479 inet/mib2.h \
6480 io.h \
6481 kstat.h \
6482 lber.h \
6483 ldap.h \
6484 libproc.h \
6485 link.h \
6486 linux/cdrom.h \
6487 linux/compiler.h \
6488 linux/filter.h \
6489 linux/hdreg.h \
6490 linux/input.h \
6491 linux/ioctl.h \
6492 linux/joystick.h \
6493 linux/major.h \
6494 linux/param.h \
6495 linux/serial.h \
6496 linux/types.h \
6497 linux/ucdrom.h \
6498 lwp.h \
6499 mach-o/nlist.h \
6500 mach-o/loader.h \
6501 mach/mach.h \
6502 mach/machine.h \
6503 machine/cpu.h \
6504 machine/limits.h \
6505 machine/sysarch.h \
6506 mntent.h \
6507 ncurses.h \
6508 netdb.h \
6509 netinet/in.h \
6510 netinet/in_systm.h \
6511 netinet/tcp.h \
6512 netinet/tcp_fsm.h \
6513 pcap/pcap.h \
6514 poll.h \
6515 port.h \
6516 process.h \
6517 pthread.h \
6518 pwd.h \
6519 sched.h \
6520 scsi/scsi.h \
6521 scsi/scsi_ioctl.h \
6522 scsi/sg.h \
6523 stdbool.h \
6524 stdint.h \
6525 stropts.h \
6526 sys/asoundlib.h \
6527 sys/attr.h \
6528 sys/cdio.h \
6529 sys/elf32.h \
6530 sys/epoll.h \
6531 sys/event.h \
6532 sys/exec_elf.h \
6533 sys/filio.h \
6534 sys/inotify.h \
6535 sys/ioctl.h \
6536 sys/ipc.h \
6537 sys/limits.h \
6538 sys/link.h \
6539 sys/mman.h \
6540 sys/modem.h \
6541 sys/msg.h \
6542 sys/mtio.h \
6543 sys/param.h \
6544 sys/poll.h \
6545 sys/prctl.h \
6546 sys/protosw.h \
6547 sys/ptrace.h \
6548 sys/queue.h \
6549 sys/resource.h \
6550 sys/scsiio.h \
6551 sys/shm.h \
6552 sys/signal.h \
6553 sys/socket.h \
6554 sys/socketvar.h \
6555 sys/sockio.h \
6556 sys/statvfs.h \
6557 sys/strtio.h \
6558 sys/syscall.h \
6559 sys/tihdr.h \
6560 sys/time.h \
6561 sys/timeout.h \
6562 sys/times.h \
6563 sys/uio.h \
6564 sys/user.h \
6565 sys/utsname.h \
6566 sys/vm86.h \
6567 sys/wait.h \
6568 syscall.h \
6569 termios.h \
6570 unistd.h \
6571 utime.h \
6572 valgrind/memcheck.h \
6573 valgrind/valgrind.h \
6574 zlib.h
6576 do :
6577 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6578 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6579 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6580 cat >>confdefs.h <<_ACEOF
6581 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6582 _ACEOF
6586 done
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6589 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6590 if ${ac_cv_header_stat_broken+:} false; then :
6591 $as_echo_n "(cached) " >&6
6592 else
6593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6594 /* end confdefs.h. */
6595 #include <sys/types.h>
6596 #include <sys/stat.h>
6598 #if defined S_ISBLK && defined S_IFDIR
6599 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6600 #endif
6602 #if defined S_ISBLK && defined S_IFCHR
6603 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6604 #endif
6606 #if defined S_ISLNK && defined S_IFREG
6607 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6608 #endif
6610 #if defined S_ISSOCK && defined S_IFREG
6611 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6612 #endif
6614 _ACEOF
6615 if ac_fn_c_try_compile "$LINENO"; then :
6616 ac_cv_header_stat_broken=no
6617 else
6618 ac_cv_header_stat_broken=yes
6620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6623 $as_echo "$ac_cv_header_stat_broken" >&6; }
6624 if test $ac_cv_header_stat_broken = yes; then
6626 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6632 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6633 do :
6634 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6635 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6636 #ifdef HAVE_SYS_PARAM_H
6637 # include <sys/param.h>
6638 #endif
6640 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6641 cat >>confdefs.h <<_ACEOF
6642 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6643 _ACEOF
6647 done
6650 for ac_header in \
6651 netinet/ip.h \
6652 net/if.h \
6653 net/if_arp.h \
6654 net/if_dl.h \
6655 net/if_types.h \
6656 net/route.h \
6657 netinet/if_ether.h \
6658 netinet/if_inarp.h \
6659 netinet/in_pcb.h \
6660 netinet/ip_icmp.h \
6661 netinet/ip_var.h \
6662 netinet/udp.h \
6663 netipx/ipx.h \
6664 sys/un.h \
6666 do :
6667 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6668 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6669 #ifdef HAVE_SYS_SOCKET_H
6670 # include <sys/socket.h>
6671 #endif
6672 #ifdef HAVE_SYS_SOCKETVAR_H
6673 # include <sys/socketvar.h>
6674 #endif
6675 #ifdef HAVE_NET_ROUTE_H
6676 # include <net/route.h>
6677 #endif
6678 #ifdef HAVE_NETINET_IN_H
6679 # include <netinet/in.h>
6680 #endif
6681 #ifdef HAVE_NETINET_IN_SYSTM_H
6682 # include <netinet/in_systm.h>
6683 #endif
6684 #ifdef HAVE_NET_IF_H
6685 # include <net/if.h>
6686 #endif
6687 #ifdef HAVE_NETINET_IP_H
6688 # include <netinet/ip.h>
6689 #endif
6691 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6692 cat >>confdefs.h <<_ACEOF
6693 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6694 _ACEOF
6698 done
6701 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6702 do :
6703 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6704 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6705 #ifdef HAVE_ALIAS_H
6706 # include <alias.h>
6707 #endif
6708 #ifdef HAVE_SYS_SOCKET_H
6709 # include <sys/socket.h>
6710 #endif
6711 #ifdef HAVE_SYS_SOCKETVAR_H
6712 # include <sys/socketvar.h>
6713 #endif
6714 #ifdef HAVE_SYS_TIMEOUT_H
6715 # include <sys/timeout.h>
6716 #endif
6717 #ifdef HAVE_NETINET_IN_H
6718 # include <netinet/in.h>
6719 #endif
6720 #ifdef HAVE_NETINET_IN_SYSTM_H
6721 # include <netinet/in_systm.h>
6722 #endif
6723 #ifdef HAVE_NETINET_IP_H
6724 # include <netinet/ip.h>
6725 #endif
6726 #ifdef HAVE_NETINET_IP_VAR_H
6727 # include <netinet/ip_var.h>
6728 #endif
6729 #ifdef HAVE_NETINET_IP_ICMP_H
6730 # include <netinet/ip_icmp.h>
6731 #endif
6732 #ifdef HAVE_NETINET_UDP_H
6733 # include <netinet/udp.h>
6734 #endif
6735 #ifdef HAVE_NETINET_TCP_H
6736 # include <netinet/tcp.h>
6737 #endif
6738 #ifdef HAVE_NETINET_TCP_TIMER_H
6739 #include <netinet/tcp_timer.h>
6740 #endif
6742 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6743 cat >>confdefs.h <<_ACEOF
6744 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6745 _ACEOF
6749 done
6752 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6753 do :
6754 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6755 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6756 #ifdef HAVE_ASM_TYPES_H
6757 # include <asm/types.h>
6758 #endif
6759 #ifdef HAVE_SYS_SOCKET_H
6760 # include <sys/socket.h>
6761 #endif
6762 #ifdef HAVE_LINUX_TYPES_H
6763 # include <linux/types.h>
6764 #endif
6766 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6767 cat >>confdefs.h <<_ACEOF
6768 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6769 _ACEOF
6773 done
6776 for ac_header in mach-o/dyld_images.h
6777 do :
6778 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6779 # include <stdbool.h>
6780 #endif
6781 #ifdef HAVE_STDINT_H
6782 # include <stdint.h>
6783 #endif
6785 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6786 cat >>confdefs.h <<_ACEOF
6787 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6788 _ACEOF
6792 done
6795 for ac_header in resolv.h
6796 do :
6797 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6798 #ifdef HAVE_SYS_SOCKET_H
6799 # include <sys/socket.h>
6800 #endif
6801 #ifdef HAVE_NETINET_IN_H
6802 # include <netinet/in.h>
6803 #endif
6804 #ifdef HAVE_ARPA_NAMESER_H
6805 # include <arpa/nameser.h>
6806 #endif
6808 if test "x$ac_cv_header_resolv_h" = xyes; then :
6809 cat >>confdefs.h <<_ACEOF
6810 #define HAVE_RESOLV_H 1
6811 _ACEOF
6815 done
6818 for ac_header in ifaddrs.h
6819 do :
6820 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6822 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6823 cat >>confdefs.h <<_ACEOF
6824 #define HAVE_IFADDRS_H 1
6825 _ACEOF
6829 done
6832 for ac_header in sys/ucontext.h
6833 do :
6834 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6836 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6837 cat >>confdefs.h <<_ACEOF
6838 #define HAVE_SYS_UCONTEXT_H 1
6839 _ACEOF
6843 done
6846 for ac_header in sys/thr.h
6847 do :
6848 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6849 #ifdef HAVE_SYS_UCONTEXT_H
6850 #include <sys/ucontext.h>
6851 #endif
6853 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6854 cat >>confdefs.h <<_ACEOF
6855 #define HAVE_SYS_THR_H 1
6856 _ACEOF
6860 done
6863 for ac_header in pthread_np.h
6864 do :
6865 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6866 #include <pthread.h>
6867 #endif
6869 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6870 cat >>confdefs.h <<_ACEOF
6871 #define HAVE_PTHREAD_NP_H 1
6872 _ACEOF
6876 done
6879 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6880 do :
6881 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6882 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6883 #include <sys/time.h>
6884 #endif
6885 #include <sys/types.h>
6886 #ifdef HAVE_ASM_TYPES_H
6887 #include <asm/types.h>
6888 #endif
6890 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6891 cat >>confdefs.h <<_ACEOF
6892 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6893 _ACEOF
6897 done
6900 for ac_header in libprocstat.h
6901 do :
6902 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6903 #include <sys/param.h>
6904 #endif
6905 #ifdef HAVE_SYS_QUEUE_H
6906 #include <sys/queue.h>
6907 #endif
6908 #ifdef HAVE_SYS_SOCKET_H
6909 #include <sys/socket.h>
6910 #endif
6912 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6913 cat >>confdefs.h <<_ACEOF
6914 #define HAVE_LIBPROCSTAT_H 1
6915 _ACEOF
6919 done
6923 dlldir="\${libdir}/wine"
6925 DLLPREFIX=""
6927 DLLFLAGS="-D_REENTRANT"
6929 LDRPATH_INSTALL=""
6931 LDRPATH_LOCAL=""
6933 LIBEXT="so"
6934 DLLEXT=".so"
6935 IMPLIBEXT="def"
6936 STATIC_IMPLIBEXT="def.a"
6937 # Extract the first word of "ldd", so it can be a program name with args.
6938 set dummy ldd; ac_word=$2
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6940 $as_echo_n "checking for $ac_word... " >&6; }
6941 if ${ac_cv_path_LDD+:} false; then :
6942 $as_echo_n "(cached) " >&6
6943 else
6944 case $LDD in
6945 [\\/]* | ?:[\\/]*)
6946 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6950 as_dummy="/sbin:/usr/sbin:$PATH"
6951 for as_dir in $as_dummy
6953 IFS=$as_save_IFS
6954 test -z "$as_dir" && as_dir=.
6955 for ac_exec_ext in '' $ac_executable_extensions; do
6956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6957 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6959 break 2
6961 done
6962 done
6963 IFS=$as_save_IFS
6965 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6967 esac
6969 LDD=$ac_cv_path_LDD
6970 if test -n "$LDD"; then
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6972 $as_echo "$LDD" >&6; }
6973 else
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6975 $as_echo "no" >&6; }
6979 if test -n "$ac_tool_prefix"; then
6980 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6981 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6983 $as_echo_n "checking for $ac_word... " >&6; }
6984 if ${ac_cv_prog_READELF+:} false; then :
6985 $as_echo_n "(cached) " >&6
6986 else
6987 if test -n "$READELF"; then
6988 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6989 else
6990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6991 for as_dir in $PATH
6993 IFS=$as_save_IFS
6994 test -z "$as_dir" && as_dir=.
6995 for ac_exec_ext in '' $ac_executable_extensions; do
6996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6997 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6999 break 2
7001 done
7002 done
7003 IFS=$as_save_IFS
7007 READELF=$ac_cv_prog_READELF
7008 if test -n "$READELF"; then
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7010 $as_echo "$READELF" >&6; }
7011 else
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7013 $as_echo "no" >&6; }
7018 if test -z "$ac_cv_prog_READELF"; then
7019 ac_ct_READELF=$READELF
7020 # Extract the first word of "readelf", so it can be a program name with args.
7021 set dummy readelf; ac_word=$2
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7023 $as_echo_n "checking for $ac_word... " >&6; }
7024 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7025 $as_echo_n "(cached) " >&6
7026 else
7027 if test -n "$ac_ct_READELF"; then
7028 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7029 else
7030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7031 for as_dir in $PATH
7033 IFS=$as_save_IFS
7034 test -z "$as_dir" && as_dir=.
7035 for ac_exec_ext in '' $ac_executable_extensions; do
7036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7037 ac_cv_prog_ac_ct_READELF="readelf"
7038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7039 break 2
7041 done
7042 done
7043 IFS=$as_save_IFS
7047 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7048 if test -n "$ac_ct_READELF"; then
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7050 $as_echo "$ac_ct_READELF" >&6; }
7051 else
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7053 $as_echo "no" >&6; }
7056 if test "x$ac_ct_READELF" = x; then
7057 READELF="true"
7058 else
7059 case $cross_compiling:$ac_tool_warned in
7060 yes:)
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7063 ac_tool_warned=yes ;;
7064 esac
7065 READELF=$ac_ct_READELF
7067 else
7068 READELF="$ac_cv_prog_READELF"
7071 wine_rules_file=conf$$rules.make
7072 rm -f $wine_rules_file
7073 ALL_POT_FILES=""
7074 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7075 ALL_TEST_RESOURCES=""
7078 wine_fn_append_file ()
7080 as_fn_append $1 " \\$as_nl $2"
7083 wine_fn_ignore_file ()
7085 case "$1" in
7086 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7087 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7088 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7089 esac
7092 wine_fn_append_rule ()
7094 $as_echo "$1" >>$wine_rules_file
7097 wine_fn_has_flag ()
7099 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7102 wine_fn_depend_rules ()
7104 wine_fn_append_rule \
7105 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7106 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7107 depend: $ac_dir/depend
7108 .PHONY: $ac_dir/depend
7109 $ac_dir/depend: \$(MAKEDEP) dummy
7110 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7113 wine_fn_pot_rules ()
7115 test "x$with_gettextpo" = xyes || return
7117 if wine_fn_has_flag mc
7118 then
7119 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7120 wine_fn_append_rule \
7121 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7122 @cd $ac_dir && \$(MAKE) msg.pot
7123 $ac_dir/msg.pot: tools/wmc include"
7125 if wine_fn_has_flag po
7126 then
7127 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7128 wine_fn_append_rule \
7129 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7130 @cd $ac_dir && \$(MAKE) rsrc.pot
7131 $ac_dir/rsrc.pot: tools/wrc include"
7135 wine_fn_all_rules ()
7137 wine_fn_depend_rules
7138 wine_fn_append_rule \
7139 "all: $ac_dir
7140 .PHONY: $ac_dir
7141 $ac_dir: $ac_dir/Makefile dummy
7142 @cd $ac_dir && \$(MAKE)"
7145 wine_fn_install_rules ()
7147 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7149 wine_fn_append_rule \
7150 ".PHONY: $ac_dir/install $ac_dir/uninstall
7151 $ac_dir/install:: $ac_dir
7152 @cd $ac_dir && \$(MAKE) install
7153 $ac_dir/uninstall:: $ac_dir/Makefile
7154 @cd $ac_dir && \$(MAKE) uninstall
7155 install:: $ac_dir/install
7156 __uninstall__: $ac_dir/uninstall"
7158 if wine_fn_has_flag install-lib
7159 then
7160 wine_fn_append_rule \
7161 ".PHONY: $ac_dir/install-lib
7162 $ac_dir/install-lib:: $ac_dir
7163 @cd $ac_dir && \$(MAKE) install-lib
7164 install-lib:: $ac_dir/install-lib"
7167 if wine_fn_has_flag install-dev
7168 then
7169 wine_fn_append_rule \
7170 ".PHONY: $ac_dir/install-dev
7171 $ac_dir/install-dev:: $ac_dir
7172 @cd $ac_dir && \$(MAKE) install-dev
7173 install-dev:: $ac_dir/install-dev"
7177 wine_fn_clean_rules ()
7179 ac_clean=$@
7180 ac_extraclean="$ac_dir/Makefile"
7181 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7182 case $ac_dir in
7183 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7184 esac
7186 if wine_fn_has_flag clean
7187 then
7188 wine_fn_append_rule \
7189 "__clean__: $ac_dir/clean
7190 .PHONY: $ac_dir/clean
7191 $ac_dir/clean: $ac_dir/Makefile
7192 @cd $ac_dir && \$(MAKE) clean
7193 \$(RM) $ac_extraclean"
7194 else
7195 wine_fn_append_rule \
7196 "__clean__: $ac_dir/clean
7197 .PHONY: $ac_dir/clean
7198 $ac_dir/clean: dummy
7199 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7203 wine_fn_disabled_rules ()
7205 ac_clean=$@
7206 ac_extraclean="$ac_dir/Makefile"
7207 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7209 wine_fn_append_rule \
7210 "__clean__: $ac_dir/clean
7211 .PHONY: $ac_dir/clean
7212 $ac_dir/clean: dummy
7213 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7216 wine_fn_config_makefile ()
7218 ac_dir=$1
7219 ac_enable=$2
7220 ac_flags=$3
7222 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7223 wine_fn_disabled_rules; return
7225 wine_fn_all_rules
7226 wine_fn_install_rules
7227 wine_fn_clean_rules
7230 wine_fn_config_lib ()
7232 ac_name=$1
7233 ac_flags=$2
7234 ac_dir=dlls/$ac_name
7235 ac_deps="include"
7237 if test "x$enable_tools" = xno; then :
7239 else
7240 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7242 wine_fn_all_rules
7243 wine_fn_clean_rules
7245 wine_fn_append_rule \
7246 ".PHONY: $ac_dir/install $ac_dir/uninstall
7247 $ac_dir/install:: $ac_dir
7248 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7249 $ac_dir/uninstall::
7250 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7251 install install-dev:: $ac_dir/install
7252 __uninstall__: $ac_dir/uninstall
7253 __builddeps__: $ac_dir
7254 $ac_dir: $ac_deps"
7257 wine_fn_config_dll ()
7259 ac_name=$1
7260 ac_dir=dlls/$ac_name
7261 ac_enable=$2
7262 ac_flags=$3
7263 ac_implib=${4:-$ac_name}
7264 ac_file=$ac_dir/lib$ac_implib
7265 ac_dll=$ac_name
7266 ac_deps="include"
7267 ac_implibflags=""
7269 if test "x$enable_tools" = xno; then :
7271 else
7272 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7274 case $ac_name in
7275 *16) ac_implibflags=" -m16" ;;
7276 *.*) ;;
7277 *) ac_dll=$ac_dll.dll ;;
7278 esac
7280 ac_clean=
7281 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7282 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7283 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7284 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7286 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7287 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7288 then
7289 wine_fn_depend_rules
7290 wine_fn_clean_rules $ac_clean
7291 else
7292 wine_fn_disabled_rules $ac_clean
7293 return
7295 else
7296 wine_fn_all_rules
7297 wine_fn_clean_rules $ac_clean
7298 wine_fn_append_rule \
7299 "$ac_dir: __builddeps__
7300 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7301 @cd $ac_dir && \$(MAKE) \$@
7302 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7303 install install-lib:: $ac_dir/install-lib
7304 __uninstall__: $ac_dir/uninstall"
7305 if test -n "$DLLEXT"
7306 then
7307 wine_fn_append_rule \
7308 "$ac_dir/install-lib:: $ac_dir
7309 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7310 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7311 $ac_dir/uninstall::
7312 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7313 else
7314 wine_fn_append_rule \
7315 "$ac_dir/install-lib:: $ac_dir
7316 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7317 $ac_dir/uninstall::
7318 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7321 wine_fn_pot_rules
7324 if wine_fn_has_flag staticimplib
7325 then
7326 wine_fn_append_rule \
7327 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7328 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7329 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7330 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7331 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7332 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7333 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7334 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7335 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7336 $ac_dir/uninstall::
7337 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7338 install install-dev:: $ac_dir/install-dev
7339 __uninstall__: $ac_dir/uninstall"
7341 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7342 then
7343 wine_fn_append_rule \
7344 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7345 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7346 $ac_dir/uninstall::
7347 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7350 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7351 then
7352 wine_fn_append_rule \
7353 "__builddeps__: $ac_file.cross.a
7354 $ac_file.cross.a: $ac_dir/Makefile dummy
7355 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7358 elif wine_fn_has_flag implib
7359 then
7360 wine_fn_append_rule \
7361 "__builddeps__: $ac_file.$IMPLIBEXT
7362 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7363 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7364 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7365 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7366 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7367 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7368 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7369 $ac_dir/uninstall::
7370 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7371 install install-dev:: $ac_dir/install-dev
7372 __uninstall__: $ac_dir/uninstall"
7373 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7374 then
7375 wine_fn_append_rule \
7376 "__builddeps__: $ac_file.cross.a
7377 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7378 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7381 if test "$ac_name" != "$ac_implib"
7382 then
7383 wine_fn_append_rule \
7384 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7385 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7386 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7387 clean::
7388 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7389 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7390 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7391 then
7392 wine_fn_append_rule \
7393 "__builddeps__: dlls/lib$ac_implib.cross.a
7394 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7395 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7396 clean::
7397 \$(RM) dlls/lib$ac_implib.cross.a"
7398 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7404 wine_fn_config_program ()
7406 ac_name=$1
7407 ac_dir=programs/$ac_name
7408 ac_enable=$2
7409 ac_flags=$3
7410 ac_program=$ac_name
7412 case $ac_name in
7413 *.*) ;;
7414 *) ac_program=$ac_program.exe ;;
7415 esac
7417 ac_clean=
7418 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7419 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7420 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7421 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7423 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7424 wine_fn_disabled_rules $ac_clean; return
7427 wine_fn_all_rules
7428 wine_fn_clean_rules $ac_clean
7429 wine_fn_append_rule "$ac_dir: __builddeps__"
7430 wine_fn_pot_rules
7432 wine_fn_has_flag install || return
7433 wine_fn_append_rule \
7434 ".PHONY: $ac_dir/install $ac_dir/uninstall
7435 install install-lib:: $ac_dir/install
7436 __uninstall__: $ac_dir/uninstall"
7438 if test -n "$DLLEXT"
7439 then
7440 wine_fn_append_rule \
7441 "$ac_dir/install:: $ac_dir
7442 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7443 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7444 $ac_dir/uninstall::
7445 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7447 if test -z "$with_wine64" && wine_fn_has_flag installbin
7448 then
7449 wine_fn_append_rule \
7450 "$ac_dir/install:: __tooldeps__
7451 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7452 $ac_dir/uninstall::
7453 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7455 else
7456 wine_fn_append_rule \
7457 "$ac_dir/install:: $ac_dir
7458 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7459 $ac_dir/uninstall::
7460 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7463 if test -z "$with_wine64" && wine_fn_has_flag manpage
7464 then
7465 wine_fn_append_rule \
7466 "$ac_dir/install:: $ac_dir
7467 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7468 $ac_dir/uninstall::
7469 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7473 wine_fn_config_test ()
7475 ac_dir=$1
7476 ac_name=$2
7477 ac_flags=$3
7479 ac_clean=
7480 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7481 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7483 if test "x$enable_tests" = xno; then :
7484 wine_fn_disabled_rules $ac_clean; return
7487 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7488 wine_fn_all_rules
7489 wine_fn_clean_rules $ac_clean
7491 wine_fn_append_rule \
7492 "$ac_dir: programs/winetest/Makefile __builddeps__
7493 programs/winetest: $ac_dir
7494 check test: $ac_dir/test
7495 .PHONY: $ac_dir/test
7496 $ac_dir/test: dummy
7497 @cd $ac_dir && \$(MAKE) test
7498 testclean::
7499 \$(RM) $ac_dir/*.ok"
7501 if test -n "$CROSSTARGET"
7502 then
7503 wine_fn_append_rule \
7504 "crosstest: $ac_dir/crosstest
7505 .PHONY: $ac_dir/crosstest
7506 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7507 @cd $ac_dir && \$(MAKE) crosstest"
7511 wine_fn_config_tool ()
7513 ac_dir=$1
7514 ac_flags=$2
7515 if test "x$enable_tools" = xno; then :
7516 return
7519 wine_fn_all_rules
7520 wine_fn_install_rules
7521 wine_fn_clean_rules
7523 wine_fn_append_rule "__tooldeps__: $ac_dir"
7524 wine_fn_append_rule "$ac_dir: libs/port"
7525 case $ac_dir in
7526 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7527 esac
7530 wine_fn_config_symlink ()
7532 ac_linkdir=
7533 if test "x$1" = "x-d"
7534 then
7535 ac_linkdir=$2
7536 shift; shift
7538 ac_links=$@
7539 wine_fn_append_rule \
7540 "$ac_links:
7541 @./config.status \$@
7542 distclean::
7543 \$(RM) $ac_links"
7544 for f in $ac_links; do wine_fn_ignore_file $f; done
7545 test -n "$ac_linkdir" || return
7546 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7549 wine_binary="wine"
7550 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7551 loader_programs="$wine_binary wine-installed"
7552 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7554 LOADER_RULES="
7555 all: wine.inf
7557 install install-lib:: wine-installed
7558 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7560 uninstall::
7561 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7565 case $host_os in
7566 cygwin*|mingw32*)
7567 if test -n "$ac_tool_prefix"; then
7568 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7569 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7571 $as_echo_n "checking for $ac_word... " >&6; }
7572 if ${ac_cv_prog_DLLTOOL+:} false; then :
7573 $as_echo_n "(cached) " >&6
7574 else
7575 if test -n "$DLLTOOL"; then
7576 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7577 else
7578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7579 for as_dir in $PATH
7581 IFS=$as_save_IFS
7582 test -z "$as_dir" && as_dir=.
7583 for ac_exec_ext in '' $ac_executable_extensions; do
7584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7585 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7587 break 2
7589 done
7590 done
7591 IFS=$as_save_IFS
7595 DLLTOOL=$ac_cv_prog_DLLTOOL
7596 if test -n "$DLLTOOL"; then
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7598 $as_echo "$DLLTOOL" >&6; }
7599 else
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7601 $as_echo "no" >&6; }
7606 if test -z "$ac_cv_prog_DLLTOOL"; then
7607 ac_ct_DLLTOOL=$DLLTOOL
7608 # Extract the first word of "dlltool", so it can be a program name with args.
7609 set dummy dlltool; ac_word=$2
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7611 $as_echo_n "checking for $ac_word... " >&6; }
7612 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7613 $as_echo_n "(cached) " >&6
7614 else
7615 if test -n "$ac_ct_DLLTOOL"; then
7616 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7617 else
7618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7619 for as_dir in $PATH
7621 IFS=$as_save_IFS
7622 test -z "$as_dir" && as_dir=.
7623 for ac_exec_ext in '' $ac_executable_extensions; do
7624 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7625 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7627 break 2
7629 done
7630 done
7631 IFS=$as_save_IFS
7635 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7636 if test -n "$ac_ct_DLLTOOL"; then
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7638 $as_echo "$ac_ct_DLLTOOL" >&6; }
7639 else
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7641 $as_echo "no" >&6; }
7644 if test "x$ac_ct_DLLTOOL" = x; then
7645 DLLTOOL="false"
7646 else
7647 case $cross_compiling:$ac_tool_warned in
7648 yes:)
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7650 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7651 ac_tool_warned=yes ;;
7652 esac
7653 DLLTOOL=$ac_ct_DLLTOOL
7655 else
7656 DLLTOOL="$ac_cv_prog_DLLTOOL"
7659 LIBEXT="dll"
7660 DLLEXT=""
7661 IMPLIBEXT="a"
7662 STATIC_IMPLIBEXT="a"
7663 enable_iphlpapi=${enable_iphlpapi:-no}
7664 enable_kernel32=${enable_kernel32:-no}
7665 enable_msvcrt=${enable_msvcrt:-no}
7666 enable_ntdll=${enable_ntdll:-no}
7667 enable_ws2_32=${enable_ws2_32:-no}
7668 enable_loader=${enable_loader:-no}
7669 enable_server=${enable_server:-no}
7670 with_x=${with_x:-no}
7671 with_pthread=${with_pthread:-no}
7673 crtlibs=""
7674 case $host_os in
7675 mingw32*)
7676 crtlibs="-lmsvcrt"
7677 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7679 esac
7681 libwine_targets="libwine.dll libwine.a"
7682 LIBWINE_RULES="
7683 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7685 all: libwine.dll libwine.a
7687 libwine.a: \$(srcdir)/wine.def
7688 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7690 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7691 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7693 install install-lib:: libwine.dll
7694 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7696 install install-dev:: libwine.a
7697 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7699 uninstall::
7700 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7705 darwin*|macosx*)
7706 LIBEXT="dylib"
7707 DLLFLAGS="$DLLFLAGS -fPIC"
7708 LIBWINE_LDFLAGS="-multiply_defined suppress"
7709 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7710 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7711 COREFOUNDATION_LIBS="-framework CoreFoundation"
7713 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7715 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7717 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7719 CORESERVICES_LIBS="-framework CoreServices"
7721 APPKIT_LIBS="-framework AppKit"
7723 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7725 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7726 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7727 $as_echo_n "(cached) " >&6
7728 else
7729 ac_wine_try_cflags_saved=$CFLAGS
7730 CFLAGS="$CFLAGS -Wl,-no_pie"
7731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7732 /* end confdefs.h. */
7733 int main(int argc, char **argv) { return 0; }
7734 _ACEOF
7735 if ac_fn_c_try_link "$LINENO"; then :
7736 ac_cv_cflags__Wl__no_pie=yes
7737 else
7738 ac_cv_cflags__Wl__no_pie=no
7740 rm -f core conftest.err conftest.$ac_objext \
7741 conftest$ac_exeext conftest.$ac_ext
7742 CFLAGS=$ac_wine_try_cflags_saved
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7745 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7746 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7747 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7749 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7750 then
7751 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7754 if test "$ac_cv_header_Security_Security_h" = "yes"
7755 then
7756 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7758 ac_save_LIBS="$LIBS"
7759 LIBS="$LIBS $SECURITY_LIBS"
7760 for ac_func in SSLCopyPeerCertificates
7761 do :
7762 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7763 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7764 cat >>confdefs.h <<_ACEOF
7765 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7766 _ACEOF
7769 done
7771 LIBS="$ac_save_LIBS"
7772 with_gnutls=${with_gnutls:-no}
7774 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7775 then
7776 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7777 then
7778 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7780 else
7781 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7784 ac_save_LIBS="$LIBS"
7785 LIBS="$LIBS $COREAUDIO_LIBS"
7786 for ac_func in AUGraphAddNode
7787 do :
7788 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7789 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7790 cat >>confdefs.h <<_ACEOF
7791 #define HAVE_AUGRAPHADDNODE 1
7792 _ACEOF
7795 done
7797 LIBS="$ac_save_LIBS"
7799 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7800 then
7801 OPENAL_LIBS="-framework OpenAL"
7804 cat >>confdefs.h <<_ACEOF
7805 #define HAVE_OPENAL 1
7806 _ACEOF
7808 ac_cv_lib_openal=yes
7810 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7811 then
7812 OPENCL_LIBS="-framework OpenCL"
7814 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7816 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7817 then
7818 ac_save_LIBS="$LIBS"
7819 LIBS="$LIBS $IOKIT_LIBS"
7820 for ac_func in IOHIDManagerCreate
7821 do :
7822 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7823 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7824 cat >>confdefs.h <<_ACEOF
7825 #define HAVE_IOHIDMANAGERCREATE 1
7826 _ACEOF
7829 done
7831 LIBS="$ac_save_LIBS"
7833 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7834 then
7835 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7837 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7838 else
7839 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7841 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7842 then
7843 CARBON_LIBS="-framework Carbon"
7847 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7848 then
7849 ac_save_LIBS="$LIBS"
7850 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7851 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7852 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7853 enable_winemac_drv=${enable_winemac_drv:-yes}
7856 LIBS="$ac_save_LIBS"
7859 if test "x$enable_win16" = "xyes"
7860 then
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7862 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7863 if test "$cross_compiling" = yes; then :
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7865 $as_echo "cross-compiling, assuming yes" >&6; }
7866 else
7867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7868 /* end confdefs.h. */
7869 asm(".text\n"
7870 "bad:\tnop;nop\n"
7871 "good:\tnop;nop\n\t"
7872 ".globl _testfunc\n"
7873 "_testfunc:\tcallw good");
7874 extern void testfunc();
7876 main ()
7878 unsigned short *p = (unsigned short *)testfunc;
7879 return p[0] != 0xe866 || p[1] != 0xfffa
7881 return 0;
7883 _ACEOF
7884 if ac_fn_c_try_run "$LINENO"; then :
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7886 $as_echo "yes" >&6; }
7887 else
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7889 $as_echo "no" >&6; }
7890 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
7892 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7893 conftest.$ac_objext conftest.beam conftest.$ac_ext
7898 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7899 LIBWINE_RULES="
7900 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7902 all: libwine.dylib
7904 libwine.$libwine_version.dylib: \$(OBJS)
7905 \$(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 \$@
7907 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7908 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7910 libwine.dylib: libwine.$libwine_soversion.dylib
7911 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7913 install install-lib:: libwine.$libwine_version.dylib
7914 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7915 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7917 install install-dev::
7918 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7920 uninstall::
7921 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7925 as_fn_append LOADER_RULES "
7926 $wine_binary: main.o wine_info.plist
7927 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7929 wine-installed: main.o wine_info.plist
7930 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7934 linux-android*)
7935 DLLFLAGS="$DLLFLAGS -fPIC"
7936 DLLPREFIX="lib"
7937 LDEXECFLAGS=""
7938 dlldir="\${libdir}"
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7940 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7941 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7942 $as_echo_n "(cached) " >&6
7943 else
7944 ac_wine_try_cflags_saved=$CFLAGS
7945 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7947 /* end confdefs.h. */
7948 int main(int argc, char **argv) { return 0; }
7949 _ACEOF
7950 if ac_fn_c_try_link "$LINENO"; then :
7951 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7952 else
7953 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7955 rm -f core conftest.err conftest.$ac_objext \
7956 conftest$ac_exeext conftest.$ac_ext
7957 CFLAGS=$ac_wine_try_cflags_saved
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7960 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7961 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7962 LDEXECFLAGS="-Wl,--export-dynamic"
7964 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7966 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7967 if eval \${$as_ac_var+:} false; then :
7968 $as_echo_n "(cached) " >&6
7969 else
7970 ac_wine_try_cflags_saved=$CFLAGS
7971 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7973 /* end confdefs.h. */
7974 int main(int argc, char **argv) { return 0; }
7975 _ACEOF
7976 if ac_fn_c_try_link "$LINENO"; then :
7977 eval "$as_ac_var=yes"
7978 else
7979 eval "$as_ac_var=no"
7981 rm -f core conftest.err conftest.$ac_objext \
7982 conftest$ac_exeext conftest.$ac_ext
7983 CFLAGS=$ac_wine_try_cflags_saved
7985 eval ac_res=\$$as_ac_var
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7987 $as_echo "$ac_res" >&6; }
7988 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7989 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7990 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7991 else
7992 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7994 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7995 if eval \${$as_ac_var+:} false; then :
7996 $as_echo_n "(cached) " >&6
7997 else
7998 ac_wine_try_cflags_saved=$CFLAGS
7999 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8001 /* end confdefs.h. */
8002 int main(int argc, char **argv) { return 0; }
8003 _ACEOF
8004 if ac_fn_c_try_link "$LINENO"; then :
8005 eval "$as_ac_var=yes"
8006 else
8007 eval "$as_ac_var=no"
8009 rm -f core conftest.err conftest.$ac_objext \
8010 conftest$ac_exeext conftest.$ac_ext
8011 CFLAGS=$ac_wine_try_cflags_saved
8013 eval ac_res=\$$as_ac_var
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8015 $as_echo "$ac_res" >&6; }
8016 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8017 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8018 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8023 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8024 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8025 $as_echo_n "(cached) " >&6
8026 else
8027 ac_wine_try_cflags_saved=$CFLAGS
8028 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8030 /* end confdefs.h. */
8031 int main(int argc, char **argv) { return 0; }
8032 _ACEOF
8033 if ac_fn_c_try_link "$LINENO"; then :
8034 ac_cv_cflags__Wl___enable_new_dtags=yes
8035 else
8036 ac_cv_cflags__Wl___enable_new_dtags=no
8038 rm -f core conftest.err conftest.$ac_objext \
8039 conftest$ac_exeext conftest.$ac_ext
8040 CFLAGS=$ac_wine_try_cflags_saved
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8043 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8044 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8045 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8048 case $host_cpu in
8049 *i[3456789]86* | x86_64)
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8051 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8052 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8053 $as_echo_n "(cached) " >&6
8054 else
8055 ac_wine_try_cflags_saved=$CFLAGS
8056 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8058 /* end confdefs.h. */
8059 int main(int argc, char **argv) { return 0; }
8060 _ACEOF
8061 if ac_fn_c_try_link "$LINENO"; then :
8062 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8063 else
8064 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8066 rm -f core conftest.err conftest.$ac_objext \
8067 conftest$ac_exeext conftest.$ac_ext
8068 CFLAGS=$ac_wine_try_cflags_saved
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8071 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8072 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8073 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8076 esac
8078 libwine_targets="libwine.so"
8079 LIBWINE_RULES="
8080 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8082 all: libwine.so
8084 libwine.so: \$(OBJS)
8085 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8087 install install-lib:: libwine.so
8088 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8090 uninstall::
8091 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8095 as_fn_append LOADER_RULES "
8096 $wine_binary: main.o
8097 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8099 wine-installed: main.o
8100 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8105 DLLFLAGS="$DLLFLAGS -fPIC"
8106 LDEXECFLAGS=""
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8108 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8109 if ${ac_cv_c_dll_gnuelf+:} false; then :
8110 $as_echo_n "(cached) " >&6
8111 else
8112 ac_wine_try_cflags_saved=$CFLAGS
8113 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8115 /* end confdefs.h. */
8116 void myfunc() {}
8117 _ACEOF
8118 if ac_fn_c_try_link "$LINENO"; then :
8119 ac_cv_c_dll_gnuelf="yes"
8120 else
8121 ac_cv_c_dll_gnuelf="no"
8123 rm -f core conftest.err conftest.$ac_objext \
8124 conftest$ac_exeext conftest.$ac_ext
8125 CFLAGS=$ac_wine_try_cflags_saved
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8128 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8129 if test "$ac_cv_c_dll_gnuelf" = "yes"
8130 then
8131 LDSHARED="\$(CC) -shared"
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8133 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8134 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8135 $as_echo_n "(cached) " >&6
8136 else
8137 ac_wine_try_cflags_saved=$CFLAGS
8138 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8140 /* end confdefs.h. */
8141 int main(int argc, char **argv) { return 0; }
8142 _ACEOF
8143 if ac_fn_c_try_link "$LINENO"; then :
8144 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8145 else
8146 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8148 rm -f core conftest.err conftest.$ac_objext \
8149 conftest$ac_exeext conftest.$ac_ext
8150 CFLAGS=$ac_wine_try_cflags_saved
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8153 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8154 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8155 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8156 else
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8158 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8159 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8160 $as_echo_n "(cached) " >&6
8161 else
8162 ac_wine_try_cflags_saved=$CFLAGS
8163 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8165 /* end confdefs.h. */
8166 int main(int argc, char **argv) { return 0; }
8167 _ACEOF
8168 if ac_fn_c_try_link "$LINENO"; then :
8169 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8170 else
8171 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8173 rm -f core conftest.err conftest.$ac_objext \
8174 conftest$ac_exeext conftest.$ac_ext
8175 CFLAGS=$ac_wine_try_cflags_saved
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8178 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8179 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8180 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8184 echo '{ global: *; };' >conftest.map
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8186 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8187 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8188 $as_echo_n "(cached) " >&6
8189 else
8190 ac_wine_try_cflags_saved=$CFLAGS
8191 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8193 /* end confdefs.h. */
8194 int main(int argc, char **argv) { return 0; }
8195 _ACEOF
8196 if ac_fn_c_try_link "$LINENO"; then :
8197 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8198 else
8199 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8201 rm -f core conftest.err conftest.$ac_objext \
8202 conftest$ac_exeext conftest.$ac_ext
8203 CFLAGS=$ac_wine_try_cflags_saved
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8206 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8207 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8208 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8210 rm -f conftest.map
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8213 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8214 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8215 $as_echo_n "(cached) " >&6
8216 else
8217 ac_wine_try_cflags_saved=$CFLAGS
8218 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8220 /* end confdefs.h. */
8221 int main(int argc, char **argv) { return 0; }
8222 _ACEOF
8223 if ac_fn_c_try_link "$LINENO"; then :
8224 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8225 else
8226 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8228 rm -f core conftest.err conftest.$ac_objext \
8229 conftest$ac_exeext conftest.$ac_ext
8230 CFLAGS=$ac_wine_try_cflags_saved
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8233 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8234 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8235 LDEXECFLAGS="-Wl,--export-dynamic"
8238 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8240 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8241 if eval \${$as_ac_var+:} false; then :
8242 $as_echo_n "(cached) " >&6
8243 else
8244 ac_wine_try_cflags_saved=$CFLAGS
8245 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8247 /* end confdefs.h. */
8248 int main(int argc, char **argv) { return 0; }
8249 _ACEOF
8250 if ac_fn_c_try_link "$LINENO"; then :
8251 eval "$as_ac_var=yes"
8252 else
8253 eval "$as_ac_var=no"
8255 rm -f core conftest.err conftest.$ac_objext \
8256 conftest$ac_exeext conftest.$ac_ext
8257 CFLAGS=$ac_wine_try_cflags_saved
8259 eval ac_res=\$$as_ac_var
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8261 $as_echo "$ac_res" >&6; }
8262 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8263 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8264 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8265 else
8266 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8268 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8269 if eval \${$as_ac_var+:} false; then :
8270 $as_echo_n "(cached) " >&6
8271 else
8272 ac_wine_try_cflags_saved=$CFLAGS
8273 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8275 /* end confdefs.h. */
8276 int main(int argc, char **argv) { return 0; }
8277 _ACEOF
8278 if ac_fn_c_try_link "$LINENO"; then :
8279 eval "$as_ac_var=yes"
8280 else
8281 eval "$as_ac_var=no"
8283 rm -f core conftest.err conftest.$ac_objext \
8284 conftest$ac_exeext conftest.$ac_ext
8285 CFLAGS=$ac_wine_try_cflags_saved
8287 eval ac_res=\$$as_ac_var
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8289 $as_echo "$ac_res" >&6; }
8290 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8291 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8292 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8297 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8298 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8299 $as_echo_n "(cached) " >&6
8300 else
8301 ac_wine_try_cflags_saved=$CFLAGS
8302 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8304 /* end confdefs.h. */
8305 int main(int argc, char **argv) { return 0; }
8306 _ACEOF
8307 if ac_fn_c_try_link "$LINENO"; then :
8308 ac_cv_cflags__Wl___enable_new_dtags=yes
8309 else
8310 ac_cv_cflags__Wl___enable_new_dtags=no
8312 rm -f core conftest.err conftest.$ac_objext \
8313 conftest$ac_exeext conftest.$ac_ext
8314 CFLAGS=$ac_wine_try_cflags_saved
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8317 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8318 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8319 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8322 case $host_cpu in
8323 *i[3456789]86* | x86_64)
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8325 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8326 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8327 $as_echo_n "(cached) " >&6
8328 else
8329 ac_wine_try_cflags_saved=$CFLAGS
8330 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8332 /* end confdefs.h. */
8333 int main(int argc, char **argv) { return 0; }
8334 _ACEOF
8335 if ac_fn_c_try_link "$LINENO"; then :
8336 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8337 else
8338 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8340 rm -f core conftest.err conftest.$ac_objext \
8341 conftest$ac_exeext conftest.$ac_ext
8342 CFLAGS=$ac_wine_try_cflags_saved
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8345 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8346 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8347 case $host_os in
8348 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8349 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8350 esac
8353 # Extract the first word of "prelink", so it can be a program name with args.
8354 set dummy prelink; ac_word=$2
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8356 $as_echo_n "checking for $ac_word... " >&6; }
8357 if ${ac_cv_path_PRELINK+:} false; then :
8358 $as_echo_n "(cached) " >&6
8359 else
8360 case $PRELINK in
8361 [\\/]* | ?:[\\/]*)
8362 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8366 for as_dir in /sbin /usr/sbin $PATH
8368 IFS=$as_save_IFS
8369 test -z "$as_dir" && as_dir=.
8370 for ac_exec_ext in '' $ac_executable_extensions; do
8371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8372 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8374 break 2
8376 done
8377 done
8378 IFS=$as_save_IFS
8380 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8382 esac
8384 PRELINK=$ac_cv_path_PRELINK
8385 if test -n "$PRELINK"; then
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8387 $as_echo "$PRELINK" >&6; }
8388 else
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8390 $as_echo "no" >&6; }
8394 if test "x$PRELINK" = xfalse
8395 then
8396 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8399 esac
8401 else
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8403 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8404 if ${ac_cv_c_dll_unixware+:} false; then :
8405 $as_echo_n "(cached) " >&6
8406 else
8407 ac_wine_try_cflags_saved=$CFLAGS
8408 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8410 /* end confdefs.h. */
8411 void myfunc() {}
8412 _ACEOF
8413 if ac_fn_c_try_link "$LINENO"; then :
8414 ac_cv_c_dll_unixware="yes"
8415 else
8416 ac_cv_c_dll_unixware="no"
8418 rm -f core conftest.err conftest.$ac_objext \
8419 conftest$ac_exeext conftest.$ac_ext
8420 CFLAGS=$ac_wine_try_cflags_saved
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8423 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8424 if test "$ac_cv_c_dll_unixware" = "yes"
8425 then
8426 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8429 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8430 LIBWINE_RULES="
8431 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8433 all: libwine.so
8435 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8436 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8438 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8439 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8441 libwine.so: libwine.so.$libwine_soversion
8442 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8444 install install-lib:: libwine.so.$libwine_version
8445 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8446 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8448 install install-dev::
8449 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8451 uninstall::
8452 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8456 as_fn_append LOADER_RULES "
8457 $wine_binary: main.o
8458 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8460 wine-installed: main.o
8461 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8464 esac
8466 as_fn_append LIBWINE_RULES "
8467 EXTRA_TARGETS = $libwine_targets
8470 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8471 enable_winemac_drv=${enable_winemac_drv:-no}
8473 CROSSTARGET=""
8475 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8476 then
8477 case "$host_cpu" in
8478 i[3456789]86*)
8479 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
8480 mingw32-gcc" ;;
8481 x86_64)
8482 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 " ;;
8484 ac_prefix_list="" ;;
8485 esac
8486 for ac_prog in $ac_prefix_list
8488 # Extract the first word of "$ac_prog", so it can be a program name with args.
8489 set dummy $ac_prog; ac_word=$2
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8491 $as_echo_n "checking for $ac_word... " >&6; }
8492 if ${ac_cv_prog_CROSSCC+:} false; then :
8493 $as_echo_n "(cached) " >&6
8494 else
8495 if test -n "$CROSSCC"; then
8496 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8497 else
8498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8499 for as_dir in $PATH
8501 IFS=$as_save_IFS
8502 test -z "$as_dir" && as_dir=.
8503 for ac_exec_ext in '' $ac_executable_extensions; do
8504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8505 ac_cv_prog_CROSSCC="$ac_prog"
8506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8507 break 2
8509 done
8510 done
8511 IFS=$as_save_IFS
8515 CROSSCC=$ac_cv_prog_CROSSCC
8516 if test -n "$CROSSCC"; then
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8518 $as_echo "$CROSSCC" >&6; }
8519 else
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8521 $as_echo "no" >&6; }
8525 test -n "$CROSSCC" && break
8526 done
8527 test -n "$CROSSCC" || CROSSCC="false"
8529 if test "$CROSSCC" != "false"
8530 then
8531 ac_save_CC="$CC"
8532 CC="$CROSSCC"
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8534 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8536 /* end confdefs.h. */
8539 main ()
8543 return 0;
8545 _ACEOF
8546 if ac_fn_c_try_compile "$LINENO"; then :
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8548 $as_echo "yes" >&6; }
8549 set x $CROSSCC
8550 shift
8551 while test $# -ge 1
8553 case "$1" in
8554 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8555 esac
8556 shift
8557 done
8558 else
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8560 $as_echo "no" >&6; }
8562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8563 CC="$ac_save_CC"
8568 if test "$ac_cv_header_pthread_h" = "yes"
8569 then
8570 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8571 if test "x$ac_cv_func_pthread_create" = xyes; then :
8573 else
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8575 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8576 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8577 $as_echo_n "(cached) " >&6
8578 else
8579 ac_check_lib_save_LIBS=$LIBS
8580 LIBS="-lpthread $LIBS"
8581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8582 /* end confdefs.h. */
8584 /* Override any GCC internal prototype to avoid an error.
8585 Use char because int might match the return type of a GCC
8586 builtin and then its argument prototype would still apply. */
8587 #ifdef __cplusplus
8588 extern "C"
8589 #endif
8590 char pthread_create ();
8592 main ()
8594 return pthread_create ();
8596 return 0;
8598 _ACEOF
8599 if ac_fn_c_try_link "$LINENO"; then :
8600 ac_cv_lib_pthread_pthread_create=yes
8601 else
8602 ac_cv_lib_pthread_pthread_create=no
8604 rm -f core conftest.err conftest.$ac_objext \
8605 conftest$ac_exeext conftest.$ac_ext
8606 LIBS=$ac_check_lib_save_LIBS
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8609 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8610 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8611 PTHREAD_LIBS="-lpthread"
8618 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8619 case "x$with_pthread" in
8620 xno) ;;
8621 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8622 Wine cannot support threads without libpthread.
8623 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8624 esac
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8629 $as_echo_n "checking for X... " >&6; }
8632 # Check whether --with-x was given.
8633 if test "${with_x+set}" = set; then :
8634 withval=$with_x;
8637 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8638 if test "x$with_x" = xno; then
8639 # The user explicitly disabled X.
8640 have_x=disabled
8641 else
8642 case $x_includes,$x_libraries in #(
8643 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8644 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8645 $as_echo_n "(cached) " >&6
8646 else
8647 # One or both of the vars are not set, and there is no cached value.
8648 ac_x_includes=no ac_x_libraries=no
8649 rm -f -r conftest.dir
8650 if mkdir conftest.dir; then
8651 cd conftest.dir
8652 cat >Imakefile <<'_ACEOF'
8653 incroot:
8654 @echo incroot='${INCROOT}'
8655 usrlibdir:
8656 @echo usrlibdir='${USRLIBDIR}'
8657 libdir:
8658 @echo libdir='${LIBDIR}'
8659 _ACEOF
8660 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8661 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8662 for ac_var in incroot usrlibdir libdir; do
8663 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8664 done
8665 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8666 for ac_extension in a so sl dylib la dll; do
8667 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8668 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8669 ac_im_usrlibdir=$ac_im_libdir; break
8671 done
8672 # Screen out bogus values from the imake configuration. They are
8673 # bogus both because they are the default anyway, and because
8674 # using them would break gcc on systems where it needs fixed includes.
8675 case $ac_im_incroot in
8676 /usr/include) ac_x_includes= ;;
8677 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8678 esac
8679 case $ac_im_usrlibdir in
8680 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8681 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8682 esac
8684 cd ..
8685 rm -f -r conftest.dir
8688 # Standard set of common directories for X headers.
8689 # Check X11 before X11Rn because it is often a symlink to the current release.
8690 ac_x_header_dirs='
8691 /usr/X11/include
8692 /usr/X11R7/include
8693 /usr/X11R6/include
8694 /usr/X11R5/include
8695 /usr/X11R4/include
8697 /usr/include/X11
8698 /usr/include/X11R7
8699 /usr/include/X11R6
8700 /usr/include/X11R5
8701 /usr/include/X11R4
8703 /usr/local/X11/include
8704 /usr/local/X11R7/include
8705 /usr/local/X11R6/include
8706 /usr/local/X11R5/include
8707 /usr/local/X11R4/include
8709 /usr/local/include/X11
8710 /usr/local/include/X11R7
8711 /usr/local/include/X11R6
8712 /usr/local/include/X11R5
8713 /usr/local/include/X11R4
8715 /usr/X386/include
8716 /usr/x386/include
8717 /usr/XFree86/include/X11
8719 /usr/include
8720 /usr/local/include
8721 /usr/unsupported/include
8722 /usr/athena/include
8723 /usr/local/x11r5/include
8724 /usr/lpp/Xamples/include
8726 /usr/openwin/include
8727 /usr/openwin/share/include'
8729 if test "$ac_x_includes" = no; then
8730 # Guess where to find include files, by looking for Xlib.h.
8731 # First, try using that file with no special directory specified.
8732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8733 /* end confdefs.h. */
8734 #include <X11/Xlib.h>
8735 _ACEOF
8736 if ac_fn_c_try_cpp "$LINENO"; then :
8737 # We can compile using X headers with no special include directory.
8738 ac_x_includes=
8739 else
8740 for ac_dir in $ac_x_header_dirs; do
8741 if test -r "$ac_dir/X11/Xlib.h"; then
8742 ac_x_includes=$ac_dir
8743 break
8745 done
8747 rm -f conftest.err conftest.i conftest.$ac_ext
8748 fi # $ac_x_includes = no
8750 if test "$ac_x_libraries" = no; then
8751 # Check for the libraries.
8752 # See if we find them without any special options.
8753 # Don't add to $LIBS permanently.
8754 ac_save_LIBS=$LIBS
8755 LIBS="-lX11 $LIBS"
8756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8757 /* end confdefs.h. */
8758 #include <X11/Xlib.h>
8760 main ()
8762 XrmInitialize ()
8764 return 0;
8766 _ACEOF
8767 if ac_fn_c_try_link "$LINENO"; then :
8768 LIBS=$ac_save_LIBS
8769 # We can link X programs with no special library path.
8770 ac_x_libraries=
8771 else
8772 LIBS=$ac_save_LIBS
8773 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8775 # Don't even attempt the hair of trying to link an X program!
8776 for ac_extension in a so sl dylib la dll; do
8777 if test -r "$ac_dir/libX11.$ac_extension"; then
8778 ac_x_libraries=$ac_dir
8779 break 2
8781 done
8782 done
8784 rm -f core conftest.err conftest.$ac_objext \
8785 conftest$ac_exeext conftest.$ac_ext
8786 fi # $ac_x_libraries = no
8788 case $ac_x_includes,$ac_x_libraries in #(
8789 no,* | *,no | *\'*)
8790 # Didn't find X, or a directory has "'" in its name.
8791 ac_cv_have_x="have_x=no";; #(
8793 # Record where we found X for the cache.
8794 ac_cv_have_x="have_x=yes\
8795 ac_x_includes='$ac_x_includes'\
8796 ac_x_libraries='$ac_x_libraries'"
8797 esac
8799 ;; #(
8800 *) have_x=yes;;
8801 esac
8802 eval "$ac_cv_have_x"
8803 fi # $with_x != no
8805 if test "$have_x" != yes; then
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8807 $as_echo "$have_x" >&6; }
8808 no_x=yes
8809 else
8810 # If each of the values was on the command line, it overrides each guess.
8811 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8812 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8813 # Update the cache value to reflect the command line values.
8814 ac_cv_have_x="have_x=yes\
8815 ac_x_includes='$x_includes'\
8816 ac_x_libraries='$x_libraries'"
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8818 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8821 if test "$no_x" = yes; then
8822 # Not all programs may use this symbol, but it does not hurt to define it.
8824 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8826 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8827 else
8828 if test -n "$x_includes"; then
8829 X_CFLAGS="$X_CFLAGS -I$x_includes"
8832 # It would also be nice to do this for all -L options, not just this one.
8833 if test -n "$x_libraries"; then
8834 X_LIBS="$X_LIBS -L$x_libraries"
8835 # For Solaris; some versions of Sun CC require a space after -R and
8836 # others require no space. Words are not sufficient . . . .
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8838 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8839 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8840 ac_xsave_c_werror_flag=$ac_c_werror_flag
8841 ac_c_werror_flag=yes
8842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8843 /* end confdefs.h. */
8846 main ()
8850 return 0;
8852 _ACEOF
8853 if ac_fn_c_try_link "$LINENO"; then :
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8855 $as_echo "no" >&6; }
8856 X_LIBS="$X_LIBS -R$x_libraries"
8857 else
8858 LIBS="$ac_xsave_LIBS -R $x_libraries"
8859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8860 /* end confdefs.h. */
8863 main ()
8867 return 0;
8869 _ACEOF
8870 if ac_fn_c_try_link "$LINENO"; then :
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8872 $as_echo "yes" >&6; }
8873 X_LIBS="$X_LIBS -R $x_libraries"
8874 else
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8876 $as_echo "neither works" >&6; }
8878 rm -f core conftest.err conftest.$ac_objext \
8879 conftest$ac_exeext conftest.$ac_ext
8881 rm -f core conftest.err conftest.$ac_objext \
8882 conftest$ac_exeext conftest.$ac_ext
8883 ac_c_werror_flag=$ac_xsave_c_werror_flag
8884 LIBS=$ac_xsave_LIBS
8887 # Check for system-dependent libraries X programs must link with.
8888 # Do this before checking for the system-independent R6 libraries
8889 # (-lICE), since we may need -lsocket or whatever for X linking.
8891 if test "$ISC" = yes; then
8892 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8893 else
8894 # Martyn Johnson says this is needed for Ultrix, if the X
8895 # libraries were built with DECnet support. And Karl Berry says
8896 # the Alpha needs dnet_stub (dnet does not exist).
8897 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8899 /* end confdefs.h. */
8901 /* Override any GCC internal prototype to avoid an error.
8902 Use char because int might match the return type of a GCC
8903 builtin and then its argument prototype would still apply. */
8904 #ifdef __cplusplus
8905 extern "C"
8906 #endif
8907 char XOpenDisplay ();
8909 main ()
8911 return XOpenDisplay ();
8913 return 0;
8915 _ACEOF
8916 if ac_fn_c_try_link "$LINENO"; then :
8918 else
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8920 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8921 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8922 $as_echo_n "(cached) " >&6
8923 else
8924 ac_check_lib_save_LIBS=$LIBS
8925 LIBS="-ldnet $LIBS"
8926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8927 /* end confdefs.h. */
8929 /* Override any GCC internal prototype to avoid an error.
8930 Use char because int might match the return type of a GCC
8931 builtin and then its argument prototype would still apply. */
8932 #ifdef __cplusplus
8933 extern "C"
8934 #endif
8935 char dnet_ntoa ();
8937 main ()
8939 return dnet_ntoa ();
8941 return 0;
8943 _ACEOF
8944 if ac_fn_c_try_link "$LINENO"; then :
8945 ac_cv_lib_dnet_dnet_ntoa=yes
8946 else
8947 ac_cv_lib_dnet_dnet_ntoa=no
8949 rm -f core conftest.err conftest.$ac_objext \
8950 conftest$ac_exeext conftest.$ac_ext
8951 LIBS=$ac_check_lib_save_LIBS
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8954 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8955 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8956 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8959 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8961 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8962 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8963 $as_echo_n "(cached) " >&6
8964 else
8965 ac_check_lib_save_LIBS=$LIBS
8966 LIBS="-ldnet_stub $LIBS"
8967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8968 /* end confdefs.h. */
8970 /* Override any GCC internal prototype to avoid an error.
8971 Use char because int might match the return type of a GCC
8972 builtin and then its argument prototype would still apply. */
8973 #ifdef __cplusplus
8974 extern "C"
8975 #endif
8976 char dnet_ntoa ();
8978 main ()
8980 return dnet_ntoa ();
8982 return 0;
8984 _ACEOF
8985 if ac_fn_c_try_link "$LINENO"; then :
8986 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8987 else
8988 ac_cv_lib_dnet_stub_dnet_ntoa=no
8990 rm -f core conftest.err conftest.$ac_objext \
8991 conftest$ac_exeext conftest.$ac_ext
8992 LIBS=$ac_check_lib_save_LIBS
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8995 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8996 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8997 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9002 rm -f core conftest.err conftest.$ac_objext \
9003 conftest$ac_exeext conftest.$ac_ext
9004 LIBS="$ac_xsave_LIBS"
9006 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9007 # to get the SysV transport functions.
9008 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9009 # needs -lnsl.
9010 # The nsl library prevents programs from opening the X display
9011 # on Irix 5.2, according to T.E. Dickey.
9012 # The functions gethostbyname, getservbyname, and inet_addr are
9013 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9014 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9015 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9019 if test $ac_cv_func_gethostbyname = no; then
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9021 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9022 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9023 $as_echo_n "(cached) " >&6
9024 else
9025 ac_check_lib_save_LIBS=$LIBS
9026 LIBS="-lnsl $LIBS"
9027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9028 /* end confdefs.h. */
9030 /* Override any GCC internal prototype to avoid an error.
9031 Use char because int might match the return type of a GCC
9032 builtin and then its argument prototype would still apply. */
9033 #ifdef __cplusplus
9034 extern "C"
9035 #endif
9036 char gethostbyname ();
9038 main ()
9040 return gethostbyname ();
9042 return 0;
9044 _ACEOF
9045 if ac_fn_c_try_link "$LINENO"; then :
9046 ac_cv_lib_nsl_gethostbyname=yes
9047 else
9048 ac_cv_lib_nsl_gethostbyname=no
9050 rm -f core conftest.err conftest.$ac_objext \
9051 conftest$ac_exeext conftest.$ac_ext
9052 LIBS=$ac_check_lib_save_LIBS
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9055 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9056 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9057 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9060 if test $ac_cv_lib_nsl_gethostbyname = no; then
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9062 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9063 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9064 $as_echo_n "(cached) " >&6
9065 else
9066 ac_check_lib_save_LIBS=$LIBS
9067 LIBS="-lbsd $LIBS"
9068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9069 /* end confdefs.h. */
9071 /* Override any GCC internal prototype to avoid an error.
9072 Use char because int might match the return type of a GCC
9073 builtin and then its argument prototype would still apply. */
9074 #ifdef __cplusplus
9075 extern "C"
9076 #endif
9077 char gethostbyname ();
9079 main ()
9081 return gethostbyname ();
9083 return 0;
9085 _ACEOF
9086 if ac_fn_c_try_link "$LINENO"; then :
9087 ac_cv_lib_bsd_gethostbyname=yes
9088 else
9089 ac_cv_lib_bsd_gethostbyname=no
9091 rm -f core conftest.err conftest.$ac_objext \
9092 conftest$ac_exeext conftest.$ac_ext
9093 LIBS=$ac_check_lib_save_LIBS
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9096 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9097 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9098 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9104 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9105 # socket/setsockopt and other routines are undefined under SCO ODT
9106 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9107 # on later versions), says Simon Leinen: it contains gethostby*
9108 # variants that don't use the name server (or something). -lsocket
9109 # must be given before -lnsl if both are needed. We assume that
9110 # if connect needs -lnsl, so does gethostbyname.
9111 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9112 if test "x$ac_cv_func_connect" = xyes; then :
9116 if test $ac_cv_func_connect = no; then
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9118 $as_echo_n "checking for connect in -lsocket... " >&6; }
9119 if ${ac_cv_lib_socket_connect+:} false; then :
9120 $as_echo_n "(cached) " >&6
9121 else
9122 ac_check_lib_save_LIBS=$LIBS
9123 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9125 /* end confdefs.h. */
9127 /* Override any GCC internal prototype to avoid an error.
9128 Use char because int might match the return type of a GCC
9129 builtin and then its argument prototype would still apply. */
9130 #ifdef __cplusplus
9131 extern "C"
9132 #endif
9133 char connect ();
9135 main ()
9137 return connect ();
9139 return 0;
9141 _ACEOF
9142 if ac_fn_c_try_link "$LINENO"; then :
9143 ac_cv_lib_socket_connect=yes
9144 else
9145 ac_cv_lib_socket_connect=no
9147 rm -f core conftest.err conftest.$ac_objext \
9148 conftest$ac_exeext conftest.$ac_ext
9149 LIBS=$ac_check_lib_save_LIBS
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9152 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9153 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9154 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9159 # Guillermo Gomez says -lposix is necessary on A/UX.
9160 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9161 if test "x$ac_cv_func_remove" = xyes; then :
9165 if test $ac_cv_func_remove = no; then
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9167 $as_echo_n "checking for remove in -lposix... " >&6; }
9168 if ${ac_cv_lib_posix_remove+:} false; then :
9169 $as_echo_n "(cached) " >&6
9170 else
9171 ac_check_lib_save_LIBS=$LIBS
9172 LIBS="-lposix $LIBS"
9173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9174 /* end confdefs.h. */
9176 /* Override any GCC internal prototype to avoid an error.
9177 Use char because int might match the return type of a GCC
9178 builtin and then its argument prototype would still apply. */
9179 #ifdef __cplusplus
9180 extern "C"
9181 #endif
9182 char remove ();
9184 main ()
9186 return remove ();
9188 return 0;
9190 _ACEOF
9191 if ac_fn_c_try_link "$LINENO"; then :
9192 ac_cv_lib_posix_remove=yes
9193 else
9194 ac_cv_lib_posix_remove=no
9196 rm -f core conftest.err conftest.$ac_objext \
9197 conftest$ac_exeext conftest.$ac_ext
9198 LIBS=$ac_check_lib_save_LIBS
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9201 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9202 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9203 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9208 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9209 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9210 if test "x$ac_cv_func_shmat" = xyes; then :
9214 if test $ac_cv_func_shmat = no; then
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9216 $as_echo_n "checking for shmat in -lipc... " >&6; }
9217 if ${ac_cv_lib_ipc_shmat+:} false; then :
9218 $as_echo_n "(cached) " >&6
9219 else
9220 ac_check_lib_save_LIBS=$LIBS
9221 LIBS="-lipc $LIBS"
9222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9223 /* end confdefs.h. */
9225 /* Override any GCC internal prototype to avoid an error.
9226 Use char because int might match the return type of a GCC
9227 builtin and then its argument prototype would still apply. */
9228 #ifdef __cplusplus
9229 extern "C"
9230 #endif
9231 char shmat ();
9233 main ()
9235 return shmat ();
9237 return 0;
9239 _ACEOF
9240 if ac_fn_c_try_link "$LINENO"; then :
9241 ac_cv_lib_ipc_shmat=yes
9242 else
9243 ac_cv_lib_ipc_shmat=no
9245 rm -f core conftest.err conftest.$ac_objext \
9246 conftest$ac_exeext conftest.$ac_ext
9247 LIBS=$ac_check_lib_save_LIBS
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9250 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9251 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9252 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9258 # Check for libraries that X11R6 Xt/Xaw programs need.
9259 ac_save_LDFLAGS=$LDFLAGS
9260 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9261 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9262 # check for ICE first), but we must link in the order -lSM -lICE or
9263 # we get undefined symbols. So assume we have SM if we have ICE.
9264 # These have to be linked with before -lX11, unlike the other
9265 # libraries we check for below, so use a different variable.
9266 # John Interrante, Karl Berry
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9268 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9269 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9270 $as_echo_n "(cached) " >&6
9271 else
9272 ac_check_lib_save_LIBS=$LIBS
9273 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9275 /* end confdefs.h. */
9277 /* Override any GCC internal prototype to avoid an error.
9278 Use char because int might match the return type of a GCC
9279 builtin and then its argument prototype would still apply. */
9280 #ifdef __cplusplus
9281 extern "C"
9282 #endif
9283 char IceConnectionNumber ();
9285 main ()
9287 return IceConnectionNumber ();
9289 return 0;
9291 _ACEOF
9292 if ac_fn_c_try_link "$LINENO"; then :
9293 ac_cv_lib_ICE_IceConnectionNumber=yes
9294 else
9295 ac_cv_lib_ICE_IceConnectionNumber=no
9297 rm -f core conftest.err conftest.$ac_objext \
9298 conftest$ac_exeext conftest.$ac_ext
9299 LIBS=$ac_check_lib_save_LIBS
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9302 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9303 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9304 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9307 LDFLAGS=$ac_save_LDFLAGS
9312 if test "$have_x" = "yes"
9313 then
9314 ac_save_CPPFLAGS="$CPPFLAGS"
9315 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9318 $as_echo_n "checking for -lX11... " >&6; }
9319 if ${ac_cv_lib_soname_X11+:} false; then :
9320 $as_echo_n "(cached) " >&6
9321 else
9322 ac_check_soname_save_LIBS=$LIBS
9323 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9325 /* end confdefs.h. */
9327 /* Override any GCC internal prototype to avoid an error.
9328 Use char because int might match the return type of a GCC
9329 builtin and then its argument prototype would still apply. */
9330 #ifdef __cplusplus
9331 extern "C"
9332 #endif
9333 char XCreateWindow ();
9335 main ()
9337 return XCreateWindow ();
9339 return 0;
9341 _ACEOF
9342 if ac_fn_c_try_link "$LINENO"; then :
9343 case "$LIBEXT" in
9344 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9345 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'` ;;
9346 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9347 if ${ac_cv_lib_soname_X11:+false} :; then :
9348 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9349 fi ;;
9350 esac
9352 rm -f core conftest.err conftest.$ac_objext \
9353 conftest$ac_exeext conftest.$ac_ext
9354 LIBS=$ac_check_soname_save_LIBS
9356 if ${ac_cv_lib_soname_X11:+false} :; then :
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9358 $as_echo "not found" >&6; }
9360 else
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9362 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9364 cat >>confdefs.h <<_ACEOF
9365 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9366 _ACEOF
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9371 $as_echo_n "checking for -lXext... " >&6; }
9372 if ${ac_cv_lib_soname_Xext+:} false; then :
9373 $as_echo_n "(cached) " >&6
9374 else
9375 ac_check_soname_save_LIBS=$LIBS
9376 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9378 /* end confdefs.h. */
9380 /* Override any GCC internal prototype to avoid an error.
9381 Use char because int might match the return type of a GCC
9382 builtin and then its argument prototype would still apply. */
9383 #ifdef __cplusplus
9384 extern "C"
9385 #endif
9386 char XextCreateExtension ();
9388 main ()
9390 return XextCreateExtension ();
9392 return 0;
9394 _ACEOF
9395 if ac_fn_c_try_link "$LINENO"; then :
9396 case "$LIBEXT" in
9397 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9398 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'` ;;
9399 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9400 if ${ac_cv_lib_soname_Xext:+false} :; then :
9401 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9402 fi ;;
9403 esac
9405 rm -f core conftest.err conftest.$ac_objext \
9406 conftest$ac_exeext conftest.$ac_ext
9407 LIBS=$ac_check_soname_save_LIBS
9409 if ${ac_cv_lib_soname_Xext:+false} :; then :
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9411 $as_echo "not found" >&6; }
9413 else
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9415 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9417 cat >>confdefs.h <<_ACEOF
9418 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9419 _ACEOF
9421 X_LIBS="$X_LIBS -lXext"
9423 X_LIBS="$X_LIBS -lX11"
9425 for ac_header in X11/Xlib.h \
9426 X11/XKBlib.h \
9427 X11/Xutil.h \
9428 X11/Xcursor/Xcursor.h \
9429 X11/extensions/shape.h \
9430 X11/extensions/XInput.h \
9431 X11/extensions/XInput2.h \
9432 X11/extensions/XShm.h \
9433 X11/extensions/Xcomposite.h \
9434 X11/extensions/Xinerama.h \
9435 X11/extensions/Xrandr.h \
9436 X11/extensions/Xrender.h \
9437 X11/extensions/xf86vmode.h \
9438 X11/extensions/xf86vmproto.h
9439 do :
9440 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9441 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9442 # include <X11/Xlib.h>
9443 #endif
9444 #ifdef HAVE_X11_XUTIL_H
9445 # include <X11/Xutil.h>
9446 #endif
9448 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9449 cat >>confdefs.h <<_ACEOF
9450 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9451 _ACEOF
9455 done
9458 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9459 then
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9461 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9462 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9463 $as_echo_n "(cached) " >&6
9464 else
9465 ac_check_lib_save_LIBS=$LIBS
9466 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9468 /* end confdefs.h. */
9470 /* Override any GCC internal prototype to avoid an error.
9471 Use char because int might match the return type of a GCC
9472 builtin and then its argument prototype would still apply. */
9473 #ifdef __cplusplus
9474 extern "C"
9475 #endif
9476 char XkbQueryExtension ();
9478 main ()
9480 return XkbQueryExtension ();
9482 return 0;
9484 _ACEOF
9485 if ac_fn_c_try_link "$LINENO"; then :
9486 ac_cv_lib_X11_XkbQueryExtension=yes
9487 else
9488 ac_cv_lib_X11_XkbQueryExtension=no
9490 rm -f core conftest.err conftest.$ac_objext \
9491 conftest$ac_exeext conftest.$ac_ext
9492 LIBS=$ac_check_lib_save_LIBS
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9495 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9496 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9498 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9504 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9505 then
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9507 $as_echo_n "checking for -lXcursor... " >&6; }
9508 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9509 $as_echo_n "(cached) " >&6
9510 else
9511 ac_check_soname_save_LIBS=$LIBS
9512 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9514 /* end confdefs.h. */
9516 /* Override any GCC internal prototype to avoid an error.
9517 Use char because int might match the return type of a GCC
9518 builtin and then its argument prototype would still apply. */
9519 #ifdef __cplusplus
9520 extern "C"
9521 #endif
9522 char XcursorImageLoadCursor ();
9524 main ()
9526 return XcursorImageLoadCursor ();
9528 return 0;
9530 _ACEOF
9531 if ac_fn_c_try_link "$LINENO"; then :
9532 case "$LIBEXT" in
9533 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9534 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'` ;;
9535 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9536 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9537 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9538 fi ;;
9539 esac
9541 rm -f core conftest.err conftest.$ac_objext \
9542 conftest$ac_exeext conftest.$ac_ext
9543 LIBS=$ac_check_soname_save_LIBS
9545 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9547 $as_echo "not found" >&6; }
9549 else
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9551 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9553 cat >>confdefs.h <<_ACEOF
9554 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9555 _ACEOF
9560 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9561 case "x$with_xcursor" in
9562 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9563 xno) ;;
9564 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9565 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9566 esac
9569 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9570 then
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9572 $as_echo_n "checking for -lXi... " >&6; }
9573 if ${ac_cv_lib_soname_Xi+:} false; then :
9574 $as_echo_n "(cached) " >&6
9575 else
9576 ac_check_soname_save_LIBS=$LIBS
9577 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9579 /* end confdefs.h. */
9581 /* Override any GCC internal prototype to avoid an error.
9582 Use char because int might match the return type of a GCC
9583 builtin and then its argument prototype would still apply. */
9584 #ifdef __cplusplus
9585 extern "C"
9586 #endif
9587 char XOpenDevice ();
9589 main ()
9591 return XOpenDevice ();
9593 return 0;
9595 _ACEOF
9596 if ac_fn_c_try_link "$LINENO"; then :
9597 case "$LIBEXT" in
9598 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9599 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'` ;;
9600 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9601 if ${ac_cv_lib_soname_Xi:+false} :; then :
9602 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9603 fi ;;
9604 esac
9606 rm -f core conftest.err conftest.$ac_objext \
9607 conftest$ac_exeext conftest.$ac_ext
9608 LIBS=$ac_check_soname_save_LIBS
9610 if ${ac_cv_lib_soname_Xi:+false} :; then :
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9612 $as_echo "not found" >&6; }
9614 else
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9616 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9618 cat >>confdefs.h <<_ACEOF
9619 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9620 _ACEOF
9625 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9626 case "x$with_xinput" in
9627 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9628 xno) ;;
9629 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9630 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9631 esac
9634 if test "x$ac_cv_lib_soname_Xi" != x
9635 then
9636 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9637 case "x$with_xinput2" in
9638 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9639 xno) ;;
9640 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9641 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9642 esac
9646 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9647 then
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9649 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9650 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9651 $as_echo_n "(cached) " >&6
9652 else
9653 ac_check_lib_save_LIBS=$LIBS
9654 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9656 /* end confdefs.h. */
9658 /* Override any GCC internal prototype to avoid an error.
9659 Use char because int might match the return type of a GCC
9660 builtin and then its argument prototype would still apply. */
9661 #ifdef __cplusplus
9662 extern "C"
9663 #endif
9664 char XShmQueryExtension ();
9666 main ()
9668 return XShmQueryExtension ();
9670 return 0;
9672 _ACEOF
9673 if ac_fn_c_try_link "$LINENO"; then :
9674 ac_cv_lib_Xext_XShmQueryExtension=yes
9675 else
9676 ac_cv_lib_Xext_XShmQueryExtension=no
9678 rm -f core conftest.err conftest.$ac_objext \
9679 conftest$ac_exeext conftest.$ac_ext
9680 LIBS=$ac_check_lib_save_LIBS
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9683 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9684 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9686 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9691 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9692 case "x$with_xshm" in
9693 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9694 xno) ;;
9695 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9696 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9697 esac
9700 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9701 then
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9703 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9704 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9705 $as_echo_n "(cached) " >&6
9706 else
9707 ac_check_lib_save_LIBS=$LIBS
9708 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9710 /* end confdefs.h. */
9712 /* Override any GCC internal prototype to avoid an error.
9713 Use char because int might match the return type of a GCC
9714 builtin and then its argument prototype would still apply. */
9715 #ifdef __cplusplus
9716 extern "C"
9717 #endif
9718 char XShapeQueryExtension ();
9720 main ()
9722 return XShapeQueryExtension ();
9724 return 0;
9726 _ACEOF
9727 if ac_fn_c_try_link "$LINENO"; then :
9728 ac_cv_lib_Xext_XShapeQueryExtension=yes
9729 else
9730 ac_cv_lib_Xext_XShapeQueryExtension=no
9732 rm -f core conftest.err conftest.$ac_objext \
9733 conftest$ac_exeext conftest.$ac_ext
9734 LIBS=$ac_check_lib_save_LIBS
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9737 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9738 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9740 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9745 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9746 case "x$with_xshape" in
9747 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9748 xno) ;;
9749 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9750 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9751 esac
9754 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9755 then
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9757 $as_echo_n "checking for -lXxf86vm... " >&6; }
9758 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9759 $as_echo_n "(cached) " >&6
9760 else
9761 ac_check_soname_save_LIBS=$LIBS
9762 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9764 /* end confdefs.h. */
9766 /* Override any GCC internal prototype to avoid an error.
9767 Use char because int might match the return type of a GCC
9768 builtin and then its argument prototype would still apply. */
9769 #ifdef __cplusplus
9770 extern "C"
9771 #endif
9772 char XF86VidModeQueryExtension ();
9774 main ()
9776 return XF86VidModeQueryExtension ();
9778 return 0;
9780 _ACEOF
9781 if ac_fn_c_try_link "$LINENO"; then :
9782 case "$LIBEXT" in
9783 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9784 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'` ;;
9785 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9786 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9787 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9788 fi ;;
9789 esac
9791 rm -f core conftest.err conftest.$ac_objext \
9792 conftest$ac_exeext conftest.$ac_ext
9793 LIBS=$ac_check_soname_save_LIBS
9795 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9797 $as_echo "not found" >&6; }
9799 else
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9801 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9803 cat >>confdefs.h <<_ACEOF
9804 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9805 _ACEOF
9810 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9811 case "x$with_xxf86vm" in
9812 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9813 xno) ;;
9814 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9815 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9816 esac
9819 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
9820 then
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9822 $as_echo_n "checking for -lXrender... " >&6; }
9823 if ${ac_cv_lib_soname_Xrender+:} false; then :
9824 $as_echo_n "(cached) " >&6
9825 else
9826 ac_check_soname_save_LIBS=$LIBS
9827 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9829 /* end confdefs.h. */
9831 /* Override any GCC internal prototype to avoid an error.
9832 Use char because int might match the return type of a GCC
9833 builtin and then its argument prototype would still apply. */
9834 #ifdef __cplusplus
9835 extern "C"
9836 #endif
9837 char XRenderQueryExtension ();
9839 main ()
9841 return XRenderQueryExtension ();
9843 return 0;
9845 _ACEOF
9846 if ac_fn_c_try_link "$LINENO"; then :
9847 case "$LIBEXT" in
9848 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9849 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'` ;;
9850 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9851 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9852 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9853 fi ;;
9854 esac
9856 rm -f core conftest.err conftest.$ac_objext \
9857 conftest$ac_exeext conftest.$ac_ext
9858 LIBS=$ac_check_soname_save_LIBS
9860 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9862 $as_echo "not found" >&6; }
9864 else
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9866 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9868 cat >>confdefs.h <<_ACEOF
9869 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9870 _ACEOF
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9873 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9874 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9875 $as_echo_n "(cached) " >&6
9876 else
9877 ac_check_lib_save_LIBS=$LIBS
9878 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9880 /* end confdefs.h. */
9882 /* Override any GCC internal prototype to avoid an error.
9883 Use char because int might match the return type of a GCC
9884 builtin and then its argument prototype would still apply. */
9885 #ifdef __cplusplus
9886 extern "C"
9887 #endif
9888 char XRenderSetPictureTransform ();
9890 main ()
9892 return XRenderSetPictureTransform ();
9894 return 0;
9896 _ACEOF
9897 if ac_fn_c_try_link "$LINENO"; then :
9898 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9899 else
9900 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9902 rm -f core conftest.err conftest.$ac_objext \
9903 conftest$ac_exeext conftest.$ac_ext
9904 LIBS=$ac_check_lib_save_LIBS
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9907 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9908 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9910 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9915 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9916 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9917 $as_echo_n "(cached) " >&6
9918 else
9919 ac_check_lib_save_LIBS=$LIBS
9920 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9922 /* end confdefs.h. */
9924 /* Override any GCC internal prototype to avoid an error.
9925 Use char because int might match the return type of a GCC
9926 builtin and then its argument prototype would still apply. */
9927 #ifdef __cplusplus
9928 extern "C"
9929 #endif
9930 char XRenderCreateLinearGradient ();
9932 main ()
9934 return XRenderCreateLinearGradient ();
9936 return 0;
9938 _ACEOF
9939 if ac_fn_c_try_link "$LINENO"; then :
9940 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9941 else
9942 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9944 rm -f core conftest.err conftest.$ac_objext \
9945 conftest$ac_exeext conftest.$ac_ext
9946 LIBS=$ac_check_lib_save_LIBS
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9949 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9950 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9952 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9959 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9960 case "x$with_xrender" in
9961 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9962 xno) ;;
9963 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9964 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9965 esac
9968 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9969 then
9970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9971 /* end confdefs.h. */
9972 #include <X11/Xlib.h>
9973 #include <X11/extensions/Xrandr.h>
9975 main ()
9977 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9979 return 0;
9981 _ACEOF
9982 if ac_fn_c_try_compile "$LINENO"; then :
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9984 $as_echo_n "checking for -lXrandr... " >&6; }
9985 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9986 $as_echo_n "(cached) " >&6
9987 else
9988 ac_check_soname_save_LIBS=$LIBS
9989 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9991 /* end confdefs.h. */
9993 /* Override any GCC internal prototype to avoid an error.
9994 Use char because int might match the return type of a GCC
9995 builtin and then its argument prototype would still apply. */
9996 #ifdef __cplusplus
9997 extern "C"
9998 #endif
9999 char XRRQueryExtension ();
10001 main ()
10003 return XRRQueryExtension ();
10005 return 0;
10007 _ACEOF
10008 if ac_fn_c_try_link "$LINENO"; then :
10009 case "$LIBEXT" in
10010 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10011 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'` ;;
10012 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10013 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10014 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10015 fi ;;
10016 esac
10018 rm -f core conftest.err conftest.$ac_objext \
10019 conftest$ac_exeext conftest.$ac_ext
10020 LIBS=$ac_check_soname_save_LIBS
10022 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10024 $as_echo "not found" >&6; }
10026 else
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10028 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10030 cat >>confdefs.h <<_ACEOF
10031 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10032 _ACEOF
10034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10035 /* end confdefs.h. */
10036 #include <X11/Xlib.h>
10037 #include <X11/extensions/Xrandr.h>
10039 main ()
10041 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10043 return 0;
10045 _ACEOF
10046 if ac_fn_c_try_compile "$LINENO"; then :
10048 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10056 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10057 case "x$with_xrandr" in
10058 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10059 xno) ;;
10060 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10061 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10062 esac
10065 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10066 then
10067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10068 /* end confdefs.h. */
10069 #include <X11/Xlib.h>
10070 #include <X11/extensions/Xinerama.h>
10072 main ()
10074 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10076 return 0;
10078 _ACEOF
10079 if ac_fn_c_try_compile "$LINENO"; then :
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10081 $as_echo_n "checking for -lXinerama... " >&6; }
10082 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10083 $as_echo_n "(cached) " >&6
10084 else
10085 ac_check_soname_save_LIBS=$LIBS
10086 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10088 /* end confdefs.h. */
10090 /* Override any GCC internal prototype to avoid an error.
10091 Use char because int might match the return type of a GCC
10092 builtin and then its argument prototype would still apply. */
10093 #ifdef __cplusplus
10094 extern "C"
10095 #endif
10096 char XineramaQueryScreens ();
10098 main ()
10100 return XineramaQueryScreens ();
10102 return 0;
10104 _ACEOF
10105 if ac_fn_c_try_link "$LINENO"; then :
10106 case "$LIBEXT" in
10107 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10108 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'` ;;
10109 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10110 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10111 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10112 fi ;;
10113 esac
10115 rm -f core conftest.err conftest.$ac_objext \
10116 conftest$ac_exeext conftest.$ac_ext
10117 LIBS=$ac_check_soname_save_LIBS
10119 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10121 $as_echo "not found" >&6; }
10123 else
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10125 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10127 cat >>confdefs.h <<_ACEOF
10128 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10129 _ACEOF
10134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10136 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10137 case "x$with_xinerama" in
10138 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10139 xno) ;;
10140 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10141 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10142 esac
10145 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10146 then
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10148 $as_echo_n "checking for -lXcomposite... " >&6; }
10149 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10150 $as_echo_n "(cached) " >&6
10151 else
10152 ac_check_soname_save_LIBS=$LIBS
10153 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10155 /* end confdefs.h. */
10157 /* Override any GCC internal prototype to avoid an error.
10158 Use char because int might match the return type of a GCC
10159 builtin and then its argument prototype would still apply. */
10160 #ifdef __cplusplus
10161 extern "C"
10162 #endif
10163 char XCompositeRedirectWindow ();
10165 main ()
10167 return XCompositeRedirectWindow ();
10169 return 0;
10171 _ACEOF
10172 if ac_fn_c_try_link "$LINENO"; then :
10173 case "$LIBEXT" in
10174 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10175 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'` ;;
10176 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10177 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10178 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10179 fi ;;
10180 esac
10182 rm -f core conftest.err conftest.$ac_objext \
10183 conftest$ac_exeext conftest.$ac_ext
10184 LIBS=$ac_check_soname_save_LIBS
10186 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10188 $as_echo "not found" >&6; }
10190 else
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10192 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10194 cat >>confdefs.h <<_ACEOF
10195 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10196 _ACEOF
10201 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10202 case "x$with_xcomposite" in
10203 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10204 xno) ;;
10205 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10206 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10207 esac
10210 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10211 #include <X11/Xlib.h>
10212 #endif
10214 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10216 cat >>confdefs.h <<_ACEOF
10217 #define HAVE_XICCALLBACK_CALLBACK 1
10218 _ACEOF
10222 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10223 #include <X11/Xlib.h>
10224 #endif
10226 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10228 cat >>confdefs.h <<_ACEOF
10229 #define HAVE_XEVENT_XCOOKIE 1
10230 _ACEOF
10237 opengl_msg=""
10238 if test "x$with_opengl" != "xno"
10239 then
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10241 $as_echo_n "checking for -lGL... " >&6; }
10242 if ${ac_cv_lib_soname_GL+:} false; then :
10243 $as_echo_n "(cached) " >&6
10244 else
10245 ac_check_soname_save_LIBS=$LIBS
10246 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10248 /* end confdefs.h. */
10250 /* Override any GCC internal prototype to avoid an error.
10251 Use char because int might match the return type of a GCC
10252 builtin and then its argument prototype would still apply. */
10253 #ifdef __cplusplus
10254 extern "C"
10255 #endif
10256 char glXCreateContext ();
10258 main ()
10260 return glXCreateContext ();
10262 return 0;
10264 _ACEOF
10265 if ac_fn_c_try_link "$LINENO"; then :
10266 case "$LIBEXT" in
10267 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10268 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'` ;;
10269 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10270 if ${ac_cv_lib_soname_GL:+false} :; then :
10271 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10272 fi ;;
10273 esac
10275 rm -f core conftest.err conftest.$ac_objext \
10276 conftest$ac_exeext conftest.$ac_ext
10277 LIBS=$ac_check_soname_save_LIBS
10279 if ${ac_cv_lib_soname_GL:+false} :; then :
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10281 $as_echo "not found" >&6; }
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10283 $as_echo_n "checking for -lGL... " >&6; }
10284 if ${ac_cv_lib_soname_GL+:} false; then :
10285 $as_echo_n "(cached) " >&6
10286 else
10287 ac_check_soname_save_LIBS=$LIBS
10288 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"
10289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10290 /* end confdefs.h. */
10292 /* Override any GCC internal prototype to avoid an error.
10293 Use char because int might match the return type of a GCC
10294 builtin and then its argument prototype would still apply. */
10295 #ifdef __cplusplus
10296 extern "C"
10297 #endif
10298 char glXCreateContext ();
10300 main ()
10302 return glXCreateContext ();
10304 return 0;
10306 _ACEOF
10307 if ac_fn_c_try_link "$LINENO"; then :
10308 case "$LIBEXT" in
10309 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10310 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'` ;;
10311 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10312 if ${ac_cv_lib_soname_GL:+false} :; then :
10313 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10314 fi ;;
10315 esac
10317 rm -f core conftest.err conftest.$ac_objext \
10318 conftest$ac_exeext conftest.$ac_ext
10319 LIBS=$ac_check_soname_save_LIBS
10321 if ${ac_cv_lib_soname_GL:+false} :; then :
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10323 $as_echo "not found" >&6; }
10324 if test -f /usr/X11R6/lib/libGL.a
10325 then
10326 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10327 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10328 else
10329 opengl_msg="No OpenGL library found on this system."
10331 else
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10333 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10335 cat >>confdefs.h <<_ACEOF
10336 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10337 _ACEOF
10339 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"
10341 else
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10343 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10345 cat >>confdefs.h <<_ACEOF
10346 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10347 _ACEOF
10349 OPENGL_LIBS="-lGL"
10351 if test "x$with_glu" != "xno"
10352 then
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10354 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10355 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10356 $as_echo_n "(cached) " >&6
10357 else
10358 ac_check_lib_save_LIBS=$LIBS
10359 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10361 /* end confdefs.h. */
10363 /* Override any GCC internal prototype to avoid an error.
10364 Use char because int might match the return type of a GCC
10365 builtin and then its argument prototype would still apply. */
10366 #ifdef __cplusplus
10367 extern "C"
10368 #endif
10369 char gluLookAt ();
10371 main ()
10373 return gluLookAt ();
10375 return 0;
10377 _ACEOF
10378 if ac_fn_c_try_link "$LINENO"; then :
10379 ac_cv_lib_GLU_gluLookAt=yes
10380 else
10381 ac_cv_lib_GLU_gluLookAt=no
10383 rm -f core conftest.err conftest.$ac_objext \
10384 conftest$ac_exeext conftest.$ac_ext
10385 LIBS=$ac_check_lib_save_LIBS
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10388 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10389 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10393 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10394 case "x$with_glu" in
10395 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10396 xno) ;;
10397 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10398 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10399 esac
10403 if test "x$with_osmesa" != "xno"
10404 then
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10406 $as_echo_n "checking for -lOSMesa... " >&6; }
10407 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10408 $as_echo_n "(cached) " >&6
10409 else
10410 ac_check_soname_save_LIBS=$LIBS
10411 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10413 /* end confdefs.h. */
10415 /* Override any GCC internal prototype to avoid an error.
10416 Use char because int might match the return type of a GCC
10417 builtin and then its argument prototype would still apply. */
10418 #ifdef __cplusplus
10419 extern "C"
10420 #endif
10421 char glAccum ();
10423 main ()
10425 return glAccum ();
10427 return 0;
10429 _ACEOF
10430 if ac_fn_c_try_link "$LINENO"; then :
10431 case "$LIBEXT" in
10432 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10433 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'` ;;
10434 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10435 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10436 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10437 fi ;;
10438 esac
10440 rm -f core conftest.err conftest.$ac_objext \
10441 conftest$ac_exeext conftest.$ac_ext
10442 LIBS=$ac_check_soname_save_LIBS
10444 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10446 $as_echo "not found" >&6; }
10448 else
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10450 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10452 cat >>confdefs.h <<_ACEOF
10453 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10454 _ACEOF
10458 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10459 case "x$with_osmesa" in
10460 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10461 xno) ;;
10462 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10463 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10464 esac
10468 if test -n "$opengl_msg"; then :
10469 case "x$with_opengl" in
10470 x) as_fn_append wine_warnings "|$opengl_msg
10471 OpenGL and Direct3D won't be supported." ;;
10472 xno) ;;
10473 *) as_fn_error $? "$opengl_msg
10474 OpenGL and Direct3D won't be supported.
10475 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10476 esac
10479 CPPFLAGS="$ac_save_CPPFLAGS"
10480 else
10481 X_CFLAGS=""
10482 X_LIBS=""
10483 enable_winex11_drv=${enable_winex11_drv:-no}
10485 if test "x$X_LIBS" = "x"; then :
10486 case "x$with_x" in
10487 xno) ;;
10488 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10489 without X support, which probably isn't what you want. You will need
10490 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10491 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10492 esac
10495 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10497 if test "$ac_cv_header_CL_cl_h" = "yes"
10498 then
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10500 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10501 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10502 $as_echo_n "(cached) " >&6
10503 else
10504 ac_check_lib_save_LIBS=$LIBS
10505 LIBS="-lOpenCL $LIBS"
10506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10507 /* end confdefs.h. */
10509 /* Override any GCC internal prototype to avoid an error.
10510 Use char because int might match the return type of a GCC
10511 builtin and then its argument prototype would still apply. */
10512 #ifdef __cplusplus
10513 extern "C"
10514 #endif
10515 char clGetPlatformInfo ();
10517 main ()
10519 return clGetPlatformInfo ();
10521 return 0;
10523 _ACEOF
10524 if ac_fn_c_try_link "$LINENO"; then :
10525 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10526 else
10527 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10529 rm -f core conftest.err conftest.$ac_objext \
10530 conftest$ac_exeext conftest.$ac_ext
10531 LIBS=$ac_check_lib_save_LIBS
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10534 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10535 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10536 OPENCL_LIBS="-lOpenCL"
10541 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10542 case "x$with_opencl" in
10543 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10544 xno) ;;
10545 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10546 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10547 esac
10549 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10551 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10552 then
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10554 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10555 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10556 $as_echo_n "(cached) " >&6
10557 else
10558 ac_check_lib_save_LIBS=$LIBS
10559 LIBS="-lpcap $LIBS"
10560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10561 /* end confdefs.h. */
10563 /* Override any GCC internal prototype to avoid an error.
10564 Use char because int might match the return type of a GCC
10565 builtin and then its argument prototype would still apply. */
10566 #ifdef __cplusplus
10567 extern "C"
10568 #endif
10569 char pcap_create ();
10571 main ()
10573 return pcap_create ();
10575 return 0;
10577 _ACEOF
10578 if ac_fn_c_try_link "$LINENO"; then :
10579 ac_cv_lib_pcap_pcap_create=yes
10580 else
10581 ac_cv_lib_pcap_pcap_create=no
10583 rm -f core conftest.err conftest.$ac_objext \
10584 conftest$ac_exeext conftest.$ac_ext
10585 LIBS=$ac_check_lib_save_LIBS
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10588 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10589 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10590 LIBPCAP="-lpcap"
10595 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10596 case "x$with_pcap" in
10597 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10598 xno) ;;
10599 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10600 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10601 esac
10603 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10606 if test "x$with_xml" != "xno"
10607 then
10608 if ${XML2_CFLAGS:+false} :; then :
10609 if ${PKG_CONFIG+:} false; then :
10610 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10613 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10614 if ${XML2_LIBS:+false} :; then :
10615 if ${PKG_CONFIG+:} false; then :
10616 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10619 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10620 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10621 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10622 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10623 ac_save_CPPFLAGS=$CPPFLAGS
10624 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10625 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10626 do :
10627 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10628 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10629 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10630 cat >>confdefs.h <<_ACEOF
10631 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10632 _ACEOF
10636 done
10638 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"
10639 then
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10641 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10642 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10643 $as_echo_n "(cached) " >&6
10644 else
10645 ac_check_lib_save_LIBS=$LIBS
10646 LIBS="-lxml2 $XML2_LIBS $LIBS"
10647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10648 /* end confdefs.h. */
10650 /* Override any GCC internal prototype to avoid an error.
10651 Use char because int might match the return type of a GCC
10652 builtin and then its argument prototype would still apply. */
10653 #ifdef __cplusplus
10654 extern "C"
10655 #endif
10656 char xmlParseMemory ();
10658 main ()
10660 return xmlParseMemory ();
10662 return 0;
10664 _ACEOF
10665 if ac_fn_c_try_link "$LINENO"; then :
10666 ac_cv_lib_xml2_xmlParseMemory=yes
10667 else
10668 ac_cv_lib_xml2_xmlParseMemory=no
10670 rm -f core conftest.err conftest.$ac_objext \
10671 conftest$ac_exeext conftest.$ac_ext
10672 LIBS=$ac_check_lib_save_LIBS
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10675 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10676 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10678 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10680 else
10681 XML2_LIBS=""
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10685 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10686 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10687 $as_echo_n "(cached) " >&6
10688 else
10689 ac_check_lib_save_LIBS=$LIBS
10690 LIBS="-lxml2 $XML2_LIBS $LIBS"
10691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10692 /* end confdefs.h. */
10694 /* Override any GCC internal prototype to avoid an error.
10695 Use char because int might match the return type of a GCC
10696 builtin and then its argument prototype would still apply. */
10697 #ifdef __cplusplus
10698 extern "C"
10699 #endif
10700 char xmlReadMemory ();
10702 main ()
10704 return xmlReadMemory ();
10706 return 0;
10708 _ACEOF
10709 if ac_fn_c_try_link "$LINENO"; then :
10710 ac_cv_lib_xml2_xmlReadMemory=yes
10711 else
10712 ac_cv_lib_xml2_xmlReadMemory=no
10714 rm -f core conftest.err conftest.$ac_objext \
10715 conftest$ac_exeext conftest.$ac_ext
10716 LIBS=$ac_check_lib_save_LIBS
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10719 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10720 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10722 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10727 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10728 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10729 $as_echo_n "(cached) " >&6
10730 else
10731 ac_check_lib_save_LIBS=$LIBS
10732 LIBS="-lxml2 $XML2_LIBS $LIBS"
10733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10734 /* end confdefs.h. */
10736 /* Override any GCC internal prototype to avoid an error.
10737 Use char because int might match the return type of a GCC
10738 builtin and then its argument prototype would still apply. */
10739 #ifdef __cplusplus
10740 extern "C"
10741 #endif
10742 char xmlNewDocPI ();
10744 main ()
10746 return xmlNewDocPI ();
10748 return 0;
10750 _ACEOF
10751 if ac_fn_c_try_link "$LINENO"; then :
10752 ac_cv_lib_xml2_xmlNewDocPI=yes
10753 else
10754 ac_cv_lib_xml2_xmlNewDocPI=no
10756 rm -f core conftest.err conftest.$ac_objext \
10757 conftest$ac_exeext conftest.$ac_ext
10758 LIBS=$ac_check_lib_save_LIBS
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10761 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10762 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10764 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10769 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10770 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10771 $as_echo_n "(cached) " >&6
10772 else
10773 ac_check_lib_save_LIBS=$LIBS
10774 LIBS="-lxml2 $XML2_LIBS $LIBS"
10775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10776 /* end confdefs.h. */
10778 /* Override any GCC internal prototype to avoid an error.
10779 Use char because int might match the return type of a GCC
10780 builtin and then its argument prototype would still apply. */
10781 #ifdef __cplusplus
10782 extern "C"
10783 #endif
10784 char xmlSchemaSetParserStructuredErrors ();
10786 main ()
10788 return xmlSchemaSetParserStructuredErrors ();
10790 return 0;
10792 _ACEOF
10793 if ac_fn_c_try_link "$LINENO"; then :
10794 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10795 else
10796 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10798 rm -f core conftest.err conftest.$ac_objext \
10799 conftest$ac_exeext conftest.$ac_ext
10800 LIBS=$ac_check_lib_save_LIBS
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10803 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10804 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10806 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10811 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10812 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10813 $as_echo_n "(cached) " >&6
10814 else
10815 ac_check_lib_save_LIBS=$LIBS
10816 LIBS="-lxml2 $XML2_LIBS $LIBS"
10817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10818 /* end confdefs.h. */
10820 /* Override any GCC internal prototype to avoid an error.
10821 Use char because int might match the return type of a GCC
10822 builtin and then its argument prototype would still apply. */
10823 #ifdef __cplusplus
10824 extern "C"
10825 #endif
10826 char xmlSchemaSetValidStructuredErrors ();
10828 main ()
10830 return xmlSchemaSetValidStructuredErrors ();
10832 return 0;
10834 _ACEOF
10835 if ac_fn_c_try_link "$LINENO"; then :
10836 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10837 else
10838 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10840 rm -f core conftest.err conftest.$ac_objext \
10841 conftest$ac_exeext conftest.$ac_ext
10842 LIBS=$ac_check_lib_save_LIBS
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10845 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10846 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10848 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10853 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10854 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10855 $as_echo_n "(cached) " >&6
10856 else
10857 ac_check_lib_save_LIBS=$LIBS
10858 LIBS="-lxml2 $XML2_LIBS $LIBS"
10859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10860 /* end confdefs.h. */
10862 /* Override any GCC internal prototype to avoid an error.
10863 Use char because int might match the return type of a GCC
10864 builtin and then its argument prototype would still apply. */
10865 #ifdef __cplusplus
10866 extern "C"
10867 #endif
10868 char xmlFirstElementChild ();
10870 main ()
10872 return xmlFirstElementChild ();
10874 return 0;
10876 _ACEOF
10877 if ac_fn_c_try_link "$LINENO"; then :
10878 ac_cv_lib_xml2_xmlFirstElementChild=yes
10879 else
10880 ac_cv_lib_xml2_xmlFirstElementChild=no
10882 rm -f core conftest.err conftest.$ac_objext \
10883 conftest$ac_exeext conftest.$ac_ext
10884 LIBS=$ac_check_lib_save_LIBS
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10887 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10888 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10890 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10894 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10896 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10898 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10902 else
10903 XML2_CFLAGS=""
10904 XML2_LIBS=""
10906 CPPFLAGS=$ac_save_CPPFLAGS
10907 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10908 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10911 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10912 case "x$with_xml" in
10913 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10914 xno) ;;
10915 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10916 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10917 esac
10920 if test "x$with_xslt" != "xno"
10921 then
10922 if ${XSLT_CFLAGS:+false} :; then :
10923 if ${PKG_CONFIG+:} false; then :
10924 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10927 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10928 if ${XSLT_LIBS:+false} :; then :
10929 if ${PKG_CONFIG+:} false; then :
10930 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10933 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10934 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10935 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10936 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10937 ac_save_CPPFLAGS=$CPPFLAGS
10938 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10939 for ac_header in libxslt/pattern.h libxslt/transform.h
10940 do :
10941 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10942 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10943 # include <libxslt/pattern.h>
10944 #endif
10946 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10947 cat >>confdefs.h <<_ACEOF
10948 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10949 _ACEOF
10953 done
10955 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10956 then
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10958 $as_echo_n "checking for -lxslt... " >&6; }
10959 if ${ac_cv_lib_soname_xslt+:} false; then :
10960 $as_echo_n "(cached) " >&6
10961 else
10962 ac_check_soname_save_LIBS=$LIBS
10963 LIBS="-lxslt $XSLT_LIBS $LIBS"
10964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10965 /* end confdefs.h. */
10967 /* Override any GCC internal prototype to avoid an error.
10968 Use char because int might match the return type of a GCC
10969 builtin and then its argument prototype would still apply. */
10970 #ifdef __cplusplus
10971 extern "C"
10972 #endif
10973 char xsltCompilePattern ();
10975 main ()
10977 return xsltCompilePattern ();
10979 return 0;
10981 _ACEOF
10982 if ac_fn_c_try_link "$LINENO"; then :
10983 case "$LIBEXT" in
10984 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10985 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'` ;;
10986 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10987 if ${ac_cv_lib_soname_xslt:+false} :; then :
10988 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10989 fi ;;
10990 esac
10992 rm -f core conftest.err conftest.$ac_objext \
10993 conftest$ac_exeext conftest.$ac_ext
10994 LIBS=$ac_check_soname_save_LIBS
10996 if ${ac_cv_lib_soname_xslt:+false} :; then :
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10998 $as_echo "not found" >&6; }
11000 else
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11002 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11004 cat >>confdefs.h <<_ACEOF
11005 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11006 _ACEOF
11010 else
11011 XSLT_CFLAGS=""
11013 CPPFLAGS=$ac_save_CPPFLAGS
11014 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11015 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11018 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11019 case "x$with_xslt" in
11020 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11021 xno) ;;
11022 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11023 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11024 esac
11027 if test "x$with_dbus" != "xno"
11028 then
11029 if ${DBUS_CFLAGS:+false} :; then :
11030 if ${PKG_CONFIG+:} false; then :
11031 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11035 if ${DBUS_LIBS:+false} :; then :
11036 if ${PKG_CONFIG+:} false; then :
11037 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11042 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11043 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11044 ac_save_CPPFLAGS=$CPPFLAGS
11045 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11046 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11047 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11049 $as_echo_n "checking for -ldbus-1... " >&6; }
11050 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11051 $as_echo_n "(cached) " >&6
11052 else
11053 ac_check_soname_save_LIBS=$LIBS
11054 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11056 /* end confdefs.h. */
11058 /* Override any GCC internal prototype to avoid an error.
11059 Use char because int might match the return type of a GCC
11060 builtin and then its argument prototype would still apply. */
11061 #ifdef __cplusplus
11062 extern "C"
11063 #endif
11064 char dbus_connection_close ();
11066 main ()
11068 return dbus_connection_close ();
11070 return 0;
11072 _ACEOF
11073 if ac_fn_c_try_link "$LINENO"; then :
11074 case "$LIBEXT" in
11075 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11076 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'` ;;
11077 *) 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'`
11078 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11079 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11080 fi ;;
11081 esac
11083 rm -f core conftest.err conftest.$ac_objext \
11084 conftest$ac_exeext conftest.$ac_ext
11085 LIBS=$ac_check_soname_save_LIBS
11087 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11089 $as_echo "not found" >&6; }
11090 DBUS_CFLAGS=""
11091 else
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11093 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11095 cat >>confdefs.h <<_ACEOF
11096 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11097 _ACEOF
11101 else
11102 DBUS_CFLAGS=""
11106 CPPFLAGS=$ac_save_CPPFLAGS
11107 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11108 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11111 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11112 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11113 case "x$with_dbus" in
11114 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11115 xno) ;;
11116 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11117 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11118 esac
11121 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11122 then
11123 if ${HAL_CFLAGS:+false} :; then :
11124 if ${PKG_CONFIG+:} false; then :
11125 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11129 if ${HAL_LIBS:+false} :; then :
11130 if ${PKG_CONFIG+:} false; then :
11131 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11135 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11136 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11137 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11138 ac_save_CPPFLAGS=$CPPFLAGS
11139 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11140 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11141 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11143 $as_echo_n "checking for -lhal... " >&6; }
11144 if ${ac_cv_lib_soname_hal+:} false; then :
11145 $as_echo_n "(cached) " >&6
11146 else
11147 ac_check_soname_save_LIBS=$LIBS
11148 LIBS="-lhal $HAL_LIBS $LIBS"
11149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11150 /* end confdefs.h. */
11152 /* Override any GCC internal prototype to avoid an error.
11153 Use char because int might match the return type of a GCC
11154 builtin and then its argument prototype would still apply. */
11155 #ifdef __cplusplus
11156 extern "C"
11157 #endif
11158 char libhal_ctx_new ();
11160 main ()
11162 return libhal_ctx_new ();
11164 return 0;
11166 _ACEOF
11167 if ac_fn_c_try_link "$LINENO"; then :
11168 case "$LIBEXT" in
11169 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11170 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'` ;;
11171 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11172 if ${ac_cv_lib_soname_hal:+false} :; then :
11173 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11174 fi ;;
11175 esac
11177 rm -f core conftest.err conftest.$ac_objext \
11178 conftest$ac_exeext conftest.$ac_ext
11179 LIBS=$ac_check_soname_save_LIBS
11181 if ${ac_cv_lib_soname_hal:+false} :; then :
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11183 $as_echo "not found" >&6; }
11184 HAL_CFLAGS=""
11185 else
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11187 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11189 cat >>confdefs.h <<_ACEOF
11190 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11191 _ACEOF
11195 else
11196 HAL_CFLAGS=""
11200 CPPFLAGS=$ac_save_CPPFLAGS
11201 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11202 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11204 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11205 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11206 case "x$with_hal" in
11207 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11208 xno) ;;
11209 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11210 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11211 esac
11215 if test "x$with_gnutls" != "xno"
11216 then
11217 if ${GNUTLS_CFLAGS:+false} :; then :
11218 if ${PKG_CONFIG+:} false; then :
11219 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11223 if ${GNUTLS_LIBS:+false} :; then :
11224 if ${PKG_CONFIG+:} false; then :
11225 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11230 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11231 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11232 ac_save_CPPFLAGS=$CPPFLAGS
11233 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11234 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11235 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11237 /* end confdefs.h. */
11238 #include <gnutls/gnutls.h>
11239 #include <gnutls/crypto.h>
11241 main ()
11243 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11245 return 0;
11247 _ACEOF
11248 if ac_fn_c_try_compile "$LINENO"; then :
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11250 $as_echo_n "checking for -lgnutls... " >&6; }
11251 if ${ac_cv_lib_soname_gnutls+:} false; then :
11252 $as_echo_n "(cached) " >&6
11253 else
11254 ac_check_soname_save_LIBS=$LIBS
11255 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11257 /* end confdefs.h. */
11259 /* Override any GCC internal prototype to avoid an error.
11260 Use char because int might match the return type of a GCC
11261 builtin and then its argument prototype would still apply. */
11262 #ifdef __cplusplus
11263 extern "C"
11264 #endif
11265 char gnutls_global_init ();
11267 main ()
11269 return gnutls_global_init ();
11271 return 0;
11273 _ACEOF
11274 if ac_fn_c_try_link "$LINENO"; then :
11275 case "$LIBEXT" in
11276 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11277 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'` ;;
11278 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11279 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11280 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11281 fi ;;
11282 esac
11284 rm -f core conftest.err conftest.$ac_objext \
11285 conftest$ac_exeext conftest.$ac_ext
11286 LIBS=$ac_check_soname_save_LIBS
11288 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11290 $as_echo "not found" >&6; }
11291 GNUTLS_CFLAGS=""
11292 else
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11294 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11296 cat >>confdefs.h <<_ACEOF
11297 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11298 _ACEOF
11303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11304 else
11305 GNUTLS_CFLAGS=""
11309 CPPFLAGS=$ac_save_CPPFLAGS
11310 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11311 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11314 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11315 case "x$with_gnutls" in
11316 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11317 xno) ;;
11318 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11319 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11320 esac
11323 CURSES_LIBS=""
11324 if test "$ac_cv_header_ncurses_h" = "yes"
11325 then
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11327 $as_echo_n "checking for -lncurses... " >&6; }
11328 if ${ac_cv_lib_soname_ncurses+:} false; then :
11329 $as_echo_n "(cached) " >&6
11330 else
11331 ac_check_soname_save_LIBS=$LIBS
11332 LIBS="-lncurses $LIBS"
11333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11334 /* end confdefs.h. */
11336 /* Override any GCC internal prototype to avoid an error.
11337 Use char because int might match the return type of a GCC
11338 builtin and then its argument prototype would still apply. */
11339 #ifdef __cplusplus
11340 extern "C"
11341 #endif
11342 char waddch ();
11344 main ()
11346 return waddch ();
11348 return 0;
11350 _ACEOF
11351 if ac_fn_c_try_link "$LINENO"; then :
11352 case "$LIBEXT" in
11353 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11354 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'` ;;
11355 *) 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'`
11356 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11357 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11358 fi ;;
11359 esac
11361 rm -f core conftest.err conftest.$ac_objext \
11362 conftest$ac_exeext conftest.$ac_ext
11363 LIBS=$ac_check_soname_save_LIBS
11365 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11367 $as_echo "not found" >&6; }
11369 else
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11371 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11373 cat >>confdefs.h <<_ACEOF
11374 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11375 _ACEOF
11377 CURSES_LIBS="-lncurses"
11379 elif test "$ac_cv_header_curses_h" = "yes"
11380 then
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11382 $as_echo_n "checking for -lcurses... " >&6; }
11383 if ${ac_cv_lib_soname_curses+:} false; then :
11384 $as_echo_n "(cached) " >&6
11385 else
11386 ac_check_soname_save_LIBS=$LIBS
11387 LIBS="-lcurses $LIBS"
11388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11391 /* Override any GCC internal prototype to avoid an error.
11392 Use char because int might match the return type of a GCC
11393 builtin and then its argument prototype would still apply. */
11394 #ifdef __cplusplus
11395 extern "C"
11396 #endif
11397 char waddch ();
11399 main ()
11401 return waddch ();
11403 return 0;
11405 _ACEOF
11406 if ac_fn_c_try_link "$LINENO"; then :
11407 case "$LIBEXT" in
11408 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11409 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'` ;;
11410 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11411 if ${ac_cv_lib_soname_curses:+false} :; then :
11412 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11413 fi ;;
11414 esac
11416 rm -f core conftest.err conftest.$ac_objext \
11417 conftest$ac_exeext conftest.$ac_ext
11418 LIBS=$ac_check_soname_save_LIBS
11420 if ${ac_cv_lib_soname_curses:+false} :; then :
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11422 $as_echo "not found" >&6; }
11424 else
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11426 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11428 cat >>confdefs.h <<_ACEOF
11429 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11430 _ACEOF
11432 CURSES_LIBS="-lcurses"
11435 ac_save_LIBS="$LIBS"
11436 LIBS="$LIBS $CURSES_LIBS"
11437 for ac_func in mousemask
11438 do :
11439 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11440 if test "x$ac_cv_func_mousemask" = xyes; then :
11441 cat >>confdefs.h <<_ACEOF
11442 #define HAVE_MOUSEMASK 1
11443 _ACEOF
11446 done
11448 LIBS="$ac_save_LIBS"
11449 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11450 case "x$with_curses" in
11451 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11452 xno) ;;
11453 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11454 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11455 esac
11458 if test "x$with_sane" != "xno"
11459 then
11460 if ${SANE_CFLAGS:+false} :; then :
11461 if ${PKG_CONFIG+:} false; then :
11462 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11465 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11466 if ${SANE_LIBS:+false} :; then :
11467 if ${PKG_CONFIG+:} false; then :
11468 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11471 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11473 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11474 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11475 ac_save_CPPFLAGS=$CPPFLAGS
11476 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11477 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11478 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11480 $as_echo_n "checking for -lsane... " >&6; }
11481 if ${ac_cv_lib_soname_sane+:} false; then :
11482 $as_echo_n "(cached) " >&6
11483 else
11484 ac_check_soname_save_LIBS=$LIBS
11485 LIBS="-lsane $SANE_LIBS $LIBS"
11486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11487 /* end confdefs.h. */
11489 /* Override any GCC internal prototype to avoid an error.
11490 Use char because int might match the return type of a GCC
11491 builtin and then its argument prototype would still apply. */
11492 #ifdef __cplusplus
11493 extern "C"
11494 #endif
11495 char sane_init ();
11497 main ()
11499 return sane_init ();
11501 return 0;
11503 _ACEOF
11504 if ac_fn_c_try_link "$LINENO"; then :
11505 case "$LIBEXT" in
11506 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11507 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'` ;;
11508 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11509 if ${ac_cv_lib_soname_sane:+false} :; then :
11510 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11511 fi ;;
11512 esac
11514 rm -f core conftest.err conftest.$ac_objext \
11515 conftest$ac_exeext conftest.$ac_ext
11516 LIBS=$ac_check_soname_save_LIBS
11518 if ${ac_cv_lib_soname_sane:+false} :; then :
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11520 $as_echo "not found" >&6; }
11521 SANE_CFLAGS=""
11522 else
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11524 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11526 cat >>confdefs.h <<_ACEOF
11527 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11528 _ACEOF
11532 else
11533 SANE_CFLAGS=""
11537 CPPFLAGS=$ac_save_CPPFLAGS
11538 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11539 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11542 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11543 case "x$with_sane" in
11544 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11545 xno) ;;
11546 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11547 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11548 esac
11551 if test "x$with_v4l" != "xno"
11552 then
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11554 $as_echo_n "checking for -lv4l1... " >&6; }
11555 if ${ac_cv_lib_soname_v4l1+:} false; then :
11556 $as_echo_n "(cached) " >&6
11557 else
11558 ac_check_soname_save_LIBS=$LIBS
11559 LIBS="-lv4l1 $LIBS"
11560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11561 /* end confdefs.h. */
11563 /* Override any GCC internal prototype to avoid an error.
11564 Use char because int might match the return type of a GCC
11565 builtin and then its argument prototype would still apply. */
11566 #ifdef __cplusplus
11567 extern "C"
11568 #endif
11569 char v4l1_open ();
11571 main ()
11573 return v4l1_open ();
11575 return 0;
11577 _ACEOF
11578 if ac_fn_c_try_link "$LINENO"; then :
11579 case "$LIBEXT" in
11580 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11581 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'` ;;
11582 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11583 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11584 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11585 fi ;;
11586 esac
11588 rm -f core conftest.err conftest.$ac_objext \
11589 conftest$ac_exeext conftest.$ac_ext
11590 LIBS=$ac_check_soname_save_LIBS
11592 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11594 $as_echo "not found" >&6; }
11596 else
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11598 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11600 cat >>confdefs.h <<_ACEOF
11601 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11602 _ACEOF
11607 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11608 case "x$with_v4l" in
11609 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11610 xno) ;;
11611 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11612 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11613 esac
11616 if test "x$with_gphoto" != "xno"
11617 then
11618 if ${GPHOTO2_CFLAGS:+false} :; then :
11619 if ${PKG_CONFIG+:} false; then :
11620 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11623 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11624 if ${GPHOTO2_LIBS:+false} :; then :
11625 if ${PKG_CONFIG+:} false; then :
11626 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11629 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11630 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11631 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11632 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11633 ac_save_CPPFLAGS=$CPPFLAGS
11634 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11635 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11636 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11638 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11639 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11640 $as_echo_n "(cached) " >&6
11641 else
11642 ac_check_lib_save_LIBS=$LIBS
11643 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11645 /* end confdefs.h. */
11647 /* Override any GCC internal prototype to avoid an error.
11648 Use char because int might match the return type of a GCC
11649 builtin and then its argument prototype would still apply. */
11650 #ifdef __cplusplus
11651 extern "C"
11652 #endif
11653 char gp_camera_new ();
11655 main ()
11657 return gp_camera_new ();
11659 return 0;
11661 _ACEOF
11662 if ac_fn_c_try_link "$LINENO"; then :
11663 ac_cv_lib_gphoto2_gp_camera_new=yes
11664 else
11665 ac_cv_lib_gphoto2_gp_camera_new=no
11667 rm -f core conftest.err conftest.$ac_objext \
11668 conftest$ac_exeext conftest.$ac_ext
11669 LIBS=$ac_check_lib_save_LIBS
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11672 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11673 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11675 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11677 else
11678 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11681 else
11682 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11686 CPPFLAGS=$ac_save_CPPFLAGS
11687 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11688 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11690 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11691 if ${PKG_CONFIG+:} false; then :
11692 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11695 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11696 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11697 if ${PKG_CONFIG+:} false; then :
11698 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11701 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11702 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11703 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11704 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11705 ac_save_CPPFLAGS=$CPPFLAGS
11706 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11707 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11708 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11710 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11711 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11712 $as_echo_n "(cached) " >&6
11713 else
11714 ac_check_lib_save_LIBS=$LIBS
11715 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11717 /* end confdefs.h. */
11719 /* Override any GCC internal prototype to avoid an error.
11720 Use char because int might match the return type of a GCC
11721 builtin and then its argument prototype would still apply. */
11722 #ifdef __cplusplus
11723 extern "C"
11724 #endif
11725 char gp_port_info_list_new ();
11727 main ()
11729 return gp_port_info_list_new ();
11731 return 0;
11733 _ACEOF
11734 if ac_fn_c_try_link "$LINENO"; then :
11735 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11736 else
11737 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11739 rm -f core conftest.err conftest.$ac_objext \
11740 conftest$ac_exeext conftest.$ac_ext
11741 LIBS=$ac_check_lib_save_LIBS
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11744 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11745 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11747 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11749 else
11750 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11753 else
11754 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11758 CPPFLAGS=$ac_save_CPPFLAGS
11759 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11760 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11763 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11764 case "x$with_gphoto" in
11765 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11766 xno) ;;
11767 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11768 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11769 esac
11771 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11772 case "x$with_gphoto" in
11773 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11774 xno) ;;
11775 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11776 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11777 esac
11781 if test "$ac_cv_header_resolv_h" = "yes"
11782 then
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11784 $as_echo_n "checking for resolver library... " >&6; }
11785 if ${ac_cv_have_resolv+:} false; then :
11786 $as_echo_n "(cached) " >&6
11787 else
11788 ac_save_LIBS="$LIBS"
11789 for lib in '' -lresolv
11791 LIBS="$lib $ac_save_LIBS"
11792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11793 /* end confdefs.h. */
11794 #ifdef HAVE_NETINET_IN_H
11795 #include <netinet/in.h>
11796 #endif
11797 #include <resolv.h>
11799 main ()
11801 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11803 return 0;
11805 _ACEOF
11806 if ac_fn_c_try_link "$LINENO"; then :
11807 ac_cv_have_resolv=${lib:-"none required"}
11808 else
11809 ac_cv_have_resolv="not found"
11811 rm -f core conftest.err conftest.$ac_objext \
11812 conftest$ac_exeext conftest.$ac_ext
11813 test "x$ac_cv_have_resolv" = "xnot found" || break
11814 done
11815 LIBS="$ac_save_LIBS"
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11818 $as_echo "$ac_cv_have_resolv" >&6; }
11820 case "$ac_cv_have_resolv" in
11821 "not found") ;;
11822 "none required")
11824 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11827 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11829 RESOLV_LIBS=$ac_cv_have_resolv
11831 esac
11834 if test "x$with_lcms2" != "xno"
11835 then
11836 if ${LCMS2_CFLAGS:+false} :; then :
11837 if ${PKG_CONFIG+:} false; then :
11838 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11842 if ${LCMS2_LIBS:+false} :; then :
11843 if ${PKG_CONFIG+:} false; then :
11844 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11848 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11849 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11850 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11851 ac_save_CPPFLAGS=$CPPFLAGS
11852 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11853 for ac_header in lcms2.h
11854 do :
11855 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11856 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11857 cat >>confdefs.h <<_ACEOF
11858 #define HAVE_LCMS2_H 1
11859 _ACEOF
11863 done
11865 if test "$ac_cv_header_lcms2_h" = "yes"
11866 then
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11868 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11869 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11870 $as_echo_n "(cached) " >&6
11871 else
11872 ac_check_lib_save_LIBS=$LIBS
11873 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11877 /* Override any GCC internal prototype to avoid an error.
11878 Use char because int might match the return type of a GCC
11879 builtin and then its argument prototype would still apply. */
11880 #ifdef __cplusplus
11881 extern "C"
11882 #endif
11883 char cmsOpenProfileFromFile ();
11885 main ()
11887 return cmsOpenProfileFromFile ();
11889 return 0;
11891 _ACEOF
11892 if ac_fn_c_try_link "$LINENO"; then :
11893 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11894 else
11895 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11897 rm -f core conftest.err conftest.$ac_objext \
11898 conftest$ac_exeext conftest.$ac_ext
11899 LIBS=$ac_check_lib_save_LIBS
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11902 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11903 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11905 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11907 else
11908 LCMS2_LIBS=""
11911 else
11912 LCMS2_CFLAGS=""
11913 LCMS2_LIBS=""
11915 CPPFLAGS=$ac_save_CPPFLAGS
11916 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11917 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11920 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11921 case "x$with_cms" in
11922 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11923 xno) ;;
11924 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11925 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11926 esac
11929 if test "x$with_freetype" != "xno"
11930 then
11931 if ${FREETYPE_CFLAGS:+false} :; then :
11932 if ${PKG_CONFIG+:} false; then :
11933 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11936 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11937 if ${FREETYPE_LIBS:+false} :; then :
11938 if ${PKG_CONFIG+:} false; then :
11939 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11942 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11943 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11944 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11945 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11946 ac_save_CPPFLAGS=$CPPFLAGS
11947 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11948 for ac_header in ft2build.h
11949 do :
11950 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11951 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11952 cat >>confdefs.h <<_ACEOF
11953 #define HAVE_FT2BUILD_H 1
11954 _ACEOF
11958 done
11960 if test "$ac_cv_header_ft2build_h" = "yes"
11961 then
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11963 $as_echo_n "checking for -lfreetype... " >&6; }
11964 if ${ac_cv_lib_soname_freetype+:} false; then :
11965 $as_echo_n "(cached) " >&6
11966 else
11967 ac_check_soname_save_LIBS=$LIBS
11968 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11970 /* end confdefs.h. */
11972 /* Override any GCC internal prototype to avoid an error.
11973 Use char because int might match the return type of a GCC
11974 builtin and then its argument prototype would still apply. */
11975 #ifdef __cplusplus
11976 extern "C"
11977 #endif
11978 char FT_Init_FreeType ();
11980 main ()
11982 return FT_Init_FreeType ();
11984 return 0;
11986 _ACEOF
11987 if ac_fn_c_try_link "$LINENO"; then :
11988 case "$LIBEXT" in
11989 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11990 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'` ;;
11991 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11992 if ${ac_cv_lib_soname_freetype:+false} :; then :
11993 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11994 fi ;;
11995 esac
11997 rm -f core conftest.err conftest.$ac_objext \
11998 conftest$ac_exeext conftest.$ac_ext
11999 LIBS=$ac_check_soname_save_LIBS
12001 if ${ac_cv_lib_soname_freetype:+false} :; then :
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12003 $as_echo "not found" >&6; }
12004 FREETYPE_LIBS=""
12005 else
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12007 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12009 cat >>confdefs.h <<_ACEOF
12010 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12011 _ACEOF
12014 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12016 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12017 #include FT_MODULE_H
12019 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12021 cat >>confdefs.h <<_ACEOF
12022 #define HAVE_FT_TRUETYPEENGINETYPE 1
12023 _ACEOF
12029 else
12030 FREETYPE_CFLAGS=""
12031 FREETYPE_LIBS=""
12033 CPPFLAGS=$ac_save_CPPFLAGS
12034 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12035 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12038 if test "x$ac_cv_lib_soname_freetype" = x; then :
12039 case "x$with_freetype" in
12040 xno) ;;
12041 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12042 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12043 esac
12045 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12048 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12049 if ${ac_cv_c_ppdev+:} false; then :
12050 $as_echo_n "(cached) " >&6
12051 else
12052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12053 /* end confdefs.h. */
12054 #ifdef HAVE_SYS_IOCTL_H
12055 # include <sys/ioctl.h>
12056 #endif
12057 #include <linux/ppdev.h>
12059 main ()
12061 ioctl (1,PPCLAIM,0)
12063 return 0;
12065 _ACEOF
12066 if ac_fn_c_try_compile "$LINENO"; then :
12067 ac_cv_c_ppdev="yes"
12068 else
12069 ac_cv_c_ppdev="no"
12071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12074 $as_echo "$ac_cv_c_ppdev" >&6; }
12075 if test "$ac_cv_c_ppdev" = "yes"
12076 then
12078 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12082 ac_wine_check_funcs_save_LIBS="$LIBS"
12083 LIBS="$LIBS $PTHREAD_LIBS"
12084 for ac_func in \
12085 pthread_attr_get_np \
12086 pthread_getattr_np \
12087 pthread_getthreadid_np \
12088 pthread_get_stackaddr_np \
12089 pthread_get_stacksize_np
12090 do :
12091 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12092 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12093 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12094 cat >>confdefs.h <<_ACEOF
12095 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12096 _ACEOF
12099 done
12101 LIBS="$ac_wine_check_funcs_save_LIBS"
12103 if test "$ac_cv_header_zlib_h" = "yes"
12104 then
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12106 $as_echo_n "checking for inflate in -lz... " >&6; }
12107 if ${ac_cv_lib_z_inflate+:} false; then :
12108 $as_echo_n "(cached) " >&6
12109 else
12110 ac_check_lib_save_LIBS=$LIBS
12111 LIBS="-lz $LIBS"
12112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12113 /* end confdefs.h. */
12115 /* Override any GCC internal prototype to avoid an error.
12116 Use char because int might match the return type of a GCC
12117 builtin and then its argument prototype would still apply. */
12118 #ifdef __cplusplus
12119 extern "C"
12120 #endif
12121 char inflate ();
12123 main ()
12125 return inflate ();
12127 return 0;
12129 _ACEOF
12130 if ac_fn_c_try_link "$LINENO"; then :
12131 ac_cv_lib_z_inflate=yes
12132 else
12133 ac_cv_lib_z_inflate=no
12135 rm -f core conftest.err conftest.$ac_objext \
12136 conftest$ac_exeext conftest.$ac_ext
12137 LIBS=$ac_check_lib_save_LIBS
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12140 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12141 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12143 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12145 Z_LIBS="-lz"
12150 if test "x$Z_LIBS" = "x"; then :
12151 case "x$with_zlib" in
12152 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12153 xno) ;;
12154 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12155 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12156 esac
12159 if test "x$enable_tools" != xno
12160 then
12161 if test "$ac_cv_header_gettext_po_h" = "yes"
12162 then
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12164 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12165 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12166 $as_echo_n "(cached) " >&6
12167 else
12168 ac_check_lib_save_LIBS=$LIBS
12169 LIBS="-lgettextpo $LIBS"
12170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12171 /* end confdefs.h. */
12173 /* Override any GCC internal prototype to avoid an error.
12174 Use char because int might match the return type of a GCC
12175 builtin and then its argument prototype would still apply. */
12176 #ifdef __cplusplus
12177 extern "C"
12178 #endif
12179 char po_message_msgctxt ();
12181 main ()
12183 return po_message_msgctxt ();
12185 return 0;
12187 _ACEOF
12188 if ac_fn_c_try_link "$LINENO"; then :
12189 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12190 else
12191 ac_cv_lib_gettextpo_po_message_msgctxt=no
12193 rm -f core conftest.err conftest.$ac_objext \
12194 conftest$ac_exeext conftest.$ac_ext
12195 LIBS=$ac_check_lib_save_LIBS
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12198 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12199 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12201 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12203 GETTEXTPO_LIBS="-lgettextpo"
12208 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12209 case "x$with_gettextpo" in
12210 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12211 xno) ;;
12212 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12213 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12214 esac
12218 if test "x$with_gstreamer" != "xno"
12219 then
12220 if ${GSTREAMER_CFLAGS:+false} :; then :
12221 if ${PKG_CONFIG+:} false; then :
12222 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12226 if ${GSTREAMER_LIBS:+false} :; then :
12227 if ${PKG_CONFIG+:} false; then :
12228 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12233 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12234 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12235 ac_save_CPPFLAGS=$CPPFLAGS
12236 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12237 ac_gst_incl=""
12238 for i in $GSTREAMER_CFLAGS
12240 case "$i" in
12241 -I*) ac_gst_incl="$ac_gst_incl $i";;
12242 esac
12243 done
12244 GSTREAMER_CFLAGS=$ac_gst_incl
12245 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12246 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12247 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12248 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12249 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12251 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12253 /* end confdefs.h. */
12254 #include <gst/app/gstappsink.h>
12256 main ()
12258 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12260 return 0;
12262 _ACEOF
12263 if ac_fn_c_try_compile "$LINENO"; then :
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12265 $as_echo "yes" >&6; }
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12267 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12268 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12269 $as_echo_n "(cached) " >&6
12270 else
12271 ac_check_lib_save_LIBS=$LIBS
12272 LIBS="-lgstreamer-0.10 $LIBS"
12273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12274 /* end confdefs.h. */
12276 /* Override any GCC internal prototype to avoid an error.
12277 Use char because int might match the return type of a GCC
12278 builtin and then its argument prototype would still apply. */
12279 #ifdef __cplusplus
12280 extern "C"
12281 #endif
12282 char gst_pad_get_caps_reffed ();
12284 main ()
12286 return gst_pad_get_caps_reffed ();
12288 return 0;
12290 _ACEOF
12291 if ac_fn_c_try_link "$LINENO"; then :
12292 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12293 else
12294 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12296 rm -f core conftest.err conftest.$ac_objext \
12297 conftest$ac_exeext conftest.$ac_ext
12298 LIBS=$ac_check_lib_save_LIBS
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12301 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12302 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12304 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12305 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12306 $as_echo_n "(cached) " >&6
12307 else
12308 ac_check_lib_save_LIBS=$LIBS
12309 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12311 /* end confdefs.h. */
12313 /* Override any GCC internal prototype to avoid an error.
12314 Use char because int might match the return type of a GCC
12315 builtin and then its argument prototype would still apply. */
12316 #ifdef __cplusplus
12317 extern "C"
12318 #endif
12319 char gst_app_buffer_new ();
12321 main ()
12323 return gst_app_buffer_new ();
12325 return 0;
12327 _ACEOF
12328 if ac_fn_c_try_link "$LINENO"; then :
12329 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12330 else
12331 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12333 rm -f core conftest.err conftest.$ac_objext \
12334 conftest$ac_exeext conftest.$ac_ext
12335 LIBS=$ac_check_lib_save_LIBS
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12338 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12339 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12345 else
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12347 $as_echo "no" >&6; }
12349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12353 else
12354 GSTREAMER_CFLAGS=""
12358 CPPFLAGS=$ac_save_CPPFLAGS
12359 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12360 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12363 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12364 case "x$with_gstreamer" in
12365 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12366 xno) ;;
12367 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12368 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12369 esac
12371 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12373 ALSA_LIBS=""
12375 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12376 then
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12378 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12379 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12380 $as_echo_n "(cached) " >&6
12381 else
12382 ac_check_lib_save_LIBS=$LIBS
12383 LIBS="-lasound $LIBS"
12384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12385 /* end confdefs.h. */
12387 /* Override any GCC internal prototype to avoid an error.
12388 Use char because int might match the return type of a GCC
12389 builtin and then its argument prototype would still apply. */
12390 #ifdef __cplusplus
12391 extern "C"
12392 #endif
12393 char snd_pcm_hw_params_get_access_mask ();
12395 main ()
12397 return snd_pcm_hw_params_get_access_mask ();
12399 return 0;
12401 _ACEOF
12402 if ac_fn_c_try_link "$LINENO"; then :
12403 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12404 else
12405 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12407 rm -f core conftest.err conftest.$ac_objext \
12408 conftest$ac_exeext conftest.$ac_ext
12409 LIBS=$ac_check_lib_save_LIBS
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12412 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12413 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12415 /* end confdefs.h. */
12416 #ifdef HAVE_ALSA_ASOUNDLIB_H
12417 #include <alsa/asoundlib.h>
12418 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12419 #include <sys/asoundlib.h>
12420 #endif
12422 main ()
12424 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12426 return 0;
12428 _ACEOF
12429 if ac_fn_c_try_compile "$LINENO"; then :
12430 ALSA_LIBS="-lasound"
12432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12437 if test "x$with_oss" != xno
12438 then
12439 ac_save_CPPFLAGS="$CPPFLAGS"
12440 if test -f /etc/oss.conf
12441 then
12442 . /etc/oss.conf
12444 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12445 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12446 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12447 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12448 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12450 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12452 cat >>confdefs.h <<_ACEOF
12453 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12454 _ACEOF
12456 OSS4_CFLAGS="$ac_oss_incl"
12463 CPPFLAGS="$ac_save_CPPFLAGS"
12464 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12465 then
12466 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12470 if test "x$with_capi" != "xno"
12471 then
12472 if ${CAPI20_CFLAGS:+false} :; then :
12473 if ${PKG_CONFIG+:} false; then :
12474 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12478 if ${CAPI20_LIBS:+false} :; then :
12479 if ${PKG_CONFIG+:} false; then :
12480 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12485 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12486 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12487 ac_save_CPPFLAGS=$CPPFLAGS
12488 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12489 for ac_header in capi20.h linux/capi.h
12490 do :
12491 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12492 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12494 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12495 cat >>confdefs.h <<_ACEOF
12496 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12497 _ACEOF
12501 done
12503 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12504 then
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12506 $as_echo_n "checking for -lcapi20... " >&6; }
12507 if ${ac_cv_lib_soname_capi20+:} false; then :
12508 $as_echo_n "(cached) " >&6
12509 else
12510 ac_check_soname_save_LIBS=$LIBS
12511 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12513 /* end confdefs.h. */
12515 /* Override any GCC internal prototype to avoid an error.
12516 Use char because int might match the return type of a GCC
12517 builtin and then its argument prototype would still apply. */
12518 #ifdef __cplusplus
12519 extern "C"
12520 #endif
12521 char capi20_register ();
12523 main ()
12525 return capi20_register ();
12527 return 0;
12529 _ACEOF
12530 if ac_fn_c_try_link "$LINENO"; then :
12531 case "$LIBEXT" in
12532 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12533 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'` ;;
12534 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12535 if ${ac_cv_lib_soname_capi20:+false} :; then :
12536 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12537 fi ;;
12538 esac
12540 rm -f core conftest.err conftest.$ac_objext \
12541 conftest$ac_exeext conftest.$ac_ext
12542 LIBS=$ac_check_soname_save_LIBS
12544 if ${ac_cv_lib_soname_capi20:+false} :; then :
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12546 $as_echo "not found" >&6; }
12548 else
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12550 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12552 cat >>confdefs.h <<_ACEOF
12553 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12554 _ACEOF
12559 CPPFLAGS=$ac_save_CPPFLAGS
12560 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12561 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12564 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12565 case "x$with_capi" in
12566 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12567 xno) ;;
12568 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12569 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12570 esac
12573 CUPS_CFLAGS=""
12575 if test "x$with_cups" != "xno"
12576 then
12577 ac_save_CPPFLAGS="$CPPFLAGS"
12578 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12579 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12580 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12581 for ac_header in cups/cups.h
12582 do :
12583 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12584 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12585 cat >>confdefs.h <<_ACEOF
12586 #define HAVE_CUPS_CUPS_H 1
12587 _ACEOF
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12589 $as_echo_n "checking for -lcups... " >&6; }
12590 if ${ac_cv_lib_soname_cups+:} false; then :
12591 $as_echo_n "(cached) " >&6
12592 else
12593 ac_check_soname_save_LIBS=$LIBS
12594 LIBS="-lcups $ac_cups_libs $LIBS"
12595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12596 /* end confdefs.h. */
12598 /* Override any GCC internal prototype to avoid an error.
12599 Use char because int might match the return type of a GCC
12600 builtin and then its argument prototype would still apply. */
12601 #ifdef __cplusplus
12602 extern "C"
12603 #endif
12604 char cupsGetDefault ();
12606 main ()
12608 return cupsGetDefault ();
12610 return 0;
12612 _ACEOF
12613 if ac_fn_c_try_link "$LINENO"; then :
12614 case "$LIBEXT" in
12615 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12616 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'` ;;
12617 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12618 if ${ac_cv_lib_soname_cups:+false} :; then :
12619 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12620 fi ;;
12621 esac
12623 rm -f core conftest.err conftest.$ac_objext \
12624 conftest$ac_exeext conftest.$ac_ext
12625 LIBS=$ac_check_soname_save_LIBS
12627 if ${ac_cv_lib_soname_cups:+false} :; then :
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12629 $as_echo "not found" >&6; }
12631 else
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12633 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12635 cat >>confdefs.h <<_ACEOF
12636 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12637 _ACEOF
12639 CUPS_CFLAGS="$ac_cups_cflags"
12643 done
12645 CPPFLAGS="$ac_save_CPPFLAGS"
12647 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12648 case "x$with_cups" in
12649 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12650 xno) ;;
12651 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12652 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12653 esac
12656 if test "x$with_fontconfig" != "xno"
12657 then
12658 if ${FONTCONFIG_CFLAGS:+false} :; then :
12659 if ${PKG_CONFIG+:} false; then :
12660 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12663 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12664 if ${FONTCONFIG_LIBS:+false} :; then :
12665 if ${PKG_CONFIG+:} false; then :
12666 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12669 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12671 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12672 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12673 ac_save_CPPFLAGS=$CPPFLAGS
12674 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12675 for ac_header in fontconfig/fontconfig.h
12676 do :
12677 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12678 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12679 cat >>confdefs.h <<_ACEOF
12680 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12681 _ACEOF
12685 done
12687 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12688 then
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12690 $as_echo_n "checking for -lfontconfig... " >&6; }
12691 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12692 $as_echo_n "(cached) " >&6
12693 else
12694 ac_check_soname_save_LIBS=$LIBS
12695 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12697 /* end confdefs.h. */
12699 /* Override any GCC internal prototype to avoid an error.
12700 Use char because int might match the return type of a GCC
12701 builtin and then its argument prototype would still apply. */
12702 #ifdef __cplusplus
12703 extern "C"
12704 #endif
12705 char FcInit ();
12707 main ()
12709 return FcInit ();
12711 return 0;
12713 _ACEOF
12714 if ac_fn_c_try_link "$LINENO"; then :
12715 case "$LIBEXT" in
12716 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12717 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'` ;;
12718 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12719 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12720 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12721 fi ;;
12722 esac
12724 rm -f core conftest.err conftest.$ac_objext \
12725 conftest$ac_exeext conftest.$ac_ext
12726 LIBS=$ac_check_soname_save_LIBS
12728 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12730 $as_echo "not found" >&6; }
12731 FONTCONFIG_CFLAGS=""
12732 else
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12734 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12736 cat >>confdefs.h <<_ACEOF
12737 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12738 _ACEOF
12742 else
12743 FONTCONFIG_CFLAGS=""
12745 CPPFLAGS=$ac_save_CPPFLAGS
12746 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12747 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12750 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12751 case "x$with_fontconfig" in
12752 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12753 xno) ;;
12754 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12755 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12756 esac
12759 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12760 then
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12762 $as_echo_n "checking for -lgsm... " >&6; }
12763 if ${ac_cv_lib_soname_gsm+:} false; then :
12764 $as_echo_n "(cached) " >&6
12765 else
12766 ac_check_soname_save_LIBS=$LIBS
12767 LIBS="-lgsm $LIBS"
12768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12769 /* end confdefs.h. */
12771 /* Override any GCC internal prototype to avoid an error.
12772 Use char because int might match the return type of a GCC
12773 builtin and then its argument prototype would still apply. */
12774 #ifdef __cplusplus
12775 extern "C"
12776 #endif
12777 char gsm_create ();
12779 main ()
12781 return gsm_create ();
12783 return 0;
12785 _ACEOF
12786 if ac_fn_c_try_link "$LINENO"; then :
12787 case "$LIBEXT" in
12788 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12789 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'` ;;
12790 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12791 if ${ac_cv_lib_soname_gsm:+false} :; then :
12792 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12793 fi ;;
12794 esac
12796 rm -f core conftest.err conftest.$ac_objext \
12797 conftest$ac_exeext conftest.$ac_ext
12798 LIBS=$ac_check_soname_save_LIBS
12800 if ${ac_cv_lib_soname_gsm:+false} :; then :
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12802 $as_echo "not found" >&6; }
12804 else
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12806 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12808 cat >>confdefs.h <<_ACEOF
12809 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12810 _ACEOF
12815 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12816 case "x$with_gsm" in
12817 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12818 xno) ;;
12819 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12820 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12821 esac
12824 if test "x$with_jpeg" != "xno"
12825 then
12826 if ${JPEG_CFLAGS:+false} :; then :
12827 if ${PKG_CONFIG+:} false; then :
12828 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12832 if ${JPEG_LIBS:+false} :; then :
12833 if ${PKG_CONFIG+:} false; then :
12834 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12839 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12840 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12841 ac_save_CPPFLAGS=$CPPFLAGS
12842 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12843 for ac_header in jpeglib.h
12844 do :
12845 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12846 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12847 cat >>confdefs.h <<_ACEOF
12848 #define HAVE_JPEGLIB_H 1
12849 _ACEOF
12853 done
12855 if test "$ac_cv_header_jpeglib_h" = "yes"
12856 then
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12858 $as_echo_n "checking for -ljpeg... " >&6; }
12859 if ${ac_cv_lib_soname_jpeg+:} false; then :
12860 $as_echo_n "(cached) " >&6
12861 else
12862 ac_check_soname_save_LIBS=$LIBS
12863 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12865 /* end confdefs.h. */
12867 /* Override any GCC internal prototype to avoid an error.
12868 Use char because int might match the return type of a GCC
12869 builtin and then its argument prototype would still apply. */
12870 #ifdef __cplusplus
12871 extern "C"
12872 #endif
12873 char jpeg_start_decompress ();
12875 main ()
12877 return jpeg_start_decompress ();
12879 return 0;
12881 _ACEOF
12882 if ac_fn_c_try_link "$LINENO"; then :
12883 case "$LIBEXT" in
12884 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12885 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'` ;;
12886 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12887 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12888 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12889 fi ;;
12890 esac
12892 rm -f core conftest.err conftest.$ac_objext \
12893 conftest$ac_exeext conftest.$ac_ext
12894 LIBS=$ac_check_soname_save_LIBS
12896 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12898 $as_echo "not found" >&6; }
12899 JPEG_CFLAGS=""
12900 else
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12902 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12904 cat >>confdefs.h <<_ACEOF
12905 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12906 _ACEOF
12910 else
12911 JPEG_CFLAGS=""
12913 CPPFLAGS=$ac_save_CPPFLAGS
12914 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12915 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12918 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12919 case "x$with_jpeg" in
12920 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12921 xno) ;;
12922 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12923 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12924 esac
12927 if test "x$with_png" != "xno"
12928 then
12929 if ${PNG_CFLAGS:+false} :; then :
12930 if ${PKG_CONFIG+:} false; then :
12931 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12934 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12935 if ${PNG_LIBS:+false} :; then :
12936 if ${PKG_CONFIG+:} false; then :
12937 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12940 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12942 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12943 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12944 ac_save_CPPFLAGS=$CPPFLAGS
12945 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12946 for ac_header in png.h
12947 do :
12948 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12949 if test "x$ac_cv_header_png_h" = xyes; then :
12950 cat >>confdefs.h <<_ACEOF
12951 #define HAVE_PNG_H 1
12952 _ACEOF
12956 done
12958 if test "$ac_cv_header_png_h" = "yes"
12959 then
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12961 $as_echo_n "checking for -lpng... " >&6; }
12962 if ${ac_cv_lib_soname_png+:} false; then :
12963 $as_echo_n "(cached) " >&6
12964 else
12965 ac_check_soname_save_LIBS=$LIBS
12966 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12968 /* end confdefs.h. */
12970 /* Override any GCC internal prototype to avoid an error.
12971 Use char because int might match the return type of a GCC
12972 builtin and then its argument prototype would still apply. */
12973 #ifdef __cplusplus
12974 extern "C"
12975 #endif
12976 char png_create_read_struct ();
12978 main ()
12980 return png_create_read_struct ();
12982 return 0;
12984 _ACEOF
12985 if ac_fn_c_try_link "$LINENO"; then :
12986 case "$LIBEXT" in
12987 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12988 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'` ;;
12989 *) 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'`
12990 if ${ac_cv_lib_soname_png:+false} :; then :
12991 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12992 fi ;;
12993 esac
12995 rm -f core conftest.err conftest.$ac_objext \
12996 conftest$ac_exeext conftest.$ac_ext
12997 LIBS=$ac_check_soname_save_LIBS
12999 if ${ac_cv_lib_soname_png:+false} :; then :
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13001 $as_echo "not found" >&6; }
13002 PNG_CFLAGS=""
13003 else
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13005 $as_echo "$ac_cv_lib_soname_png" >&6; }
13007 cat >>confdefs.h <<_ACEOF
13008 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13009 _ACEOF
13011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13012 /* end confdefs.h. */
13013 #include <png.h>
13015 main ()
13017 typeof(png_set_expand_gray_1_2_4_to_8) *p
13019 return 0;
13021 _ACEOF
13022 if ac_fn_c_try_compile "$LINENO"; then :
13024 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13029 else
13030 PNG_CFLAGS=""
13032 CPPFLAGS=$ac_save_CPPFLAGS
13033 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13034 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13037 if test "x$ac_cv_lib_soname_png" = "x"; then :
13038 case "x$with_png" in
13039 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13040 xno) ;;
13041 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13042 This is an error since --with-png was requested." "$LINENO" 5 ;;
13043 esac
13046 if test "x$with_tiff" != "xno"
13047 then
13048 if ${TIFF_CFLAGS:+false} :; then :
13049 if ${PKG_CONFIG+:} false; then :
13050 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13054 if ${TIFF_LIBS:+false} :; then :
13055 if ${PKG_CONFIG+:} false; then :
13056 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13061 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13062 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13063 ac_save_CPPFLAGS=$CPPFLAGS
13064 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13065 for ac_header in tiffio.h
13066 do :
13067 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13068 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13069 cat >>confdefs.h <<_ACEOF
13070 #define HAVE_TIFFIO_H 1
13071 _ACEOF
13075 done
13077 if test "$ac_cv_header_tiffio_h" = "yes"
13078 then
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13080 $as_echo_n "checking for -ltiff... " >&6; }
13081 if ${ac_cv_lib_soname_tiff+:} false; then :
13082 $as_echo_n "(cached) " >&6
13083 else
13084 ac_check_soname_save_LIBS=$LIBS
13085 LIBS="-ltiff $TIFF_LIBS $LIBS"
13086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13087 /* end confdefs.h. */
13089 /* Override any GCC internal prototype to avoid an error.
13090 Use char because int might match the return type of a GCC
13091 builtin and then its argument prototype would still apply. */
13092 #ifdef __cplusplus
13093 extern "C"
13094 #endif
13095 char TIFFClientOpen ();
13097 main ()
13099 return TIFFClientOpen ();
13101 return 0;
13103 _ACEOF
13104 if ac_fn_c_try_link "$LINENO"; then :
13105 case "$LIBEXT" in
13106 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13107 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'` ;;
13108 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13109 if ${ac_cv_lib_soname_tiff:+false} :; then :
13110 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13111 fi ;;
13112 esac
13114 rm -f core conftest.err conftest.$ac_objext \
13115 conftest$ac_exeext conftest.$ac_ext
13116 LIBS=$ac_check_soname_save_LIBS
13118 if ${ac_cv_lib_soname_tiff:+false} :; then :
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13120 $as_echo "not found" >&6; }
13122 else
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13124 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13126 cat >>confdefs.h <<_ACEOF
13127 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13128 _ACEOF
13133 CPPFLAGS=$ac_save_CPPFLAGS
13134 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13135 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13138 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13139 case "x$with_tiff" in
13140 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13141 xno) ;;
13142 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13143 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13144 esac
13147 if test "x$with_mpg123" != "xno"
13148 then
13149 if ${MPG123_CFLAGS:+false} :; then :
13150 if ${PKG_CONFIG+:} false; then :
13151 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13155 if ${MPG123_LIBS:+false} :; then :
13156 if ${PKG_CONFIG+:} false; then :
13157 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13161 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13162 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13163 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13164 ac_save_CPPFLAGS=$CPPFLAGS
13165 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13166 for ac_header in mpg123.h
13167 do :
13168 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13169 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13170 cat >>confdefs.h <<_ACEOF
13171 #define HAVE_MPG123_H 1
13172 _ACEOF
13176 done
13178 if test "$ac_cv_header_mpg123_h" = "yes"
13179 then
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13181 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13182 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13183 $as_echo_n "(cached) " >&6
13184 else
13185 ac_check_lib_save_LIBS=$LIBS
13186 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13188 /* end confdefs.h. */
13190 /* Override any GCC internal prototype to avoid an error.
13191 Use char because int might match the return type of a GCC
13192 builtin and then its argument prototype would still apply. */
13193 #ifdef __cplusplus
13194 extern "C"
13195 #endif
13196 char mpg123_feed ();
13198 main ()
13200 return mpg123_feed ();
13202 return 0;
13204 _ACEOF
13205 if ac_fn_c_try_link "$LINENO"; then :
13206 ac_cv_lib_mpg123_mpg123_feed=yes
13207 else
13208 ac_cv_lib_mpg123_mpg123_feed=no
13210 rm -f core conftest.err conftest.$ac_objext \
13211 conftest$ac_exeext conftest.$ac_ext
13212 LIBS=$ac_check_lib_save_LIBS
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13215 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13216 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13218 else
13219 MPG123_LIBS=""
13222 else
13223 MPG123_CFLAGS=""
13224 MPG123_LIBS=""
13226 CPPFLAGS=$ac_save_CPPFLAGS
13227 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13228 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13231 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13232 case "x$with_mpg123" in
13233 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13234 xno) ;;
13235 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13236 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13237 esac
13239 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}
13241 if test "$ac_cv_header_AL_al_h" = "yes"
13242 then
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13244 $as_echo_n "checking for -lopenal... " >&6; }
13245 if ${ac_cv_lib_soname_openal+:} false; then :
13246 $as_echo_n "(cached) " >&6
13247 else
13248 ac_check_soname_save_LIBS=$LIBS
13249 LIBS="-lopenal $LIBS"
13250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13251 /* end confdefs.h. */
13253 /* Override any GCC internal prototype to avoid an error.
13254 Use char because int might match the return type of a GCC
13255 builtin and then its argument prototype would still apply. */
13256 #ifdef __cplusplus
13257 extern "C"
13258 #endif
13259 char alGetSource3i ();
13261 main ()
13263 return alGetSource3i ();
13265 return 0;
13267 _ACEOF
13268 if ac_fn_c_try_link "$LINENO"; then :
13269 case "$LIBEXT" in
13270 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13271 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'` ;;
13272 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13273 if ${ac_cv_lib_soname_openal:+false} :; then :
13274 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13275 fi ;;
13276 esac
13278 rm -f core conftest.err conftest.$ac_objext \
13279 conftest$ac_exeext conftest.$ac_ext
13280 LIBS=$ac_check_soname_save_LIBS
13282 if ${ac_cv_lib_soname_openal:+false} :; then :
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13284 $as_echo "not found" >&6; }
13286 else
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13288 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13290 cat >>confdefs.h <<_ACEOF
13291 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13292 _ACEOF
13294 OPENAL_LIBS="-lopenal"
13296 ac_cv_lib_openal=yes
13298 cat >>confdefs.h <<_ACEOF
13299 #define HAVE_OPENAL 1
13300 _ACEOF
13304 if test "x$ac_cv_lib_openal" != xyes; then :
13305 case "x$with_openal" in
13306 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13307 xno) ;;
13308 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13309 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13310 esac
13312 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13314 if test "$ac_cv_header_kstat_h" = "yes"
13315 then
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13317 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13318 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13319 $as_echo_n "(cached) " >&6
13320 else
13321 ac_check_lib_save_LIBS=$LIBS
13322 LIBS="-lkstat $LIBS"
13323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13324 /* end confdefs.h. */
13326 /* Override any GCC internal prototype to avoid an error.
13327 Use char because int might match the return type of a GCC
13328 builtin and then its argument prototype would still apply. */
13329 #ifdef __cplusplus
13330 extern "C"
13331 #endif
13332 char kstat_open ();
13334 main ()
13336 return kstat_open ();
13338 return 0;
13340 _ACEOF
13341 if ac_fn_c_try_link "$LINENO"; then :
13342 ac_cv_lib_kstat_kstat_open=yes
13343 else
13344 ac_cv_lib_kstat_kstat_open=no
13346 rm -f core conftest.err conftest.$ac_objext \
13347 conftest$ac_exeext conftest.$ac_ext
13348 LIBS=$ac_check_lib_save_LIBS
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13351 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13352 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13354 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13356 KSTAT_LIBS="-lkstat"
13362 if test "$ac_cv_header_libprocstat_h" = "yes"
13363 then
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13365 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13366 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13367 $as_echo_n "(cached) " >&6
13368 else
13369 ac_check_lib_save_LIBS=$LIBS
13370 LIBS="-lprocstat $LIBS"
13371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13372 /* end confdefs.h. */
13374 /* Override any GCC internal prototype to avoid an error.
13375 Use char because int might match the return type of a GCC
13376 builtin and then its argument prototype would still apply. */
13377 #ifdef __cplusplus
13378 extern "C"
13379 #endif
13380 char procstat_open_sysctl ();
13382 main ()
13384 return procstat_open_sysctl ();
13386 return 0;
13388 _ACEOF
13389 if ac_fn_c_try_link "$LINENO"; then :
13390 ac_cv_lib_procstat_procstat_open_sysctl=yes
13391 else
13392 ac_cv_lib_procstat_procstat_open_sysctl=no
13394 rm -f core conftest.err conftest.$ac_objext \
13395 conftest$ac_exeext conftest.$ac_ext
13396 LIBS=$ac_check_lib_save_LIBS
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13399 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13400 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13402 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13404 PROCSTAT_LIBS="-lprocstat"
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13411 $as_echo_n "checking for -lodbc... " >&6; }
13412 if ${ac_cv_lib_soname_odbc+:} false; then :
13413 $as_echo_n "(cached) " >&6
13414 else
13415 ac_check_soname_save_LIBS=$LIBS
13416 LIBS="-lodbc $LIBS"
13417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13418 /* end confdefs.h. */
13420 /* Override any GCC internal prototype to avoid an error.
13421 Use char because int might match the return type of a GCC
13422 builtin and then its argument prototype would still apply. */
13423 #ifdef __cplusplus
13424 extern "C"
13425 #endif
13426 char SQLConnect ();
13428 main ()
13430 return SQLConnect ();
13432 return 0;
13434 _ACEOF
13435 if ac_fn_c_try_link "$LINENO"; then :
13436 case "$LIBEXT" in
13437 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13438 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'` ;;
13439 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13440 if ${ac_cv_lib_soname_odbc:+false} :; then :
13441 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13442 fi ;;
13443 esac
13445 rm -f core conftest.err conftest.$ac_objext \
13446 conftest$ac_exeext conftest.$ac_ext
13447 LIBS=$ac_check_soname_save_LIBS
13449 if ${ac_cv_lib_soname_odbc:+false} :; then :
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13451 $as_echo "not found" >&6; }
13452 cat >>confdefs.h <<_ACEOF
13453 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13454 _ACEOF
13456 else
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13458 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13460 cat >>confdefs.h <<_ACEOF
13461 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13462 _ACEOF
13467 if test "x$with_netapi" != "xno"
13468 then
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13470 $as_echo_n "checking for -lnetapi... " >&6; }
13471 if ${ac_cv_lib_soname_netapi+:} false; then :
13472 $as_echo_n "(cached) " >&6
13473 else
13474 ac_check_soname_save_LIBS=$LIBS
13475 LIBS="-lnetapi $LIBS"
13476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13477 /* end confdefs.h. */
13479 /* Override any GCC internal prototype to avoid an error.
13480 Use char because int might match the return type of a GCC
13481 builtin and then its argument prototype would still apply. */
13482 #ifdef __cplusplus
13483 extern "C"
13484 #endif
13485 char libnetapi_init ();
13487 main ()
13489 return libnetapi_init ();
13491 return 0;
13493 _ACEOF
13494 if ac_fn_c_try_link "$LINENO"; then :
13495 case "$LIBEXT" in
13496 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13497 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'` ;;
13498 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13499 if ${ac_cv_lib_soname_netapi:+false} :; then :
13500 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13501 fi ;;
13502 esac
13504 rm -f core conftest.err conftest.$ac_objext \
13505 conftest$ac_exeext conftest.$ac_ext
13506 LIBS=$ac_check_soname_save_LIBS
13508 if ${ac_cv_lib_soname_netapi:+false} :; then :
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13510 $as_echo "not found" >&6; }
13511 cat >>confdefs.h <<_ACEOF
13512 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13513 _ACEOF
13515 else
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13517 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13519 cat >>confdefs.h <<_ACEOF
13520 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13521 _ACEOF
13527 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13528 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13529 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13530 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13532 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13533 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13534 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13535 then
13536 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13540 EXTRACFLAGS=""
13542 if test "x${GCC}" = "xyes"
13543 then
13544 EXTRACFLAGS="-Wall -pipe"
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13547 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13548 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13549 $as_echo_n "(cached) " >&6
13550 else
13551 if test "$cross_compiling" = yes; then :
13552 ac_cv_c_gcc_strength_bug="yes"
13553 else
13554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13555 /* end confdefs.h. */
13556 int L[4] = {0,1,2,3};
13558 main ()
13560 static int Array[3];
13561 unsigned int B = 3;
13562 int i;
13563 for(i=0; i<B; i++) Array[i] = i - 3;
13564 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13565 L[i] = 4;
13566 return (Array[1] != -2 || L[2] != 3)
13568 return 0;
13570 _ACEOF
13571 if ac_fn_c_try_run "$LINENO"; then :
13572 ac_cv_c_gcc_strength_bug="no"
13573 else
13574 ac_cv_c_gcc_strength_bug="yes"
13576 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13577 conftest.$ac_objext conftest.beam conftest.$ac_ext
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13582 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13583 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13584 then
13585 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13589 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13590 if ${ac_cv_cflags__fno_builtin+:} false; then :
13591 $as_echo_n "(cached) " >&6
13592 else
13593 ac_wine_try_cflags_saved=$CFLAGS
13594 CFLAGS="$CFLAGS -fno-builtin"
13595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13596 /* end confdefs.h. */
13597 int main(int argc, char **argv) { return 0; }
13598 _ACEOF
13599 if ac_fn_c_try_link "$LINENO"; then :
13600 ac_cv_cflags__fno_builtin=yes
13601 else
13602 ac_cv_cflags__fno_builtin=no
13604 rm -f core conftest.err conftest.$ac_objext \
13605 conftest$ac_exeext conftest.$ac_ext
13606 CFLAGS=$ac_wine_try_cflags_saved
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13609 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13610 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13611 BUILTINFLAG="-fno-builtin"
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13615 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13616 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13617 $as_echo_n "(cached) " >&6
13618 else
13619 ac_wine_try_cflags_saved=$CFLAGS
13620 CFLAGS="$CFLAGS -fno-strict-aliasing"
13621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13622 /* end confdefs.h. */
13623 int main(int argc, char **argv) { return 0; }
13624 _ACEOF
13625 if ac_fn_c_try_link "$LINENO"; then :
13626 ac_cv_cflags__fno_strict_aliasing=yes
13627 else
13628 ac_cv_cflags__fno_strict_aliasing=no
13630 rm -f core conftest.err conftest.$ac_objext \
13631 conftest$ac_exeext conftest.$ac_ext
13632 CFLAGS=$ac_wine_try_cflags_saved
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13635 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13636 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13637 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13639 saved_CFLAGS=$CFLAGS
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13641 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13642 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13643 $as_echo_n "(cached) " >&6
13644 else
13645 ac_wine_try_cflags_saved=$CFLAGS
13646 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13648 /* end confdefs.h. */
13649 int main(int argc, char **argv) { return 0; }
13650 _ACEOF
13651 if ac_fn_c_try_link "$LINENO"; then :
13652 ac_cv_cflags__Werror_unknown_warning_option=yes
13653 else
13654 ac_cv_cflags__Werror_unknown_warning_option=no
13656 rm -f core conftest.err conftest.$ac_objext \
13657 conftest$ac_exeext conftest.$ac_ext
13658 CFLAGS=$ac_wine_try_cflags_saved
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13661 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13662 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13663 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13666 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13667 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13668 $as_echo_n "(cached) " >&6
13669 else
13670 ac_wine_try_cflags_saved=$CFLAGS
13671 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13673 /* end confdefs.h. */
13674 int main(int argc, char **argv) { return 0; }
13675 _ACEOF
13676 if ac_fn_c_try_link "$LINENO"; then :
13677 ac_cv_cflags__Wdeclaration_after_statement=yes
13678 else
13679 ac_cv_cflags__Wdeclaration_after_statement=no
13681 rm -f core conftest.err conftest.$ac_objext \
13682 conftest$ac_exeext conftest.$ac_ext
13683 CFLAGS=$ac_wine_try_cflags_saved
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13686 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13687 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13688 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13691 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13692 if ${ac_cv_cflags__Wempty_body+:} false; then :
13693 $as_echo_n "(cached) " >&6
13694 else
13695 ac_wine_try_cflags_saved=$CFLAGS
13696 CFLAGS="$CFLAGS -Wempty-body"
13697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13698 /* end confdefs.h. */
13699 int main(int argc, char **argv) { return 0; }
13700 _ACEOF
13701 if ac_fn_c_try_link "$LINENO"; then :
13702 ac_cv_cflags__Wempty_body=yes
13703 else
13704 ac_cv_cflags__Wempty_body=no
13706 rm -f core conftest.err conftest.$ac_objext \
13707 conftest$ac_exeext conftest.$ac_ext
13708 CFLAGS=$ac_wine_try_cflags_saved
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13711 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13712 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13713 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13716 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13717 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13718 $as_echo_n "(cached) " >&6
13719 else
13720 ac_wine_try_cflags_saved=$CFLAGS
13721 CFLAGS="$CFLAGS -Wignored-qualifiers"
13722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13723 /* end confdefs.h. */
13724 int main(int argc, char **argv) { return 0; }
13725 _ACEOF
13726 if ac_fn_c_try_link "$LINENO"; then :
13727 ac_cv_cflags__Wignored_qualifiers=yes
13728 else
13729 ac_cv_cflags__Wignored_qualifiers=no
13731 rm -f core conftest.err conftest.$ac_objext \
13732 conftest$ac_exeext conftest.$ac_ext
13733 CFLAGS=$ac_wine_try_cflags_saved
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13736 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13737 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13738 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13741 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13742 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13743 $as_echo_n "(cached) " >&6
13744 else
13745 ac_wine_try_cflags_saved=$CFLAGS
13746 CFLAGS="$CFLAGS -Wstrict-prototypes"
13747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13748 /* end confdefs.h. */
13749 int main(int argc, char **argv) { return 0; }
13750 _ACEOF
13751 if ac_fn_c_try_link "$LINENO"; then :
13752 ac_cv_cflags__Wstrict_prototypes=yes
13753 else
13754 ac_cv_cflags__Wstrict_prototypes=no
13756 rm -f core conftest.err conftest.$ac_objext \
13757 conftest$ac_exeext conftest.$ac_ext
13758 CFLAGS=$ac_wine_try_cflags_saved
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13761 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13762 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13763 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13766 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13767 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13768 $as_echo_n "(cached) " >&6
13769 else
13770 ac_wine_try_cflags_saved=$CFLAGS
13771 CFLAGS="$CFLAGS -Wtype-limits"
13772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13773 /* end confdefs.h. */
13774 int main(int argc, char **argv) { return 0; }
13775 _ACEOF
13776 if ac_fn_c_try_link "$LINENO"; then :
13777 ac_cv_cflags__Wtype_limits=yes
13778 else
13779 ac_cv_cflags__Wtype_limits=no
13781 rm -f core conftest.err conftest.$ac_objext \
13782 conftest$ac_exeext conftest.$ac_ext
13783 CFLAGS=$ac_wine_try_cflags_saved
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13786 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13787 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13788 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13791 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13792 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13793 $as_echo_n "(cached) " >&6
13794 else
13795 ac_wine_try_cflags_saved=$CFLAGS
13796 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13798 /* end confdefs.h. */
13799 int main(int argc, char **argv) { return 0; }
13800 _ACEOF
13801 if ac_fn_c_try_link "$LINENO"; then :
13802 ac_cv_cflags__Wunused_but_set_parameter=yes
13803 else
13804 ac_cv_cflags__Wunused_but_set_parameter=no
13806 rm -f core conftest.err conftest.$ac_objext \
13807 conftest$ac_exeext conftest.$ac_ext
13808 CFLAGS=$ac_wine_try_cflags_saved
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13811 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13812 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13813 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13816 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13817 if ${ac_cv_cflags__Wvla+:} false; then :
13818 $as_echo_n "(cached) " >&6
13819 else
13820 ac_wine_try_cflags_saved=$CFLAGS
13821 CFLAGS="$CFLAGS -Wvla"
13822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13823 /* end confdefs.h. */
13824 int main(int argc, char **argv) { return 0; }
13825 _ACEOF
13826 if ac_fn_c_try_link "$LINENO"; then :
13827 ac_cv_cflags__Wvla=yes
13828 else
13829 ac_cv_cflags__Wvla=no
13831 rm -f core conftest.err conftest.$ac_objext \
13832 conftest$ac_exeext conftest.$ac_ext
13833 CFLAGS=$ac_wine_try_cflags_saved
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13836 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13837 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13838 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13841 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13842 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13843 $as_echo_n "(cached) " >&6
13844 else
13845 ac_wine_try_cflags_saved=$CFLAGS
13846 CFLAGS="$CFLAGS -Wwrite-strings"
13847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13848 /* end confdefs.h. */
13849 int main(int argc, char **argv) { return 0; }
13850 _ACEOF
13851 if ac_fn_c_try_link "$LINENO"; then :
13852 ac_cv_cflags__Wwrite_strings=yes
13853 else
13854 ac_cv_cflags__Wwrite_strings=no
13856 rm -f core conftest.err conftest.$ac_objext \
13857 conftest$ac_exeext conftest.$ac_ext
13858 CFLAGS=$ac_wine_try_cflags_saved
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13861 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13862 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13863 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13867 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13868 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13869 $as_echo_n "(cached) " >&6
13870 else
13871 ac_wine_try_cflags_saved=$CFLAGS
13872 CFLAGS="$CFLAGS -Wpointer-arith"
13873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13874 /* end confdefs.h. */
13875 int main(int argc, char **argv) { return 0; }
13876 _ACEOF
13877 if ac_fn_c_try_link "$LINENO"; then :
13878 ac_cv_cflags__Wpointer_arith=yes
13879 else
13880 ac_cv_cflags__Wpointer_arith=no
13882 rm -f core conftest.err conftest.$ac_objext \
13883 conftest$ac_exeext conftest.$ac_ext
13884 CFLAGS=$ac_wine_try_cflags_saved
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13887 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13888 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13889 saved_string_h_CFLAGS=$CFLAGS
13890 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13892 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13893 if ${ac_cv_c_string_h_warnings+:} false; then :
13894 $as_echo_n "(cached) " >&6
13895 else
13896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13897 /* end confdefs.h. */
13898 #include <string.h>
13900 main ()
13904 return 0;
13906 _ACEOF
13907 if ac_fn_c_try_compile "$LINENO"; then :
13908 ac_cv_c_string_h_warnings=no
13909 else
13910 ac_cv_c_string_h_warnings=yes
13912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13915 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13916 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13917 CFLAGS=$saved_string_h_CFLAGS
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13921 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13922 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13923 $as_echo_n "(cached) " >&6
13924 else
13925 ac_wine_try_cflags_saved=$CFLAGS
13926 CFLAGS="$CFLAGS -Wlogical-op"
13927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13928 /* end confdefs.h. */
13929 int main(int argc, char **argv) { return 0; }
13930 _ACEOF
13931 if ac_fn_c_try_link "$LINENO"; then :
13932 ac_cv_cflags__Wlogical_op=yes
13933 else
13934 ac_cv_cflags__Wlogical_op=no
13936 rm -f core conftest.err conftest.$ac_objext \
13937 conftest$ac_exeext conftest.$ac_ext
13938 CFLAGS=$ac_wine_try_cflags_saved
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13941 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13942 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13943 saved_string_h_CFLAGS=$CFLAGS
13944 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13946 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13947 if ${ac_cv_c_logicalop_noisy+:} false; then :
13948 $as_echo_n "(cached) " >&6
13949 else
13950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13951 /* end confdefs.h. */
13952 #include <string.h>
13953 char*f(const char *h,char n) {return strchr(h,n);}
13955 main ()
13959 return 0;
13961 _ACEOF
13962 if ac_fn_c_try_compile "$LINENO"; then :
13963 ac_cv_c_logicalop_noisy=no
13964 else
13965 ac_cv_c_logicalop_noisy=yes
13967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13970 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13971 CFLAGS=$saved_string_h_CFLAGS
13972 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13975 CFLAGS=$saved_CFLAGS
13977 for ac_flag in $CFLAGS; do
13978 case $ac_flag in
13979 -g) case $host_os in
13980 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13981 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13982 if ${ac_cv_cflags__gstabsp+:} false; then :
13983 $as_echo_n "(cached) " >&6
13984 else
13985 ac_wine_try_cflags_saved=$CFLAGS
13986 CFLAGS="$CFLAGS -gstabs+"
13987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13988 /* end confdefs.h. */
13989 int main(int argc, char **argv) { return 0; }
13990 _ACEOF
13991 if ac_fn_c_try_link "$LINENO"; then :
13992 ac_cv_cflags__gstabsp=yes
13993 else
13994 ac_cv_cflags__gstabsp=no
13996 rm -f core conftest.err conftest.$ac_objext \
13997 conftest$ac_exeext conftest.$ac_ext
13998 CFLAGS=$ac_wine_try_cflags_saved
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14001 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14002 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14003 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14004 fi ;;
14005 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14006 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14007 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14008 $as_echo_n "(cached) " >&6
14009 else
14010 ac_wine_try_cflags_saved=$CFLAGS
14011 CFLAGS="$CFLAGS -gdwarf-2"
14012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14013 /* end confdefs.h. */
14014 int main(int argc, char **argv) { return 0; }
14015 _ACEOF
14016 if ac_fn_c_try_link "$LINENO"; then :
14017 ac_cv_cflags__gdwarf_2=yes
14018 else
14019 ac_cv_cflags__gdwarf_2=no
14021 rm -f core conftest.err conftest.$ac_objext \
14022 conftest$ac_exeext conftest.$ac_ext
14023 CFLAGS=$ac_wine_try_cflags_saved
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14026 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14027 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14028 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14031 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14032 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14033 $as_echo_n "(cached) " >&6
14034 else
14035 ac_wine_try_cflags_saved=$CFLAGS
14036 CFLAGS="$CFLAGS -gstrict-dwarf"
14037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14038 /* end confdefs.h. */
14039 int main(int argc, char **argv) { return 0; }
14040 _ACEOF
14041 if ac_fn_c_try_link "$LINENO"; then :
14042 ac_cv_cflags__gstrict_dwarf=yes
14043 else
14044 ac_cv_cflags__gstrict_dwarf=no
14046 rm -f core conftest.err conftest.$ac_objext \
14047 conftest$ac_exeext conftest.$ac_ext
14048 CFLAGS=$ac_wine_try_cflags_saved
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14051 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14052 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14053 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14054 fi ;;
14055 esac ;;
14056 esac
14057 done
14059 case $host_cpu in
14060 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14061 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14062 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14063 $as_echo_n "(cached) " >&6
14064 else
14065 ac_wine_try_cflags_saved=$CFLAGS
14066 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14069 int main(int argc, char **argv) { return 0; }
14070 _ACEOF
14071 if ac_fn_c_try_link "$LINENO"; then :
14072 ac_cv_cflags__fno_omit_frame_pointer=yes
14073 else
14074 ac_cv_cflags__fno_omit_frame_pointer=no
14076 rm -f core conftest.err conftest.$ac_objext \
14077 conftest$ac_exeext conftest.$ac_ext
14078 CFLAGS=$ac_wine_try_cflags_saved
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14081 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14082 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14083 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14084 fi ;;
14085 esac
14087 case $host in
14088 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14089 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14090 if ${ac_cv_cflags__Wno_format+:} false; then :
14091 $as_echo_n "(cached) " >&6
14092 else
14093 ac_wine_try_cflags_saved=$CFLAGS
14094 CFLAGS="$CFLAGS -Wno-format"
14095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14096 /* end confdefs.h. */
14097 int main(int argc, char **argv) { return 0; }
14098 _ACEOF
14099 if ac_fn_c_try_link "$LINENO"; then :
14100 ac_cv_cflags__Wno_format=yes
14101 else
14102 ac_cv_cflags__Wno_format=no
14104 rm -f core conftest.err conftest.$ac_objext \
14105 conftest$ac_exeext conftest.$ac_ext
14106 CFLAGS=$ac_wine_try_cflags_saved
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14109 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14110 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14111 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14112 fi ;;
14113 esac
14115 if test "x$enable_maintainer_mode" = "xyes"
14116 then
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14118 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14119 if ${ac_cv_cflags__Werror+:} false; then :
14120 $as_echo_n "(cached) " >&6
14121 else
14122 ac_wine_try_cflags_saved=$CFLAGS
14123 CFLAGS="$CFLAGS -Werror"
14124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14125 /* end confdefs.h. */
14126 int main(int argc, char **argv) { return 0; }
14127 _ACEOF
14128 if ac_fn_c_try_link "$LINENO"; then :
14129 ac_cv_cflags__Werror=yes
14130 else
14131 ac_cv_cflags__Werror=no
14133 rm -f core conftest.err conftest.$ac_objext \
14134 conftest$ac_exeext conftest.$ac_ext
14135 CFLAGS=$ac_wine_try_cflags_saved
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14138 $as_echo "$ac_cv_cflags__Werror" >&6; }
14139 if test "x$ac_cv_cflags__Werror" = xyes; then :
14140 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14144 saved_CFLAGS="$CFLAGS"
14145 CFLAGS="$CFLAGS -Werror"
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14147 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14148 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14149 $as_echo_n "(cached) " >&6
14150 else
14151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14152 /* end confdefs.h. */
14153 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14155 main ()
14159 return 0;
14161 _ACEOF
14162 if ac_fn_c_try_compile "$LINENO"; then :
14163 ac_cv_have_ms_hook_prologue="yes"
14164 else
14165 ac_cv_have_ms_hook_prologue="no"
14167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14170 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14171 CFLAGS="$saved_CFLAGS"
14172 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14173 then
14175 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14177 else
14178 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14185 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14186 if ${ac_cv_c_fortify_enabled+:} false; then :
14187 $as_echo_n "(cached) " >&6
14188 else
14189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14190 /* end confdefs.h. */
14191 #include <string.h>
14193 main ()
14195 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14196 #error Fortify enabled
14197 #endif
14199 return 0;
14201 _ACEOF
14202 if ac_fn_c_try_compile "$LINENO"; then :
14203 ac_cv_c_fortify_enabled=no
14204 else
14205 ac_cv_c_fortify_enabled=yes
14207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14210 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14211 if test "$ac_cv_c_fortify_enabled" = yes
14212 then
14213 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14218 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14219 if ${ac_cv_c_extern_prefix+:} false; then :
14220 $as_echo_n "(cached) " >&6
14221 else
14222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14223 /* end confdefs.h. */
14224 extern int ac_test;
14226 main ()
14228 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14230 return 0;
14232 _ACEOF
14233 if ac_fn_c_try_link "$LINENO"; then :
14234 ac_cv_c_extern_prefix="yes"
14235 else
14236 ac_cv_c_extern_prefix="no"
14238 rm -f core conftest.err conftest.$ac_objext \
14239 conftest$ac_exeext conftest.$ac_ext
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14242 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14244 case $host_cpu in
14245 *i[3456789]86*)
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14247 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14248 if ${ac_cv_c_stdcall_suffix+:} false; then :
14249 $as_echo_n "(cached) " >&6
14250 else
14251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14252 /* end confdefs.h. */
14253 #ifndef _MSC_VER
14254 #define __stdcall __attribute__((__stdcall__))
14255 #endif
14256 int __stdcall ac_test(int i) { return i; }
14258 main ()
14260 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14262 return 0;
14264 _ACEOF
14265 if ac_fn_c_try_link "$LINENO"; then :
14266 ac_cv_c_stdcall_suffix="yes"
14267 else
14268 ac_cv_c_stdcall_suffix="no"
14270 rm -f core conftest.err conftest.$ac_objext \
14271 conftest$ac_exeext conftest.$ac_ext
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14274 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14275 *) ac_cv_c_stdcall_suffix="no" ;;
14276 esac
14279 if test "$ac_cv_c_extern_prefix" = "yes"
14280 then
14281 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14283 asm_name_prefix="_"
14284 else
14285 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14287 asm_name_prefix=""
14291 if test "$ac_cv_c_stdcall_suffix" = "yes"
14292 then
14293 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14295 else
14296 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14302 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14303 if ${ac_cv_asm_func_def+:} false; then :
14304 $as_echo_n "(cached) " >&6
14305 else
14306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14307 /* end confdefs.h. */
14310 main ()
14312 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14314 return 0;
14316 _ACEOF
14317 if ac_fn_c_try_link "$LINENO"; then :
14318 ac_cv_asm_func_def=".def"
14319 else
14320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14321 /* end confdefs.h. */
14324 main ()
14326 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14328 return 0;
14330 _ACEOF
14331 if ac_fn_c_try_link "$LINENO"; then :
14332 ac_cv_asm_func_def=".type @function"
14333 else
14334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14335 /* end confdefs.h. */
14338 main ()
14340 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14342 return 0;
14344 _ACEOF
14345 if ac_fn_c_try_link "$LINENO"; then :
14346 ac_cv_asm_func_def=".type 2"
14347 else
14348 ac_cv_asm_func_def="unknown"
14350 rm -f core conftest.err conftest.$ac_objext \
14351 conftest$ac_exeext conftest.$ac_ext
14353 rm -f core conftest.err conftest.$ac_objext \
14354 conftest$ac_exeext conftest.$ac_ext
14356 rm -f core conftest.err conftest.$ac_objext \
14357 conftest$ac_exeext conftest.$ac_ext
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14360 $as_echo "$ac_cv_asm_func_def" >&6; }
14363 case "$ac_cv_asm_func_def" in
14364 ".def")
14365 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14367 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14368 ".type @function")
14369 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14371 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14372 ".type 2")
14373 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14375 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14377 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14379 asm_func_header="" ;;
14380 esac
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14383 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14384 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14385 $as_echo_n "(cached) " >&6
14386 else
14387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14388 /* end confdefs.h. */
14389 asm(".text\n\t.long 0");
14391 main ()
14395 return 0;
14397 _ACEOF
14398 if ac_fn_c_try_compile "$LINENO"; then :
14399 ac_cv_c_asm_outside_funcs="yes"
14400 else
14401 ac_cv_c_asm_outside_funcs="no"
14403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14406 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14409 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14410 if ${ac_cv_c_dot_previous+:} false; then :
14411 $as_echo_n "(cached) " >&6
14412 else
14413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14414 /* end confdefs.h. */
14417 main ()
14419 asm(".text\nac_test:\t.long 0\n\t.previous");
14421 return 0;
14423 _ACEOF
14424 if ac_fn_c_try_link "$LINENO"; then :
14425 ac_cv_c_dot_previous="yes"
14426 else
14427 ac_cv_c_dot_previous="no"
14429 rm -f core conftest.err conftest.$ac_objext \
14430 conftest$ac_exeext conftest.$ac_ext
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14433 $as_echo "$ac_cv_c_dot_previous" >&6; }
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14436 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14437 if ${ac_cv_c_cfi_support+:} false; then :
14438 $as_echo_n "(cached) " >&6
14439 else
14440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14441 /* end confdefs.h. */
14442 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14444 main ()
14448 return 0;
14450 _ACEOF
14451 if ac_fn_c_try_compile "$LINENO"; then :
14452 ac_cv_c_cfi_support="yes"
14453 else
14454 ac_cv_c_cfi_support="no"
14456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14459 $as_echo "$ac_cv_c_cfi_support" >&6; }
14461 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14462 asm_func_trailer=""
14463 if test "$ac_cv_c_dot_previous" = "yes"
14464 then
14465 asm_func_trailer="\\n\\t.previous"
14467 if test "$ac_cv_c_cfi_support" = "yes"
14468 then
14469 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14470 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14472 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14474 UNWINDFLAGS=-fasynchronous-unwind-tables
14476 else
14477 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14481 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14484 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14485 then
14486 cat >>confdefs.h <<_ACEOF
14487 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14488 _ACEOF
14490 else
14491 cat >>confdefs.h <<_ACEOF
14492 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14493 _ACEOF
14497 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14500 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14504 case $build_os in
14505 cygwin*|mingw32*) TOOLSEXT=".exe"
14507 esac
14509 case $host_os in
14510 linux*)
14511 case $host_cpu in
14512 *i[3456789]86*|x86_64*)
14513 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14514 loader_programs="$loader_programs $wine_binary-preloader"
14515 as_fn_append LOADER_RULES "
14516 $wine_binary-preloader: preloader.o
14517 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14519 install install-lib:: $wine_binary-preloader
14520 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14522 uninstall::
14523 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14525 preloader_EXTRADEFS = $BUILTINFLAG
14526 " ;;
14527 esac
14529 esac
14530 as_fn_append LOADER_RULES "
14531 PROGRAMS = $loader_programs
14535 ac_save_CFLAGS="$CFLAGS"
14536 CFLAGS="$CFLAGS $BUILTINFLAG"
14537 for ac_func in \
14538 __res_get_state \
14539 __res_getservers \
14540 _finite \
14541 _isnan \
14542 _pclose \
14543 _popen \
14544 _snprintf \
14545 _spawnvp \
14546 _strdup \
14547 _stricmp \
14548 _strnicmp \
14549 _strtoi64 \
14550 _strtoui64 \
14551 _vsnprintf \
14552 asctime_r \
14553 chsize \
14554 dlopen \
14555 epoll_create \
14556 ffs \
14557 fnmatch \
14558 fork \
14559 fpclass \
14560 fstatfs \
14561 fstatvfs \
14562 ftruncate \
14563 futimens \
14564 futimes \
14565 futimesat \
14566 getattrlist \
14567 getdirentries \
14568 getopt_long_only \
14569 getpwuid \
14570 gettimeofday \
14571 getuid \
14572 if_nameindex \
14573 kqueue \
14574 lstat \
14575 memmove \
14576 mmap \
14577 pclose \
14578 pipe2 \
14579 poll \
14580 popen \
14581 port_create \
14582 prctl \
14583 pread \
14584 proc_pidinfo \
14585 pwrite \
14586 readdir \
14587 readlink \
14588 sched_yield \
14589 select \
14590 setproctitle \
14591 setrlimit \
14592 settimeofday \
14593 sigaltstack \
14594 sigprocmask \
14595 snprintf \
14596 statfs \
14597 statvfs \
14598 strcasecmp \
14599 strdup \
14600 strerror \
14601 strncasecmp \
14602 strtold \
14603 strtoll \
14604 strtoull \
14605 symlink \
14606 tcdrain \
14607 thr_kill2 \
14608 timegm \
14609 usleep \
14610 vsnprintf
14612 do :
14613 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14614 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14615 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14616 cat >>confdefs.h <<_ACEOF
14617 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14618 _ACEOF
14621 done
14623 CFLAGS="$ac_save_CFLAGS"
14625 if test "$ac_cv_func_dlopen" = no
14626 then
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14628 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14629 if ${ac_cv_lib_dl_dlopen+:} false; then :
14630 $as_echo_n "(cached) " >&6
14631 else
14632 ac_check_lib_save_LIBS=$LIBS
14633 LIBS="-ldl $LIBS"
14634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14635 /* end confdefs.h. */
14637 /* Override any GCC internal prototype to avoid an error.
14638 Use char because int might match the return type of a GCC
14639 builtin and then its argument prototype would still apply. */
14640 #ifdef __cplusplus
14641 extern "C"
14642 #endif
14643 char dlopen ();
14645 main ()
14647 return dlopen ();
14649 return 0;
14651 _ACEOF
14652 if ac_fn_c_try_link "$LINENO"; then :
14653 ac_cv_lib_dl_dlopen=yes
14654 else
14655 ac_cv_lib_dl_dlopen=no
14657 rm -f core conftest.err conftest.$ac_objext \
14658 conftest$ac_exeext conftest.$ac_ext
14659 LIBS=$ac_check_lib_save_LIBS
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14662 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14663 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14664 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14665 DL_LIBS="-ldl"
14670 ac_wine_check_funcs_save_LIBS="$LIBS"
14671 LIBS="$LIBS $DL_LIBS"
14672 for ac_func in dladdr
14673 do :
14674 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14675 if test "x$ac_cv_func_dladdr" = xyes; then :
14676 cat >>confdefs.h <<_ACEOF
14677 #define HAVE_DLADDR 1
14678 _ACEOF
14681 done
14683 LIBS="$ac_wine_check_funcs_save_LIBS"
14685 if test "$ac_cv_func_poll" = no
14686 then
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14688 $as_echo_n "checking for poll in -lpoll... " >&6; }
14689 if ${ac_cv_lib_poll_poll+:} false; then :
14690 $as_echo_n "(cached) " >&6
14691 else
14692 ac_check_lib_save_LIBS=$LIBS
14693 LIBS="-lpoll $LIBS"
14694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14695 /* end confdefs.h. */
14697 /* Override any GCC internal prototype to avoid an error.
14698 Use char because int might match the return type of a GCC
14699 builtin and then its argument prototype would still apply. */
14700 #ifdef __cplusplus
14701 extern "C"
14702 #endif
14703 char poll ();
14705 main ()
14707 return poll ();
14709 return 0;
14711 _ACEOF
14712 if ac_fn_c_try_link "$LINENO"; then :
14713 ac_cv_lib_poll_poll=yes
14714 else
14715 ac_cv_lib_poll_poll=no
14717 rm -f core conftest.err conftest.$ac_objext \
14718 conftest$ac_exeext conftest.$ac_ext
14719 LIBS=$ac_check_lib_save_LIBS
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14722 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14723 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14724 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14725 POLL_LIBS="-lpoll"
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14732 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14733 if ${ac_cv_search_gethostbyname+:} false; then :
14734 $as_echo_n "(cached) " >&6
14735 else
14736 ac_func_search_save_LIBS=$LIBS
14737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14738 /* end confdefs.h. */
14740 /* Override any GCC internal prototype to avoid an error.
14741 Use char because int might match the return type of a GCC
14742 builtin and then its argument prototype would still apply. */
14743 #ifdef __cplusplus
14744 extern "C"
14745 #endif
14746 char gethostbyname ();
14748 main ()
14750 return gethostbyname ();
14752 return 0;
14754 _ACEOF
14755 for ac_lib in '' nsl; do
14756 if test -z "$ac_lib"; then
14757 ac_res="none required"
14758 else
14759 ac_res=-l$ac_lib
14760 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14762 if ac_fn_c_try_link "$LINENO"; then :
14763 ac_cv_search_gethostbyname=$ac_res
14765 rm -f core conftest.err conftest.$ac_objext \
14766 conftest$ac_exeext
14767 if ${ac_cv_search_gethostbyname+:} false; then :
14768 break
14770 done
14771 if ${ac_cv_search_gethostbyname+:} false; then :
14773 else
14774 ac_cv_search_gethostbyname=no
14776 rm conftest.$ac_ext
14777 LIBS=$ac_func_search_save_LIBS
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14780 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14781 ac_res=$ac_cv_search_gethostbyname
14782 if test "$ac_res" != no; then :
14783 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14789 $as_echo_n "checking for library containing connect... " >&6; }
14790 if ${ac_cv_search_connect+:} false; then :
14791 $as_echo_n "(cached) " >&6
14792 else
14793 ac_func_search_save_LIBS=$LIBS
14794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14795 /* end confdefs.h. */
14797 /* Override any GCC internal prototype to avoid an error.
14798 Use char because int might match the return type of a GCC
14799 builtin and then its argument prototype would still apply. */
14800 #ifdef __cplusplus
14801 extern "C"
14802 #endif
14803 char connect ();
14805 main ()
14807 return connect ();
14809 return 0;
14811 _ACEOF
14812 for ac_lib in '' socket; do
14813 if test -z "$ac_lib"; then
14814 ac_res="none required"
14815 else
14816 ac_res=-l$ac_lib
14817 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14819 if ac_fn_c_try_link "$LINENO"; then :
14820 ac_cv_search_connect=$ac_res
14822 rm -f core conftest.err conftest.$ac_objext \
14823 conftest$ac_exeext
14824 if ${ac_cv_search_connect+:} false; then :
14825 break
14827 done
14828 if ${ac_cv_search_connect+:} false; then :
14830 else
14831 ac_cv_search_connect=no
14833 rm conftest.$ac_ext
14834 LIBS=$ac_func_search_save_LIBS
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14837 $as_echo "$ac_cv_search_connect" >&6; }
14838 ac_res=$ac_cv_search_connect
14839 if test "$ac_res" != no; then :
14840 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14846 $as_echo_n "checking for library containing inet_aton... " >&6; }
14847 if ${ac_cv_search_inet_aton+:} false; then :
14848 $as_echo_n "(cached) " >&6
14849 else
14850 ac_func_search_save_LIBS=$LIBS
14851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14852 /* end confdefs.h. */
14854 /* Override any GCC internal prototype to avoid an error.
14855 Use char because int might match the return type of a GCC
14856 builtin and then its argument prototype would still apply. */
14857 #ifdef __cplusplus
14858 extern "C"
14859 #endif
14860 char inet_aton ();
14862 main ()
14864 return inet_aton ();
14866 return 0;
14868 _ACEOF
14869 for ac_lib in '' resolv; do
14870 if test -z "$ac_lib"; then
14871 ac_res="none required"
14872 else
14873 ac_res=-l$ac_lib
14874 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14876 if ac_fn_c_try_link "$LINENO"; then :
14877 ac_cv_search_inet_aton=$ac_res
14879 rm -f core conftest.err conftest.$ac_objext \
14880 conftest$ac_exeext
14881 if ${ac_cv_search_inet_aton+:} false; then :
14882 break
14884 done
14885 if ${ac_cv_search_inet_aton+:} false; then :
14887 else
14888 ac_cv_search_inet_aton=no
14890 rm conftest.$ac_ext
14891 LIBS=$ac_func_search_save_LIBS
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14894 $as_echo "$ac_cv_search_inet_aton" >&6; }
14895 ac_res=$ac_cv_search_inet_aton
14896 if test "$ac_res" != no; then :
14897 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14902 for ac_func in \
14903 getaddrinfo \
14904 getnameinfo \
14905 getnetbyname \
14906 getprotobyname \
14907 getprotobynumber \
14908 getservbyport \
14909 inet_addr \
14910 inet_network \
14911 inet_ntop \
14912 inet_pton \
14913 sendmsg \
14914 socketpair \
14916 do :
14917 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14918 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14919 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14920 cat >>confdefs.h <<_ACEOF
14921 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14922 _ACEOF
14925 done
14928 ac_save_LIBS=$LIBS
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14930 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14931 if ${ac_cv_search_clock_gettime+:} false; then :
14932 $as_echo_n "(cached) " >&6
14933 else
14934 ac_func_search_save_LIBS=$LIBS
14935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14936 /* end confdefs.h. */
14938 /* Override any GCC internal prototype to avoid an error.
14939 Use char because int might match the return type of a GCC
14940 builtin and then its argument prototype would still apply. */
14941 #ifdef __cplusplus
14942 extern "C"
14943 #endif
14944 char clock_gettime ();
14946 main ()
14948 return clock_gettime ();
14950 return 0;
14952 _ACEOF
14953 for ac_lib in '' rt; do
14954 if test -z "$ac_lib"; then
14955 ac_res="none required"
14956 else
14957 ac_res=-l$ac_lib
14958 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14960 if ac_fn_c_try_link "$LINENO"; then :
14961 ac_cv_search_clock_gettime=$ac_res
14963 rm -f core conftest.err conftest.$ac_objext \
14964 conftest$ac_exeext
14965 if ${ac_cv_search_clock_gettime+:} false; then :
14966 break
14968 done
14969 if ${ac_cv_search_clock_gettime+:} false; then :
14971 else
14972 ac_cv_search_clock_gettime=no
14974 rm conftest.$ac_ext
14975 LIBS=$ac_func_search_save_LIBS
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14978 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14979 ac_res=$ac_cv_search_clock_gettime
14980 if test "$ac_res" != no; then :
14981 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14983 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14985 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14989 LIBS=$ac_save_LIBS
14991 LDAP_LIBS=""
14993 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14994 then
14995 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14997 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14999 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15000 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15001 $as_echo_n "(cached) " >&6
15002 else
15003 ac_check_lib_save_LIBS=$LIBS
15004 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15006 /* end confdefs.h. */
15008 /* Override any GCC internal prototype to avoid an error.
15009 Use char because int might match the return type of a GCC
15010 builtin and then its argument prototype would still apply. */
15011 #ifdef __cplusplus
15012 extern "C"
15013 #endif
15014 char ldap_initialize ();
15016 main ()
15018 return ldap_initialize ();
15020 return 0;
15022 _ACEOF
15023 if ac_fn_c_try_link "$LINENO"; then :
15024 ac_cv_lib_ldap_r_ldap_initialize=yes
15025 else
15026 ac_cv_lib_ldap_r_ldap_initialize=no
15028 rm -f core conftest.err conftest.$ac_objext \
15029 conftest$ac_exeext conftest.$ac_ext
15030 LIBS=$ac_check_lib_save_LIBS
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15033 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15034 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15036 $as_echo_n "checking for ber_init in -llber... " >&6; }
15037 if ${ac_cv_lib_lber_ber_init+:} false; then :
15038 $as_echo_n "(cached) " >&6
15039 else
15040 ac_check_lib_save_LIBS=$LIBS
15041 LIBS="-llber $PTHREAD_LIBS $LIBS"
15042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15043 /* end confdefs.h. */
15045 /* Override any GCC internal prototype to avoid an error.
15046 Use char because int might match the return type of a GCC
15047 builtin and then its argument prototype would still apply. */
15048 #ifdef __cplusplus
15049 extern "C"
15050 #endif
15051 char ber_init ();
15053 main ()
15055 return ber_init ();
15057 return 0;
15059 _ACEOF
15060 if ac_fn_c_try_link "$LINENO"; then :
15061 ac_cv_lib_lber_ber_init=yes
15062 else
15063 ac_cv_lib_lber_ber_init=no
15065 rm -f core conftest.err conftest.$ac_objext \
15066 conftest$ac_exeext conftest.$ac_ext
15067 LIBS=$ac_check_lib_save_LIBS
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15070 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15071 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15073 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15075 LDAP_LIBS="-lldap_r -llber"
15082 ac_wine_check_funcs_save_LIBS="$LIBS"
15083 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15084 for ac_func in \
15085 ldap_count_references \
15086 ldap_first_reference \
15087 ldap_next_reference \
15088 ldap_parse_reference \
15089 ldap_parse_sort_control \
15090 ldap_parse_sortresponse_control \
15091 ldap_parse_vlv_control \
15092 ldap_parse_vlvresponse_control
15093 do :
15094 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15095 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15096 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15097 cat >>confdefs.h <<_ACEOF
15098 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15099 _ACEOF
15102 done
15104 LIBS="$ac_wine_check_funcs_save_LIBS"
15106 if test "x$LDAP_LIBS" = "x"; then :
15107 case "x$with_ldap" in
15108 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15109 xno) ;;
15110 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15111 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15112 esac
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15116 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15117 if ${wine_cv_one_arg_mkdir+:} false; then :
15118 $as_echo_n "(cached) " >&6
15119 else
15120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15121 /* end confdefs.h. */
15122 #include <sys/stat.h>
15124 main ()
15126 mkdir("foo");
15128 return 0;
15130 _ACEOF
15131 if ac_fn_c_try_compile "$LINENO"; then :
15132 wine_cv_one_arg_mkdir=yes
15133 else
15134 wine_cv_one_arg_mkdir=no
15136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15139 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15140 if test "$wine_cv_one_arg_mkdir" = "yes"
15141 then
15143 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15148 $as_echo_n "checking for sched_setaffinity... " >&6; }
15149 if ${wine_cv_have_sched_setaffinity+:} false; then :
15150 $as_echo_n "(cached) " >&6
15151 else
15152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15153 /* end confdefs.h. */
15154 #define _GNU_SOURCE
15155 #include <sched.h>
15157 main ()
15159 sched_setaffinity(0, 0, 0);
15161 return 0;
15163 _ACEOF
15164 if ac_fn_c_try_link "$LINENO"; then :
15165 wine_cv_have_sched_setaffinity=yes
15166 else
15167 wine_cv_have_sched_setaffinity=no
15169 rm -f core conftest.err conftest.$ac_objext \
15170 conftest$ac_exeext conftest.$ac_ext
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15173 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15174 if test "$wine_cv_have_sched_setaffinity" = "yes"
15175 then
15177 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15182 $as_echo_n "checking for fallocate... " >&6; }
15183 if ${wine_cv_have_fallocate+:} false; then :
15184 $as_echo_n "(cached) " >&6
15185 else
15186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15187 /* end confdefs.h. */
15188 #define _GNU_SOURCE
15189 #include <fcntl.h>
15191 main ()
15193 fallocate(-1, 0, 0, 0);
15195 return 0;
15197 _ACEOF
15198 if ac_fn_c_try_link "$LINENO"; then :
15199 wine_cv_have_fallocate=yes
15200 else
15201 wine_cv_have_fallocate=no
15203 rm -f core conftest.err conftest.$ac_objext \
15204 conftest$ac_exeext conftest.$ac_ext
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15207 $as_echo "$wine_cv_have_fallocate" >&6; }
15208 if test "$wine_cv_have_fallocate" = "yes"
15209 then
15211 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15217 $as_echo_n "checking for inline... " >&6; }
15218 if ${ac_cv_c_inline+:} false; then :
15219 $as_echo_n "(cached) " >&6
15220 else
15221 ac_cv_c_inline=no
15222 for ac_kw in inline __inline__ __inline; do
15223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15224 /* end confdefs.h. */
15225 #ifndef __cplusplus
15226 typedef int foo_t;
15227 static $ac_kw foo_t static_foo () {return 0; }
15228 $ac_kw foo_t foo () {return 0; }
15229 #endif
15231 _ACEOF
15232 if ac_fn_c_try_compile "$LINENO"; then :
15233 ac_cv_c_inline=$ac_kw
15235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15236 test "$ac_cv_c_inline" != no && break
15237 done
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15241 $as_echo "$ac_cv_c_inline" >&6; }
15243 case $ac_cv_c_inline in
15244 inline | yes) ;;
15246 case $ac_cv_c_inline in
15247 no) ac_val=;;
15248 *) ac_val=$ac_cv_c_inline;;
15249 esac
15250 cat >>confdefs.h <<_ACEOF
15251 #ifndef __cplusplus
15252 #define inline $ac_val
15253 #endif
15254 _ACEOF
15256 esac
15258 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15259 if test "x$ac_cv_type_mode_t" = xyes; then :
15261 cat >>confdefs.h <<_ACEOF
15262 #define HAVE_MODE_T 1
15263 _ACEOF
15267 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15268 if test "x$ac_cv_type_off_t" = xyes; then :
15270 cat >>confdefs.h <<_ACEOF
15271 #define HAVE_OFF_T 1
15272 _ACEOF
15276 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15277 if test "x$ac_cv_type_pid_t" = xyes; then :
15279 cat >>confdefs.h <<_ACEOF
15280 #define HAVE_PID_T 1
15281 _ACEOF
15285 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15286 if test "x$ac_cv_type_size_t" = xyes; then :
15288 cat >>confdefs.h <<_ACEOF
15289 #define HAVE_SIZE_T 1
15290 _ACEOF
15294 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15295 if test "x$ac_cv_type_ssize_t" = xyes; then :
15297 cat >>confdefs.h <<_ACEOF
15298 #define HAVE_SSIZE_T 1
15299 _ACEOF
15303 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15304 if test "x$ac_cv_type_long_long" = xyes; then :
15306 cat >>confdefs.h <<_ACEOF
15307 #define HAVE_LONG_LONG 1
15308 _ACEOF
15312 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15313 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15315 cat >>confdefs.h <<_ACEOF
15316 #define HAVE_FSBLKCNT_T 1
15317 _ACEOF
15321 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15322 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15324 cat >>confdefs.h <<_ACEOF
15325 #define HAVE_FSFILCNT_T 1
15326 _ACEOF
15331 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15332 #include <signal.h>
15334 if test "x$ac_cv_type_sigset_t" = xyes; then :
15336 cat >>confdefs.h <<_ACEOF
15337 #define HAVE_SIGSET_T 1
15338 _ACEOF
15343 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15345 if test "x$ac_cv_type_request_sense" = xyes; then :
15347 cat >>confdefs.h <<_ACEOF
15348 #define HAVE_REQUEST_SENSE 1
15349 _ACEOF
15355 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15356 #ifdef HAVE_SYS_SOCKET_H
15357 #include <sys/socket.h>
15358 #endif
15359 #ifdef HAVE_SYS_SOCKETVAR_H
15360 #include <sys/socketvar.h>
15361 #endif
15362 #ifdef HAVE_NET_ROUTE_H
15363 #include <net/route.h>
15364 #endif
15365 #ifdef HAVE_NETINET_IN_H
15366 #include <netinet/in.h>
15367 #endif
15368 #ifdef HAVE_NETINET_IN_SYSTM_H
15369 #include <netinet/in_systm.h>
15370 #endif
15371 #ifdef HAVE_NETINET_IP_H
15372 #include <netinet/ip.h>
15373 #endif
15374 #ifdef HAVE_NETINET_IN_PCB_H
15375 #include <netinet/in_pcb.h>
15376 #endif
15378 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15380 cat >>confdefs.h <<_ACEOF
15381 #define HAVE_STRUCT_XINPGEN 1
15382 _ACEOF
15388 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15389 #include <link.h>
15390 #endif
15391 #ifdef HAVE_SYS_LINK_H
15392 #include <sys/link.h>
15393 #endif
15395 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15397 cat >>confdefs.h <<_ACEOF
15398 #define HAVE_STRUCT_R_DEBUG 1
15399 _ACEOF
15403 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15404 #include <link.h>
15405 #endif
15406 #ifdef HAVE_SYS_LINK_H
15407 #include <sys/link.h>
15408 #endif
15410 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15412 cat >>confdefs.h <<_ACEOF
15413 #define HAVE_STRUCT_LINK_MAP 1
15414 _ACEOF
15420 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15421 #include <linux/input.h>
15422 #endif
15424 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15426 cat >>confdefs.h <<_ACEOF
15427 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15428 _ACEOF
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15435 $as_echo_n "checking for sigaddset... " >&6; }
15436 if ${wine_cv_have_sigaddset+:} false; then :
15437 $as_echo_n "(cached) " >&6
15438 else
15439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15440 /* end confdefs.h. */
15441 #include <signal.h>
15443 main ()
15445 sigset_t set; sigaddset(&set,SIGTERM);
15447 return 0;
15449 _ACEOF
15450 if ac_fn_c_try_link "$LINENO"; then :
15451 wine_cv_have_sigaddset=yes
15452 else
15453 wine_cv_have_sigaddset=no
15455 rm -f core conftest.err conftest.$ac_objext \
15456 conftest$ac_exeext conftest.$ac_ext
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15459 $as_echo "$wine_cv_have_sigaddset" >&6; }
15460 if test "$wine_cv_have_sigaddset" = "yes"
15461 then
15463 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15469 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15470 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15471 $as_echo_n "(cached) " >&6
15472 else
15473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15474 /* end confdefs.h. */
15475 #include <netdb.h>
15477 main ()
15480 char *name=0;
15481 struct hostent he;
15482 struct hostent *result;
15483 char *buf=0;
15484 int bufsize=0;
15485 int errnr;
15486 char *addr=0;
15487 int addrlen=0;
15488 int addrtype=0;
15489 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15490 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15493 return 0;
15495 _ACEOF
15496 if ac_fn_c_try_link "$LINENO"; then :
15497 wine_cv_linux_gethostbyname_r_6=yes
15498 else
15499 wine_cv_linux_gethostbyname_r_6=no
15502 rm -f core conftest.err conftest.$ac_objext \
15503 conftest$ac_exeext conftest.$ac_ext
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15507 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15508 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15509 then
15511 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15515 if test "$ac_cv_header_linux_joystick_h" = "yes"
15516 then
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15518 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15519 if ${wine_cv_linux_joystick_22_api+:} false; then :
15520 $as_echo_n "(cached) " >&6
15521 else
15522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15523 /* end confdefs.h. */
15525 #include <sys/ioctl.h>
15526 #include <sys/types.h>
15527 #include <linux/joystick.h>
15529 struct js_event blub;
15530 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15531 #error "no 2.2 header"
15532 #endif
15535 main ()
15537 /*empty*/
15539 return 0;
15541 _ACEOF
15542 if ac_fn_c_try_compile "$LINENO"; then :
15543 wine_cv_linux_joystick_22_api=yes
15544 else
15545 wine_cv_linux_joystick_22_api=no
15547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15551 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15552 if test "$wine_cv_linux_joystick_22_api" = "yes"
15553 then
15555 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15561 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15562 #ifdef HAVE_SYS_PARAM_H
15563 # include <sys/param.h>
15564 #endif
15565 #ifdef HAVE_SYS_MOUNT_H
15566 # include <sys/mount.h>
15567 #endif
15568 #ifdef HAVE_SYS_VFS_H
15569 # include <sys/vfs.h>
15570 #endif
15571 #ifdef HAVE_SYS_STATFS_H
15572 # include <sys/statfs.h>
15573 #endif
15575 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15577 cat >>confdefs.h <<_ACEOF
15578 #define HAVE_STRUCT_STATFS_F_BFREE 1
15579 _ACEOF
15583 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15584 #ifdef HAVE_SYS_PARAM_H
15585 # include <sys/param.h>
15586 #endif
15587 #ifdef HAVE_SYS_MOUNT_H
15588 # include <sys/mount.h>
15589 #endif
15590 #ifdef HAVE_SYS_VFS_H
15591 # include <sys/vfs.h>
15592 #endif
15593 #ifdef HAVE_SYS_STATFS_H
15594 # include <sys/statfs.h>
15595 #endif
15597 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15599 cat >>confdefs.h <<_ACEOF
15600 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15601 _ACEOF
15605 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15606 #ifdef HAVE_SYS_PARAM_H
15607 # include <sys/param.h>
15608 #endif
15609 #ifdef HAVE_SYS_MOUNT_H
15610 # include <sys/mount.h>
15611 #endif
15612 #ifdef HAVE_SYS_VFS_H
15613 # include <sys/vfs.h>
15614 #endif
15615 #ifdef HAVE_SYS_STATFS_H
15616 # include <sys/statfs.h>
15617 #endif
15619 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15621 cat >>confdefs.h <<_ACEOF
15622 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15623 _ACEOF
15627 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15628 #ifdef HAVE_SYS_PARAM_H
15629 # include <sys/param.h>
15630 #endif
15631 #ifdef HAVE_SYS_MOUNT_H
15632 # include <sys/mount.h>
15633 #endif
15634 #ifdef HAVE_SYS_VFS_H
15635 # include <sys/vfs.h>
15636 #endif
15637 #ifdef HAVE_SYS_STATFS_H
15638 # include <sys/statfs.h>
15639 #endif
15641 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15643 cat >>confdefs.h <<_ACEOF
15644 #define HAVE_STRUCT_STATFS_F_FFREE 1
15645 _ACEOF
15649 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15650 #ifdef HAVE_SYS_PARAM_H
15651 # include <sys/param.h>
15652 #endif
15653 #ifdef HAVE_SYS_MOUNT_H
15654 # include <sys/mount.h>
15655 #endif
15656 #ifdef HAVE_SYS_VFS_H
15657 # include <sys/vfs.h>
15658 #endif
15659 #ifdef HAVE_SYS_STATFS_H
15660 # include <sys/statfs.h>
15661 #endif
15663 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15665 cat >>confdefs.h <<_ACEOF
15666 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15667 _ACEOF
15671 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15672 #ifdef HAVE_SYS_PARAM_H
15673 # include <sys/param.h>
15674 #endif
15675 #ifdef HAVE_SYS_MOUNT_H
15676 # include <sys/mount.h>
15677 #endif
15678 #ifdef HAVE_SYS_VFS_H
15679 # include <sys/vfs.h>
15680 #endif
15681 #ifdef HAVE_SYS_STATFS_H
15682 # include <sys/statfs.h>
15683 #endif
15685 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15687 cat >>confdefs.h <<_ACEOF
15688 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15689 _ACEOF
15695 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15696 #include <sys/statvfs.h>
15697 #endif
15699 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15701 cat >>confdefs.h <<_ACEOF
15702 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15703 _ACEOF
15709 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15710 #include <dirent.h>
15711 #endif
15713 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15715 cat >>confdefs.h <<_ACEOF
15716 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15717 _ACEOF
15723 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15724 #ifdef HAVE_SYS_SOCKET_H
15725 # include <sys/socket.h>
15726 #endif
15727 #ifdef HAVE_SYS_UN_H
15728 # include <sys/un.h>
15729 #endif
15731 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15733 cat >>confdefs.h <<_ACEOF
15734 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15735 _ACEOF
15739 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15740 #ifdef HAVE_SYS_SOCKET_H
15741 # include <sys/socket.h>
15742 #endif
15743 #ifdef HAVE_SYS_UN_H
15744 # include <sys/un.h>
15745 #endif
15747 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15749 cat >>confdefs.h <<_ACEOF
15750 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15751 _ACEOF
15755 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15756 #ifdef HAVE_SYS_SOCKET_H
15757 # include <sys/socket.h>
15758 #endif
15759 #ifdef HAVE_SYS_UN_H
15760 # include <sys/un.h>
15761 #endif
15763 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15765 cat >>confdefs.h <<_ACEOF
15766 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15767 _ACEOF
15773 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15774 #ifdef HAVE_SCSI_SG_H
15775 #include <scsi/sg.h>
15776 #endif
15778 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15780 cat >>confdefs.h <<_ACEOF
15781 #define HAVE_SCSIREQ_T_CMD 1
15782 _ACEOF
15786 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>
15787 #ifdef HAVE_SCSI_SG_H
15788 #include <scsi/sg.h>
15789 #endif
15791 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15793 cat >>confdefs.h <<_ACEOF
15794 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15795 _ACEOF
15801 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15803 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15805 cat >>confdefs.h <<_ACEOF
15806 #define HAVE_SIGINFO_T_SI_FD 1
15807 _ACEOF
15813 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15814 #ifdef HAVE_SYS_MTIO_H
15815 #include <sys/mtio.h>
15816 #endif
15818 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15820 cat >>confdefs.h <<_ACEOF
15821 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15822 _ACEOF
15826 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15827 #ifdef HAVE_SYS_MTIO_H
15828 #include <sys/mtio.h>
15829 #endif
15831 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15833 cat >>confdefs.h <<_ACEOF
15834 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15835 _ACEOF
15839 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15840 #ifdef HAVE_SYS_MTIO_H
15841 #include <sys/mtio.h>
15842 #endif
15844 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15846 cat >>confdefs.h <<_ACEOF
15847 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15848 _ACEOF
15854 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15855 #include <getopt.h>
15856 #endif
15858 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15860 cat >>confdefs.h <<_ACEOF
15861 #define HAVE_STRUCT_OPTION_NAME 1
15862 _ACEOF
15868 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15869 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15871 cat >>confdefs.h <<_ACEOF
15872 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15873 _ACEOF
15877 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15878 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15880 cat >>confdefs.h <<_ACEOF
15881 #define HAVE_STRUCT_STAT_ST_MTIM 1
15882 _ACEOF
15886 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15887 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15889 cat >>confdefs.h <<_ACEOF
15890 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15891 _ACEOF
15895 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15896 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15898 cat >>confdefs.h <<_ACEOF
15899 #define HAVE_STRUCT_STAT_ST_CTIM 1
15900 _ACEOF
15904 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15905 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15907 cat >>confdefs.h <<_ACEOF
15908 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15909 _ACEOF
15913 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15914 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15916 cat >>confdefs.h <<_ACEOF
15917 #define HAVE_STRUCT_STAT_ST_ATIM 1
15918 _ACEOF
15922 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15923 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15925 cat >>confdefs.h <<_ACEOF
15926 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15927 _ACEOF
15931 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15932 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15934 cat >>confdefs.h <<_ACEOF
15935 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15936 _ACEOF
15940 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15941 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15943 cat >>confdefs.h <<_ACEOF
15944 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15945 _ACEOF
15949 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15950 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15952 cat >>confdefs.h <<_ACEOF
15953 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15954 _ACEOF
15958 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15959 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15961 cat >>confdefs.h <<_ACEOF
15962 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15963 _ACEOF
15967 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15968 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15970 cat >>confdefs.h <<_ACEOF
15971 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15972 _ACEOF
15978 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
15979 #include <sys/types.h>
15980 #endif
15981 #ifdef HAVE_NETINET_IN_H
15982 #include <netinet/in.h>
15983 #endif
15985 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15987 cat >>confdefs.h <<_ACEOF
15988 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15989 _ACEOF
15995 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15996 #include <resolv.h>
15997 #endif
15999 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16001 cat >>confdefs.h <<_ACEOF
16002 #define HAVE_STRUCT___RES_STATE 1
16003 _ACEOF
16009 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
16010 #include <resolv.h>
16011 #endif
16013 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16015 cat >>confdefs.h <<_ACEOF
16016 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16017 _ACEOF
16023 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16024 #include <sys/types.h>
16025 #endif
16026 #ifdef HAVE_NETINET_IN_H
16027 # include <netinet/in.h>
16028 #endif
16029 #ifdef HAVE_ARPA_NAMESER_H
16030 # include <arpa/nameser.h>
16031 #endif
16033 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16035 cat >>confdefs.h <<_ACEOF
16036 #define HAVE_NS_MSG__MSG_PTR 1
16037 _ACEOF
16043 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16044 #include <sys/types.h>
16045 #endif
16046 #ifdef HAVE_NETINET_IP_H
16047 #include <netinet/ip.h>
16048 #endif
16049 #ifdef HAVE_NETINET_IP_ICMP_H
16050 #include <netinet/ip_icmp.h>
16051 #endif
16052 #ifdef HAVE_NETINET_ICMP_VAR_H
16053 #include <netinet/icmp_var.h>
16054 #endif
16056 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16058 cat >>confdefs.h <<_ACEOF
16059 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16060 _ACEOF
16066 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16067 #include <sys/types.h>
16068 #endif
16069 #ifdef HAVE_ALIAS_H
16070 #include <alias.h>
16071 #endif
16072 #ifdef HAVE_SYS_SOCKET_H
16073 #include <sys/socket.h>
16074 #endif
16075 #ifdef HAVE_SYS_SOCKETVAR_H
16076 #include <sys/socketvar.h>
16077 #endif
16078 #ifdef HAVE_SYS_TIMEOUT_H
16079 #include <sys/timeout.h>
16080 #endif
16081 #ifdef HAVE_NETINET_IN_H
16082 #include <netinet/in.h>
16083 #endif
16084 #ifdef HAVE_NETINET_IN_SYSTM_H
16085 #include <netinet/in_systm.h>
16086 #endif
16087 #ifdef HAVE_NETINET_IP_H
16088 #include <netinet/ip.h>
16089 #endif
16090 #ifdef HAVE_NETINET_IP_VAR_H
16091 #include <netinet/ip_var.h>
16092 #endif
16093 #ifdef HAVE_NETINET_IP_ICMP_H
16094 #include <netinet/ip_icmp.h>
16095 #endif
16096 #ifdef HAVE_NETINET_ICMP_VAR_H
16097 #include <netinet/icmp_var.h>
16098 #endif
16100 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16102 cat >>confdefs.h <<_ACEOF
16103 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16104 _ACEOF
16110 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16111 #include <sys/types.h>
16112 #endif
16113 #ifdef HAVE_SYS_SOCKETVAR_H
16114 #include <sys/socketvar.h>
16115 #endif
16116 #ifdef HAVE_NETINET_IN_H
16117 #include <netinet/in.h>
16118 #endif
16119 #ifdef HAVE_NETINET_IP_VAR_H
16120 #include <netinet/ip_var.h>
16121 #endif
16123 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16125 cat >>confdefs.h <<_ACEOF
16126 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16127 _ACEOF
16133 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
16134 #include <netinet/ip_var.h>
16135 #endif
16137 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16139 cat >>confdefs.h <<_ACEOF
16140 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16141 _ACEOF
16147 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16148 #include <sys/types.h>
16149 #endif
16150 #ifdef HAVE_SYS_SOCKETVAR_H
16151 #include <sys/socketvar.h>
16152 #endif
16153 #ifdef HAVE_NETINET_IN_H
16154 #include <netinet/in.h>
16155 #endif
16156 #ifdef HAVE_NETINET_TCP_H
16157 #include <netinet/tcp.h>
16158 #endif
16159 #ifdef HAVE_NETINET_TCP_VAR_H
16160 #include <netinet/tcp_var.h>
16161 #endif
16163 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16165 cat >>confdefs.h <<_ACEOF
16166 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16167 _ACEOF
16173 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
16174 #include <netinet/tcp_var.h>
16175 #endif
16177 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16179 cat >>confdefs.h <<_ACEOF
16180 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16181 _ACEOF
16187 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16188 #include <sys/types.h>
16189 #endif
16190 #ifdef HAVE_NETINET_IN_H
16191 #include <netinet/in.h>
16192 #endif
16193 #ifdef HAVE_NETINET_IP_VAR_H
16194 #include <netinet/ip_var.h>
16195 #endif
16196 #ifdef HAVE_NETINET_UDP_H
16197 #include <netinet/udp.h>
16198 #endif
16199 #ifdef HAVE_NETINET_UDP_VAR_H
16200 #include <netinet/udp_var.h>
16201 #endif
16203 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16205 cat >>confdefs.h <<_ACEOF
16206 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16207 _ACEOF
16213 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16214 #include <sys/types.h>
16215 #endif
16216 #ifdef HAVE_NET_IF_H
16217 # include <net/if.h>
16218 #endif
16220 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16222 cat >>confdefs.h <<_ACEOF
16223 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16224 _ACEOF
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16231 $as_echo_n "checking for timezone variable... " >&6; }
16232 if ${ac_cv_have_timezone+:} false; then :
16233 $as_echo_n "(cached) " >&6
16234 else
16235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16236 /* end confdefs.h. */
16237 #include <time.h>
16239 main ()
16241 timezone = 1
16243 return 0;
16245 _ACEOF
16246 if ac_fn_c_try_link "$LINENO"; then :
16247 ac_cv_have_timezone="yes"
16248 else
16249 ac_cv_have_timezone="no"
16251 rm -f core conftest.err conftest.$ac_objext \
16252 conftest$ac_exeext conftest.$ac_ext
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16255 $as_echo "$ac_cv_have_timezone" >&6; }
16256 if test "$ac_cv_have_timezone" = "yes"
16257 then
16259 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16263 $as_echo_n "checking for daylight variable... " >&6; }
16264 if ${ac_cv_have_daylight+:} false; then :
16265 $as_echo_n "(cached) " >&6
16266 else
16267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16268 /* end confdefs.h. */
16269 #include <time.h>
16271 main ()
16273 daylight = 1
16275 return 0;
16277 _ACEOF
16278 if ac_fn_c_try_link "$LINENO"; then :
16279 ac_cv_have_daylight="yes"
16280 else
16281 ac_cv_have_daylight="no"
16283 rm -f core conftest.err conftest.$ac_objext \
16284 conftest$ac_exeext conftest.$ac_ext
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16287 $as_echo "$ac_cv_have_daylight" >&6; }
16288 if test "$ac_cv_have_daylight" = "yes"
16289 then
16291 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16295 ac_save_LIBS="$LIBS"
16296 LIBS="$LIBS -lm"
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16298 $as_echo_n "checking for isfinite... " >&6; }
16299 if ${ac_cv_have_isfinite+:} false; then :
16300 $as_echo_n "(cached) " >&6
16301 else
16302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16303 /* end confdefs.h. */
16304 #define _GNU_SOURCE
16305 #include <math.h>
16307 main ()
16309 float f = 0.0; return isfinite(f)
16311 return 0;
16313 _ACEOF
16314 if ac_fn_c_try_link "$LINENO"; then :
16315 ac_cv_have_isfinite="yes"
16316 else
16317 ac_cv_have_isfinite="no"
16319 rm -f core conftest.err conftest.$ac_objext \
16320 conftest$ac_exeext conftest.$ac_ext
16322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16323 $as_echo "$ac_cv_have_isfinite" >&6; }
16324 if test "$ac_cv_have_isfinite" = "yes"
16325 then
16327 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16331 ac_save_LIBS="$LIBS"
16332 LIBS="$LIBS -lm"
16333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16334 $as_echo_n "checking for isinf... " >&6; }
16335 if ${ac_cv_have_isinf+:} false; then :
16336 $as_echo_n "(cached) " >&6
16337 else
16338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16339 /* end confdefs.h. */
16340 #include <math.h>
16342 main ()
16344 float f = 0.0; return isinf(f)
16346 return 0;
16348 _ACEOF
16349 if ac_fn_c_try_link "$LINENO"; then :
16350 ac_cv_have_isinf="yes"
16351 else
16352 ac_cv_have_isinf="no"
16354 rm -f core conftest.err conftest.$ac_objext \
16355 conftest$ac_exeext conftest.$ac_ext
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16358 $as_echo "$ac_cv_have_isinf" >&6; }
16359 if test "$ac_cv_have_isinf" = "yes"
16360 then
16362 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16367 $as_echo_n "checking for isnan... " >&6; }
16368 if ${ac_cv_have_isnan+:} false; then :
16369 $as_echo_n "(cached) " >&6
16370 else
16371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16372 /* end confdefs.h. */
16373 #include <math.h>
16375 main ()
16377 float f = 0.0; return isnan(f)
16379 return 0;
16381 _ACEOF
16382 if ac_fn_c_try_link "$LINENO"; then :
16383 ac_cv_have_isnan="yes"
16384 else
16385 ac_cv_have_isnan="no"
16387 rm -f core conftest.err conftest.$ac_objext \
16388 conftest$ac_exeext conftest.$ac_ext
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16391 $as_echo "$ac_cv_have_isnan" >&6; }
16392 if test "$ac_cv_have_isnan" = "yes"
16393 then
16395 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16398 LIBS="$ac_save_LIBS"
16401 case $host_cpu in
16402 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16403 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16404 if ${ac_cv_cpp_def___i386__+:} false; then :
16405 $as_echo_n "(cached) " >&6
16406 else
16407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16408 /* end confdefs.h. */
16409 #ifndef __i386__
16411 #endif
16412 _ACEOF
16413 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16414 $EGREP "yes" >/dev/null 2>&1; then :
16415 ac_cv_cpp_def___i386__=yes
16416 else
16417 ac_cv_cpp_def___i386__=no
16419 rm -f conftest*
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16423 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16424 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16425 CFLAGS="$CFLAGS -D__i386__"
16426 LINTFLAGS="$LINTFLAGS -D__i386__"
16427 fi ;;
16428 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16429 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16430 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16431 $as_echo_n "(cached) " >&6
16432 else
16433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16434 /* end confdefs.h. */
16435 #ifndef __x86_64__
16437 #endif
16438 _ACEOF
16439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16440 $EGREP "yes" >/dev/null 2>&1; then :
16441 ac_cv_cpp_def___x86_64__=yes
16442 else
16443 ac_cv_cpp_def___x86_64__=no
16445 rm -f conftest*
16448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16449 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16450 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16451 CFLAGS="$CFLAGS -D__x86_64__"
16452 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16453 fi ;;
16454 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16455 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16456 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16457 $as_echo_n "(cached) " >&6
16458 else
16459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16460 /* end confdefs.h. */
16461 #ifndef __sparc64__
16463 #endif
16464 _ACEOF
16465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16466 $EGREP "yes" >/dev/null 2>&1; then :
16467 ac_cv_cpp_def___sparc64__=yes
16468 else
16469 ac_cv_cpp_def___sparc64__=no
16471 rm -f conftest*
16474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16475 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16476 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16477 CFLAGS="$CFLAGS -D__sparc64__"
16478 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16479 fi ;;
16480 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16481 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16482 if ${ac_cv_cpp_def___sparc__+:} false; then :
16483 $as_echo_n "(cached) " >&6
16484 else
16485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16486 /* end confdefs.h. */
16487 #ifndef __sparc__
16489 #endif
16490 _ACEOF
16491 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16492 $EGREP "yes" >/dev/null 2>&1; then :
16493 ac_cv_cpp_def___sparc__=yes
16494 else
16495 ac_cv_cpp_def___sparc__=no
16497 rm -f conftest*
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16501 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16502 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16503 CFLAGS="$CFLAGS -D__sparc__"
16504 LINTFLAGS="$LINTFLAGS -D__sparc__"
16505 fi ;;
16506 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16507 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16508 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16509 $as_echo_n "(cached) " >&6
16510 else
16511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16512 /* end confdefs.h. */
16513 #ifndef __powerpc64__
16515 #endif
16516 _ACEOF
16517 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16518 $EGREP "yes" >/dev/null 2>&1; then :
16519 ac_cv_cpp_def___powerpc64__=yes
16520 else
16521 ac_cv_cpp_def___powerpc64__=no
16523 rm -f conftest*
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16527 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16528 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16529 CFLAGS="$CFLAGS -D__powerpc64__"
16530 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16531 fi ;;
16532 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16533 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16534 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16535 $as_echo_n "(cached) " >&6
16536 else
16537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16538 /* end confdefs.h. */
16539 #ifndef __powerpc__
16541 #endif
16542 _ACEOF
16543 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16544 $EGREP "yes" >/dev/null 2>&1; then :
16545 ac_cv_cpp_def___powerpc__=yes
16546 else
16547 ac_cv_cpp_def___powerpc__=no
16549 rm -f conftest*
16552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16553 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16554 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16555 CFLAGS="$CFLAGS -D__powerpc__"
16556 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16557 fi ;;
16558 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16559 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16560 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16561 $as_echo_n "(cached) " >&6
16562 else
16563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16564 /* end confdefs.h. */
16565 #ifndef __aarch64__
16567 #endif
16568 _ACEOF
16569 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16570 $EGREP "yes" >/dev/null 2>&1; then :
16571 ac_cv_cpp_def___aarch64__=yes
16572 else
16573 ac_cv_cpp_def___aarch64__=no
16575 rm -f conftest*
16578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16579 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16580 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16581 CFLAGS="$CFLAGS -D__aarch64__"
16582 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16583 fi ;;
16584 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16585 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16586 if ${ac_cv_cpp_def___arm__+:} false; then :
16587 $as_echo_n "(cached) " >&6
16588 else
16589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16590 /* end confdefs.h. */
16591 #ifndef __arm__
16593 #endif
16594 _ACEOF
16595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16596 $EGREP "yes" >/dev/null 2>&1; then :
16597 ac_cv_cpp_def___arm__=yes
16598 else
16599 ac_cv_cpp_def___arm__=no
16601 rm -f conftest*
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16605 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16606 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16607 CFLAGS="$CFLAGS -D__arm__"
16608 LINTFLAGS="$LINTFLAGS -D__arm__"
16609 fi ;;
16610 esac
16612 case $host_vendor in
16613 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16614 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16615 if ${ac_cv_cpp_def___sun__+:} false; then :
16616 $as_echo_n "(cached) " >&6
16617 else
16618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16619 /* end confdefs.h. */
16620 #ifndef __sun__
16622 #endif
16623 _ACEOF
16624 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16625 $EGREP "yes" >/dev/null 2>&1; then :
16626 ac_cv_cpp_def___sun__=yes
16627 else
16628 ac_cv_cpp_def___sun__=no
16630 rm -f conftest*
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16634 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16635 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16636 CFLAGS="$CFLAGS -D__sun__"
16637 LINTFLAGS="$LINTFLAGS -D__sun__"
16638 fi ;;
16639 esac
16645 ac_config_commands="$ac_config_commands include/stamp-h"
16647 $as_echo_n "creating Makefile rules..." >&6
16649 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16650 SOCKET_LIBS = $SOCKET_LIBS
16651 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16652 IOKIT_LIBS = $IOKIT_LIBS
16653 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16654 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16655 CORESERVICES_LIBS = $CORESERVICES_LIBS
16656 APPKIT_LIBS = $APPKIT_LIBS
16657 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16658 SECURITY_LIBS = $SECURITY_LIBS
16659 COREAUDIO_LIBS = $COREAUDIO_LIBS
16660 OPENAL_LIBS = $OPENAL_LIBS
16661 OPENCL_LIBS = $OPENCL_LIBS
16662 QUICKTIME_LIBS = $QUICKTIME_LIBS
16663 CARBON_LIBS = $CARBON_LIBS
16664 PTHREAD_LIBS = $PTHREAD_LIBS
16665 X_CFLAGS = $X_CFLAGS
16666 X_PRE_LIBS = $X_PRE_LIBS
16667 X_LIBS = $X_LIBS
16668 X_EXTRA_LIBS = $X_EXTRA_LIBS
16669 XML2_CFLAGS = $XML2_CFLAGS
16670 XML2_LIBS = $XML2_LIBS
16671 XSLT_CFLAGS = $XSLT_CFLAGS
16672 XSLT_LIBS = $XSLT_LIBS
16673 DBUS_CFLAGS = $DBUS_CFLAGS
16674 DBUS_LIBS = $DBUS_LIBS
16675 HAL_CFLAGS = $HAL_CFLAGS
16676 HAL_LIBS = $HAL_LIBS
16677 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16678 GNUTLS_LIBS = $GNUTLS_LIBS
16679 SANE_CFLAGS = $SANE_CFLAGS
16680 SANE_LIBS = $SANE_LIBS
16681 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16682 GPHOTO2_LIBS = $GPHOTO2_LIBS
16683 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16684 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16685 RESOLV_LIBS = $RESOLV_LIBS
16686 LCMS2_CFLAGS = $LCMS2_CFLAGS
16687 LCMS2_LIBS = $LCMS2_LIBS
16688 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16689 FREETYPE_LIBS = $FREETYPE_LIBS
16690 Z_LIBS = $Z_LIBS
16691 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16692 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16693 GSTREAMER_LIBS = $GSTREAMER_LIBS
16694 ALSA_LIBS = $ALSA_LIBS
16695 OSS4_CFLAGS = $OSS4_CFLAGS
16696 CAPI20_CFLAGS = $CAPI20_CFLAGS
16697 CAPI20_LIBS = $CAPI20_LIBS
16698 CUPS_CFLAGS = $CUPS_CFLAGS
16699 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16700 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16701 JPEG_CFLAGS = $JPEG_CFLAGS
16702 JPEG_LIBS = $JPEG_LIBS
16703 PNG_CFLAGS = $PNG_CFLAGS
16704 PNG_LIBS = $PNG_LIBS
16705 TIFF_CFLAGS = $TIFF_CFLAGS
16706 TIFF_LIBS = $TIFF_LIBS
16707 MPG123_CFLAGS = $MPG123_CFLAGS
16708 MPG123_LIBS = $MPG123_LIBS
16709 KSTAT_LIBS = $KSTAT_LIBS
16710 PROCSTAT_LIBS = $PROCSTAT_LIBS
16711 DL_LIBS = $DL_LIBS
16712 POLL_LIBS = $POLL_LIBS
16713 RT_LIBS = $RT_LIBS
16714 LDAP_LIBS = $LDAP_LIBS
16719 wine_fn_append_rule "
16720 # Rules automatically generated by configure
16722 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16724 .INIT: Makefile
16725 .MAKEFILEDEPS:
16726 all: Makefile
16727 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16728 @./config.status Make.tmp Makefile"
16730 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16731 .gitignore: config.status
16732 @./config.status .gitignore"
16734 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16735 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16737 if test "x$enable_fonts" != xno; then
16738 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16739 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16740 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16741 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16742 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16744 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16745 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16746 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16747 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16748 ac_config_links="$ac_config_links wine:tools/winewrapper"
16749 wine_fn_config_symlink wine
16750 if test "x$enable_win64" != xno; then
16751 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16752 wine_fn_config_symlink wine64
16755 wine_fn_config_dll acledit enable_acledit
16756 wine_fn_config_dll aclui enable_aclui implib
16757 wine_fn_config_dll activeds enable_activeds implib
16758 wine_fn_config_dll actxprxy enable_actxprxy clean
16759 wine_fn_config_lib adsiid
16760 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16761 wine_fn_config_test dlls/advapi32/tests advapi32_test
16762 wine_fn_config_dll advpack enable_advpack implib
16763 wine_fn_config_test dlls/advpack/tests advpack_test
16764 wine_fn_config_dll amstream enable_amstream clean
16765 wine_fn_config_test dlls/amstream/tests amstream_test
16766 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16767 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16768 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16769 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16770 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16771 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16772 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16773 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16774 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16775 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16776 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16777 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16778 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16779 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16780 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16781 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16782 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16783 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16784 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16785 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16786 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16787 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16788 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16789 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16790 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16791 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16792 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16793 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16794 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16795 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16796 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16797 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16798 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16799 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16800 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16801 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16802 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16803 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16804 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16805 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16806 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16807 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16808 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16809 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16810 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16811 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16812 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16813 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16814 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16815 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16816 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16817 wine_fn_config_dll apphelp enable_apphelp
16818 wine_fn_config_test dlls/apphelp/tests apphelp_test
16819 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16820 wine_fn_config_dll atl enable_atl clean,implib
16821 wine_fn_config_test dlls/atl/tests atl_test
16822 wine_fn_config_dll atl100 enable_atl100 clean,implib
16823 wine_fn_config_test dlls/atl100/tests atl100_test
16824 wine_fn_config_dll atl110 enable_atl110 clean
16825 wine_fn_config_dll atl80 enable_atl80 clean,implib
16826 wine_fn_config_test dlls/atl80/tests atl80_test
16827 wine_fn_config_dll atl90 enable_atl90 clean
16828 wine_fn_config_dll authz enable_authz
16829 wine_fn_config_dll avicap32 enable_avicap32 implib
16830 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16831 wine_fn_config_test dlls/avifil32/tests avifil32_test
16832 wine_fn_config_dll avifile.dll16 enable_win16
16833 wine_fn_config_dll avrt enable_avrt implib
16834 wine_fn_config_dll bcrypt enable_bcrypt
16835 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16836 wine_fn_config_dll browseui enable_browseui clean,po
16837 wine_fn_config_test dlls/browseui/tests browseui_test
16838 wine_fn_config_dll cabinet enable_cabinet implib
16839 wine_fn_config_test dlls/cabinet/tests cabinet_test
16840 wine_fn_config_dll capi2032 enable_capi2032 implib
16841 wine_fn_config_dll cards enable_cards implib
16842 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16843 wine_fn_config_dll clusapi enable_clusapi implib
16844 wine_fn_config_dll comcat enable_comcat
16845 wine_fn_config_test dlls/comcat/tests comcat_test
16846 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16847 wine_fn_config_test dlls/comctl32/tests comctl32_test
16848 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16849 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16850 wine_fn_config_dll comm.drv16 enable_win16
16851 wine_fn_config_dll commdlg.dll16 enable_win16
16852 wine_fn_config_dll compobj.dll16 enable_win16
16853 wine_fn_config_dll compstui enable_compstui implib
16854 wine_fn_config_dll comsvcs enable_comsvcs implib
16855 wine_fn_config_dll credui enable_credui implib,po
16856 wine_fn_config_test dlls/credui/tests credui_test
16857 wine_fn_config_dll crtdll enable_crtdll implib
16858 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16859 wine_fn_config_test dlls/crypt32/tests crypt32_test
16860 wine_fn_config_dll cryptdlg enable_cryptdlg po
16861 wine_fn_config_dll cryptdll enable_cryptdll implib
16862 wine_fn_config_dll cryptnet enable_cryptnet implib
16863 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16864 wine_fn_config_dll cryptui enable_cryptui implib,po
16865 wine_fn_config_test dlls/cryptui/tests cryptui_test
16866 wine_fn_config_dll ctapi32 enable_ctapi32
16867 wine_fn_config_dll ctl3d.dll16 enable_win16
16868 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16869 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16870 wine_fn_config_dll d2d1 enable_d2d1 implib
16871 wine_fn_config_test dlls/d2d1/tests d2d1_test
16872 wine_fn_config_dll d3d10 enable_d3d10 implib
16873 wine_fn_config_test dlls/d3d10/tests d3d10_test
16874 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16875 wine_fn_config_dll d3d10core enable_d3d10core implib
16876 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16877 wine_fn_config_dll d3d11 enable_d3d11
16878 wine_fn_config_dll d3d8 enable_d3d8 implib
16879 wine_fn_config_test dlls/d3d8/tests d3d8_test
16880 wine_fn_config_dll d3d9 enable_d3d9 implib
16881 wine_fn_config_test dlls/d3d9/tests d3d9_test
16882 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16883 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16884 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16885 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16886 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16887 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16888 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16889 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16890 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16891 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16892 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16893 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16894 wine_fn_config_dll d3dim enable_d3dim implib
16895 wine_fn_config_dll d3drm enable_d3drm implib
16896 wine_fn_config_test dlls/d3drm/tests d3drm_test
16897 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16898 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16899 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16900 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16901 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16902 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16903 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16904 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16905 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16906 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16907 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16908 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16909 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16910 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16911 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16912 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16913 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16914 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16915 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16916 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16917 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16918 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16919 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16920 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16921 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16922 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16923 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16924 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16925 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16926 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16927 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16928 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16929 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16930 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16931 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16932 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16933 wine_fn_config_dll dbgeng enable_dbgeng implib
16934 wine_fn_config_dll dbghelp enable_dbghelp implib
16935 wine_fn_config_dll dciman32 enable_dciman32 implib
16936 wine_fn_config_dll ddeml.dll16 enable_win16
16937 wine_fn_config_dll ddraw enable_ddraw clean,implib
16938 wine_fn_config_test dlls/ddraw/tests ddraw_test
16939 wine_fn_config_dll ddrawex enable_ddrawex clean
16940 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16941 wine_fn_config_dll devenum enable_devenum clean,po
16942 wine_fn_config_test dlls/devenum/tests devenum_test
16943 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16944 wine_fn_config_dll difxapi enable_difxapi
16945 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16946 wine_fn_config_test dlls/dinput/tests dinput_test
16947 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16948 wine_fn_config_test dlls/dinput8/tests dinput8_test
16949 wine_fn_config_dll dispdib.dll16 enable_win16
16950 wine_fn_config_dll dispex enable_dispex clean
16951 wine_fn_config_test dlls/dispex/tests dispex_test
16952 wine_fn_config_dll display.drv16 enable_win16
16953 wine_fn_config_dll dmband enable_dmband clean
16954 wine_fn_config_test dlls/dmband/tests dmband_test
16955 wine_fn_config_dll dmcompos enable_dmcompos clean
16956 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16957 wine_fn_config_dll dmime enable_dmime clean
16958 wine_fn_config_test dlls/dmime/tests dmime_test
16959 wine_fn_config_dll dmloader enable_dmloader clean
16960 wine_fn_config_test dlls/dmloader/tests dmloader_test
16961 wine_fn_config_dll dmscript enable_dmscript clean
16962 wine_fn_config_test dlls/dmscript/tests dmscript_test
16963 wine_fn_config_dll dmstyle enable_dmstyle clean
16964 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16965 wine_fn_config_dll dmsynth enable_dmsynth clean
16966 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16967 wine_fn_config_dll dmusic enable_dmusic clean
16968 wine_fn_config_test dlls/dmusic/tests dmusic_test
16969 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16970 wine_fn_config_dll dnsapi enable_dnsapi implib
16971 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16972 wine_fn_config_dll dplay enable_dplay implib
16973 wine_fn_config_dll dplayx enable_dplayx clean,implib
16974 wine_fn_config_test dlls/dplayx/tests dplayx_test
16975 wine_fn_config_dll dpnaddr enable_dpnaddr
16976 wine_fn_config_dll dpnet enable_dpnet clean,implib
16977 wine_fn_config_test dlls/dpnet/tests dpnet_test
16978 wine_fn_config_dll dpnhpast enable_dpnhpast
16979 wine_fn_config_dll dpnlobby enable_dpnlobby
16980 wine_fn_config_dll dpvoice enable_dpvoice clean
16981 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
16982 wine_fn_config_dll dpwsockx enable_dpwsockx
16983 wine_fn_config_dll drmclien enable_drmclien
16984 wine_fn_config_dll dsound enable_dsound clean,implib
16985 wine_fn_config_test dlls/dsound/tests dsound_test
16986 wine_fn_config_dll dssenh enable_dssenh
16987 wine_fn_config_test dlls/dssenh/tests dssenh_test
16988 wine_fn_config_dll dswave enable_dswave clean
16989 wine_fn_config_test dlls/dswave/tests dswave_test
16990 wine_fn_config_dll dwmapi enable_dwmapi implib
16991 wine_fn_config_dll dwrite enable_dwrite implib
16992 wine_fn_config_test dlls/dwrite/tests dwrite_test
16993 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16994 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16995 wine_fn_config_lib dxerr8
16996 wine_fn_config_lib dxerr9
16997 wine_fn_config_dll dxgi enable_dxgi implib
16998 wine_fn_config_test dlls/dxgi/tests dxgi_test
16999 wine_fn_config_lib dxguid
17000 wine_fn_config_dll dxva2 enable_dxva2
17001 wine_fn_config_dll explorerframe enable_explorerframe clean
17002 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17003 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17004 wine_fn_config_dll faultrep enable_faultrep implib
17005 wine_fn_config_test dlls/faultrep/tests faultrep_test
17006 wine_fn_config_dll fltlib enable_fltlib
17007 wine_fn_config_dll fntcache enable_fntcache
17008 wine_fn_config_dll fontsub enable_fontsub
17009 wine_fn_config_dll fusion enable_fusion
17010 wine_fn_config_test dlls/fusion/tests fusion_test
17011 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17012 wine_fn_config_dll gameux enable_gameux clean
17013 wine_fn_config_test dlls/gameux/tests gameux_test
17014 wine_fn_config_dll gdi.exe16 enable_win16
17015 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17016 wine_fn_config_test dlls/gdi32/tests gdi32_test
17017 wine_fn_config_dll gdiplus enable_gdiplus implib
17018 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17019 wine_fn_config_dll glu32 enable_glu32 implib
17020 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17021 wine_fn_config_dll gpkcsp enable_gpkcsp
17022 wine_fn_config_dll hal enable_hal
17023 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17024 wine_fn_config_dll hid enable_hid implib
17025 wine_fn_config_dll hlink enable_hlink clean,implib
17026 wine_fn_config_test dlls/hlink/tests hlink_test
17027 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17028 wine_fn_config_dll httpapi enable_httpapi
17029 wine_fn_config_dll iccvid enable_iccvid po
17030 wine_fn_config_dll icmp enable_icmp
17031 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17032 wine_fn_config_test dlls/ieframe/tests ieframe_test
17033 wine_fn_config_dll ifsmgr.vxd enable_win16
17034 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17035 wine_fn_config_dll imagehlp enable_imagehlp implib
17036 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17037 wine_fn_config_dll imm.dll16 enable_win16
17038 wine_fn_config_dll imm32 enable_imm32 implib
17039 wine_fn_config_test dlls/imm32/tests imm32_test
17040 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17041 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17042 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17043 wine_fn_config_dll inetmib1 enable_inetmib1
17044 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17045 wine_fn_config_dll infosoft enable_infosoft clean
17046 wine_fn_config_test dlls/infosoft/tests infosoft_test
17047 wine_fn_config_dll initpki enable_initpki
17048 wine_fn_config_dll inkobj enable_inkobj
17049 wine_fn_config_dll inseng enable_inseng clean
17050 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17051 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17052 wine_fn_config_dll itircl enable_itircl
17053 wine_fn_config_dll itss enable_itss clean
17054 wine_fn_config_test dlls/itss/tests itss_test
17055 wine_fn_config_dll joy.cpl enable_joy_cpl po
17056 wine_fn_config_dll jscript enable_jscript clean,po
17057 wine_fn_config_test dlls/jscript/tests jscript_test
17058 wine_fn_config_dll jsproxy enable_jsproxy implib
17059 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17060 wine_fn_config_test dlls/kernel32/tests kernel32_test
17061 wine_fn_config_dll keyboard.drv16 enable_win16
17062 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17063 wine_fn_config_dll ksuser enable_ksuser
17064 wine_fn_config_dll ktmw32 enable_ktmw32
17065 wine_fn_config_dll loadperf enable_loadperf implib
17066 wine_fn_config_dll localspl enable_localspl po
17067 wine_fn_config_test dlls/localspl/tests localspl_test
17068 wine_fn_config_dll localui enable_localui po
17069 wine_fn_config_test dlls/localui/tests localui_test
17070 wine_fn_config_dll lz32 enable_lz32 implib
17071 wine_fn_config_test dlls/lz32/tests lz32_test
17072 wine_fn_config_dll lzexpand.dll16 enable_win16
17073 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17074 wine_fn_config_test dlls/mapi32/tests mapi32_test
17075 wine_fn_config_dll mapistub enable_mapistub
17076 wine_fn_config_dll mciavi32 enable_mciavi32
17077 wine_fn_config_dll mcicda enable_mcicda
17078 wine_fn_config_dll mciqtz32 enable_mciqtz32
17079 wine_fn_config_dll mciseq enable_mciseq
17080 wine_fn_config_dll mciwave enable_mciwave
17081 wine_fn_config_dll mgmtapi enable_mgmtapi
17082 wine_fn_config_dll midimap enable_midimap
17083 wine_fn_config_dll mlang enable_mlang clean,implib
17084 wine_fn_config_test dlls/mlang/tests mlang_test
17085 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17086 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17087 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17088 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17089 wine_fn_config_dll mmdevldr.vxd enable_win16
17090 wine_fn_config_dll mmsystem.dll16 enable_win16
17091 wine_fn_config_dll monodebg.vxd enable_win16
17092 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17093 wine_fn_config_dll mouse.drv16 enable_win16
17094 wine_fn_config_dll mpr enable_mpr implib,po
17095 wine_fn_config_test dlls/mpr/tests mpr_test
17096 wine_fn_config_dll mprapi enable_mprapi implib
17097 wine_fn_config_dll msacm.dll16 enable_win16
17098 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17099 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17100 wine_fn_config_test dlls/msacm32/tests msacm32_test
17101 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17102 wine_fn_config_dll msasn1 enable_msasn1 implib
17103 wine_fn_config_dll mscat32 enable_mscat32
17104 wine_fn_config_dll mscms enable_mscms implib
17105 wine_fn_config_test dlls/mscms/tests mscms_test
17106 wine_fn_config_dll mscoree enable_mscoree clean
17107 wine_fn_config_test dlls/mscoree/tests mscoree_test
17108 wine_fn_config_dll msctf enable_msctf clean
17109 wine_fn_config_test dlls/msctf/tests msctf_test
17110 wine_fn_config_dll msdaps enable_msdaps clean
17111 wine_fn_config_dll msdmo enable_msdmo implib
17112 wine_fn_config_dll msftedit enable_msftedit
17113 wine_fn_config_dll msg711.acm enable_msg711_acm
17114 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17115 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17116 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17117 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17118 wine_fn_config_dll msi enable_msi clean,implib,po
17119 wine_fn_config_test dlls/msi/tests msi_test
17120 wine_fn_config_dll msident enable_msident clean
17121 wine_fn_config_dll msimg32 enable_msimg32 implib
17122 wine_fn_config_dll msimsg enable_msimsg
17123 wine_fn_config_dll msimtf enable_msimtf clean
17124 wine_fn_config_dll msisip enable_msisip
17125 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17126 wine_fn_config_dll msls31 enable_msls31
17127 wine_fn_config_dll msnet32 enable_msnet32
17128 wine_fn_config_dll mspatcha enable_mspatcha
17129 wine_fn_config_dll msrle32 enable_msrle32 po
17130 wine_fn_config_test dlls/msrle32/tests msrle32_test
17131 wine_fn_config_dll mssign32 enable_mssign32
17132 wine_fn_config_dll mssip32 enable_mssip32
17133 wine_fn_config_dll mstask enable_mstask clean
17134 wine_fn_config_test dlls/mstask/tests mstask_test
17135 wine_fn_config_dll msvcirt enable_msvcirt
17136 wine_fn_config_dll msvcm80 enable_msvcm80
17137 wine_fn_config_dll msvcm90 enable_msvcm90
17138 wine_fn_config_dll msvcp100 enable_msvcp100
17139 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17140 wine_fn_config_dll msvcp110 enable_msvcp110
17141 wine_fn_config_dll msvcp60 enable_msvcp60
17142 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17143 wine_fn_config_dll msvcp70 enable_msvcp70
17144 wine_fn_config_dll msvcp71 enable_msvcp71
17145 wine_fn_config_dll msvcp80 enable_msvcp80
17146 wine_fn_config_dll msvcp90 enable_msvcp90
17147 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17148 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17149 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17150 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17151 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17152 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17153 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17154 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17155 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17156 wine_fn_config_dll msvcrt enable_msvcrt implib
17157 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17158 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17159 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17160 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17161 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17162 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17163 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17164 wine_fn_config_dll msvidc32 enable_msvidc32 po
17165 wine_fn_config_dll msvideo.dll16 enable_win16
17166 wine_fn_config_dll mswsock enable_mswsock implib
17167 wine_fn_config_dll msxml enable_msxml clean
17168 wine_fn_config_dll msxml2 enable_msxml2 clean
17169 wine_fn_config_dll msxml3 enable_msxml3 clean
17170 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17171 wine_fn_config_dll msxml4 enable_msxml4 clean
17172 wine_fn_config_dll msxml6 enable_msxml6 clean
17173 wine_fn_config_dll nddeapi enable_nddeapi implib
17174 wine_fn_config_dll ndis.sys enable_ndis_sys
17175 wine_fn_config_dll netapi32 enable_netapi32 implib
17176 wine_fn_config_test dlls/netapi32/tests netapi32_test
17177 wine_fn_config_dll netcfgx enable_netcfgx clean
17178 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17179 wine_fn_config_dll netprofm enable_netprofm clean
17180 wine_fn_config_test dlls/netprofm/tests netprofm_test
17181 wine_fn_config_dll newdev enable_newdev implib
17182 wine_fn_config_dll normaliz enable_normaliz implib
17183 wine_fn_config_dll npmshtml enable_npmshtml
17184 wine_fn_config_dll npptools enable_npptools
17185 wine_fn_config_dll ntdll enable_ntdll implib
17186 wine_fn_config_test dlls/ntdll/tests ntdll_test
17187 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17188 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17189 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17190 wine_fn_config_dll ntprint enable_ntprint
17191 wine_fn_config_test dlls/ntprint/tests ntprint_test
17192 wine_fn_config_dll objsel enable_objsel clean
17193 wine_fn_config_dll odbc32 enable_odbc32 implib
17194 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17195 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17196 wine_fn_config_dll odbccu32 enable_odbccu32
17197 wine_fn_config_dll ole2.dll16 enable_win16
17198 wine_fn_config_dll ole2conv.dll16 enable_win16
17199 wine_fn_config_dll ole2disp.dll16 enable_win16
17200 wine_fn_config_dll ole2nls.dll16 enable_win16
17201 wine_fn_config_dll ole2prox.dll16 enable_win16
17202 wine_fn_config_dll ole2thk.dll16 enable_win16
17203 wine_fn_config_dll ole32 enable_ole32 clean,implib
17204 wine_fn_config_test dlls/ole32/tests ole32_test
17205 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17206 wine_fn_config_test dlls/oleacc/tests oleacc_test
17207 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17208 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17209 wine_fn_config_dll olecli.dll16 enable_win16
17210 wine_fn_config_dll olecli32 enable_olecli32 implib
17211 wine_fn_config_dll oledb32 enable_oledb32 clean
17212 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17213 wine_fn_config_dll oledlg enable_oledlg implib,po
17214 wine_fn_config_dll olepro32 enable_olepro32 implib
17215 wine_fn_config_dll olesvr.dll16 enable_win16
17216 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17217 wine_fn_config_dll olethk32 enable_olethk32
17218 wine_fn_config_dll openal32 enable_openal32
17219 wine_fn_config_dll opencl enable_opencl
17220 wine_fn_config_dll opengl32 enable_opengl32 implib
17221 wine_fn_config_test dlls/opengl32/tests opengl32_test
17222 wine_fn_config_dll packager enable_packager clean
17223 wine_fn_config_test dlls/packager/tests packager_test
17224 wine_fn_config_dll pdh enable_pdh implib
17225 wine_fn_config_test dlls/pdh/tests pdh_test
17226 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17227 wine_fn_config_dll pidgen enable_pidgen
17228 wine_fn_config_dll powrprof enable_powrprof implib
17229 wine_fn_config_dll printui enable_printui
17230 wine_fn_config_dll prntvpt enable_prntvpt
17231 wine_fn_config_dll propsys enable_propsys clean,implib
17232 wine_fn_config_test dlls/propsys/tests propsys_test
17233 wine_fn_config_dll psapi enable_psapi implib
17234 wine_fn_config_test dlls/psapi/tests psapi_test
17235 wine_fn_config_dll pstorec enable_pstorec clean
17236 wine_fn_config_dll qcap enable_qcap
17237 wine_fn_config_test dlls/qcap/tests qcap_test
17238 wine_fn_config_dll qedit enable_qedit clean
17239 wine_fn_config_test dlls/qedit/tests qedit_test
17240 wine_fn_config_dll qmgr enable_qmgr clean
17241 wine_fn_config_test dlls/qmgr/tests qmgr_test
17242 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17243 wine_fn_config_dll quartz enable_quartz clean,implib
17244 wine_fn_config_test dlls/quartz/tests quartz_test clean
17245 wine_fn_config_dll query enable_query
17246 wine_fn_config_dll rasapi16.dll16 enable_win16
17247 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17248 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17249 wine_fn_config_dll rasdlg enable_rasdlg implib
17250 wine_fn_config_dll regapi enable_regapi
17251 wine_fn_config_dll resutils enable_resutils implib
17252 wine_fn_config_dll riched20 enable_riched20 implib
17253 wine_fn_config_test dlls/riched20/tests riched20_test
17254 wine_fn_config_dll riched32 enable_riched32
17255 wine_fn_config_test dlls/riched32/tests riched32_test
17256 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17257 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17258 wine_fn_config_dll rsabase enable_rsabase
17259 wine_fn_config_dll rsaenh enable_rsaenh implib
17260 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17261 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17262 wine_fn_config_dll rtutils enable_rtutils implib
17263 wine_fn_config_dll samlib enable_samlib
17264 wine_fn_config_dll sane.ds enable_sane_ds po
17265 wine_fn_config_dll scarddlg enable_scarddlg
17266 wine_fn_config_dll sccbase enable_sccbase
17267 wine_fn_config_dll schannel enable_schannel
17268 wine_fn_config_test dlls/schannel/tests schannel_test
17269 wine_fn_config_dll schedsvc enable_schedsvc clean
17270 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17271 wine_fn_config_dll scrrun enable_scrrun clean
17272 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17273 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17274 wine_fn_config_dll secur32 enable_secur32 implib
17275 wine_fn_config_test dlls/secur32/tests secur32_test
17276 wine_fn_config_dll security enable_security
17277 wine_fn_config_dll sensapi enable_sensapi implib
17278 wine_fn_config_dll serialui enable_serialui implib,po
17279 wine_fn_config_test dlls/serialui/tests serialui_test
17280 wine_fn_config_dll setupapi enable_setupapi implib,po
17281 wine_fn_config_test dlls/setupapi/tests setupapi_test
17282 wine_fn_config_dll setupx.dll16 enable_win16
17283 wine_fn_config_dll sfc enable_sfc implib
17284 wine_fn_config_dll sfc_os enable_sfc_os implib
17285 wine_fn_config_dll shdoclc enable_shdoclc po
17286 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17287 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17288 wine_fn_config_dll shell.dll16 enable_win16
17289 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17290 wine_fn_config_test dlls/shell32/tests shell32_test
17291 wine_fn_config_dll shfolder enable_shfolder implib
17292 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17293 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17294 wine_fn_config_dll slbcsp enable_slbcsp
17295 wine_fn_config_dll slc enable_slc implib
17296 wine_fn_config_dll snmpapi enable_snmpapi implib
17297 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17298 wine_fn_config_dll softpub enable_softpub
17299 wine_fn_config_dll sound.drv16 enable_win16
17300 wine_fn_config_dll spoolss enable_spoolss implib
17301 wine_fn_config_test dlls/spoolss/tests spoolss_test
17302 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17303 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17304 wine_fn_config_dll sti enable_sti clean,implib
17305 wine_fn_config_test dlls/sti/tests sti_test
17306 wine_fn_config_dll storage.dll16 enable_win16
17307 wine_fn_config_dll stress.dll16 enable_win16
17308 wine_fn_config_lib strmbase
17309 wine_fn_config_lib strmiids
17310 wine_fn_config_dll svrapi enable_svrapi
17311 wine_fn_config_dll sxs enable_sxs implib
17312 wine_fn_config_test dlls/sxs/tests sxs_test
17313 wine_fn_config_dll system.drv16 enable_win16
17314 wine_fn_config_dll t2embed enable_t2embed
17315 wine_fn_config_dll tapi32 enable_tapi32 implib
17316 wine_fn_config_dll taskschd enable_taskschd clean
17317 wine_fn_config_test dlls/taskschd/tests taskschd_test
17318 wine_fn_config_dll toolhelp.dll16 enable_win16
17319 wine_fn_config_dll traffic enable_traffic
17320 wine_fn_config_dll twain.dll16 enable_win16
17321 wine_fn_config_dll twain_32 enable_twain_32
17322 wine_fn_config_test dlls/twain_32/tests twain_32_test
17323 wine_fn_config_dll typelib.dll16 enable_win16
17324 wine_fn_config_dll unicows enable_unicows implib
17325 wine_fn_config_dll updspapi enable_updspapi
17326 wine_fn_config_dll url enable_url implib
17327 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17328 wine_fn_config_test dlls/urlmon/tests urlmon_test
17329 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17330 wine_fn_config_dll user.exe16 enable_win16
17331 wine_fn_config_dll user32 enable_user32 clean,implib,po
17332 wine_fn_config_test dlls/user32/tests user32_test
17333 wine_fn_config_dll userenv enable_userenv implib
17334 wine_fn_config_test dlls/userenv/tests userenv_test
17335 wine_fn_config_dll usp10 enable_usp10 implib
17336 wine_fn_config_test dlls/usp10/tests usp10_test
17337 wine_fn_config_lib uuid
17338 wine_fn_config_dll uxtheme enable_uxtheme implib
17339 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17340 wine_fn_config_dll vbscript enable_vbscript clean
17341 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17342 wine_fn_config_dll vcomp enable_vcomp
17343 wine_fn_config_dll vcomp100 enable_vcomp100
17344 wine_fn_config_dll vcomp90 enable_vcomp90
17345 wine_fn_config_dll vdhcp.vxd enable_win16
17346 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17347 wine_fn_config_dll ver.dll16 enable_win16
17348 wine_fn_config_dll version enable_version implib
17349 wine_fn_config_test dlls/version/tests version_test
17350 wine_fn_config_dll vmm.vxd enable_win16
17351 wine_fn_config_dll vnbt.vxd enable_win16
17352 wine_fn_config_dll vnetbios.vxd enable_win16
17353 wine_fn_config_dll vtdapi.vxd enable_win16
17354 wine_fn_config_dll vwin32.vxd enable_win16
17355 wine_fn_config_dll w32skrnl enable_win16
17356 wine_fn_config_dll w32sys.dll16 enable_win16
17357 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17358 wine_fn_config_dll wbemprox enable_wbemprox clean
17359 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17360 wine_fn_config_dll webservices enable_webservices implib
17361 wine_fn_config_dll wer enable_wer implib
17362 wine_fn_config_test dlls/wer/tests wer_test
17363 wine_fn_config_dll wevtapi enable_wevtapi
17364 wine_fn_config_dll wiaservc enable_wiaservc clean
17365 wine_fn_config_dll win32s16.dll16 enable_win16
17366 wine_fn_config_dll win87em.dll16 enable_win16
17367 wine_fn_config_dll winaspi.dll16 enable_win16
17368 wine_fn_config_dll windebug.dll16 enable_win16
17369 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17370 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17371 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17372 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17373 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17374 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17375 wine_fn_config_lib winecrt0
17376 wine_fn_config_dll wined3d enable_wined3d implib
17377 wine_fn_config_dll winegstreamer enable_winegstreamer
17378 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17379 wine_fn_config_dll winemac.drv enable_winemac_drv
17380 wine_fn_config_dll winemapi enable_winemapi
17381 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17382 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17383 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17384 wine_fn_config_dll wineps16.drv16 enable_win16
17385 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17386 wine_fn_config_dll winex11.drv enable_winex11_drv
17387 wine_fn_config_dll wing.dll16 enable_win16
17388 wine_fn_config_dll wing32 enable_wing32
17389 wine_fn_config_dll winhttp enable_winhttp clean,implib
17390 wine_fn_config_test dlls/winhttp/tests winhttp_test
17391 wine_fn_config_dll wininet enable_wininet implib,po
17392 wine_fn_config_test dlls/wininet/tests wininet_test
17393 wine_fn_config_dll winmm enable_winmm implib,po
17394 wine_fn_config_test dlls/winmm/tests winmm_test
17395 wine_fn_config_dll winnls.dll16 enable_win16
17396 wine_fn_config_dll winnls32 enable_winnls32 implib
17397 wine_fn_config_dll winscard enable_winscard implib
17398 wine_fn_config_dll winsock.dll16 enable_win16
17399 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17400 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17401 wine_fn_config_dll winsta enable_winsta
17402 wine_fn_config_dll wintab.dll16 enable_win16
17403 wine_fn_config_dll wintab32 enable_wintab32 implib
17404 wine_fn_config_test dlls/wintab32/tests wintab32_test
17405 wine_fn_config_dll wintrust enable_wintrust implib
17406 wine_fn_config_test dlls/wintrust/tests wintrust_test
17407 wine_fn_config_dll wlanapi enable_wlanapi
17408 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17409 wine_fn_config_test dlls/wldap32/tests wldap32_test
17410 wine_fn_config_dll wmi enable_wmi
17411 wine_fn_config_dll wmiutils enable_wmiutils clean
17412 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17413 wine_fn_config_dll wmp enable_wmp clean
17414 wine_fn_config_test dlls/wmp/tests wmp_test
17415 wine_fn_config_dll wmvcore enable_wmvcore
17416 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17417 wine_fn_config_dll wow32 enable_win16 implib
17418 wine_fn_config_dll wpcap enable_wpcap
17419 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17420 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17421 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17422 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17423 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17424 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17425 wine_fn_config_dll wsock32 enable_wsock32 implib
17426 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17427 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17428 wine_fn_config_dll wuapi enable_wuapi clean
17429 wine_fn_config_dll wuaueng enable_wuaueng
17430 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17431 wine_fn_config_dll xinput1_1 enable_xinput1_1
17432 wine_fn_config_dll xinput1_2 enable_xinput1_2
17433 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17434 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17435 wine_fn_config_dll xinput1_4 enable_xinput1_4
17436 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17437 wine_fn_config_dll xmllite enable_xmllite implib
17438 wine_fn_config_test dlls/xmllite/tests xmllite_test
17439 wine_fn_config_dll xolehlp enable_xolehlp
17440 wine_fn_config_dll xpsprint enable_xpsprint
17441 wine_fn_config_dll xpssvcs enable_xpssvcs
17442 wine_fn_config_makefile documentation enable_documentation clean
17443 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17444 wine_fn_config_makefile include enable_include clean,install-dev
17445 wine_fn_config_makefile libs/port enable_libs_port
17446 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17447 wine_fn_config_makefile libs/wpp enable_libs_wpp
17448 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17449 wine_fn_config_program arp enable_arp install
17450 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17451 wine_fn_config_program attrib enable_attrib install,po
17452 wine_fn_config_program cabarc enable_cabarc install
17453 wine_fn_config_program cacls enable_cacls install
17454 wine_fn_config_program clock enable_clock install,po
17455 wine_fn_config_program cmd enable_cmd install,po
17456 wine_fn_config_test programs/cmd/tests cmd.exe_test
17457 wine_fn_config_program conhost enable_conhost install
17458 wine_fn_config_program control enable_control install
17459 wine_fn_config_program cscript enable_cscript clean,install
17460 wine_fn_config_program dpnsvr enable_dpnsvr install
17461 wine_fn_config_program dxdiag enable_dxdiag install,po
17462 wine_fn_config_program eject enable_eject install
17463 wine_fn_config_program expand enable_expand install
17464 wine_fn_config_program explorer enable_explorer install,po
17465 wine_fn_config_program extrac32 enable_extrac32 install
17466 wine_fn_config_program findstr enable_findstr install
17467 wine_fn_config_program hh enable_hh install
17468 wine_fn_config_program hostname enable_hostname install,po
17469 wine_fn_config_program icinfo enable_icinfo install
17470 wine_fn_config_program iexplore enable_iexplore install
17471 wine_fn_config_program ipconfig enable_ipconfig install,po
17472 wine_fn_config_program lodctr enable_lodctr install
17473 wine_fn_config_program mofcomp enable_mofcomp install
17474 wine_fn_config_program mshta enable_mshta install
17475 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17476 wine_fn_config_program net enable_net install,po
17477 wine_fn_config_program netsh enable_netsh install
17478 wine_fn_config_program netstat enable_netstat install,po
17479 wine_fn_config_program ngen enable_ngen install
17480 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17481 wine_fn_config_program oleview enable_oleview install,po
17482 wine_fn_config_program ping enable_ping install
17483 wine_fn_config_program plugplay enable_plugplay install
17484 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17485 wine_fn_config_program progman enable_progman install,po
17486 wine_fn_config_program reg enable_reg install,po
17487 wine_fn_config_test programs/reg/tests reg.exe_test
17488 wine_fn_config_program regasm enable_regasm install
17489 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17490 wine_fn_config_test programs/regedit/tests regedit.exe_test
17491 wine_fn_config_program regsvcs enable_regsvcs install
17492 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17493 wine_fn_config_program rpcss enable_rpcss clean,install
17494 wine_fn_config_program rundll.exe16 enable_win16 install
17495 wine_fn_config_program rundll32 enable_rundll32 install
17496 wine_fn_config_program sc enable_sc install
17497 wine_fn_config_program schtasks enable_schtasks install
17498 wine_fn_config_program sdbinst enable_sdbinst install
17499 wine_fn_config_program secedit enable_secedit install
17500 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17501 wine_fn_config_program services enable_services clean,install
17502 wine_fn_config_test programs/services/tests services.exe_test
17503 wine_fn_config_program spoolsv enable_spoolsv install
17504 wine_fn_config_program start enable_start install,po
17505 wine_fn_config_program svchost enable_svchost install
17506 wine_fn_config_program systeminfo enable_systeminfo install
17507 wine_fn_config_program taskkill enable_taskkill install,po
17508 wine_fn_config_program tasklist enable_tasklist install
17509 wine_fn_config_program taskmgr enable_taskmgr install,po
17510 wine_fn_config_program termsv enable_termsv install
17511 wine_fn_config_program uninstaller enable_uninstaller install,po
17512 wine_fn_config_program unlodctr enable_unlodctr install
17513 wine_fn_config_program view enable_view install,po
17514 wine_fn_config_program wevtutil enable_wevtutil install
17515 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17516 wine_fn_config_program winebrowser enable_winebrowser install
17517 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17518 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17519 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17520 wine_fn_config_program winedevice enable_winedevice install
17521 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17522 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17523 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17524 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17525 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17526 wine_fn_config_program winetest enable_winetest clean
17527 wine_fn_config_program winevdm enable_win16 install
17528 wine_fn_config_program winhelp.exe16 enable_win16 install
17529 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17530 wine_fn_config_program winoldap.mod16 enable_win16 install
17531 wine_fn_config_program winver enable_winver install
17532 wine_fn_config_program wmic enable_wmic install,po
17533 wine_fn_config_program wordpad enable_wordpad install,po
17534 wine_fn_config_program write enable_write install,po
17535 wine_fn_config_program wscript enable_wscript clean,install
17536 wine_fn_config_test programs/wscript/tests wscript.exe_test
17537 wine_fn_config_program wusa enable_wusa install
17538 wine_fn_config_program xcopy enable_xcopy install,po
17539 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17540 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17541 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17542 wine_fn_config_tool tools/sfnt2fon clean
17543 wine_fn_config_tool tools/widl clean,install-dev,manpage
17544 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17545 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17546 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17547 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17548 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17550 LINGUAS="\
17551 ar \
17552 bg \
17553 ca \
17554 cs \
17555 da \
17556 de \
17557 el \
17558 en \
17559 en_US \
17560 eo \
17561 es \
17562 fa \
17563 fi \
17564 fr \
17565 he \
17566 hi \
17567 hr \
17568 hu \
17569 it \
17570 ja \
17571 ko \
17572 lt \
17573 ml \
17574 nb_NO \
17575 nl \
17576 or \
17577 pa \
17578 pl \
17579 pt_BR \
17580 pt_PT \
17581 rm \
17582 ro \
17583 ru \
17584 sk \
17585 sl \
17586 sr_RS@cyrillic \
17587 sr_RS@latin \
17588 sv \
17589 te \
17590 th \
17591 tr \
17592 uk \
17593 wa \
17594 zh_CN \
17595 zh_TW"
17600 wine_fn_ignore_file ".gitignore"
17601 wine_fn_ignore_file "Makefile"
17602 wine_fn_ignore_file "TAGS"
17603 wine_fn_ignore_file "tags"
17604 wine_fn_ignore_file "autom4te.cache"
17605 wine_fn_ignore_file "config.cache"
17606 wine_fn_ignore_file "config.log"
17607 wine_fn_ignore_file "config.status"
17608 wine_fn_ignore_file "configure.lineno"
17609 wine_fn_ignore_file "include/config.h"
17610 wine_fn_ignore_file "include/stamp-h"
17611 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17613 if test "x$enable_tools" != xno
17614 then
17615 wine_fn_ignore_file "tools/makedep$ac_exeext"
17616 ac_config_commands="$ac_config_commands tools/makedep"
17620 ac_config_commands="$ac_config_commands Makefile"
17623 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17627 if test "x$enable_maintainer_mode" = xyes
17628 then
17629 wine_fn_append_rule "configure: configure.ac aclocal.m4
17630 autoconf --warnings=all
17631 include/config.h.in: include/stamp-h.in
17632 include/stamp-h.in: configure.ac aclocal.m4
17633 autoheader --warnings=all
17634 @echo timestamp > \$@"
17637 if test "x$with_gettextpo" = xyes
17638 then
17639 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17640 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17641 \$(LINGUAS:%=po/%.po): po/wine.pot
17642 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17643 po/wine.pot: \$(ALL_POT_FILES)
17644 msgcat -o \$@ \$(ALL_POT_FILES)"
17647 if test "$MSGFMT" != false
17648 then
17649 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17650 clean::
17651 \$(RM) \$(LINGUAS:%=po/%.mo)"
17653 posrc="po"
17654 test "$srcdir" = . || posrc="$srcdir/po"
17655 for i in $LINGUAS
17657 wine_fn_ignore_file "po/$i.mo"
17658 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17659 \$(MSGFMT) -o \$@ $posrc/$i.po"
17660 done
17661 else
17662 LINGUAS=
17665 if test "x$enable_tools" != xno
17666 then
17667 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17668 @./config.status tools/makedep
17669 Makefile: tools/makedep$ac_exeext
17670 distclean:: clean
17671 \$(RM) tools/makedep$ac_exeext"
17672 else
17673 wine_fn_append_rule "\$(MAKEDEP):
17674 @echo \"You need to run make in $TOOLSDIR first\" && false"
17677 if test -n "$with_wine64"
17678 then
17679 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17680 fonts server tools:
17681 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17682 $with_wine64/loader/wine:
17683 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17684 $with_wine64/loader/wine-preloader:
17685 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17686 clean::
17687 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17688 else
17689 as_fn_append LOADER_RULES "
17690 install install-lib:: wine.inf install-man-pages
17691 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17692 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17694 uninstall::
17695 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17699 if test "$srcdir" = .
17700 then
17701 ac_config_commands="$ac_config_commands .gitignore"
17705 $as_echo " done" >&6
17706 cat >confcache <<\_ACEOF
17707 # This file is a shell script that caches the results of configure
17708 # tests run on this system so they can be shared between configure
17709 # scripts and configure runs, see configure's option --config-cache.
17710 # It is not useful on other systems. If it contains results you don't
17711 # want to keep, you may remove or edit it.
17713 # config.status only pays attention to the cache file if you give it
17714 # the --recheck option to rerun configure.
17716 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17717 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17718 # following values.
17720 _ACEOF
17722 # The following way of writing the cache mishandles newlines in values,
17723 # but we know of no workaround that is simple, portable, and efficient.
17724 # So, we kill variables containing newlines.
17725 # Ultrix sh set writes to stderr and can't be redirected directly,
17726 # and sets the high bit in the cache file unless we assign to the vars.
17728 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17729 eval ac_val=\$$ac_var
17730 case $ac_val in #(
17731 *${as_nl}*)
17732 case $ac_var in #(
17733 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17734 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17735 esac
17736 case $ac_var in #(
17737 _ | IFS | as_nl) ;; #(
17738 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17739 *) { eval $ac_var=; unset $ac_var;} ;;
17740 esac ;;
17741 esac
17742 done
17744 (set) 2>&1 |
17745 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17746 *${as_nl}ac_space=\ *)
17747 # `set' does not quote correctly, so add quotes: double-quote
17748 # substitution turns \\\\ into \\, and sed turns \\ into \.
17749 sed -n \
17750 "s/'/'\\\\''/g;
17751 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17752 ;; #(
17754 # `set' quotes correctly as required by POSIX, so do not add quotes.
17755 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17757 esac |
17758 sort
17760 sed '
17761 /^ac_cv_env_/b end
17762 t clear
17763 :clear
17764 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17765 t end
17766 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17767 :end' >>confcache
17768 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17769 if test -w "$cache_file"; then
17770 if test "x$cache_file" != "x/dev/null"; then
17771 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17772 $as_echo "$as_me: updating cache $cache_file" >&6;}
17773 if test ! -f "$cache_file" || test -h "$cache_file"; then
17774 cat confcache >"$cache_file"
17775 else
17776 case $cache_file in #(
17777 */* | ?:*)
17778 mv -f confcache "$cache_file"$$ &&
17779 mv -f "$cache_file"$$ "$cache_file" ;; #(
17781 mv -f confcache "$cache_file" ;;
17782 esac
17785 else
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17787 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17790 rm -f confcache
17792 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17793 # Let make expand exec_prefix.
17794 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17796 DEFS=-DHAVE_CONFIG_H
17798 ac_libobjs=
17799 ac_ltlibobjs=
17801 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17802 # 1. Remove the extension, and $U if already installed.
17803 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17804 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17805 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17806 # will be set to the directory where LIBOBJS objects are built.
17807 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17808 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17809 done
17810 LIBOBJS=$ac_libobjs
17812 LTLIBOBJS=$ac_ltlibobjs
17816 : "${CONFIG_STATUS=./config.status}"
17817 ac_write_fail=0
17818 ac_clean_files_save=$ac_clean_files
17819 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17821 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17822 as_write_fail=0
17823 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17824 #! $SHELL
17825 # Generated by $as_me.
17826 # Run this file to recreate the current configuration.
17827 # Compiler output produced by configure, useful for debugging
17828 # configure, is in config.log if it exists.
17830 debug=false
17831 ac_cs_recheck=false
17832 ac_cs_silent=false
17834 SHELL=\${CONFIG_SHELL-$SHELL}
17835 export SHELL
17836 _ASEOF
17837 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17838 ## -------------------- ##
17839 ## M4sh Initialization. ##
17840 ## -------------------- ##
17842 # Be more Bourne compatible
17843 DUALCASE=1; export DUALCASE # for MKS sh
17844 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17845 emulate sh
17846 NULLCMD=:
17847 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17848 # is contrary to our usage. Disable this feature.
17849 alias -g '${1+"$@"}'='"$@"'
17850 setopt NO_GLOB_SUBST
17851 else
17852 case `(set -o) 2>/dev/null` in #(
17853 *posix*) :
17854 set -o posix ;; #(
17855 *) :
17857 esac
17861 as_nl='
17863 export as_nl
17864 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17865 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17866 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17867 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17868 # Prefer a ksh shell builtin over an external printf program on Solaris,
17869 # but without wasting forks for bash or zsh.
17870 if test -z "$BASH_VERSION$ZSH_VERSION" \
17871 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17872 as_echo='print -r --'
17873 as_echo_n='print -rn --'
17874 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17875 as_echo='printf %s\n'
17876 as_echo_n='printf %s'
17877 else
17878 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17879 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17880 as_echo_n='/usr/ucb/echo -n'
17881 else
17882 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17883 as_echo_n_body='eval
17884 arg=$1;
17885 case $arg in #(
17886 *"$as_nl"*)
17887 expr "X$arg" : "X\\(.*\\)$as_nl";
17888 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17889 esac;
17890 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17892 export as_echo_n_body
17893 as_echo_n='sh -c $as_echo_n_body as_echo'
17895 export as_echo_body
17896 as_echo='sh -c $as_echo_body as_echo'
17899 # The user is always right.
17900 if test "${PATH_SEPARATOR+set}" != set; then
17901 PATH_SEPARATOR=:
17902 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17903 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17904 PATH_SEPARATOR=';'
17909 # IFS
17910 # We need space, tab and new line, in precisely that order. Quoting is
17911 # there to prevent editors from complaining about space-tab.
17912 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17913 # splitting by setting IFS to empty value.)
17914 IFS=" "" $as_nl"
17916 # Find who we are. Look in the path if we contain no directory separator.
17917 as_myself=
17918 case $0 in #((
17919 *[\\/]* ) as_myself=$0 ;;
17920 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17921 for as_dir in $PATH
17923 IFS=$as_save_IFS
17924 test -z "$as_dir" && as_dir=.
17925 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17926 done
17927 IFS=$as_save_IFS
17930 esac
17931 # We did not find ourselves, most probably we were run as `sh COMMAND'
17932 # in which case we are not to be found in the path.
17933 if test "x$as_myself" = x; then
17934 as_myself=$0
17936 if test ! -f "$as_myself"; then
17937 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17938 exit 1
17941 # Unset variables that we do not need and which cause bugs (e.g. in
17942 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17943 # suppresses any "Segmentation fault" message there. '((' could
17944 # trigger a bug in pdksh 5.2.14.
17945 for as_var in BASH_ENV ENV MAIL MAILPATH
17946 do eval test x\${$as_var+set} = xset \
17947 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17948 done
17949 PS1='$ '
17950 PS2='> '
17951 PS4='+ '
17953 # NLS nuisances.
17954 LC_ALL=C
17955 export LC_ALL
17956 LANGUAGE=C
17957 export LANGUAGE
17959 # CDPATH.
17960 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17963 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17964 # ----------------------------------------
17965 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17966 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17967 # script with STATUS, using 1 if that was 0.
17968 as_fn_error ()
17970 as_status=$1; test $as_status -eq 0 && as_status=1
17971 if test "$4"; then
17972 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17973 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17975 $as_echo "$as_me: error: $2" >&2
17976 as_fn_exit $as_status
17977 } # as_fn_error
17980 # as_fn_set_status STATUS
17981 # -----------------------
17982 # Set $? to STATUS, without forking.
17983 as_fn_set_status ()
17985 return $1
17986 } # as_fn_set_status
17988 # as_fn_exit STATUS
17989 # -----------------
17990 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17991 as_fn_exit ()
17993 set +e
17994 as_fn_set_status $1
17995 exit $1
17996 } # as_fn_exit
17998 # as_fn_unset VAR
17999 # ---------------
18000 # Portably unset VAR.
18001 as_fn_unset ()
18003 { eval $1=; unset $1;}
18005 as_unset=as_fn_unset
18006 # as_fn_append VAR VALUE
18007 # ----------------------
18008 # Append the text in VALUE to the end of the definition contained in VAR. Take
18009 # advantage of any shell optimizations that allow amortized linear growth over
18010 # repeated appends, instead of the typical quadratic growth present in naive
18011 # implementations.
18012 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18013 eval 'as_fn_append ()
18015 eval $1+=\$2
18017 else
18018 as_fn_append ()
18020 eval $1=\$$1\$2
18022 fi # as_fn_append
18024 # as_fn_arith ARG...
18025 # ------------------
18026 # Perform arithmetic evaluation on the ARGs, and store the result in the
18027 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18028 # must be portable across $(()) and expr.
18029 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18030 eval 'as_fn_arith ()
18032 as_val=$(( $* ))
18034 else
18035 as_fn_arith ()
18037 as_val=`expr "$@" || test $? -eq 1`
18039 fi # as_fn_arith
18042 if expr a : '\(a\)' >/dev/null 2>&1 &&
18043 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18044 as_expr=expr
18045 else
18046 as_expr=false
18049 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18050 as_basename=basename
18051 else
18052 as_basename=false
18055 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18056 as_dirname=dirname
18057 else
18058 as_dirname=false
18061 as_me=`$as_basename -- "$0" ||
18062 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18063 X"$0" : 'X\(//\)$' \| \
18064 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18065 $as_echo X/"$0" |
18066 sed '/^.*\/\([^/][^/]*\)\/*$/{
18067 s//\1/
18070 /^X\/\(\/\/\)$/{
18071 s//\1/
18074 /^X\/\(\/\).*/{
18075 s//\1/
18078 s/.*/./; q'`
18080 # Avoid depending upon Character Ranges.
18081 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18082 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18083 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18084 as_cr_digits='0123456789'
18085 as_cr_alnum=$as_cr_Letters$as_cr_digits
18087 ECHO_C= ECHO_N= ECHO_T=
18088 case `echo -n x` in #(((((
18089 -n*)
18090 case `echo 'xy\c'` in
18091 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18092 xy) ECHO_C='\c';;
18093 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18094 ECHO_T=' ';;
18095 esac;;
18097 ECHO_N='-n';;
18098 esac
18100 rm -f conf$$ conf$$.exe conf$$.file
18101 if test -d conf$$.dir; then
18102 rm -f conf$$.dir/conf$$.file
18103 else
18104 rm -f conf$$.dir
18105 mkdir conf$$.dir 2>/dev/null
18107 if (echo >conf$$.file) 2>/dev/null; then
18108 if ln -s conf$$.file conf$$ 2>/dev/null; then
18109 as_ln_s='ln -s'
18110 # ... but there are two gotchas:
18111 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18112 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18113 # In both cases, we have to default to `cp -pR'.
18114 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18115 as_ln_s='cp -pR'
18116 elif ln conf$$.file conf$$ 2>/dev/null; then
18117 as_ln_s=ln
18118 else
18119 as_ln_s='cp -pR'
18121 else
18122 as_ln_s='cp -pR'
18124 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18125 rmdir conf$$.dir 2>/dev/null
18128 # as_fn_mkdir_p
18129 # -------------
18130 # Create "$as_dir" as a directory, including parents if necessary.
18131 as_fn_mkdir_p ()
18134 case $as_dir in #(
18135 -*) as_dir=./$as_dir;;
18136 esac
18137 test -d "$as_dir" || eval $as_mkdir_p || {
18138 as_dirs=
18139 while :; do
18140 case $as_dir in #(
18141 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18142 *) as_qdir=$as_dir;;
18143 esac
18144 as_dirs="'$as_qdir' $as_dirs"
18145 as_dir=`$as_dirname -- "$as_dir" ||
18146 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18147 X"$as_dir" : 'X\(//\)[^/]' \| \
18148 X"$as_dir" : 'X\(//\)$' \| \
18149 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18150 $as_echo X"$as_dir" |
18151 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18152 s//\1/
18155 /^X\(\/\/\)[^/].*/{
18156 s//\1/
18159 /^X\(\/\/\)$/{
18160 s//\1/
18163 /^X\(\/\).*/{
18164 s//\1/
18167 s/.*/./; q'`
18168 test -d "$as_dir" && break
18169 done
18170 test -z "$as_dirs" || eval "mkdir $as_dirs"
18171 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18174 } # as_fn_mkdir_p
18175 if mkdir -p . 2>/dev/null; then
18176 as_mkdir_p='mkdir -p "$as_dir"'
18177 else
18178 test -d ./-p && rmdir ./-p
18179 as_mkdir_p=false
18183 # as_fn_executable_p FILE
18184 # -----------------------
18185 # Test if FILE is an executable regular file.
18186 as_fn_executable_p ()
18188 test -f "$1" && test -x "$1"
18189 } # as_fn_executable_p
18190 as_test_x='test -x'
18191 as_executable_p=as_fn_executable_p
18193 # Sed expression to map a string onto a valid CPP name.
18194 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18196 # Sed expression to map a string onto a valid variable name.
18197 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18200 exec 6>&1
18201 ## ----------------------------------- ##
18202 ## Main body of $CONFIG_STATUS script. ##
18203 ## ----------------------------------- ##
18204 _ASEOF
18205 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18208 # Save the log message, to keep $0 and so on meaningful, and to
18209 # report actual input values of CONFIG_FILES etc. instead of their
18210 # values after options handling.
18211 ac_log="
18212 This file was extended by Wine $as_me 1.7.30, which was
18213 generated by GNU Autoconf 2.69. Invocation command line was
18215 CONFIG_FILES = $CONFIG_FILES
18216 CONFIG_HEADERS = $CONFIG_HEADERS
18217 CONFIG_LINKS = $CONFIG_LINKS
18218 CONFIG_COMMANDS = $CONFIG_COMMANDS
18219 $ $0 $@
18221 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18224 _ACEOF
18226 case $ac_config_files in *"
18227 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18228 esac
18230 case $ac_config_headers in *"
18231 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18232 esac
18235 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18236 # Files that config.status was made for.
18237 config_files="$ac_config_files"
18238 config_headers="$ac_config_headers"
18239 config_links="$ac_config_links"
18240 config_commands="$ac_config_commands"
18242 _ACEOF
18244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18245 ac_cs_usage="\
18246 \`$as_me' instantiates files and other configuration actions
18247 from templates according to the current configuration. Unless the files
18248 and actions are specified as TAGs, all are instantiated by default.
18250 Usage: $0 [OPTION]... [TAG]...
18252 -h, --help print this help, then exit
18253 -V, --version print version number and configuration settings, then exit
18254 --config print configuration, then exit
18255 -q, --quiet, --silent
18256 do not print progress messages
18257 -d, --debug don't remove temporary files
18258 --recheck update $as_me by reconfiguring in the same conditions
18259 --file=FILE[:TEMPLATE]
18260 instantiate the configuration file FILE
18261 --header=FILE[:TEMPLATE]
18262 instantiate the configuration header FILE
18264 Configuration files:
18265 $config_files
18267 Configuration headers:
18268 $config_headers
18270 Configuration links:
18271 $config_links
18273 Configuration commands:
18274 $config_commands
18276 Report bugs to <wine-devel@winehq.org>.
18277 Wine home page: <http://www.winehq.org>."
18279 _ACEOF
18280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18281 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18282 ac_cs_version="\\
18283 Wine config.status 1.7.30
18284 configured by $0, generated by GNU Autoconf 2.69,
18285 with options \\"\$ac_cs_config\\"
18287 Copyright (C) 2012 Free Software Foundation, Inc.
18288 This config.status script is free software; the Free Software Foundation
18289 gives unlimited permission to copy, distribute and modify it."
18291 ac_pwd='$ac_pwd'
18292 srcdir='$srcdir'
18293 test -n "\$AWK" || AWK=awk
18294 _ACEOF
18296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18297 # The default lists apply if the user does not specify any file.
18298 ac_need_defaults=:
18299 while test $# != 0
18301 case $1 in
18302 --*=?*)
18303 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18304 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18305 ac_shift=:
18307 --*=)
18308 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18309 ac_optarg=
18310 ac_shift=:
18313 ac_option=$1
18314 ac_optarg=$2
18315 ac_shift=shift
18317 esac
18319 case $ac_option in
18320 # Handling of the options.
18321 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18322 ac_cs_recheck=: ;;
18323 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18324 $as_echo "$ac_cs_version"; exit ;;
18325 --config | --confi | --conf | --con | --co | --c )
18326 $as_echo "$ac_cs_config"; exit ;;
18327 --debug | --debu | --deb | --de | --d | -d )
18328 debug=: ;;
18329 --file | --fil | --fi | --f )
18330 $ac_shift
18331 case $ac_optarg in
18332 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18333 '') as_fn_error $? "missing file argument" ;;
18334 esac
18335 as_fn_append CONFIG_FILES " '$ac_optarg'"
18336 ac_need_defaults=false;;
18337 --header | --heade | --head | --hea )
18338 $ac_shift
18339 case $ac_optarg in
18340 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18341 esac
18342 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18343 ac_need_defaults=false;;
18344 --he | --h)
18345 # Conflict between --help and --header
18346 as_fn_error $? "ambiguous option: \`$1'
18347 Try \`$0 --help' for more information.";;
18348 --help | --hel | -h )
18349 $as_echo "$ac_cs_usage"; exit ;;
18350 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18351 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18352 ac_cs_silent=: ;;
18354 # This is an error.
18355 -*) as_fn_error $? "unrecognized option: \`$1'
18356 Try \`$0 --help' for more information." ;;
18358 *) as_fn_append ac_config_targets " $1"
18359 ac_need_defaults=false ;;
18361 esac
18362 shift
18363 done
18365 ac_configure_extra_args=
18367 if $ac_cs_silent; then
18368 exec 6>/dev/null
18369 ac_configure_extra_args="$ac_configure_extra_args --silent"
18372 _ACEOF
18373 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18374 if \$ac_cs_recheck; then
18375 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18376 shift
18377 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18378 CONFIG_SHELL='$SHELL'
18379 export CONFIG_SHELL
18380 exec "\$@"
18383 _ACEOF
18384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18385 exec 5>>config.log
18387 echo
18388 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18389 ## Running $as_me. ##
18390 _ASBOX
18391 $as_echo "$ac_log"
18392 } >&5
18394 _ACEOF
18395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18397 # INIT-COMMANDS
18399 wine_fn_output_makedep ()
18401 as_dir=tools; as_fn_mkdir_p
18402 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18404 wine_fn_output_makefile ()
18406 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18407 `cat $wine_rules_file`
18408 _WINE_EOF
18409 as_fn_error $? "could not create Makefile" "$LINENO" 5
18411 wine_fn_output_gitignore ()
18413 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18414 $GITIGNORE
18415 _WINE_EOF
18416 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18419 _ACEOF
18421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18423 # Handling of arguments.
18424 for ac_config_target in $ac_config_targets
18426 case $ac_config_target in
18427 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18428 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18429 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18430 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18431 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18432 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18433 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18434 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18435 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18436 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18437 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18438 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18439 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18440 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18442 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18443 esac
18444 done
18447 # If the user did not use the arguments to specify the items to instantiate,
18448 # then the envvar interface is used. Set only those that are not.
18449 # We use the long form for the default assignment because of an extremely
18450 # bizarre bug on SunOS 4.1.3.
18451 if $ac_need_defaults; then
18452 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18453 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18454 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18455 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18458 # Have a temporary directory for convenience. Make it in the build tree
18459 # simply because there is no reason against having it here, and in addition,
18460 # creating and moving files from /tmp can sometimes cause problems.
18461 # Hook for its removal unless debugging.
18462 # Note that there is a small window in which the directory will not be cleaned:
18463 # after its creation but before its name has been assigned to `$tmp'.
18464 $debug ||
18466 tmp= ac_tmp=
18467 trap 'exit_status=$?
18468 : "${ac_tmp:=$tmp}"
18469 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18471 trap 'as_fn_exit 1' 1 2 13 15
18473 # Create a (secure) tmp directory for tmp files.
18476 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18477 test -d "$tmp"
18478 } ||
18480 tmp=./conf$$-$RANDOM
18481 (umask 077 && mkdir "$tmp")
18482 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18483 ac_tmp=$tmp
18485 # Set up the scripts for CONFIG_FILES section.
18486 # No need to generate them if there are no CONFIG_FILES.
18487 # This happens for instance with `./config.status config.h'.
18488 if test -n "$CONFIG_FILES"; then
18491 ac_cr=`echo X | tr X '\015'`
18492 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18493 # But we know of no other shell where ac_cr would be empty at this
18494 # point, so we can use a bashism as a fallback.
18495 if test "x$ac_cr" = x; then
18496 eval ac_cr=\$\'\\r\'
18498 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18499 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18500 ac_cs_awk_cr='\\r'
18501 else
18502 ac_cs_awk_cr=$ac_cr
18505 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18506 _ACEOF
18510 echo "cat >conf$$subs.awk <<_ACEOF" &&
18511 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18512 echo "_ACEOF"
18513 } >conf$$subs.sh ||
18514 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18515 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18516 ac_delim='%!_!# '
18517 for ac_last_try in false false false false false :; do
18518 . ./conf$$subs.sh ||
18519 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18521 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18522 if test $ac_delim_n = $ac_delim_num; then
18523 break
18524 elif $ac_last_try; then
18525 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18526 else
18527 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18529 done
18530 rm -f conf$$subs.sh
18532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18533 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18534 _ACEOF
18535 sed -n '
18537 s/^/S["/; s/!.*/"]=/
18540 s/^[^!]*!//
18541 :repl
18542 t repl
18543 s/'"$ac_delim"'$//
18544 t delim
18547 s/\(.\{148\}\)..*/\1/
18548 t more1
18549 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18552 b repl
18553 :more1
18554 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18557 s/.\{148\}//
18558 t nl
18559 :delim
18561 s/\(.\{148\}\)..*/\1/
18562 t more2
18563 s/["\\]/\\&/g; s/^/"/; s/$/"/
18566 :more2
18567 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18570 s/.\{148\}//
18571 t delim
18572 ' <conf$$subs.awk | sed '
18573 /^[^""]/{
18575 s/\n//
18577 ' >>$CONFIG_STATUS || ac_write_fail=1
18578 rm -f conf$$subs.awk
18579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18580 _ACAWK
18581 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18582 for (key in S) S_is_set[key] = 1
18583 FS = "\a"
18587 line = $ 0
18588 nfields = split(line, field, "@")
18589 substed = 0
18590 len = length(field[1])
18591 for (i = 2; i < nfields; i++) {
18592 key = field[i]
18593 keylen = length(key)
18594 if (S_is_set[key]) {
18595 value = S[key]
18596 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18597 len += length(value) + length(field[++i])
18598 substed = 1
18599 } else
18600 len += 1 + keylen
18603 print line
18606 _ACAWK
18607 _ACEOF
18608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18609 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18610 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18611 else
18613 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18614 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18615 _ACEOF
18617 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18618 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18619 # trailing colons and then remove the whole line if VPATH becomes empty
18620 # (actually we leave an empty line to preserve line numbers).
18621 if test "x$srcdir" = x.; then
18622 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18624 s///
18625 s/^/:/
18626 s/[ ]*$/:/
18627 s/:\$(srcdir):/:/g
18628 s/:\${srcdir}:/:/g
18629 s/:@srcdir@:/:/g
18630 s/^:*//
18631 s/:*$//
18633 s/\(=[ ]*\).*/\1/
18635 s/\n//
18636 s/^[^=]*=[ ]*$//
18640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18641 fi # test -n "$CONFIG_FILES"
18643 # Set up the scripts for CONFIG_HEADERS section.
18644 # No need to generate them if there are no CONFIG_HEADERS.
18645 # This happens for instance with `./config.status Makefile'.
18646 if test -n "$CONFIG_HEADERS"; then
18647 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18648 BEGIN {
18649 _ACEOF
18651 # Transform confdefs.h into an awk script `defines.awk', embedded as
18652 # here-document in config.status, that substitutes the proper values into
18653 # config.h.in to produce config.h.
18655 # Create a delimiter string that does not exist in confdefs.h, to ease
18656 # handling of long lines.
18657 ac_delim='%!_!# '
18658 for ac_last_try in false false :; do
18659 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18660 if test -z "$ac_tt"; then
18661 break
18662 elif $ac_last_try; then
18663 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18664 else
18665 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18667 done
18669 # For the awk script, D is an array of macro values keyed by name,
18670 # likewise P contains macro parameters if any. Preserve backslash
18671 # newline sequences.
18673 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18674 sed -n '
18675 s/.\{148\}/&'"$ac_delim"'/g
18676 t rset
18677 :rset
18678 s/^[ ]*#[ ]*define[ ][ ]*/ /
18679 t def
18681 :def
18682 s/\\$//
18683 t bsnl
18684 s/["\\]/\\&/g
18685 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18686 D["\1"]=" \3"/p
18687 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18689 :bsnl
18690 s/["\\]/\\&/g
18691 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18692 D["\1"]=" \3\\\\\\n"\\/p
18693 t cont
18694 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18695 t cont
18697 :cont
18699 s/.\{148\}/&'"$ac_delim"'/g
18700 t clear
18701 :clear
18702 s/\\$//
18703 t bsnlc
18704 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18706 :bsnlc
18707 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18708 b cont
18709 ' <confdefs.h | sed '
18710 s/'"$ac_delim"'/"\\\
18711 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18714 for (key in D) D_is_set[key] = 1
18715 FS = "\a"
18717 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18718 line = \$ 0
18719 split(line, arg, " ")
18720 if (arg[1] == "#") {
18721 defundef = arg[2]
18722 mac1 = arg[3]
18723 } else {
18724 defundef = substr(arg[1], 2)
18725 mac1 = arg[2]
18727 split(mac1, mac2, "(") #)
18728 macro = mac2[1]
18729 prefix = substr(line, 1, index(line, defundef) - 1)
18730 if (D_is_set[macro]) {
18731 # Preserve the white space surrounding the "#".
18732 print prefix "define", macro P[macro] D[macro]
18733 next
18734 } else {
18735 # Replace #undef with comments. This is necessary, for example,
18736 # in the case of _POSIX_SOURCE, which is predefined and required
18737 # on some systems where configure will not decide to define it.
18738 if (defundef == "undef") {
18739 print "/*", prefix defundef, macro, "*/"
18740 next
18744 { print }
18745 _ACAWK
18746 _ACEOF
18747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18748 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18749 fi # test -n "$CONFIG_HEADERS"
18752 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18753 shift
18754 for ac_tag
18756 case $ac_tag in
18757 :[FHLC]) ac_mode=$ac_tag; continue;;
18758 esac
18759 case $ac_mode$ac_tag in
18760 :[FHL]*:*);;
18761 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18762 :[FH]-) ac_tag=-:-;;
18763 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18764 esac
18765 ac_save_IFS=$IFS
18766 IFS=:
18767 set x $ac_tag
18768 IFS=$ac_save_IFS
18769 shift
18770 ac_file=$1
18771 shift
18773 case $ac_mode in
18774 :L) ac_source=$1;;
18775 :[FH])
18776 ac_file_inputs=
18777 for ac_f
18779 case $ac_f in
18780 -) ac_f="$ac_tmp/stdin";;
18781 *) # Look for the file first in the build tree, then in the source tree
18782 # (if the path is not absolute). The absolute path cannot be DOS-style,
18783 # because $ac_f cannot contain `:'.
18784 test -f "$ac_f" ||
18785 case $ac_f in
18786 [\\/$]*) false;;
18787 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18788 esac ||
18789 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18790 esac
18791 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18792 as_fn_append ac_file_inputs " '$ac_f'"
18793 done
18795 # Let's still pretend it is `configure' which instantiates (i.e., don't
18796 # use $as_me), people would be surprised to read:
18797 # /* config.h. Generated by config.status. */
18798 configure_input='Generated from '`
18799 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18800 `' by configure.'
18801 if test x"$ac_file" != x-; then
18802 configure_input="$ac_file. $configure_input"
18803 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18804 $as_echo "$as_me: creating $ac_file" >&6;}
18806 # Neutralize special characters interpreted by sed in replacement strings.
18807 case $configure_input in #(
18808 *\&* | *\|* | *\\* )
18809 ac_sed_conf_input=`$as_echo "$configure_input" |
18810 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18811 *) ac_sed_conf_input=$configure_input;;
18812 esac
18814 case $ac_tag in
18815 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18816 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18817 esac
18819 esac
18821 ac_dir=`$as_dirname -- "$ac_file" ||
18822 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18823 X"$ac_file" : 'X\(//\)[^/]' \| \
18824 X"$ac_file" : 'X\(//\)$' \| \
18825 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18826 $as_echo X"$ac_file" |
18827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18828 s//\1/
18831 /^X\(\/\/\)[^/].*/{
18832 s//\1/
18835 /^X\(\/\/\)$/{
18836 s//\1/
18839 /^X\(\/\).*/{
18840 s//\1/
18843 s/.*/./; q'`
18844 as_dir="$ac_dir"; as_fn_mkdir_p
18845 ac_builddir=.
18847 case "$ac_dir" in
18848 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18850 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18851 # A ".." for each directory in $ac_dir_suffix.
18852 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18853 case $ac_top_builddir_sub in
18854 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18855 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18856 esac ;;
18857 esac
18858 ac_abs_top_builddir=$ac_pwd
18859 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18860 # for backward compatibility:
18861 ac_top_builddir=$ac_top_build_prefix
18863 case $srcdir in
18864 .) # We are building in place.
18865 ac_srcdir=.
18866 ac_top_srcdir=$ac_top_builddir_sub
18867 ac_abs_top_srcdir=$ac_pwd ;;
18868 [\\/]* | ?:[\\/]* ) # Absolute name.
18869 ac_srcdir=$srcdir$ac_dir_suffix;
18870 ac_top_srcdir=$srcdir
18871 ac_abs_top_srcdir=$srcdir ;;
18872 *) # Relative name.
18873 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18874 ac_top_srcdir=$ac_top_build_prefix$srcdir
18875 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18876 esac
18877 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18880 case $ac_mode in
18883 # CONFIG_FILE
18886 _ACEOF
18888 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18889 # If the template does not know about datarootdir, expand it.
18890 # FIXME: This hack should be removed a few years after 2.60.
18891 ac_datarootdir_hack=; ac_datarootdir_seen=
18892 ac_sed_dataroot='
18893 /datarootdir/ {
18897 /@datadir@/p
18898 /@docdir@/p
18899 /@infodir@/p
18900 /@localedir@/p
18901 /@mandir@/p'
18902 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18903 *datarootdir*) ac_datarootdir_seen=yes;;
18904 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18906 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18907 _ACEOF
18908 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18909 ac_datarootdir_hack='
18910 s&@datadir@&$datadir&g
18911 s&@docdir@&$docdir&g
18912 s&@infodir@&$infodir&g
18913 s&@localedir@&$localedir&g
18914 s&@mandir@&$mandir&g
18915 s&\\\${datarootdir}&$datarootdir&g' ;;
18916 esac
18917 _ACEOF
18919 # Neutralize VPATH when `$srcdir' = `.'.
18920 # Shell code in configure.ac might set extrasub.
18921 # FIXME: do we really want to maintain this feature?
18922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18923 ac_sed_extra="$ac_vpsub
18924 $extrasub
18925 _ACEOF
18926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18928 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18929 s|@configure_input@|$ac_sed_conf_input|;t t
18930 s&@top_builddir@&$ac_top_builddir_sub&;t t
18931 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18932 s&@srcdir@&$ac_srcdir&;t t
18933 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18934 s&@top_srcdir@&$ac_top_srcdir&;t t
18935 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18936 s&@builddir@&$ac_builddir&;t t
18937 s&@abs_builddir@&$ac_abs_builddir&;t t
18938 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18939 $ac_datarootdir_hack
18941 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18942 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18944 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18945 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18946 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18947 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18949 which seems to be undefined. Please make sure it is defined" >&5
18950 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18951 which seems to be undefined. Please make sure it is defined" >&2;}
18953 rm -f "$ac_tmp/stdin"
18954 case $ac_file in
18955 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18956 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18957 esac \
18958 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18962 # CONFIG_HEADER
18964 if test x"$ac_file" != x-; then
18966 $as_echo "/* $configure_input */" \
18967 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18968 } >"$ac_tmp/config.h" \
18969 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18970 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18971 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18972 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18973 else
18974 rm -f "$ac_file"
18975 mv "$ac_tmp/config.h" "$ac_file" \
18976 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18978 else
18979 $as_echo "/* $configure_input */" \
18980 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18981 || as_fn_error $? "could not create -" "$LINENO" 5
18986 # CONFIG_LINK
18989 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18991 else
18992 # Prefer the file from the source tree if names are identical.
18993 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18994 ac_source=$srcdir/$ac_source
18997 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18998 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19000 if test ! -r "$ac_source"; then
19001 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19003 rm -f "$ac_file"
19005 # Try a relative symlink, then a hard link, then a copy.
19006 case $ac_source in
19007 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19008 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19009 esac
19010 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19011 ln "$ac_source" "$ac_file" 2>/dev/null ||
19012 cp -p "$ac_source" "$ac_file" ||
19013 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19016 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19017 $as_echo "$as_me: executing $ac_file commands" >&6;}
19019 esac
19022 case $ac_file$ac_mode in
19023 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19024 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19025 "Makefile":C) wine_fn_output_makefile Makefile ;;
19026 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19028 esac
19029 done # for ac_tag
19032 as_fn_exit 0
19033 _ACEOF
19034 ac_clean_files=$ac_clean_files_save
19036 test $ac_write_fail = 0 ||
19037 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19040 # configure is writing to config.log, and then calls config.status.
19041 # config.status does its own redirection, appending to config.log.
19042 # Unfortunately, on DOS this fails, as config.log is still kept open
19043 # by configure, so config.status won't be able to write to it; its
19044 # output is simply discarded. So we exec the FD to /dev/null,
19045 # effectively closing config.log, so it can be properly (re)opened and
19046 # appended to by config.status. When coming back to configure, we
19047 # need to make the FD available again.
19048 if test "$no_create" != yes; then
19049 ac_cs_success=:
19050 ac_config_status_args=
19051 test "$silent" = yes &&
19052 ac_config_status_args="$ac_config_status_args --quiet"
19053 exec 5>/dev/null
19054 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19055 exec 5>>config.log
19056 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19057 # would make configure fail if this is the last instruction.
19058 $ac_cs_success || as_fn_exit 1
19060 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19062 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19066 if test "$no_create" = "yes"
19067 then
19068 exit 0
19071 ac_save_IFS="$IFS"
19072 if test "x$wine_notices != "x; then
19073 echo >&6
19074 IFS="|"
19075 for msg in $wine_notices; do
19076 IFS="$ac_save_IFS"
19077 if ${msg:+false} :; then :
19079 else
19080 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19081 $as_echo "$as_me: $msg" >&6;}
19083 done
19085 IFS="|"
19086 for msg in $wine_warnings; do
19087 IFS="$ac_save_IFS"
19088 if ${msg:+false} :; then :
19090 else
19091 echo >&2
19092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19093 $as_echo "$as_me: WARNING: $msg" >&2;}
19095 done
19096 IFS="$ac_save_IFS"
19098 $as_echo "
19099 $as_me: Finished. Do '${ac_make}' to compile Wine.
19100 " >&6