wininet/tests: Add a test to show that the Content-Length header is not updated when...
[wine.git] / configure
blobb2d922ae85ca9f42fd8fea22f0f4ec76f13e4210
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.33.
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.33'
584 PACKAGE_STRING='Wine 1.7.33'
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_datetime_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_1
860 enable_api_ms_win_core_debug_l1_1_1
861 enable_api_ms_win_core_errorhandling_l1_1_1
862 enable_api_ms_win_core_errorhandling_l1_1_2
863 enable_api_ms_win_core_fibers_l1_1_0
864 enable_api_ms_win_core_fibers_l1_1_1
865 enable_api_ms_win_core_file_l1_2_0
866 enable_api_ms_win_core_file_l2_1_0
867 enable_api_ms_win_core_file_l2_1_1
868 enable_api_ms_win_core_handle_l1_1_0
869 enable_api_ms_win_core_heap_l1_2_0
870 enable_api_ms_win_core_heap_obsolete_l1_1_0
871 enable_api_ms_win_core_interlocked_l1_2_0
872 enable_api_ms_win_core_io_l1_1_1
873 enable_api_ms_win_core_kernel32_legacy_l1_1_0
874 enable_api_ms_win_core_libraryloader_l1_1_1
875 enable_api_ms_win_core_localization_l1_2_0
876 enable_api_ms_win_core_localization_l1_2_1
877 enable_api_ms_win_core_localization_obsolete_l1_1_0
878 enable_api_ms_win_core_localregistry_l1_1_0
879 enable_api_ms_win_core_memory_l1_1_1
880 enable_api_ms_win_core_namedpipe_l1_2_0
881 enable_api_ms_win_core_processenvironment_l1_2_0
882 enable_api_ms_win_core_processthreads_l1_1_0
883 enable_api_ms_win_core_processthreads_l1_1_1
884 enable_api_ms_win_core_processthreads_l1_1_2
885 enable_api_ms_win_core_profile_l1_1_0
886 enable_api_ms_win_core_psapi_l1_1_0
887 enable_api_ms_win_core_registry_l1_1_0
888 enable_api_ms_win_core_rtlsupport_l1_2_0
889 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
890 enable_api_ms_win_core_string_l1_1_0
891 enable_api_ms_win_core_synch_l1_2_0
892 enable_api_ms_win_core_sysinfo_l1_2_0
893 enable_api_ms_win_core_sysinfo_l1_2_1
894 enable_api_ms_win_core_threadpool_legacy_l1_1_0
895 enable_api_ms_win_core_timezone_l1_1_0
896 enable_api_ms_win_core_url_l1_1_0
897 enable_api_ms_win_core_util_l1_1_0
898 enable_api_ms_win_core_winrt_error_l1_1_0
899 enable_api_ms_win_core_winrt_error_l1_1_1
900 enable_api_ms_win_core_winrt_l1_1_0
901 enable_api_ms_win_core_winrt_string_l1_1_0
902 enable_api_ms_win_core_xstate_l2_1_0
903 enable_api_ms_win_downlevel_advapi32_l1_1_0
904 enable_api_ms_win_downlevel_advapi32_l2_1_0
905 enable_api_ms_win_downlevel_normaliz_l1_1_0
906 enable_api_ms_win_downlevel_ole32_l1_1_0
907 enable_api_ms_win_downlevel_shell32_l1_1_0
908 enable_api_ms_win_downlevel_shlwapi_l1_1_0
909 enable_api_ms_win_downlevel_shlwapi_l2_1_0
910 enable_api_ms_win_downlevel_user32_l1_1_0
911 enable_api_ms_win_downlevel_version_l1_1_0
912 enable_api_ms_win_eventing_provider_l1_1_0
913 enable_api_ms_win_ntuser_dc_access_l1_1_0
914 enable_api_ms_win_security_base_l1_1_0
915 enable_api_ms_win_security_base_l1_2_0
916 enable_api_ms_win_security_sddl_l1_1_0
917 enable_api_ms_win_service_core_l1_1_1
918 enable_api_ms_win_service_management_l1_1_0
919 enable_api_ms_win_service_winsvc_l1_2_0
920 enable_apphelp
921 enable_appwiz_cpl
922 enable_atl
923 enable_atl100
924 enable_atl110
925 enable_atl80
926 enable_atl90
927 enable_authz
928 enable_avicap32
929 enable_avifil32
930 enable_avrt
931 enable_bcrypt
932 enable_browseui
933 enable_cabinet
934 enable_capi2032
935 enable_cards
936 enable_cfgmgr32
937 enable_clusapi
938 enable_combase
939 enable_comcat
940 enable_comctl32
941 enable_comdlg32
942 enable_compstui
943 enable_comsvcs
944 enable_credui
945 enable_crtdll
946 enable_crypt32
947 enable_cryptdlg
948 enable_cryptdll
949 enable_cryptext
950 enable_cryptnet
951 enable_cryptui
952 enable_ctapi32
953 enable_ctl3d32
954 enable_d2d1
955 enable_d3d10
956 enable_d3d10_1
957 enable_d3d10core
958 enable_d3d11
959 enable_d3d8
960 enable_d3d9
961 enable_d3dcompiler_33
962 enable_d3dcompiler_34
963 enable_d3dcompiler_35
964 enable_d3dcompiler_36
965 enable_d3dcompiler_37
966 enable_d3dcompiler_38
967 enable_d3dcompiler_39
968 enable_d3dcompiler_40
969 enable_d3dcompiler_41
970 enable_d3dcompiler_42
971 enable_d3dcompiler_43
972 enable_d3dim
973 enable_d3drm
974 enable_d3dx10_33
975 enable_d3dx10_34
976 enable_d3dx10_35
977 enable_d3dx10_36
978 enable_d3dx10_37
979 enable_d3dx10_38
980 enable_d3dx10_39
981 enable_d3dx10_40
982 enable_d3dx10_41
983 enable_d3dx10_42
984 enable_d3dx10_43
985 enable_d3dx11_42
986 enable_d3dx11_43
987 enable_d3dx9_24
988 enable_d3dx9_25
989 enable_d3dx9_26
990 enable_d3dx9_27
991 enable_d3dx9_28
992 enable_d3dx9_29
993 enable_d3dx9_30
994 enable_d3dx9_31
995 enable_d3dx9_32
996 enable_d3dx9_33
997 enable_d3dx9_34
998 enable_d3dx9_35
999 enable_d3dx9_36
1000 enable_d3dx9_37
1001 enable_d3dx9_38
1002 enable_d3dx9_39
1003 enable_d3dx9_40
1004 enable_d3dx9_41
1005 enable_d3dx9_42
1006 enable_d3dx9_43
1007 enable_d3dxof
1008 enable_dbgeng
1009 enable_dbghelp
1010 enable_dciman32
1011 enable_ddraw
1012 enable_ddrawex
1013 enable_devenum
1014 enable_dhcpcsvc
1015 enable_difxapi
1016 enable_dinput
1017 enable_dinput8
1018 enable_dispex
1019 enable_dmband
1020 enable_dmcompos
1021 enable_dmime
1022 enable_dmloader
1023 enable_dmscript
1024 enable_dmstyle
1025 enable_dmsynth
1026 enable_dmusic
1027 enable_dmusic32
1028 enable_dnsapi
1029 enable_dplay
1030 enable_dplayx
1031 enable_dpnaddr
1032 enable_dpnet
1033 enable_dpnhpast
1034 enable_dpnlobby
1035 enable_dpvoice
1036 enable_dpwsockx
1037 enable_drmclien
1038 enable_dsound
1039 enable_dssenh
1040 enable_dswave
1041 enable_dwmapi
1042 enable_dwrite
1043 enable_dxdiagn
1044 enable_dxgi
1045 enable_dxva2
1046 enable_explorerframe
1047 enable_ext_ms_win_gdi_devcaps_l1_1_0
1048 enable_faultrep
1049 enable_fltlib
1050 enable_fntcache
1051 enable_fontsub
1052 enable_fusion
1053 enable_fwpuclnt
1054 enable_gameux
1055 enable_gdi32
1056 enable_gdiplus
1057 enable_glu32
1058 enable_gphoto2_ds
1059 enable_gpkcsp
1060 enable_hal
1061 enable_hhctrl_ocx
1062 enable_hid
1063 enable_hlink
1064 enable_hnetcfg
1065 enable_httpapi
1066 enable_iccvid
1067 enable_icmp
1068 enable_ieframe
1069 enable_imaadp32_acm
1070 enable_imagehlp
1071 enable_imm32
1072 enable_inetcomm
1073 enable_inetcpl_cpl
1074 enable_inetmib1
1075 enable_infosoft
1076 enable_initpki
1077 enable_inkobj
1078 enable_inseng
1079 enable_iphlpapi
1080 enable_itircl
1081 enable_itss
1082 enable_joy_cpl
1083 enable_jscript
1084 enable_jsproxy
1085 enable_kernel32
1086 enable_ksuser
1087 enable_ktmw32
1088 enable_loadperf
1089 enable_localspl
1090 enable_localui
1091 enable_lz32
1092 enable_mapi32
1093 enable_mapistub
1094 enable_mciavi32
1095 enable_mcicda
1096 enable_mciqtz32
1097 enable_mciseq
1098 enable_mciwave
1099 enable_mfplat
1100 enable_mfreadwrite
1101 enable_mgmtapi
1102 enable_midimap
1103 enable_mlang
1104 enable_mmcndmgr
1105 enable_mmdevapi
1106 enable_mountmgr_sys
1107 enable_mpr
1108 enable_mprapi
1109 enable_msacm32_drv
1110 enable_msacm32
1111 enable_msadp32_acm
1112 enable_msasn1
1113 enable_mscat32
1114 enable_mscms
1115 enable_mscoree
1116 enable_msctf
1117 enable_msdaps
1118 enable_msdmo
1119 enable_msftedit
1120 enable_msg711_acm
1121 enable_msgsm32_acm
1122 enable_mshtml_tlb
1123 enable_mshtml
1124 enable_msi
1125 enable_msident
1126 enable_msimg32
1127 enable_msimsg
1128 enable_msimtf
1129 enable_msisip
1130 enable_msisys_ocx
1131 enable_msls31
1132 enable_msnet32
1133 enable_mspatcha
1134 enable_msrle32
1135 enable_mssign32
1136 enable_mssip32
1137 enable_mstask
1138 enable_msvcirt
1139 enable_msvcm80
1140 enable_msvcm90
1141 enable_msvcp100
1142 enable_msvcp110
1143 enable_msvcp120
1144 enable_msvcp120_app
1145 enable_msvcp60
1146 enable_msvcp70
1147 enable_msvcp71
1148 enable_msvcp80
1149 enable_msvcp90
1150 enable_msvcr100
1151 enable_msvcr110
1152 enable_msvcr120
1153 enable_msvcr120_app
1154 enable_msvcr70
1155 enable_msvcr71
1156 enable_msvcr80
1157 enable_msvcr90
1158 enable_msvcrt
1159 enable_msvcrt20
1160 enable_msvcrt40
1161 enable_msvcrtd
1162 enable_msvfw32
1163 enable_msvidc32
1164 enable_mswsock
1165 enable_msxml
1166 enable_msxml2
1167 enable_msxml3
1168 enable_msxml4
1169 enable_msxml6
1170 enable_nddeapi
1171 enable_ndis_sys
1172 enable_netapi32
1173 enable_netcfgx
1174 enable_netprofm
1175 enable_newdev
1176 enable_normaliz
1177 enable_npmshtml
1178 enable_npptools
1179 enable_ntdll
1180 enable_ntdsapi
1181 enable_ntoskrnl_exe
1182 enable_ntprint
1183 enable_objsel
1184 enable_odbc32
1185 enable_odbccp32
1186 enable_odbccu32
1187 enable_ole32
1188 enable_oleacc
1189 enable_oleaut32
1190 enable_olecli32
1191 enable_oledb32
1192 enable_oledlg
1193 enable_olepro32
1194 enable_olesvr32
1195 enable_olethk32
1196 enable_openal32
1197 enable_opencl
1198 enable_opengl32
1199 enable_packager
1200 enable_pdh
1201 enable_photometadatahandler
1202 enable_pidgen
1203 enable_powrprof
1204 enable_printui
1205 enable_prntvpt
1206 enable_propsys
1207 enable_psapi
1208 enable_pstorec
1209 enable_qcap
1210 enable_qedit
1211 enable_qmgr
1212 enable_qmgrprxy
1213 enable_quartz
1214 enable_query
1215 enable_rasapi32
1216 enable_rasdlg
1217 enable_regapi
1218 enable_resutils
1219 enable_riched20
1220 enable_riched32
1221 enable_rpcrt4
1222 enable_rsabase
1223 enable_rsaenh
1224 enable_rstrtmgr
1225 enable_rtutils
1226 enable_samlib
1227 enable_sane_ds
1228 enable_scarddlg
1229 enable_sccbase
1230 enable_schannel
1231 enable_schedsvc
1232 enable_scrrun
1233 enable_scsiport_sys
1234 enable_secur32
1235 enable_security
1236 enable_sensapi
1237 enable_serialui
1238 enable_setupapi
1239 enable_sfc
1240 enable_sfc_os
1241 enable_shdoclc
1242 enable_shdocvw
1243 enable_shell32
1244 enable_shfolder
1245 enable_shlwapi
1246 enable_slbcsp
1247 enable_slc
1248 enable_snmpapi
1249 enable_softpub
1250 enable_spoolss
1251 enable_stdole2_tlb
1252 enable_stdole32_tlb
1253 enable_sti
1254 enable_svrapi
1255 enable_sxs
1256 enable_t2embed
1257 enable_tapi32
1258 enable_taskschd
1259 enable_traffic
1260 enable_twain_32
1261 enable_unicows
1262 enable_updspapi
1263 enable_url
1264 enable_urlmon
1265 enable_usbd_sys
1266 enable_user32
1267 enable_userenv
1268 enable_usp10
1269 enable_uxtheme
1270 enable_vbscript
1271 enable_vcomp
1272 enable_vcomp100
1273 enable_vcomp90
1274 enable_vdmdbg
1275 enable_version
1276 enable_vssapi
1277 enable_wbemdisp
1278 enable_wbemprox
1279 enable_webservices
1280 enable_wer
1281 enable_wevtapi
1282 enable_wiaservc
1283 enable_windowscodecs
1284 enable_windowscodecsext
1285 enable_winealsa_drv
1286 enable_winecoreaudio_drv
1287 enable_wined3d
1288 enable_winegstreamer
1289 enable_winejoystick_drv
1290 enable_winemac_drv
1291 enable_winemapi
1292 enable_winemp3_acm
1293 enable_wineoss_drv
1294 enable_wineps_drv
1295 enable_wineqtdecoder
1296 enable_winex11_drv
1297 enable_wing32
1298 enable_winhttp
1299 enable_wininet
1300 enable_winmm
1301 enable_winnls32
1302 enable_winscard
1303 enable_winspool_drv
1304 enable_winsta
1305 enable_wintab32
1306 enable_wintrust
1307 enable_wlanapi
1308 enable_wldap32
1309 enable_wmi
1310 enable_wmiutils
1311 enable_wmp
1312 enable_wmvcore
1313 enable_wnaspi32
1314 enable_wpcap
1315 enable_ws2_32
1316 enable_wshom_ocx
1317 enable_wsnmp32
1318 enable_wsock32
1319 enable_wtsapi32
1320 enable_wuapi
1321 enable_wuaueng
1322 enable_xapofx1_1
1323 enable_xinput1_1
1324 enable_xinput1_2
1325 enable_xinput1_3
1326 enable_xinput1_4
1327 enable_xinput9_1_0
1328 enable_xmllite
1329 enable_xolehlp
1330 enable_xpsprint
1331 enable_xpssvcs
1332 enable_documentation
1333 enable_fonts
1334 enable_include
1335 enable_libs_port
1336 enable_libs_wine
1337 enable_libs_wpp
1338 enable_loader
1339 enable_arp
1340 enable_aspnet_regiis
1341 enable_attrib
1342 enable_cabarc
1343 enable_cacls
1344 enable_clock
1345 enable_cmd
1346 enable_conhost
1347 enable_control
1348 enable_cscript
1349 enable_dpnsvr
1350 enable_dxdiag
1351 enable_eject
1352 enable_expand
1353 enable_explorer
1354 enable_extrac32
1355 enable_findstr
1356 enable_hh
1357 enable_hostname
1358 enable_icinfo
1359 enable_iexplore
1360 enable_ipconfig
1361 enable_lodctr
1362 enable_mofcomp
1363 enable_mshta
1364 enable_msiexec
1365 enable_net
1366 enable_netsh
1367 enable_netstat
1368 enable_ngen
1369 enable_notepad
1370 enable_oleview
1371 enable_ping
1372 enable_plugplay
1373 enable_presentationfontcache
1374 enable_progman
1375 enable_reg
1376 enable_regasm
1377 enable_regedit
1378 enable_regsvcs
1379 enable_regsvr32
1380 enable_rpcss
1381 enable_rundll32
1382 enable_sc
1383 enable_schtasks
1384 enable_sdbinst
1385 enable_secedit
1386 enable_servicemodelreg
1387 enable_services
1388 enable_spoolsv
1389 enable_start
1390 enable_svchost
1391 enable_systeminfo
1392 enable_taskkill
1393 enable_tasklist
1394 enable_taskmgr
1395 enable_termsv
1396 enable_uninstaller
1397 enable_unlodctr
1398 enable_view
1399 enable_wevtutil
1400 enable_wineboot
1401 enable_winebrowser
1402 enable_winecfg
1403 enable_wineconsole
1404 enable_winedbg
1405 enable_winedevice
1406 enable_winefile
1407 enable_winemenubuilder
1408 enable_winemine
1409 enable_winemsibuilder
1410 enable_winepath
1411 enable_winetest
1412 enable_winhlp32
1413 enable_winver
1414 enable_wmic
1415 enable_wordpad
1416 enable_write
1417 enable_wscript
1418 enable_wusa
1419 enable_xcopy
1420 enable_server
1421 enable_tools
1423 ac_precious_vars='build_alias
1424 host_alias
1425 target_alias
1427 CFLAGS
1428 LDFLAGS
1429 LIBS
1430 CPPFLAGS
1432 CXXFLAGS
1435 XMKMF
1436 XML2_CFLAGS
1437 XML2_LIBS
1438 XSLT_CFLAGS
1439 XSLT_LIBS
1440 DBUS_CFLAGS
1441 DBUS_LIBS
1442 HAL_CFLAGS
1443 HAL_LIBS
1444 GNUTLS_CFLAGS
1445 GNUTLS_LIBS
1446 SANE_CFLAGS
1447 SANE_LIBS
1448 GPHOTO2_CFLAGS
1449 GPHOTO2_LIBS
1450 GPHOTO2_PORT_CFLAGS
1451 GPHOTO2_PORT_LIBS
1452 LCMS2_CFLAGS
1453 LCMS2_LIBS
1454 FREETYPE_CFLAGS
1455 FREETYPE_LIBS
1456 GSTREAMER_CFLAGS
1457 GSTREAMER_LIBS
1458 CAPI20_CFLAGS
1459 CAPI20_LIBS
1460 FONTCONFIG_CFLAGS
1461 FONTCONFIG_LIBS
1462 JPEG_CFLAGS
1463 JPEG_LIBS
1464 PNG_CFLAGS
1465 PNG_LIBS
1466 TIFF_CFLAGS
1467 TIFF_LIBS
1468 MPG123_CFLAGS
1469 MPG123_LIBS'
1472 # Initialize some variables set by options.
1473 ac_init_help=
1474 ac_init_version=false
1475 ac_unrecognized_opts=
1476 ac_unrecognized_sep=
1477 # The variables have the same names as the options, with
1478 # dashes changed to underlines.
1479 cache_file=/dev/null
1480 exec_prefix=NONE
1481 no_create=
1482 no_recursion=
1483 prefix=NONE
1484 program_prefix=NONE
1485 program_suffix=NONE
1486 program_transform_name=s,x,x,
1487 silent=
1488 site=
1489 srcdir=
1490 verbose=
1491 x_includes=NONE
1492 x_libraries=NONE
1494 # Installation directory options.
1495 # These are left unexpanded so users can "make install exec_prefix=/foo"
1496 # and all the variables that are supposed to be based on exec_prefix
1497 # by default will actually change.
1498 # Use braces instead of parens because sh, perl, etc. also accept them.
1499 # (The list follows the same order as the GNU Coding Standards.)
1500 bindir='${exec_prefix}/bin'
1501 sbindir='${exec_prefix}/sbin'
1502 libexecdir='${exec_prefix}/libexec'
1503 datarootdir='${prefix}/share'
1504 datadir='${datarootdir}'
1505 sysconfdir='${prefix}/etc'
1506 sharedstatedir='${prefix}/com'
1507 localstatedir='${prefix}/var'
1508 includedir='${prefix}/include'
1509 oldincludedir='/usr/include'
1510 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1511 infodir='${datarootdir}/info'
1512 htmldir='${docdir}'
1513 dvidir='${docdir}'
1514 pdfdir='${docdir}'
1515 psdir='${docdir}'
1516 libdir='${exec_prefix}/lib'
1517 localedir='${datarootdir}/locale'
1518 mandir='${datarootdir}/man'
1520 ac_prev=
1521 ac_dashdash=
1522 for ac_option
1524 # If the previous option needs an argument, assign it.
1525 if test -n "$ac_prev"; then
1526 eval $ac_prev=\$ac_option
1527 ac_prev=
1528 continue
1531 case $ac_option in
1532 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1533 *=) ac_optarg= ;;
1534 *) ac_optarg=yes ;;
1535 esac
1537 # Accept the important Cygnus configure options, so we can diagnose typos.
1539 case $ac_dashdash$ac_option in
1541 ac_dashdash=yes ;;
1543 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1544 ac_prev=bindir ;;
1545 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1546 bindir=$ac_optarg ;;
1548 -build | --build | --buil | --bui | --bu)
1549 ac_prev=build_alias ;;
1550 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1551 build_alias=$ac_optarg ;;
1553 -cache-file | --cache-file | --cache-fil | --cache-fi \
1554 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1555 ac_prev=cache_file ;;
1556 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1557 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1558 cache_file=$ac_optarg ;;
1560 --config-cache | -C)
1561 cache_file=config.cache ;;
1563 -datadir | --datadir | --datadi | --datad)
1564 ac_prev=datadir ;;
1565 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1566 datadir=$ac_optarg ;;
1568 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1569 | --dataroo | --dataro | --datar)
1570 ac_prev=datarootdir ;;
1571 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1572 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1573 datarootdir=$ac_optarg ;;
1575 -disable-* | --disable-*)
1576 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1577 # Reject names that are not valid shell variable names.
1578 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1579 as_fn_error $? "invalid feature name: $ac_useropt"
1580 ac_useropt_orig=$ac_useropt
1581 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1582 case $ac_user_opts in
1584 "enable_$ac_useropt"
1585 "*) ;;
1586 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1587 ac_unrecognized_sep=', ';;
1588 esac
1589 eval enable_$ac_useropt=no ;;
1591 -docdir | --docdir | --docdi | --doc | --do)
1592 ac_prev=docdir ;;
1593 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1594 docdir=$ac_optarg ;;
1596 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1597 ac_prev=dvidir ;;
1598 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1599 dvidir=$ac_optarg ;;
1601 -enable-* | --enable-*)
1602 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1603 # Reject names that are not valid shell variable names.
1604 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1605 as_fn_error $? "invalid feature name: $ac_useropt"
1606 ac_useropt_orig=$ac_useropt
1607 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1608 case $ac_user_opts in
1610 "enable_$ac_useropt"
1611 "*) ;;
1612 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1613 ac_unrecognized_sep=', ';;
1614 esac
1615 eval enable_$ac_useropt=\$ac_optarg ;;
1617 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1618 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1619 | --exec | --exe | --ex)
1620 ac_prev=exec_prefix ;;
1621 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1622 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1623 | --exec=* | --exe=* | --ex=*)
1624 exec_prefix=$ac_optarg ;;
1626 -gas | --gas | --ga | --g)
1627 # Obsolete; use --with-gas.
1628 with_gas=yes ;;
1630 -help | --help | --hel | --he | -h)
1631 ac_init_help=long ;;
1632 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1633 ac_init_help=recursive ;;
1634 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1635 ac_init_help=short ;;
1637 -host | --host | --hos | --ho)
1638 ac_prev=host_alias ;;
1639 -host=* | --host=* | --hos=* | --ho=*)
1640 host_alias=$ac_optarg ;;
1642 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1643 ac_prev=htmldir ;;
1644 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1645 | --ht=*)
1646 htmldir=$ac_optarg ;;
1648 -includedir | --includedir | --includedi | --included | --include \
1649 | --includ | --inclu | --incl | --inc)
1650 ac_prev=includedir ;;
1651 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1652 | --includ=* | --inclu=* | --incl=* | --inc=*)
1653 includedir=$ac_optarg ;;
1655 -infodir | --infodir | --infodi | --infod | --info | --inf)
1656 ac_prev=infodir ;;
1657 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1658 infodir=$ac_optarg ;;
1660 -libdir | --libdir | --libdi | --libd)
1661 ac_prev=libdir ;;
1662 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1663 libdir=$ac_optarg ;;
1665 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1666 | --libexe | --libex | --libe)
1667 ac_prev=libexecdir ;;
1668 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1669 | --libexe=* | --libex=* | --libe=*)
1670 libexecdir=$ac_optarg ;;
1672 -localedir | --localedir | --localedi | --localed | --locale)
1673 ac_prev=localedir ;;
1674 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1675 localedir=$ac_optarg ;;
1677 -localstatedir | --localstatedir | --localstatedi | --localstated \
1678 | --localstate | --localstat | --localsta | --localst | --locals)
1679 ac_prev=localstatedir ;;
1680 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1681 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1682 localstatedir=$ac_optarg ;;
1684 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1685 ac_prev=mandir ;;
1686 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1687 mandir=$ac_optarg ;;
1689 -nfp | --nfp | --nf)
1690 # Obsolete; use --without-fp.
1691 with_fp=no ;;
1693 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1694 | --no-cr | --no-c | -n)
1695 no_create=yes ;;
1697 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1698 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1699 no_recursion=yes ;;
1701 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1702 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1703 | --oldin | --oldi | --old | --ol | --o)
1704 ac_prev=oldincludedir ;;
1705 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1706 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1707 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1708 oldincludedir=$ac_optarg ;;
1710 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1711 ac_prev=prefix ;;
1712 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1713 prefix=$ac_optarg ;;
1715 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1716 | --program-pre | --program-pr | --program-p)
1717 ac_prev=program_prefix ;;
1718 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1719 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1720 program_prefix=$ac_optarg ;;
1722 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1723 | --program-suf | --program-su | --program-s)
1724 ac_prev=program_suffix ;;
1725 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1726 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1727 program_suffix=$ac_optarg ;;
1729 -program-transform-name | --program-transform-name \
1730 | --program-transform-nam | --program-transform-na \
1731 | --program-transform-n | --program-transform- \
1732 | --program-transform | --program-transfor \
1733 | --program-transfo | --program-transf \
1734 | --program-trans | --program-tran \
1735 | --progr-tra | --program-tr | --program-t)
1736 ac_prev=program_transform_name ;;
1737 -program-transform-name=* | --program-transform-name=* \
1738 | --program-transform-nam=* | --program-transform-na=* \
1739 | --program-transform-n=* | --program-transform-=* \
1740 | --program-transform=* | --program-transfor=* \
1741 | --program-transfo=* | --program-transf=* \
1742 | --program-trans=* | --program-tran=* \
1743 | --progr-tra=* | --program-tr=* | --program-t=*)
1744 program_transform_name=$ac_optarg ;;
1746 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1747 ac_prev=pdfdir ;;
1748 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1749 pdfdir=$ac_optarg ;;
1751 -psdir | --psdir | --psdi | --psd | --ps)
1752 ac_prev=psdir ;;
1753 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1754 psdir=$ac_optarg ;;
1756 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1757 | -silent | --silent | --silen | --sile | --sil)
1758 silent=yes ;;
1760 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1761 ac_prev=sbindir ;;
1762 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1763 | --sbi=* | --sb=*)
1764 sbindir=$ac_optarg ;;
1766 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1767 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1768 | --sharedst | --shareds | --shared | --share | --shar \
1769 | --sha | --sh)
1770 ac_prev=sharedstatedir ;;
1771 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1772 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1773 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1774 | --sha=* | --sh=*)
1775 sharedstatedir=$ac_optarg ;;
1777 -site | --site | --sit)
1778 ac_prev=site ;;
1779 -site=* | --site=* | --sit=*)
1780 site=$ac_optarg ;;
1782 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1783 ac_prev=srcdir ;;
1784 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1785 srcdir=$ac_optarg ;;
1787 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1788 | --syscon | --sysco | --sysc | --sys | --sy)
1789 ac_prev=sysconfdir ;;
1790 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1791 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1792 sysconfdir=$ac_optarg ;;
1794 -target | --target | --targe | --targ | --tar | --ta | --t)
1795 ac_prev=target_alias ;;
1796 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1797 target_alias=$ac_optarg ;;
1799 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1800 verbose=yes ;;
1802 -version | --version | --versio | --versi | --vers | -V)
1803 ac_init_version=: ;;
1805 -with-* | --with-*)
1806 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1807 # Reject names that are not valid shell variable names.
1808 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1809 as_fn_error $? "invalid package name: $ac_useropt"
1810 ac_useropt_orig=$ac_useropt
1811 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1812 case $ac_user_opts in
1814 "with_$ac_useropt"
1815 "*) ;;
1816 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1817 ac_unrecognized_sep=', ';;
1818 esac
1819 eval with_$ac_useropt=\$ac_optarg ;;
1821 -without-* | --without-*)
1822 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1823 # Reject names that are not valid shell variable names.
1824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1825 as_fn_error $? "invalid package name: $ac_useropt"
1826 ac_useropt_orig=$ac_useropt
1827 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1828 case $ac_user_opts in
1830 "with_$ac_useropt"
1831 "*) ;;
1832 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1833 ac_unrecognized_sep=', ';;
1834 esac
1835 eval with_$ac_useropt=no ;;
1837 --x)
1838 # Obsolete; use --with-x.
1839 with_x=yes ;;
1841 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1842 | --x-incl | --x-inc | --x-in | --x-i)
1843 ac_prev=x_includes ;;
1844 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1845 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1846 x_includes=$ac_optarg ;;
1848 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1849 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1850 ac_prev=x_libraries ;;
1851 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1852 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1853 x_libraries=$ac_optarg ;;
1855 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1856 Try \`$0 --help' for more information"
1859 *=*)
1860 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1861 # Reject names that are not valid shell variable names.
1862 case $ac_envvar in #(
1863 '' | [0-9]* | *[!_$as_cr_alnum]* )
1864 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1865 esac
1866 eval $ac_envvar=\$ac_optarg
1867 export $ac_envvar ;;
1870 # FIXME: should be removed in autoconf 3.0.
1871 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1872 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1873 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1874 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1877 esac
1878 done
1880 if test -n "$ac_prev"; then
1881 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1882 as_fn_error $? "missing argument to $ac_option"
1885 if test -n "$ac_unrecognized_opts"; then
1886 case $enable_option_checking in
1887 no) ;;
1888 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1889 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1890 esac
1893 # Check all directory arguments for consistency.
1894 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1895 datadir sysconfdir sharedstatedir localstatedir includedir \
1896 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1897 libdir localedir mandir
1899 eval ac_val=\$$ac_var
1900 # Remove trailing slashes.
1901 case $ac_val in
1902 */ )
1903 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1904 eval $ac_var=\$ac_val;;
1905 esac
1906 # Be sure to have absolute directory names.
1907 case $ac_val in
1908 [\\/$]* | ?:[\\/]* ) continue;;
1909 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1910 esac
1911 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1912 done
1914 # There might be people who depend on the old broken behavior: `$host'
1915 # used to hold the argument of --host etc.
1916 # FIXME: To remove some day.
1917 build=$build_alias
1918 host=$host_alias
1919 target=$target_alias
1921 # FIXME: To remove some day.
1922 if test "x$host_alias" != x; then
1923 if test "x$build_alias" = x; then
1924 cross_compiling=maybe
1925 elif test "x$build_alias" != "x$host_alias"; then
1926 cross_compiling=yes
1930 ac_tool_prefix=
1931 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1933 test "$silent" = yes && exec 6>/dev/null
1936 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1937 ac_ls_di=`ls -di .` &&
1938 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1939 as_fn_error $? "working directory cannot be determined"
1940 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1941 as_fn_error $? "pwd does not report name of working directory"
1944 # Find the source files, if location was not specified.
1945 if test -z "$srcdir"; then
1946 ac_srcdir_defaulted=yes
1947 # Try the directory containing this script, then the parent directory.
1948 ac_confdir=`$as_dirname -- "$as_myself" ||
1949 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1950 X"$as_myself" : 'X\(//\)[^/]' \| \
1951 X"$as_myself" : 'X\(//\)$' \| \
1952 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1953 $as_echo X"$as_myself" |
1954 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1955 s//\1/
1958 /^X\(\/\/\)[^/].*/{
1959 s//\1/
1962 /^X\(\/\/\)$/{
1963 s//\1/
1966 /^X\(\/\).*/{
1967 s//\1/
1970 s/.*/./; q'`
1971 srcdir=$ac_confdir
1972 if test ! -r "$srcdir/$ac_unique_file"; then
1973 srcdir=..
1975 else
1976 ac_srcdir_defaulted=no
1978 if test ! -r "$srcdir/$ac_unique_file"; then
1979 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1980 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1982 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1983 ac_abs_confdir=`(
1984 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1985 pwd)`
1986 # When building in place, set srcdir=.
1987 if test "$ac_abs_confdir" = "$ac_pwd"; then
1988 srcdir=.
1990 # Remove unnecessary trailing slashes from srcdir.
1991 # Double slashes in file names in object file debugging info
1992 # mess up M-x gdb in Emacs.
1993 case $srcdir in
1994 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1995 esac
1996 for ac_var in $ac_precious_vars; do
1997 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1998 eval ac_env_${ac_var}_value=\$${ac_var}
1999 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2000 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2001 done
2004 # Report the --help message.
2006 if test "$ac_init_help" = "long"; then
2007 # Omit some internal or obsolete options to make the list less imposing.
2008 # This message is too long to be a string in the A/UX 3.1 sh.
2009 cat <<_ACEOF
2010 \`configure' configures Wine 1.7.33 to adapt to many kinds of systems.
2012 Usage: $0 [OPTION]... [VAR=VALUE]...
2014 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2015 VAR=VALUE. See below for descriptions of some of the useful variables.
2017 Defaults for the options are specified in brackets.
2019 Configuration:
2020 -h, --help display this help and exit
2021 --help=short display options specific to this package
2022 --help=recursive display the short help of all the included packages
2023 -V, --version display version information and exit
2024 -q, --quiet, --silent do not print \`checking ...' messages
2025 --cache-file=FILE cache test results in FILE [disabled]
2026 -C, --config-cache alias for \`--cache-file=config.cache'
2027 -n, --no-create do not create output files
2028 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2030 Installation directories:
2031 --prefix=PREFIX install architecture-independent files in PREFIX
2032 [$ac_default_prefix]
2033 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2034 [PREFIX]
2036 By default, \`make install' will install all the files in
2037 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2038 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2039 for instance \`--prefix=\$HOME'.
2041 For better control, use the options below.
2043 Fine tuning of the installation directories:
2044 --bindir=DIR user executables [EPREFIX/bin]
2045 --sbindir=DIR system admin executables [EPREFIX/sbin]
2046 --libexecdir=DIR program executables [EPREFIX/libexec]
2047 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2048 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2049 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2050 --libdir=DIR object code libraries [EPREFIX/lib]
2051 --includedir=DIR C header files [PREFIX/include]
2052 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2053 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2054 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2055 --infodir=DIR info documentation [DATAROOTDIR/info]
2056 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2057 --mandir=DIR man documentation [DATAROOTDIR/man]
2058 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2059 --htmldir=DIR html documentation [DOCDIR]
2060 --dvidir=DIR dvi documentation [DOCDIR]
2061 --pdfdir=DIR pdf documentation [DOCDIR]
2062 --psdir=DIR ps documentation [DOCDIR]
2063 _ACEOF
2065 cat <<\_ACEOF
2067 X features:
2068 --x-includes=DIR X include files are in DIR
2069 --x-libraries=DIR X library files are in DIR
2071 System types:
2072 --build=BUILD configure for building on BUILD [guessed]
2073 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2074 _ACEOF
2077 if test -n "$ac_init_help"; then
2078 case $ac_init_help in
2079 short | recursive ) echo "Configuration of Wine 1.7.33:";;
2080 esac
2081 cat <<\_ACEOF
2083 Optional Features:
2084 --disable-option-checking ignore unrecognized --enable/--with options
2085 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2086 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2087 --disable-win16 do not include Win16 support
2088 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2089 binaries)
2090 --disable-tests do not build the regression tests
2091 --enable-maintainer-mode
2092 enable maintainer-specific build rules
2093 --disable-largefile omit support for large files
2095 Optional Packages:
2096 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2097 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2098 --without-alsa do not use the Alsa sound support
2099 --without-capi do not use CAPI (ISDN support)
2100 --without-cms do not use CMS (color management support)
2101 --without-coreaudio do not use the CoreAudio sound support
2102 --without-cups do not use CUPS
2103 --without-curses do not use (n)curses
2104 --without-dbus do not use DBus (dynamic device support)
2105 --without-fontconfig do not use fontconfig
2106 --without-freetype do not use the FreeType library
2107 --without-gettext do not use gettext
2108 --with-gettextpo use the GetTextPO library to rebuild po files
2109 --without-gphoto do not use gphoto (Digital Camera support)
2110 --without-glu do not use the GLU library
2111 --without-gnutls do not use GnuTLS (schannel support)
2112 --without-gsm do not use libgsm (GSM 06.10 codec support)
2113 --without-gstreamer do not use GStreamer (codecs support)
2114 --without-hal do not use HAL (dynamic device support)
2115 --without-jpeg do not use JPEG
2116 --without-ldap do not use LDAP
2117 --without-mpg123 do not use the mpg123 library
2118 --without-netapi do not use the Samba NetAPI library
2119 --without-openal do not use OpenAL
2120 --without-opencl do not use OpenCL
2121 --without-opengl do not use OpenGL
2122 --without-osmesa do not use the OSMesa library
2123 --without-oss do not use the OSS sound support
2124 --without-pcap do not use the Packet Capture library
2125 --without-png do not use PNG
2126 --without-pthread do not use the pthread library
2127 --without-sane do not use SANE (scanner support)
2128 --without-tiff do not use TIFF
2129 --without-v4l do not use v4l1 (v4l support)
2130 --without-xcomposite do not use the Xcomposite extension
2131 --without-xcursor do not use the Xcursor extension
2132 --without-xinerama do not use Xinerama (multi-monitor support)
2133 --without-xinput do not use the Xinput extension
2134 --without-xinput2 do not use the Xinput 2 extension
2135 --without-xml do not use XML
2136 --without-xrandr do not use Xrandr (resolution changes)
2137 --without-xrender do not use the Xrender extension
2138 --without-xshape do not use the Xshape extension
2139 --without-xshm do not use XShm (shared memory extension)
2140 --without-xslt do not use XSLT
2141 --without-xxf86vm do not use XFree video mode extension
2142 --without-zlib do not use Zlib (data compression)
2143 --with-wine-tools=DIR use Wine tools from directory DIR
2144 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2145 --with-x use the X Window System
2147 Some influential environment variables:
2148 CC C compiler command
2149 CFLAGS C compiler flags
2150 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2151 nonstandard directory <lib dir>
2152 LIBS libraries to pass to the linker, e.g. -l<library>
2153 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2154 you have headers in a nonstandard directory <include dir>
2155 CXX C++ compiler command
2156 CXXFLAGS C++ compiler flags
2157 CPP C preprocessor
2158 XMKMF Path to xmkmf, Makefile generator for X Window System
2159 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2160 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2161 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2162 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2163 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2164 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2165 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2166 HAL_LIBS Linker flags for hal, overriding pkg-config
2167 GNUTLS_CFLAGS
2168 C compiler flags for gnutls, overriding pkg-config
2169 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2170 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2171 SANE_LIBS Linker flags for libsane, overriding pkg-config
2172 GPHOTO2_CFLAGS
2173 C compiler flags for libgphoto2, overriding pkg-config
2174 GPHOTO2_LIBS
2175 Linker flags for libgphoto2, overriding pkg-config
2176 GPHOTO2_PORT_CFLAGS
2177 C compiler flags for libgphoto2_port, overriding pkg-config
2178 GPHOTO2_PORT_LIBS
2179 Linker flags for libgphoto2_port, overriding pkg-config
2180 LCMS2_CFLAGS
2181 C compiler flags for lcms2, overriding pkg-config
2182 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2183 FREETYPE_CFLAGS
2184 C compiler flags for freetype2, overriding pkg-config
2185 FREETYPE_LIBS
2186 Linker flags for freetype2, overriding pkg-config
2187 GSTREAMER_CFLAGS
2188 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2189 GSTREAMER_LIBS
2190 Linker flags for gstreamer-app-0.10, overriding pkg-config
2191 CAPI20_CFLAGS
2192 C compiler flags for capi20, overriding pkg-config
2193 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2194 FONTCONFIG_CFLAGS
2195 C compiler flags for fontconfig, overriding pkg-config
2196 FONTCONFIG_LIBS
2197 Linker flags for fontconfig, overriding pkg-config
2198 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2199 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2200 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2201 PNG_LIBS Linker flags for libpng, overriding pkg-config
2202 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2203 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2204 MPG123_CFLAGS
2205 C compiler flags for libmpg123, overriding pkg-config
2206 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2208 Use these variables to override the choices made by `configure' or to help
2209 it to find libraries and programs with nonstandard names/locations.
2211 Report bugs to <wine-devel@winehq.org>.
2212 Wine home page: <http://www.winehq.org>.
2213 _ACEOF
2214 ac_status=$?
2217 if test "$ac_init_help" = "recursive"; then
2218 # If there are subdirs, report their specific --help.
2219 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2220 test -d "$ac_dir" ||
2221 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2222 continue
2223 ac_builddir=.
2225 case "$ac_dir" in
2226 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2228 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2229 # A ".." for each directory in $ac_dir_suffix.
2230 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2231 case $ac_top_builddir_sub in
2232 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2233 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2234 esac ;;
2235 esac
2236 ac_abs_top_builddir=$ac_pwd
2237 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2238 # for backward compatibility:
2239 ac_top_builddir=$ac_top_build_prefix
2241 case $srcdir in
2242 .) # We are building in place.
2243 ac_srcdir=.
2244 ac_top_srcdir=$ac_top_builddir_sub
2245 ac_abs_top_srcdir=$ac_pwd ;;
2246 [\\/]* | ?:[\\/]* ) # Absolute name.
2247 ac_srcdir=$srcdir$ac_dir_suffix;
2248 ac_top_srcdir=$srcdir
2249 ac_abs_top_srcdir=$srcdir ;;
2250 *) # Relative name.
2251 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2252 ac_top_srcdir=$ac_top_build_prefix$srcdir
2253 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2254 esac
2255 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2257 cd "$ac_dir" || { ac_status=$?; continue; }
2258 # Check for guested configure.
2259 if test -f "$ac_srcdir/configure.gnu"; then
2260 echo &&
2261 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2262 elif test -f "$ac_srcdir/configure"; then
2263 echo &&
2264 $SHELL "$ac_srcdir/configure" --help=recursive
2265 else
2266 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2267 fi || ac_status=$?
2268 cd "$ac_pwd" || { ac_status=$?; break; }
2269 done
2272 test -n "$ac_init_help" && exit $ac_status
2273 if $ac_init_version; then
2274 cat <<\_ACEOF
2275 Wine configure 1.7.33
2276 generated by GNU Autoconf 2.69
2278 Copyright (C) 2012 Free Software Foundation, Inc.
2279 This configure script is free software; the Free Software Foundation
2280 gives unlimited permission to copy, distribute and modify it.
2281 _ACEOF
2282 exit
2285 ## ------------------------ ##
2286 ## Autoconf initialization. ##
2287 ## ------------------------ ##
2289 # ac_fn_c_try_compile LINENO
2290 # --------------------------
2291 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2292 ac_fn_c_try_compile ()
2294 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2295 rm -f conftest.$ac_objext
2296 if { { ac_try="$ac_compile"
2297 case "(($ac_try" in
2298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2299 *) ac_try_echo=$ac_try;;
2300 esac
2301 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2302 $as_echo "$ac_try_echo"; } >&5
2303 (eval "$ac_compile") 2>conftest.err
2304 ac_status=$?
2305 if test -s conftest.err; then
2306 grep -v '^ *+' conftest.err >conftest.er1
2307 cat conftest.er1 >&5
2308 mv -f conftest.er1 conftest.err
2310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2311 test $ac_status = 0; } && {
2312 test -z "$ac_c_werror_flag" ||
2313 test ! -s conftest.err
2314 } && test -s conftest.$ac_objext; then :
2315 ac_retval=0
2316 else
2317 $as_echo "$as_me: failed program was:" >&5
2318 sed 's/^/| /' conftest.$ac_ext >&5
2320 ac_retval=1
2322 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2323 as_fn_set_status $ac_retval
2325 } # ac_fn_c_try_compile
2327 # ac_fn_cxx_try_compile LINENO
2328 # ----------------------------
2329 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2330 ac_fn_cxx_try_compile ()
2332 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2333 rm -f conftest.$ac_objext
2334 if { { ac_try="$ac_compile"
2335 case "(($ac_try" in
2336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2337 *) ac_try_echo=$ac_try;;
2338 esac
2339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2340 $as_echo "$ac_try_echo"; } >&5
2341 (eval "$ac_compile") 2>conftest.err
2342 ac_status=$?
2343 if test -s conftest.err; then
2344 grep -v '^ *+' conftest.err >conftest.er1
2345 cat conftest.er1 >&5
2346 mv -f conftest.er1 conftest.err
2348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2349 test $ac_status = 0; } && {
2350 test -z "$ac_cxx_werror_flag" ||
2351 test ! -s conftest.err
2352 } && test -s conftest.$ac_objext; then :
2353 ac_retval=0
2354 else
2355 $as_echo "$as_me: failed program was:" >&5
2356 sed 's/^/| /' conftest.$ac_ext >&5
2358 ac_retval=1
2360 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2361 as_fn_set_status $ac_retval
2363 } # ac_fn_cxx_try_compile
2365 # ac_fn_c_try_link LINENO
2366 # -----------------------
2367 # Try to link conftest.$ac_ext, and return whether this succeeded.
2368 ac_fn_c_try_link ()
2370 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2371 rm -f conftest.$ac_objext conftest$ac_exeext
2372 if { { ac_try="$ac_link"
2373 case "(($ac_try" in
2374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2375 *) ac_try_echo=$ac_try;;
2376 esac
2377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2378 $as_echo "$ac_try_echo"; } >&5
2379 (eval "$ac_link") 2>conftest.err
2380 ac_status=$?
2381 if test -s conftest.err; then
2382 grep -v '^ *+' conftest.err >conftest.er1
2383 cat conftest.er1 >&5
2384 mv -f conftest.er1 conftest.err
2386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2387 test $ac_status = 0; } && {
2388 test -z "$ac_c_werror_flag" ||
2389 test ! -s conftest.err
2390 } && test -s conftest$ac_exeext && {
2391 test "$cross_compiling" = yes ||
2392 test -x conftest$ac_exeext
2393 }; then :
2394 ac_retval=0
2395 else
2396 $as_echo "$as_me: failed program was:" >&5
2397 sed 's/^/| /' conftest.$ac_ext >&5
2399 ac_retval=1
2401 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2402 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2403 # interfere with the next link command; also delete a directory that is
2404 # left behind by Apple's compiler. We do this before executing the actions.
2405 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2406 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2407 as_fn_set_status $ac_retval
2409 } # ac_fn_c_try_link
2411 # ac_fn_c_try_cpp LINENO
2412 # ----------------------
2413 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2414 ac_fn_c_try_cpp ()
2416 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2417 if { { ac_try="$ac_cpp conftest.$ac_ext"
2418 case "(($ac_try" in
2419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2420 *) ac_try_echo=$ac_try;;
2421 esac
2422 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2423 $as_echo "$ac_try_echo"; } >&5
2424 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2425 ac_status=$?
2426 if test -s conftest.err; then
2427 grep -v '^ *+' conftest.err >conftest.er1
2428 cat conftest.er1 >&5
2429 mv -f conftest.er1 conftest.err
2431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2432 test $ac_status = 0; } > conftest.i && {
2433 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2434 test ! -s conftest.err
2435 }; then :
2436 ac_retval=0
2437 else
2438 $as_echo "$as_me: failed program was:" >&5
2439 sed 's/^/| /' conftest.$ac_ext >&5
2441 ac_retval=1
2443 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2444 as_fn_set_status $ac_retval
2446 } # ac_fn_c_try_cpp
2448 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2449 # -------------------------------------------------------
2450 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2451 # the include files in INCLUDES and setting the cache variable VAR
2452 # accordingly.
2453 ac_fn_c_check_header_mongrel ()
2455 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2456 if eval \${$3+:} false; then :
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2458 $as_echo_n "checking for $2... " >&6; }
2459 if eval \${$3+:} false; then :
2460 $as_echo_n "(cached) " >&6
2462 eval ac_res=\$$3
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2464 $as_echo "$ac_res" >&6; }
2465 else
2466 # Is the header compilable?
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2468 $as_echo_n "checking $2 usability... " >&6; }
2469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2470 /* end confdefs.h. */
2472 #include <$2>
2473 _ACEOF
2474 if ac_fn_c_try_compile "$LINENO"; then :
2475 ac_header_compiler=yes
2476 else
2477 ac_header_compiler=no
2479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2481 $as_echo "$ac_header_compiler" >&6; }
2483 # Is the header present?
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2485 $as_echo_n "checking $2 presence... " >&6; }
2486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2487 /* end confdefs.h. */
2488 #include <$2>
2489 _ACEOF
2490 if ac_fn_c_try_cpp "$LINENO"; then :
2491 ac_header_preproc=yes
2492 else
2493 ac_header_preproc=no
2495 rm -f conftest.err conftest.i conftest.$ac_ext
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2497 $as_echo "$ac_header_preproc" >&6; }
2499 # So? What about this header?
2500 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2501 yes:no: )
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2503 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2505 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2507 no:yes:* )
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2509 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2511 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2513 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2515 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2517 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2518 ( $as_echo "## ------------------------------------ ##
2519 ## Report this to wine-devel@winehq.org ##
2520 ## ------------------------------------ ##"
2521 ) | sed "s/^/$as_me: WARNING: /" >&2
2523 esac
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2525 $as_echo_n "checking for $2... " >&6; }
2526 if eval \${$3+:} false; then :
2527 $as_echo_n "(cached) " >&6
2528 else
2529 eval "$3=\$ac_header_compiler"
2531 eval ac_res=\$$3
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2533 $as_echo "$ac_res" >&6; }
2535 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2537 } # ac_fn_c_check_header_mongrel
2539 # ac_fn_c_try_run LINENO
2540 # ----------------------
2541 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2542 # that executables *can* be run.
2543 ac_fn_c_try_run ()
2545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2546 if { { ac_try="$ac_link"
2547 case "(($ac_try" in
2548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2549 *) ac_try_echo=$ac_try;;
2550 esac
2551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2552 $as_echo "$ac_try_echo"; } >&5
2553 (eval "$ac_link") 2>&5
2554 ac_status=$?
2555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2556 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2557 { { case "(($ac_try" in
2558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2559 *) ac_try_echo=$ac_try;;
2560 esac
2561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2562 $as_echo "$ac_try_echo"; } >&5
2563 (eval "$ac_try") 2>&5
2564 ac_status=$?
2565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2566 test $ac_status = 0; }; }; then :
2567 ac_retval=0
2568 else
2569 $as_echo "$as_me: program exited with status $ac_status" >&5
2570 $as_echo "$as_me: failed program was:" >&5
2571 sed 's/^/| /' conftest.$ac_ext >&5
2573 ac_retval=$ac_status
2575 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2576 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2577 as_fn_set_status $ac_retval
2579 } # ac_fn_c_try_run
2581 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2582 # -------------------------------------------------------
2583 # Tests whether HEADER exists and can be compiled using the include files in
2584 # INCLUDES, setting the cache variable VAR accordingly.
2585 ac_fn_c_check_header_compile ()
2587 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2589 $as_echo_n "checking for $2... " >&6; }
2590 if eval \${$3+:} false; then :
2591 $as_echo_n "(cached) " >&6
2592 else
2593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2594 /* end confdefs.h. */
2596 #include <$2>
2597 _ACEOF
2598 if ac_fn_c_try_compile "$LINENO"; then :
2599 eval "$3=yes"
2600 else
2601 eval "$3=no"
2603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2605 eval ac_res=\$$3
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2607 $as_echo "$ac_res" >&6; }
2608 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2610 } # ac_fn_c_check_header_compile
2612 # ac_fn_c_check_func LINENO FUNC VAR
2613 # ----------------------------------
2614 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2615 ac_fn_c_check_func ()
2617 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2619 $as_echo_n "checking for $2... " >&6; }
2620 if eval \${$3+:} false; then :
2621 $as_echo_n "(cached) " >&6
2622 else
2623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2624 /* end confdefs.h. */
2625 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2627 #define $2 innocuous_$2
2629 /* System header to define __stub macros and hopefully few prototypes,
2630 which can conflict with char $2 (); below.
2631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2632 <limits.h> exists even on freestanding compilers. */
2634 #ifdef __STDC__
2635 # include <limits.h>
2636 #else
2637 # include <assert.h>
2638 #endif
2640 #undef $2
2642 /* Override any GCC internal prototype to avoid an error.
2643 Use char because int might match the return type of a GCC
2644 builtin and then its argument prototype would still apply. */
2645 #ifdef __cplusplus
2646 extern "C"
2647 #endif
2648 char $2 ();
2649 /* The GNU C library defines this for functions which it implements
2650 to always fail with ENOSYS. Some functions are actually named
2651 something starting with __ and the normal name is an alias. */
2652 #if defined __stub_$2 || defined __stub___$2
2653 choke me
2654 #endif
2657 main ()
2659 return $2 ();
2661 return 0;
2663 _ACEOF
2664 if ac_fn_c_try_link "$LINENO"; then :
2665 eval "$3=yes"
2666 else
2667 eval "$3=no"
2669 rm -f core conftest.err conftest.$ac_objext \
2670 conftest$ac_exeext conftest.$ac_ext
2672 eval ac_res=\$$3
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2674 $as_echo "$ac_res" >&6; }
2675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2677 } # ac_fn_c_check_func
2679 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2680 # ----------------------------------------------------
2681 # Tries to find if the field MEMBER exists in type AGGR, after including
2682 # INCLUDES, setting cache variable VAR accordingly.
2683 ac_fn_c_check_member ()
2685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2687 $as_echo_n "checking for $2.$3... " >&6; }
2688 if eval \${$4+:} false; then :
2689 $as_echo_n "(cached) " >&6
2690 else
2691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2692 /* end confdefs.h. */
2695 main ()
2697 static $2 ac_aggr;
2698 if (ac_aggr.$3)
2699 return 0;
2701 return 0;
2703 _ACEOF
2704 if ac_fn_c_try_compile "$LINENO"; then :
2705 eval "$4=yes"
2706 else
2707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2708 /* end confdefs.h. */
2711 main ()
2713 static $2 ac_aggr;
2714 if (sizeof ac_aggr.$3)
2715 return 0;
2717 return 0;
2719 _ACEOF
2720 if ac_fn_c_try_compile "$LINENO"; then :
2721 eval "$4=yes"
2722 else
2723 eval "$4=no"
2725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2729 eval ac_res=\$$4
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2731 $as_echo "$ac_res" >&6; }
2732 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2734 } # ac_fn_c_check_member
2736 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2737 # -------------------------------------------
2738 # Tests whether TYPE exists after having included INCLUDES, setting cache
2739 # variable VAR accordingly.
2740 ac_fn_c_check_type ()
2742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2744 $as_echo_n "checking for $2... " >&6; }
2745 if eval \${$3+:} false; then :
2746 $as_echo_n "(cached) " >&6
2747 else
2748 eval "$3=no"
2749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2750 /* end confdefs.h. */
2753 main ()
2755 if (sizeof ($2))
2756 return 0;
2758 return 0;
2760 _ACEOF
2761 if ac_fn_c_try_compile "$LINENO"; then :
2762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2763 /* end confdefs.h. */
2766 main ()
2768 if (sizeof (($2)))
2769 return 0;
2771 return 0;
2773 _ACEOF
2774 if ac_fn_c_try_compile "$LINENO"; then :
2776 else
2777 eval "$3=yes"
2779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2783 eval ac_res=\$$3
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2785 $as_echo "$ac_res" >&6; }
2786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2788 } # ac_fn_c_check_type
2789 cat >config.log <<_ACEOF
2790 This file contains any messages produced by compilers while
2791 running configure, to aid debugging if configure makes a mistake.
2793 It was created by Wine $as_me 1.7.33, which was
2794 generated by GNU Autoconf 2.69. Invocation command line was
2796 $ $0 $@
2798 _ACEOF
2799 exec 5>>config.log
2801 cat <<_ASUNAME
2802 ## --------- ##
2803 ## Platform. ##
2804 ## --------- ##
2806 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2807 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2808 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2809 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2810 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2812 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2813 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2815 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2816 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2817 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2818 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2819 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2820 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2821 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2823 _ASUNAME
2825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2826 for as_dir in $PATH
2828 IFS=$as_save_IFS
2829 test -z "$as_dir" && as_dir=.
2830 $as_echo "PATH: $as_dir"
2831 done
2832 IFS=$as_save_IFS
2834 } >&5
2836 cat >&5 <<_ACEOF
2839 ## ----------- ##
2840 ## Core tests. ##
2841 ## ----------- ##
2843 _ACEOF
2846 # Keep a trace of the command line.
2847 # Strip out --no-create and --no-recursion so they do not pile up.
2848 # Strip out --silent because we don't want to record it for future runs.
2849 # Also quote any args containing shell meta-characters.
2850 # Make two passes to allow for proper duplicate-argument suppression.
2851 ac_configure_args=
2852 ac_configure_args0=
2853 ac_configure_args1=
2854 ac_must_keep_next=false
2855 for ac_pass in 1 2
2857 for ac_arg
2859 case $ac_arg in
2860 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2861 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2862 | -silent | --silent | --silen | --sile | --sil)
2863 continue ;;
2864 *\'*)
2865 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2866 esac
2867 case $ac_pass in
2868 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2870 as_fn_append ac_configure_args1 " '$ac_arg'"
2871 if test $ac_must_keep_next = true; then
2872 ac_must_keep_next=false # Got value, back to normal.
2873 else
2874 case $ac_arg in
2875 *=* | --config-cache | -C | -disable-* | --disable-* \
2876 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2877 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2878 | -with-* | --with-* | -without-* | --without-* | --x)
2879 case "$ac_configure_args0 " in
2880 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2881 esac
2883 -* ) ac_must_keep_next=true ;;
2884 esac
2886 as_fn_append ac_configure_args " '$ac_arg'"
2888 esac
2889 done
2890 done
2891 { ac_configure_args0=; unset ac_configure_args0;}
2892 { ac_configure_args1=; unset ac_configure_args1;}
2894 # When interrupted or exit'd, cleanup temporary files, and complete
2895 # config.log. We remove comments because anyway the quotes in there
2896 # would cause problems or look ugly.
2897 # WARNING: Use '\'' to represent an apostrophe within the trap.
2898 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2899 trap 'exit_status=$?
2900 # Save into config.log some information that might help in debugging.
2902 echo
2904 $as_echo "## ---------------- ##
2905 ## Cache variables. ##
2906 ## ---------------- ##"
2907 echo
2908 # The following way of writing the cache mishandles newlines in values,
2910 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2911 eval ac_val=\$$ac_var
2912 case $ac_val in #(
2913 *${as_nl}*)
2914 case $ac_var in #(
2915 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2916 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2917 esac
2918 case $ac_var in #(
2919 _ | IFS | as_nl) ;; #(
2920 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2921 *) { eval $ac_var=; unset $ac_var;} ;;
2922 esac ;;
2923 esac
2924 done
2925 (set) 2>&1 |
2926 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2927 *${as_nl}ac_space=\ *)
2928 sed -n \
2929 "s/'\''/'\''\\\\'\'''\''/g;
2930 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2931 ;; #(
2933 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2935 esac |
2936 sort
2938 echo
2940 $as_echo "## ----------------- ##
2941 ## Output variables. ##
2942 ## ----------------- ##"
2943 echo
2944 for ac_var in $ac_subst_vars
2946 eval ac_val=\$$ac_var
2947 case $ac_val in
2948 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2949 esac
2950 $as_echo "$ac_var='\''$ac_val'\''"
2951 done | sort
2952 echo
2954 if test -n "$ac_subst_files"; then
2955 $as_echo "## ------------------- ##
2956 ## File substitutions. ##
2957 ## ------------------- ##"
2958 echo
2959 for ac_var in $ac_subst_files
2961 eval ac_val=\$$ac_var
2962 case $ac_val in
2963 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2964 esac
2965 $as_echo "$ac_var='\''$ac_val'\''"
2966 done | sort
2967 echo
2970 if test -s confdefs.h; then
2971 $as_echo "## ----------- ##
2972 ## confdefs.h. ##
2973 ## ----------- ##"
2974 echo
2975 cat confdefs.h
2976 echo
2978 test "$ac_signal" != 0 &&
2979 $as_echo "$as_me: caught signal $ac_signal"
2980 $as_echo "$as_me: exit $exit_status"
2981 } >&5
2982 rm -f core *.core core.conftest.* &&
2983 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2984 exit $exit_status
2986 for ac_signal in 1 2 13 15; do
2987 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2988 done
2989 ac_signal=0
2991 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2992 rm -f -r conftest* confdefs.h
2994 $as_echo "/* confdefs.h */" > confdefs.h
2996 # Predefined preprocessor variables.
2998 cat >>confdefs.h <<_ACEOF
2999 #define PACKAGE_NAME "$PACKAGE_NAME"
3000 _ACEOF
3002 cat >>confdefs.h <<_ACEOF
3003 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3004 _ACEOF
3006 cat >>confdefs.h <<_ACEOF
3007 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3008 _ACEOF
3010 cat >>confdefs.h <<_ACEOF
3011 #define PACKAGE_STRING "$PACKAGE_STRING"
3012 _ACEOF
3014 cat >>confdefs.h <<_ACEOF
3015 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3016 _ACEOF
3018 cat >>confdefs.h <<_ACEOF
3019 #define PACKAGE_URL "$PACKAGE_URL"
3020 _ACEOF
3023 # Let the site file select an alternate cache file if it wants to.
3024 # Prefer an explicitly selected file to automatically selected ones.
3025 ac_site_file1=NONE
3026 ac_site_file2=NONE
3027 if test -n "$CONFIG_SITE"; then
3028 # We do not want a PATH search for config.site.
3029 case $CONFIG_SITE in #((
3030 -*) ac_site_file1=./$CONFIG_SITE;;
3031 */*) ac_site_file1=$CONFIG_SITE;;
3032 *) ac_site_file1=./$CONFIG_SITE;;
3033 esac
3034 elif test "x$prefix" != xNONE; then
3035 ac_site_file1=$prefix/share/config.site
3036 ac_site_file2=$prefix/etc/config.site
3037 else
3038 ac_site_file1=$ac_default_prefix/share/config.site
3039 ac_site_file2=$ac_default_prefix/etc/config.site
3041 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3043 test "x$ac_site_file" = xNONE && continue
3044 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3046 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3047 sed 's/^/| /' "$ac_site_file" >&5
3048 . "$ac_site_file" \
3049 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3051 as_fn_error $? "failed to load site script $ac_site_file
3052 See \`config.log' for more details" "$LINENO" 5; }
3054 done
3056 if test -r "$cache_file"; then
3057 # Some versions of bash will fail to source /dev/null (special files
3058 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3059 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3061 $as_echo "$as_me: loading cache $cache_file" >&6;}
3062 case $cache_file in
3063 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3064 *) . "./$cache_file";;
3065 esac
3067 else
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3069 $as_echo "$as_me: creating cache $cache_file" >&6;}
3070 >$cache_file
3073 # Check that the precious variables saved in the cache have kept the same
3074 # value.
3075 ac_cache_corrupted=false
3076 for ac_var in $ac_precious_vars; do
3077 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3078 eval ac_new_set=\$ac_env_${ac_var}_set
3079 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3080 eval ac_new_val=\$ac_env_${ac_var}_value
3081 case $ac_old_set,$ac_new_set in
3082 set,)
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3084 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3085 ac_cache_corrupted=: ;;
3086 ,set)
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3088 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3089 ac_cache_corrupted=: ;;
3090 ,);;
3092 if test "x$ac_old_val" != "x$ac_new_val"; then
3093 # differences in whitespace do not lead to failure.
3094 ac_old_val_w=`echo x $ac_old_val`
3095 ac_new_val_w=`echo x $ac_new_val`
3096 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3098 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3099 ac_cache_corrupted=:
3100 else
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3102 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3103 eval $ac_var=\$ac_old_val
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3106 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3108 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3109 fi;;
3110 esac
3111 # Pass precious variables to config.status.
3112 if test "$ac_new_set" = set; then
3113 case $ac_new_val in
3114 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3115 *) ac_arg=$ac_var=$ac_new_val ;;
3116 esac
3117 case " $ac_configure_args " in
3118 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3119 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3120 esac
3122 done
3123 if $ac_cache_corrupted; then
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3127 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3128 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3130 ## -------------------- ##
3131 ## Main body of script. ##
3132 ## -------------------- ##
3134 ac_ext=c
3135 ac_cpp='$CPP $CPPFLAGS'
3136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3142 ac_config_headers="$ac_config_headers include/config.h"
3144 ac_aux_dir=
3145 for ac_dir in tools "$srcdir"/tools; do
3146 if test -f "$ac_dir/install-sh"; then
3147 ac_aux_dir=$ac_dir
3148 ac_install_sh="$ac_aux_dir/install-sh -c"
3149 break
3150 elif test -f "$ac_dir/install.sh"; then
3151 ac_aux_dir=$ac_dir
3152 ac_install_sh="$ac_aux_dir/install.sh -c"
3153 break
3154 elif test -f "$ac_dir/shtool"; then
3155 ac_aux_dir=$ac_dir
3156 ac_install_sh="$ac_aux_dir/shtool install -c"
3157 break
3159 done
3160 if test -z "$ac_aux_dir"; then
3161 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3164 # These three variables are undocumented and unsupported,
3165 # and are intended to be withdrawn in a future Autoconf release.
3166 # They can cause serious problems if a builder's source tree is in a directory
3167 # whose full name contains unusual characters.
3168 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3169 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3170 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3174 libwine_version="1.0"
3178 # Check whether --enable-win16 was given.
3179 if test "${enable_win16+set}" = set; then :
3180 enableval=$enable_win16;
3183 # Check whether --enable-win64 was given.
3184 if test "${enable_win64+set}" = set; then :
3185 enableval=$enable_win64;
3188 # Check whether --enable-tests was given.
3189 if test "${enable_tests+set}" = set; then :
3190 enableval=$enable_tests;
3193 # Check whether --enable-maintainer-mode was given.
3194 if test "${enable_maintainer_mode+set}" = set; then :
3195 enableval=$enable_maintainer_mode;
3200 # Check whether --with-alsa was given.
3201 if test "${with_alsa+set}" = set; then :
3202 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3206 # Check whether --with-capi was given.
3207 if test "${with_capi+set}" = set; then :
3208 withval=$with_capi;
3212 # Check whether --with-cms was given.
3213 if test "${with_cms+set}" = set; then :
3214 withval=$with_cms;
3218 # Check whether --with-coreaudio was given.
3219 if test "${with_coreaudio+set}" = set; then :
3220 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3224 # Check whether --with-cups was given.
3225 if test "${with_cups+set}" = set; then :
3226 withval=$with_cups;
3230 # Check whether --with-curses was given.
3231 if test "${with_curses+set}" = set; then :
3232 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3236 # Check whether --with-dbus was given.
3237 if test "${with_dbus+set}" = set; then :
3238 withval=$with_dbus;
3242 # Check whether --with-fontconfig was given.
3243 if test "${with_fontconfig+set}" = set; then :
3244 withval=$with_fontconfig;
3248 # Check whether --with-freetype was given.
3249 if test "${with_freetype+set}" = set; then :
3250 withval=$with_freetype;
3254 # Check whether --with-gettext was given.
3255 if test "${with_gettext+set}" = set; then :
3256 withval=$with_gettext;
3260 # Check whether --with-gettextpo was given.
3261 if test "${with_gettextpo+set}" = set; then :
3262 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3266 # Check whether --with-gphoto was given.
3267 if test "${with_gphoto+set}" = set; then :
3268 withval=$with_gphoto;
3272 # Check whether --with-glu was given.
3273 if test "${with_glu+set}" = set; then :
3274 withval=$with_glu;
3278 # Check whether --with-gnutls was given.
3279 if test "${with_gnutls+set}" = set; then :
3280 withval=$with_gnutls;
3284 # Check whether --with-gsm was given.
3285 if test "${with_gsm+set}" = set; then :
3286 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3290 # Check whether --with-gstreamer was given.
3291 if test "${with_gstreamer+set}" = set; then :
3292 withval=$with_gstreamer;
3296 # Check whether --with-hal was given.
3297 if test "${with_hal+set}" = set; then :
3298 withval=$with_hal;
3302 # Check whether --with-jpeg was given.
3303 if test "${with_jpeg+set}" = set; then :
3304 withval=$with_jpeg;
3308 # Check whether --with-ldap was given.
3309 if test "${with_ldap+set}" = set; then :
3310 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3314 # Check whether --with-mpg123 was given.
3315 if test "${with_mpg123+set}" = set; then :
3316 withval=$with_mpg123;
3320 # Check whether --with-netapi was given.
3321 if test "${with_netapi+set}" = set; then :
3322 withval=$with_netapi;
3326 # Check whether --with-openal was given.
3327 if test "${with_openal+set}" = set; then :
3328 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3332 # Check whether --with-opencl was given.
3333 if test "${with_opencl+set}" = set; then :
3334 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3338 # Check whether --with-opengl was given.
3339 if test "${with_opengl+set}" = set; then :
3340 withval=$with_opengl;
3344 # Check whether --with-osmesa was given.
3345 if test "${with_osmesa+set}" = set; then :
3346 withval=$with_osmesa;
3350 # Check whether --with-oss was given.
3351 if test "${with_oss+set}" = set; then :
3352 withval=$with_oss;
3356 # Check whether --with-pcap was given.
3357 if test "${with_pcap+set}" = set; then :
3358 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3362 # Check whether --with-png was given.
3363 if test "${with_png+set}" = set; then :
3364 withval=$with_png;
3368 # Check whether --with-pthread was given.
3369 if test "${with_pthread+set}" = set; then :
3370 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3374 # Check whether --with-sane was given.
3375 if test "${with_sane+set}" = set; then :
3376 withval=$with_sane;
3380 # Check whether --with-tiff was given.
3381 if test "${with_tiff+set}" = set; then :
3382 withval=$with_tiff;
3386 # Check whether --with-v4l was given.
3387 if test "${with_v4l+set}" = set; then :
3388 withval=$with_v4l;
3392 # Check whether --with-xcomposite was given.
3393 if test "${with_xcomposite+set}" = set; then :
3394 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3398 # Check whether --with-xcursor was given.
3399 if test "${with_xcursor+set}" = set; then :
3400 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3404 # Check whether --with-xinerama was given.
3405 if test "${with_xinerama+set}" = set; then :
3406 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3410 # Check whether --with-xinput was given.
3411 if test "${with_xinput+set}" = set; then :
3412 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3416 # Check whether --with-xinput2 was given.
3417 if test "${with_xinput2+set}" = set; then :
3418 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3422 # Check whether --with-xml was given.
3423 if test "${with_xml+set}" = set; then :
3424 withval=$with_xml;
3428 # Check whether --with-xrandr was given.
3429 if test "${with_xrandr+set}" = set; then :
3430 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3434 # Check whether --with-xrender was given.
3435 if test "${with_xrender+set}" = set; then :
3436 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3440 # Check whether --with-xshape was given.
3441 if test "${with_xshape+set}" = set; then :
3442 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3446 # Check whether --with-xshm was given.
3447 if test "${with_xshm+set}" = set; then :
3448 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3452 # Check whether --with-xslt was given.
3453 if test "${with_xslt+set}" = set; then :
3454 withval=$with_xslt;
3458 # Check whether --with-xxf86vm was given.
3459 if test "${with_xxf86vm+set}" = set; then :
3460 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
3464 # Check whether --with-zlib was given.
3465 if test "${with_zlib+set}" = set; then :
3466 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3471 # Check whether --with-wine-tools was given.
3472 if test "${with_wine_tools+set}" = set; then :
3473 withval=$with_wine_tools;
3477 # Check whether --with-wine64 was given.
3478 if test "${with_wine64+set}" = set; then :
3479 withval=$with_wine64;
3483 # Make sure we can run config.sub.
3484 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3485 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3488 $as_echo_n "checking build system type... " >&6; }
3489 if ${ac_cv_build+:} false; then :
3490 $as_echo_n "(cached) " >&6
3491 else
3492 ac_build_alias=$build_alias
3493 test "x$ac_build_alias" = x &&
3494 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3495 test "x$ac_build_alias" = x &&
3496 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3497 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3498 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3502 $as_echo "$ac_cv_build" >&6; }
3503 case $ac_cv_build in
3504 *-*-*) ;;
3505 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3506 esac
3507 build=$ac_cv_build
3508 ac_save_IFS=$IFS; IFS='-'
3509 set x $ac_cv_build
3510 shift
3511 build_cpu=$1
3512 build_vendor=$2
3513 shift; shift
3514 # Remember, the first character of IFS is used to create $*,
3515 # except with old shells:
3516 build_os=$*
3517 IFS=$ac_save_IFS
3518 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3522 $as_echo_n "checking host system type... " >&6; }
3523 if ${ac_cv_host+:} false; then :
3524 $as_echo_n "(cached) " >&6
3525 else
3526 if test "x$host_alias" = x; then
3527 ac_cv_host=$ac_cv_build
3528 else
3529 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3530 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3535 $as_echo "$ac_cv_host" >&6; }
3536 case $ac_cv_host in
3537 *-*-*) ;;
3538 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3539 esac
3540 host=$ac_cv_host
3541 ac_save_IFS=$IFS; IFS='-'
3542 set x $ac_cv_host
3543 shift
3544 host_cpu=$1
3545 host_vendor=$2
3546 shift; shift
3547 # Remember, the first character of IFS is used to create $*,
3548 # except with old shells:
3549 host_os=$*
3550 IFS=$ac_save_IFS
3551 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3555 case "$srcdir" in
3556 .) ;;
3557 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3558 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3559 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3560 fi ;;
3561 esac
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3565 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3566 set x ${MAKE-make}
3567 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3568 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3569 $as_echo_n "(cached) " >&6
3570 else
3571 cat >conftest.make <<\_ACEOF
3572 SHELL = /bin/sh
3573 all:
3574 @echo '@@@%%%=$(MAKE)=@@@%%%'
3575 _ACEOF
3576 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3577 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3578 *@@@%%%=?*=@@@%%%*)
3579 eval ac_cv_prog_make_${ac_make}_set=yes;;
3581 eval ac_cv_prog_make_${ac_make}_set=no;;
3582 esac
3583 rm -f conftest.make
3585 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3587 $as_echo "yes" >&6; }
3588 SET_MAKE=
3589 else
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3591 $as_echo "no" >&6; }
3592 SET_MAKE="MAKE=${MAKE-make}"
3595 ac_ext=c
3596 ac_cpp='$CPP $CPPFLAGS'
3597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3600 if test -n "$ac_tool_prefix"; then
3601 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3602 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3604 $as_echo_n "checking for $ac_word... " >&6; }
3605 if ${ac_cv_prog_CC+:} false; then :
3606 $as_echo_n "(cached) " >&6
3607 else
3608 if test -n "$CC"; then
3609 ac_cv_prog_CC="$CC" # Let the user override the test.
3610 else
3611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3612 for as_dir in $PATH
3614 IFS=$as_save_IFS
3615 test -z "$as_dir" && as_dir=.
3616 for ac_exec_ext in '' $ac_executable_extensions; do
3617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3618 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3620 break 2
3622 done
3623 done
3624 IFS=$as_save_IFS
3628 CC=$ac_cv_prog_CC
3629 if test -n "$CC"; then
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3631 $as_echo "$CC" >&6; }
3632 else
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3634 $as_echo "no" >&6; }
3639 if test -z "$ac_cv_prog_CC"; then
3640 ac_ct_CC=$CC
3641 # Extract the first word of "gcc", so it can be a program name with args.
3642 set dummy gcc; ac_word=$2
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3644 $as_echo_n "checking for $ac_word... " >&6; }
3645 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3646 $as_echo_n "(cached) " >&6
3647 else
3648 if test -n "$ac_ct_CC"; then
3649 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3650 else
3651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3652 for as_dir in $PATH
3654 IFS=$as_save_IFS
3655 test -z "$as_dir" && as_dir=.
3656 for ac_exec_ext in '' $ac_executable_extensions; do
3657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3658 ac_cv_prog_ac_ct_CC="gcc"
3659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3660 break 2
3662 done
3663 done
3664 IFS=$as_save_IFS
3668 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3669 if test -n "$ac_ct_CC"; then
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3671 $as_echo "$ac_ct_CC" >&6; }
3672 else
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3674 $as_echo "no" >&6; }
3677 if test "x$ac_ct_CC" = x; then
3678 CC=""
3679 else
3680 case $cross_compiling:$ac_tool_warned in
3681 yes:)
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3683 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3684 ac_tool_warned=yes ;;
3685 esac
3686 CC=$ac_ct_CC
3688 else
3689 CC="$ac_cv_prog_CC"
3692 if test -z "$CC"; then
3693 if test -n "$ac_tool_prefix"; then
3694 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3695 set dummy ${ac_tool_prefix}cc; ac_word=$2
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3697 $as_echo_n "checking for $ac_word... " >&6; }
3698 if ${ac_cv_prog_CC+:} false; then :
3699 $as_echo_n "(cached) " >&6
3700 else
3701 if test -n "$CC"; then
3702 ac_cv_prog_CC="$CC" # Let the user override the test.
3703 else
3704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3705 for as_dir in $PATH
3707 IFS=$as_save_IFS
3708 test -z "$as_dir" && as_dir=.
3709 for ac_exec_ext in '' $ac_executable_extensions; do
3710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3711 ac_cv_prog_CC="${ac_tool_prefix}cc"
3712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3713 break 2
3715 done
3716 done
3717 IFS=$as_save_IFS
3721 CC=$ac_cv_prog_CC
3722 if test -n "$CC"; then
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3724 $as_echo "$CC" >&6; }
3725 else
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3727 $as_echo "no" >&6; }
3733 if test -z "$CC"; then
3734 # Extract the first word of "cc", so it can be a program name with args.
3735 set dummy cc; ac_word=$2
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3737 $as_echo_n "checking for $ac_word... " >&6; }
3738 if ${ac_cv_prog_CC+:} false; then :
3739 $as_echo_n "(cached) " >&6
3740 else
3741 if test -n "$CC"; then
3742 ac_cv_prog_CC="$CC" # Let the user override the test.
3743 else
3744 ac_prog_rejected=no
3745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3746 for as_dir in $PATH
3748 IFS=$as_save_IFS
3749 test -z "$as_dir" && as_dir=.
3750 for ac_exec_ext in '' $ac_executable_extensions; do
3751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3752 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3753 ac_prog_rejected=yes
3754 continue
3756 ac_cv_prog_CC="cc"
3757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3758 break 2
3760 done
3761 done
3762 IFS=$as_save_IFS
3764 if test $ac_prog_rejected = yes; then
3765 # We found a bogon in the path, so make sure we never use it.
3766 set dummy $ac_cv_prog_CC
3767 shift
3768 if test $# != 0; then
3769 # We chose a different compiler from the bogus one.
3770 # However, it has the same basename, so the bogon will be chosen
3771 # first if we set CC to just the basename; use the full file name.
3772 shift
3773 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3778 CC=$ac_cv_prog_CC
3779 if test -n "$CC"; then
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3781 $as_echo "$CC" >&6; }
3782 else
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3784 $as_echo "no" >&6; }
3789 if test -z "$CC"; then
3790 if test -n "$ac_tool_prefix"; then
3791 for ac_prog in cl.exe
3793 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3794 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3796 $as_echo_n "checking for $ac_word... " >&6; }
3797 if ${ac_cv_prog_CC+:} false; then :
3798 $as_echo_n "(cached) " >&6
3799 else
3800 if test -n "$CC"; then
3801 ac_cv_prog_CC="$CC" # Let the user override the test.
3802 else
3803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3804 for as_dir in $PATH
3806 IFS=$as_save_IFS
3807 test -z "$as_dir" && as_dir=.
3808 for ac_exec_ext in '' $ac_executable_extensions; do
3809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3810 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3812 break 2
3814 done
3815 done
3816 IFS=$as_save_IFS
3820 CC=$ac_cv_prog_CC
3821 if test -n "$CC"; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3823 $as_echo "$CC" >&6; }
3824 else
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3830 test -n "$CC" && break
3831 done
3833 if test -z "$CC"; then
3834 ac_ct_CC=$CC
3835 for ac_prog in cl.exe
3837 # Extract the first word of "$ac_prog", so it can be a program name with args.
3838 set dummy $ac_prog; ac_word=$2
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3840 $as_echo_n "checking for $ac_word... " >&6; }
3841 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3842 $as_echo_n "(cached) " >&6
3843 else
3844 if test -n "$ac_ct_CC"; then
3845 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3846 else
3847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3848 for as_dir in $PATH
3850 IFS=$as_save_IFS
3851 test -z "$as_dir" && as_dir=.
3852 for ac_exec_ext in '' $ac_executable_extensions; do
3853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3854 ac_cv_prog_ac_ct_CC="$ac_prog"
3855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3856 break 2
3858 done
3859 done
3860 IFS=$as_save_IFS
3864 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3865 if test -n "$ac_ct_CC"; then
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3867 $as_echo "$ac_ct_CC" >&6; }
3868 else
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3870 $as_echo "no" >&6; }
3874 test -n "$ac_ct_CC" && break
3875 done
3877 if test "x$ac_ct_CC" = x; then
3878 CC=""
3879 else
3880 case $cross_compiling:$ac_tool_warned in
3881 yes:)
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3884 ac_tool_warned=yes ;;
3885 esac
3886 CC=$ac_ct_CC
3893 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3895 as_fn_error $? "no acceptable C compiler found in \$PATH
3896 See \`config.log' for more details" "$LINENO" 5; }
3898 # Provide some information about the compiler.
3899 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3900 set X $ac_compile
3901 ac_compiler=$2
3902 for ac_option in --version -v -V -qversion; do
3903 { { ac_try="$ac_compiler $ac_option >&5"
3904 case "(($ac_try" in
3905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3906 *) ac_try_echo=$ac_try;;
3907 esac
3908 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3909 $as_echo "$ac_try_echo"; } >&5
3910 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3911 ac_status=$?
3912 if test -s conftest.err; then
3913 sed '10a\
3914 ... rest of stderr output deleted ...
3915 10q' conftest.err >conftest.er1
3916 cat conftest.er1 >&5
3918 rm -f conftest.er1 conftest.err
3919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3920 test $ac_status = 0; }
3921 done
3923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3924 /* end confdefs.h. */
3927 main ()
3931 return 0;
3933 _ACEOF
3934 ac_clean_files_save=$ac_clean_files
3935 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3936 # Try to create an executable without -o first, disregard a.out.
3937 # It will help us diagnose broken compilers, and finding out an intuition
3938 # of exeext.
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3940 $as_echo_n "checking whether the C compiler works... " >&6; }
3941 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3943 # The possible output files:
3944 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3946 ac_rmfiles=
3947 for ac_file in $ac_files
3949 case $ac_file in
3950 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3951 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3952 esac
3953 done
3954 rm -f $ac_rmfiles
3956 if { { ac_try="$ac_link_default"
3957 case "(($ac_try" in
3958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3959 *) ac_try_echo=$ac_try;;
3960 esac
3961 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3962 $as_echo "$ac_try_echo"; } >&5
3963 (eval "$ac_link_default") 2>&5
3964 ac_status=$?
3965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3966 test $ac_status = 0; }; then :
3967 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3968 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3969 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3970 # so that the user can short-circuit this test for compilers unknown to
3971 # Autoconf.
3972 for ac_file in $ac_files ''
3974 test -f "$ac_file" || continue
3975 case $ac_file in
3976 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3978 [ab].out )
3979 # We found the default executable, but exeext='' is most
3980 # certainly right.
3981 break;;
3982 *.* )
3983 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3984 then :; else
3985 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3987 # We set ac_cv_exeext here because the later test for it is not
3988 # safe: cross compilers may not add the suffix if given an `-o'
3989 # argument, so we may need to know it at that point already.
3990 # Even if this section looks crufty: it has the advantage of
3991 # actually working.
3992 break;;
3994 break;;
3995 esac
3996 done
3997 test "$ac_cv_exeext" = no && ac_cv_exeext=
3999 else
4000 ac_file=''
4002 if test -z "$ac_file"; then :
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4004 $as_echo "no" >&6; }
4005 $as_echo "$as_me: failed program was:" >&5
4006 sed 's/^/| /' conftest.$ac_ext >&5
4008 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4010 as_fn_error 77 "C compiler cannot create executables
4011 See \`config.log' for more details" "$LINENO" 5; }
4012 else
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4014 $as_echo "yes" >&6; }
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4017 $as_echo_n "checking for C compiler default output file name... " >&6; }
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4019 $as_echo "$ac_file" >&6; }
4020 ac_exeext=$ac_cv_exeext
4022 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4023 ac_clean_files=$ac_clean_files_save
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4025 $as_echo_n "checking for suffix of executables... " >&6; }
4026 if { { ac_try="$ac_link"
4027 case "(($ac_try" in
4028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4029 *) ac_try_echo=$ac_try;;
4030 esac
4031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4032 $as_echo "$ac_try_echo"; } >&5
4033 (eval "$ac_link") 2>&5
4034 ac_status=$?
4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 test $ac_status = 0; }; then :
4037 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4038 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4039 # work properly (i.e., refer to `conftest.exe'), while it won't with
4040 # `rm'.
4041 for ac_file in conftest.exe conftest conftest.*; do
4042 test -f "$ac_file" || continue
4043 case $ac_file in
4044 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4045 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4046 break;;
4047 * ) break;;
4048 esac
4049 done
4050 else
4051 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4053 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4054 See \`config.log' for more details" "$LINENO" 5; }
4056 rm -f conftest conftest$ac_cv_exeext
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4058 $as_echo "$ac_cv_exeext" >&6; }
4060 rm -f conftest.$ac_ext
4061 EXEEXT=$ac_cv_exeext
4062 ac_exeext=$EXEEXT
4063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4064 /* end confdefs.h. */
4065 #include <stdio.h>
4067 main ()
4069 FILE *f = fopen ("conftest.out", "w");
4070 return ferror (f) || fclose (f) != 0;
4073 return 0;
4075 _ACEOF
4076 ac_clean_files="$ac_clean_files conftest.out"
4077 # Check that the compiler produces executables we can run. If not, either
4078 # the compiler is broken, or we cross compile.
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4080 $as_echo_n "checking whether we are cross compiling... " >&6; }
4081 if test "$cross_compiling" != yes; then
4082 { { ac_try="$ac_link"
4083 case "(($ac_try" in
4084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4085 *) ac_try_echo=$ac_try;;
4086 esac
4087 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4088 $as_echo "$ac_try_echo"; } >&5
4089 (eval "$ac_link") 2>&5
4090 ac_status=$?
4091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4092 test $ac_status = 0; }
4093 if { ac_try='./conftest$ac_cv_exeext'
4094 { { case "(($ac_try" in
4095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4096 *) ac_try_echo=$ac_try;;
4097 esac
4098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4099 $as_echo "$ac_try_echo"; } >&5
4100 (eval "$ac_try") 2>&5
4101 ac_status=$?
4102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4103 test $ac_status = 0; }; }; then
4104 cross_compiling=no
4105 else
4106 if test "$cross_compiling" = maybe; then
4107 cross_compiling=yes
4108 else
4109 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4111 as_fn_error $? "cannot run C compiled programs.
4112 If you meant to cross compile, use \`--host'.
4113 See \`config.log' for more details" "$LINENO" 5; }
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4118 $as_echo "$cross_compiling" >&6; }
4120 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4121 ac_clean_files=$ac_clean_files_save
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4123 $as_echo_n "checking for suffix of object files... " >&6; }
4124 if ${ac_cv_objext+:} false; then :
4125 $as_echo_n "(cached) " >&6
4126 else
4127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4128 /* end confdefs.h. */
4131 main ()
4135 return 0;
4137 _ACEOF
4138 rm -f conftest.o conftest.obj
4139 if { { ac_try="$ac_compile"
4140 case "(($ac_try" in
4141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4142 *) ac_try_echo=$ac_try;;
4143 esac
4144 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4145 $as_echo "$ac_try_echo"; } >&5
4146 (eval "$ac_compile") 2>&5
4147 ac_status=$?
4148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4149 test $ac_status = 0; }; then :
4150 for ac_file in conftest.o conftest.obj conftest.*; do
4151 test -f "$ac_file" || continue;
4152 case $ac_file in
4153 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4154 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4155 break;;
4156 esac
4157 done
4158 else
4159 $as_echo "$as_me: failed program was:" >&5
4160 sed 's/^/| /' conftest.$ac_ext >&5
4162 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4163 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4164 as_fn_error $? "cannot compute suffix of object files: cannot compile
4165 See \`config.log' for more details" "$LINENO" 5; }
4167 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4170 $as_echo "$ac_cv_objext" >&6; }
4171 OBJEXT=$ac_cv_objext
4172 ac_objext=$OBJEXT
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4174 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4175 if ${ac_cv_c_compiler_gnu+:} false; then :
4176 $as_echo_n "(cached) " >&6
4177 else
4178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4179 /* end confdefs.h. */
4182 main ()
4184 #ifndef __GNUC__
4185 choke me
4186 #endif
4189 return 0;
4191 _ACEOF
4192 if ac_fn_c_try_compile "$LINENO"; then :
4193 ac_compiler_gnu=yes
4194 else
4195 ac_compiler_gnu=no
4197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4198 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4202 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4203 if test $ac_compiler_gnu = yes; then
4204 GCC=yes
4205 else
4206 GCC=
4208 ac_test_CFLAGS=${CFLAGS+set}
4209 ac_save_CFLAGS=$CFLAGS
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4211 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4212 if ${ac_cv_prog_cc_g+:} false; then :
4213 $as_echo_n "(cached) " >&6
4214 else
4215 ac_save_c_werror_flag=$ac_c_werror_flag
4216 ac_c_werror_flag=yes
4217 ac_cv_prog_cc_g=no
4218 CFLAGS="-g"
4219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4220 /* end confdefs.h. */
4223 main ()
4227 return 0;
4229 _ACEOF
4230 if ac_fn_c_try_compile "$LINENO"; then :
4231 ac_cv_prog_cc_g=yes
4232 else
4233 CFLAGS=""
4234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4235 /* end confdefs.h. */
4238 main ()
4242 return 0;
4244 _ACEOF
4245 if ac_fn_c_try_compile "$LINENO"; then :
4247 else
4248 ac_c_werror_flag=$ac_save_c_werror_flag
4249 CFLAGS="-g"
4250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4251 /* end confdefs.h. */
4254 main ()
4258 return 0;
4260 _ACEOF
4261 if ac_fn_c_try_compile "$LINENO"; then :
4262 ac_cv_prog_cc_g=yes
4264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4269 ac_c_werror_flag=$ac_save_c_werror_flag
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4272 $as_echo "$ac_cv_prog_cc_g" >&6; }
4273 if test "$ac_test_CFLAGS" = set; then
4274 CFLAGS=$ac_save_CFLAGS
4275 elif test $ac_cv_prog_cc_g = yes; then
4276 if test "$GCC" = yes; then
4277 CFLAGS="-g -O2"
4278 else
4279 CFLAGS="-g"
4281 else
4282 if test "$GCC" = yes; then
4283 CFLAGS="-O2"
4284 else
4285 CFLAGS=
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4289 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4290 if ${ac_cv_prog_cc_c89+:} false; then :
4291 $as_echo_n "(cached) " >&6
4292 else
4293 ac_cv_prog_cc_c89=no
4294 ac_save_CC=$CC
4295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4296 /* end confdefs.h. */
4297 #include <stdarg.h>
4298 #include <stdio.h>
4299 struct stat;
4300 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4301 struct buf { int x; };
4302 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4303 static char *e (p, i)
4304 char **p;
4305 int i;
4307 return p[i];
4309 static char *f (char * (*g) (char **, int), char **p, ...)
4311 char *s;
4312 va_list v;
4313 va_start (v,p);
4314 s = g (p, va_arg (v,int));
4315 va_end (v);
4316 return s;
4319 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4320 function prototypes and stuff, but not '\xHH' hex character constants.
4321 These don't provoke an error unfortunately, instead are silently treated
4322 as 'x'. The following induces an error, until -std is added to get
4323 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4324 array size at least. It's necessary to write '\x00'==0 to get something
4325 that's true only with -std. */
4326 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4328 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4329 inside strings and character constants. */
4330 #define FOO(x) 'x'
4331 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4333 int test (int i, double x);
4334 struct s1 {int (*f) (int a);};
4335 struct s2 {int (*f) (double a);};
4336 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4337 int argc;
4338 char **argv;
4340 main ()
4342 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4344 return 0;
4346 _ACEOF
4347 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4348 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4350 CC="$ac_save_CC $ac_arg"
4351 if ac_fn_c_try_compile "$LINENO"; then :
4352 ac_cv_prog_cc_c89=$ac_arg
4354 rm -f core conftest.err conftest.$ac_objext
4355 test "x$ac_cv_prog_cc_c89" != "xno" && break
4356 done
4357 rm -f conftest.$ac_ext
4358 CC=$ac_save_CC
4361 # AC_CACHE_VAL
4362 case "x$ac_cv_prog_cc_c89" in
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4365 $as_echo "none needed" >&6; } ;;
4366 xno)
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4368 $as_echo "unsupported" >&6; } ;;
4370 CC="$CC $ac_cv_prog_cc_c89"
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4372 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4373 esac
4374 if test "x$ac_cv_prog_cc_c89" != xno; then :
4378 ac_ext=c
4379 ac_cpp='$CPP $CPPFLAGS'
4380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4384 ac_ext=cpp
4385 ac_cpp='$CXXCPP $CPPFLAGS'
4386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4389 if test -z "$CXX"; then
4390 if test -n "$CCC"; then
4391 CXX=$CCC
4392 else
4393 if test -n "$ac_tool_prefix"; then
4394 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4396 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4397 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4399 $as_echo_n "checking for $ac_word... " >&6; }
4400 if ${ac_cv_prog_CXX+:} false; then :
4401 $as_echo_n "(cached) " >&6
4402 else
4403 if test -n "$CXX"; then
4404 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4405 else
4406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4407 for as_dir in $PATH
4409 IFS=$as_save_IFS
4410 test -z "$as_dir" && as_dir=.
4411 for ac_exec_ext in '' $ac_executable_extensions; do
4412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4413 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4415 break 2
4417 done
4418 done
4419 IFS=$as_save_IFS
4423 CXX=$ac_cv_prog_CXX
4424 if test -n "$CXX"; then
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4426 $as_echo "$CXX" >&6; }
4427 else
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4429 $as_echo "no" >&6; }
4433 test -n "$CXX" && break
4434 done
4436 if test -z "$CXX"; then
4437 ac_ct_CXX=$CXX
4438 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4440 # Extract the first word of "$ac_prog", so it can be a program name with args.
4441 set dummy $ac_prog; ac_word=$2
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4443 $as_echo_n "checking for $ac_word... " >&6; }
4444 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4445 $as_echo_n "(cached) " >&6
4446 else
4447 if test -n "$ac_ct_CXX"; then
4448 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4449 else
4450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4451 for as_dir in $PATH
4453 IFS=$as_save_IFS
4454 test -z "$as_dir" && as_dir=.
4455 for ac_exec_ext in '' $ac_executable_extensions; do
4456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4457 ac_cv_prog_ac_ct_CXX="$ac_prog"
4458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4459 break 2
4461 done
4462 done
4463 IFS=$as_save_IFS
4467 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4468 if test -n "$ac_ct_CXX"; then
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4470 $as_echo "$ac_ct_CXX" >&6; }
4471 else
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4473 $as_echo "no" >&6; }
4477 test -n "$ac_ct_CXX" && break
4478 done
4480 if test "x$ac_ct_CXX" = x; then
4481 CXX="g++"
4482 else
4483 case $cross_compiling:$ac_tool_warned in
4484 yes:)
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4486 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4487 ac_tool_warned=yes ;;
4488 esac
4489 CXX=$ac_ct_CXX
4495 # Provide some information about the compiler.
4496 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4497 set X $ac_compile
4498 ac_compiler=$2
4499 for ac_option in --version -v -V -qversion; do
4500 { { ac_try="$ac_compiler $ac_option >&5"
4501 case "(($ac_try" in
4502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4503 *) ac_try_echo=$ac_try;;
4504 esac
4505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4506 $as_echo "$ac_try_echo"; } >&5
4507 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4508 ac_status=$?
4509 if test -s conftest.err; then
4510 sed '10a\
4511 ... rest of stderr output deleted ...
4512 10q' conftest.err >conftest.er1
4513 cat conftest.er1 >&5
4515 rm -f conftest.er1 conftest.err
4516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4517 test $ac_status = 0; }
4518 done
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4521 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4522 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4523 $as_echo_n "(cached) " >&6
4524 else
4525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4526 /* end confdefs.h. */
4529 main ()
4531 #ifndef __GNUC__
4532 choke me
4533 #endif
4536 return 0;
4538 _ACEOF
4539 if ac_fn_cxx_try_compile "$LINENO"; then :
4540 ac_compiler_gnu=yes
4541 else
4542 ac_compiler_gnu=no
4544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4545 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4549 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4550 if test $ac_compiler_gnu = yes; then
4551 GXX=yes
4552 else
4553 GXX=
4555 ac_test_CXXFLAGS=${CXXFLAGS+set}
4556 ac_save_CXXFLAGS=$CXXFLAGS
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4558 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4559 if ${ac_cv_prog_cxx_g+:} false; then :
4560 $as_echo_n "(cached) " >&6
4561 else
4562 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4563 ac_cxx_werror_flag=yes
4564 ac_cv_prog_cxx_g=no
4565 CXXFLAGS="-g"
4566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567 /* end confdefs.h. */
4570 main ()
4574 return 0;
4576 _ACEOF
4577 if ac_fn_cxx_try_compile "$LINENO"; then :
4578 ac_cv_prog_cxx_g=yes
4579 else
4580 CXXFLAGS=""
4581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4582 /* end confdefs.h. */
4585 main ()
4589 return 0;
4591 _ACEOF
4592 if ac_fn_cxx_try_compile "$LINENO"; then :
4594 else
4595 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4596 CXXFLAGS="-g"
4597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4598 /* end confdefs.h. */
4601 main ()
4605 return 0;
4607 _ACEOF
4608 if ac_fn_cxx_try_compile "$LINENO"; then :
4609 ac_cv_prog_cxx_g=yes
4611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4616 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4619 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4620 if test "$ac_test_CXXFLAGS" = set; then
4621 CXXFLAGS=$ac_save_CXXFLAGS
4622 elif test $ac_cv_prog_cxx_g = yes; then
4623 if test "$GXX" = yes; then
4624 CXXFLAGS="-g -O2"
4625 else
4626 CXXFLAGS="-g"
4628 else
4629 if test "$GXX" = yes; then
4630 CXXFLAGS="-O2"
4631 else
4632 CXXFLAGS=
4635 ac_ext=c
4636 ac_cpp='$CPP $CPPFLAGS'
4637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4641 if test -n "$ac_tool_prefix"; then
4642 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4643 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4645 $as_echo_n "checking for $ac_word... " >&6; }
4646 if ${ac_cv_prog_CPPBIN+:} false; then :
4647 $as_echo_n "(cached) " >&6
4648 else
4649 if test -n "$CPPBIN"; then
4650 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4651 else
4652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4653 for as_dir in $PATH
4655 IFS=$as_save_IFS
4656 test -z "$as_dir" && as_dir=.
4657 for ac_exec_ext in '' $ac_executable_extensions; do
4658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4659 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4661 break 2
4663 done
4664 done
4665 IFS=$as_save_IFS
4669 CPPBIN=$ac_cv_prog_CPPBIN
4670 if test -n "$CPPBIN"; then
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4672 $as_echo "$CPPBIN" >&6; }
4673 else
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4675 $as_echo "no" >&6; }
4680 if test -z "$ac_cv_prog_CPPBIN"; then
4681 ac_ct_CPPBIN=$CPPBIN
4682 # Extract the first word of "cpp", so it can be a program name with args.
4683 set dummy cpp; ac_word=$2
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4685 $as_echo_n "checking for $ac_word... " >&6; }
4686 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4687 $as_echo_n "(cached) " >&6
4688 else
4689 if test -n "$ac_ct_CPPBIN"; then
4690 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4691 else
4692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4693 for as_dir in $PATH
4695 IFS=$as_save_IFS
4696 test -z "$as_dir" && as_dir=.
4697 for ac_exec_ext in '' $ac_executable_extensions; do
4698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4699 ac_cv_prog_ac_ct_CPPBIN="cpp"
4700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4701 break 2
4703 done
4704 done
4705 IFS=$as_save_IFS
4709 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4710 if test -n "$ac_ct_CPPBIN"; then
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4712 $as_echo "$ac_ct_CPPBIN" >&6; }
4713 else
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4715 $as_echo "no" >&6; }
4718 if test "x$ac_ct_CPPBIN" = x; then
4719 CPPBIN="cpp"
4720 else
4721 case $cross_compiling:$ac_tool_warned in
4722 yes:)
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4724 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4725 ac_tool_warned=yes ;;
4726 esac
4727 CPPBIN=$ac_ct_CPPBIN
4729 else
4730 CPPBIN="$ac_cv_prog_CPPBIN"
4734 cat >>confdefs.h <<_ACEOF
4735 #define EXEEXT "$ac_exeext"
4736 _ACEOF
4739 case $host in
4740 *-darwin*)
4741 if test "x$enable_win64" = "xyes"
4742 then
4743 CC="$CC -m64"
4744 CXX="$CXX -m64"
4745 host_cpu="x86_64"
4746 notice_platform="64-bit "
4747 TARGETFLAGS="-m64"
4749 else
4750 CC="$CC -m32"
4751 CXX="$CXX -m32"
4752 host_cpu="i386"
4753 notice_platform="32-bit "
4754 TARGETFLAGS="-m32"
4756 enable_win16=${enable_win16:-yes}
4758 with_fontconfig=${with_fontconfig:-no}
4760 x86_64*)
4761 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4762 then
4763 CC="$CC -m32"
4764 CXX="$CXX -m32"
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4766 $as_echo_n "checking whether $CC works... " >&6; }
4768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4769 /* end confdefs.h. */
4772 main ()
4776 return 0;
4778 _ACEOF
4779 if ac_fn_c_try_link "$LINENO"; then :
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4781 $as_echo "yes" >&6; }
4782 else
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4784 $as_echo "no" >&6; }
4785 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4787 rm -f core conftest.err conftest.$ac_objext \
4788 conftest$ac_exeext conftest.$ac_ext
4789 host_cpu="i386"
4790 notice_platform="32-bit "
4791 TARGETFLAGS="-m32"
4793 enable_win16=${enable_win16:-yes}
4794 else
4795 if test "x${GCC}" = "xyes"
4796 then
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4798 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4800 /* end confdefs.h. */
4801 #include <stdarg.h>
4803 main ()
4805 void func(__builtin_ms_va_list *args);
4807 return 0;
4809 _ACEOF
4810 if ac_fn_c_try_compile "$LINENO"; then :
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4812 $as_echo "yes" >&6; }
4813 else
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4815 $as_echo "no" >&6; }
4816 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4820 TARGETFLAGS="-m64"
4824 arm*)
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4826 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4828 /* end confdefs.h. */
4829 int ac_test(int i) { return i; }
4831 main ()
4833 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4835 return 0;
4837 _ACEOF
4838 if ac_fn_c_try_link "$LINENO"; then :
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4840 $as_echo "yes" >&6; }
4841 else
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4843 $as_echo "no" >&6; }
4844 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4846 rm -f core conftest.err conftest.$ac_objext \
4847 conftest$ac_exeext conftest.$ac_ext
4848 CFLAGS="$CFLAGS -marm"
4849 TARGETFLAGS="-marm"
4852 *-mingw32*|*-cygwin*)
4853 enable_win16=${enable_win16:-no}
4854 CFLAGS="$CFLAGS -D_WIN32"
4856 i[3456789]86*)
4857 enable_win16=${enable_win16:-yes}
4859 esac
4861 enable_win16=${enable_win16:-no}
4862 enable_win64=${enable_win64:-no}
4864 enable_winetest=${enable_winetest:-$enable_tests}
4866 if test -n "$with_wine64"
4867 then
4868 if test "x$enable_win64" = "xyes"
4869 then
4870 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4871 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4873 enable_fonts=${enable_fonts:-no}
4874 enable_server=${enable_server:-no}
4875 elif test "x$enable_win64" = "xyes"
4876 then
4877 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4881 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4882 if ${wine_cv_toolsdir+:} false; then :
4883 $as_echo_n "(cached) " >&6
4884 else
4885 wine_cv_toolsdir="$with_wine_tools"
4886 if test -z "$with_wine_tools"; then
4887 if test "$cross_compiling" = "yes"; then
4888 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4889 elif test -n "$with_wine64"; then
4890 wine_cv_toolsdir="$with_wine64"
4893 if test -z "$wine_cv_toolsdir"; then
4894 wine_makedep=tools/makedep
4895 wine_cv_toolsdir="\$(top_builddir)"
4896 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4897 wine_makedep=$wine_cv_toolsdir/tools/makedep
4898 case "$wine_cv_toolsdir" in
4899 /*) ;;
4900 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4901 esac
4902 enable_tools=${enable_tools:-no}
4903 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4904 else
4905 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4909 $as_echo "$wine_cv_toolsdir" >&6; }
4910 TOOLSDIR=$wine_cv_toolsdir
4912 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4913 then
4914 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4918 for ac_prog in flex
4920 # Extract the first word of "$ac_prog", so it can be a program name with args.
4921 set dummy $ac_prog; ac_word=$2
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4923 $as_echo_n "checking for $ac_word... " >&6; }
4924 if ${ac_cv_prog_FLEX+:} false; then :
4925 $as_echo_n "(cached) " >&6
4926 else
4927 if test -n "$FLEX"; then
4928 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4929 else
4930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4931 for as_dir in $PATH
4933 IFS=$as_save_IFS
4934 test -z "$as_dir" && as_dir=.
4935 for ac_exec_ext in '' $ac_executable_extensions; do
4936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4937 ac_cv_prog_FLEX="$ac_prog"
4938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4939 break 2
4941 done
4942 done
4943 IFS=$as_save_IFS
4947 FLEX=$ac_cv_prog_FLEX
4948 if test -n "$FLEX"; then
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4950 $as_echo "$FLEX" >&6; }
4951 else
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 $as_echo "no" >&6; }
4957 test -n "$FLEX" && break
4958 done
4959 test -n "$FLEX" || FLEX="none"
4961 if test "$FLEX" = "none"
4962 then
4963 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4966 $as_echo_n "checking whether flex is recent enough... " >&6; }
4967 cat >conftest.l <<EOF
4968 %top{
4969 #include "prediluvian.h"
4973 if $FLEX -t conftest.l >/dev/null 2>&5
4974 then
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4976 $as_echo "yes" >&6; }
4977 else
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4979 $as_echo "no" >&6; }
4980 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4983 for ac_prog in bison
4985 # Extract the first word of "$ac_prog", so it can be a program name with args.
4986 set dummy $ac_prog; ac_word=$2
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4988 $as_echo_n "checking for $ac_word... " >&6; }
4989 if ${ac_cv_prog_BISON+:} false; then :
4990 $as_echo_n "(cached) " >&6
4991 else
4992 if test -n "$BISON"; then
4993 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4994 else
4995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4996 for as_dir in $PATH
4998 IFS=$as_save_IFS
4999 test -z "$as_dir" && as_dir=.
5000 for ac_exec_ext in '' $ac_executable_extensions; do
5001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5002 ac_cv_prog_BISON="$ac_prog"
5003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5004 break 2
5006 done
5007 done
5008 IFS=$as_save_IFS
5012 BISON=$ac_cv_prog_BISON
5013 if test -n "$BISON"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5015 $as_echo "$BISON" >&6; }
5016 else
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 $as_echo "no" >&6; }
5022 test -n "$BISON" && break
5023 done
5024 test -n "$BISON" || BISON="none"
5026 if test "$BISON" = "none"
5027 then
5028 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5031 if test -n "$ac_tool_prefix"; then
5032 for ac_prog in ar gar
5034 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5035 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5037 $as_echo_n "checking for $ac_word... " >&6; }
5038 if ${ac_cv_prog_AR+:} false; then :
5039 $as_echo_n "(cached) " >&6
5040 else
5041 if test -n "$AR"; then
5042 ac_cv_prog_AR="$AR" # Let the user override the test.
5043 else
5044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5045 for as_dir in $PATH
5047 IFS=$as_save_IFS
5048 test -z "$as_dir" && as_dir=.
5049 for ac_exec_ext in '' $ac_executable_extensions; do
5050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5051 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5053 break 2
5055 done
5056 done
5057 IFS=$as_save_IFS
5061 AR=$ac_cv_prog_AR
5062 if test -n "$AR"; then
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5064 $as_echo "$AR" >&6; }
5065 else
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5067 $as_echo "no" >&6; }
5071 test -n "$AR" && break
5072 done
5074 if test -z "$AR"; then
5075 ac_ct_AR=$AR
5076 for ac_prog in ar gar
5078 # Extract the first word of "$ac_prog", so it can be a program name with args.
5079 set dummy $ac_prog; ac_word=$2
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5081 $as_echo_n "checking for $ac_word... " >&6; }
5082 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5083 $as_echo_n "(cached) " >&6
5084 else
5085 if test -n "$ac_ct_AR"; then
5086 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5087 else
5088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089 for as_dir in $PATH
5091 IFS=$as_save_IFS
5092 test -z "$as_dir" && as_dir=.
5093 for ac_exec_ext in '' $ac_executable_extensions; do
5094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5095 ac_cv_prog_ac_ct_AR="$ac_prog"
5096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5097 break 2
5099 done
5100 done
5101 IFS=$as_save_IFS
5105 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5106 if test -n "$ac_ct_AR"; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5108 $as_echo "$ac_ct_AR" >&6; }
5109 else
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5111 $as_echo "no" >&6; }
5115 test -n "$ac_ct_AR" && break
5116 done
5118 if test "x$ac_ct_AR" = x; then
5119 AR="ar"
5120 else
5121 case $cross_compiling:$ac_tool_warned in
5122 yes:)
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5125 ac_tool_warned=yes ;;
5126 esac
5127 AR=$ac_ct_AR
5131 if test -n "$ac_tool_prefix"; then
5132 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5133 set dummy ${ac_tool_prefix}strip; ac_word=$2
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5135 $as_echo_n "checking for $ac_word... " >&6; }
5136 if ${ac_cv_prog_STRIP+:} false; then :
5137 $as_echo_n "(cached) " >&6
5138 else
5139 if test -n "$STRIP"; then
5140 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5141 else
5142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5143 for as_dir in $PATH
5145 IFS=$as_save_IFS
5146 test -z "$as_dir" && as_dir=.
5147 for ac_exec_ext in '' $ac_executable_extensions; do
5148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5149 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151 break 2
5153 done
5154 done
5155 IFS=$as_save_IFS
5159 STRIP=$ac_cv_prog_STRIP
5160 if test -n "$STRIP"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5162 $as_echo "$STRIP" >&6; }
5163 else
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 $as_echo "no" >&6; }
5170 if test -z "$ac_cv_prog_STRIP"; then
5171 ac_ct_STRIP=$STRIP
5172 # Extract the first word of "strip", so it can be a program name with args.
5173 set dummy strip; ac_word=$2
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5175 $as_echo_n "checking for $ac_word... " >&6; }
5176 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5177 $as_echo_n "(cached) " >&6
5178 else
5179 if test -n "$ac_ct_STRIP"; then
5180 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5181 else
5182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5183 for as_dir in $PATH
5185 IFS=$as_save_IFS
5186 test -z "$as_dir" && as_dir=.
5187 for ac_exec_ext in '' $ac_executable_extensions; do
5188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5189 ac_cv_prog_ac_ct_STRIP="strip"
5190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 break 2
5193 done
5194 done
5195 IFS=$as_save_IFS
5199 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5200 if test -n "$ac_ct_STRIP"; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5202 $as_echo "$ac_ct_STRIP" >&6; }
5203 else
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5208 if test "x$ac_ct_STRIP" = x; then
5209 STRIP="strip"
5210 else
5211 case $cross_compiling:$ac_tool_warned in
5212 yes:)
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5215 ac_tool_warned=yes ;;
5216 esac
5217 STRIP=$ac_ct_STRIP
5219 else
5220 STRIP="$ac_cv_prog_STRIP"
5223 ARFLAGS=rc
5225 if test -n "$ac_tool_prefix"; then
5226 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5227 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5229 $as_echo_n "checking for $ac_word... " >&6; }
5230 if ${ac_cv_prog_RANLIB+:} false; then :
5231 $as_echo_n "(cached) " >&6
5232 else
5233 if test -n "$RANLIB"; then
5234 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5235 else
5236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5237 for as_dir in $PATH
5239 IFS=$as_save_IFS
5240 test -z "$as_dir" && as_dir=.
5241 for ac_exec_ext in '' $ac_executable_extensions; do
5242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5243 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5245 break 2
5247 done
5248 done
5249 IFS=$as_save_IFS
5253 RANLIB=$ac_cv_prog_RANLIB
5254 if test -n "$RANLIB"; then
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5256 $as_echo "$RANLIB" >&6; }
5257 else
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5259 $as_echo "no" >&6; }
5264 if test -z "$ac_cv_prog_RANLIB"; then
5265 ac_ct_RANLIB=$RANLIB
5266 # Extract the first word of "ranlib", so it can be a program name with args.
5267 set dummy ranlib; ac_word=$2
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5269 $as_echo_n "checking for $ac_word... " >&6; }
5270 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5271 $as_echo_n "(cached) " >&6
5272 else
5273 if test -n "$ac_ct_RANLIB"; then
5274 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5275 else
5276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5277 for as_dir in $PATH
5279 IFS=$as_save_IFS
5280 test -z "$as_dir" && as_dir=.
5281 for ac_exec_ext in '' $ac_executable_extensions; do
5282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5283 ac_cv_prog_ac_ct_RANLIB="ranlib"
5284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5285 break 2
5287 done
5288 done
5289 IFS=$as_save_IFS
5293 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5294 if test -n "$ac_ct_RANLIB"; then
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5296 $as_echo "$ac_ct_RANLIB" >&6; }
5297 else
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5299 $as_echo "no" >&6; }
5302 if test "x$ac_ct_RANLIB" = x; then
5303 RANLIB=":"
5304 else
5305 case $cross_compiling:$ac_tool_warned in
5306 yes:)
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5309 ac_tool_warned=yes ;;
5310 esac
5311 RANLIB=$ac_ct_RANLIB
5313 else
5314 RANLIB="$ac_cv_prog_RANLIB"
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5318 $as_echo_n "checking whether ln -s works... " >&6; }
5319 LN_S=$as_ln_s
5320 if test "$LN_S" = "ln -s"; then
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5322 $as_echo "yes" >&6; }
5323 else
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5325 $as_echo "no, using $LN_S" >&6; }
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5329 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5330 if ${ac_cv_path_GREP+:} false; then :
5331 $as_echo_n "(cached) " >&6
5332 else
5333 if test -z "$GREP"; then
5334 ac_path_GREP_found=false
5335 # Loop through the user's path and test for each of PROGNAME-LIST
5336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5337 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5339 IFS=$as_save_IFS
5340 test -z "$as_dir" && as_dir=.
5341 for ac_prog in grep ggrep; do
5342 for ac_exec_ext in '' $ac_executable_extensions; do
5343 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5344 as_fn_executable_p "$ac_path_GREP" || continue
5345 # Check for GNU ac_path_GREP and select it if it is found.
5346 # Check for GNU $ac_path_GREP
5347 case `"$ac_path_GREP" --version 2>&1` in
5348 *GNU*)
5349 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5351 ac_count=0
5352 $as_echo_n 0123456789 >"conftest.in"
5353 while :
5355 cat "conftest.in" "conftest.in" >"conftest.tmp"
5356 mv "conftest.tmp" "conftest.in"
5357 cp "conftest.in" "conftest.nl"
5358 $as_echo 'GREP' >> "conftest.nl"
5359 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5360 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5361 as_fn_arith $ac_count + 1 && ac_count=$as_val
5362 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5363 # Best one so far, save it but keep looking for a better one
5364 ac_cv_path_GREP="$ac_path_GREP"
5365 ac_path_GREP_max=$ac_count
5367 # 10*(2^10) chars as input seems more than enough
5368 test $ac_count -gt 10 && break
5369 done
5370 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5371 esac
5373 $ac_path_GREP_found && break 3
5374 done
5375 done
5376 done
5377 IFS=$as_save_IFS
5378 if test -z "$ac_cv_path_GREP"; then
5379 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5381 else
5382 ac_cv_path_GREP=$GREP
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5387 $as_echo "$ac_cv_path_GREP" >&6; }
5388 GREP="$ac_cv_path_GREP"
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5392 $as_echo_n "checking for egrep... " >&6; }
5393 if ${ac_cv_path_EGREP+:} false; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5397 then ac_cv_path_EGREP="$GREP -E"
5398 else
5399 if test -z "$EGREP"; then
5400 ac_path_EGREP_found=false
5401 # Loop through the user's path and test for each of PROGNAME-LIST
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5405 IFS=$as_save_IFS
5406 test -z "$as_dir" && as_dir=.
5407 for ac_prog in egrep; do
5408 for ac_exec_ext in '' $ac_executable_extensions; do
5409 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5410 as_fn_executable_p "$ac_path_EGREP" || continue
5411 # Check for GNU ac_path_EGREP and select it if it is found.
5412 # Check for GNU $ac_path_EGREP
5413 case `"$ac_path_EGREP" --version 2>&1` in
5414 *GNU*)
5415 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5417 ac_count=0
5418 $as_echo_n 0123456789 >"conftest.in"
5419 while :
5421 cat "conftest.in" "conftest.in" >"conftest.tmp"
5422 mv "conftest.tmp" "conftest.in"
5423 cp "conftest.in" "conftest.nl"
5424 $as_echo 'EGREP' >> "conftest.nl"
5425 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5426 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5427 as_fn_arith $ac_count + 1 && ac_count=$as_val
5428 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5429 # Best one so far, save it but keep looking for a better one
5430 ac_cv_path_EGREP="$ac_path_EGREP"
5431 ac_path_EGREP_max=$ac_count
5433 # 10*(2^10) chars as input seems more than enough
5434 test $ac_count -gt 10 && break
5435 done
5436 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5437 esac
5439 $ac_path_EGREP_found && break 3
5440 done
5441 done
5442 done
5443 IFS=$as_save_IFS
5444 if test -z "$ac_cv_path_EGREP"; then
5445 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5447 else
5448 ac_cv_path_EGREP=$EGREP
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5454 $as_echo "$ac_cv_path_EGREP" >&6; }
5455 EGREP="$ac_cv_path_EGREP"
5458 # Extract the first word of "ldconfig", so it can be a program name with args.
5459 set dummy ldconfig; ac_word=$2
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5461 $as_echo_n "checking for $ac_word... " >&6; }
5462 if ${ac_cv_path_LDCONFIG+:} false; then :
5463 $as_echo_n "(cached) " >&6
5464 else
5465 case $LDCONFIG in
5466 [\\/]* | ?:[\\/]*)
5467 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5471 for as_dir in /sbin /usr/sbin $PATH
5473 IFS=$as_save_IFS
5474 test -z "$as_dir" && as_dir=.
5475 for ac_exec_ext in '' $ac_executable_extensions; do
5476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5477 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5479 break 2
5481 done
5482 done
5483 IFS=$as_save_IFS
5485 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5487 esac
5489 LDCONFIG=$ac_cv_path_LDCONFIG
5490 if test -n "$LDCONFIG"; then
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5492 $as_echo "$LDCONFIG" >&6; }
5493 else
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5495 $as_echo "no" >&6; }
5499 for ac_prog in msgfmt
5501 # Extract the first word of "$ac_prog", so it can be a program name with args.
5502 set dummy $ac_prog; ac_word=$2
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5504 $as_echo_n "checking for $ac_word... " >&6; }
5505 if ${ac_cv_prog_MSGFMT+:} false; then :
5506 $as_echo_n "(cached) " >&6
5507 else
5508 if test -n "$MSGFMT"; then
5509 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5510 else
5511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5512 for as_dir in $PATH
5514 IFS=$as_save_IFS
5515 test -z "$as_dir" && as_dir=.
5516 for ac_exec_ext in '' $ac_executable_extensions; do
5517 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5518 ac_cv_prog_MSGFMT="$ac_prog"
5519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5520 break 2
5522 done
5523 done
5524 IFS=$as_save_IFS
5528 MSGFMT=$ac_cv_prog_MSGFMT
5529 if test -n "$MSGFMT"; then
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5531 $as_echo "$MSGFMT" >&6; }
5532 else
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5534 $as_echo "no" >&6; }
5538 test -n "$MSGFMT" && break
5539 done
5540 test -n "$MSGFMT" || MSGFMT="false"
5542 if ${ac_tool_prefix+:} false; then :
5543 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5544 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5546 $as_echo_n "checking for $ac_word... " >&6; }
5547 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5548 $as_echo_n "(cached) " >&6
5549 else
5550 if test -n "$PKG_CONFIG"; then
5551 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5552 else
5553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5554 for as_dir in $PATH
5556 IFS=$as_save_IFS
5557 test -z "$as_dir" && as_dir=.
5558 for ac_exec_ext in '' $ac_executable_extensions; do
5559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5560 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5562 break 2
5564 done
5565 done
5566 IFS=$as_save_IFS
5570 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5571 if test -n "$PKG_CONFIG"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5573 $as_echo "$PKG_CONFIG" >&6; }
5574 else
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5576 $as_echo "no" >&6; }
5581 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5582 if test "x$cross_compiling" = xyes; then :
5584 else
5585 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5586 # Extract the first word of "pkg-config", so it can be a program name with args.
5587 set dummy pkg-config; ac_word=$2
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5589 $as_echo_n "checking for $ac_word... " >&6; }
5590 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5591 $as_echo_n "(cached) " >&6
5592 else
5593 if test -n "$PKG_CONFIG"; then
5594 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5595 else
5596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5597 for as_dir in $PATH
5599 IFS=$as_save_IFS
5600 test -z "$as_dir" && as_dir=.
5601 for ac_exec_ext in '' $ac_executable_extensions; do
5602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5603 ac_cv_prog_PKG_CONFIG="pkg-config"
5604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5605 break 2
5607 done
5608 done
5609 IFS=$as_save_IFS
5613 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5614 if test -n "$PKG_CONFIG"; then
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5616 $as_echo "$PKG_CONFIG" >&6; }
5617 else
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5619 $as_echo "no" >&6; }
5624 else
5625 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5628 if test "x$enable_maintainer_mode" != "xyes"
5629 then
5630 FONTFORGE=""
5631 RSVG=""
5632 CONVERT=""
5633 ICOTOOL=""
5634 else
5635 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5636 for ac_prog in fontforge
5638 # Extract the first word of "$ac_prog", so it can be a program name with args.
5639 set dummy $ac_prog; ac_word=$2
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5641 $as_echo_n "checking for $ac_word... " >&6; }
5642 if ${ac_cv_prog_FONTFORGE+:} false; then :
5643 $as_echo_n "(cached) " >&6
5644 else
5645 if test -n "$FONTFORGE"; then
5646 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5647 else
5648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5649 for as_dir in $PATH
5651 IFS=$as_save_IFS
5652 test -z "$as_dir" && as_dir=.
5653 for ac_exec_ext in '' $ac_executable_extensions; do
5654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5655 ac_cv_prog_FONTFORGE="$ac_prog"
5656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5657 break 2
5659 done
5660 done
5661 IFS=$as_save_IFS
5665 FONTFORGE=$ac_cv_prog_FONTFORGE
5666 if test -n "$FONTFORGE"; then
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5668 $as_echo "$FONTFORGE" >&6; }
5669 else
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5671 $as_echo "no" >&6; }
5675 test -n "$FONTFORGE" && break
5676 done
5677 test -n "$FONTFORGE" || FONTFORGE="false"
5679 for ac_prog in rsvg
5681 # Extract the first word of "$ac_prog", so it can be a program name with args.
5682 set dummy $ac_prog; ac_word=$2
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5684 $as_echo_n "checking for $ac_word... " >&6; }
5685 if ${ac_cv_prog_RSVG+:} false; then :
5686 $as_echo_n "(cached) " >&6
5687 else
5688 if test -n "$RSVG"; then
5689 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5690 else
5691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5692 for as_dir in $PATH
5694 IFS=$as_save_IFS
5695 test -z "$as_dir" && as_dir=.
5696 for ac_exec_ext in '' $ac_executable_extensions; do
5697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5698 ac_cv_prog_RSVG="$ac_prog"
5699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5700 break 2
5702 done
5703 done
5704 IFS=$as_save_IFS
5708 RSVG=$ac_cv_prog_RSVG
5709 if test -n "$RSVG"; then
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5711 $as_echo "$RSVG" >&6; }
5712 else
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5714 $as_echo "no" >&6; }
5718 test -n "$RSVG" && break
5719 done
5720 test -n "$RSVG" || RSVG="false"
5722 for ac_prog in convert
5724 # Extract the first word of "$ac_prog", so it can be a program name with args.
5725 set dummy $ac_prog; ac_word=$2
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5727 $as_echo_n "checking for $ac_word... " >&6; }
5728 if ${ac_cv_prog_CONVERT+:} false; then :
5729 $as_echo_n "(cached) " >&6
5730 else
5731 if test -n "$CONVERT"; then
5732 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5733 else
5734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5735 for as_dir in $PATH
5737 IFS=$as_save_IFS
5738 test -z "$as_dir" && as_dir=.
5739 for ac_exec_ext in '' $ac_executable_extensions; do
5740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5741 ac_cv_prog_CONVERT="$ac_prog"
5742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5743 break 2
5745 done
5746 done
5747 IFS=$as_save_IFS
5751 CONVERT=$ac_cv_prog_CONVERT
5752 if test -n "$CONVERT"; then
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5754 $as_echo "$CONVERT" >&6; }
5755 else
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5757 $as_echo "no" >&6; }
5761 test -n "$CONVERT" && break
5762 done
5763 test -n "$CONVERT" || CONVERT="false"
5765 for ac_prog in icotool
5767 # Extract the first word of "$ac_prog", so it can be a program name with args.
5768 set dummy $ac_prog; ac_word=$2
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5770 $as_echo_n "checking for $ac_word... " >&6; }
5771 if ${ac_cv_prog_ICOTOOL+:} false; then :
5772 $as_echo_n "(cached) " >&6
5773 else
5774 if test -n "$ICOTOOL"; then
5775 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5776 else
5777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5778 for as_dir in $PATH
5780 IFS=$as_save_IFS
5781 test -z "$as_dir" && as_dir=.
5782 for ac_exec_ext in '' $ac_executable_extensions; do
5783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5784 ac_cv_prog_ICOTOOL="$ac_prog"
5785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5786 break 2
5788 done
5789 done
5790 IFS=$as_save_IFS
5794 ICOTOOL=$ac_cv_prog_ICOTOOL
5795 if test -n "$ICOTOOL"; then
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5797 $as_echo "$ICOTOOL" >&6; }
5798 else
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5800 $as_echo "no" >&6; }
5804 test -n "$ICOTOOL" && break
5805 done
5806 test -n "$ICOTOOL" || ICOTOOL="false"
5808 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5809 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5811 if test "$CONVERT" = false
5812 then
5813 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5814 else
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5816 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5817 convert_version=`convert --version | head -n1`
5818 if test "x$convert_version" != "x"
5819 then
5820 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5821 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5822 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5823 then
5824 CONVERT=false
5827 if test "$CONVERT" = false
5828 then
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5830 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5831 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5832 else
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5834 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5838 if test "$ICOTOOL" = false
5839 then
5840 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5841 else
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5843 $as_echo_n "checking for recent enough icotool... " >&6; }
5844 icotool_version=`icotool --version | head -n1`
5845 if test "x$icotool_version" != "x"
5846 then
5847 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5848 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5849 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5850 then
5851 ICOTOOL=false
5852 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5855 if test "$ICOTOOL" = false
5856 then
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5858 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5859 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5860 else
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5862 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5866 with_gettext=yes
5867 with_gettextpo=yes
5868 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5871 test "x$with_gettext" != xno || MSGFMT=false
5872 if test "$MSGFMT" != "false"
5873 then
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5875 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5876 cat >conftest.po <<EOF
5877 # comment
5878 msgctxt "ctxt"
5879 msgid "id"
5880 msgstr "str"
5882 if $MSGFMT -o /dev/null conftest.po 2>&5
5883 then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5885 $as_echo "yes" >&6; }
5886 else
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5889 MSGFMT=false
5892 if test "$MSGFMT" = false; then :
5893 case "x$with_gettext" in
5894 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5895 xno) ;;
5896 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5897 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5898 esac
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5903 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5904 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5905 $as_echo_n "(cached) " >&6
5906 else
5907 ac_check_lib_save_LIBS=$LIBS
5908 LIBS="-li386 $LIBS"
5909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5910 /* end confdefs.h. */
5912 /* Override any GCC internal prototype to avoid an error.
5913 Use char because int might match the return type of a GCC
5914 builtin and then its argument prototype would still apply. */
5915 #ifdef __cplusplus
5916 extern "C"
5917 #endif
5918 char i386_set_ldt ();
5920 main ()
5922 return i386_set_ldt ();
5924 return 0;
5926 _ACEOF
5927 if ac_fn_c_try_link "$LINENO"; then :
5928 ac_cv_lib_i386_i386_set_ldt=yes
5929 else
5930 ac_cv_lib_i386_i386_set_ldt=no
5932 rm -f core conftest.err conftest.$ac_objext \
5933 conftest$ac_exeext conftest.$ac_ext
5934 LIBS=$ac_check_lib_save_LIBS
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5937 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5938 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5939 cat >>confdefs.h <<_ACEOF
5940 #define HAVE_LIBI386 1
5941 _ACEOF
5943 LIBS="-li386 $LIBS"
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5948 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5949 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5950 $as_echo_n "(cached) " >&6
5951 else
5952 ac_check_lib_save_LIBS=$LIBS
5953 LIBS="-lossaudio $LIBS"
5954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5955 /* end confdefs.h. */
5957 /* Override any GCC internal prototype to avoid an error.
5958 Use char because int might match the return type of a GCC
5959 builtin and then its argument prototype would still apply. */
5960 #ifdef __cplusplus
5961 extern "C"
5962 #endif
5963 char _oss_ioctl ();
5965 main ()
5967 return _oss_ioctl ();
5969 return 0;
5971 _ACEOF
5972 if ac_fn_c_try_link "$LINENO"; then :
5973 ac_cv_lib_ossaudio__oss_ioctl=yes
5974 else
5975 ac_cv_lib_ossaudio__oss_ioctl=no
5977 rm -f core conftest.err conftest.$ac_objext \
5978 conftest$ac_exeext conftest.$ac_ext
5979 LIBS=$ac_check_lib_save_LIBS
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5982 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5983 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5984 cat >>confdefs.h <<_ACEOF
5985 #define HAVE_LIBOSSAUDIO 1
5986 _ACEOF
5988 LIBS="-lossaudio $LIBS"
5993 OPENGL_LIBS=""
5997 # Check whether --enable-largefile was given.
5998 if test "${enable_largefile+set}" = set; then :
5999 enableval=$enable_largefile;
6002 if test "$enable_largefile" != no; then
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6005 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6006 if ${ac_cv_sys_largefile_CC+:} false; then :
6007 $as_echo_n "(cached) " >&6
6008 else
6009 ac_cv_sys_largefile_CC=no
6010 if test "$GCC" != yes; then
6011 ac_save_CC=$CC
6012 while :; do
6013 # IRIX 6.2 and later do not support large files by default,
6014 # so use the C compiler's -n32 option if that helps.
6015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6016 /* end confdefs.h. */
6017 #include <sys/types.h>
6018 /* Check that off_t can represent 2**63 - 1 correctly.
6019 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6020 since some C++ compilers masquerading as C compilers
6021 incorrectly reject 9223372036854775807. */
6022 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6023 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6024 && LARGE_OFF_T % 2147483647 == 1)
6025 ? 1 : -1];
6027 main ()
6031 return 0;
6033 _ACEOF
6034 if ac_fn_c_try_compile "$LINENO"; then :
6035 break
6037 rm -f core conftest.err conftest.$ac_objext
6038 CC="$CC -n32"
6039 if ac_fn_c_try_compile "$LINENO"; then :
6040 ac_cv_sys_largefile_CC=' -n32'; break
6042 rm -f core conftest.err conftest.$ac_objext
6043 break
6044 done
6045 CC=$ac_save_CC
6046 rm -f conftest.$ac_ext
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6050 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6051 if test "$ac_cv_sys_largefile_CC" != no; then
6052 CC=$CC$ac_cv_sys_largefile_CC
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6056 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6057 if ${ac_cv_sys_file_offset_bits+:} false; then :
6058 $as_echo_n "(cached) " >&6
6059 else
6060 while :; do
6061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6062 /* end confdefs.h. */
6063 #include <sys/types.h>
6064 /* Check that off_t can represent 2**63 - 1 correctly.
6065 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6066 since some C++ compilers masquerading as C compilers
6067 incorrectly reject 9223372036854775807. */
6068 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6069 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6070 && LARGE_OFF_T % 2147483647 == 1)
6071 ? 1 : -1];
6073 main ()
6077 return 0;
6079 _ACEOF
6080 if ac_fn_c_try_compile "$LINENO"; then :
6081 ac_cv_sys_file_offset_bits=no; break
6083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6085 /* end confdefs.h. */
6086 #define _FILE_OFFSET_BITS 64
6087 #include <sys/types.h>
6088 /* Check that off_t can represent 2**63 - 1 correctly.
6089 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6090 since some C++ compilers masquerading as C compilers
6091 incorrectly reject 9223372036854775807. */
6092 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6093 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6094 && LARGE_OFF_T % 2147483647 == 1)
6095 ? 1 : -1];
6097 main ()
6101 return 0;
6103 _ACEOF
6104 if ac_fn_c_try_compile "$LINENO"; then :
6105 ac_cv_sys_file_offset_bits=64; break
6107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6108 ac_cv_sys_file_offset_bits=unknown
6109 break
6110 done
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6113 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6114 case $ac_cv_sys_file_offset_bits in #(
6115 no | unknown) ;;
6117 cat >>confdefs.h <<_ACEOF
6118 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6119 _ACEOF
6121 esac
6122 rm -rf conftest*
6123 if test $ac_cv_sys_file_offset_bits = unknown; then
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6125 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6126 if ${ac_cv_sys_large_files+:} false; then :
6127 $as_echo_n "(cached) " >&6
6128 else
6129 while :; do
6130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6131 /* end confdefs.h. */
6132 #include <sys/types.h>
6133 /* Check that off_t can represent 2**63 - 1 correctly.
6134 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6135 since some C++ compilers masquerading as C compilers
6136 incorrectly reject 9223372036854775807. */
6137 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6138 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6139 && LARGE_OFF_T % 2147483647 == 1)
6140 ? 1 : -1];
6142 main ()
6146 return 0;
6148 _ACEOF
6149 if ac_fn_c_try_compile "$LINENO"; then :
6150 ac_cv_sys_large_files=no; break
6152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6154 /* end confdefs.h. */
6155 #define _LARGE_FILES 1
6156 #include <sys/types.h>
6157 /* Check that off_t can represent 2**63 - 1 correctly.
6158 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6159 since some C++ compilers masquerading as C compilers
6160 incorrectly reject 9223372036854775807. */
6161 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6162 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6163 && LARGE_OFF_T % 2147483647 == 1)
6164 ? 1 : -1];
6166 main ()
6170 return 0;
6172 _ACEOF
6173 if ac_fn_c_try_compile "$LINENO"; then :
6174 ac_cv_sys_large_files=1; break
6176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6177 ac_cv_sys_large_files=unknown
6178 break
6179 done
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6182 $as_echo "$ac_cv_sys_large_files" >&6; }
6183 case $ac_cv_sys_large_files in #(
6184 no | unknown) ;;
6186 cat >>confdefs.h <<_ACEOF
6187 #define _LARGE_FILES $ac_cv_sys_large_files
6188 _ACEOF
6190 esac
6191 rm -rf conftest*
6198 ac_ext=c
6199 ac_cpp='$CPP $CPPFLAGS'
6200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6204 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6205 # On Suns, sometimes $CPP names a directory.
6206 if test -n "$CPP" && test -d "$CPP"; then
6207 CPP=
6209 if test -z "$CPP"; then
6210 if ${ac_cv_prog_CPP+:} false; then :
6211 $as_echo_n "(cached) " >&6
6212 else
6213 # Double quotes because CPP needs to be expanded
6214 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6216 ac_preproc_ok=false
6217 for ac_c_preproc_warn_flag in '' yes
6219 # Use a header file that comes with gcc, so configuring glibc
6220 # with a fresh cross-compiler works.
6221 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6222 # <limits.h> exists even on freestanding compilers.
6223 # On the NeXT, cc -E runs the code through the compiler's parser,
6224 # not just through cpp. "Syntax error" is here to catch this case.
6225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6226 /* end confdefs.h. */
6227 #ifdef __STDC__
6228 # include <limits.h>
6229 #else
6230 # include <assert.h>
6231 #endif
6232 Syntax error
6233 _ACEOF
6234 if ac_fn_c_try_cpp "$LINENO"; then :
6236 else
6237 # Broken: fails on valid input.
6238 continue
6240 rm -f conftest.err conftest.i conftest.$ac_ext
6242 # OK, works on sane cases. Now check whether nonexistent headers
6243 # can be detected and how.
6244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6245 /* end confdefs.h. */
6246 #include <ac_nonexistent.h>
6247 _ACEOF
6248 if ac_fn_c_try_cpp "$LINENO"; then :
6249 # Broken: success on invalid input.
6250 continue
6251 else
6252 # Passes both tests.
6253 ac_preproc_ok=:
6254 break
6256 rm -f conftest.err conftest.i conftest.$ac_ext
6258 done
6259 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6260 rm -f conftest.i conftest.err conftest.$ac_ext
6261 if $ac_preproc_ok; then :
6262 break
6265 done
6266 ac_cv_prog_CPP=$CPP
6269 CPP=$ac_cv_prog_CPP
6270 else
6271 ac_cv_prog_CPP=$CPP
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6274 $as_echo "$CPP" >&6; }
6275 ac_preproc_ok=false
6276 for ac_c_preproc_warn_flag in '' yes
6278 # Use a header file that comes with gcc, so configuring glibc
6279 # with a fresh cross-compiler works.
6280 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6281 # <limits.h> exists even on freestanding compilers.
6282 # On the NeXT, cc -E runs the code through the compiler's parser,
6283 # not just through cpp. "Syntax error" is here to catch this case.
6284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6285 /* end confdefs.h. */
6286 #ifdef __STDC__
6287 # include <limits.h>
6288 #else
6289 # include <assert.h>
6290 #endif
6291 Syntax error
6292 _ACEOF
6293 if ac_fn_c_try_cpp "$LINENO"; then :
6295 else
6296 # Broken: fails on valid input.
6297 continue
6299 rm -f conftest.err conftest.i conftest.$ac_ext
6301 # OK, works on sane cases. Now check whether nonexistent headers
6302 # can be detected and how.
6303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6304 /* end confdefs.h. */
6305 #include <ac_nonexistent.h>
6306 _ACEOF
6307 if ac_fn_c_try_cpp "$LINENO"; then :
6308 # Broken: success on invalid input.
6309 continue
6310 else
6311 # Passes both tests.
6312 ac_preproc_ok=:
6313 break
6315 rm -f conftest.err conftest.i conftest.$ac_ext
6317 done
6318 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6319 rm -f conftest.i conftest.err conftest.$ac_ext
6320 if $ac_preproc_ok; then :
6322 else
6323 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6325 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6326 See \`config.log' for more details" "$LINENO" 5; }
6329 ac_ext=c
6330 ac_cpp='$CPP $CPPFLAGS'
6331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6337 $as_echo_n "checking for ANSI C header files... " >&6; }
6338 if ${ac_cv_header_stdc+:} false; then :
6339 $as_echo_n "(cached) " >&6
6340 else
6341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6342 /* end confdefs.h. */
6343 #include <stdlib.h>
6344 #include <stdarg.h>
6345 #include <string.h>
6346 #include <float.h>
6349 main ()
6353 return 0;
6355 _ACEOF
6356 if ac_fn_c_try_compile "$LINENO"; then :
6357 ac_cv_header_stdc=yes
6358 else
6359 ac_cv_header_stdc=no
6361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6363 if test $ac_cv_header_stdc = yes; then
6364 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6366 /* end confdefs.h. */
6367 #include <string.h>
6369 _ACEOF
6370 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6371 $EGREP "memchr" >/dev/null 2>&1; then :
6373 else
6374 ac_cv_header_stdc=no
6376 rm -f conftest*
6380 if test $ac_cv_header_stdc = yes; then
6381 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6383 /* end confdefs.h. */
6384 #include <stdlib.h>
6386 _ACEOF
6387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6388 $EGREP "free" >/dev/null 2>&1; then :
6390 else
6391 ac_cv_header_stdc=no
6393 rm -f conftest*
6397 if test $ac_cv_header_stdc = yes; then
6398 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6399 if test "$cross_compiling" = yes; then :
6401 else
6402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6403 /* end confdefs.h. */
6404 #include <ctype.h>
6405 #include <stdlib.h>
6406 #if ((' ' & 0x0FF) == 0x020)
6407 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6408 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6409 #else
6410 # define ISLOWER(c) \
6411 (('a' <= (c) && (c) <= 'i') \
6412 || ('j' <= (c) && (c) <= 'r') \
6413 || ('s' <= (c) && (c) <= 'z'))
6414 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6415 #endif
6417 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6419 main ()
6421 int i;
6422 for (i = 0; i < 256; i++)
6423 if (XOR (islower (i), ISLOWER (i))
6424 || toupper (i) != TOUPPER (i))
6425 return 2;
6426 return 0;
6428 _ACEOF
6429 if ac_fn_c_try_run "$LINENO"; then :
6431 else
6432 ac_cv_header_stdc=no
6434 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6435 conftest.$ac_objext conftest.beam conftest.$ac_ext
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6441 $as_echo "$ac_cv_header_stdc" >&6; }
6442 if test $ac_cv_header_stdc = yes; then
6444 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6448 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6449 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6450 inttypes.h stdint.h unistd.h
6451 do :
6452 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6453 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6455 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6456 cat >>confdefs.h <<_ACEOF
6457 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6458 _ACEOF
6462 done
6465 for ac_header in \
6466 AL/al.h \
6467 ApplicationServices/ApplicationServices.h \
6468 AudioToolbox/AudioConverter.h \
6469 AudioUnit/AudioUnit.h \
6470 AudioUnit/AudioComponent.h \
6471 CL/cl.h \
6472 Carbon/Carbon.h \
6473 CoreAudio/CoreAudio.h \
6474 CoreServices/CoreServices.h \
6475 DiskArbitration/DiskArbitration.h \
6476 IOKit/IOKitLib.h \
6477 IOKit/hid/IOHIDLib.h \
6478 OpenAL/al.h \
6479 OpenCL/opencl.h \
6480 QuickTime/ImageCompression.h \
6481 Security/Security.h \
6482 alias.h \
6483 alsa/asoundlib.h \
6484 arpa/inet.h \
6485 arpa/nameser.h \
6486 asm/types.h \
6487 asm/user.h \
6488 curses.h \
6489 direct.h \
6490 dirent.h \
6491 dlfcn.h \
6492 elf.h \
6493 float.h \
6494 fnmatch.h \
6495 getopt.h \
6496 gettext-po.h \
6497 grp.h \
6498 gsm.h \
6499 gsm/gsm.h \
6500 ieeefp.h \
6501 inet/mib2.h \
6502 io.h \
6503 kstat.h \
6504 lber.h \
6505 ldap.h \
6506 libproc.h \
6507 link.h \
6508 linux/cdrom.h \
6509 linux/compiler.h \
6510 linux/filter.h \
6511 linux/hdreg.h \
6512 linux/input.h \
6513 linux/ioctl.h \
6514 linux/joystick.h \
6515 linux/major.h \
6516 linux/param.h \
6517 linux/serial.h \
6518 linux/types.h \
6519 linux/ucdrom.h \
6520 lwp.h \
6521 mach-o/nlist.h \
6522 mach-o/loader.h \
6523 mach/mach.h \
6524 mach/machine.h \
6525 machine/cpu.h \
6526 machine/limits.h \
6527 machine/sysarch.h \
6528 mntent.h \
6529 ncurses.h \
6530 netdb.h \
6531 netinet/in.h \
6532 netinet/in_systm.h \
6533 netinet/tcp.h \
6534 netinet/tcp_fsm.h \
6535 pcap/pcap.h \
6536 poll.h \
6537 port.h \
6538 process.h \
6539 pthread.h \
6540 pwd.h \
6541 sched.h \
6542 scsi/scsi.h \
6543 scsi/scsi_ioctl.h \
6544 scsi/sg.h \
6545 stdbool.h \
6546 stdint.h \
6547 stropts.h \
6548 sys/asoundlib.h \
6549 sys/attr.h \
6550 sys/cdio.h \
6551 sys/elf32.h \
6552 sys/epoll.h \
6553 sys/event.h \
6554 sys/exec_elf.h \
6555 sys/filio.h \
6556 sys/inotify.h \
6557 sys/ioctl.h \
6558 sys/ipc.h \
6559 sys/limits.h \
6560 sys/link.h \
6561 sys/mman.h \
6562 sys/modem.h \
6563 sys/msg.h \
6564 sys/mtio.h \
6565 sys/param.h \
6566 sys/poll.h \
6567 sys/prctl.h \
6568 sys/protosw.h \
6569 sys/ptrace.h \
6570 sys/queue.h \
6571 sys/resource.h \
6572 sys/scsiio.h \
6573 sys/shm.h \
6574 sys/signal.h \
6575 sys/socket.h \
6576 sys/socketvar.h \
6577 sys/sockio.h \
6578 sys/statvfs.h \
6579 sys/strtio.h \
6580 sys/syscall.h \
6581 sys/tihdr.h \
6582 sys/time.h \
6583 sys/timeout.h \
6584 sys/times.h \
6585 sys/uio.h \
6586 sys/user.h \
6587 sys/utsname.h \
6588 sys/vm86.h \
6589 sys/wait.h \
6590 syscall.h \
6591 termios.h \
6592 unistd.h \
6593 utime.h \
6594 valgrind/memcheck.h \
6595 valgrind/valgrind.h \
6596 zlib.h
6598 do :
6599 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6600 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6601 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6602 cat >>confdefs.h <<_ACEOF
6603 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6604 _ACEOF
6608 done
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6611 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6612 if ${ac_cv_header_stat_broken+:} false; then :
6613 $as_echo_n "(cached) " >&6
6614 else
6615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6616 /* end confdefs.h. */
6617 #include <sys/types.h>
6618 #include <sys/stat.h>
6620 #if defined S_ISBLK && defined S_IFDIR
6621 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6622 #endif
6624 #if defined S_ISBLK && defined S_IFCHR
6625 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6626 #endif
6628 #if defined S_ISLNK && defined S_IFREG
6629 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6630 #endif
6632 #if defined S_ISSOCK && defined S_IFREG
6633 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6634 #endif
6636 _ACEOF
6637 if ac_fn_c_try_compile "$LINENO"; then :
6638 ac_cv_header_stat_broken=no
6639 else
6640 ac_cv_header_stat_broken=yes
6642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6645 $as_echo "$ac_cv_header_stat_broken" >&6; }
6646 if test $ac_cv_header_stat_broken = yes; then
6648 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6654 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6655 do :
6656 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6657 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6658 #ifdef HAVE_SYS_PARAM_H
6659 # include <sys/param.h>
6660 #endif
6662 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6663 cat >>confdefs.h <<_ACEOF
6664 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6665 _ACEOF
6669 done
6672 for ac_header in \
6673 netinet/ip.h \
6674 net/if.h \
6675 net/if_arp.h \
6676 net/if_dl.h \
6677 net/if_types.h \
6678 net/route.h \
6679 netinet/if_ether.h \
6680 netinet/if_inarp.h \
6681 netinet/in_pcb.h \
6682 netinet/ip_icmp.h \
6683 netinet/ip_var.h \
6684 netinet/udp.h \
6685 netipx/ipx.h \
6686 sys/un.h \
6688 do :
6689 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6690 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6691 #ifdef HAVE_SYS_SOCKET_H
6692 # include <sys/socket.h>
6693 #endif
6694 #ifdef HAVE_SYS_SOCKETVAR_H
6695 # include <sys/socketvar.h>
6696 #endif
6697 #ifdef HAVE_NET_ROUTE_H
6698 # include <net/route.h>
6699 #endif
6700 #ifdef HAVE_NETINET_IN_H
6701 # include <netinet/in.h>
6702 #endif
6703 #ifdef HAVE_NETINET_IN_SYSTM_H
6704 # include <netinet/in_systm.h>
6705 #endif
6706 #ifdef HAVE_NET_IF_H
6707 # include <net/if.h>
6708 #endif
6709 #ifdef HAVE_NETINET_IP_H
6710 # include <netinet/ip.h>
6711 #endif
6713 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6714 cat >>confdefs.h <<_ACEOF
6715 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6716 _ACEOF
6720 done
6723 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6724 do :
6725 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6726 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6727 #ifdef HAVE_ALIAS_H
6728 # include <alias.h>
6729 #endif
6730 #ifdef HAVE_SYS_SOCKET_H
6731 # include <sys/socket.h>
6732 #endif
6733 #ifdef HAVE_SYS_SOCKETVAR_H
6734 # include <sys/socketvar.h>
6735 #endif
6736 #ifdef HAVE_SYS_TIMEOUT_H
6737 # include <sys/timeout.h>
6738 #endif
6739 #ifdef HAVE_NETINET_IN_H
6740 # include <netinet/in.h>
6741 #endif
6742 #ifdef HAVE_NETINET_IN_SYSTM_H
6743 # include <netinet/in_systm.h>
6744 #endif
6745 #ifdef HAVE_NETINET_IP_H
6746 # include <netinet/ip.h>
6747 #endif
6748 #ifdef HAVE_NETINET_IP_VAR_H
6749 # include <netinet/ip_var.h>
6750 #endif
6751 #ifdef HAVE_NETINET_IP_ICMP_H
6752 # include <netinet/ip_icmp.h>
6753 #endif
6754 #ifdef HAVE_NETINET_UDP_H
6755 # include <netinet/udp.h>
6756 #endif
6757 #ifdef HAVE_NETINET_TCP_H
6758 # include <netinet/tcp.h>
6759 #endif
6760 #ifdef HAVE_NETINET_TCP_TIMER_H
6761 #include <netinet/tcp_timer.h>
6762 #endif
6764 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6765 cat >>confdefs.h <<_ACEOF
6766 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6767 _ACEOF
6771 done
6774 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6775 do :
6776 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6777 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6778 #ifdef HAVE_ASM_TYPES_H
6779 # include <asm/types.h>
6780 #endif
6781 #ifdef HAVE_SYS_SOCKET_H
6782 # include <sys/socket.h>
6783 #endif
6784 #ifdef HAVE_LINUX_TYPES_H
6785 # include <linux/types.h>
6786 #endif
6788 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6789 cat >>confdefs.h <<_ACEOF
6790 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6791 _ACEOF
6795 done
6798 for ac_header in mach-o/dyld_images.h
6799 do :
6800 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6801 # include <stdbool.h>
6802 #endif
6803 #ifdef HAVE_STDINT_H
6804 # include <stdint.h>
6805 #endif
6807 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6808 cat >>confdefs.h <<_ACEOF
6809 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6810 _ACEOF
6814 done
6817 for ac_header in resolv.h
6818 do :
6819 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6820 #ifdef HAVE_SYS_SOCKET_H
6821 # include <sys/socket.h>
6822 #endif
6823 #ifdef HAVE_NETINET_IN_H
6824 # include <netinet/in.h>
6825 #endif
6826 #ifdef HAVE_ARPA_NAMESER_H
6827 # include <arpa/nameser.h>
6828 #endif
6830 if test "x$ac_cv_header_resolv_h" = xyes; then :
6831 cat >>confdefs.h <<_ACEOF
6832 #define HAVE_RESOLV_H 1
6833 _ACEOF
6837 done
6840 for ac_header in ifaddrs.h
6841 do :
6842 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6844 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6845 cat >>confdefs.h <<_ACEOF
6846 #define HAVE_IFADDRS_H 1
6847 _ACEOF
6851 done
6854 for ac_header in sys/ucontext.h
6855 do :
6856 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6858 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6859 cat >>confdefs.h <<_ACEOF
6860 #define HAVE_SYS_UCONTEXT_H 1
6861 _ACEOF
6865 done
6868 for ac_header in sys/thr.h
6869 do :
6870 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6871 #ifdef HAVE_SYS_UCONTEXT_H
6872 #include <sys/ucontext.h>
6873 #endif
6875 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6876 cat >>confdefs.h <<_ACEOF
6877 #define HAVE_SYS_THR_H 1
6878 _ACEOF
6882 done
6885 for ac_header in pthread_np.h
6886 do :
6887 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6888 #include <pthread.h>
6889 #endif
6891 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6892 cat >>confdefs.h <<_ACEOF
6893 #define HAVE_PTHREAD_NP_H 1
6894 _ACEOF
6898 done
6901 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6902 do :
6903 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6904 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6905 #include <sys/time.h>
6906 #endif
6907 #include <sys/types.h>
6908 #ifdef HAVE_ASM_TYPES_H
6909 #include <asm/types.h>
6910 #endif
6912 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6913 cat >>confdefs.h <<_ACEOF
6914 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6915 _ACEOF
6919 done
6922 for ac_header in libprocstat.h
6923 do :
6924 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6925 #include <sys/param.h>
6926 #endif
6927 #ifdef HAVE_SYS_QUEUE_H
6928 #include <sys/queue.h>
6929 #endif
6930 #ifdef HAVE_SYS_SOCKET_H
6931 #include <sys/socket.h>
6932 #endif
6934 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6935 cat >>confdefs.h <<_ACEOF
6936 #define HAVE_LIBPROCSTAT_H 1
6937 _ACEOF
6941 done
6945 dlldir="\${libdir}/wine"
6947 DLLPREFIX=""
6949 DLLFLAGS="-D_REENTRANT"
6951 LDRPATH_INSTALL=""
6953 LDRPATH_LOCAL=""
6955 LIBEXT="so"
6956 DLLEXT=".so"
6957 IMPLIBEXT="def"
6958 STATIC_IMPLIBEXT="def.a"
6959 # Extract the first word of "ldd", so it can be a program name with args.
6960 set dummy ldd; ac_word=$2
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6962 $as_echo_n "checking for $ac_word... " >&6; }
6963 if ${ac_cv_path_LDD+:} false; then :
6964 $as_echo_n "(cached) " >&6
6965 else
6966 case $LDD in
6967 [\\/]* | ?:[\\/]*)
6968 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6972 as_dummy="/sbin:/usr/sbin:$PATH"
6973 for as_dir in $as_dummy
6975 IFS=$as_save_IFS
6976 test -z "$as_dir" && as_dir=.
6977 for ac_exec_ext in '' $ac_executable_extensions; do
6978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6979 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6981 break 2
6983 done
6984 done
6985 IFS=$as_save_IFS
6987 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6989 esac
6991 LDD=$ac_cv_path_LDD
6992 if test -n "$LDD"; then
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6994 $as_echo "$LDD" >&6; }
6995 else
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6997 $as_echo "no" >&6; }
7001 if test -n "$ac_tool_prefix"; then
7002 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7003 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7005 $as_echo_n "checking for $ac_word... " >&6; }
7006 if ${ac_cv_prog_READELF+:} false; then :
7007 $as_echo_n "(cached) " >&6
7008 else
7009 if test -n "$READELF"; then
7010 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7011 else
7012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7013 for as_dir in $PATH
7015 IFS=$as_save_IFS
7016 test -z "$as_dir" && as_dir=.
7017 for ac_exec_ext in '' $ac_executable_extensions; do
7018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7019 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7021 break 2
7023 done
7024 done
7025 IFS=$as_save_IFS
7029 READELF=$ac_cv_prog_READELF
7030 if test -n "$READELF"; then
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7032 $as_echo "$READELF" >&6; }
7033 else
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7035 $as_echo "no" >&6; }
7040 if test -z "$ac_cv_prog_READELF"; then
7041 ac_ct_READELF=$READELF
7042 # Extract the first word of "readelf", so it can be a program name with args.
7043 set dummy readelf; ac_word=$2
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7045 $as_echo_n "checking for $ac_word... " >&6; }
7046 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7047 $as_echo_n "(cached) " >&6
7048 else
7049 if test -n "$ac_ct_READELF"; then
7050 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7051 else
7052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7053 for as_dir in $PATH
7055 IFS=$as_save_IFS
7056 test -z "$as_dir" && as_dir=.
7057 for ac_exec_ext in '' $ac_executable_extensions; do
7058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7059 ac_cv_prog_ac_ct_READELF="readelf"
7060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7061 break 2
7063 done
7064 done
7065 IFS=$as_save_IFS
7069 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7070 if test -n "$ac_ct_READELF"; then
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7072 $as_echo "$ac_ct_READELF" >&6; }
7073 else
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7075 $as_echo "no" >&6; }
7078 if test "x$ac_ct_READELF" = x; then
7079 READELF="true"
7080 else
7081 case $cross_compiling:$ac_tool_warned in
7082 yes:)
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7085 ac_tool_warned=yes ;;
7086 esac
7087 READELF=$ac_ct_READELF
7089 else
7090 READELF="$ac_cv_prog_READELF"
7093 wine_rules_file=conf$$rules.make
7094 rm -f $wine_rules_file
7095 ALL_POT_FILES=""
7096 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7097 ALL_TEST_RESOURCES=""
7100 wine_fn_append_file ()
7102 as_fn_append $1 " \\$as_nl $2"
7105 wine_fn_ignore_file ()
7107 case "$1" in
7108 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7109 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7110 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7111 esac
7114 wine_fn_append_rule ()
7116 $as_echo "$1" >>$wine_rules_file
7119 wine_fn_has_flag ()
7121 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7124 wine_fn_depend_rules ()
7126 wine_fn_append_rule \
7127 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7128 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7129 depend: $ac_dir/depend
7130 .PHONY: $ac_dir/depend
7131 $ac_dir/depend: \$(MAKEDEP) dummy
7132 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7135 wine_fn_pot_rules ()
7137 test "x$with_gettextpo" = xyes || return
7139 if wine_fn_has_flag mc
7140 then
7141 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7142 wine_fn_append_rule \
7143 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7144 @cd $ac_dir && \$(MAKE) msg.pot
7145 $ac_dir/msg.pot: tools/wmc include"
7147 if wine_fn_has_flag po
7148 then
7149 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7150 wine_fn_append_rule \
7151 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7152 @cd $ac_dir && \$(MAKE) rsrc.pot
7153 $ac_dir/rsrc.pot: tools/wrc include"
7157 wine_fn_all_rules ()
7159 wine_fn_depend_rules
7160 wine_fn_append_rule \
7161 "all: $ac_dir
7162 .PHONY: $ac_dir
7163 $ac_dir: $ac_dir/Makefile dummy
7164 @cd $ac_dir && \$(MAKE)"
7167 wine_fn_install_rules ()
7169 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7171 wine_fn_append_rule \
7172 ".PHONY: $ac_dir/install $ac_dir/uninstall
7173 $ac_dir/install:: $ac_dir
7174 @cd $ac_dir && \$(MAKE) install
7175 $ac_dir/uninstall:: $ac_dir/Makefile
7176 @cd $ac_dir && \$(MAKE) uninstall
7177 install:: $ac_dir/install
7178 __uninstall__: $ac_dir/uninstall"
7180 if wine_fn_has_flag install-lib
7181 then
7182 wine_fn_append_rule \
7183 ".PHONY: $ac_dir/install-lib
7184 $ac_dir/install-lib:: $ac_dir
7185 @cd $ac_dir && \$(MAKE) install-lib
7186 install-lib:: $ac_dir/install-lib"
7189 if wine_fn_has_flag install-dev
7190 then
7191 wine_fn_append_rule \
7192 ".PHONY: $ac_dir/install-dev
7193 $ac_dir/install-dev:: $ac_dir
7194 @cd $ac_dir && \$(MAKE) install-dev
7195 install-dev:: $ac_dir/install-dev"
7199 wine_fn_clean_rules ()
7201 ac_clean=$@
7202 ac_extraclean="$ac_dir/Makefile"
7203 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7204 case $ac_dir in
7205 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7206 esac
7208 if wine_fn_has_flag clean
7209 then
7210 wine_fn_append_rule \
7211 "__clean__: $ac_dir/clean
7212 .PHONY: $ac_dir/clean
7213 $ac_dir/clean: $ac_dir/Makefile
7214 @cd $ac_dir && \$(MAKE) clean
7215 \$(RM) $ac_extraclean"
7216 else
7217 wine_fn_append_rule \
7218 "__clean__: $ac_dir/clean
7219 .PHONY: $ac_dir/clean
7220 $ac_dir/clean: dummy
7221 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7225 wine_fn_disabled_rules ()
7227 ac_clean=$@
7228 ac_extraclean="$ac_dir/Makefile"
7229 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7231 wine_fn_append_rule \
7232 "__clean__: $ac_dir/clean
7233 .PHONY: $ac_dir/clean
7234 $ac_dir/clean: dummy
7235 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7238 wine_fn_config_makefile ()
7240 ac_dir=$1
7241 ac_enable=$2
7242 ac_flags=$3
7244 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7245 wine_fn_disabled_rules; return
7247 wine_fn_all_rules
7248 wine_fn_install_rules
7249 wine_fn_clean_rules
7252 wine_fn_config_lib ()
7254 ac_name=$1
7255 ac_flags=$2
7256 ac_dir=dlls/$ac_name
7257 ac_deps="include"
7259 if test "x$enable_tools" = xno; then :
7261 else
7262 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7264 wine_fn_all_rules
7265 wine_fn_clean_rules
7267 wine_fn_append_rule \
7268 ".PHONY: $ac_dir/install $ac_dir/uninstall
7269 $ac_dir/install:: $ac_dir
7270 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7271 $ac_dir/uninstall::
7272 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7273 install install-dev:: $ac_dir/install
7274 __uninstall__: $ac_dir/uninstall
7275 __builddeps__: $ac_dir
7276 $ac_dir: $ac_deps"
7279 wine_fn_config_dll ()
7281 ac_name=$1
7282 ac_dir=dlls/$ac_name
7283 ac_enable=$2
7284 ac_flags=$3
7285 ac_implib=${4:-$ac_name}
7286 ac_file=$ac_dir/lib$ac_implib
7287 ac_dll=$ac_name
7288 ac_deps="include"
7289 ac_implibflags=""
7291 if test "x$enable_tools" = xno; then :
7293 else
7294 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7296 case $ac_name in
7297 *16) ac_implibflags=" -m16" ;;
7298 *.*) ;;
7299 *) ac_dll=$ac_dll.dll ;;
7300 esac
7302 ac_clean=
7303 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7304 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7305 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7306 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7308 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7309 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7310 then
7311 wine_fn_depend_rules
7312 wine_fn_clean_rules $ac_clean
7313 else
7314 wine_fn_disabled_rules $ac_clean
7315 return
7317 else
7318 wine_fn_all_rules
7319 wine_fn_clean_rules $ac_clean
7320 wine_fn_append_rule \
7321 "$ac_dir: __builddeps__
7322 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7323 @cd $ac_dir && \$(MAKE) \$@
7324 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7325 install install-lib:: $ac_dir/install-lib
7326 __uninstall__: $ac_dir/uninstall"
7327 if test -n "$DLLEXT"
7328 then
7329 wine_fn_append_rule \
7330 "$ac_dir/install-lib:: $ac_dir
7331 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7332 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7333 $ac_dir/uninstall::
7334 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7335 else
7336 wine_fn_append_rule \
7337 "$ac_dir/install-lib:: $ac_dir
7338 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7339 $ac_dir/uninstall::
7340 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7343 wine_fn_pot_rules
7346 if wine_fn_has_flag staticimplib
7347 then
7348 wine_fn_append_rule \
7349 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7350 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7351 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7352 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7353 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7354 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7355 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7356 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7357 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7358 $ac_dir/uninstall::
7359 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7360 install install-dev:: $ac_dir/install-dev
7361 __uninstall__: $ac_dir/uninstall"
7363 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7364 then
7365 wine_fn_append_rule \
7366 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7367 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7368 $ac_dir/uninstall::
7369 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7372 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7373 then
7374 wine_fn_append_rule \
7375 "__builddeps__: $ac_file.cross.a
7376 $ac_file.cross.a: $ac_dir/Makefile dummy
7377 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7380 elif wine_fn_has_flag implib
7381 then
7382 wine_fn_append_rule \
7383 "__builddeps__: $ac_file.$IMPLIBEXT
7384 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7385 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7386 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7387 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7388 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7389 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7390 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7391 $ac_dir/uninstall::
7392 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7393 install install-dev:: $ac_dir/install-dev
7394 __uninstall__: $ac_dir/uninstall"
7395 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7396 then
7397 wine_fn_append_rule \
7398 "__builddeps__: $ac_file.cross.a
7399 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7400 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7403 if test "$ac_name" != "$ac_implib"
7404 then
7405 wine_fn_append_rule \
7406 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7407 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7408 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7409 clean::
7410 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7411 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7412 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7413 then
7414 wine_fn_append_rule \
7415 "__builddeps__: dlls/lib$ac_implib.cross.a
7416 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7417 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7418 clean::
7419 \$(RM) dlls/lib$ac_implib.cross.a"
7420 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7426 wine_fn_config_program ()
7428 ac_name=$1
7429 ac_dir=programs/$ac_name
7430 ac_enable=$2
7431 ac_flags=$3
7432 ac_program=$ac_name
7434 case $ac_name in
7435 *.*) ;;
7436 *) ac_program=$ac_program.exe ;;
7437 esac
7439 ac_clean=
7440 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7441 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7442 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7443 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7445 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7446 wine_fn_disabled_rules $ac_clean; return
7449 wine_fn_all_rules
7450 wine_fn_clean_rules $ac_clean
7451 wine_fn_append_rule "$ac_dir: __builddeps__"
7452 wine_fn_pot_rules
7454 wine_fn_has_flag install || return
7455 wine_fn_append_rule \
7456 ".PHONY: $ac_dir/install $ac_dir/uninstall
7457 install install-lib:: $ac_dir/install
7458 __uninstall__: $ac_dir/uninstall"
7460 if test -n "$DLLEXT"
7461 then
7462 wine_fn_append_rule \
7463 "$ac_dir/install:: $ac_dir
7464 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7465 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7466 $ac_dir/uninstall::
7467 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7469 if test -z "$with_wine64" && wine_fn_has_flag installbin
7470 then
7471 wine_fn_append_rule \
7472 "$ac_dir/install:: __tooldeps__
7473 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7474 $ac_dir/uninstall::
7475 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7477 else
7478 wine_fn_append_rule \
7479 "$ac_dir/install:: $ac_dir
7480 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7481 $ac_dir/uninstall::
7482 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7485 if test -z "$with_wine64" && wine_fn_has_flag manpage
7486 then
7487 wine_fn_append_rule \
7488 "$ac_dir/install:: $ac_dir
7489 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7490 $ac_dir/uninstall::
7491 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7495 wine_fn_config_test ()
7497 ac_dir=$1
7498 ac_name=$2
7499 ac_flags=$3
7501 ac_clean=
7502 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7503 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7505 if test "x$enable_tests" = xno; then :
7506 wine_fn_disabled_rules $ac_clean; return
7509 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7510 wine_fn_all_rules
7511 wine_fn_clean_rules $ac_clean
7513 wine_fn_append_rule \
7514 "$ac_dir: programs/winetest/Makefile __builddeps__
7515 programs/winetest: $ac_dir
7516 check test: $ac_dir/test
7517 .PHONY: $ac_dir/test
7518 $ac_dir/test: dummy
7519 @cd $ac_dir && \$(MAKE) test
7520 testclean::
7521 \$(RM) $ac_dir/*.ok"
7523 if test -n "$CROSSTARGET"
7524 then
7525 wine_fn_append_rule \
7526 "crosstest: $ac_dir/crosstest
7527 .PHONY: $ac_dir/crosstest
7528 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7529 @cd $ac_dir && \$(MAKE) crosstest"
7533 wine_fn_config_tool ()
7535 ac_dir=$1
7536 ac_flags=$2
7537 if test "x$enable_tools" = xno; then :
7538 return
7541 wine_fn_all_rules
7542 wine_fn_install_rules
7543 wine_fn_clean_rules
7545 wine_fn_append_rule "__tooldeps__: $ac_dir"
7546 wine_fn_append_rule "$ac_dir: libs/port"
7547 case $ac_dir in
7548 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7549 esac
7552 wine_fn_config_symlink ()
7554 ac_linkdir=
7555 if test "x$1" = "x-d"
7556 then
7557 ac_linkdir=$2
7558 shift; shift
7560 ac_links=$@
7561 wine_fn_append_rule \
7562 "$ac_links:
7563 @./config.status \$@
7564 distclean::
7565 \$(RM) $ac_links"
7566 for f in $ac_links; do wine_fn_ignore_file $f; done
7567 test -n "$ac_linkdir" || return
7568 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7571 wine_binary="wine"
7572 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7573 loader_programs="$wine_binary wine-installed"
7574 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7576 LOADER_RULES="
7577 all: wine.inf
7579 install install-lib:: wine-installed
7580 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7582 uninstall::
7583 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7587 case $host_os in
7588 cygwin*|mingw32*)
7589 if test -n "$ac_tool_prefix"; then
7590 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7591 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7593 $as_echo_n "checking for $ac_word... " >&6; }
7594 if ${ac_cv_prog_DLLTOOL+:} false; then :
7595 $as_echo_n "(cached) " >&6
7596 else
7597 if test -n "$DLLTOOL"; then
7598 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7599 else
7600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7601 for as_dir in $PATH
7603 IFS=$as_save_IFS
7604 test -z "$as_dir" && as_dir=.
7605 for ac_exec_ext in '' $ac_executable_extensions; do
7606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7607 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7609 break 2
7611 done
7612 done
7613 IFS=$as_save_IFS
7617 DLLTOOL=$ac_cv_prog_DLLTOOL
7618 if test -n "$DLLTOOL"; then
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7620 $as_echo "$DLLTOOL" >&6; }
7621 else
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7623 $as_echo "no" >&6; }
7628 if test -z "$ac_cv_prog_DLLTOOL"; then
7629 ac_ct_DLLTOOL=$DLLTOOL
7630 # Extract the first word of "dlltool", so it can be a program name with args.
7631 set dummy dlltool; ac_word=$2
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7633 $as_echo_n "checking for $ac_word... " >&6; }
7634 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7635 $as_echo_n "(cached) " >&6
7636 else
7637 if test -n "$ac_ct_DLLTOOL"; then
7638 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7639 else
7640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7641 for as_dir in $PATH
7643 IFS=$as_save_IFS
7644 test -z "$as_dir" && as_dir=.
7645 for ac_exec_ext in '' $ac_executable_extensions; do
7646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7647 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7649 break 2
7651 done
7652 done
7653 IFS=$as_save_IFS
7657 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7658 if test -n "$ac_ct_DLLTOOL"; then
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7660 $as_echo "$ac_ct_DLLTOOL" >&6; }
7661 else
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7663 $as_echo "no" >&6; }
7666 if test "x$ac_ct_DLLTOOL" = x; then
7667 DLLTOOL="false"
7668 else
7669 case $cross_compiling:$ac_tool_warned in
7670 yes:)
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7673 ac_tool_warned=yes ;;
7674 esac
7675 DLLTOOL=$ac_ct_DLLTOOL
7677 else
7678 DLLTOOL="$ac_cv_prog_DLLTOOL"
7681 LIBEXT="dll"
7682 DLLEXT=""
7683 IMPLIBEXT="a"
7684 STATIC_IMPLIBEXT="a"
7685 enable_iphlpapi=${enable_iphlpapi:-no}
7686 enable_kernel32=${enable_kernel32:-no}
7687 enable_msvcrt=${enable_msvcrt:-no}
7688 enable_ntdll=${enable_ntdll:-no}
7689 enable_ws2_32=${enable_ws2_32:-no}
7690 enable_loader=${enable_loader:-no}
7691 enable_server=${enable_server:-no}
7692 with_x=${with_x:-no}
7693 with_pthread=${with_pthread:-no}
7695 crtlibs=""
7696 case $host_os in
7697 mingw32*)
7698 crtlibs="-lmsvcrt"
7699 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7701 esac
7703 libwine_targets="libwine.dll libwine.a"
7704 LIBWINE_RULES="
7705 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7707 all: libwine.dll libwine.a
7709 libwine.a: \$(srcdir)/wine.def
7710 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7712 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7713 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7715 install install-lib:: libwine.dll
7716 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7718 install install-dev:: libwine.a
7719 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7721 uninstall::
7722 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7727 darwin*|macosx*)
7728 LIBEXT="dylib"
7729 DLLFLAGS="$DLLFLAGS -fPIC"
7730 LIBWINE_LDFLAGS="-multiply_defined suppress"
7731 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7732 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7733 COREFOUNDATION_LIBS="-framework CoreFoundation"
7735 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7737 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7739 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7741 CORESERVICES_LIBS="-framework CoreServices"
7743 APPKIT_LIBS="-framework AppKit"
7745 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7747 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7748 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7749 $as_echo_n "(cached) " >&6
7750 else
7751 ac_wine_try_cflags_saved=$CFLAGS
7752 CFLAGS="$CFLAGS -Wl,-no_pie"
7753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7754 /* end confdefs.h. */
7755 int main(int argc, char **argv) { return 0; }
7756 _ACEOF
7757 if ac_fn_c_try_link "$LINENO"; then :
7758 ac_cv_cflags__Wl__no_pie=yes
7759 else
7760 ac_cv_cflags__Wl__no_pie=no
7762 rm -f core conftest.err conftest.$ac_objext \
7763 conftest$ac_exeext conftest.$ac_ext
7764 CFLAGS=$ac_wine_try_cflags_saved
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7767 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7768 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7769 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7771 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7772 then
7773 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7776 if test "$ac_cv_header_Security_Security_h" = "yes"
7777 then
7778 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7780 ac_save_LIBS="$LIBS"
7781 LIBS="$LIBS $SECURITY_LIBS"
7782 for ac_func in SSLCopyPeerCertificates
7783 do :
7784 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7785 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7786 cat >>confdefs.h <<_ACEOF
7787 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7788 _ACEOF
7791 done
7793 LIBS="$ac_save_LIBS"
7794 with_gnutls=${with_gnutls:-no}
7796 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7797 then
7798 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7799 then
7800 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7802 else
7803 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7806 ac_save_LIBS="$LIBS"
7807 LIBS="$LIBS $COREAUDIO_LIBS"
7808 for ac_func in AUGraphAddNode
7809 do :
7810 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7811 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7812 cat >>confdefs.h <<_ACEOF
7813 #define HAVE_AUGRAPHADDNODE 1
7814 _ACEOF
7817 done
7819 LIBS="$ac_save_LIBS"
7821 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7822 then
7823 OPENAL_LIBS="-framework OpenAL"
7826 cat >>confdefs.h <<_ACEOF
7827 #define HAVE_OPENAL 1
7828 _ACEOF
7830 ac_cv_lib_openal=yes
7832 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7833 then
7834 OPENCL_LIBS="-framework OpenCL"
7836 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7838 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7839 then
7840 ac_save_LIBS="$LIBS"
7841 LIBS="$LIBS $IOKIT_LIBS"
7842 for ac_func in IOHIDManagerCreate
7843 do :
7844 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7845 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7846 cat >>confdefs.h <<_ACEOF
7847 #define HAVE_IOHIDMANAGERCREATE 1
7848 _ACEOF
7851 done
7853 LIBS="$ac_save_LIBS"
7855 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7856 then
7857 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7859 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7860 else
7861 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7863 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7864 then
7865 CARBON_LIBS="-framework Carbon"
7869 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7870 then
7871 ac_save_LIBS="$LIBS"
7872 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7873 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7874 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7875 enable_winemac_drv=${enable_winemac_drv:-yes}
7878 LIBS="$ac_save_LIBS"
7881 if test "x$enable_win16" = "xyes"
7882 then
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7884 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7885 if test "$cross_compiling" = yes; then :
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7887 $as_echo "cross-compiling, assuming yes" >&6; }
7888 else
7889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7890 /* end confdefs.h. */
7891 asm(".text\n"
7892 "bad:\tnop;nop\n"
7893 "good:\tnop;nop\n\t"
7894 ".globl _testfunc\n"
7895 "_testfunc:\tcallw good");
7896 extern void testfunc();
7898 main ()
7900 unsigned short *p = (unsigned short *)testfunc;
7901 return p[0] != 0xe866 || p[1] != 0xfffa
7903 return 0;
7905 _ACEOF
7906 if ac_fn_c_try_run "$LINENO"; then :
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7908 $as_echo "yes" >&6; }
7909 else
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7911 $as_echo "no" >&6; }
7912 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
7914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7915 conftest.$ac_objext conftest.beam conftest.$ac_ext
7920 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7921 LIBWINE_RULES="
7922 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7924 all: libwine.dylib
7926 libwine.$libwine_version.dylib: \$(OBJS)
7927 \$(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 \$@
7929 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7930 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7932 libwine.dylib: libwine.$libwine_soversion.dylib
7933 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7935 install install-lib:: libwine.$libwine_version.dylib
7936 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7937 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7939 install install-dev::
7940 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7942 uninstall::
7943 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7947 as_fn_append LOADER_RULES "
7948 $wine_binary: main.o wine_info.plist
7949 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7951 wine-installed: main.o wine_info.plist
7952 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7956 linux-android*)
7957 DLLFLAGS="$DLLFLAGS -fPIC"
7958 DLLPREFIX="lib"
7959 LDEXECFLAGS=""
7960 dlldir="\${libdir}"
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7962 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7963 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7964 $as_echo_n "(cached) " >&6
7965 else
7966 ac_wine_try_cflags_saved=$CFLAGS
7967 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7969 /* end confdefs.h. */
7970 int main(int argc, char **argv) { return 0; }
7971 _ACEOF
7972 if ac_fn_c_try_link "$LINENO"; then :
7973 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7974 else
7975 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7977 rm -f core conftest.err conftest.$ac_objext \
7978 conftest$ac_exeext conftest.$ac_ext
7979 CFLAGS=$ac_wine_try_cflags_saved
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7982 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7983 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7984 LDEXECFLAGS="-Wl,--export-dynamic"
7986 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7988 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7989 if eval \${$as_ac_var+:} false; then :
7990 $as_echo_n "(cached) " >&6
7991 else
7992 ac_wine_try_cflags_saved=$CFLAGS
7993 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7995 /* end confdefs.h. */
7996 int main(int argc, char **argv) { return 0; }
7997 _ACEOF
7998 if ac_fn_c_try_link "$LINENO"; then :
7999 eval "$as_ac_var=yes"
8000 else
8001 eval "$as_ac_var=no"
8003 rm -f core conftest.err conftest.$ac_objext \
8004 conftest$ac_exeext conftest.$ac_ext
8005 CFLAGS=$ac_wine_try_cflags_saved
8007 eval ac_res=\$$as_ac_var
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8009 $as_echo "$ac_res" >&6; }
8010 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8011 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8012 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8013 else
8014 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8016 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8017 if eval \${$as_ac_var+:} false; then :
8018 $as_echo_n "(cached) " >&6
8019 else
8020 ac_wine_try_cflags_saved=$CFLAGS
8021 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8023 /* end confdefs.h. */
8024 int main(int argc, char **argv) { return 0; }
8025 _ACEOF
8026 if ac_fn_c_try_link "$LINENO"; then :
8027 eval "$as_ac_var=yes"
8028 else
8029 eval "$as_ac_var=no"
8031 rm -f core conftest.err conftest.$ac_objext \
8032 conftest$ac_exeext conftest.$ac_ext
8033 CFLAGS=$ac_wine_try_cflags_saved
8035 eval ac_res=\$$as_ac_var
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8037 $as_echo "$ac_res" >&6; }
8038 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8039 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8040 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8045 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8046 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8047 $as_echo_n "(cached) " >&6
8048 else
8049 ac_wine_try_cflags_saved=$CFLAGS
8050 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8052 /* end confdefs.h. */
8053 int main(int argc, char **argv) { return 0; }
8054 _ACEOF
8055 if ac_fn_c_try_link "$LINENO"; then :
8056 ac_cv_cflags__Wl___enable_new_dtags=yes
8057 else
8058 ac_cv_cflags__Wl___enable_new_dtags=no
8060 rm -f core conftest.err conftest.$ac_objext \
8061 conftest$ac_exeext conftest.$ac_ext
8062 CFLAGS=$ac_wine_try_cflags_saved
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8065 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8066 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8067 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8070 case $host_cpu in
8071 *i[3456789]86* | x86_64)
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8073 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8074 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8075 $as_echo_n "(cached) " >&6
8076 else
8077 ac_wine_try_cflags_saved=$CFLAGS
8078 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8080 /* end confdefs.h. */
8081 int main(int argc, char **argv) { return 0; }
8082 _ACEOF
8083 if ac_fn_c_try_link "$LINENO"; then :
8084 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8085 else
8086 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8088 rm -f core conftest.err conftest.$ac_objext \
8089 conftest$ac_exeext conftest.$ac_ext
8090 CFLAGS=$ac_wine_try_cflags_saved
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8093 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8094 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8095 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8098 esac
8100 libwine_targets="libwine.so"
8101 LIBWINE_RULES="
8102 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8104 all: libwine.so
8106 libwine.so: \$(OBJS)
8107 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8109 install install-lib:: libwine.so
8110 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8112 uninstall::
8113 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8117 as_fn_append LOADER_RULES "
8118 $wine_binary: main.o
8119 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8121 wine-installed: main.o
8122 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8127 DLLFLAGS="$DLLFLAGS -fPIC"
8128 LDEXECFLAGS=""
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8130 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8131 if ${ac_cv_c_dll_gnuelf+:} false; then :
8132 $as_echo_n "(cached) " >&6
8133 else
8134 ac_wine_try_cflags_saved=$CFLAGS
8135 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8137 /* end confdefs.h. */
8138 void myfunc() {}
8139 _ACEOF
8140 if ac_fn_c_try_link "$LINENO"; then :
8141 ac_cv_c_dll_gnuelf="yes"
8142 else
8143 ac_cv_c_dll_gnuelf="no"
8145 rm -f core conftest.err conftest.$ac_objext \
8146 conftest$ac_exeext conftest.$ac_ext
8147 CFLAGS=$ac_wine_try_cflags_saved
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8150 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8151 if test "$ac_cv_c_dll_gnuelf" = "yes"
8152 then
8153 LDSHARED="\$(CC) -shared"
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8155 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8156 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8157 $as_echo_n "(cached) " >&6
8158 else
8159 ac_wine_try_cflags_saved=$CFLAGS
8160 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8162 /* end confdefs.h. */
8163 int main(int argc, char **argv) { return 0; }
8164 _ACEOF
8165 if ac_fn_c_try_link "$LINENO"; then :
8166 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8167 else
8168 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8170 rm -f core conftest.err conftest.$ac_objext \
8171 conftest$ac_exeext conftest.$ac_ext
8172 CFLAGS=$ac_wine_try_cflags_saved
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8175 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8176 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8177 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8178 else
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8180 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8181 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8182 $as_echo_n "(cached) " >&6
8183 else
8184 ac_wine_try_cflags_saved=$CFLAGS
8185 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8187 /* end confdefs.h. */
8188 int main(int argc, char **argv) { return 0; }
8189 _ACEOF
8190 if ac_fn_c_try_link "$LINENO"; then :
8191 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8192 else
8193 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8195 rm -f core conftest.err conftest.$ac_objext \
8196 conftest$ac_exeext conftest.$ac_ext
8197 CFLAGS=$ac_wine_try_cflags_saved
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8200 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8201 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8202 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8206 echo '{ global: *; };' >conftest.map
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8208 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8209 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8210 $as_echo_n "(cached) " >&6
8211 else
8212 ac_wine_try_cflags_saved=$CFLAGS
8213 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8215 /* end confdefs.h. */
8216 int main(int argc, char **argv) { return 0; }
8217 _ACEOF
8218 if ac_fn_c_try_link "$LINENO"; then :
8219 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8220 else
8221 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8223 rm -f core conftest.err conftest.$ac_objext \
8224 conftest$ac_exeext conftest.$ac_ext
8225 CFLAGS=$ac_wine_try_cflags_saved
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8228 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8229 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8230 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8232 rm -f conftest.map
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8235 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8236 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8237 $as_echo_n "(cached) " >&6
8238 else
8239 ac_wine_try_cflags_saved=$CFLAGS
8240 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8242 /* end confdefs.h. */
8243 int main(int argc, char **argv) { return 0; }
8244 _ACEOF
8245 if ac_fn_c_try_link "$LINENO"; then :
8246 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8247 else
8248 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8250 rm -f core conftest.err conftest.$ac_objext \
8251 conftest$ac_exeext conftest.$ac_ext
8252 CFLAGS=$ac_wine_try_cflags_saved
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8255 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8256 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8257 LDEXECFLAGS="-Wl,--export-dynamic"
8260 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8262 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8263 if eval \${$as_ac_var+:} false; then :
8264 $as_echo_n "(cached) " >&6
8265 else
8266 ac_wine_try_cflags_saved=$CFLAGS
8267 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8269 /* end confdefs.h. */
8270 int main(int argc, char **argv) { return 0; }
8271 _ACEOF
8272 if ac_fn_c_try_link "$LINENO"; then :
8273 eval "$as_ac_var=yes"
8274 else
8275 eval "$as_ac_var=no"
8277 rm -f core conftest.err conftest.$ac_objext \
8278 conftest$ac_exeext conftest.$ac_ext
8279 CFLAGS=$ac_wine_try_cflags_saved
8281 eval ac_res=\$$as_ac_var
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8283 $as_echo "$ac_res" >&6; }
8284 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8285 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8286 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8287 else
8288 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8290 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8291 if eval \${$as_ac_var+:} false; then :
8292 $as_echo_n "(cached) " >&6
8293 else
8294 ac_wine_try_cflags_saved=$CFLAGS
8295 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8297 /* end confdefs.h. */
8298 int main(int argc, char **argv) { return 0; }
8299 _ACEOF
8300 if ac_fn_c_try_link "$LINENO"; then :
8301 eval "$as_ac_var=yes"
8302 else
8303 eval "$as_ac_var=no"
8305 rm -f core conftest.err conftest.$ac_objext \
8306 conftest$ac_exeext conftest.$ac_ext
8307 CFLAGS=$ac_wine_try_cflags_saved
8309 eval ac_res=\$$as_ac_var
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8311 $as_echo "$ac_res" >&6; }
8312 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8313 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8314 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8319 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8320 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8321 $as_echo_n "(cached) " >&6
8322 else
8323 ac_wine_try_cflags_saved=$CFLAGS
8324 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8326 /* end confdefs.h. */
8327 int main(int argc, char **argv) { return 0; }
8328 _ACEOF
8329 if ac_fn_c_try_link "$LINENO"; then :
8330 ac_cv_cflags__Wl___enable_new_dtags=yes
8331 else
8332 ac_cv_cflags__Wl___enable_new_dtags=no
8334 rm -f core conftest.err conftest.$ac_objext \
8335 conftest$ac_exeext conftest.$ac_ext
8336 CFLAGS=$ac_wine_try_cflags_saved
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8339 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8340 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8341 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8344 case $host_cpu in
8345 *i[3456789]86* | x86_64)
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8347 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8348 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8349 $as_echo_n "(cached) " >&6
8350 else
8351 ac_wine_try_cflags_saved=$CFLAGS
8352 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8354 /* end confdefs.h. */
8355 int main(int argc, char **argv) { return 0; }
8356 _ACEOF
8357 if ac_fn_c_try_link "$LINENO"; then :
8358 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8359 else
8360 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8362 rm -f core conftest.err conftest.$ac_objext \
8363 conftest$ac_exeext conftest.$ac_ext
8364 CFLAGS=$ac_wine_try_cflags_saved
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8367 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8368 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8369 case $host_os in
8370 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8371 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8372 esac
8375 # Extract the first word of "prelink", so it can be a program name with args.
8376 set dummy prelink; ac_word=$2
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8378 $as_echo_n "checking for $ac_word... " >&6; }
8379 if ${ac_cv_path_PRELINK+:} false; then :
8380 $as_echo_n "(cached) " >&6
8381 else
8382 case $PRELINK in
8383 [\\/]* | ?:[\\/]*)
8384 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8388 for as_dir in /sbin /usr/sbin $PATH
8390 IFS=$as_save_IFS
8391 test -z "$as_dir" && as_dir=.
8392 for ac_exec_ext in '' $ac_executable_extensions; do
8393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8394 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8396 break 2
8398 done
8399 done
8400 IFS=$as_save_IFS
8402 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8404 esac
8406 PRELINK=$ac_cv_path_PRELINK
8407 if test -n "$PRELINK"; then
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8409 $as_echo "$PRELINK" >&6; }
8410 else
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8412 $as_echo "no" >&6; }
8416 if test "x$PRELINK" = xfalse
8417 then
8418 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8421 esac
8423 else
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8425 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8426 if ${ac_cv_c_dll_unixware+:} false; then :
8427 $as_echo_n "(cached) " >&6
8428 else
8429 ac_wine_try_cflags_saved=$CFLAGS
8430 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8432 /* end confdefs.h. */
8433 void myfunc() {}
8434 _ACEOF
8435 if ac_fn_c_try_link "$LINENO"; then :
8436 ac_cv_c_dll_unixware="yes"
8437 else
8438 ac_cv_c_dll_unixware="no"
8440 rm -f core conftest.err conftest.$ac_objext \
8441 conftest$ac_exeext conftest.$ac_ext
8442 CFLAGS=$ac_wine_try_cflags_saved
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8445 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8446 if test "$ac_cv_c_dll_unixware" = "yes"
8447 then
8448 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8451 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8452 LIBWINE_RULES="
8453 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8455 all: libwine.so
8457 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8458 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8460 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8461 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8463 libwine.so: libwine.so.$libwine_soversion
8464 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8466 install install-lib:: libwine.so.$libwine_version
8467 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8468 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8470 install install-dev::
8471 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8473 uninstall::
8474 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8478 as_fn_append LOADER_RULES "
8479 $wine_binary: main.o
8480 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8482 wine-installed: main.o
8483 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8486 esac
8488 as_fn_append LIBWINE_RULES "
8489 EXTRA_TARGETS = $libwine_targets
8492 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8493 enable_winemac_drv=${enable_winemac_drv:-no}
8495 CROSSTARGET=""
8497 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8498 then
8499 case "$host_cpu" in
8500 i[3456789]86*)
8501 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
8502 mingw32-gcc" ;;
8503 x86_64)
8504 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 " ;;
8506 ac_prefix_list="" ;;
8507 esac
8508 for ac_prog in $ac_prefix_list
8510 # Extract the first word of "$ac_prog", so it can be a program name with args.
8511 set dummy $ac_prog; ac_word=$2
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8513 $as_echo_n "checking for $ac_word... " >&6; }
8514 if ${ac_cv_prog_CROSSCC+:} false; then :
8515 $as_echo_n "(cached) " >&6
8516 else
8517 if test -n "$CROSSCC"; then
8518 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8519 else
8520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8521 for as_dir in $PATH
8523 IFS=$as_save_IFS
8524 test -z "$as_dir" && as_dir=.
8525 for ac_exec_ext in '' $ac_executable_extensions; do
8526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8527 ac_cv_prog_CROSSCC="$ac_prog"
8528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8529 break 2
8531 done
8532 done
8533 IFS=$as_save_IFS
8537 CROSSCC=$ac_cv_prog_CROSSCC
8538 if test -n "$CROSSCC"; then
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8540 $as_echo "$CROSSCC" >&6; }
8541 else
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8543 $as_echo "no" >&6; }
8547 test -n "$CROSSCC" && break
8548 done
8549 test -n "$CROSSCC" || CROSSCC="false"
8551 if test "$CROSSCC" != "false"
8552 then
8553 ac_save_CC="$CC"
8554 CC="$CROSSCC"
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8556 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8558 /* end confdefs.h. */
8561 main ()
8565 return 0;
8567 _ACEOF
8568 if ac_fn_c_try_compile "$LINENO"; then :
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8570 $as_echo "yes" >&6; }
8571 set x $CROSSCC
8572 shift
8573 while test $# -ge 1
8575 case "$1" in
8576 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8577 esac
8578 shift
8579 done
8580 else
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8582 $as_echo "no" >&6; }
8584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8585 CC="$ac_save_CC"
8590 if test "$ac_cv_header_pthread_h" = "yes"
8591 then
8592 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8593 if test "x$ac_cv_func_pthread_create" = xyes; then :
8595 else
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8597 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8598 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8599 $as_echo_n "(cached) " >&6
8600 else
8601 ac_check_lib_save_LIBS=$LIBS
8602 LIBS="-lpthread $LIBS"
8603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8604 /* end confdefs.h. */
8606 /* Override any GCC internal prototype to avoid an error.
8607 Use char because int might match the return type of a GCC
8608 builtin and then its argument prototype would still apply. */
8609 #ifdef __cplusplus
8610 extern "C"
8611 #endif
8612 char pthread_create ();
8614 main ()
8616 return pthread_create ();
8618 return 0;
8620 _ACEOF
8621 if ac_fn_c_try_link "$LINENO"; then :
8622 ac_cv_lib_pthread_pthread_create=yes
8623 else
8624 ac_cv_lib_pthread_pthread_create=no
8626 rm -f core conftest.err conftest.$ac_objext \
8627 conftest$ac_exeext conftest.$ac_ext
8628 LIBS=$ac_check_lib_save_LIBS
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8631 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8632 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8633 PTHREAD_LIBS="-lpthread"
8640 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8641 case "x$with_pthread" in
8642 xno) ;;
8643 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8644 Wine cannot support threads without libpthread.
8645 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8646 esac
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8651 $as_echo_n "checking for X... " >&6; }
8654 # Check whether --with-x was given.
8655 if test "${with_x+set}" = set; then :
8656 withval=$with_x;
8659 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8660 if test "x$with_x" = xno; then
8661 # The user explicitly disabled X.
8662 have_x=disabled
8663 else
8664 case $x_includes,$x_libraries in #(
8665 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8666 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8667 $as_echo_n "(cached) " >&6
8668 else
8669 # One or both of the vars are not set, and there is no cached value.
8670 ac_x_includes=no ac_x_libraries=no
8671 rm -f -r conftest.dir
8672 if mkdir conftest.dir; then
8673 cd conftest.dir
8674 cat >Imakefile <<'_ACEOF'
8675 incroot:
8676 @echo incroot='${INCROOT}'
8677 usrlibdir:
8678 @echo usrlibdir='${USRLIBDIR}'
8679 libdir:
8680 @echo libdir='${LIBDIR}'
8681 _ACEOF
8682 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8683 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8684 for ac_var in incroot usrlibdir libdir; do
8685 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8686 done
8687 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8688 for ac_extension in a so sl dylib la dll; do
8689 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8690 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8691 ac_im_usrlibdir=$ac_im_libdir; break
8693 done
8694 # Screen out bogus values from the imake configuration. They are
8695 # bogus both because they are the default anyway, and because
8696 # using them would break gcc on systems where it needs fixed includes.
8697 case $ac_im_incroot in
8698 /usr/include) ac_x_includes= ;;
8699 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8700 esac
8701 case $ac_im_usrlibdir in
8702 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8703 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8704 esac
8706 cd ..
8707 rm -f -r conftest.dir
8710 # Standard set of common directories for X headers.
8711 # Check X11 before X11Rn because it is often a symlink to the current release.
8712 ac_x_header_dirs='
8713 /usr/X11/include
8714 /usr/X11R7/include
8715 /usr/X11R6/include
8716 /usr/X11R5/include
8717 /usr/X11R4/include
8719 /usr/include/X11
8720 /usr/include/X11R7
8721 /usr/include/X11R6
8722 /usr/include/X11R5
8723 /usr/include/X11R4
8725 /usr/local/X11/include
8726 /usr/local/X11R7/include
8727 /usr/local/X11R6/include
8728 /usr/local/X11R5/include
8729 /usr/local/X11R4/include
8731 /usr/local/include/X11
8732 /usr/local/include/X11R7
8733 /usr/local/include/X11R6
8734 /usr/local/include/X11R5
8735 /usr/local/include/X11R4
8737 /usr/X386/include
8738 /usr/x386/include
8739 /usr/XFree86/include/X11
8741 /usr/include
8742 /usr/local/include
8743 /usr/unsupported/include
8744 /usr/athena/include
8745 /usr/local/x11r5/include
8746 /usr/lpp/Xamples/include
8748 /usr/openwin/include
8749 /usr/openwin/share/include'
8751 if test "$ac_x_includes" = no; then
8752 # Guess where to find include files, by looking for Xlib.h.
8753 # First, try using that file with no special directory specified.
8754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8755 /* end confdefs.h. */
8756 #include <X11/Xlib.h>
8757 _ACEOF
8758 if ac_fn_c_try_cpp "$LINENO"; then :
8759 # We can compile using X headers with no special include directory.
8760 ac_x_includes=
8761 else
8762 for ac_dir in $ac_x_header_dirs; do
8763 if test -r "$ac_dir/X11/Xlib.h"; then
8764 ac_x_includes=$ac_dir
8765 break
8767 done
8769 rm -f conftest.err conftest.i conftest.$ac_ext
8770 fi # $ac_x_includes = no
8772 if test "$ac_x_libraries" = no; then
8773 # Check for the libraries.
8774 # See if we find them without any special options.
8775 # Don't add to $LIBS permanently.
8776 ac_save_LIBS=$LIBS
8777 LIBS="-lX11 $LIBS"
8778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8779 /* end confdefs.h. */
8780 #include <X11/Xlib.h>
8782 main ()
8784 XrmInitialize ()
8786 return 0;
8788 _ACEOF
8789 if ac_fn_c_try_link "$LINENO"; then :
8790 LIBS=$ac_save_LIBS
8791 # We can link X programs with no special library path.
8792 ac_x_libraries=
8793 else
8794 LIBS=$ac_save_LIBS
8795 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8797 # Don't even attempt the hair of trying to link an X program!
8798 for ac_extension in a so sl dylib la dll; do
8799 if test -r "$ac_dir/libX11.$ac_extension"; then
8800 ac_x_libraries=$ac_dir
8801 break 2
8803 done
8804 done
8806 rm -f core conftest.err conftest.$ac_objext \
8807 conftest$ac_exeext conftest.$ac_ext
8808 fi # $ac_x_libraries = no
8810 case $ac_x_includes,$ac_x_libraries in #(
8811 no,* | *,no | *\'*)
8812 # Didn't find X, or a directory has "'" in its name.
8813 ac_cv_have_x="have_x=no";; #(
8815 # Record where we found X for the cache.
8816 ac_cv_have_x="have_x=yes\
8817 ac_x_includes='$ac_x_includes'\
8818 ac_x_libraries='$ac_x_libraries'"
8819 esac
8821 ;; #(
8822 *) have_x=yes;;
8823 esac
8824 eval "$ac_cv_have_x"
8825 fi # $with_x != no
8827 if test "$have_x" != yes; then
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8829 $as_echo "$have_x" >&6; }
8830 no_x=yes
8831 else
8832 # If each of the values was on the command line, it overrides each guess.
8833 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8834 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8835 # Update the cache value to reflect the command line values.
8836 ac_cv_have_x="have_x=yes\
8837 ac_x_includes='$x_includes'\
8838 ac_x_libraries='$x_libraries'"
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8840 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8843 if test "$no_x" = yes; then
8844 # Not all programs may use this symbol, but it does not hurt to define it.
8846 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8848 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8849 else
8850 if test -n "$x_includes"; then
8851 X_CFLAGS="$X_CFLAGS -I$x_includes"
8854 # It would also be nice to do this for all -L options, not just this one.
8855 if test -n "$x_libraries"; then
8856 X_LIBS="$X_LIBS -L$x_libraries"
8857 # For Solaris; some versions of Sun CC require a space after -R and
8858 # others require no space. Words are not sufficient . . . .
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8860 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8861 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8862 ac_xsave_c_werror_flag=$ac_c_werror_flag
8863 ac_c_werror_flag=yes
8864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8865 /* end confdefs.h. */
8868 main ()
8872 return 0;
8874 _ACEOF
8875 if ac_fn_c_try_link "$LINENO"; then :
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8877 $as_echo "no" >&6; }
8878 X_LIBS="$X_LIBS -R$x_libraries"
8879 else
8880 LIBS="$ac_xsave_LIBS -R $x_libraries"
8881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8882 /* end confdefs.h. */
8885 main ()
8889 return 0;
8891 _ACEOF
8892 if ac_fn_c_try_link "$LINENO"; then :
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8894 $as_echo "yes" >&6; }
8895 X_LIBS="$X_LIBS -R $x_libraries"
8896 else
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8898 $as_echo "neither works" >&6; }
8900 rm -f core conftest.err conftest.$ac_objext \
8901 conftest$ac_exeext conftest.$ac_ext
8903 rm -f core conftest.err conftest.$ac_objext \
8904 conftest$ac_exeext conftest.$ac_ext
8905 ac_c_werror_flag=$ac_xsave_c_werror_flag
8906 LIBS=$ac_xsave_LIBS
8909 # Check for system-dependent libraries X programs must link with.
8910 # Do this before checking for the system-independent R6 libraries
8911 # (-lICE), since we may need -lsocket or whatever for X linking.
8913 if test "$ISC" = yes; then
8914 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8915 else
8916 # Martyn Johnson says this is needed for Ultrix, if the X
8917 # libraries were built with DECnet support. And Karl Berry says
8918 # the Alpha needs dnet_stub (dnet does not exist).
8919 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8921 /* end confdefs.h. */
8923 /* Override any GCC internal prototype to avoid an error.
8924 Use char because int might match the return type of a GCC
8925 builtin and then its argument prototype would still apply. */
8926 #ifdef __cplusplus
8927 extern "C"
8928 #endif
8929 char XOpenDisplay ();
8931 main ()
8933 return XOpenDisplay ();
8935 return 0;
8937 _ACEOF
8938 if ac_fn_c_try_link "$LINENO"; then :
8940 else
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8942 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8943 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8944 $as_echo_n "(cached) " >&6
8945 else
8946 ac_check_lib_save_LIBS=$LIBS
8947 LIBS="-ldnet $LIBS"
8948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8949 /* end confdefs.h. */
8951 /* Override any GCC internal prototype to avoid an error.
8952 Use char because int might match the return type of a GCC
8953 builtin and then its argument prototype would still apply. */
8954 #ifdef __cplusplus
8955 extern "C"
8956 #endif
8957 char dnet_ntoa ();
8959 main ()
8961 return dnet_ntoa ();
8963 return 0;
8965 _ACEOF
8966 if ac_fn_c_try_link "$LINENO"; then :
8967 ac_cv_lib_dnet_dnet_ntoa=yes
8968 else
8969 ac_cv_lib_dnet_dnet_ntoa=no
8971 rm -f core conftest.err conftest.$ac_objext \
8972 conftest$ac_exeext conftest.$ac_ext
8973 LIBS=$ac_check_lib_save_LIBS
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8976 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8977 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8978 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8981 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8983 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8984 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8985 $as_echo_n "(cached) " >&6
8986 else
8987 ac_check_lib_save_LIBS=$LIBS
8988 LIBS="-ldnet_stub $LIBS"
8989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8990 /* end confdefs.h. */
8992 /* Override any GCC internal prototype to avoid an error.
8993 Use char because int might match the return type of a GCC
8994 builtin and then its argument prototype would still apply. */
8995 #ifdef __cplusplus
8996 extern "C"
8997 #endif
8998 char dnet_ntoa ();
9000 main ()
9002 return dnet_ntoa ();
9004 return 0;
9006 _ACEOF
9007 if ac_fn_c_try_link "$LINENO"; then :
9008 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9009 else
9010 ac_cv_lib_dnet_stub_dnet_ntoa=no
9012 rm -f core conftest.err conftest.$ac_objext \
9013 conftest$ac_exeext conftest.$ac_ext
9014 LIBS=$ac_check_lib_save_LIBS
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9017 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9018 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9019 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9024 rm -f core conftest.err conftest.$ac_objext \
9025 conftest$ac_exeext conftest.$ac_ext
9026 LIBS="$ac_xsave_LIBS"
9028 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9029 # to get the SysV transport functions.
9030 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9031 # needs -lnsl.
9032 # The nsl library prevents programs from opening the X display
9033 # on Irix 5.2, according to T.E. Dickey.
9034 # The functions gethostbyname, getservbyname, and inet_addr are
9035 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9036 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9037 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9041 if test $ac_cv_func_gethostbyname = no; then
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9043 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9044 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9045 $as_echo_n "(cached) " >&6
9046 else
9047 ac_check_lib_save_LIBS=$LIBS
9048 LIBS="-lnsl $LIBS"
9049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9050 /* end confdefs.h. */
9052 /* Override any GCC internal prototype to avoid an error.
9053 Use char because int might match the return type of a GCC
9054 builtin and then its argument prototype would still apply. */
9055 #ifdef __cplusplus
9056 extern "C"
9057 #endif
9058 char gethostbyname ();
9060 main ()
9062 return gethostbyname ();
9064 return 0;
9066 _ACEOF
9067 if ac_fn_c_try_link "$LINENO"; then :
9068 ac_cv_lib_nsl_gethostbyname=yes
9069 else
9070 ac_cv_lib_nsl_gethostbyname=no
9072 rm -f core conftest.err conftest.$ac_objext \
9073 conftest$ac_exeext conftest.$ac_ext
9074 LIBS=$ac_check_lib_save_LIBS
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9077 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9078 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9079 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9082 if test $ac_cv_lib_nsl_gethostbyname = no; then
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9084 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9085 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9086 $as_echo_n "(cached) " >&6
9087 else
9088 ac_check_lib_save_LIBS=$LIBS
9089 LIBS="-lbsd $LIBS"
9090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9091 /* end confdefs.h. */
9093 /* Override any GCC internal prototype to avoid an error.
9094 Use char because int might match the return type of a GCC
9095 builtin and then its argument prototype would still apply. */
9096 #ifdef __cplusplus
9097 extern "C"
9098 #endif
9099 char gethostbyname ();
9101 main ()
9103 return gethostbyname ();
9105 return 0;
9107 _ACEOF
9108 if ac_fn_c_try_link "$LINENO"; then :
9109 ac_cv_lib_bsd_gethostbyname=yes
9110 else
9111 ac_cv_lib_bsd_gethostbyname=no
9113 rm -f core conftest.err conftest.$ac_objext \
9114 conftest$ac_exeext conftest.$ac_ext
9115 LIBS=$ac_check_lib_save_LIBS
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9118 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9119 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9120 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9126 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9127 # socket/setsockopt and other routines are undefined under SCO ODT
9128 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9129 # on later versions), says Simon Leinen: it contains gethostby*
9130 # variants that don't use the name server (or something). -lsocket
9131 # must be given before -lnsl if both are needed. We assume that
9132 # if connect needs -lnsl, so does gethostbyname.
9133 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9134 if test "x$ac_cv_func_connect" = xyes; then :
9138 if test $ac_cv_func_connect = no; then
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9140 $as_echo_n "checking for connect in -lsocket... " >&6; }
9141 if ${ac_cv_lib_socket_connect+:} false; then :
9142 $as_echo_n "(cached) " >&6
9143 else
9144 ac_check_lib_save_LIBS=$LIBS
9145 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9147 /* end confdefs.h. */
9149 /* Override any GCC internal prototype to avoid an error.
9150 Use char because int might match the return type of a GCC
9151 builtin and then its argument prototype would still apply. */
9152 #ifdef __cplusplus
9153 extern "C"
9154 #endif
9155 char connect ();
9157 main ()
9159 return connect ();
9161 return 0;
9163 _ACEOF
9164 if ac_fn_c_try_link "$LINENO"; then :
9165 ac_cv_lib_socket_connect=yes
9166 else
9167 ac_cv_lib_socket_connect=no
9169 rm -f core conftest.err conftest.$ac_objext \
9170 conftest$ac_exeext conftest.$ac_ext
9171 LIBS=$ac_check_lib_save_LIBS
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9174 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9175 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9176 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9181 # Guillermo Gomez says -lposix is necessary on A/UX.
9182 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9183 if test "x$ac_cv_func_remove" = xyes; then :
9187 if test $ac_cv_func_remove = no; then
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9189 $as_echo_n "checking for remove in -lposix... " >&6; }
9190 if ${ac_cv_lib_posix_remove+:} false; then :
9191 $as_echo_n "(cached) " >&6
9192 else
9193 ac_check_lib_save_LIBS=$LIBS
9194 LIBS="-lposix $LIBS"
9195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9196 /* end confdefs.h. */
9198 /* Override any GCC internal prototype to avoid an error.
9199 Use char because int might match the return type of a GCC
9200 builtin and then its argument prototype would still apply. */
9201 #ifdef __cplusplus
9202 extern "C"
9203 #endif
9204 char remove ();
9206 main ()
9208 return remove ();
9210 return 0;
9212 _ACEOF
9213 if ac_fn_c_try_link "$LINENO"; then :
9214 ac_cv_lib_posix_remove=yes
9215 else
9216 ac_cv_lib_posix_remove=no
9218 rm -f core conftest.err conftest.$ac_objext \
9219 conftest$ac_exeext conftest.$ac_ext
9220 LIBS=$ac_check_lib_save_LIBS
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9223 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9224 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9225 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9230 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9231 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9232 if test "x$ac_cv_func_shmat" = xyes; then :
9236 if test $ac_cv_func_shmat = no; then
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9238 $as_echo_n "checking for shmat in -lipc... " >&6; }
9239 if ${ac_cv_lib_ipc_shmat+:} false; then :
9240 $as_echo_n "(cached) " >&6
9241 else
9242 ac_check_lib_save_LIBS=$LIBS
9243 LIBS="-lipc $LIBS"
9244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9245 /* end confdefs.h. */
9247 /* Override any GCC internal prototype to avoid an error.
9248 Use char because int might match the return type of a GCC
9249 builtin and then its argument prototype would still apply. */
9250 #ifdef __cplusplus
9251 extern "C"
9252 #endif
9253 char shmat ();
9255 main ()
9257 return shmat ();
9259 return 0;
9261 _ACEOF
9262 if ac_fn_c_try_link "$LINENO"; then :
9263 ac_cv_lib_ipc_shmat=yes
9264 else
9265 ac_cv_lib_ipc_shmat=no
9267 rm -f core conftest.err conftest.$ac_objext \
9268 conftest$ac_exeext conftest.$ac_ext
9269 LIBS=$ac_check_lib_save_LIBS
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9272 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9273 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9274 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9280 # Check for libraries that X11R6 Xt/Xaw programs need.
9281 ac_save_LDFLAGS=$LDFLAGS
9282 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9283 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9284 # check for ICE first), but we must link in the order -lSM -lICE or
9285 # we get undefined symbols. So assume we have SM if we have ICE.
9286 # These have to be linked with before -lX11, unlike the other
9287 # libraries we check for below, so use a different variable.
9288 # John Interrante, Karl Berry
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9290 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9291 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9292 $as_echo_n "(cached) " >&6
9293 else
9294 ac_check_lib_save_LIBS=$LIBS
9295 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9297 /* end confdefs.h. */
9299 /* Override any GCC internal prototype to avoid an error.
9300 Use char because int might match the return type of a GCC
9301 builtin and then its argument prototype would still apply. */
9302 #ifdef __cplusplus
9303 extern "C"
9304 #endif
9305 char IceConnectionNumber ();
9307 main ()
9309 return IceConnectionNumber ();
9311 return 0;
9313 _ACEOF
9314 if ac_fn_c_try_link "$LINENO"; then :
9315 ac_cv_lib_ICE_IceConnectionNumber=yes
9316 else
9317 ac_cv_lib_ICE_IceConnectionNumber=no
9319 rm -f core conftest.err conftest.$ac_objext \
9320 conftest$ac_exeext conftest.$ac_ext
9321 LIBS=$ac_check_lib_save_LIBS
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9324 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9325 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9326 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9329 LDFLAGS=$ac_save_LDFLAGS
9334 if test "$have_x" = "yes"
9335 then
9336 ac_save_CPPFLAGS="$CPPFLAGS"
9337 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9340 $as_echo_n "checking for -lX11... " >&6; }
9341 if ${ac_cv_lib_soname_X11+:} false; then :
9342 $as_echo_n "(cached) " >&6
9343 else
9344 ac_check_soname_save_LIBS=$LIBS
9345 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9347 /* end confdefs.h. */
9349 /* Override any GCC internal prototype to avoid an error.
9350 Use char because int might match the return type of a GCC
9351 builtin and then its argument prototype would still apply. */
9352 #ifdef __cplusplus
9353 extern "C"
9354 #endif
9355 char XCreateWindow ();
9357 main ()
9359 return XCreateWindow ();
9361 return 0;
9363 _ACEOF
9364 if ac_fn_c_try_link "$LINENO"; then :
9365 case "$LIBEXT" in
9366 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9367 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'` ;;
9368 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9369 if ${ac_cv_lib_soname_X11:+false} :; then :
9370 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9371 fi ;;
9372 esac
9374 rm -f core conftest.err conftest.$ac_objext \
9375 conftest$ac_exeext conftest.$ac_ext
9376 LIBS=$ac_check_soname_save_LIBS
9378 if ${ac_cv_lib_soname_X11:+false} :; then :
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9380 $as_echo "not found" >&6; }
9382 else
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9384 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9386 cat >>confdefs.h <<_ACEOF
9387 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9388 _ACEOF
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9393 $as_echo_n "checking for -lXext... " >&6; }
9394 if ${ac_cv_lib_soname_Xext+:} false; then :
9395 $as_echo_n "(cached) " >&6
9396 else
9397 ac_check_soname_save_LIBS=$LIBS
9398 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9400 /* end confdefs.h. */
9402 /* Override any GCC internal prototype to avoid an error.
9403 Use char because int might match the return type of a GCC
9404 builtin and then its argument prototype would still apply. */
9405 #ifdef __cplusplus
9406 extern "C"
9407 #endif
9408 char XextCreateExtension ();
9410 main ()
9412 return XextCreateExtension ();
9414 return 0;
9416 _ACEOF
9417 if ac_fn_c_try_link "$LINENO"; then :
9418 case "$LIBEXT" in
9419 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9420 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'` ;;
9421 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9422 if ${ac_cv_lib_soname_Xext:+false} :; then :
9423 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9424 fi ;;
9425 esac
9427 rm -f core conftest.err conftest.$ac_objext \
9428 conftest$ac_exeext conftest.$ac_ext
9429 LIBS=$ac_check_soname_save_LIBS
9431 if ${ac_cv_lib_soname_Xext:+false} :; then :
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9433 $as_echo "not found" >&6; }
9435 else
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9437 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9439 cat >>confdefs.h <<_ACEOF
9440 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9441 _ACEOF
9443 X_LIBS="$X_LIBS -lXext"
9445 X_LIBS="$X_LIBS -lX11"
9447 for ac_header in X11/Xlib.h \
9448 X11/XKBlib.h \
9449 X11/Xutil.h \
9450 X11/Xcursor/Xcursor.h \
9451 X11/extensions/shape.h \
9452 X11/extensions/XInput.h \
9453 X11/extensions/XInput2.h \
9454 X11/extensions/XShm.h \
9455 X11/extensions/Xcomposite.h \
9456 X11/extensions/Xinerama.h \
9457 X11/extensions/Xrandr.h \
9458 X11/extensions/Xrender.h \
9459 X11/extensions/xf86vmode.h \
9460 X11/extensions/xf86vmproto.h
9461 do :
9462 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9463 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9464 # include <X11/Xlib.h>
9465 #endif
9466 #ifdef HAVE_X11_XUTIL_H
9467 # include <X11/Xutil.h>
9468 #endif
9470 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9471 cat >>confdefs.h <<_ACEOF
9472 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9473 _ACEOF
9477 done
9480 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9481 then
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9483 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9484 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9485 $as_echo_n "(cached) " >&6
9486 else
9487 ac_check_lib_save_LIBS=$LIBS
9488 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9490 /* end confdefs.h. */
9492 /* Override any GCC internal prototype to avoid an error.
9493 Use char because int might match the return type of a GCC
9494 builtin and then its argument prototype would still apply. */
9495 #ifdef __cplusplus
9496 extern "C"
9497 #endif
9498 char XkbQueryExtension ();
9500 main ()
9502 return XkbQueryExtension ();
9504 return 0;
9506 _ACEOF
9507 if ac_fn_c_try_link "$LINENO"; then :
9508 ac_cv_lib_X11_XkbQueryExtension=yes
9509 else
9510 ac_cv_lib_X11_XkbQueryExtension=no
9512 rm -f core conftest.err conftest.$ac_objext \
9513 conftest$ac_exeext conftest.$ac_ext
9514 LIBS=$ac_check_lib_save_LIBS
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9517 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9518 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9520 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9526 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9527 then
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9529 $as_echo_n "checking for -lXcursor... " >&6; }
9530 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9531 $as_echo_n "(cached) " >&6
9532 else
9533 ac_check_soname_save_LIBS=$LIBS
9534 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9536 /* end confdefs.h. */
9538 /* Override any GCC internal prototype to avoid an error.
9539 Use char because int might match the return type of a GCC
9540 builtin and then its argument prototype would still apply. */
9541 #ifdef __cplusplus
9542 extern "C"
9543 #endif
9544 char XcursorImageLoadCursor ();
9546 main ()
9548 return XcursorImageLoadCursor ();
9550 return 0;
9552 _ACEOF
9553 if ac_fn_c_try_link "$LINENO"; then :
9554 case "$LIBEXT" in
9555 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9556 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'` ;;
9557 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9558 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9559 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9560 fi ;;
9561 esac
9563 rm -f core conftest.err conftest.$ac_objext \
9564 conftest$ac_exeext conftest.$ac_ext
9565 LIBS=$ac_check_soname_save_LIBS
9567 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9569 $as_echo "not found" >&6; }
9571 else
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9573 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9575 cat >>confdefs.h <<_ACEOF
9576 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9577 _ACEOF
9582 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9583 case "x$with_xcursor" in
9584 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9585 xno) ;;
9586 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9587 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9588 esac
9591 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9592 then
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9594 $as_echo_n "checking for -lXi... " >&6; }
9595 if ${ac_cv_lib_soname_Xi+:} false; then :
9596 $as_echo_n "(cached) " >&6
9597 else
9598 ac_check_soname_save_LIBS=$LIBS
9599 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9601 /* end confdefs.h. */
9603 /* Override any GCC internal prototype to avoid an error.
9604 Use char because int might match the return type of a GCC
9605 builtin and then its argument prototype would still apply. */
9606 #ifdef __cplusplus
9607 extern "C"
9608 #endif
9609 char XOpenDevice ();
9611 main ()
9613 return XOpenDevice ();
9615 return 0;
9617 _ACEOF
9618 if ac_fn_c_try_link "$LINENO"; then :
9619 case "$LIBEXT" in
9620 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9621 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'` ;;
9622 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9623 if ${ac_cv_lib_soname_Xi:+false} :; then :
9624 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9625 fi ;;
9626 esac
9628 rm -f core conftest.err conftest.$ac_objext \
9629 conftest$ac_exeext conftest.$ac_ext
9630 LIBS=$ac_check_soname_save_LIBS
9632 if ${ac_cv_lib_soname_Xi:+false} :; then :
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9634 $as_echo "not found" >&6; }
9636 else
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9638 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9640 cat >>confdefs.h <<_ACEOF
9641 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9642 _ACEOF
9647 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9648 case "x$with_xinput" in
9649 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9650 xno) ;;
9651 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9652 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9653 esac
9656 if test "x$ac_cv_lib_soname_Xi" != x
9657 then
9658 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9659 case "x$with_xinput2" in
9660 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9661 xno) ;;
9662 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9663 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9664 esac
9668 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9669 then
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9671 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9672 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9673 $as_echo_n "(cached) " >&6
9674 else
9675 ac_check_lib_save_LIBS=$LIBS
9676 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9678 /* end confdefs.h. */
9680 /* Override any GCC internal prototype to avoid an error.
9681 Use char because int might match the return type of a GCC
9682 builtin and then its argument prototype would still apply. */
9683 #ifdef __cplusplus
9684 extern "C"
9685 #endif
9686 char XShmQueryExtension ();
9688 main ()
9690 return XShmQueryExtension ();
9692 return 0;
9694 _ACEOF
9695 if ac_fn_c_try_link "$LINENO"; then :
9696 ac_cv_lib_Xext_XShmQueryExtension=yes
9697 else
9698 ac_cv_lib_Xext_XShmQueryExtension=no
9700 rm -f core conftest.err conftest.$ac_objext \
9701 conftest$ac_exeext conftest.$ac_ext
9702 LIBS=$ac_check_lib_save_LIBS
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9705 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9706 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9708 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9713 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9714 case "x$with_xshm" in
9715 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9716 xno) ;;
9717 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9718 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9719 esac
9722 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9723 then
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9725 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9726 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9727 $as_echo_n "(cached) " >&6
9728 else
9729 ac_check_lib_save_LIBS=$LIBS
9730 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9732 /* end confdefs.h. */
9734 /* Override any GCC internal prototype to avoid an error.
9735 Use char because int might match the return type of a GCC
9736 builtin and then its argument prototype would still apply. */
9737 #ifdef __cplusplus
9738 extern "C"
9739 #endif
9740 char XShapeQueryExtension ();
9742 main ()
9744 return XShapeQueryExtension ();
9746 return 0;
9748 _ACEOF
9749 if ac_fn_c_try_link "$LINENO"; then :
9750 ac_cv_lib_Xext_XShapeQueryExtension=yes
9751 else
9752 ac_cv_lib_Xext_XShapeQueryExtension=no
9754 rm -f core conftest.err conftest.$ac_objext \
9755 conftest$ac_exeext conftest.$ac_ext
9756 LIBS=$ac_check_lib_save_LIBS
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9759 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9760 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9762 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9767 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9768 case "x$with_xshape" in
9769 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9770 xno) ;;
9771 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9772 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9773 esac
9776 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9777 then
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9779 $as_echo_n "checking for -lXxf86vm... " >&6; }
9780 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9781 $as_echo_n "(cached) " >&6
9782 else
9783 ac_check_soname_save_LIBS=$LIBS
9784 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9786 /* end confdefs.h. */
9788 /* Override any GCC internal prototype to avoid an error.
9789 Use char because int might match the return type of a GCC
9790 builtin and then its argument prototype would still apply. */
9791 #ifdef __cplusplus
9792 extern "C"
9793 #endif
9794 char XF86VidModeQueryExtension ();
9796 main ()
9798 return XF86VidModeQueryExtension ();
9800 return 0;
9802 _ACEOF
9803 if ac_fn_c_try_link "$LINENO"; then :
9804 case "$LIBEXT" in
9805 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9806 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'` ;;
9807 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9808 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9809 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9810 fi ;;
9811 esac
9813 rm -f core conftest.err conftest.$ac_objext \
9814 conftest$ac_exeext conftest.$ac_ext
9815 LIBS=$ac_check_soname_save_LIBS
9817 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9819 $as_echo "not found" >&6; }
9821 else
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9823 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9825 cat >>confdefs.h <<_ACEOF
9826 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9827 _ACEOF
9832 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9833 case "x$with_xxf86vm" in
9834 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9835 xno) ;;
9836 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9837 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9838 esac
9841 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9842 then
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9844 $as_echo_n "checking for -lXrender... " >&6; }
9845 if ${ac_cv_lib_soname_Xrender+:} false; then :
9846 $as_echo_n "(cached) " >&6
9847 else
9848 ac_check_soname_save_LIBS=$LIBS
9849 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9851 /* end confdefs.h. */
9853 /* Override any GCC internal prototype to avoid an error.
9854 Use char because int might match the return type of a GCC
9855 builtin and then its argument prototype would still apply. */
9856 #ifdef __cplusplus
9857 extern "C"
9858 #endif
9859 char XRenderQueryExtension ();
9861 main ()
9863 return XRenderQueryExtension ();
9865 return 0;
9867 _ACEOF
9868 if ac_fn_c_try_link "$LINENO"; then :
9869 case "$LIBEXT" in
9870 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9871 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'` ;;
9872 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9873 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9874 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9875 fi ;;
9876 esac
9878 rm -f core conftest.err conftest.$ac_objext \
9879 conftest$ac_exeext conftest.$ac_ext
9880 LIBS=$ac_check_soname_save_LIBS
9882 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9884 $as_echo "not found" >&6; }
9886 else
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9888 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9890 cat >>confdefs.h <<_ACEOF
9891 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9892 _ACEOF
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9895 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9896 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9897 $as_echo_n "(cached) " >&6
9898 else
9899 ac_check_lib_save_LIBS=$LIBS
9900 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9902 /* end confdefs.h. */
9904 /* Override any GCC internal prototype to avoid an error.
9905 Use char because int might match the return type of a GCC
9906 builtin and then its argument prototype would still apply. */
9907 #ifdef __cplusplus
9908 extern "C"
9909 #endif
9910 char XRenderSetPictureTransform ();
9912 main ()
9914 return XRenderSetPictureTransform ();
9916 return 0;
9918 _ACEOF
9919 if ac_fn_c_try_link "$LINENO"; then :
9920 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9921 else
9922 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9924 rm -f core conftest.err conftest.$ac_objext \
9925 conftest$ac_exeext conftest.$ac_ext
9926 LIBS=$ac_check_lib_save_LIBS
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9929 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9930 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9932 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9937 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9938 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9939 $as_echo_n "(cached) " >&6
9940 else
9941 ac_check_lib_save_LIBS=$LIBS
9942 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9944 /* end confdefs.h. */
9946 /* Override any GCC internal prototype to avoid an error.
9947 Use char because int might match the return type of a GCC
9948 builtin and then its argument prototype would still apply. */
9949 #ifdef __cplusplus
9950 extern "C"
9951 #endif
9952 char XRenderCreateLinearGradient ();
9954 main ()
9956 return XRenderCreateLinearGradient ();
9958 return 0;
9960 _ACEOF
9961 if ac_fn_c_try_link "$LINENO"; then :
9962 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9963 else
9964 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9966 rm -f core conftest.err conftest.$ac_objext \
9967 conftest$ac_exeext conftest.$ac_ext
9968 LIBS=$ac_check_lib_save_LIBS
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9971 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9972 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9974 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9981 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9982 case "x$with_xrender" in
9983 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9984 xno) ;;
9985 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9986 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9987 esac
9990 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9991 then
9992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9993 /* end confdefs.h. */
9994 #include <X11/Xlib.h>
9995 #include <X11/extensions/Xrandr.h>
9997 main ()
9999 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10001 return 0;
10003 _ACEOF
10004 if ac_fn_c_try_compile "$LINENO"; then :
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10006 $as_echo_n "checking for -lXrandr... " >&6; }
10007 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10008 $as_echo_n "(cached) " >&6
10009 else
10010 ac_check_soname_save_LIBS=$LIBS
10011 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10013 /* end confdefs.h. */
10015 /* Override any GCC internal prototype to avoid an error.
10016 Use char because int might match the return type of a GCC
10017 builtin and then its argument prototype would still apply. */
10018 #ifdef __cplusplus
10019 extern "C"
10020 #endif
10021 char XRRQueryExtension ();
10023 main ()
10025 return XRRQueryExtension ();
10027 return 0;
10029 _ACEOF
10030 if ac_fn_c_try_link "$LINENO"; then :
10031 case "$LIBEXT" in
10032 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10033 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'` ;;
10034 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10035 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10036 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10037 fi ;;
10038 esac
10040 rm -f core conftest.err conftest.$ac_objext \
10041 conftest$ac_exeext conftest.$ac_ext
10042 LIBS=$ac_check_soname_save_LIBS
10044 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10046 $as_echo "not found" >&6; }
10048 else
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10050 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10052 cat >>confdefs.h <<_ACEOF
10053 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10054 _ACEOF
10056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10057 /* end confdefs.h. */
10058 #include <X11/Xlib.h>
10059 #include <X11/extensions/Xrandr.h>
10061 main ()
10063 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10065 return 0;
10067 _ACEOF
10068 if ac_fn_c_try_compile "$LINENO"; then :
10070 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10078 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10079 case "x$with_xrandr" in
10080 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10081 xno) ;;
10082 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10083 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10084 esac
10087 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10088 then
10089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10090 /* end confdefs.h. */
10091 #include <X11/Xlib.h>
10092 #include <X11/extensions/Xinerama.h>
10094 main ()
10096 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10098 return 0;
10100 _ACEOF
10101 if ac_fn_c_try_compile "$LINENO"; then :
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10103 $as_echo_n "checking for -lXinerama... " >&6; }
10104 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10105 $as_echo_n "(cached) " >&6
10106 else
10107 ac_check_soname_save_LIBS=$LIBS
10108 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10110 /* end confdefs.h. */
10112 /* Override any GCC internal prototype to avoid an error.
10113 Use char because int might match the return type of a GCC
10114 builtin and then its argument prototype would still apply. */
10115 #ifdef __cplusplus
10116 extern "C"
10117 #endif
10118 char XineramaQueryScreens ();
10120 main ()
10122 return XineramaQueryScreens ();
10124 return 0;
10126 _ACEOF
10127 if ac_fn_c_try_link "$LINENO"; then :
10128 case "$LIBEXT" in
10129 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10130 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'` ;;
10131 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10132 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10133 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10134 fi ;;
10135 esac
10137 rm -f core conftest.err conftest.$ac_objext \
10138 conftest$ac_exeext conftest.$ac_ext
10139 LIBS=$ac_check_soname_save_LIBS
10141 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10143 $as_echo "not found" >&6; }
10145 else
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10147 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10149 cat >>confdefs.h <<_ACEOF
10150 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10151 _ACEOF
10156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10158 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10159 case "x$with_xinerama" in
10160 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10161 xno) ;;
10162 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10163 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10164 esac
10167 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10168 then
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10170 $as_echo_n "checking for -lXcomposite... " >&6; }
10171 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10172 $as_echo_n "(cached) " >&6
10173 else
10174 ac_check_soname_save_LIBS=$LIBS
10175 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10177 /* end confdefs.h. */
10179 /* Override any GCC internal prototype to avoid an error.
10180 Use char because int might match the return type of a GCC
10181 builtin and then its argument prototype would still apply. */
10182 #ifdef __cplusplus
10183 extern "C"
10184 #endif
10185 char XCompositeRedirectWindow ();
10187 main ()
10189 return XCompositeRedirectWindow ();
10191 return 0;
10193 _ACEOF
10194 if ac_fn_c_try_link "$LINENO"; then :
10195 case "$LIBEXT" in
10196 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10197 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'` ;;
10198 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10199 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10200 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10201 fi ;;
10202 esac
10204 rm -f core conftest.err conftest.$ac_objext \
10205 conftest$ac_exeext conftest.$ac_ext
10206 LIBS=$ac_check_soname_save_LIBS
10208 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10210 $as_echo "not found" >&6; }
10212 else
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10214 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10216 cat >>confdefs.h <<_ACEOF
10217 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10218 _ACEOF
10223 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10224 case "x$with_xcomposite" in
10225 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10226 xno) ;;
10227 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10228 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10229 esac
10232 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10233 #include <X11/Xlib.h>
10234 #endif
10236 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10238 cat >>confdefs.h <<_ACEOF
10239 #define HAVE_XICCALLBACK_CALLBACK 1
10240 _ACEOF
10244 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10245 #include <X11/Xlib.h>
10246 #endif
10248 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10250 cat >>confdefs.h <<_ACEOF
10251 #define HAVE_XEVENT_XCOOKIE 1
10252 _ACEOF
10259 opengl_msg=""
10260 if test "x$with_opengl" != "xno"
10261 then
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10263 $as_echo_n "checking for -lGL... " >&6; }
10264 if ${ac_cv_lib_soname_GL+:} false; then :
10265 $as_echo_n "(cached) " >&6
10266 else
10267 ac_check_soname_save_LIBS=$LIBS
10268 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10270 /* end confdefs.h. */
10272 /* Override any GCC internal prototype to avoid an error.
10273 Use char because int might match the return type of a GCC
10274 builtin and then its argument prototype would still apply. */
10275 #ifdef __cplusplus
10276 extern "C"
10277 #endif
10278 char glXCreateContext ();
10280 main ()
10282 return glXCreateContext ();
10284 return 0;
10286 _ACEOF
10287 if ac_fn_c_try_link "$LINENO"; then :
10288 case "$LIBEXT" in
10289 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10290 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'` ;;
10291 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10292 if ${ac_cv_lib_soname_GL:+false} :; then :
10293 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10294 fi ;;
10295 esac
10297 rm -f core conftest.err conftest.$ac_objext \
10298 conftest$ac_exeext conftest.$ac_ext
10299 LIBS=$ac_check_soname_save_LIBS
10301 if ${ac_cv_lib_soname_GL:+false} :; then :
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10303 $as_echo "not found" >&6; }
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10305 $as_echo_n "checking for -lGL... " >&6; }
10306 if ${ac_cv_lib_soname_GL+:} false; then :
10307 $as_echo_n "(cached) " >&6
10308 else
10309 ac_check_soname_save_LIBS=$LIBS
10310 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"
10311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10312 /* end confdefs.h. */
10314 /* Override any GCC internal prototype to avoid an error.
10315 Use char because int might match the return type of a GCC
10316 builtin and then its argument prototype would still apply. */
10317 #ifdef __cplusplus
10318 extern "C"
10319 #endif
10320 char glXCreateContext ();
10322 main ()
10324 return glXCreateContext ();
10326 return 0;
10328 _ACEOF
10329 if ac_fn_c_try_link "$LINENO"; then :
10330 case "$LIBEXT" in
10331 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10332 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'` ;;
10333 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10334 if ${ac_cv_lib_soname_GL:+false} :; then :
10335 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10336 fi ;;
10337 esac
10339 rm -f core conftest.err conftest.$ac_objext \
10340 conftest$ac_exeext conftest.$ac_ext
10341 LIBS=$ac_check_soname_save_LIBS
10343 if ${ac_cv_lib_soname_GL:+false} :; then :
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10345 $as_echo "not found" >&6; }
10346 if test -f /usr/X11R6/lib/libGL.a
10347 then
10348 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10349 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10350 else
10351 opengl_msg="No OpenGL library found on this system."
10353 else
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10355 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10357 cat >>confdefs.h <<_ACEOF
10358 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10359 _ACEOF
10361 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"
10363 else
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10365 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10367 cat >>confdefs.h <<_ACEOF
10368 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10369 _ACEOF
10371 OPENGL_LIBS="-lGL"
10373 if test "x$with_glu" != "xno"
10374 then
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10376 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10377 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10378 $as_echo_n "(cached) " >&6
10379 else
10380 ac_check_lib_save_LIBS=$LIBS
10381 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10383 /* end confdefs.h. */
10385 /* Override any GCC internal prototype to avoid an error.
10386 Use char because int might match the return type of a GCC
10387 builtin and then its argument prototype would still apply. */
10388 #ifdef __cplusplus
10389 extern "C"
10390 #endif
10391 char gluLookAt ();
10393 main ()
10395 return gluLookAt ();
10397 return 0;
10399 _ACEOF
10400 if ac_fn_c_try_link "$LINENO"; then :
10401 ac_cv_lib_GLU_gluLookAt=yes
10402 else
10403 ac_cv_lib_GLU_gluLookAt=no
10405 rm -f core conftest.err conftest.$ac_objext \
10406 conftest$ac_exeext conftest.$ac_ext
10407 LIBS=$ac_check_lib_save_LIBS
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10410 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10411 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10415 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10416 case "x$with_glu" in
10417 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10418 xno) ;;
10419 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10420 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10421 esac
10425 if test "x$with_osmesa" != "xno"
10426 then
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10428 $as_echo_n "checking for -lOSMesa... " >&6; }
10429 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10430 $as_echo_n "(cached) " >&6
10431 else
10432 ac_check_soname_save_LIBS=$LIBS
10433 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10435 /* end confdefs.h. */
10437 /* Override any GCC internal prototype to avoid an error.
10438 Use char because int might match the return type of a GCC
10439 builtin and then its argument prototype would still apply. */
10440 #ifdef __cplusplus
10441 extern "C"
10442 #endif
10443 char glAccum ();
10445 main ()
10447 return glAccum ();
10449 return 0;
10451 _ACEOF
10452 if ac_fn_c_try_link "$LINENO"; then :
10453 case "$LIBEXT" in
10454 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10455 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'` ;;
10456 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10457 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10458 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10459 fi ;;
10460 esac
10462 rm -f core conftest.err conftest.$ac_objext \
10463 conftest$ac_exeext conftest.$ac_ext
10464 LIBS=$ac_check_soname_save_LIBS
10466 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10468 $as_echo "not found" >&6; }
10470 else
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10472 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10474 cat >>confdefs.h <<_ACEOF
10475 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10476 _ACEOF
10480 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10481 case "x$with_osmesa" in
10482 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10483 xno) ;;
10484 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10485 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10486 esac
10490 if test -n "$opengl_msg"; then :
10491 case "x$with_opengl" in
10492 x) as_fn_append wine_warnings "|$opengl_msg
10493 OpenGL and Direct3D won't be supported." ;;
10494 xno) ;;
10495 *) as_fn_error $? "$opengl_msg
10496 OpenGL and Direct3D won't be supported.
10497 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10498 esac
10501 CPPFLAGS="$ac_save_CPPFLAGS"
10502 else
10503 X_CFLAGS=""
10504 X_LIBS=""
10505 enable_winex11_drv=${enable_winex11_drv:-no}
10507 if test "x$X_LIBS" = "x"; then :
10508 case "x$with_x" in
10509 xno) ;;
10510 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10511 without X support, which probably isn't what you want. You will need
10512 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10513 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10514 esac
10517 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10519 if test "$ac_cv_header_CL_cl_h" = "yes"
10520 then
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10522 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10523 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10524 $as_echo_n "(cached) " >&6
10525 else
10526 ac_check_lib_save_LIBS=$LIBS
10527 LIBS="-lOpenCL $LIBS"
10528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10529 /* end confdefs.h. */
10531 /* Override any GCC internal prototype to avoid an error.
10532 Use char because int might match the return type of a GCC
10533 builtin and then its argument prototype would still apply. */
10534 #ifdef __cplusplus
10535 extern "C"
10536 #endif
10537 char clGetPlatformInfo ();
10539 main ()
10541 return clGetPlatformInfo ();
10543 return 0;
10545 _ACEOF
10546 if ac_fn_c_try_link "$LINENO"; then :
10547 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10548 else
10549 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10551 rm -f core conftest.err conftest.$ac_objext \
10552 conftest$ac_exeext conftest.$ac_ext
10553 LIBS=$ac_check_lib_save_LIBS
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10556 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10557 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10558 OPENCL_LIBS="-lOpenCL"
10563 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10564 case "x$with_opencl" in
10565 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10566 xno) ;;
10567 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10568 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10569 esac
10571 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10573 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10574 then
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10576 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10577 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10578 $as_echo_n "(cached) " >&6
10579 else
10580 ac_check_lib_save_LIBS=$LIBS
10581 LIBS="-lpcap $LIBS"
10582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10583 /* end confdefs.h. */
10585 /* Override any GCC internal prototype to avoid an error.
10586 Use char because int might match the return type of a GCC
10587 builtin and then its argument prototype would still apply. */
10588 #ifdef __cplusplus
10589 extern "C"
10590 #endif
10591 char pcap_create ();
10593 main ()
10595 return pcap_create ();
10597 return 0;
10599 _ACEOF
10600 if ac_fn_c_try_link "$LINENO"; then :
10601 ac_cv_lib_pcap_pcap_create=yes
10602 else
10603 ac_cv_lib_pcap_pcap_create=no
10605 rm -f core conftest.err conftest.$ac_objext \
10606 conftest$ac_exeext conftest.$ac_ext
10607 LIBS=$ac_check_lib_save_LIBS
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10610 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10611 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10612 LIBPCAP="-lpcap"
10617 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10618 case "x$with_pcap" in
10619 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10620 xno) ;;
10621 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10622 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10623 esac
10625 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10628 if test "x$with_xml" != "xno"
10629 then
10630 if ${XML2_CFLAGS:+false} :; then :
10631 if ${PKG_CONFIG+:} false; then :
10632 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10635 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10636 if ${XML2_LIBS:+false} :; then :
10637 if ${PKG_CONFIG+:} false; then :
10638 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10641 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10642 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10643 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10644 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10645 ac_save_CPPFLAGS=$CPPFLAGS
10646 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10647 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10648 do :
10649 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10650 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10651 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10652 cat >>confdefs.h <<_ACEOF
10653 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10654 _ACEOF
10658 done
10660 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"
10661 then
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10663 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10664 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10665 $as_echo_n "(cached) " >&6
10666 else
10667 ac_check_lib_save_LIBS=$LIBS
10668 LIBS="-lxml2 $XML2_LIBS $LIBS"
10669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10670 /* end confdefs.h. */
10672 /* Override any GCC internal prototype to avoid an error.
10673 Use char because int might match the return type of a GCC
10674 builtin and then its argument prototype would still apply. */
10675 #ifdef __cplusplus
10676 extern "C"
10677 #endif
10678 char xmlParseMemory ();
10680 main ()
10682 return xmlParseMemory ();
10684 return 0;
10686 _ACEOF
10687 if ac_fn_c_try_link "$LINENO"; then :
10688 ac_cv_lib_xml2_xmlParseMemory=yes
10689 else
10690 ac_cv_lib_xml2_xmlParseMemory=no
10692 rm -f core conftest.err conftest.$ac_objext \
10693 conftest$ac_exeext conftest.$ac_ext
10694 LIBS=$ac_check_lib_save_LIBS
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10697 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10698 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10700 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10702 else
10703 XML2_LIBS=""
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10707 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10708 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10709 $as_echo_n "(cached) " >&6
10710 else
10711 ac_check_lib_save_LIBS=$LIBS
10712 LIBS="-lxml2 $XML2_LIBS $LIBS"
10713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10714 /* end confdefs.h. */
10716 /* Override any GCC internal prototype to avoid an error.
10717 Use char because int might match the return type of a GCC
10718 builtin and then its argument prototype would still apply. */
10719 #ifdef __cplusplus
10720 extern "C"
10721 #endif
10722 char xmlReadMemory ();
10724 main ()
10726 return xmlReadMemory ();
10728 return 0;
10730 _ACEOF
10731 if ac_fn_c_try_link "$LINENO"; then :
10732 ac_cv_lib_xml2_xmlReadMemory=yes
10733 else
10734 ac_cv_lib_xml2_xmlReadMemory=no
10736 rm -f core conftest.err conftest.$ac_objext \
10737 conftest$ac_exeext conftest.$ac_ext
10738 LIBS=$ac_check_lib_save_LIBS
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10741 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10742 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10744 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10749 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10750 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10751 $as_echo_n "(cached) " >&6
10752 else
10753 ac_check_lib_save_LIBS=$LIBS
10754 LIBS="-lxml2 $XML2_LIBS $LIBS"
10755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10756 /* end confdefs.h. */
10758 /* Override any GCC internal prototype to avoid an error.
10759 Use char because int might match the return type of a GCC
10760 builtin and then its argument prototype would still apply. */
10761 #ifdef __cplusplus
10762 extern "C"
10763 #endif
10764 char xmlNewDocPI ();
10766 main ()
10768 return xmlNewDocPI ();
10770 return 0;
10772 _ACEOF
10773 if ac_fn_c_try_link "$LINENO"; then :
10774 ac_cv_lib_xml2_xmlNewDocPI=yes
10775 else
10776 ac_cv_lib_xml2_xmlNewDocPI=no
10778 rm -f core conftest.err conftest.$ac_objext \
10779 conftest$ac_exeext conftest.$ac_ext
10780 LIBS=$ac_check_lib_save_LIBS
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10783 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10784 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10786 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10791 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10792 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10793 $as_echo_n "(cached) " >&6
10794 else
10795 ac_check_lib_save_LIBS=$LIBS
10796 LIBS="-lxml2 $XML2_LIBS $LIBS"
10797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10798 /* end confdefs.h. */
10800 /* Override any GCC internal prototype to avoid an error.
10801 Use char because int might match the return type of a GCC
10802 builtin and then its argument prototype would still apply. */
10803 #ifdef __cplusplus
10804 extern "C"
10805 #endif
10806 char xmlSchemaSetParserStructuredErrors ();
10808 main ()
10810 return xmlSchemaSetParserStructuredErrors ();
10812 return 0;
10814 _ACEOF
10815 if ac_fn_c_try_link "$LINENO"; then :
10816 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10817 else
10818 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10820 rm -f core conftest.err conftest.$ac_objext \
10821 conftest$ac_exeext conftest.$ac_ext
10822 LIBS=$ac_check_lib_save_LIBS
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10825 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10826 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10828 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10833 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10834 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10835 $as_echo_n "(cached) " >&6
10836 else
10837 ac_check_lib_save_LIBS=$LIBS
10838 LIBS="-lxml2 $XML2_LIBS $LIBS"
10839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10840 /* end confdefs.h. */
10842 /* Override any GCC internal prototype to avoid an error.
10843 Use char because int might match the return type of a GCC
10844 builtin and then its argument prototype would still apply. */
10845 #ifdef __cplusplus
10846 extern "C"
10847 #endif
10848 char xmlSchemaSetValidStructuredErrors ();
10850 main ()
10852 return xmlSchemaSetValidStructuredErrors ();
10854 return 0;
10856 _ACEOF
10857 if ac_fn_c_try_link "$LINENO"; then :
10858 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10859 else
10860 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10862 rm -f core conftest.err conftest.$ac_objext \
10863 conftest$ac_exeext conftest.$ac_ext
10864 LIBS=$ac_check_lib_save_LIBS
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10867 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10868 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10870 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10875 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10876 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10877 $as_echo_n "(cached) " >&6
10878 else
10879 ac_check_lib_save_LIBS=$LIBS
10880 LIBS="-lxml2 $XML2_LIBS $LIBS"
10881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10882 /* end confdefs.h. */
10884 /* Override any GCC internal prototype to avoid an error.
10885 Use char because int might match the return type of a GCC
10886 builtin and then its argument prototype would still apply. */
10887 #ifdef __cplusplus
10888 extern "C"
10889 #endif
10890 char xmlFirstElementChild ();
10892 main ()
10894 return xmlFirstElementChild ();
10896 return 0;
10898 _ACEOF
10899 if ac_fn_c_try_link "$LINENO"; then :
10900 ac_cv_lib_xml2_xmlFirstElementChild=yes
10901 else
10902 ac_cv_lib_xml2_xmlFirstElementChild=no
10904 rm -f core conftest.err conftest.$ac_objext \
10905 conftest$ac_exeext conftest.$ac_ext
10906 LIBS=$ac_check_lib_save_LIBS
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10909 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10910 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10912 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10916 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10918 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10920 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10924 else
10925 XML2_CFLAGS=""
10926 XML2_LIBS=""
10928 CPPFLAGS=$ac_save_CPPFLAGS
10929 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10930 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10933 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10934 case "x$with_xml" in
10935 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10936 xno) ;;
10937 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10938 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10939 esac
10942 if test "x$with_xslt" != "xno"
10943 then
10944 if ${XSLT_CFLAGS:+false} :; then :
10945 if ${PKG_CONFIG+:} false; then :
10946 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10949 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10950 if ${XSLT_LIBS:+false} :; then :
10951 if ${PKG_CONFIG+:} false; then :
10952 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10955 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10956 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10957 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10958 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10959 ac_save_CPPFLAGS=$CPPFLAGS
10960 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10961 for ac_header in libxslt/pattern.h libxslt/transform.h
10962 do :
10963 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10964 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10965 # include <libxslt/pattern.h>
10966 #endif
10968 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10969 cat >>confdefs.h <<_ACEOF
10970 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10971 _ACEOF
10975 done
10977 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10978 then
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10980 $as_echo_n "checking for -lxslt... " >&6; }
10981 if ${ac_cv_lib_soname_xslt+:} false; then :
10982 $as_echo_n "(cached) " >&6
10983 else
10984 ac_check_soname_save_LIBS=$LIBS
10985 LIBS="-lxslt $XSLT_LIBS $LIBS"
10986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10987 /* end confdefs.h. */
10989 /* Override any GCC internal prototype to avoid an error.
10990 Use char because int might match the return type of a GCC
10991 builtin and then its argument prototype would still apply. */
10992 #ifdef __cplusplus
10993 extern "C"
10994 #endif
10995 char xsltCompilePattern ();
10997 main ()
10999 return xsltCompilePattern ();
11001 return 0;
11003 _ACEOF
11004 if ac_fn_c_try_link "$LINENO"; then :
11005 case "$LIBEXT" in
11006 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11007 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'` ;;
11008 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11009 if ${ac_cv_lib_soname_xslt:+false} :; then :
11010 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11011 fi ;;
11012 esac
11014 rm -f core conftest.err conftest.$ac_objext \
11015 conftest$ac_exeext conftest.$ac_ext
11016 LIBS=$ac_check_soname_save_LIBS
11018 if ${ac_cv_lib_soname_xslt:+false} :; then :
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11020 $as_echo "not found" >&6; }
11022 else
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11024 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11026 cat >>confdefs.h <<_ACEOF
11027 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11028 _ACEOF
11032 else
11033 XSLT_CFLAGS=""
11035 CPPFLAGS=$ac_save_CPPFLAGS
11036 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11037 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11040 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11041 case "x$with_xslt" in
11042 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11043 xno) ;;
11044 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11045 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11046 esac
11049 if test "x$with_dbus" != "xno"
11050 then
11051 if ${DBUS_CFLAGS:+false} :; then :
11052 if ${PKG_CONFIG+:} false; then :
11053 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11057 if ${DBUS_LIBS:+false} :; then :
11058 if ${PKG_CONFIG+:} false; then :
11059 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11064 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11065 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11066 ac_save_CPPFLAGS=$CPPFLAGS
11067 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11068 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11069 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11071 $as_echo_n "checking for -ldbus-1... " >&6; }
11072 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11073 $as_echo_n "(cached) " >&6
11074 else
11075 ac_check_soname_save_LIBS=$LIBS
11076 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11078 /* end confdefs.h. */
11080 /* Override any GCC internal prototype to avoid an error.
11081 Use char because int might match the return type of a GCC
11082 builtin and then its argument prototype would still apply. */
11083 #ifdef __cplusplus
11084 extern "C"
11085 #endif
11086 char dbus_connection_close ();
11088 main ()
11090 return dbus_connection_close ();
11092 return 0;
11094 _ACEOF
11095 if ac_fn_c_try_link "$LINENO"; then :
11096 case "$LIBEXT" in
11097 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11098 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'` ;;
11099 *) 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'`
11100 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11101 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11102 fi ;;
11103 esac
11105 rm -f core conftest.err conftest.$ac_objext \
11106 conftest$ac_exeext conftest.$ac_ext
11107 LIBS=$ac_check_soname_save_LIBS
11109 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11111 $as_echo "not found" >&6; }
11112 DBUS_CFLAGS=""
11113 else
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11115 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11117 cat >>confdefs.h <<_ACEOF
11118 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11119 _ACEOF
11123 else
11124 DBUS_CFLAGS=""
11128 CPPFLAGS=$ac_save_CPPFLAGS
11129 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11130 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11133 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11134 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11135 case "x$with_dbus" in
11136 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11137 xno) ;;
11138 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11139 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11140 esac
11143 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11144 then
11145 if ${HAL_CFLAGS:+false} :; then :
11146 if ${PKG_CONFIG+:} false; then :
11147 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11151 if ${HAL_LIBS:+false} :; then :
11152 if ${PKG_CONFIG+:} false; then :
11153 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11157 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11158 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11159 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11160 ac_save_CPPFLAGS=$CPPFLAGS
11161 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11162 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11163 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11165 $as_echo_n "checking for -lhal... " >&6; }
11166 if ${ac_cv_lib_soname_hal+:} false; then :
11167 $as_echo_n "(cached) " >&6
11168 else
11169 ac_check_soname_save_LIBS=$LIBS
11170 LIBS="-lhal $HAL_LIBS $LIBS"
11171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11172 /* end confdefs.h. */
11174 /* Override any GCC internal prototype to avoid an error.
11175 Use char because int might match the return type of a GCC
11176 builtin and then its argument prototype would still apply. */
11177 #ifdef __cplusplus
11178 extern "C"
11179 #endif
11180 char libhal_ctx_new ();
11182 main ()
11184 return libhal_ctx_new ();
11186 return 0;
11188 _ACEOF
11189 if ac_fn_c_try_link "$LINENO"; then :
11190 case "$LIBEXT" in
11191 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11192 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'` ;;
11193 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11194 if ${ac_cv_lib_soname_hal:+false} :; then :
11195 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11196 fi ;;
11197 esac
11199 rm -f core conftest.err conftest.$ac_objext \
11200 conftest$ac_exeext conftest.$ac_ext
11201 LIBS=$ac_check_soname_save_LIBS
11203 if ${ac_cv_lib_soname_hal:+false} :; then :
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11205 $as_echo "not found" >&6; }
11206 HAL_CFLAGS=""
11207 else
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11209 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11211 cat >>confdefs.h <<_ACEOF
11212 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11213 _ACEOF
11217 else
11218 HAL_CFLAGS=""
11222 CPPFLAGS=$ac_save_CPPFLAGS
11223 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11224 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11226 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11227 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11228 case "x$with_hal" in
11229 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11230 xno) ;;
11231 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11232 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11233 esac
11237 if test "x$with_gnutls" != "xno"
11238 then
11239 if ${GNUTLS_CFLAGS:+false} :; then :
11240 if ${PKG_CONFIG+:} false; then :
11241 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11245 if ${GNUTLS_LIBS:+false} :; then :
11246 if ${PKG_CONFIG+:} false; then :
11247 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11252 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11253 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11254 ac_save_CPPFLAGS=$CPPFLAGS
11255 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11256 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11257 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11259 /* end confdefs.h. */
11260 #include <gnutls/gnutls.h>
11261 #include <gnutls/crypto.h>
11263 main ()
11265 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11267 return 0;
11269 _ACEOF
11270 if ac_fn_c_try_compile "$LINENO"; then :
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11272 $as_echo_n "checking for -lgnutls... " >&6; }
11273 if ${ac_cv_lib_soname_gnutls+:} false; then :
11274 $as_echo_n "(cached) " >&6
11275 else
11276 ac_check_soname_save_LIBS=$LIBS
11277 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11279 /* end confdefs.h. */
11281 /* Override any GCC internal prototype to avoid an error.
11282 Use char because int might match the return type of a GCC
11283 builtin and then its argument prototype would still apply. */
11284 #ifdef __cplusplus
11285 extern "C"
11286 #endif
11287 char gnutls_global_init ();
11289 main ()
11291 return gnutls_global_init ();
11293 return 0;
11295 _ACEOF
11296 if ac_fn_c_try_link "$LINENO"; then :
11297 case "$LIBEXT" in
11298 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11299 dylib) ac_cv_lib_soname_gnutls=`otool -L conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\\(-deb0\\)\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11300 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11301 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11302 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\\(-deb0\\)\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11303 fi ;;
11304 esac
11306 rm -f core conftest.err conftest.$ac_objext \
11307 conftest$ac_exeext conftest.$ac_ext
11308 LIBS=$ac_check_soname_save_LIBS
11310 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11312 $as_echo "not found" >&6; }
11313 GNUTLS_CFLAGS=""
11314 else
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11316 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11318 cat >>confdefs.h <<_ACEOF
11319 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11320 _ACEOF
11325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11326 else
11327 GNUTLS_CFLAGS=""
11331 CPPFLAGS=$ac_save_CPPFLAGS
11332 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11333 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11336 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11337 case "x$with_gnutls" in
11338 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11339 xno) ;;
11340 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11341 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11342 esac
11345 CURSES_LIBS=""
11346 if test "$ac_cv_header_ncurses_h" = "yes"
11347 then
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11349 $as_echo_n "checking for -lncurses... " >&6; }
11350 if ${ac_cv_lib_soname_ncurses+:} false; then :
11351 $as_echo_n "(cached) " >&6
11352 else
11353 ac_check_soname_save_LIBS=$LIBS
11354 LIBS="-lncurses $LIBS"
11355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11356 /* end confdefs.h. */
11358 /* Override any GCC internal prototype to avoid an error.
11359 Use char because int might match the return type of a GCC
11360 builtin and then its argument prototype would still apply. */
11361 #ifdef __cplusplus
11362 extern "C"
11363 #endif
11364 char waddch ();
11366 main ()
11368 return waddch ();
11370 return 0;
11372 _ACEOF
11373 if ac_fn_c_try_link "$LINENO"; then :
11374 case "$LIBEXT" in
11375 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11376 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'` ;;
11377 *) 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'`
11378 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11379 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11380 fi ;;
11381 esac
11383 rm -f core conftest.err conftest.$ac_objext \
11384 conftest$ac_exeext conftest.$ac_ext
11385 LIBS=$ac_check_soname_save_LIBS
11387 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11389 $as_echo "not found" >&6; }
11391 else
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11393 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11395 cat >>confdefs.h <<_ACEOF
11396 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11397 _ACEOF
11399 CURSES_LIBS="-lncurses"
11401 elif test "$ac_cv_header_curses_h" = "yes"
11402 then
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11404 $as_echo_n "checking for -lcurses... " >&6; }
11405 if ${ac_cv_lib_soname_curses+:} false; then :
11406 $as_echo_n "(cached) " >&6
11407 else
11408 ac_check_soname_save_LIBS=$LIBS
11409 LIBS="-lcurses $LIBS"
11410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11411 /* end confdefs.h. */
11413 /* Override any GCC internal prototype to avoid an error.
11414 Use char because int might match the return type of a GCC
11415 builtin and then its argument prototype would still apply. */
11416 #ifdef __cplusplus
11417 extern "C"
11418 #endif
11419 char waddch ();
11421 main ()
11423 return waddch ();
11425 return 0;
11427 _ACEOF
11428 if ac_fn_c_try_link "$LINENO"; then :
11429 case "$LIBEXT" in
11430 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11431 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'` ;;
11432 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11433 if ${ac_cv_lib_soname_curses:+false} :; then :
11434 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11435 fi ;;
11436 esac
11438 rm -f core conftest.err conftest.$ac_objext \
11439 conftest$ac_exeext conftest.$ac_ext
11440 LIBS=$ac_check_soname_save_LIBS
11442 if ${ac_cv_lib_soname_curses:+false} :; then :
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11444 $as_echo "not found" >&6; }
11446 else
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11448 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11450 cat >>confdefs.h <<_ACEOF
11451 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11452 _ACEOF
11454 CURSES_LIBS="-lcurses"
11457 ac_save_LIBS="$LIBS"
11458 LIBS="$LIBS $CURSES_LIBS"
11459 for ac_func in mousemask
11460 do :
11461 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11462 if test "x$ac_cv_func_mousemask" = xyes; then :
11463 cat >>confdefs.h <<_ACEOF
11464 #define HAVE_MOUSEMASK 1
11465 _ACEOF
11468 done
11470 LIBS="$ac_save_LIBS"
11471 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11472 case "x$with_curses" in
11473 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11474 xno) ;;
11475 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11476 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11477 esac
11480 if test "x$with_sane" != "xno"
11481 then
11482 if ${SANE_CFLAGS:+false} :; then :
11483 if ${PKG_CONFIG+:} false; then :
11484 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11487 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11488 if ${SANE_LIBS:+false} :; then :
11489 if ${PKG_CONFIG+:} false; then :
11490 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11493 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11495 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11496 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11497 ac_save_CPPFLAGS=$CPPFLAGS
11498 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11499 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11500 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11502 $as_echo_n "checking for -lsane... " >&6; }
11503 if ${ac_cv_lib_soname_sane+:} false; then :
11504 $as_echo_n "(cached) " >&6
11505 else
11506 ac_check_soname_save_LIBS=$LIBS
11507 LIBS="-lsane $SANE_LIBS $LIBS"
11508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11509 /* end confdefs.h. */
11511 /* Override any GCC internal prototype to avoid an error.
11512 Use char because int might match the return type of a GCC
11513 builtin and then its argument prototype would still apply. */
11514 #ifdef __cplusplus
11515 extern "C"
11516 #endif
11517 char sane_init ();
11519 main ()
11521 return sane_init ();
11523 return 0;
11525 _ACEOF
11526 if ac_fn_c_try_link "$LINENO"; then :
11527 case "$LIBEXT" in
11528 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11529 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'` ;;
11530 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11531 if ${ac_cv_lib_soname_sane:+false} :; then :
11532 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11533 fi ;;
11534 esac
11536 rm -f core conftest.err conftest.$ac_objext \
11537 conftest$ac_exeext conftest.$ac_ext
11538 LIBS=$ac_check_soname_save_LIBS
11540 if ${ac_cv_lib_soname_sane:+false} :; then :
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11542 $as_echo "not found" >&6; }
11543 SANE_CFLAGS=""
11544 else
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11546 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11548 cat >>confdefs.h <<_ACEOF
11549 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11550 _ACEOF
11554 else
11555 SANE_CFLAGS=""
11559 CPPFLAGS=$ac_save_CPPFLAGS
11560 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11561 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11564 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11565 case "x$with_sane" in
11566 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11567 xno) ;;
11568 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11569 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11570 esac
11573 if test "x$with_v4l" != "xno"
11574 then
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11576 $as_echo_n "checking for -lv4l1... " >&6; }
11577 if ${ac_cv_lib_soname_v4l1+:} false; then :
11578 $as_echo_n "(cached) " >&6
11579 else
11580 ac_check_soname_save_LIBS=$LIBS
11581 LIBS="-lv4l1 $LIBS"
11582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11583 /* end confdefs.h. */
11585 /* Override any GCC internal prototype to avoid an error.
11586 Use char because int might match the return type of a GCC
11587 builtin and then its argument prototype would still apply. */
11588 #ifdef __cplusplus
11589 extern "C"
11590 #endif
11591 char v4l1_open ();
11593 main ()
11595 return v4l1_open ();
11597 return 0;
11599 _ACEOF
11600 if ac_fn_c_try_link "$LINENO"; then :
11601 case "$LIBEXT" in
11602 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11603 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'` ;;
11604 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11605 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11606 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11607 fi ;;
11608 esac
11610 rm -f core conftest.err conftest.$ac_objext \
11611 conftest$ac_exeext conftest.$ac_ext
11612 LIBS=$ac_check_soname_save_LIBS
11614 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11616 $as_echo "not found" >&6; }
11618 else
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11620 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11622 cat >>confdefs.h <<_ACEOF
11623 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11624 _ACEOF
11629 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11630 case "x$with_v4l" in
11631 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11632 xno) ;;
11633 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11634 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11635 esac
11638 if test "x$with_gphoto" != "xno"
11639 then
11640 if ${GPHOTO2_CFLAGS:+false} :; then :
11641 if ${PKG_CONFIG+:} false; then :
11642 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11645 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11646 if ${GPHOTO2_LIBS:+false} :; then :
11647 if ${PKG_CONFIG+:} false; then :
11648 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11651 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11652 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11653 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11654 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11655 ac_save_CPPFLAGS=$CPPFLAGS
11656 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11657 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11658 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11660 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11661 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11662 $as_echo_n "(cached) " >&6
11663 else
11664 ac_check_lib_save_LIBS=$LIBS
11665 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11667 /* end confdefs.h. */
11669 /* Override any GCC internal prototype to avoid an error.
11670 Use char because int might match the return type of a GCC
11671 builtin and then its argument prototype would still apply. */
11672 #ifdef __cplusplus
11673 extern "C"
11674 #endif
11675 char gp_camera_new ();
11677 main ()
11679 return gp_camera_new ();
11681 return 0;
11683 _ACEOF
11684 if ac_fn_c_try_link "$LINENO"; then :
11685 ac_cv_lib_gphoto2_gp_camera_new=yes
11686 else
11687 ac_cv_lib_gphoto2_gp_camera_new=no
11689 rm -f core conftest.err conftest.$ac_objext \
11690 conftest$ac_exeext conftest.$ac_ext
11691 LIBS=$ac_check_lib_save_LIBS
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11694 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11695 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11697 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11699 else
11700 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11703 else
11704 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11708 CPPFLAGS=$ac_save_CPPFLAGS
11709 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11710 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11712 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11713 if ${PKG_CONFIG+:} false; then :
11714 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11717 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11718 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11719 if ${PKG_CONFIG+:} false; then :
11720 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11723 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11724 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11725 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11726 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11727 ac_save_CPPFLAGS=$CPPFLAGS
11728 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11729 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11730 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11732 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11733 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11734 $as_echo_n "(cached) " >&6
11735 else
11736 ac_check_lib_save_LIBS=$LIBS
11737 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11739 /* end confdefs.h. */
11741 /* Override any GCC internal prototype to avoid an error.
11742 Use char because int might match the return type of a GCC
11743 builtin and then its argument prototype would still apply. */
11744 #ifdef __cplusplus
11745 extern "C"
11746 #endif
11747 char gp_port_info_list_new ();
11749 main ()
11751 return gp_port_info_list_new ();
11753 return 0;
11755 _ACEOF
11756 if ac_fn_c_try_link "$LINENO"; then :
11757 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11758 else
11759 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11761 rm -f core conftest.err conftest.$ac_objext \
11762 conftest$ac_exeext conftest.$ac_ext
11763 LIBS=$ac_check_lib_save_LIBS
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11766 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11767 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11769 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11771 else
11772 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11775 else
11776 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11780 CPPFLAGS=$ac_save_CPPFLAGS
11781 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11782 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11785 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11786 case "x$with_gphoto" in
11787 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11788 xno) ;;
11789 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11790 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11791 esac
11793 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11794 case "x$with_gphoto" in
11795 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11796 xno) ;;
11797 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11798 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11799 esac
11803 if test "$ac_cv_header_resolv_h" = "yes"
11804 then
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11806 $as_echo_n "checking for resolver library... " >&6; }
11807 if ${ac_cv_have_resolv+:} false; then :
11808 $as_echo_n "(cached) " >&6
11809 else
11810 ac_save_LIBS="$LIBS"
11811 for lib in '' -lresolv
11813 LIBS="$lib $ac_save_LIBS"
11814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11815 /* end confdefs.h. */
11816 #ifdef HAVE_NETINET_IN_H
11817 #include <netinet/in.h>
11818 #endif
11819 #include <resolv.h>
11821 main ()
11823 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11825 return 0;
11827 _ACEOF
11828 if ac_fn_c_try_link "$LINENO"; then :
11829 ac_cv_have_resolv=${lib:-"none required"}
11830 else
11831 ac_cv_have_resolv="not found"
11833 rm -f core conftest.err conftest.$ac_objext \
11834 conftest$ac_exeext conftest.$ac_ext
11835 test "x$ac_cv_have_resolv" = "xnot found" || break
11836 done
11837 LIBS="$ac_save_LIBS"
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11840 $as_echo "$ac_cv_have_resolv" >&6; }
11842 case "$ac_cv_have_resolv" in
11843 "not found") ;;
11844 "none required")
11846 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11849 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11851 RESOLV_LIBS=$ac_cv_have_resolv
11853 esac
11856 if test "x$with_lcms2" != "xno"
11857 then
11858 if ${LCMS2_CFLAGS:+false} :; then :
11859 if ${PKG_CONFIG+:} false; then :
11860 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11864 if ${LCMS2_LIBS:+false} :; then :
11865 if ${PKG_CONFIG+:} false; then :
11866 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11870 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11871 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11872 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11873 ac_save_CPPFLAGS=$CPPFLAGS
11874 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11875 for ac_header in lcms2.h
11876 do :
11877 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11878 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11879 cat >>confdefs.h <<_ACEOF
11880 #define HAVE_LCMS2_H 1
11881 _ACEOF
11885 done
11887 if test "$ac_cv_header_lcms2_h" = "yes"
11888 then
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11890 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11891 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11892 $as_echo_n "(cached) " >&6
11893 else
11894 ac_check_lib_save_LIBS=$LIBS
11895 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11897 /* end confdefs.h. */
11899 /* Override any GCC internal prototype to avoid an error.
11900 Use char because int might match the return type of a GCC
11901 builtin and then its argument prototype would still apply. */
11902 #ifdef __cplusplus
11903 extern "C"
11904 #endif
11905 char cmsOpenProfileFromFile ();
11907 main ()
11909 return cmsOpenProfileFromFile ();
11911 return 0;
11913 _ACEOF
11914 if ac_fn_c_try_link "$LINENO"; then :
11915 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11916 else
11917 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11919 rm -f core conftest.err conftest.$ac_objext \
11920 conftest$ac_exeext conftest.$ac_ext
11921 LIBS=$ac_check_lib_save_LIBS
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11924 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11925 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11927 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11929 else
11930 LCMS2_LIBS=""
11933 else
11934 LCMS2_CFLAGS=""
11935 LCMS2_LIBS=""
11937 CPPFLAGS=$ac_save_CPPFLAGS
11938 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11939 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11942 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11943 case "x$with_cms" in
11944 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11945 xno) ;;
11946 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11947 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11948 esac
11951 if test "x$with_freetype" != "xno"
11952 then
11953 if ${FREETYPE_CFLAGS:+false} :; then :
11954 if ${PKG_CONFIG+:} false; then :
11955 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11958 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11959 if ${FREETYPE_LIBS:+false} :; then :
11960 if ${PKG_CONFIG+:} false; then :
11961 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11964 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11965 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11966 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11967 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11968 ac_save_CPPFLAGS=$CPPFLAGS
11969 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11970 for ac_header in ft2build.h
11971 do :
11972 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11973 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11974 cat >>confdefs.h <<_ACEOF
11975 #define HAVE_FT2BUILD_H 1
11976 _ACEOF
11980 done
11982 if test "$ac_cv_header_ft2build_h" = "yes"
11983 then
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11985 $as_echo_n "checking for -lfreetype... " >&6; }
11986 if ${ac_cv_lib_soname_freetype+:} false; then :
11987 $as_echo_n "(cached) " >&6
11988 else
11989 ac_check_soname_save_LIBS=$LIBS
11990 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11992 /* end confdefs.h. */
11994 /* Override any GCC internal prototype to avoid an error.
11995 Use char because int might match the return type of a GCC
11996 builtin and then its argument prototype would still apply. */
11997 #ifdef __cplusplus
11998 extern "C"
11999 #endif
12000 char FT_Init_FreeType ();
12002 main ()
12004 return FT_Init_FreeType ();
12006 return 0;
12008 _ACEOF
12009 if ac_fn_c_try_link "$LINENO"; then :
12010 case "$LIBEXT" in
12011 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12012 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'` ;;
12013 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12014 if ${ac_cv_lib_soname_freetype:+false} :; then :
12015 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12016 fi ;;
12017 esac
12019 rm -f core conftest.err conftest.$ac_objext \
12020 conftest$ac_exeext conftest.$ac_ext
12021 LIBS=$ac_check_soname_save_LIBS
12023 if ${ac_cv_lib_soname_freetype:+false} :; then :
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12025 $as_echo "not found" >&6; }
12026 FREETYPE_LIBS=""
12027 else
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12029 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12031 cat >>confdefs.h <<_ACEOF
12032 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12033 _ACEOF
12036 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12038 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12039 #include FT_MODULE_H
12041 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12043 cat >>confdefs.h <<_ACEOF
12044 #define HAVE_FT_TRUETYPEENGINETYPE 1
12045 _ACEOF
12051 else
12052 FREETYPE_CFLAGS=""
12053 FREETYPE_LIBS=""
12055 CPPFLAGS=$ac_save_CPPFLAGS
12056 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12057 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12060 if test "x$ac_cv_lib_soname_freetype" = x; then :
12061 case "x$with_freetype" in
12062 xno) ;;
12063 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12064 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12065 esac
12067 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12070 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12071 if ${ac_cv_c_ppdev+:} false; then :
12072 $as_echo_n "(cached) " >&6
12073 else
12074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12075 /* end confdefs.h. */
12076 #ifdef HAVE_SYS_IOCTL_H
12077 # include <sys/ioctl.h>
12078 #endif
12079 #include <linux/ppdev.h>
12081 main ()
12083 ioctl (1,PPCLAIM,0)
12085 return 0;
12087 _ACEOF
12088 if ac_fn_c_try_compile "$LINENO"; then :
12089 ac_cv_c_ppdev="yes"
12090 else
12091 ac_cv_c_ppdev="no"
12093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12096 $as_echo "$ac_cv_c_ppdev" >&6; }
12097 if test "$ac_cv_c_ppdev" = "yes"
12098 then
12100 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12104 ac_wine_check_funcs_save_LIBS="$LIBS"
12105 LIBS="$LIBS $PTHREAD_LIBS"
12106 for ac_func in \
12107 pthread_attr_get_np \
12108 pthread_getattr_np \
12109 pthread_getthreadid_np \
12110 pthread_get_stackaddr_np \
12111 pthread_get_stacksize_np
12112 do :
12113 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12114 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12115 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12116 cat >>confdefs.h <<_ACEOF
12117 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12118 _ACEOF
12121 done
12123 LIBS="$ac_wine_check_funcs_save_LIBS"
12125 if test "$ac_cv_header_zlib_h" = "yes"
12126 then
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12128 $as_echo_n "checking for inflate in -lz... " >&6; }
12129 if ${ac_cv_lib_z_inflate+:} false; then :
12130 $as_echo_n "(cached) " >&6
12131 else
12132 ac_check_lib_save_LIBS=$LIBS
12133 LIBS="-lz $LIBS"
12134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12135 /* end confdefs.h. */
12137 /* Override any GCC internal prototype to avoid an error.
12138 Use char because int might match the return type of a GCC
12139 builtin and then its argument prototype would still apply. */
12140 #ifdef __cplusplus
12141 extern "C"
12142 #endif
12143 char inflate ();
12145 main ()
12147 return inflate ();
12149 return 0;
12151 _ACEOF
12152 if ac_fn_c_try_link "$LINENO"; then :
12153 ac_cv_lib_z_inflate=yes
12154 else
12155 ac_cv_lib_z_inflate=no
12157 rm -f core conftest.err conftest.$ac_objext \
12158 conftest$ac_exeext conftest.$ac_ext
12159 LIBS=$ac_check_lib_save_LIBS
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12162 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12163 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12165 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12167 Z_LIBS="-lz"
12172 if test "x$Z_LIBS" = "x"; then :
12173 case "x$with_zlib" in
12174 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12175 xno) ;;
12176 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12177 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12178 esac
12181 if test "x$enable_tools" != xno
12182 then
12183 if test "$ac_cv_header_gettext_po_h" = "yes"
12184 then
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12186 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12187 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12188 $as_echo_n "(cached) " >&6
12189 else
12190 ac_check_lib_save_LIBS=$LIBS
12191 LIBS="-lgettextpo $LIBS"
12192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12193 /* end confdefs.h. */
12195 /* Override any GCC internal prototype to avoid an error.
12196 Use char because int might match the return type of a GCC
12197 builtin and then its argument prototype would still apply. */
12198 #ifdef __cplusplus
12199 extern "C"
12200 #endif
12201 char po_message_msgctxt ();
12203 main ()
12205 return po_message_msgctxt ();
12207 return 0;
12209 _ACEOF
12210 if ac_fn_c_try_link "$LINENO"; then :
12211 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12212 else
12213 ac_cv_lib_gettextpo_po_message_msgctxt=no
12215 rm -f core conftest.err conftest.$ac_objext \
12216 conftest$ac_exeext conftest.$ac_ext
12217 LIBS=$ac_check_lib_save_LIBS
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12220 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12221 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12223 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12225 GETTEXTPO_LIBS="-lgettextpo"
12230 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12231 case "x$with_gettextpo" in
12232 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12233 xno) ;;
12234 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12235 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12236 esac
12240 if test "x$with_gstreamer" != "xno"
12241 then
12242 if ${GSTREAMER_CFLAGS:+false} :; then :
12243 if ${PKG_CONFIG+:} false; then :
12244 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12248 if ${GSTREAMER_LIBS:+false} :; then :
12249 if ${PKG_CONFIG+:} false; then :
12250 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12255 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12256 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12257 ac_save_CPPFLAGS=$CPPFLAGS
12258 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12259 ac_gst_incl=""
12260 for i in $GSTREAMER_CFLAGS
12262 case "$i" in
12263 -I*) ac_gst_incl="$ac_gst_incl $i";;
12264 esac
12265 done
12266 GSTREAMER_CFLAGS=$ac_gst_incl
12267 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12268 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12269 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12270 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12271 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12273 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12275 /* end confdefs.h. */
12276 #include <gst/app/gstappsink.h>
12278 main ()
12280 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12282 return 0;
12284 _ACEOF
12285 if ac_fn_c_try_compile "$LINENO"; then :
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12287 $as_echo "yes" >&6; }
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12289 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12290 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12291 $as_echo_n "(cached) " >&6
12292 else
12293 ac_check_lib_save_LIBS=$LIBS
12294 LIBS="-lgstreamer-0.10 $LIBS"
12295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12296 /* end confdefs.h. */
12298 /* Override any GCC internal prototype to avoid an error.
12299 Use char because int might match the return type of a GCC
12300 builtin and then its argument prototype would still apply. */
12301 #ifdef __cplusplus
12302 extern "C"
12303 #endif
12304 char gst_pad_get_caps_reffed ();
12306 main ()
12308 return gst_pad_get_caps_reffed ();
12310 return 0;
12312 _ACEOF
12313 if ac_fn_c_try_link "$LINENO"; then :
12314 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12315 else
12316 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12318 rm -f core conftest.err conftest.$ac_objext \
12319 conftest$ac_exeext conftest.$ac_ext
12320 LIBS=$ac_check_lib_save_LIBS
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12323 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12324 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12326 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12327 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12328 $as_echo_n "(cached) " >&6
12329 else
12330 ac_check_lib_save_LIBS=$LIBS
12331 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12333 /* end confdefs.h. */
12335 /* Override any GCC internal prototype to avoid an error.
12336 Use char because int might match the return type of a GCC
12337 builtin and then its argument prototype would still apply. */
12338 #ifdef __cplusplus
12339 extern "C"
12340 #endif
12341 char gst_app_buffer_new ();
12343 main ()
12345 return gst_app_buffer_new ();
12347 return 0;
12349 _ACEOF
12350 if ac_fn_c_try_link "$LINENO"; then :
12351 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12352 else
12353 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12355 rm -f core conftest.err conftest.$ac_objext \
12356 conftest$ac_exeext conftest.$ac_ext
12357 LIBS=$ac_check_lib_save_LIBS
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12360 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12361 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12367 else
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12369 $as_echo "no" >&6; }
12371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12375 else
12376 GSTREAMER_CFLAGS=""
12380 CPPFLAGS=$ac_save_CPPFLAGS
12381 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12382 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12385 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12386 case "x$with_gstreamer" in
12387 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12388 xno) ;;
12389 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12390 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12391 esac
12393 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12395 ALSA_LIBS=""
12397 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12398 then
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12400 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12401 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12402 $as_echo_n "(cached) " >&6
12403 else
12404 ac_check_lib_save_LIBS=$LIBS
12405 LIBS="-lasound $LIBS"
12406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12407 /* end confdefs.h. */
12409 /* Override any GCC internal prototype to avoid an error.
12410 Use char because int might match the return type of a GCC
12411 builtin and then its argument prototype would still apply. */
12412 #ifdef __cplusplus
12413 extern "C"
12414 #endif
12415 char snd_pcm_hw_params_get_access_mask ();
12417 main ()
12419 return snd_pcm_hw_params_get_access_mask ();
12421 return 0;
12423 _ACEOF
12424 if ac_fn_c_try_link "$LINENO"; then :
12425 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12426 else
12427 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12429 rm -f core conftest.err conftest.$ac_objext \
12430 conftest$ac_exeext conftest.$ac_ext
12431 LIBS=$ac_check_lib_save_LIBS
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12434 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12435 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12437 /* end confdefs.h. */
12438 #ifdef HAVE_ALSA_ASOUNDLIB_H
12439 #include <alsa/asoundlib.h>
12440 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12441 #include <sys/asoundlib.h>
12442 #endif
12444 main ()
12446 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12448 return 0;
12450 _ACEOF
12451 if ac_fn_c_try_compile "$LINENO"; then :
12452 ALSA_LIBS="-lasound"
12454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12459 if test "x$with_oss" != xno
12460 then
12461 ac_save_CPPFLAGS="$CPPFLAGS"
12462 if test -f /etc/oss.conf
12463 then
12464 . /etc/oss.conf
12466 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12467 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12468 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12469 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12470 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12472 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12474 cat >>confdefs.h <<_ACEOF
12475 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12476 _ACEOF
12478 OSS4_CFLAGS="$ac_oss_incl"
12485 CPPFLAGS="$ac_save_CPPFLAGS"
12486 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12487 then
12488 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12492 if test "x$with_capi" != "xno"
12493 then
12494 if ${CAPI20_CFLAGS:+false} :; then :
12495 if ${PKG_CONFIG+:} false; then :
12496 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12500 if ${CAPI20_LIBS:+false} :; then :
12501 if ${PKG_CONFIG+:} false; then :
12502 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12507 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12508 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12509 ac_save_CPPFLAGS=$CPPFLAGS
12510 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12511 for ac_header in capi20.h linux/capi.h
12512 do :
12513 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12514 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12516 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12517 cat >>confdefs.h <<_ACEOF
12518 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12519 _ACEOF
12523 done
12525 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12526 then
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12528 $as_echo_n "checking for -lcapi20... " >&6; }
12529 if ${ac_cv_lib_soname_capi20+:} false; then :
12530 $as_echo_n "(cached) " >&6
12531 else
12532 ac_check_soname_save_LIBS=$LIBS
12533 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12535 /* end confdefs.h. */
12537 /* Override any GCC internal prototype to avoid an error.
12538 Use char because int might match the return type of a GCC
12539 builtin and then its argument prototype would still apply. */
12540 #ifdef __cplusplus
12541 extern "C"
12542 #endif
12543 char capi20_register ();
12545 main ()
12547 return capi20_register ();
12549 return 0;
12551 _ACEOF
12552 if ac_fn_c_try_link "$LINENO"; then :
12553 case "$LIBEXT" in
12554 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12555 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'` ;;
12556 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12557 if ${ac_cv_lib_soname_capi20:+false} :; then :
12558 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12559 fi ;;
12560 esac
12562 rm -f core conftest.err conftest.$ac_objext \
12563 conftest$ac_exeext conftest.$ac_ext
12564 LIBS=$ac_check_soname_save_LIBS
12566 if ${ac_cv_lib_soname_capi20:+false} :; then :
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12568 $as_echo "not found" >&6; }
12570 else
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12572 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12574 cat >>confdefs.h <<_ACEOF
12575 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12576 _ACEOF
12581 CPPFLAGS=$ac_save_CPPFLAGS
12582 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12583 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12586 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12587 case "x$with_capi" in
12588 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12589 xno) ;;
12590 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12591 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12592 esac
12595 CUPS_CFLAGS=""
12597 if test "x$with_cups" != "xno"
12598 then
12599 ac_save_CPPFLAGS="$CPPFLAGS"
12600 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12601 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12602 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12603 for ac_header in cups/cups.h
12604 do :
12605 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12606 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12607 cat >>confdefs.h <<_ACEOF
12608 #define HAVE_CUPS_CUPS_H 1
12609 _ACEOF
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12611 $as_echo_n "checking for -lcups... " >&6; }
12612 if ${ac_cv_lib_soname_cups+:} false; then :
12613 $as_echo_n "(cached) " >&6
12614 else
12615 ac_check_soname_save_LIBS=$LIBS
12616 LIBS="-lcups $ac_cups_libs $LIBS"
12617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12618 /* end confdefs.h. */
12620 /* Override any GCC internal prototype to avoid an error.
12621 Use char because int might match the return type of a GCC
12622 builtin and then its argument prototype would still apply. */
12623 #ifdef __cplusplus
12624 extern "C"
12625 #endif
12626 char cupsGetDefault ();
12628 main ()
12630 return cupsGetDefault ();
12632 return 0;
12634 _ACEOF
12635 if ac_fn_c_try_link "$LINENO"; then :
12636 case "$LIBEXT" in
12637 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12638 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'` ;;
12639 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12640 if ${ac_cv_lib_soname_cups:+false} :; then :
12641 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12642 fi ;;
12643 esac
12645 rm -f core conftest.err conftest.$ac_objext \
12646 conftest$ac_exeext conftest.$ac_ext
12647 LIBS=$ac_check_soname_save_LIBS
12649 if ${ac_cv_lib_soname_cups:+false} :; then :
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12651 $as_echo "not found" >&6; }
12653 else
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12655 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12657 cat >>confdefs.h <<_ACEOF
12658 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12659 _ACEOF
12661 CUPS_CFLAGS="$ac_cups_cflags"
12665 done
12667 CPPFLAGS="$ac_save_CPPFLAGS"
12669 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12670 case "x$with_cups" in
12671 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12672 xno) ;;
12673 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12674 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12675 esac
12678 if test "x$with_fontconfig" != "xno"
12679 then
12680 if ${FONTCONFIG_CFLAGS:+false} :; then :
12681 if ${PKG_CONFIG+:} false; then :
12682 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12685 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12686 if ${FONTCONFIG_LIBS:+false} :; then :
12687 if ${PKG_CONFIG+:} false; then :
12688 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12691 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12693 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12694 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12695 ac_save_CPPFLAGS=$CPPFLAGS
12696 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12697 for ac_header in fontconfig/fontconfig.h
12698 do :
12699 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12700 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12701 cat >>confdefs.h <<_ACEOF
12702 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12703 _ACEOF
12707 done
12709 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12710 then
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12712 $as_echo_n "checking for -lfontconfig... " >&6; }
12713 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12714 $as_echo_n "(cached) " >&6
12715 else
12716 ac_check_soname_save_LIBS=$LIBS
12717 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12719 /* end confdefs.h. */
12721 /* Override any GCC internal prototype to avoid an error.
12722 Use char because int might match the return type of a GCC
12723 builtin and then its argument prototype would still apply. */
12724 #ifdef __cplusplus
12725 extern "C"
12726 #endif
12727 char FcInit ();
12729 main ()
12731 return FcInit ();
12733 return 0;
12735 _ACEOF
12736 if ac_fn_c_try_link "$LINENO"; then :
12737 case "$LIBEXT" in
12738 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12739 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'` ;;
12740 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12741 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12742 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12743 fi ;;
12744 esac
12746 rm -f core conftest.err conftest.$ac_objext \
12747 conftest$ac_exeext conftest.$ac_ext
12748 LIBS=$ac_check_soname_save_LIBS
12750 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12752 $as_echo "not found" >&6; }
12753 FONTCONFIG_CFLAGS=""
12754 else
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12756 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12758 cat >>confdefs.h <<_ACEOF
12759 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12760 _ACEOF
12764 else
12765 FONTCONFIG_CFLAGS=""
12767 CPPFLAGS=$ac_save_CPPFLAGS
12768 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12769 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12772 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12773 case "x$with_fontconfig" in
12774 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12775 xno) ;;
12776 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12777 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12778 esac
12781 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12782 then
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12784 $as_echo_n "checking for -lgsm... " >&6; }
12785 if ${ac_cv_lib_soname_gsm+:} false; then :
12786 $as_echo_n "(cached) " >&6
12787 else
12788 ac_check_soname_save_LIBS=$LIBS
12789 LIBS="-lgsm $LIBS"
12790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12791 /* end confdefs.h. */
12793 /* Override any GCC internal prototype to avoid an error.
12794 Use char because int might match the return type of a GCC
12795 builtin and then its argument prototype would still apply. */
12796 #ifdef __cplusplus
12797 extern "C"
12798 #endif
12799 char gsm_create ();
12801 main ()
12803 return gsm_create ();
12805 return 0;
12807 _ACEOF
12808 if ac_fn_c_try_link "$LINENO"; then :
12809 case "$LIBEXT" in
12810 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12811 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'` ;;
12812 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12813 if ${ac_cv_lib_soname_gsm:+false} :; then :
12814 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12815 fi ;;
12816 esac
12818 rm -f core conftest.err conftest.$ac_objext \
12819 conftest$ac_exeext conftest.$ac_ext
12820 LIBS=$ac_check_soname_save_LIBS
12822 if ${ac_cv_lib_soname_gsm:+false} :; then :
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12824 $as_echo "not found" >&6; }
12826 else
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12828 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12830 cat >>confdefs.h <<_ACEOF
12831 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12832 _ACEOF
12837 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12838 case "x$with_gsm" in
12839 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12840 xno) ;;
12841 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12842 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12843 esac
12846 if test "x$with_jpeg" != "xno"
12847 then
12848 if ${JPEG_CFLAGS:+false} :; then :
12849 if ${PKG_CONFIG+:} false; then :
12850 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12854 if ${JPEG_LIBS:+false} :; then :
12855 if ${PKG_CONFIG+:} false; then :
12856 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12861 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12862 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12863 ac_save_CPPFLAGS=$CPPFLAGS
12864 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12865 for ac_header in jpeglib.h
12866 do :
12867 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12868 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12869 cat >>confdefs.h <<_ACEOF
12870 #define HAVE_JPEGLIB_H 1
12871 _ACEOF
12875 done
12877 if test "$ac_cv_header_jpeglib_h" = "yes"
12878 then
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12880 $as_echo_n "checking for -ljpeg... " >&6; }
12881 if ${ac_cv_lib_soname_jpeg+:} false; then :
12882 $as_echo_n "(cached) " >&6
12883 else
12884 ac_check_soname_save_LIBS=$LIBS
12885 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12887 /* end confdefs.h. */
12889 /* Override any GCC internal prototype to avoid an error.
12890 Use char because int might match the return type of a GCC
12891 builtin and then its argument prototype would still apply. */
12892 #ifdef __cplusplus
12893 extern "C"
12894 #endif
12895 char jpeg_start_decompress ();
12897 main ()
12899 return jpeg_start_decompress ();
12901 return 0;
12903 _ACEOF
12904 if ac_fn_c_try_link "$LINENO"; then :
12905 case "$LIBEXT" in
12906 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12907 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'` ;;
12908 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12909 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12910 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12911 fi ;;
12912 esac
12914 rm -f core conftest.err conftest.$ac_objext \
12915 conftest$ac_exeext conftest.$ac_ext
12916 LIBS=$ac_check_soname_save_LIBS
12918 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12920 $as_echo "not found" >&6; }
12921 JPEG_CFLAGS=""
12922 else
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12924 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12926 cat >>confdefs.h <<_ACEOF
12927 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12928 _ACEOF
12932 else
12933 JPEG_CFLAGS=""
12935 CPPFLAGS=$ac_save_CPPFLAGS
12936 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12937 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12940 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12941 case "x$with_jpeg" in
12942 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12943 xno) ;;
12944 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12945 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12946 esac
12949 if test "x$with_png" != "xno"
12950 then
12951 if ${PNG_CFLAGS:+false} :; then :
12952 if ${PKG_CONFIG+:} false; then :
12953 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12956 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12957 if ${PNG_LIBS:+false} :; then :
12958 if ${PKG_CONFIG+:} false; then :
12959 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12962 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12964 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12965 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12966 ac_save_CPPFLAGS=$CPPFLAGS
12967 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12968 for ac_header in png.h
12969 do :
12970 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12971 if test "x$ac_cv_header_png_h" = xyes; then :
12972 cat >>confdefs.h <<_ACEOF
12973 #define HAVE_PNG_H 1
12974 _ACEOF
12978 done
12980 if test "$ac_cv_header_png_h" = "yes"
12981 then
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12983 $as_echo_n "checking for -lpng... " >&6; }
12984 if ${ac_cv_lib_soname_png+:} false; then :
12985 $as_echo_n "(cached) " >&6
12986 else
12987 ac_check_soname_save_LIBS=$LIBS
12988 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12990 /* end confdefs.h. */
12992 /* Override any GCC internal prototype to avoid an error.
12993 Use char because int might match the return type of a GCC
12994 builtin and then its argument prototype would still apply. */
12995 #ifdef __cplusplus
12996 extern "C"
12997 #endif
12998 char png_create_read_struct ();
13000 main ()
13002 return png_create_read_struct ();
13004 return 0;
13006 _ACEOF
13007 if ac_fn_c_try_link "$LINENO"; then :
13008 case "$LIBEXT" in
13009 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13010 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'` ;;
13011 *) 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'`
13012 if ${ac_cv_lib_soname_png:+false} :; then :
13013 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13014 fi ;;
13015 esac
13017 rm -f core conftest.err conftest.$ac_objext \
13018 conftest$ac_exeext conftest.$ac_ext
13019 LIBS=$ac_check_soname_save_LIBS
13021 if ${ac_cv_lib_soname_png:+false} :; then :
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13023 $as_echo "not found" >&6; }
13024 PNG_CFLAGS=""
13025 else
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13027 $as_echo "$ac_cv_lib_soname_png" >&6; }
13029 cat >>confdefs.h <<_ACEOF
13030 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13031 _ACEOF
13033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13034 /* end confdefs.h. */
13035 #include <png.h>
13037 main ()
13039 typeof(png_set_expand_gray_1_2_4_to_8) *p
13041 return 0;
13043 _ACEOF
13044 if ac_fn_c_try_compile "$LINENO"; then :
13046 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13051 else
13052 PNG_CFLAGS=""
13054 CPPFLAGS=$ac_save_CPPFLAGS
13055 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13056 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13059 if test "x$ac_cv_lib_soname_png" = "x"; then :
13060 case "x$with_png" in
13061 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13062 xno) ;;
13063 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13064 This is an error since --with-png was requested." "$LINENO" 5 ;;
13065 esac
13068 if test "x$with_tiff" != "xno"
13069 then
13070 if ${TIFF_CFLAGS:+false} :; then :
13071 if ${PKG_CONFIG+:} false; then :
13072 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13076 if ${TIFF_LIBS:+false} :; then :
13077 if ${PKG_CONFIG+:} false; then :
13078 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13083 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13084 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13085 ac_save_CPPFLAGS=$CPPFLAGS
13086 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13087 for ac_header in tiffio.h
13088 do :
13089 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13090 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13091 cat >>confdefs.h <<_ACEOF
13092 #define HAVE_TIFFIO_H 1
13093 _ACEOF
13097 done
13099 if test "$ac_cv_header_tiffio_h" = "yes"
13100 then
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13102 $as_echo_n "checking for -ltiff... " >&6; }
13103 if ${ac_cv_lib_soname_tiff+:} false; then :
13104 $as_echo_n "(cached) " >&6
13105 else
13106 ac_check_soname_save_LIBS=$LIBS
13107 LIBS="-ltiff $TIFF_LIBS $LIBS"
13108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13109 /* end confdefs.h. */
13111 /* Override any GCC internal prototype to avoid an error.
13112 Use char because int might match the return type of a GCC
13113 builtin and then its argument prototype would still apply. */
13114 #ifdef __cplusplus
13115 extern "C"
13116 #endif
13117 char TIFFClientOpen ();
13119 main ()
13121 return TIFFClientOpen ();
13123 return 0;
13125 _ACEOF
13126 if ac_fn_c_try_link "$LINENO"; then :
13127 case "$LIBEXT" in
13128 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13129 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'` ;;
13130 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13131 if ${ac_cv_lib_soname_tiff:+false} :; then :
13132 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13133 fi ;;
13134 esac
13136 rm -f core conftest.err conftest.$ac_objext \
13137 conftest$ac_exeext conftest.$ac_ext
13138 LIBS=$ac_check_soname_save_LIBS
13140 if ${ac_cv_lib_soname_tiff:+false} :; then :
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13142 $as_echo "not found" >&6; }
13144 else
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13146 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13148 cat >>confdefs.h <<_ACEOF
13149 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13150 _ACEOF
13155 CPPFLAGS=$ac_save_CPPFLAGS
13156 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13157 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13160 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13161 case "x$with_tiff" in
13162 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13163 xno) ;;
13164 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13165 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13166 esac
13169 if test "x$with_mpg123" != "xno"
13170 then
13171 if ${MPG123_CFLAGS:+false} :; then :
13172 if ${PKG_CONFIG+:} false; then :
13173 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13177 if ${MPG123_LIBS:+false} :; then :
13178 if ${PKG_CONFIG+:} false; then :
13179 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13183 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13184 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13185 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13186 ac_save_CPPFLAGS=$CPPFLAGS
13187 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13188 for ac_header in mpg123.h
13189 do :
13190 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13191 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13192 cat >>confdefs.h <<_ACEOF
13193 #define HAVE_MPG123_H 1
13194 _ACEOF
13198 done
13200 if test "$ac_cv_header_mpg123_h" = "yes"
13201 then
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13203 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13204 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13205 $as_echo_n "(cached) " >&6
13206 else
13207 ac_check_lib_save_LIBS=$LIBS
13208 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13210 /* end confdefs.h. */
13212 /* Override any GCC internal prototype to avoid an error.
13213 Use char because int might match the return type of a GCC
13214 builtin and then its argument prototype would still apply. */
13215 #ifdef __cplusplus
13216 extern "C"
13217 #endif
13218 char mpg123_feed ();
13220 main ()
13222 return mpg123_feed ();
13224 return 0;
13226 _ACEOF
13227 if ac_fn_c_try_link "$LINENO"; then :
13228 ac_cv_lib_mpg123_mpg123_feed=yes
13229 else
13230 ac_cv_lib_mpg123_mpg123_feed=no
13232 rm -f core conftest.err conftest.$ac_objext \
13233 conftest$ac_exeext conftest.$ac_ext
13234 LIBS=$ac_check_lib_save_LIBS
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13237 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13238 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13240 else
13241 MPG123_LIBS=""
13244 else
13245 MPG123_CFLAGS=""
13246 MPG123_LIBS=""
13248 CPPFLAGS=$ac_save_CPPFLAGS
13249 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13250 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13253 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13254 case "x$with_mpg123" in
13255 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13256 xno) ;;
13257 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13258 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13259 esac
13261 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}
13263 if test "$ac_cv_header_AL_al_h" = "yes"
13264 then
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13266 $as_echo_n "checking for -lopenal... " >&6; }
13267 if ${ac_cv_lib_soname_openal+:} false; then :
13268 $as_echo_n "(cached) " >&6
13269 else
13270 ac_check_soname_save_LIBS=$LIBS
13271 LIBS="-lopenal $LIBS"
13272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13273 /* end confdefs.h. */
13275 /* Override any GCC internal prototype to avoid an error.
13276 Use char because int might match the return type of a GCC
13277 builtin and then its argument prototype would still apply. */
13278 #ifdef __cplusplus
13279 extern "C"
13280 #endif
13281 char alGetSource3i ();
13283 main ()
13285 return alGetSource3i ();
13287 return 0;
13289 _ACEOF
13290 if ac_fn_c_try_link "$LINENO"; then :
13291 case "$LIBEXT" in
13292 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13293 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'` ;;
13294 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13295 if ${ac_cv_lib_soname_openal:+false} :; then :
13296 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13297 fi ;;
13298 esac
13300 rm -f core conftest.err conftest.$ac_objext \
13301 conftest$ac_exeext conftest.$ac_ext
13302 LIBS=$ac_check_soname_save_LIBS
13304 if ${ac_cv_lib_soname_openal:+false} :; then :
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13306 $as_echo "not found" >&6; }
13308 else
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13310 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13312 cat >>confdefs.h <<_ACEOF
13313 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13314 _ACEOF
13316 OPENAL_LIBS="-lopenal"
13318 ac_cv_lib_openal=yes
13320 cat >>confdefs.h <<_ACEOF
13321 #define HAVE_OPENAL 1
13322 _ACEOF
13326 if test "x$ac_cv_lib_openal" != xyes; then :
13327 case "x$with_openal" in
13328 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13329 xno) ;;
13330 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13331 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13332 esac
13334 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13336 if test "$ac_cv_header_kstat_h" = "yes"
13337 then
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13339 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13340 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13341 $as_echo_n "(cached) " >&6
13342 else
13343 ac_check_lib_save_LIBS=$LIBS
13344 LIBS="-lkstat $LIBS"
13345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13346 /* end confdefs.h. */
13348 /* Override any GCC internal prototype to avoid an error.
13349 Use char because int might match the return type of a GCC
13350 builtin and then its argument prototype would still apply. */
13351 #ifdef __cplusplus
13352 extern "C"
13353 #endif
13354 char kstat_open ();
13356 main ()
13358 return kstat_open ();
13360 return 0;
13362 _ACEOF
13363 if ac_fn_c_try_link "$LINENO"; then :
13364 ac_cv_lib_kstat_kstat_open=yes
13365 else
13366 ac_cv_lib_kstat_kstat_open=no
13368 rm -f core conftest.err conftest.$ac_objext \
13369 conftest$ac_exeext conftest.$ac_ext
13370 LIBS=$ac_check_lib_save_LIBS
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13373 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13374 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13376 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13378 KSTAT_LIBS="-lkstat"
13384 if test "$ac_cv_header_libprocstat_h" = "yes"
13385 then
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13387 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13388 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13389 $as_echo_n "(cached) " >&6
13390 else
13391 ac_check_lib_save_LIBS=$LIBS
13392 LIBS="-lprocstat $LIBS"
13393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13394 /* end confdefs.h. */
13396 /* Override any GCC internal prototype to avoid an error.
13397 Use char because int might match the return type of a GCC
13398 builtin and then its argument prototype would still apply. */
13399 #ifdef __cplusplus
13400 extern "C"
13401 #endif
13402 char procstat_open_sysctl ();
13404 main ()
13406 return procstat_open_sysctl ();
13408 return 0;
13410 _ACEOF
13411 if ac_fn_c_try_link "$LINENO"; then :
13412 ac_cv_lib_procstat_procstat_open_sysctl=yes
13413 else
13414 ac_cv_lib_procstat_procstat_open_sysctl=no
13416 rm -f core conftest.err conftest.$ac_objext \
13417 conftest$ac_exeext conftest.$ac_ext
13418 LIBS=$ac_check_lib_save_LIBS
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13421 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13422 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13424 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13426 PROCSTAT_LIBS="-lprocstat"
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13433 $as_echo_n "checking for -lodbc... " >&6; }
13434 if ${ac_cv_lib_soname_odbc+:} false; then :
13435 $as_echo_n "(cached) " >&6
13436 else
13437 ac_check_soname_save_LIBS=$LIBS
13438 LIBS="-lodbc $LIBS"
13439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13440 /* end confdefs.h. */
13442 /* Override any GCC internal prototype to avoid an error.
13443 Use char because int might match the return type of a GCC
13444 builtin and then its argument prototype would still apply. */
13445 #ifdef __cplusplus
13446 extern "C"
13447 #endif
13448 char SQLConnect ();
13450 main ()
13452 return SQLConnect ();
13454 return 0;
13456 _ACEOF
13457 if ac_fn_c_try_link "$LINENO"; then :
13458 case "$LIBEXT" in
13459 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13460 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'` ;;
13461 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13462 if ${ac_cv_lib_soname_odbc:+false} :; then :
13463 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13464 fi ;;
13465 esac
13467 rm -f core conftest.err conftest.$ac_objext \
13468 conftest$ac_exeext conftest.$ac_ext
13469 LIBS=$ac_check_soname_save_LIBS
13471 if ${ac_cv_lib_soname_odbc:+false} :; then :
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13473 $as_echo "not found" >&6; }
13474 cat >>confdefs.h <<_ACEOF
13475 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13476 _ACEOF
13478 else
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13480 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13482 cat >>confdefs.h <<_ACEOF
13483 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13484 _ACEOF
13489 if test "x$with_netapi" != "xno"
13490 then
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13492 $as_echo_n "checking for -lnetapi... " >&6; }
13493 if ${ac_cv_lib_soname_netapi+:} false; then :
13494 $as_echo_n "(cached) " >&6
13495 else
13496 ac_check_soname_save_LIBS=$LIBS
13497 LIBS="-lnetapi $LIBS"
13498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13499 /* end confdefs.h. */
13501 /* Override any GCC internal prototype to avoid an error.
13502 Use char because int might match the return type of a GCC
13503 builtin and then its argument prototype would still apply. */
13504 #ifdef __cplusplus
13505 extern "C"
13506 #endif
13507 char libnetapi_init ();
13509 main ()
13511 return libnetapi_init ();
13513 return 0;
13515 _ACEOF
13516 if ac_fn_c_try_link "$LINENO"; then :
13517 case "$LIBEXT" in
13518 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13519 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'` ;;
13520 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13521 if ${ac_cv_lib_soname_netapi:+false} :; then :
13522 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13523 fi ;;
13524 esac
13526 rm -f core conftest.err conftest.$ac_objext \
13527 conftest$ac_exeext conftest.$ac_ext
13528 LIBS=$ac_check_soname_save_LIBS
13530 if ${ac_cv_lib_soname_netapi:+false} :; then :
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13532 $as_echo "not found" >&6; }
13533 cat >>confdefs.h <<_ACEOF
13534 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13535 _ACEOF
13537 else
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13539 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13541 cat >>confdefs.h <<_ACEOF
13542 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13543 _ACEOF
13549 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13550 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13551 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13552 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13554 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13555 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13556 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13557 then
13558 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13562 EXTRACFLAGS=""
13564 if test "x${GCC}" = "xyes"
13565 then
13566 EXTRACFLAGS="-Wall -pipe"
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13569 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13570 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13571 $as_echo_n "(cached) " >&6
13572 else
13573 if test "$cross_compiling" = yes; then :
13574 ac_cv_c_gcc_strength_bug="yes"
13575 else
13576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13577 /* end confdefs.h. */
13578 int L[4] = {0,1,2,3};
13580 main ()
13582 static int Array[3];
13583 unsigned int B = 3;
13584 int i;
13585 for(i=0; i<B; i++) Array[i] = i - 3;
13586 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13587 L[i] = 4;
13588 return (Array[1] != -2 || L[2] != 3)
13590 return 0;
13592 _ACEOF
13593 if ac_fn_c_try_run "$LINENO"; then :
13594 ac_cv_c_gcc_strength_bug="no"
13595 else
13596 ac_cv_c_gcc_strength_bug="yes"
13598 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13599 conftest.$ac_objext conftest.beam conftest.$ac_ext
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13604 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13605 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13606 then
13607 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13611 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13612 if ${ac_cv_cflags__fno_builtin+:} false; then :
13613 $as_echo_n "(cached) " >&6
13614 else
13615 ac_wine_try_cflags_saved=$CFLAGS
13616 CFLAGS="$CFLAGS -fno-builtin"
13617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13618 /* end confdefs.h. */
13619 int main(int argc, char **argv) { return 0; }
13620 _ACEOF
13621 if ac_fn_c_try_link "$LINENO"; then :
13622 ac_cv_cflags__fno_builtin=yes
13623 else
13624 ac_cv_cflags__fno_builtin=no
13626 rm -f core conftest.err conftest.$ac_objext \
13627 conftest$ac_exeext conftest.$ac_ext
13628 CFLAGS=$ac_wine_try_cflags_saved
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13631 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13632 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13633 BUILTINFLAG="-fno-builtin"
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13637 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13638 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13639 $as_echo_n "(cached) " >&6
13640 else
13641 ac_wine_try_cflags_saved=$CFLAGS
13642 CFLAGS="$CFLAGS -fno-strict-aliasing"
13643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13644 /* end confdefs.h. */
13645 int main(int argc, char **argv) { return 0; }
13646 _ACEOF
13647 if ac_fn_c_try_link "$LINENO"; then :
13648 ac_cv_cflags__fno_strict_aliasing=yes
13649 else
13650 ac_cv_cflags__fno_strict_aliasing=no
13652 rm -f core conftest.err conftest.$ac_objext \
13653 conftest$ac_exeext conftest.$ac_ext
13654 CFLAGS=$ac_wine_try_cflags_saved
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13657 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13658 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13659 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13661 saved_CFLAGS=$CFLAGS
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13663 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13664 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13665 $as_echo_n "(cached) " >&6
13666 else
13667 ac_wine_try_cflags_saved=$CFLAGS
13668 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13670 /* end confdefs.h. */
13671 int main(int argc, char **argv) { return 0; }
13672 _ACEOF
13673 if ac_fn_c_try_link "$LINENO"; then :
13674 ac_cv_cflags__Werror_unknown_warning_option=yes
13675 else
13676 ac_cv_cflags__Werror_unknown_warning_option=no
13678 rm -f core conftest.err conftest.$ac_objext \
13679 conftest$ac_exeext conftest.$ac_ext
13680 CFLAGS=$ac_wine_try_cflags_saved
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13683 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13684 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13685 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13688 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13689 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13690 $as_echo_n "(cached) " >&6
13691 else
13692 ac_wine_try_cflags_saved=$CFLAGS
13693 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13695 /* end confdefs.h. */
13696 int main(int argc, char **argv) { return 0; }
13697 _ACEOF
13698 if ac_fn_c_try_link "$LINENO"; then :
13699 ac_cv_cflags__Wdeclaration_after_statement=yes
13700 else
13701 ac_cv_cflags__Wdeclaration_after_statement=no
13703 rm -f core conftest.err conftest.$ac_objext \
13704 conftest$ac_exeext conftest.$ac_ext
13705 CFLAGS=$ac_wine_try_cflags_saved
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13708 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13709 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13710 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13713 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13714 if ${ac_cv_cflags__Wempty_body+:} false; then :
13715 $as_echo_n "(cached) " >&6
13716 else
13717 ac_wine_try_cflags_saved=$CFLAGS
13718 CFLAGS="$CFLAGS -Wempty-body"
13719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13720 /* end confdefs.h. */
13721 int main(int argc, char **argv) { return 0; }
13722 _ACEOF
13723 if ac_fn_c_try_link "$LINENO"; then :
13724 ac_cv_cflags__Wempty_body=yes
13725 else
13726 ac_cv_cflags__Wempty_body=no
13728 rm -f core conftest.err conftest.$ac_objext \
13729 conftest$ac_exeext conftest.$ac_ext
13730 CFLAGS=$ac_wine_try_cflags_saved
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13733 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13734 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13735 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13738 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13739 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13740 $as_echo_n "(cached) " >&6
13741 else
13742 ac_wine_try_cflags_saved=$CFLAGS
13743 CFLAGS="$CFLAGS -Wignored-qualifiers"
13744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13745 /* end confdefs.h. */
13746 int main(int argc, char **argv) { return 0; }
13747 _ACEOF
13748 if ac_fn_c_try_link "$LINENO"; then :
13749 ac_cv_cflags__Wignored_qualifiers=yes
13750 else
13751 ac_cv_cflags__Wignored_qualifiers=no
13753 rm -f core conftest.err conftest.$ac_objext \
13754 conftest$ac_exeext conftest.$ac_ext
13755 CFLAGS=$ac_wine_try_cflags_saved
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13758 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13759 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13760 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13763 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13764 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13765 $as_echo_n "(cached) " >&6
13766 else
13767 ac_wine_try_cflags_saved=$CFLAGS
13768 CFLAGS="$CFLAGS -Wstrict-prototypes"
13769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13770 /* end confdefs.h. */
13771 int main(int argc, char **argv) { return 0; }
13772 _ACEOF
13773 if ac_fn_c_try_link "$LINENO"; then :
13774 ac_cv_cflags__Wstrict_prototypes=yes
13775 else
13776 ac_cv_cflags__Wstrict_prototypes=no
13778 rm -f core conftest.err conftest.$ac_objext \
13779 conftest$ac_exeext conftest.$ac_ext
13780 CFLAGS=$ac_wine_try_cflags_saved
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13783 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13784 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13785 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13788 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13789 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13790 $as_echo_n "(cached) " >&6
13791 else
13792 ac_wine_try_cflags_saved=$CFLAGS
13793 CFLAGS="$CFLAGS -Wtype-limits"
13794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13795 /* end confdefs.h. */
13796 int main(int argc, char **argv) { return 0; }
13797 _ACEOF
13798 if ac_fn_c_try_link "$LINENO"; then :
13799 ac_cv_cflags__Wtype_limits=yes
13800 else
13801 ac_cv_cflags__Wtype_limits=no
13803 rm -f core conftest.err conftest.$ac_objext \
13804 conftest$ac_exeext conftest.$ac_ext
13805 CFLAGS=$ac_wine_try_cflags_saved
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13808 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13809 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13810 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13813 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13814 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13815 $as_echo_n "(cached) " >&6
13816 else
13817 ac_wine_try_cflags_saved=$CFLAGS
13818 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13820 /* end confdefs.h. */
13821 int main(int argc, char **argv) { return 0; }
13822 _ACEOF
13823 if ac_fn_c_try_link "$LINENO"; then :
13824 ac_cv_cflags__Wunused_but_set_parameter=yes
13825 else
13826 ac_cv_cflags__Wunused_but_set_parameter=no
13828 rm -f core conftest.err conftest.$ac_objext \
13829 conftest$ac_exeext conftest.$ac_ext
13830 CFLAGS=$ac_wine_try_cflags_saved
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13833 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13834 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13835 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13838 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13839 if ${ac_cv_cflags__Wvla+:} false; then :
13840 $as_echo_n "(cached) " >&6
13841 else
13842 ac_wine_try_cflags_saved=$CFLAGS
13843 CFLAGS="$CFLAGS -Wvla"
13844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13845 /* end confdefs.h. */
13846 int main(int argc, char **argv) { return 0; }
13847 _ACEOF
13848 if ac_fn_c_try_link "$LINENO"; then :
13849 ac_cv_cflags__Wvla=yes
13850 else
13851 ac_cv_cflags__Wvla=no
13853 rm -f core conftest.err conftest.$ac_objext \
13854 conftest$ac_exeext conftest.$ac_ext
13855 CFLAGS=$ac_wine_try_cflags_saved
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13858 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13859 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13860 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13863 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13864 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13865 $as_echo_n "(cached) " >&6
13866 else
13867 ac_wine_try_cflags_saved=$CFLAGS
13868 CFLAGS="$CFLAGS -Wwrite-strings"
13869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13870 /* end confdefs.h. */
13871 int main(int argc, char **argv) { return 0; }
13872 _ACEOF
13873 if ac_fn_c_try_link "$LINENO"; then :
13874 ac_cv_cflags__Wwrite_strings=yes
13875 else
13876 ac_cv_cflags__Wwrite_strings=no
13878 rm -f core conftest.err conftest.$ac_objext \
13879 conftest$ac_exeext conftest.$ac_ext
13880 CFLAGS=$ac_wine_try_cflags_saved
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13883 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13884 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13885 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13889 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13890 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13891 $as_echo_n "(cached) " >&6
13892 else
13893 ac_wine_try_cflags_saved=$CFLAGS
13894 CFLAGS="$CFLAGS -Wpointer-arith"
13895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13896 /* end confdefs.h. */
13897 int main(int argc, char **argv) { return 0; }
13898 _ACEOF
13899 if ac_fn_c_try_link "$LINENO"; then :
13900 ac_cv_cflags__Wpointer_arith=yes
13901 else
13902 ac_cv_cflags__Wpointer_arith=no
13904 rm -f core conftest.err conftest.$ac_objext \
13905 conftest$ac_exeext conftest.$ac_ext
13906 CFLAGS=$ac_wine_try_cflags_saved
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13909 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13910 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13911 saved_string_h_CFLAGS=$CFLAGS
13912 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13914 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13915 if ${ac_cv_c_string_h_warnings+:} false; then :
13916 $as_echo_n "(cached) " >&6
13917 else
13918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13919 /* end confdefs.h. */
13920 #include <string.h>
13922 main ()
13926 return 0;
13928 _ACEOF
13929 if ac_fn_c_try_compile "$LINENO"; then :
13930 ac_cv_c_string_h_warnings=no
13931 else
13932 ac_cv_c_string_h_warnings=yes
13934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13937 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13938 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13939 CFLAGS=$saved_string_h_CFLAGS
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13943 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13944 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13945 $as_echo_n "(cached) " >&6
13946 else
13947 ac_wine_try_cflags_saved=$CFLAGS
13948 CFLAGS="$CFLAGS -Wlogical-op"
13949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13950 /* end confdefs.h. */
13951 int main(int argc, char **argv) { return 0; }
13952 _ACEOF
13953 if ac_fn_c_try_link "$LINENO"; then :
13954 ac_cv_cflags__Wlogical_op=yes
13955 else
13956 ac_cv_cflags__Wlogical_op=no
13958 rm -f core conftest.err conftest.$ac_objext \
13959 conftest$ac_exeext conftest.$ac_ext
13960 CFLAGS=$ac_wine_try_cflags_saved
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13963 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13964 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13965 saved_string_h_CFLAGS=$CFLAGS
13966 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13968 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13969 if ${ac_cv_c_logicalop_noisy+:} false; then :
13970 $as_echo_n "(cached) " >&6
13971 else
13972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13973 /* end confdefs.h. */
13974 #include <string.h>
13975 char*f(const char *h,char n) {return strchr(h,n);}
13977 main ()
13981 return 0;
13983 _ACEOF
13984 if ac_fn_c_try_compile "$LINENO"; then :
13985 ac_cv_c_logicalop_noisy=no
13986 else
13987 ac_cv_c_logicalop_noisy=yes
13989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13992 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13993 CFLAGS=$saved_string_h_CFLAGS
13994 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13997 CFLAGS=$saved_CFLAGS
13999 for ac_flag in $CFLAGS; do
14000 case $ac_flag in
14001 -g) case $host_os in
14002 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14003 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14004 if ${ac_cv_cflags__gstabsp+:} false; then :
14005 $as_echo_n "(cached) " >&6
14006 else
14007 ac_wine_try_cflags_saved=$CFLAGS
14008 CFLAGS="$CFLAGS -gstabs+"
14009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14010 /* end confdefs.h. */
14011 int main(int argc, char **argv) { return 0; }
14012 _ACEOF
14013 if ac_fn_c_try_link "$LINENO"; then :
14014 ac_cv_cflags__gstabsp=yes
14015 else
14016 ac_cv_cflags__gstabsp=no
14018 rm -f core conftest.err conftest.$ac_objext \
14019 conftest$ac_exeext conftest.$ac_ext
14020 CFLAGS=$ac_wine_try_cflags_saved
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14023 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14024 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14025 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14026 fi ;;
14027 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14028 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14029 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14030 $as_echo_n "(cached) " >&6
14031 else
14032 ac_wine_try_cflags_saved=$CFLAGS
14033 CFLAGS="$CFLAGS -gdwarf-2"
14034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14035 /* end confdefs.h. */
14036 int main(int argc, char **argv) { return 0; }
14037 _ACEOF
14038 if ac_fn_c_try_link "$LINENO"; then :
14039 ac_cv_cflags__gdwarf_2=yes
14040 else
14041 ac_cv_cflags__gdwarf_2=no
14043 rm -f core conftest.err conftest.$ac_objext \
14044 conftest$ac_exeext conftest.$ac_ext
14045 CFLAGS=$ac_wine_try_cflags_saved
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14048 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14049 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14050 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14053 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14054 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14055 $as_echo_n "(cached) " >&6
14056 else
14057 ac_wine_try_cflags_saved=$CFLAGS
14058 CFLAGS="$CFLAGS -gstrict-dwarf"
14059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14060 /* end confdefs.h. */
14061 int main(int argc, char **argv) { return 0; }
14062 _ACEOF
14063 if ac_fn_c_try_link "$LINENO"; then :
14064 ac_cv_cflags__gstrict_dwarf=yes
14065 else
14066 ac_cv_cflags__gstrict_dwarf=no
14068 rm -f core conftest.err conftest.$ac_objext \
14069 conftest$ac_exeext conftest.$ac_ext
14070 CFLAGS=$ac_wine_try_cflags_saved
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14073 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14074 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14075 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14076 fi ;;
14077 esac ;;
14078 esac
14079 done
14081 case $host_cpu in
14082 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14083 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14084 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14085 $as_echo_n "(cached) " >&6
14086 else
14087 ac_wine_try_cflags_saved=$CFLAGS
14088 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14090 /* end confdefs.h. */
14091 int main(int argc, char **argv) { return 0; }
14092 _ACEOF
14093 if ac_fn_c_try_link "$LINENO"; then :
14094 ac_cv_cflags__fno_omit_frame_pointer=yes
14095 else
14096 ac_cv_cflags__fno_omit_frame_pointer=no
14098 rm -f core conftest.err conftest.$ac_objext \
14099 conftest$ac_exeext conftest.$ac_ext
14100 CFLAGS=$ac_wine_try_cflags_saved
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14103 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14104 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14105 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14106 fi ;;
14107 esac
14109 case $host in
14110 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14111 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14112 if ${ac_cv_cflags__Wno_format+:} false; then :
14113 $as_echo_n "(cached) " >&6
14114 else
14115 ac_wine_try_cflags_saved=$CFLAGS
14116 CFLAGS="$CFLAGS -Wno-format"
14117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14118 /* end confdefs.h. */
14119 int main(int argc, char **argv) { return 0; }
14120 _ACEOF
14121 if ac_fn_c_try_link "$LINENO"; then :
14122 ac_cv_cflags__Wno_format=yes
14123 else
14124 ac_cv_cflags__Wno_format=no
14126 rm -f core conftest.err conftest.$ac_objext \
14127 conftest$ac_exeext conftest.$ac_ext
14128 CFLAGS=$ac_wine_try_cflags_saved
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14131 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14132 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14133 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14134 fi ;;
14135 esac
14137 if test "x$enable_maintainer_mode" = "xyes"
14138 then
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14140 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14141 if ${ac_cv_cflags__Werror+:} false; then :
14142 $as_echo_n "(cached) " >&6
14143 else
14144 ac_wine_try_cflags_saved=$CFLAGS
14145 CFLAGS="$CFLAGS -Werror"
14146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14147 /* end confdefs.h. */
14148 int main(int argc, char **argv) { return 0; }
14149 _ACEOF
14150 if ac_fn_c_try_link "$LINENO"; then :
14151 ac_cv_cflags__Werror=yes
14152 else
14153 ac_cv_cflags__Werror=no
14155 rm -f core conftest.err conftest.$ac_objext \
14156 conftest$ac_exeext conftest.$ac_ext
14157 CFLAGS=$ac_wine_try_cflags_saved
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14160 $as_echo "$ac_cv_cflags__Werror" >&6; }
14161 if test "x$ac_cv_cflags__Werror" = xyes; then :
14162 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14166 saved_CFLAGS="$CFLAGS"
14167 CFLAGS="$CFLAGS -Werror"
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14169 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14170 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14171 $as_echo_n "(cached) " >&6
14172 else
14173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14174 /* end confdefs.h. */
14175 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14177 main ()
14181 return 0;
14183 _ACEOF
14184 if ac_fn_c_try_compile "$LINENO"; then :
14185 ac_cv_have_ms_hook_prologue="yes"
14186 else
14187 ac_cv_have_ms_hook_prologue="no"
14189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14192 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14193 CFLAGS="$saved_CFLAGS"
14194 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14195 then
14197 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14199 else
14200 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14207 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14208 if ${ac_cv_c_fortify_enabled+:} false; then :
14209 $as_echo_n "(cached) " >&6
14210 else
14211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14212 /* end confdefs.h. */
14213 #include <string.h>
14215 main ()
14217 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14218 #error Fortify enabled
14219 #endif
14221 return 0;
14223 _ACEOF
14224 if ac_fn_c_try_compile "$LINENO"; then :
14225 ac_cv_c_fortify_enabled=no
14226 else
14227 ac_cv_c_fortify_enabled=yes
14229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14232 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14233 if test "$ac_cv_c_fortify_enabled" = yes
14234 then
14235 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14240 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14241 if ${ac_cv_c_extern_prefix+:} false; then :
14242 $as_echo_n "(cached) " >&6
14243 else
14244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14245 /* end confdefs.h. */
14246 extern int ac_test;
14248 main ()
14250 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14252 return 0;
14254 _ACEOF
14255 if ac_fn_c_try_link "$LINENO"; then :
14256 ac_cv_c_extern_prefix="yes"
14257 else
14258 ac_cv_c_extern_prefix="no"
14260 rm -f core conftest.err conftest.$ac_objext \
14261 conftest$ac_exeext conftest.$ac_ext
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14264 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14266 case $host_cpu in
14267 *i[3456789]86*)
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14269 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14270 if ${ac_cv_c_stdcall_suffix+:} false; then :
14271 $as_echo_n "(cached) " >&6
14272 else
14273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14274 /* end confdefs.h. */
14275 #ifndef _MSC_VER
14276 #define __stdcall __attribute__((__stdcall__))
14277 #endif
14278 int __stdcall ac_test(int i) { return i; }
14280 main ()
14282 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14284 return 0;
14286 _ACEOF
14287 if ac_fn_c_try_link "$LINENO"; then :
14288 ac_cv_c_stdcall_suffix="yes"
14289 else
14290 ac_cv_c_stdcall_suffix="no"
14292 rm -f core conftest.err conftest.$ac_objext \
14293 conftest$ac_exeext conftest.$ac_ext
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14296 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14297 *) ac_cv_c_stdcall_suffix="no" ;;
14298 esac
14301 if test "$ac_cv_c_extern_prefix" = "yes"
14302 then
14303 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14305 asm_name_prefix="_"
14306 else
14307 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14309 asm_name_prefix=""
14313 if test "$ac_cv_c_stdcall_suffix" = "yes"
14314 then
14315 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14317 else
14318 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14324 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14325 if ${ac_cv_asm_func_def+:} false; then :
14326 $as_echo_n "(cached) " >&6
14327 else
14328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14329 /* end confdefs.h. */
14332 main ()
14334 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14336 return 0;
14338 _ACEOF
14339 if ac_fn_c_try_link "$LINENO"; then :
14340 ac_cv_asm_func_def=".def"
14341 else
14342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14343 /* end confdefs.h. */
14346 main ()
14348 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14350 return 0;
14352 _ACEOF
14353 if ac_fn_c_try_link "$LINENO"; then :
14354 ac_cv_asm_func_def=".type @function"
14355 else
14356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14357 /* end confdefs.h. */
14360 main ()
14362 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14364 return 0;
14366 _ACEOF
14367 if ac_fn_c_try_link "$LINENO"; then :
14368 ac_cv_asm_func_def=".type 2"
14369 else
14370 ac_cv_asm_func_def="unknown"
14372 rm -f core conftest.err conftest.$ac_objext \
14373 conftest$ac_exeext conftest.$ac_ext
14375 rm -f core conftest.err conftest.$ac_objext \
14376 conftest$ac_exeext conftest.$ac_ext
14378 rm -f core conftest.err conftest.$ac_objext \
14379 conftest$ac_exeext conftest.$ac_ext
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14382 $as_echo "$ac_cv_asm_func_def" >&6; }
14385 case "$ac_cv_asm_func_def" in
14386 ".def")
14387 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14389 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14390 ".type @function")
14391 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14393 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14394 ".type 2")
14395 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14397 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14399 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14401 asm_func_header="" ;;
14402 esac
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14405 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14406 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14407 $as_echo_n "(cached) " >&6
14408 else
14409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14410 /* end confdefs.h. */
14411 asm(".text\n\t.long 0");
14413 main ()
14417 return 0;
14419 _ACEOF
14420 if ac_fn_c_try_compile "$LINENO"; then :
14421 ac_cv_c_asm_outside_funcs="yes"
14422 else
14423 ac_cv_c_asm_outside_funcs="no"
14425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14428 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14431 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14432 if ${ac_cv_c_dot_previous+:} false; then :
14433 $as_echo_n "(cached) " >&6
14434 else
14435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14436 /* end confdefs.h. */
14439 main ()
14441 asm(".text\nac_test:\t.long 0\n\t.previous");
14443 return 0;
14445 _ACEOF
14446 if ac_fn_c_try_link "$LINENO"; then :
14447 ac_cv_c_dot_previous="yes"
14448 else
14449 ac_cv_c_dot_previous="no"
14451 rm -f core conftest.err conftest.$ac_objext \
14452 conftest$ac_exeext conftest.$ac_ext
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14455 $as_echo "$ac_cv_c_dot_previous" >&6; }
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14458 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14459 if ${ac_cv_c_cfi_support+:} false; then :
14460 $as_echo_n "(cached) " >&6
14461 else
14462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14463 /* end confdefs.h. */
14464 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14466 main ()
14470 return 0;
14472 _ACEOF
14473 if ac_fn_c_try_compile "$LINENO"; then :
14474 ac_cv_c_cfi_support="yes"
14475 else
14476 ac_cv_c_cfi_support="no"
14478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14481 $as_echo "$ac_cv_c_cfi_support" >&6; }
14483 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14484 asm_func_trailer=""
14485 if test "$ac_cv_c_dot_previous" = "yes"
14486 then
14487 asm_func_trailer="\\n\\t.previous"
14489 if test "$ac_cv_c_cfi_support" = "yes"
14490 then
14491 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14492 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14494 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14496 UNWINDFLAGS=-fasynchronous-unwind-tables
14498 else
14499 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14503 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14506 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14507 then
14508 cat >>confdefs.h <<_ACEOF
14509 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14510 _ACEOF
14512 else
14513 cat >>confdefs.h <<_ACEOF
14514 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14515 _ACEOF
14519 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14522 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14526 case $build_os in
14527 cygwin*|mingw32*) TOOLSEXT=".exe"
14529 esac
14531 case $host_os in
14532 linux*)
14533 case $host_cpu in
14534 *i[3456789]86*|x86_64*)
14535 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14536 loader_programs="$loader_programs $wine_binary-preloader"
14537 as_fn_append LOADER_RULES "
14538 $wine_binary-preloader: preloader.o
14539 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14541 install install-lib:: $wine_binary-preloader
14542 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14544 uninstall::
14545 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14547 preloader_EXTRADEFS = $BUILTINFLAG
14548 " ;;
14549 esac
14551 esac
14552 as_fn_append LOADER_RULES "
14553 PROGRAMS = $loader_programs
14557 ac_save_CFLAGS="$CFLAGS"
14558 CFLAGS="$CFLAGS $BUILTINFLAG"
14559 for ac_func in \
14560 __res_get_state \
14561 __res_getservers \
14562 _finite \
14563 _isnan \
14564 _pclose \
14565 _popen \
14566 _snprintf \
14567 _spawnvp \
14568 _strdup \
14569 _stricmp \
14570 _strnicmp \
14571 _strtoi64 \
14572 _strtoui64 \
14573 _vsnprintf \
14574 asctime_r \
14575 chsize \
14576 dlopen \
14577 epoll_create \
14578 ffs \
14579 fnmatch \
14580 fork \
14581 fpclass \
14582 fstatfs \
14583 fstatvfs \
14584 ftruncate \
14585 futimens \
14586 futimes \
14587 futimesat \
14588 getattrlist \
14589 getdirentries \
14590 getopt_long_only \
14591 getpwuid \
14592 gettimeofday \
14593 getuid \
14594 if_nameindex \
14595 kqueue \
14596 lstat \
14597 memmove \
14598 mmap \
14599 pclose \
14600 pipe2 \
14601 poll \
14602 popen \
14603 port_create \
14604 prctl \
14605 pread \
14606 proc_pidinfo \
14607 pwrite \
14608 readdir \
14609 readlink \
14610 sched_yield \
14611 select \
14612 setproctitle \
14613 setrlimit \
14614 settimeofday \
14615 sigaltstack \
14616 sigprocmask \
14617 snprintf \
14618 statfs \
14619 statvfs \
14620 strcasecmp \
14621 strdup \
14622 strerror \
14623 strncasecmp \
14624 strtold \
14625 strtoll \
14626 strtoull \
14627 symlink \
14628 tcdrain \
14629 thr_kill2 \
14630 timegm \
14631 usleep \
14632 vsnprintf
14634 do :
14635 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14636 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14637 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14638 cat >>confdefs.h <<_ACEOF
14639 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14640 _ACEOF
14643 done
14645 CFLAGS="$ac_save_CFLAGS"
14647 if test "$ac_cv_func_dlopen" = no
14648 then
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14650 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14651 if ${ac_cv_lib_dl_dlopen+:} false; then :
14652 $as_echo_n "(cached) " >&6
14653 else
14654 ac_check_lib_save_LIBS=$LIBS
14655 LIBS="-ldl $LIBS"
14656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14657 /* end confdefs.h. */
14659 /* Override any GCC internal prototype to avoid an error.
14660 Use char because int might match the return type of a GCC
14661 builtin and then its argument prototype would still apply. */
14662 #ifdef __cplusplus
14663 extern "C"
14664 #endif
14665 char dlopen ();
14667 main ()
14669 return dlopen ();
14671 return 0;
14673 _ACEOF
14674 if ac_fn_c_try_link "$LINENO"; then :
14675 ac_cv_lib_dl_dlopen=yes
14676 else
14677 ac_cv_lib_dl_dlopen=no
14679 rm -f core conftest.err conftest.$ac_objext \
14680 conftest$ac_exeext conftest.$ac_ext
14681 LIBS=$ac_check_lib_save_LIBS
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14684 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14685 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14686 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14687 DL_LIBS="-ldl"
14692 ac_wine_check_funcs_save_LIBS="$LIBS"
14693 LIBS="$LIBS $DL_LIBS"
14694 for ac_func in dladdr
14695 do :
14696 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14697 if test "x$ac_cv_func_dladdr" = xyes; then :
14698 cat >>confdefs.h <<_ACEOF
14699 #define HAVE_DLADDR 1
14700 _ACEOF
14703 done
14705 LIBS="$ac_wine_check_funcs_save_LIBS"
14707 if test "$ac_cv_func_poll" = no
14708 then
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14710 $as_echo_n "checking for poll in -lpoll... " >&6; }
14711 if ${ac_cv_lib_poll_poll+:} false; then :
14712 $as_echo_n "(cached) " >&6
14713 else
14714 ac_check_lib_save_LIBS=$LIBS
14715 LIBS="-lpoll $LIBS"
14716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14717 /* end confdefs.h. */
14719 /* Override any GCC internal prototype to avoid an error.
14720 Use char because int might match the return type of a GCC
14721 builtin and then its argument prototype would still apply. */
14722 #ifdef __cplusplus
14723 extern "C"
14724 #endif
14725 char poll ();
14727 main ()
14729 return poll ();
14731 return 0;
14733 _ACEOF
14734 if ac_fn_c_try_link "$LINENO"; then :
14735 ac_cv_lib_poll_poll=yes
14736 else
14737 ac_cv_lib_poll_poll=no
14739 rm -f core conftest.err conftest.$ac_objext \
14740 conftest$ac_exeext conftest.$ac_ext
14741 LIBS=$ac_check_lib_save_LIBS
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14744 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14745 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14746 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14747 POLL_LIBS="-lpoll"
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14754 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14755 if ${ac_cv_search_gethostbyname+:} false; then :
14756 $as_echo_n "(cached) " >&6
14757 else
14758 ac_func_search_save_LIBS=$LIBS
14759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14760 /* end confdefs.h. */
14762 /* Override any GCC internal prototype to avoid an error.
14763 Use char because int might match the return type of a GCC
14764 builtin and then its argument prototype would still apply. */
14765 #ifdef __cplusplus
14766 extern "C"
14767 #endif
14768 char gethostbyname ();
14770 main ()
14772 return gethostbyname ();
14774 return 0;
14776 _ACEOF
14777 for ac_lib in '' nsl; do
14778 if test -z "$ac_lib"; then
14779 ac_res="none required"
14780 else
14781 ac_res=-l$ac_lib
14782 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14784 if ac_fn_c_try_link "$LINENO"; then :
14785 ac_cv_search_gethostbyname=$ac_res
14787 rm -f core conftest.err conftest.$ac_objext \
14788 conftest$ac_exeext
14789 if ${ac_cv_search_gethostbyname+:} false; then :
14790 break
14792 done
14793 if ${ac_cv_search_gethostbyname+:} false; then :
14795 else
14796 ac_cv_search_gethostbyname=no
14798 rm conftest.$ac_ext
14799 LIBS=$ac_func_search_save_LIBS
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14802 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14803 ac_res=$ac_cv_search_gethostbyname
14804 if test "$ac_res" != no; then :
14805 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14811 $as_echo_n "checking for library containing connect... " >&6; }
14812 if ${ac_cv_search_connect+:} false; then :
14813 $as_echo_n "(cached) " >&6
14814 else
14815 ac_func_search_save_LIBS=$LIBS
14816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14817 /* end confdefs.h. */
14819 /* Override any GCC internal prototype to avoid an error.
14820 Use char because int might match the return type of a GCC
14821 builtin and then its argument prototype would still apply. */
14822 #ifdef __cplusplus
14823 extern "C"
14824 #endif
14825 char connect ();
14827 main ()
14829 return connect ();
14831 return 0;
14833 _ACEOF
14834 for ac_lib in '' socket; do
14835 if test -z "$ac_lib"; then
14836 ac_res="none required"
14837 else
14838 ac_res=-l$ac_lib
14839 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14841 if ac_fn_c_try_link "$LINENO"; then :
14842 ac_cv_search_connect=$ac_res
14844 rm -f core conftest.err conftest.$ac_objext \
14845 conftest$ac_exeext
14846 if ${ac_cv_search_connect+:} false; then :
14847 break
14849 done
14850 if ${ac_cv_search_connect+:} false; then :
14852 else
14853 ac_cv_search_connect=no
14855 rm conftest.$ac_ext
14856 LIBS=$ac_func_search_save_LIBS
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14859 $as_echo "$ac_cv_search_connect" >&6; }
14860 ac_res=$ac_cv_search_connect
14861 if test "$ac_res" != no; then :
14862 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14868 $as_echo_n "checking for library containing inet_aton... " >&6; }
14869 if ${ac_cv_search_inet_aton+:} false; then :
14870 $as_echo_n "(cached) " >&6
14871 else
14872 ac_func_search_save_LIBS=$LIBS
14873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14874 /* end confdefs.h. */
14876 /* Override any GCC internal prototype to avoid an error.
14877 Use char because int might match the return type of a GCC
14878 builtin and then its argument prototype would still apply. */
14879 #ifdef __cplusplus
14880 extern "C"
14881 #endif
14882 char inet_aton ();
14884 main ()
14886 return inet_aton ();
14888 return 0;
14890 _ACEOF
14891 for ac_lib in '' resolv; do
14892 if test -z "$ac_lib"; then
14893 ac_res="none required"
14894 else
14895 ac_res=-l$ac_lib
14896 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14898 if ac_fn_c_try_link "$LINENO"; then :
14899 ac_cv_search_inet_aton=$ac_res
14901 rm -f core conftest.err conftest.$ac_objext \
14902 conftest$ac_exeext
14903 if ${ac_cv_search_inet_aton+:} false; then :
14904 break
14906 done
14907 if ${ac_cv_search_inet_aton+:} false; then :
14909 else
14910 ac_cv_search_inet_aton=no
14912 rm conftest.$ac_ext
14913 LIBS=$ac_func_search_save_LIBS
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14916 $as_echo "$ac_cv_search_inet_aton" >&6; }
14917 ac_res=$ac_cv_search_inet_aton
14918 if test "$ac_res" != no; then :
14919 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14924 for ac_func in \
14925 getaddrinfo \
14926 getnameinfo \
14927 getnetbyname \
14928 getprotobyname \
14929 getprotobynumber \
14930 getservbyport \
14931 inet_addr \
14932 inet_network \
14933 inet_ntop \
14934 inet_pton \
14935 sendmsg \
14936 socketpair \
14938 do :
14939 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14940 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14941 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14942 cat >>confdefs.h <<_ACEOF
14943 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14944 _ACEOF
14947 done
14950 ac_save_LIBS=$LIBS
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14952 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14953 if ${ac_cv_search_clock_gettime+:} false; then :
14954 $as_echo_n "(cached) " >&6
14955 else
14956 ac_func_search_save_LIBS=$LIBS
14957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14958 /* end confdefs.h. */
14960 /* Override any GCC internal prototype to avoid an error.
14961 Use char because int might match the return type of a GCC
14962 builtin and then its argument prototype would still apply. */
14963 #ifdef __cplusplus
14964 extern "C"
14965 #endif
14966 char clock_gettime ();
14968 main ()
14970 return clock_gettime ();
14972 return 0;
14974 _ACEOF
14975 for ac_lib in '' rt; do
14976 if test -z "$ac_lib"; then
14977 ac_res="none required"
14978 else
14979 ac_res=-l$ac_lib
14980 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14982 if ac_fn_c_try_link "$LINENO"; then :
14983 ac_cv_search_clock_gettime=$ac_res
14985 rm -f core conftest.err conftest.$ac_objext \
14986 conftest$ac_exeext
14987 if ${ac_cv_search_clock_gettime+:} false; then :
14988 break
14990 done
14991 if ${ac_cv_search_clock_gettime+:} false; then :
14993 else
14994 ac_cv_search_clock_gettime=no
14996 rm conftest.$ac_ext
14997 LIBS=$ac_func_search_save_LIBS
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15000 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15001 ac_res=$ac_cv_search_clock_gettime
15002 if test "$ac_res" != no; then :
15003 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15005 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15007 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15011 LIBS=$ac_save_LIBS
15013 LDAP_LIBS=""
15015 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15016 then
15017 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15019 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15021 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15022 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15023 $as_echo_n "(cached) " >&6
15024 else
15025 ac_check_lib_save_LIBS=$LIBS
15026 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15028 /* end confdefs.h. */
15030 /* Override any GCC internal prototype to avoid an error.
15031 Use char because int might match the return type of a GCC
15032 builtin and then its argument prototype would still apply. */
15033 #ifdef __cplusplus
15034 extern "C"
15035 #endif
15036 char ldap_initialize ();
15038 main ()
15040 return ldap_initialize ();
15042 return 0;
15044 _ACEOF
15045 if ac_fn_c_try_link "$LINENO"; then :
15046 ac_cv_lib_ldap_r_ldap_initialize=yes
15047 else
15048 ac_cv_lib_ldap_r_ldap_initialize=no
15050 rm -f core conftest.err conftest.$ac_objext \
15051 conftest$ac_exeext conftest.$ac_ext
15052 LIBS=$ac_check_lib_save_LIBS
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15055 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15056 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15058 $as_echo_n "checking for ber_init in -llber... " >&6; }
15059 if ${ac_cv_lib_lber_ber_init+:} false; then :
15060 $as_echo_n "(cached) " >&6
15061 else
15062 ac_check_lib_save_LIBS=$LIBS
15063 LIBS="-llber $PTHREAD_LIBS $LIBS"
15064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15065 /* end confdefs.h. */
15067 /* Override any GCC internal prototype to avoid an error.
15068 Use char because int might match the return type of a GCC
15069 builtin and then its argument prototype would still apply. */
15070 #ifdef __cplusplus
15071 extern "C"
15072 #endif
15073 char ber_init ();
15075 main ()
15077 return ber_init ();
15079 return 0;
15081 _ACEOF
15082 if ac_fn_c_try_link "$LINENO"; then :
15083 ac_cv_lib_lber_ber_init=yes
15084 else
15085 ac_cv_lib_lber_ber_init=no
15087 rm -f core conftest.err conftest.$ac_objext \
15088 conftest$ac_exeext conftest.$ac_ext
15089 LIBS=$ac_check_lib_save_LIBS
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15092 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15093 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15095 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15097 LDAP_LIBS="-lldap_r -llber"
15104 ac_wine_check_funcs_save_LIBS="$LIBS"
15105 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15106 for ac_func in \
15107 ldap_count_references \
15108 ldap_first_reference \
15109 ldap_next_reference \
15110 ldap_parse_reference \
15111 ldap_parse_sort_control \
15112 ldap_parse_sortresponse_control \
15113 ldap_parse_vlv_control \
15114 ldap_parse_vlvresponse_control
15115 do :
15116 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15117 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15118 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15119 cat >>confdefs.h <<_ACEOF
15120 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15121 _ACEOF
15124 done
15126 LIBS="$ac_wine_check_funcs_save_LIBS"
15128 if test "x$LDAP_LIBS" = "x"; then :
15129 case "x$with_ldap" in
15130 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15131 xno) ;;
15132 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15133 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15134 esac
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15138 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15139 if ${wine_cv_one_arg_mkdir+:} false; then :
15140 $as_echo_n "(cached) " >&6
15141 else
15142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15143 /* end confdefs.h. */
15144 #include <sys/stat.h>
15146 main ()
15148 mkdir("foo");
15150 return 0;
15152 _ACEOF
15153 if ac_fn_c_try_compile "$LINENO"; then :
15154 wine_cv_one_arg_mkdir=yes
15155 else
15156 wine_cv_one_arg_mkdir=no
15158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15161 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15162 if test "$wine_cv_one_arg_mkdir" = "yes"
15163 then
15165 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15170 $as_echo_n "checking for sched_setaffinity... " >&6; }
15171 if ${wine_cv_have_sched_setaffinity+:} false; then :
15172 $as_echo_n "(cached) " >&6
15173 else
15174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15175 /* end confdefs.h. */
15176 #define _GNU_SOURCE
15177 #include <sched.h>
15179 main ()
15181 sched_setaffinity(0, 0, 0);
15183 return 0;
15185 _ACEOF
15186 if ac_fn_c_try_link "$LINENO"; then :
15187 wine_cv_have_sched_setaffinity=yes
15188 else
15189 wine_cv_have_sched_setaffinity=no
15191 rm -f core conftest.err conftest.$ac_objext \
15192 conftest$ac_exeext conftest.$ac_ext
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15195 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15196 if test "$wine_cv_have_sched_setaffinity" = "yes"
15197 then
15199 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15204 $as_echo_n "checking for fallocate... " >&6; }
15205 if ${wine_cv_have_fallocate+:} false; then :
15206 $as_echo_n "(cached) " >&6
15207 else
15208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15209 /* end confdefs.h. */
15210 #define _GNU_SOURCE
15211 #include <fcntl.h>
15213 main ()
15215 fallocate(-1, 0, 0, 0);
15217 return 0;
15219 _ACEOF
15220 if ac_fn_c_try_link "$LINENO"; then :
15221 wine_cv_have_fallocate=yes
15222 else
15223 wine_cv_have_fallocate=no
15225 rm -f core conftest.err conftest.$ac_objext \
15226 conftest$ac_exeext conftest.$ac_ext
15228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15229 $as_echo "$wine_cv_have_fallocate" >&6; }
15230 if test "$wine_cv_have_fallocate" = "yes"
15231 then
15233 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15239 $as_echo_n "checking for inline... " >&6; }
15240 if ${ac_cv_c_inline+:} false; then :
15241 $as_echo_n "(cached) " >&6
15242 else
15243 ac_cv_c_inline=no
15244 for ac_kw in inline __inline__ __inline; do
15245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15246 /* end confdefs.h. */
15247 #ifndef __cplusplus
15248 typedef int foo_t;
15249 static $ac_kw foo_t static_foo () {return 0; }
15250 $ac_kw foo_t foo () {return 0; }
15251 #endif
15253 _ACEOF
15254 if ac_fn_c_try_compile "$LINENO"; then :
15255 ac_cv_c_inline=$ac_kw
15257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15258 test "$ac_cv_c_inline" != no && break
15259 done
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15263 $as_echo "$ac_cv_c_inline" >&6; }
15265 case $ac_cv_c_inline in
15266 inline | yes) ;;
15268 case $ac_cv_c_inline in
15269 no) ac_val=;;
15270 *) ac_val=$ac_cv_c_inline;;
15271 esac
15272 cat >>confdefs.h <<_ACEOF
15273 #ifndef __cplusplus
15274 #define inline $ac_val
15275 #endif
15276 _ACEOF
15278 esac
15280 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15281 if test "x$ac_cv_type_mode_t" = xyes; then :
15283 cat >>confdefs.h <<_ACEOF
15284 #define HAVE_MODE_T 1
15285 _ACEOF
15289 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15290 if test "x$ac_cv_type_off_t" = xyes; then :
15292 cat >>confdefs.h <<_ACEOF
15293 #define HAVE_OFF_T 1
15294 _ACEOF
15298 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15299 if test "x$ac_cv_type_pid_t" = xyes; then :
15301 cat >>confdefs.h <<_ACEOF
15302 #define HAVE_PID_T 1
15303 _ACEOF
15307 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15308 if test "x$ac_cv_type_size_t" = xyes; then :
15310 cat >>confdefs.h <<_ACEOF
15311 #define HAVE_SIZE_T 1
15312 _ACEOF
15316 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15317 if test "x$ac_cv_type_ssize_t" = xyes; then :
15319 cat >>confdefs.h <<_ACEOF
15320 #define HAVE_SSIZE_T 1
15321 _ACEOF
15325 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15326 if test "x$ac_cv_type_long_long" = xyes; then :
15328 cat >>confdefs.h <<_ACEOF
15329 #define HAVE_LONG_LONG 1
15330 _ACEOF
15334 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15335 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15337 cat >>confdefs.h <<_ACEOF
15338 #define HAVE_FSBLKCNT_T 1
15339 _ACEOF
15343 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15344 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15346 cat >>confdefs.h <<_ACEOF
15347 #define HAVE_FSFILCNT_T 1
15348 _ACEOF
15353 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15354 #include <signal.h>
15356 if test "x$ac_cv_type_sigset_t" = xyes; then :
15358 cat >>confdefs.h <<_ACEOF
15359 #define HAVE_SIGSET_T 1
15360 _ACEOF
15365 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15367 if test "x$ac_cv_type_request_sense" = xyes; then :
15369 cat >>confdefs.h <<_ACEOF
15370 #define HAVE_REQUEST_SENSE 1
15371 _ACEOF
15377 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15378 #ifdef HAVE_SYS_SOCKET_H
15379 #include <sys/socket.h>
15380 #endif
15381 #ifdef HAVE_SYS_SOCKETVAR_H
15382 #include <sys/socketvar.h>
15383 #endif
15384 #ifdef HAVE_NET_ROUTE_H
15385 #include <net/route.h>
15386 #endif
15387 #ifdef HAVE_NETINET_IN_H
15388 #include <netinet/in.h>
15389 #endif
15390 #ifdef HAVE_NETINET_IN_SYSTM_H
15391 #include <netinet/in_systm.h>
15392 #endif
15393 #ifdef HAVE_NETINET_IP_H
15394 #include <netinet/ip.h>
15395 #endif
15396 #ifdef HAVE_NETINET_IN_PCB_H
15397 #include <netinet/in_pcb.h>
15398 #endif
15400 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15402 cat >>confdefs.h <<_ACEOF
15403 #define HAVE_STRUCT_XINPGEN 1
15404 _ACEOF
15410 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15411 #include <link.h>
15412 #endif
15413 #ifdef HAVE_SYS_LINK_H
15414 #include <sys/link.h>
15415 #endif
15417 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15419 cat >>confdefs.h <<_ACEOF
15420 #define HAVE_STRUCT_R_DEBUG 1
15421 _ACEOF
15425 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15426 #include <link.h>
15427 #endif
15428 #ifdef HAVE_SYS_LINK_H
15429 #include <sys/link.h>
15430 #endif
15432 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15434 cat >>confdefs.h <<_ACEOF
15435 #define HAVE_STRUCT_LINK_MAP 1
15436 _ACEOF
15442 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15443 #include <linux/input.h>
15444 #endif
15446 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15448 cat >>confdefs.h <<_ACEOF
15449 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15450 _ACEOF
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15457 $as_echo_n "checking for sigaddset... " >&6; }
15458 if ${wine_cv_have_sigaddset+:} false; then :
15459 $as_echo_n "(cached) " >&6
15460 else
15461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15462 /* end confdefs.h. */
15463 #include <signal.h>
15465 main ()
15467 sigset_t set; sigaddset(&set,SIGTERM);
15469 return 0;
15471 _ACEOF
15472 if ac_fn_c_try_link "$LINENO"; then :
15473 wine_cv_have_sigaddset=yes
15474 else
15475 wine_cv_have_sigaddset=no
15477 rm -f core conftest.err conftest.$ac_objext \
15478 conftest$ac_exeext conftest.$ac_ext
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15481 $as_echo "$wine_cv_have_sigaddset" >&6; }
15482 if test "$wine_cv_have_sigaddset" = "yes"
15483 then
15485 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15491 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15492 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15493 $as_echo_n "(cached) " >&6
15494 else
15495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15496 /* end confdefs.h. */
15497 #include <netdb.h>
15499 main ()
15502 char *name=0;
15503 struct hostent he;
15504 struct hostent *result;
15505 char *buf=0;
15506 int bufsize=0;
15507 int errnr;
15508 char *addr=0;
15509 int addrlen=0;
15510 int addrtype=0;
15511 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15512 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15515 return 0;
15517 _ACEOF
15518 if ac_fn_c_try_link "$LINENO"; then :
15519 wine_cv_linux_gethostbyname_r_6=yes
15520 else
15521 wine_cv_linux_gethostbyname_r_6=no
15524 rm -f core conftest.err conftest.$ac_objext \
15525 conftest$ac_exeext conftest.$ac_ext
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15529 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15530 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15531 then
15533 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15537 if test "$ac_cv_header_linux_joystick_h" = "yes"
15538 then
15539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15540 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15541 if ${wine_cv_linux_joystick_22_api+:} false; then :
15542 $as_echo_n "(cached) " >&6
15543 else
15544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15545 /* end confdefs.h. */
15547 #include <sys/ioctl.h>
15548 #include <sys/types.h>
15549 #include <linux/joystick.h>
15551 struct js_event blub;
15552 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15553 #error "no 2.2 header"
15554 #endif
15557 main ()
15559 /*empty*/
15561 return 0;
15563 _ACEOF
15564 if ac_fn_c_try_compile "$LINENO"; then :
15565 wine_cv_linux_joystick_22_api=yes
15566 else
15567 wine_cv_linux_joystick_22_api=no
15569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15573 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15574 if test "$wine_cv_linux_joystick_22_api" = "yes"
15575 then
15577 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15583 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#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_bfree" = xyes; then :
15599 cat >>confdefs.h <<_ACEOF
15600 #define HAVE_STRUCT_STATFS_F_BFREE 1
15601 _ACEOF
15605 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#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_bavail" = xyes; then :
15621 cat >>confdefs.h <<_ACEOF
15622 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15623 _ACEOF
15627 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#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_frsize" = xyes; then :
15643 cat >>confdefs.h <<_ACEOF
15644 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15645 _ACEOF
15649 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#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_ffree" = xyes; then :
15665 cat >>confdefs.h <<_ACEOF
15666 #define HAVE_STRUCT_STATFS_F_FFREE 1
15667 _ACEOF
15671 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#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_favail" = xyes; then :
15687 cat >>confdefs.h <<_ACEOF
15688 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15689 _ACEOF
15693 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15694 #ifdef HAVE_SYS_PARAM_H
15695 # include <sys/param.h>
15696 #endif
15697 #ifdef HAVE_SYS_MOUNT_H
15698 # include <sys/mount.h>
15699 #endif
15700 #ifdef HAVE_SYS_VFS_H
15701 # include <sys/vfs.h>
15702 #endif
15703 #ifdef HAVE_SYS_STATFS_H
15704 # include <sys/statfs.h>
15705 #endif
15707 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15709 cat >>confdefs.h <<_ACEOF
15710 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15711 _ACEOF
15717 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15718 #include <sys/statvfs.h>
15719 #endif
15721 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15723 cat >>confdefs.h <<_ACEOF
15724 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15725 _ACEOF
15731 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15732 #include <dirent.h>
15733 #endif
15735 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15737 cat >>confdefs.h <<_ACEOF
15738 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15739 _ACEOF
15745 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15746 #ifdef HAVE_SYS_SOCKET_H
15747 # include <sys/socket.h>
15748 #endif
15749 #ifdef HAVE_SYS_UN_H
15750 # include <sys/un.h>
15751 #endif
15753 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15755 cat >>confdefs.h <<_ACEOF
15756 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15757 _ACEOF
15761 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15762 #ifdef HAVE_SYS_SOCKET_H
15763 # include <sys/socket.h>
15764 #endif
15765 #ifdef HAVE_SYS_UN_H
15766 # include <sys/un.h>
15767 #endif
15769 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15771 cat >>confdefs.h <<_ACEOF
15772 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15773 _ACEOF
15777 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15778 #ifdef HAVE_SYS_SOCKET_H
15779 # include <sys/socket.h>
15780 #endif
15781 #ifdef HAVE_SYS_UN_H
15782 # include <sys/un.h>
15783 #endif
15785 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15787 cat >>confdefs.h <<_ACEOF
15788 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15789 _ACEOF
15795 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15796 #ifdef HAVE_SCSI_SG_H
15797 #include <scsi/sg.h>
15798 #endif
15800 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15802 cat >>confdefs.h <<_ACEOF
15803 #define HAVE_SCSIREQ_T_CMD 1
15804 _ACEOF
15808 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>
15809 #ifdef HAVE_SCSI_SG_H
15810 #include <scsi/sg.h>
15811 #endif
15813 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15815 cat >>confdefs.h <<_ACEOF
15816 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15817 _ACEOF
15823 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15825 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15827 cat >>confdefs.h <<_ACEOF
15828 #define HAVE_SIGINFO_T_SI_FD 1
15829 _ACEOF
15835 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15836 #ifdef HAVE_SYS_MTIO_H
15837 #include <sys/mtio.h>
15838 #endif
15840 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15842 cat >>confdefs.h <<_ACEOF
15843 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15844 _ACEOF
15848 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15849 #ifdef HAVE_SYS_MTIO_H
15850 #include <sys/mtio.h>
15851 #endif
15853 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15855 cat >>confdefs.h <<_ACEOF
15856 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15857 _ACEOF
15861 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15862 #ifdef HAVE_SYS_MTIO_H
15863 #include <sys/mtio.h>
15864 #endif
15866 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15868 cat >>confdefs.h <<_ACEOF
15869 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15870 _ACEOF
15876 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15877 #include <getopt.h>
15878 #endif
15880 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15882 cat >>confdefs.h <<_ACEOF
15883 #define HAVE_STRUCT_OPTION_NAME 1
15884 _ACEOF
15890 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15891 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15893 cat >>confdefs.h <<_ACEOF
15894 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15895 _ACEOF
15899 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15900 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15902 cat >>confdefs.h <<_ACEOF
15903 #define HAVE_STRUCT_STAT_ST_MTIM 1
15904 _ACEOF
15908 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15909 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15911 cat >>confdefs.h <<_ACEOF
15912 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15913 _ACEOF
15917 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15918 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15920 cat >>confdefs.h <<_ACEOF
15921 #define HAVE_STRUCT_STAT_ST_CTIM 1
15922 _ACEOF
15926 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15927 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15929 cat >>confdefs.h <<_ACEOF
15930 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15931 _ACEOF
15935 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15936 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15938 cat >>confdefs.h <<_ACEOF
15939 #define HAVE_STRUCT_STAT_ST_ATIM 1
15940 _ACEOF
15944 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15945 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15947 cat >>confdefs.h <<_ACEOF
15948 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15949 _ACEOF
15953 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15954 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15956 cat >>confdefs.h <<_ACEOF
15957 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15958 _ACEOF
15962 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15963 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15965 cat >>confdefs.h <<_ACEOF
15966 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15967 _ACEOF
15971 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15972 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15974 cat >>confdefs.h <<_ACEOF
15975 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15976 _ACEOF
15980 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15981 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15983 cat >>confdefs.h <<_ACEOF
15984 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15985 _ACEOF
15989 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15990 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15992 cat >>confdefs.h <<_ACEOF
15993 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15994 _ACEOF
16000 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
16001 #include <sys/types.h>
16002 #endif
16003 #ifdef HAVE_NETINET_IN_H
16004 #include <netinet/in.h>
16005 #endif
16007 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16009 cat >>confdefs.h <<_ACEOF
16010 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16011 _ACEOF
16017 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16018 #include <resolv.h>
16019 #endif
16021 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16023 cat >>confdefs.h <<_ACEOF
16024 #define HAVE_STRUCT___RES_STATE 1
16025 _ACEOF
16031 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
16032 #include <resolv.h>
16033 #endif
16035 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16037 cat >>confdefs.h <<_ACEOF
16038 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16039 _ACEOF
16045 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16046 #include <sys/types.h>
16047 #endif
16048 #ifdef HAVE_NETINET_IN_H
16049 # include <netinet/in.h>
16050 #endif
16051 #ifdef HAVE_ARPA_NAMESER_H
16052 # include <arpa/nameser.h>
16053 #endif
16055 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16057 cat >>confdefs.h <<_ACEOF
16058 #define HAVE_NS_MSG__MSG_PTR 1
16059 _ACEOF
16065 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16066 #include <sys/types.h>
16067 #endif
16068 #ifdef HAVE_NETINET_IP_H
16069 #include <netinet/ip.h>
16070 #endif
16071 #ifdef HAVE_NETINET_IP_ICMP_H
16072 #include <netinet/ip_icmp.h>
16073 #endif
16074 #ifdef HAVE_NETINET_ICMP_VAR_H
16075 #include <netinet/icmp_var.h>
16076 #endif
16078 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16080 cat >>confdefs.h <<_ACEOF
16081 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16082 _ACEOF
16088 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16089 #include <sys/types.h>
16090 #endif
16091 #ifdef HAVE_ALIAS_H
16092 #include <alias.h>
16093 #endif
16094 #ifdef HAVE_SYS_SOCKET_H
16095 #include <sys/socket.h>
16096 #endif
16097 #ifdef HAVE_SYS_SOCKETVAR_H
16098 #include <sys/socketvar.h>
16099 #endif
16100 #ifdef HAVE_SYS_TIMEOUT_H
16101 #include <sys/timeout.h>
16102 #endif
16103 #ifdef HAVE_NETINET_IN_H
16104 #include <netinet/in.h>
16105 #endif
16106 #ifdef HAVE_NETINET_IN_SYSTM_H
16107 #include <netinet/in_systm.h>
16108 #endif
16109 #ifdef HAVE_NETINET_IP_H
16110 #include <netinet/ip.h>
16111 #endif
16112 #ifdef HAVE_NETINET_IP_VAR_H
16113 #include <netinet/ip_var.h>
16114 #endif
16115 #ifdef HAVE_NETINET_IP_ICMP_H
16116 #include <netinet/ip_icmp.h>
16117 #endif
16118 #ifdef HAVE_NETINET_ICMP_VAR_H
16119 #include <netinet/icmp_var.h>
16120 #endif
16122 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16124 cat >>confdefs.h <<_ACEOF
16125 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16126 _ACEOF
16132 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16133 #include <sys/types.h>
16134 #endif
16135 #ifdef HAVE_SYS_SOCKETVAR_H
16136 #include <sys/socketvar.h>
16137 #endif
16138 #ifdef HAVE_NETINET_IN_H
16139 #include <netinet/in.h>
16140 #endif
16141 #ifdef HAVE_NETINET_IP_VAR_H
16142 #include <netinet/ip_var.h>
16143 #endif
16145 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16147 cat >>confdefs.h <<_ACEOF
16148 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16149 _ACEOF
16155 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
16156 #include <netinet/ip_var.h>
16157 #endif
16159 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16161 cat >>confdefs.h <<_ACEOF
16162 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16163 _ACEOF
16169 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16170 #include <sys/types.h>
16171 #endif
16172 #ifdef HAVE_SYS_SOCKETVAR_H
16173 #include <sys/socketvar.h>
16174 #endif
16175 #ifdef HAVE_NETINET_IN_H
16176 #include <netinet/in.h>
16177 #endif
16178 #ifdef HAVE_NETINET_TCP_H
16179 #include <netinet/tcp.h>
16180 #endif
16181 #ifdef HAVE_NETINET_TCP_VAR_H
16182 #include <netinet/tcp_var.h>
16183 #endif
16185 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16187 cat >>confdefs.h <<_ACEOF
16188 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16189 _ACEOF
16195 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
16196 #include <netinet/tcp_var.h>
16197 #endif
16199 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16201 cat >>confdefs.h <<_ACEOF
16202 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16203 _ACEOF
16209 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16210 #include <sys/types.h>
16211 #endif
16212 #ifdef HAVE_NETINET_IN_H
16213 #include <netinet/in.h>
16214 #endif
16215 #ifdef HAVE_NETINET_IP_VAR_H
16216 #include <netinet/ip_var.h>
16217 #endif
16218 #ifdef HAVE_NETINET_UDP_H
16219 #include <netinet/udp.h>
16220 #endif
16221 #ifdef HAVE_NETINET_UDP_VAR_H
16222 #include <netinet/udp_var.h>
16223 #endif
16225 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16227 cat >>confdefs.h <<_ACEOF
16228 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16229 _ACEOF
16235 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16236 #include <sys/types.h>
16237 #endif
16238 #ifdef HAVE_NET_IF_H
16239 # include <net/if.h>
16240 #endif
16242 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16244 cat >>confdefs.h <<_ACEOF
16245 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16246 _ACEOF
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16253 $as_echo_n "checking for timezone variable... " >&6; }
16254 if ${ac_cv_have_timezone+:} false; then :
16255 $as_echo_n "(cached) " >&6
16256 else
16257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16258 /* end confdefs.h. */
16259 #include <time.h>
16261 main ()
16263 timezone = 1
16265 return 0;
16267 _ACEOF
16268 if ac_fn_c_try_link "$LINENO"; then :
16269 ac_cv_have_timezone="yes"
16270 else
16271 ac_cv_have_timezone="no"
16273 rm -f core conftest.err conftest.$ac_objext \
16274 conftest$ac_exeext conftest.$ac_ext
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16277 $as_echo "$ac_cv_have_timezone" >&6; }
16278 if test "$ac_cv_have_timezone" = "yes"
16279 then
16281 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16285 $as_echo_n "checking for daylight variable... " >&6; }
16286 if ${ac_cv_have_daylight+:} false; then :
16287 $as_echo_n "(cached) " >&6
16288 else
16289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16290 /* end confdefs.h. */
16291 #include <time.h>
16293 main ()
16295 daylight = 1
16297 return 0;
16299 _ACEOF
16300 if ac_fn_c_try_link "$LINENO"; then :
16301 ac_cv_have_daylight="yes"
16302 else
16303 ac_cv_have_daylight="no"
16305 rm -f core conftest.err conftest.$ac_objext \
16306 conftest$ac_exeext conftest.$ac_ext
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16309 $as_echo "$ac_cv_have_daylight" >&6; }
16310 if test "$ac_cv_have_daylight" = "yes"
16311 then
16313 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16317 ac_save_LIBS="$LIBS"
16318 LIBS="$LIBS -lm"
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16320 $as_echo_n "checking for isfinite... " >&6; }
16321 if ${ac_cv_have_isfinite+:} false; then :
16322 $as_echo_n "(cached) " >&6
16323 else
16324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16325 /* end confdefs.h. */
16326 #define _GNU_SOURCE
16327 #include <math.h>
16329 main ()
16331 float f = 0.0; return isfinite(f)
16333 return 0;
16335 _ACEOF
16336 if ac_fn_c_try_link "$LINENO"; then :
16337 ac_cv_have_isfinite="yes"
16338 else
16339 ac_cv_have_isfinite="no"
16341 rm -f core conftest.err conftest.$ac_objext \
16342 conftest$ac_exeext conftest.$ac_ext
16344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16345 $as_echo "$ac_cv_have_isfinite" >&6; }
16346 if test "$ac_cv_have_isfinite" = "yes"
16347 then
16349 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16354 $as_echo_n "checking for isinf... " >&6; }
16355 if ${ac_cv_have_isinf+:} false; then :
16356 $as_echo_n "(cached) " >&6
16357 else
16358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16359 /* end confdefs.h. */
16360 #include <math.h>
16362 main ()
16364 float f = 0.0; return isinf(f)
16366 return 0;
16368 _ACEOF
16369 if ac_fn_c_try_link "$LINENO"; then :
16370 ac_cv_have_isinf="yes"
16371 else
16372 ac_cv_have_isinf="no"
16374 rm -f core conftest.err conftest.$ac_objext \
16375 conftest$ac_exeext conftest.$ac_ext
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16378 $as_echo "$ac_cv_have_isinf" >&6; }
16379 if test "$ac_cv_have_isinf" = "yes"
16380 then
16382 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16387 $as_echo_n "checking for isnan... " >&6; }
16388 if ${ac_cv_have_isnan+:} false; then :
16389 $as_echo_n "(cached) " >&6
16390 else
16391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16392 /* end confdefs.h. */
16393 #include <math.h>
16395 main ()
16397 float f = 0.0; return isnan(f)
16399 return 0;
16401 _ACEOF
16402 if ac_fn_c_try_link "$LINENO"; then :
16403 ac_cv_have_isnan="yes"
16404 else
16405 ac_cv_have_isnan="no"
16407 rm -f core conftest.err conftest.$ac_objext \
16408 conftest$ac_exeext conftest.$ac_ext
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16411 $as_echo "$ac_cv_have_isnan" >&6; }
16412 if test "$ac_cv_have_isnan" = "yes"
16413 then
16415 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16419 for ac_func in \
16420 cbrt \
16421 cbrtf \
16422 exp2 \
16423 exp2f \
16424 llrint \
16425 llrintf \
16426 llround \
16427 llroundf \
16428 log2 \
16429 log2f \
16430 lrint \
16431 lrintf \
16432 lround \
16433 lroundf \
16434 rint \
16435 rintf \
16436 round \
16437 roundf \
16438 trunc \
16439 truncf
16441 do :
16442 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16443 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16444 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16445 cat >>confdefs.h <<_ACEOF
16446 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16447 _ACEOF
16450 done
16452 LIBS="$ac_save_LIBS"
16454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16455 $as_echo_n "checking for __builtin_clz... " >&6; }
16456 if ${ac_cv_have___builtin_clz+:} false; then :
16457 $as_echo_n "(cached) " >&6
16458 else
16459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16460 /* end confdefs.h. */
16463 main ()
16465 return __builtin_clz(1)
16467 return 0;
16469 _ACEOF
16470 if ac_fn_c_try_link "$LINENO"; then :
16471 ac_cv_have___builtin_clz="yes"
16472 else
16473 ac_cv_have___builtin_clz="no"
16475 rm -f core conftest.err conftest.$ac_objext \
16476 conftest$ac_exeext conftest.$ac_ext
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16479 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16480 if test "$ac_cv_have___builtin_clz" = "yes"
16481 then
16483 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16488 case $host_cpu in
16489 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16490 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16491 if ${ac_cv_cpp_def___i386__+:} false; then :
16492 $as_echo_n "(cached) " >&6
16493 else
16494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16495 /* end confdefs.h. */
16496 #ifndef __i386__
16498 #endif
16499 _ACEOF
16500 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16501 $EGREP "yes" >/dev/null 2>&1; then :
16502 ac_cv_cpp_def___i386__=yes
16503 else
16504 ac_cv_cpp_def___i386__=no
16506 rm -f conftest*
16509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16510 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16511 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16512 CFLAGS="$CFLAGS -D__i386__"
16513 LINTFLAGS="$LINTFLAGS -D__i386__"
16514 fi ;;
16515 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16516 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16517 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16518 $as_echo_n "(cached) " >&6
16519 else
16520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16521 /* end confdefs.h. */
16522 #ifndef __x86_64__
16524 #endif
16525 _ACEOF
16526 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16527 $EGREP "yes" >/dev/null 2>&1; then :
16528 ac_cv_cpp_def___x86_64__=yes
16529 else
16530 ac_cv_cpp_def___x86_64__=no
16532 rm -f conftest*
16535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16536 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16537 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16538 CFLAGS="$CFLAGS -D__x86_64__"
16539 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16540 fi ;;
16541 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16542 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16543 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16544 $as_echo_n "(cached) " >&6
16545 else
16546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16547 /* end confdefs.h. */
16548 #ifndef __sparc64__
16550 #endif
16551 _ACEOF
16552 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16553 $EGREP "yes" >/dev/null 2>&1; then :
16554 ac_cv_cpp_def___sparc64__=yes
16555 else
16556 ac_cv_cpp_def___sparc64__=no
16558 rm -f conftest*
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16562 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16563 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16564 CFLAGS="$CFLAGS -D__sparc64__"
16565 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16566 fi ;;
16567 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16568 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16569 if ${ac_cv_cpp_def___sparc__+:} false; then :
16570 $as_echo_n "(cached) " >&6
16571 else
16572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16573 /* end confdefs.h. */
16574 #ifndef __sparc__
16576 #endif
16577 _ACEOF
16578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16579 $EGREP "yes" >/dev/null 2>&1; then :
16580 ac_cv_cpp_def___sparc__=yes
16581 else
16582 ac_cv_cpp_def___sparc__=no
16584 rm -f conftest*
16587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16588 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16589 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16590 CFLAGS="$CFLAGS -D__sparc__"
16591 LINTFLAGS="$LINTFLAGS -D__sparc__"
16592 fi ;;
16593 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16594 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16595 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16596 $as_echo_n "(cached) " >&6
16597 else
16598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16599 /* end confdefs.h. */
16600 #ifndef __powerpc64__
16602 #endif
16603 _ACEOF
16604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16605 $EGREP "yes" >/dev/null 2>&1; then :
16606 ac_cv_cpp_def___powerpc64__=yes
16607 else
16608 ac_cv_cpp_def___powerpc64__=no
16610 rm -f conftest*
16613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16614 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16615 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16616 CFLAGS="$CFLAGS -D__powerpc64__"
16617 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16618 fi ;;
16619 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16620 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16621 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16622 $as_echo_n "(cached) " >&6
16623 else
16624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16625 /* end confdefs.h. */
16626 #ifndef __powerpc__
16628 #endif
16629 _ACEOF
16630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16631 $EGREP "yes" >/dev/null 2>&1; then :
16632 ac_cv_cpp_def___powerpc__=yes
16633 else
16634 ac_cv_cpp_def___powerpc__=no
16636 rm -f conftest*
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16640 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16641 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16642 CFLAGS="$CFLAGS -D__powerpc__"
16643 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16644 fi ;;
16645 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16646 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16647 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16648 $as_echo_n "(cached) " >&6
16649 else
16650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16651 /* end confdefs.h. */
16652 #ifndef __aarch64__
16654 #endif
16655 _ACEOF
16656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16657 $EGREP "yes" >/dev/null 2>&1; then :
16658 ac_cv_cpp_def___aarch64__=yes
16659 else
16660 ac_cv_cpp_def___aarch64__=no
16662 rm -f conftest*
16665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16666 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16667 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16668 CFLAGS="$CFLAGS -D__aarch64__"
16669 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16670 fi ;;
16671 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16672 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16673 if ${ac_cv_cpp_def___arm__+:} false; then :
16674 $as_echo_n "(cached) " >&6
16675 else
16676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16677 /* end confdefs.h. */
16678 #ifndef __arm__
16680 #endif
16681 _ACEOF
16682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16683 $EGREP "yes" >/dev/null 2>&1; then :
16684 ac_cv_cpp_def___arm__=yes
16685 else
16686 ac_cv_cpp_def___arm__=no
16688 rm -f conftest*
16691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16692 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16693 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16694 CFLAGS="$CFLAGS -D__arm__"
16695 LINTFLAGS="$LINTFLAGS -D__arm__"
16696 fi ;;
16697 esac
16699 case $host_vendor in
16700 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16701 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16702 if ${ac_cv_cpp_def___sun__+:} false; then :
16703 $as_echo_n "(cached) " >&6
16704 else
16705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16706 /* end confdefs.h. */
16707 #ifndef __sun__
16709 #endif
16710 _ACEOF
16711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16712 $EGREP "yes" >/dev/null 2>&1; then :
16713 ac_cv_cpp_def___sun__=yes
16714 else
16715 ac_cv_cpp_def___sun__=no
16717 rm -f conftest*
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16721 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16722 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16723 CFLAGS="$CFLAGS -D__sun__"
16724 LINTFLAGS="$LINTFLAGS -D__sun__"
16725 fi ;;
16726 esac
16732 ac_config_commands="$ac_config_commands include/stamp-h"
16734 $as_echo_n "creating Makefile rules..." >&6
16736 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16737 SOCKET_LIBS = $SOCKET_LIBS
16738 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16739 IOKIT_LIBS = $IOKIT_LIBS
16740 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16741 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16742 CORESERVICES_LIBS = $CORESERVICES_LIBS
16743 APPKIT_LIBS = $APPKIT_LIBS
16744 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16745 SECURITY_LIBS = $SECURITY_LIBS
16746 COREAUDIO_LIBS = $COREAUDIO_LIBS
16747 OPENAL_LIBS = $OPENAL_LIBS
16748 OPENCL_LIBS = $OPENCL_LIBS
16749 QUICKTIME_LIBS = $QUICKTIME_LIBS
16750 CARBON_LIBS = $CARBON_LIBS
16751 PTHREAD_LIBS = $PTHREAD_LIBS
16752 X_CFLAGS = $X_CFLAGS
16753 X_PRE_LIBS = $X_PRE_LIBS
16754 X_LIBS = $X_LIBS
16755 X_EXTRA_LIBS = $X_EXTRA_LIBS
16756 XML2_CFLAGS = $XML2_CFLAGS
16757 XML2_LIBS = $XML2_LIBS
16758 XSLT_CFLAGS = $XSLT_CFLAGS
16759 XSLT_LIBS = $XSLT_LIBS
16760 DBUS_CFLAGS = $DBUS_CFLAGS
16761 DBUS_LIBS = $DBUS_LIBS
16762 HAL_CFLAGS = $HAL_CFLAGS
16763 HAL_LIBS = $HAL_LIBS
16764 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16765 GNUTLS_LIBS = $GNUTLS_LIBS
16766 SANE_CFLAGS = $SANE_CFLAGS
16767 SANE_LIBS = $SANE_LIBS
16768 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16769 GPHOTO2_LIBS = $GPHOTO2_LIBS
16770 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16771 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16772 RESOLV_LIBS = $RESOLV_LIBS
16773 LCMS2_CFLAGS = $LCMS2_CFLAGS
16774 LCMS2_LIBS = $LCMS2_LIBS
16775 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16776 FREETYPE_LIBS = $FREETYPE_LIBS
16777 Z_LIBS = $Z_LIBS
16778 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16779 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16780 GSTREAMER_LIBS = $GSTREAMER_LIBS
16781 ALSA_LIBS = $ALSA_LIBS
16782 OSS4_CFLAGS = $OSS4_CFLAGS
16783 CAPI20_CFLAGS = $CAPI20_CFLAGS
16784 CAPI20_LIBS = $CAPI20_LIBS
16785 CUPS_CFLAGS = $CUPS_CFLAGS
16786 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16787 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16788 JPEG_CFLAGS = $JPEG_CFLAGS
16789 JPEG_LIBS = $JPEG_LIBS
16790 PNG_CFLAGS = $PNG_CFLAGS
16791 PNG_LIBS = $PNG_LIBS
16792 TIFF_CFLAGS = $TIFF_CFLAGS
16793 TIFF_LIBS = $TIFF_LIBS
16794 MPG123_CFLAGS = $MPG123_CFLAGS
16795 MPG123_LIBS = $MPG123_LIBS
16796 KSTAT_LIBS = $KSTAT_LIBS
16797 PROCSTAT_LIBS = $PROCSTAT_LIBS
16798 DL_LIBS = $DL_LIBS
16799 POLL_LIBS = $POLL_LIBS
16800 RT_LIBS = $RT_LIBS
16801 LDAP_LIBS = $LDAP_LIBS
16806 wine_fn_append_rule "
16807 # Rules automatically generated by configure
16809 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16811 .INIT: Makefile
16812 .MAKEFILEDEPS:
16813 all: Makefile
16814 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16815 @./config.status Make.tmp Makefile"
16817 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16818 .gitignore: config.status
16819 @./config.status .gitignore"
16821 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16822 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16824 if test "x$enable_fonts" != xno; then
16825 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16826 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16827 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16828 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16829 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16831 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16832 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16833 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16834 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16835 ac_config_links="$ac_config_links wine:tools/winewrapper"
16836 wine_fn_config_symlink wine
16837 if test "x$enable_win64" != xno; then
16838 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16839 wine_fn_config_symlink wine64
16842 wine_fn_config_dll acledit enable_acledit
16843 wine_fn_config_dll aclui enable_aclui implib
16844 wine_fn_config_dll activeds enable_activeds implib
16845 wine_fn_config_dll actxprxy enable_actxprxy clean
16846 wine_fn_config_lib adsiid
16847 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16848 wine_fn_config_test dlls/advapi32/tests advapi32_test
16849 wine_fn_config_dll advpack enable_advpack implib
16850 wine_fn_config_test dlls/advpack/tests advpack_test
16851 wine_fn_config_dll amstream enable_amstream clean
16852 wine_fn_config_test dlls/amstream/tests amstream_test
16853 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16854 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16855 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16856 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16857 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16858 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16859 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16860 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16861 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16862 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16863 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16864 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16865 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16866 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16867 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16868 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16869 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16870 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16871 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16872 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16873 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
16874 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16875 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16876 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16877 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16878 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16879 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16880 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16881 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
16882 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16883 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16884 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16885 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16886 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16887 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16888 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16889 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16890 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
16891 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16892 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16893 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16894 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16895 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16896 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
16897 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
16898 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16899 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
16900 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16901 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16902 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16903 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16904 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16905 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16906 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16907 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16908 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16909 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16910 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16911 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16912 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16913 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16914 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16915 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16916 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16917 wine_fn_config_dll apphelp enable_apphelp
16918 wine_fn_config_test dlls/apphelp/tests apphelp_test
16919 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16920 wine_fn_config_dll atl enable_atl clean,implib
16921 wine_fn_config_test dlls/atl/tests atl_test
16922 wine_fn_config_dll atl100 enable_atl100 clean,implib
16923 wine_fn_config_test dlls/atl100/tests atl100_test
16924 wine_fn_config_dll atl110 enable_atl110 clean
16925 wine_fn_config_dll atl80 enable_atl80 clean,implib
16926 wine_fn_config_test dlls/atl80/tests atl80_test
16927 wine_fn_config_dll atl90 enable_atl90 clean
16928 wine_fn_config_dll authz enable_authz
16929 wine_fn_config_dll avicap32 enable_avicap32 implib
16930 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16931 wine_fn_config_test dlls/avifil32/tests avifil32_test
16932 wine_fn_config_dll avifile.dll16 enable_win16
16933 wine_fn_config_dll avrt enable_avrt implib
16934 wine_fn_config_dll bcrypt enable_bcrypt
16935 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16936 wine_fn_config_dll browseui enable_browseui clean,po
16937 wine_fn_config_test dlls/browseui/tests browseui_test
16938 wine_fn_config_dll cabinet enable_cabinet implib
16939 wine_fn_config_test dlls/cabinet/tests cabinet_test
16940 wine_fn_config_dll capi2032 enable_capi2032 implib
16941 wine_fn_config_dll cards enable_cards implib
16942 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16943 wine_fn_config_dll clusapi enable_clusapi implib
16944 wine_fn_config_dll combase enable_combase
16945 wine_fn_config_test dlls/combase/tests combase_test
16946 wine_fn_config_dll comcat enable_comcat
16947 wine_fn_config_test dlls/comcat/tests comcat_test
16948 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16949 wine_fn_config_test dlls/comctl32/tests comctl32_test
16950 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16951 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16952 wine_fn_config_dll comm.drv16 enable_win16
16953 wine_fn_config_dll commdlg.dll16 enable_win16
16954 wine_fn_config_dll compobj.dll16 enable_win16
16955 wine_fn_config_dll compstui enable_compstui implib
16956 wine_fn_config_dll comsvcs enable_comsvcs implib
16957 wine_fn_config_dll credui enable_credui implib,po
16958 wine_fn_config_test dlls/credui/tests credui_test
16959 wine_fn_config_dll crtdll enable_crtdll implib
16960 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16961 wine_fn_config_test dlls/crypt32/tests crypt32_test
16962 wine_fn_config_dll cryptdlg enable_cryptdlg po
16963 wine_fn_config_dll cryptdll enable_cryptdll implib
16964 wine_fn_config_dll cryptext enable_cryptext
16965 wine_fn_config_dll cryptnet enable_cryptnet implib
16966 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16967 wine_fn_config_dll cryptui enable_cryptui implib,po
16968 wine_fn_config_test dlls/cryptui/tests cryptui_test
16969 wine_fn_config_dll ctapi32 enable_ctapi32
16970 wine_fn_config_dll ctl3d.dll16 enable_win16
16971 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16972 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16973 wine_fn_config_dll d2d1 enable_d2d1 implib
16974 wine_fn_config_test dlls/d2d1/tests d2d1_test
16975 wine_fn_config_dll d3d10 enable_d3d10 implib
16976 wine_fn_config_test dlls/d3d10/tests d3d10_test
16977 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16978 wine_fn_config_dll d3d10core enable_d3d10core implib
16979 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16980 wine_fn_config_dll d3d11 enable_d3d11
16981 wine_fn_config_dll d3d8 enable_d3d8 implib
16982 wine_fn_config_test dlls/d3d8/tests d3d8_test
16983 wine_fn_config_dll d3d9 enable_d3d9 implib
16984 wine_fn_config_test dlls/d3d9/tests d3d9_test
16985 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16986 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16987 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16988 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16989 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16990 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16991 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16992 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16993 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16994 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16995 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16996 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16997 wine_fn_config_dll d3dim enable_d3dim implib
16998 wine_fn_config_dll d3drm enable_d3drm implib
16999 wine_fn_config_test dlls/d3drm/tests d3drm_test
17000 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17001 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17002 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17003 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17004 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17005 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17006 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17007 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17008 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17009 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17010 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17011 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17012 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17013 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17014 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17015 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17016 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17017 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17018 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17019 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17020 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17021 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17022 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17023 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17024 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17025 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17026 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17027 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17028 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17029 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17030 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17031 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17032 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17033 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17034 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17035 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17036 wine_fn_config_dll dbgeng enable_dbgeng implib
17037 wine_fn_config_dll dbghelp enable_dbghelp implib
17038 wine_fn_config_dll dciman32 enable_dciman32 implib
17039 wine_fn_config_dll ddeml.dll16 enable_win16
17040 wine_fn_config_dll ddraw enable_ddraw clean,implib
17041 wine_fn_config_test dlls/ddraw/tests ddraw_test
17042 wine_fn_config_dll ddrawex enable_ddrawex clean
17043 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17044 wine_fn_config_dll devenum enable_devenum clean,po
17045 wine_fn_config_test dlls/devenum/tests devenum_test
17046 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17047 wine_fn_config_dll difxapi enable_difxapi
17048 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17049 wine_fn_config_test dlls/dinput/tests dinput_test
17050 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17051 wine_fn_config_test dlls/dinput8/tests dinput8_test
17052 wine_fn_config_dll dispdib.dll16 enable_win16
17053 wine_fn_config_dll dispex enable_dispex clean
17054 wine_fn_config_test dlls/dispex/tests dispex_test
17055 wine_fn_config_dll display.drv16 enable_win16
17056 wine_fn_config_dll dmband enable_dmband clean
17057 wine_fn_config_test dlls/dmband/tests dmband_test
17058 wine_fn_config_dll dmcompos enable_dmcompos clean
17059 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17060 wine_fn_config_dll dmime enable_dmime clean
17061 wine_fn_config_test dlls/dmime/tests dmime_test
17062 wine_fn_config_dll dmloader enable_dmloader clean
17063 wine_fn_config_test dlls/dmloader/tests dmloader_test
17064 wine_fn_config_dll dmscript enable_dmscript clean
17065 wine_fn_config_test dlls/dmscript/tests dmscript_test
17066 wine_fn_config_dll dmstyle enable_dmstyle clean
17067 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17068 wine_fn_config_dll dmsynth enable_dmsynth clean
17069 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17070 wine_fn_config_dll dmusic enable_dmusic clean
17071 wine_fn_config_test dlls/dmusic/tests dmusic_test
17072 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17073 wine_fn_config_dll dnsapi enable_dnsapi implib
17074 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17075 wine_fn_config_dll dplay enable_dplay implib
17076 wine_fn_config_dll dplayx enable_dplayx clean,implib
17077 wine_fn_config_test dlls/dplayx/tests dplayx_test
17078 wine_fn_config_dll dpnaddr enable_dpnaddr
17079 wine_fn_config_dll dpnet enable_dpnet clean,implib
17080 wine_fn_config_test dlls/dpnet/tests dpnet_test
17081 wine_fn_config_dll dpnhpast enable_dpnhpast
17082 wine_fn_config_dll dpnlobby enable_dpnlobby
17083 wine_fn_config_dll dpvoice enable_dpvoice clean
17084 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17085 wine_fn_config_dll dpwsockx enable_dpwsockx
17086 wine_fn_config_dll drmclien enable_drmclien
17087 wine_fn_config_dll dsound enable_dsound clean,implib
17088 wine_fn_config_test dlls/dsound/tests dsound_test
17089 wine_fn_config_dll dssenh enable_dssenh
17090 wine_fn_config_test dlls/dssenh/tests dssenh_test
17091 wine_fn_config_dll dswave enable_dswave clean
17092 wine_fn_config_test dlls/dswave/tests dswave_test
17093 wine_fn_config_dll dwmapi enable_dwmapi implib
17094 wine_fn_config_dll dwrite enable_dwrite implib
17095 wine_fn_config_test dlls/dwrite/tests dwrite_test
17096 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17097 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17098 wine_fn_config_lib dxerr8
17099 wine_fn_config_lib dxerr9
17100 wine_fn_config_dll dxgi enable_dxgi implib
17101 wine_fn_config_test dlls/dxgi/tests dxgi_test
17102 wine_fn_config_lib dxguid
17103 wine_fn_config_dll dxva2 enable_dxva2
17104 wine_fn_config_dll explorerframe enable_explorerframe clean
17105 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17106 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17107 wine_fn_config_dll faultrep enable_faultrep implib
17108 wine_fn_config_test dlls/faultrep/tests faultrep_test
17109 wine_fn_config_dll fltlib enable_fltlib
17110 wine_fn_config_dll fntcache enable_fntcache
17111 wine_fn_config_dll fontsub enable_fontsub
17112 wine_fn_config_dll fusion enable_fusion
17113 wine_fn_config_test dlls/fusion/tests fusion_test
17114 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17115 wine_fn_config_dll gameux enable_gameux clean
17116 wine_fn_config_test dlls/gameux/tests gameux_test
17117 wine_fn_config_dll gdi.exe16 enable_win16
17118 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17119 wine_fn_config_test dlls/gdi32/tests gdi32_test
17120 wine_fn_config_dll gdiplus enable_gdiplus implib
17121 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17122 wine_fn_config_dll glu32 enable_glu32 implib
17123 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17124 wine_fn_config_dll gpkcsp enable_gpkcsp
17125 wine_fn_config_dll hal enable_hal
17126 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17127 wine_fn_config_dll hid enable_hid implib
17128 wine_fn_config_dll hlink enable_hlink clean,implib
17129 wine_fn_config_test dlls/hlink/tests hlink_test
17130 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17131 wine_fn_config_dll httpapi enable_httpapi
17132 wine_fn_config_dll iccvid enable_iccvid po
17133 wine_fn_config_dll icmp enable_icmp
17134 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17135 wine_fn_config_test dlls/ieframe/tests ieframe_test
17136 wine_fn_config_dll ifsmgr.vxd enable_win16
17137 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17138 wine_fn_config_dll imagehlp enable_imagehlp implib
17139 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17140 wine_fn_config_dll imm.dll16 enable_win16
17141 wine_fn_config_dll imm32 enable_imm32 implib
17142 wine_fn_config_test dlls/imm32/tests imm32_test
17143 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17144 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17145 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17146 wine_fn_config_dll inetmib1 enable_inetmib1
17147 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17148 wine_fn_config_dll infosoft enable_infosoft clean
17149 wine_fn_config_test dlls/infosoft/tests infosoft_test
17150 wine_fn_config_dll initpki enable_initpki
17151 wine_fn_config_dll inkobj enable_inkobj
17152 wine_fn_config_dll inseng enable_inseng clean
17153 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17154 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17155 wine_fn_config_dll itircl enable_itircl
17156 wine_fn_config_dll itss enable_itss clean
17157 wine_fn_config_test dlls/itss/tests itss_test
17158 wine_fn_config_dll joy.cpl enable_joy_cpl po
17159 wine_fn_config_dll jscript enable_jscript clean,po
17160 wine_fn_config_test dlls/jscript/tests jscript_test
17161 wine_fn_config_dll jsproxy enable_jsproxy implib
17162 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17163 wine_fn_config_test dlls/kernel32/tests kernel32_test
17164 wine_fn_config_dll keyboard.drv16 enable_win16
17165 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17166 wine_fn_config_dll ksuser enable_ksuser
17167 wine_fn_config_dll ktmw32 enable_ktmw32
17168 wine_fn_config_dll loadperf enable_loadperf implib
17169 wine_fn_config_dll localspl enable_localspl po
17170 wine_fn_config_test dlls/localspl/tests localspl_test
17171 wine_fn_config_dll localui enable_localui po
17172 wine_fn_config_test dlls/localui/tests localui_test
17173 wine_fn_config_dll lz32 enable_lz32 implib
17174 wine_fn_config_test dlls/lz32/tests lz32_test
17175 wine_fn_config_dll lzexpand.dll16 enable_win16
17176 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17177 wine_fn_config_test dlls/mapi32/tests mapi32_test
17178 wine_fn_config_dll mapistub enable_mapistub
17179 wine_fn_config_dll mciavi32 enable_mciavi32
17180 wine_fn_config_dll mcicda enable_mcicda
17181 wine_fn_config_dll mciqtz32 enable_mciqtz32
17182 wine_fn_config_dll mciseq enable_mciseq
17183 wine_fn_config_dll mciwave enable_mciwave
17184 wine_fn_config_dll mfplat enable_mfplat
17185 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17186 wine_fn_config_dll mgmtapi enable_mgmtapi
17187 wine_fn_config_dll midimap enable_midimap
17188 wine_fn_config_dll mlang enable_mlang clean,implib
17189 wine_fn_config_test dlls/mlang/tests mlang_test
17190 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17191 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17192 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17193 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17194 wine_fn_config_dll mmdevldr.vxd enable_win16
17195 wine_fn_config_dll mmsystem.dll16 enable_win16
17196 wine_fn_config_dll monodebg.vxd enable_win16
17197 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17198 wine_fn_config_dll mouse.drv16 enable_win16
17199 wine_fn_config_dll mpr enable_mpr implib,po
17200 wine_fn_config_test dlls/mpr/tests mpr_test
17201 wine_fn_config_dll mprapi enable_mprapi implib
17202 wine_fn_config_dll msacm.dll16 enable_win16
17203 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17204 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17205 wine_fn_config_test dlls/msacm32/tests msacm32_test
17206 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17207 wine_fn_config_dll msasn1 enable_msasn1 implib
17208 wine_fn_config_dll mscat32 enable_mscat32
17209 wine_fn_config_dll mscms enable_mscms implib
17210 wine_fn_config_test dlls/mscms/tests mscms_test
17211 wine_fn_config_dll mscoree enable_mscoree clean
17212 wine_fn_config_test dlls/mscoree/tests mscoree_test
17213 wine_fn_config_dll msctf enable_msctf clean
17214 wine_fn_config_test dlls/msctf/tests msctf_test
17215 wine_fn_config_dll msdaps enable_msdaps clean
17216 wine_fn_config_dll msdmo enable_msdmo implib
17217 wine_fn_config_dll msftedit enable_msftedit
17218 wine_fn_config_dll msg711.acm enable_msg711_acm
17219 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17220 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17221 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17222 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17223 wine_fn_config_dll msi enable_msi clean,implib,po
17224 wine_fn_config_test dlls/msi/tests msi_test
17225 wine_fn_config_dll msident enable_msident clean
17226 wine_fn_config_dll msimg32 enable_msimg32 implib
17227 wine_fn_config_dll msimsg enable_msimsg
17228 wine_fn_config_dll msimtf enable_msimtf clean
17229 wine_fn_config_dll msisip enable_msisip
17230 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17231 wine_fn_config_dll msls31 enable_msls31
17232 wine_fn_config_dll msnet32 enable_msnet32
17233 wine_fn_config_dll mspatcha enable_mspatcha
17234 wine_fn_config_dll msrle32 enable_msrle32 po
17235 wine_fn_config_test dlls/msrle32/tests msrle32_test
17236 wine_fn_config_dll mssign32 enable_mssign32
17237 wine_fn_config_dll mssip32 enable_mssip32
17238 wine_fn_config_dll mstask enable_mstask clean
17239 wine_fn_config_test dlls/mstask/tests mstask_test
17240 wine_fn_config_dll msvcirt enable_msvcirt
17241 wine_fn_config_dll msvcm80 enable_msvcm80
17242 wine_fn_config_dll msvcm90 enable_msvcm90
17243 wine_fn_config_dll msvcp100 enable_msvcp100
17244 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17245 wine_fn_config_dll msvcp110 enable_msvcp110
17246 wine_fn_config_dll msvcp120 enable_msvcp120
17247 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17248 wine_fn_config_dll msvcp60 enable_msvcp60
17249 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17250 wine_fn_config_dll msvcp70 enable_msvcp70
17251 wine_fn_config_dll msvcp71 enable_msvcp71
17252 wine_fn_config_dll msvcp80 enable_msvcp80
17253 wine_fn_config_dll msvcp90 enable_msvcp90
17254 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17255 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17256 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17257 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17258 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17259 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17260 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17261 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17262 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17263 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17264 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17265 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17266 wine_fn_config_dll msvcrt enable_msvcrt implib
17267 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17268 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17269 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17270 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17271 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17272 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17273 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17274 wine_fn_config_dll msvidc32 enable_msvidc32 po
17275 wine_fn_config_dll msvideo.dll16 enable_win16
17276 wine_fn_config_dll mswsock enable_mswsock implib
17277 wine_fn_config_dll msxml enable_msxml clean
17278 wine_fn_config_dll msxml2 enable_msxml2 clean
17279 wine_fn_config_dll msxml3 enable_msxml3 clean
17280 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17281 wine_fn_config_dll msxml4 enable_msxml4 clean
17282 wine_fn_config_dll msxml6 enable_msxml6 clean
17283 wine_fn_config_dll nddeapi enable_nddeapi implib
17284 wine_fn_config_dll ndis.sys enable_ndis_sys
17285 wine_fn_config_dll netapi32 enable_netapi32 implib
17286 wine_fn_config_test dlls/netapi32/tests netapi32_test
17287 wine_fn_config_dll netcfgx enable_netcfgx clean
17288 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17289 wine_fn_config_dll netprofm enable_netprofm clean
17290 wine_fn_config_test dlls/netprofm/tests netprofm_test
17291 wine_fn_config_dll newdev enable_newdev implib
17292 wine_fn_config_dll normaliz enable_normaliz implib
17293 wine_fn_config_dll npmshtml enable_npmshtml
17294 wine_fn_config_dll npptools enable_npptools
17295 wine_fn_config_dll ntdll enable_ntdll implib
17296 wine_fn_config_test dlls/ntdll/tests ntdll_test
17297 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17298 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17299 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17300 wine_fn_config_dll ntprint enable_ntprint
17301 wine_fn_config_test dlls/ntprint/tests ntprint_test
17302 wine_fn_config_dll objsel enable_objsel clean
17303 wine_fn_config_dll odbc32 enable_odbc32 implib
17304 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17305 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17306 wine_fn_config_dll odbccu32 enable_odbccu32
17307 wine_fn_config_dll ole2.dll16 enable_win16
17308 wine_fn_config_dll ole2conv.dll16 enable_win16
17309 wine_fn_config_dll ole2disp.dll16 enable_win16
17310 wine_fn_config_dll ole2nls.dll16 enable_win16
17311 wine_fn_config_dll ole2prox.dll16 enable_win16
17312 wine_fn_config_dll ole2thk.dll16 enable_win16
17313 wine_fn_config_dll ole32 enable_ole32 clean,implib
17314 wine_fn_config_test dlls/ole32/tests ole32_test
17315 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17316 wine_fn_config_test dlls/oleacc/tests oleacc_test
17317 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17318 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17319 wine_fn_config_dll olecli.dll16 enable_win16
17320 wine_fn_config_dll olecli32 enable_olecli32 implib
17321 wine_fn_config_dll oledb32 enable_oledb32 clean
17322 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17323 wine_fn_config_dll oledlg enable_oledlg implib,po
17324 wine_fn_config_dll olepro32 enable_olepro32 implib
17325 wine_fn_config_dll olesvr.dll16 enable_win16
17326 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17327 wine_fn_config_dll olethk32 enable_olethk32
17328 wine_fn_config_dll openal32 enable_openal32
17329 wine_fn_config_dll opencl enable_opencl
17330 wine_fn_config_dll opengl32 enable_opengl32 implib
17331 wine_fn_config_test dlls/opengl32/tests opengl32_test
17332 wine_fn_config_dll packager enable_packager clean
17333 wine_fn_config_test dlls/packager/tests packager_test
17334 wine_fn_config_dll pdh enable_pdh implib
17335 wine_fn_config_test dlls/pdh/tests pdh_test
17336 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17337 wine_fn_config_dll pidgen enable_pidgen
17338 wine_fn_config_dll powrprof enable_powrprof implib
17339 wine_fn_config_dll printui enable_printui
17340 wine_fn_config_dll prntvpt enable_prntvpt
17341 wine_fn_config_dll propsys enable_propsys clean,implib
17342 wine_fn_config_test dlls/propsys/tests propsys_test
17343 wine_fn_config_dll psapi enable_psapi implib
17344 wine_fn_config_test dlls/psapi/tests psapi_test
17345 wine_fn_config_dll pstorec enable_pstorec clean
17346 wine_fn_config_dll qcap enable_qcap
17347 wine_fn_config_test dlls/qcap/tests qcap_test
17348 wine_fn_config_dll qedit enable_qedit clean
17349 wine_fn_config_test dlls/qedit/tests qedit_test
17350 wine_fn_config_dll qmgr enable_qmgr clean
17351 wine_fn_config_test dlls/qmgr/tests qmgr_test
17352 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17353 wine_fn_config_dll quartz enable_quartz clean,implib
17354 wine_fn_config_test dlls/quartz/tests quartz_test clean
17355 wine_fn_config_dll query enable_query
17356 wine_fn_config_dll rasapi16.dll16 enable_win16
17357 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17358 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17359 wine_fn_config_dll rasdlg enable_rasdlg implib
17360 wine_fn_config_dll regapi enable_regapi
17361 wine_fn_config_dll resutils enable_resutils implib
17362 wine_fn_config_dll riched20 enable_riched20 implib
17363 wine_fn_config_test dlls/riched20/tests riched20_test
17364 wine_fn_config_dll riched32 enable_riched32
17365 wine_fn_config_test dlls/riched32/tests riched32_test
17366 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17367 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17368 wine_fn_config_dll rsabase enable_rsabase
17369 wine_fn_config_dll rsaenh enable_rsaenh implib
17370 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17371 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17372 wine_fn_config_dll rtutils enable_rtutils implib
17373 wine_fn_config_dll samlib enable_samlib
17374 wine_fn_config_dll sane.ds enable_sane_ds po
17375 wine_fn_config_dll scarddlg enable_scarddlg
17376 wine_fn_config_dll sccbase enable_sccbase
17377 wine_fn_config_dll schannel enable_schannel
17378 wine_fn_config_test dlls/schannel/tests schannel_test
17379 wine_fn_config_dll schedsvc enable_schedsvc clean
17380 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17381 wine_fn_config_dll scrrun enable_scrrun clean
17382 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17383 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17384 wine_fn_config_dll secur32 enable_secur32 implib
17385 wine_fn_config_test dlls/secur32/tests secur32_test
17386 wine_fn_config_dll security enable_security
17387 wine_fn_config_dll sensapi enable_sensapi implib
17388 wine_fn_config_dll serialui enable_serialui implib,po
17389 wine_fn_config_test dlls/serialui/tests serialui_test
17390 wine_fn_config_dll setupapi enable_setupapi implib,po
17391 wine_fn_config_test dlls/setupapi/tests setupapi_test
17392 wine_fn_config_dll setupx.dll16 enable_win16
17393 wine_fn_config_dll sfc enable_sfc implib
17394 wine_fn_config_dll sfc_os enable_sfc_os implib
17395 wine_fn_config_dll shdoclc enable_shdoclc po
17396 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17397 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17398 wine_fn_config_dll shell.dll16 enable_win16
17399 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17400 wine_fn_config_test dlls/shell32/tests shell32_test
17401 wine_fn_config_dll shfolder enable_shfolder implib
17402 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17403 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17404 wine_fn_config_dll slbcsp enable_slbcsp
17405 wine_fn_config_dll slc enable_slc implib
17406 wine_fn_config_dll snmpapi enable_snmpapi implib
17407 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17408 wine_fn_config_dll softpub enable_softpub
17409 wine_fn_config_dll sound.drv16 enable_win16
17410 wine_fn_config_dll spoolss enable_spoolss implib
17411 wine_fn_config_test dlls/spoolss/tests spoolss_test
17412 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17413 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17414 wine_fn_config_dll sti enable_sti clean,implib
17415 wine_fn_config_test dlls/sti/tests sti_test
17416 wine_fn_config_dll storage.dll16 enable_win16
17417 wine_fn_config_dll stress.dll16 enable_win16
17418 wine_fn_config_lib strmbase
17419 wine_fn_config_lib strmiids
17420 wine_fn_config_dll svrapi enable_svrapi
17421 wine_fn_config_dll sxs enable_sxs implib
17422 wine_fn_config_test dlls/sxs/tests sxs_test
17423 wine_fn_config_dll system.drv16 enable_win16
17424 wine_fn_config_dll t2embed enable_t2embed
17425 wine_fn_config_dll tapi32 enable_tapi32 implib
17426 wine_fn_config_dll taskschd enable_taskschd clean
17427 wine_fn_config_test dlls/taskschd/tests taskschd_test
17428 wine_fn_config_dll toolhelp.dll16 enable_win16
17429 wine_fn_config_dll traffic enable_traffic
17430 wine_fn_config_dll twain.dll16 enable_win16
17431 wine_fn_config_dll twain_32 enable_twain_32
17432 wine_fn_config_test dlls/twain_32/tests twain_32_test
17433 wine_fn_config_dll typelib.dll16 enable_win16
17434 wine_fn_config_dll unicows enable_unicows implib
17435 wine_fn_config_dll updspapi enable_updspapi
17436 wine_fn_config_dll url enable_url implib
17437 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17438 wine_fn_config_test dlls/urlmon/tests urlmon_test
17439 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17440 wine_fn_config_dll user.exe16 enable_win16
17441 wine_fn_config_dll user32 enable_user32 clean,implib,po
17442 wine_fn_config_test dlls/user32/tests user32_test
17443 wine_fn_config_dll userenv enable_userenv implib
17444 wine_fn_config_test dlls/userenv/tests userenv_test
17445 wine_fn_config_dll usp10 enable_usp10 implib
17446 wine_fn_config_test dlls/usp10/tests usp10_test
17447 wine_fn_config_lib uuid
17448 wine_fn_config_dll uxtheme enable_uxtheme implib
17449 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17450 wine_fn_config_dll vbscript enable_vbscript clean
17451 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17452 wine_fn_config_dll vcomp enable_vcomp
17453 wine_fn_config_dll vcomp100 enable_vcomp100
17454 wine_fn_config_dll vcomp90 enable_vcomp90
17455 wine_fn_config_dll vdhcp.vxd enable_win16
17456 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17457 wine_fn_config_dll ver.dll16 enable_win16
17458 wine_fn_config_dll version enable_version implib
17459 wine_fn_config_test dlls/version/tests version_test
17460 wine_fn_config_dll vmm.vxd enable_win16
17461 wine_fn_config_dll vnbt.vxd enable_win16
17462 wine_fn_config_dll vnetbios.vxd enable_win16
17463 wine_fn_config_dll vssapi enable_vssapi
17464 wine_fn_config_dll vtdapi.vxd enable_win16
17465 wine_fn_config_dll vwin32.vxd enable_win16
17466 wine_fn_config_dll w32skrnl enable_win16
17467 wine_fn_config_dll w32sys.dll16 enable_win16
17468 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17469 wine_fn_config_dll wbemprox enable_wbemprox clean
17470 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17471 wine_fn_config_dll webservices enable_webservices implib
17472 wine_fn_config_dll wer enable_wer implib
17473 wine_fn_config_test dlls/wer/tests wer_test
17474 wine_fn_config_dll wevtapi enable_wevtapi
17475 wine_fn_config_dll wiaservc enable_wiaservc clean
17476 wine_fn_config_dll win32s16.dll16 enable_win16
17477 wine_fn_config_dll win87em.dll16 enable_win16
17478 wine_fn_config_dll winaspi.dll16 enable_win16
17479 wine_fn_config_dll windebug.dll16 enable_win16
17480 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17481 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17482 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17483 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17484 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17485 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17486 wine_fn_config_lib winecrt0
17487 wine_fn_config_dll wined3d enable_wined3d implib
17488 wine_fn_config_dll winegstreamer enable_winegstreamer
17489 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17490 wine_fn_config_dll winemac.drv enable_winemac_drv
17491 wine_fn_config_dll winemapi enable_winemapi
17492 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17493 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17494 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17495 wine_fn_config_dll wineps16.drv16 enable_win16
17496 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17497 wine_fn_config_dll winex11.drv enable_winex11_drv
17498 wine_fn_config_dll wing.dll16 enable_win16
17499 wine_fn_config_dll wing32 enable_wing32
17500 wine_fn_config_dll winhttp enable_winhttp clean,implib
17501 wine_fn_config_test dlls/winhttp/tests winhttp_test
17502 wine_fn_config_dll wininet enable_wininet implib,po
17503 wine_fn_config_test dlls/wininet/tests wininet_test
17504 wine_fn_config_dll winmm enable_winmm implib,po
17505 wine_fn_config_test dlls/winmm/tests winmm_test
17506 wine_fn_config_dll winnls.dll16 enable_win16
17507 wine_fn_config_dll winnls32 enable_winnls32 implib
17508 wine_fn_config_dll winscard enable_winscard implib
17509 wine_fn_config_dll winsock.dll16 enable_win16
17510 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17511 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17512 wine_fn_config_dll winsta enable_winsta
17513 wine_fn_config_dll wintab.dll16 enable_win16
17514 wine_fn_config_dll wintab32 enable_wintab32 implib
17515 wine_fn_config_test dlls/wintab32/tests wintab32_test
17516 wine_fn_config_dll wintrust enable_wintrust implib
17517 wine_fn_config_test dlls/wintrust/tests wintrust_test
17518 wine_fn_config_dll wlanapi enable_wlanapi
17519 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17520 wine_fn_config_test dlls/wldap32/tests wldap32_test
17521 wine_fn_config_dll wmi enable_wmi
17522 wine_fn_config_dll wmiutils enable_wmiutils clean
17523 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17524 wine_fn_config_dll wmp enable_wmp clean
17525 wine_fn_config_test dlls/wmp/tests wmp_test
17526 wine_fn_config_dll wmvcore enable_wmvcore
17527 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17528 wine_fn_config_dll wow32 enable_win16 implib
17529 wine_fn_config_dll wpcap enable_wpcap
17530 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17531 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17532 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17533 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17534 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17535 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17536 wine_fn_config_dll wsock32 enable_wsock32 implib
17537 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17538 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17539 wine_fn_config_dll wuapi enable_wuapi clean
17540 wine_fn_config_dll wuaueng enable_wuaueng
17541 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17542 wine_fn_config_dll xinput1_1 enable_xinput1_1
17543 wine_fn_config_dll xinput1_2 enable_xinput1_2
17544 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17545 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17546 wine_fn_config_dll xinput1_4 enable_xinput1_4
17547 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17548 wine_fn_config_dll xmllite enable_xmllite implib
17549 wine_fn_config_test dlls/xmllite/tests xmllite_test
17550 wine_fn_config_dll xolehlp enable_xolehlp
17551 wine_fn_config_dll xpsprint enable_xpsprint
17552 wine_fn_config_dll xpssvcs enable_xpssvcs
17553 wine_fn_config_makefile documentation enable_documentation clean
17554 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17555 wine_fn_config_makefile include enable_include clean,install-dev
17556 wine_fn_config_makefile libs/port enable_libs_port
17557 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17558 wine_fn_config_makefile libs/wpp enable_libs_wpp
17559 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17560 wine_fn_config_program arp enable_arp install
17561 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17562 wine_fn_config_program attrib enable_attrib install,po
17563 wine_fn_config_program cabarc enable_cabarc install
17564 wine_fn_config_program cacls enable_cacls install
17565 wine_fn_config_program clock enable_clock install,po
17566 wine_fn_config_program cmd enable_cmd install,po
17567 wine_fn_config_test programs/cmd/tests cmd.exe_test
17568 wine_fn_config_program conhost enable_conhost install
17569 wine_fn_config_program control enable_control install
17570 wine_fn_config_program cscript enable_cscript clean,install
17571 wine_fn_config_program dpnsvr enable_dpnsvr install
17572 wine_fn_config_program dxdiag enable_dxdiag install,po
17573 wine_fn_config_program eject enable_eject install
17574 wine_fn_config_program expand enable_expand install
17575 wine_fn_config_program explorer enable_explorer install,po
17576 wine_fn_config_program extrac32 enable_extrac32 install
17577 wine_fn_config_program findstr enable_findstr install
17578 wine_fn_config_program hh enable_hh install
17579 wine_fn_config_program hostname enable_hostname install,po
17580 wine_fn_config_program icinfo enable_icinfo install
17581 wine_fn_config_program iexplore enable_iexplore install
17582 wine_fn_config_program ipconfig enable_ipconfig install,po
17583 wine_fn_config_program lodctr enable_lodctr install
17584 wine_fn_config_program mofcomp enable_mofcomp install
17585 wine_fn_config_program mshta enable_mshta install
17586 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17587 wine_fn_config_program net enable_net install,po
17588 wine_fn_config_program netsh enable_netsh install
17589 wine_fn_config_program netstat enable_netstat install,po
17590 wine_fn_config_program ngen enable_ngen install
17591 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17592 wine_fn_config_program oleview enable_oleview install,po
17593 wine_fn_config_program ping enable_ping install
17594 wine_fn_config_program plugplay enable_plugplay install
17595 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17596 wine_fn_config_program progman enable_progman install,po
17597 wine_fn_config_program reg enable_reg install,po
17598 wine_fn_config_test programs/reg/tests reg.exe_test
17599 wine_fn_config_program regasm enable_regasm install
17600 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17601 wine_fn_config_test programs/regedit/tests regedit.exe_test
17602 wine_fn_config_program regsvcs enable_regsvcs install
17603 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17604 wine_fn_config_program rpcss enable_rpcss clean,install
17605 wine_fn_config_program rundll.exe16 enable_win16 install
17606 wine_fn_config_program rundll32 enable_rundll32 install
17607 wine_fn_config_program sc enable_sc install
17608 wine_fn_config_program schtasks enable_schtasks install
17609 wine_fn_config_program sdbinst enable_sdbinst install
17610 wine_fn_config_program secedit enable_secedit install
17611 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17612 wine_fn_config_program services enable_services clean,install
17613 wine_fn_config_test programs/services/tests services.exe_test
17614 wine_fn_config_program spoolsv enable_spoolsv install
17615 wine_fn_config_program start enable_start install,po
17616 wine_fn_config_program svchost enable_svchost install
17617 wine_fn_config_program systeminfo enable_systeminfo install
17618 wine_fn_config_program taskkill enable_taskkill install,po
17619 wine_fn_config_program tasklist enable_tasklist install
17620 wine_fn_config_program taskmgr enable_taskmgr install,po
17621 wine_fn_config_program termsv enable_termsv install
17622 wine_fn_config_program uninstaller enable_uninstaller install,po
17623 wine_fn_config_program unlodctr enable_unlodctr install
17624 wine_fn_config_program view enable_view install,po
17625 wine_fn_config_program wevtutil enable_wevtutil install
17626 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17627 wine_fn_config_program winebrowser enable_winebrowser install
17628 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17629 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17630 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17631 wine_fn_config_program winedevice enable_winedevice install
17632 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17633 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17634 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17635 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17636 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17637 wine_fn_config_program winetest enable_winetest clean
17638 wine_fn_config_program winevdm enable_win16 install
17639 wine_fn_config_program winhelp.exe16 enable_win16 install
17640 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17641 wine_fn_config_program winoldap.mod16 enable_win16 install
17642 wine_fn_config_program winver enable_winver install
17643 wine_fn_config_program wmic enable_wmic install,po
17644 wine_fn_config_program wordpad enable_wordpad install,po
17645 wine_fn_config_program write enable_write install,po
17646 wine_fn_config_program wscript enable_wscript clean,install
17647 wine_fn_config_test programs/wscript/tests wscript.exe_test
17648 wine_fn_config_program wusa enable_wusa install
17649 wine_fn_config_program xcopy enable_xcopy install,po
17650 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17651 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17652 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17653 wine_fn_config_tool tools/sfnt2fon clean
17654 wine_fn_config_tool tools/widl clean,install-dev,manpage
17655 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17656 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17657 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17658 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17659 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17661 LINGUAS="\
17662 ar \
17663 bg \
17664 ca \
17665 cs \
17666 da \
17667 de \
17668 el \
17669 en \
17670 en_US \
17671 eo \
17672 es \
17673 fa \
17674 fi \
17675 fr \
17676 he \
17677 hi \
17678 hr \
17679 hu \
17680 it \
17681 ja \
17682 ko \
17683 lt \
17684 ml \
17685 nb_NO \
17686 nl \
17687 or \
17688 pa \
17689 pl \
17690 pt_BR \
17691 pt_PT \
17692 rm \
17693 ro \
17694 ru \
17695 sk \
17696 sl \
17697 sr_RS@cyrillic \
17698 sr_RS@latin \
17699 sv \
17700 te \
17701 th \
17702 tr \
17703 uk \
17704 wa \
17705 zh_CN \
17706 zh_TW"
17711 wine_fn_ignore_file ".gitignore"
17712 wine_fn_ignore_file "Makefile"
17713 wine_fn_ignore_file "TAGS"
17714 wine_fn_ignore_file "tags"
17715 wine_fn_ignore_file "autom4te.cache"
17716 wine_fn_ignore_file "config.cache"
17717 wine_fn_ignore_file "config.log"
17718 wine_fn_ignore_file "config.status"
17719 wine_fn_ignore_file "configure.lineno"
17720 wine_fn_ignore_file "include/config.h"
17721 wine_fn_ignore_file "include/stamp-h"
17722 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17724 if test "x$enable_tools" != xno
17725 then
17726 wine_fn_ignore_file "tools/makedep$ac_exeext"
17727 ac_config_commands="$ac_config_commands tools/makedep"
17731 ac_config_commands="$ac_config_commands Makefile"
17734 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17738 if test "x$enable_maintainer_mode" = xyes
17739 then
17740 wine_fn_append_rule "configure: configure.ac aclocal.m4
17741 autoconf --warnings=all
17742 include/config.h.in: include/stamp-h.in
17743 include/stamp-h.in: configure.ac aclocal.m4
17744 autoheader --warnings=all
17745 @echo timestamp > \$@"
17748 if test "x$with_gettextpo" = xyes
17749 then
17750 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17751 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17752 \$(LINGUAS:%=po/%.po): po/wine.pot
17753 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17754 po/wine.pot: \$(ALL_POT_FILES)
17755 msgcat -o \$@ \$(ALL_POT_FILES)"
17758 if test "$MSGFMT" != false
17759 then
17760 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17761 clean::
17762 \$(RM) \$(LINGUAS:%=po/%.mo)"
17764 posrc="po"
17765 test "$srcdir" = . || posrc="$srcdir/po"
17766 for i in $LINGUAS
17768 wine_fn_ignore_file "po/$i.mo"
17769 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17770 \$(MSGFMT) -o \$@ $posrc/$i.po"
17771 done
17772 else
17773 LINGUAS=
17776 if test "x$enable_tools" != xno
17777 then
17778 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17779 @./config.status tools/makedep
17780 Makefile: tools/makedep$ac_exeext
17781 distclean:: clean
17782 \$(RM) tools/makedep$ac_exeext"
17783 else
17784 wine_fn_append_rule "\$(MAKEDEP):
17785 @echo \"You need to run make in $TOOLSDIR first\" && false"
17788 if test -n "$with_wine64"
17789 then
17790 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17791 fonts server tools:
17792 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17793 $with_wine64/loader/wine:
17794 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17795 $with_wine64/loader/wine-preloader:
17796 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17797 clean::
17798 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17799 else
17800 as_fn_append LOADER_RULES "
17801 install install-lib:: wine.inf install-man-pages
17802 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17803 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17805 uninstall::
17806 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17810 if test "$srcdir" = .
17811 then
17812 ac_config_commands="$ac_config_commands .gitignore"
17816 $as_echo " done" >&6
17817 cat >confcache <<\_ACEOF
17818 # This file is a shell script that caches the results of configure
17819 # tests run on this system so they can be shared between configure
17820 # scripts and configure runs, see configure's option --config-cache.
17821 # It is not useful on other systems. If it contains results you don't
17822 # want to keep, you may remove or edit it.
17824 # config.status only pays attention to the cache file if you give it
17825 # the --recheck option to rerun configure.
17827 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17828 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17829 # following values.
17831 _ACEOF
17833 # The following way of writing the cache mishandles newlines in values,
17834 # but we know of no workaround that is simple, portable, and efficient.
17835 # So, we kill variables containing newlines.
17836 # Ultrix sh set writes to stderr and can't be redirected directly,
17837 # and sets the high bit in the cache file unless we assign to the vars.
17839 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17840 eval ac_val=\$$ac_var
17841 case $ac_val in #(
17842 *${as_nl}*)
17843 case $ac_var in #(
17844 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17845 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17846 esac
17847 case $ac_var in #(
17848 _ | IFS | as_nl) ;; #(
17849 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17850 *) { eval $ac_var=; unset $ac_var;} ;;
17851 esac ;;
17852 esac
17853 done
17855 (set) 2>&1 |
17856 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17857 *${as_nl}ac_space=\ *)
17858 # `set' does not quote correctly, so add quotes: double-quote
17859 # substitution turns \\\\ into \\, and sed turns \\ into \.
17860 sed -n \
17861 "s/'/'\\\\''/g;
17862 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17863 ;; #(
17865 # `set' quotes correctly as required by POSIX, so do not add quotes.
17866 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17868 esac |
17869 sort
17871 sed '
17872 /^ac_cv_env_/b end
17873 t clear
17874 :clear
17875 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17876 t end
17877 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17878 :end' >>confcache
17879 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17880 if test -w "$cache_file"; then
17881 if test "x$cache_file" != "x/dev/null"; then
17882 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17883 $as_echo "$as_me: updating cache $cache_file" >&6;}
17884 if test ! -f "$cache_file" || test -h "$cache_file"; then
17885 cat confcache >"$cache_file"
17886 else
17887 case $cache_file in #(
17888 */* | ?:*)
17889 mv -f confcache "$cache_file"$$ &&
17890 mv -f "$cache_file"$$ "$cache_file" ;; #(
17892 mv -f confcache "$cache_file" ;;
17893 esac
17896 else
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17898 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17901 rm -f confcache
17903 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17904 # Let make expand exec_prefix.
17905 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17907 DEFS=-DHAVE_CONFIG_H
17909 ac_libobjs=
17910 ac_ltlibobjs=
17912 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17913 # 1. Remove the extension, and $U if already installed.
17914 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17915 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17916 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17917 # will be set to the directory where LIBOBJS objects are built.
17918 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17919 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17920 done
17921 LIBOBJS=$ac_libobjs
17923 LTLIBOBJS=$ac_ltlibobjs
17927 : "${CONFIG_STATUS=./config.status}"
17928 ac_write_fail=0
17929 ac_clean_files_save=$ac_clean_files
17930 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17931 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17932 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17933 as_write_fail=0
17934 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17935 #! $SHELL
17936 # Generated by $as_me.
17937 # Run this file to recreate the current configuration.
17938 # Compiler output produced by configure, useful for debugging
17939 # configure, is in config.log if it exists.
17941 debug=false
17942 ac_cs_recheck=false
17943 ac_cs_silent=false
17945 SHELL=\${CONFIG_SHELL-$SHELL}
17946 export SHELL
17947 _ASEOF
17948 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17949 ## -------------------- ##
17950 ## M4sh Initialization. ##
17951 ## -------------------- ##
17953 # Be more Bourne compatible
17954 DUALCASE=1; export DUALCASE # for MKS sh
17955 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17956 emulate sh
17957 NULLCMD=:
17958 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17959 # is contrary to our usage. Disable this feature.
17960 alias -g '${1+"$@"}'='"$@"'
17961 setopt NO_GLOB_SUBST
17962 else
17963 case `(set -o) 2>/dev/null` in #(
17964 *posix*) :
17965 set -o posix ;; #(
17966 *) :
17968 esac
17972 as_nl='
17974 export as_nl
17975 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17976 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17977 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17978 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17979 # Prefer a ksh shell builtin over an external printf program on Solaris,
17980 # but without wasting forks for bash or zsh.
17981 if test -z "$BASH_VERSION$ZSH_VERSION" \
17982 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17983 as_echo='print -r --'
17984 as_echo_n='print -rn --'
17985 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17986 as_echo='printf %s\n'
17987 as_echo_n='printf %s'
17988 else
17989 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17990 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17991 as_echo_n='/usr/ucb/echo -n'
17992 else
17993 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17994 as_echo_n_body='eval
17995 arg=$1;
17996 case $arg in #(
17997 *"$as_nl"*)
17998 expr "X$arg" : "X\\(.*\\)$as_nl";
17999 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18000 esac;
18001 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18003 export as_echo_n_body
18004 as_echo_n='sh -c $as_echo_n_body as_echo'
18006 export as_echo_body
18007 as_echo='sh -c $as_echo_body as_echo'
18010 # The user is always right.
18011 if test "${PATH_SEPARATOR+set}" != set; then
18012 PATH_SEPARATOR=:
18013 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18014 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18015 PATH_SEPARATOR=';'
18020 # IFS
18021 # We need space, tab and new line, in precisely that order. Quoting is
18022 # there to prevent editors from complaining about space-tab.
18023 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18024 # splitting by setting IFS to empty value.)
18025 IFS=" "" $as_nl"
18027 # Find who we are. Look in the path if we contain no directory separator.
18028 as_myself=
18029 case $0 in #((
18030 *[\\/]* ) as_myself=$0 ;;
18031 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18032 for as_dir in $PATH
18034 IFS=$as_save_IFS
18035 test -z "$as_dir" && as_dir=.
18036 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18037 done
18038 IFS=$as_save_IFS
18041 esac
18042 # We did not find ourselves, most probably we were run as `sh COMMAND'
18043 # in which case we are not to be found in the path.
18044 if test "x$as_myself" = x; then
18045 as_myself=$0
18047 if test ! -f "$as_myself"; then
18048 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18049 exit 1
18052 # Unset variables that we do not need and which cause bugs (e.g. in
18053 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18054 # suppresses any "Segmentation fault" message there. '((' could
18055 # trigger a bug in pdksh 5.2.14.
18056 for as_var in BASH_ENV ENV MAIL MAILPATH
18057 do eval test x\${$as_var+set} = xset \
18058 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18059 done
18060 PS1='$ '
18061 PS2='> '
18062 PS4='+ '
18064 # NLS nuisances.
18065 LC_ALL=C
18066 export LC_ALL
18067 LANGUAGE=C
18068 export LANGUAGE
18070 # CDPATH.
18071 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18074 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18075 # ----------------------------------------
18076 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18077 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18078 # script with STATUS, using 1 if that was 0.
18079 as_fn_error ()
18081 as_status=$1; test $as_status -eq 0 && as_status=1
18082 if test "$4"; then
18083 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18084 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18086 $as_echo "$as_me: error: $2" >&2
18087 as_fn_exit $as_status
18088 } # as_fn_error
18091 # as_fn_set_status STATUS
18092 # -----------------------
18093 # Set $? to STATUS, without forking.
18094 as_fn_set_status ()
18096 return $1
18097 } # as_fn_set_status
18099 # as_fn_exit STATUS
18100 # -----------------
18101 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18102 as_fn_exit ()
18104 set +e
18105 as_fn_set_status $1
18106 exit $1
18107 } # as_fn_exit
18109 # as_fn_unset VAR
18110 # ---------------
18111 # Portably unset VAR.
18112 as_fn_unset ()
18114 { eval $1=; unset $1;}
18116 as_unset=as_fn_unset
18117 # as_fn_append VAR VALUE
18118 # ----------------------
18119 # Append the text in VALUE to the end of the definition contained in VAR. Take
18120 # advantage of any shell optimizations that allow amortized linear growth over
18121 # repeated appends, instead of the typical quadratic growth present in naive
18122 # implementations.
18123 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18124 eval 'as_fn_append ()
18126 eval $1+=\$2
18128 else
18129 as_fn_append ()
18131 eval $1=\$$1\$2
18133 fi # as_fn_append
18135 # as_fn_arith ARG...
18136 # ------------------
18137 # Perform arithmetic evaluation on the ARGs, and store the result in the
18138 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18139 # must be portable across $(()) and expr.
18140 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18141 eval 'as_fn_arith ()
18143 as_val=$(( $* ))
18145 else
18146 as_fn_arith ()
18148 as_val=`expr "$@" || test $? -eq 1`
18150 fi # as_fn_arith
18153 if expr a : '\(a\)' >/dev/null 2>&1 &&
18154 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18155 as_expr=expr
18156 else
18157 as_expr=false
18160 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18161 as_basename=basename
18162 else
18163 as_basename=false
18166 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18167 as_dirname=dirname
18168 else
18169 as_dirname=false
18172 as_me=`$as_basename -- "$0" ||
18173 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18174 X"$0" : 'X\(//\)$' \| \
18175 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18176 $as_echo X/"$0" |
18177 sed '/^.*\/\([^/][^/]*\)\/*$/{
18178 s//\1/
18181 /^X\/\(\/\/\)$/{
18182 s//\1/
18185 /^X\/\(\/\).*/{
18186 s//\1/
18189 s/.*/./; q'`
18191 # Avoid depending upon Character Ranges.
18192 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18193 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18194 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18195 as_cr_digits='0123456789'
18196 as_cr_alnum=$as_cr_Letters$as_cr_digits
18198 ECHO_C= ECHO_N= ECHO_T=
18199 case `echo -n x` in #(((((
18200 -n*)
18201 case `echo 'xy\c'` in
18202 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18203 xy) ECHO_C='\c';;
18204 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18205 ECHO_T=' ';;
18206 esac;;
18208 ECHO_N='-n';;
18209 esac
18211 rm -f conf$$ conf$$.exe conf$$.file
18212 if test -d conf$$.dir; then
18213 rm -f conf$$.dir/conf$$.file
18214 else
18215 rm -f conf$$.dir
18216 mkdir conf$$.dir 2>/dev/null
18218 if (echo >conf$$.file) 2>/dev/null; then
18219 if ln -s conf$$.file conf$$ 2>/dev/null; then
18220 as_ln_s='ln -s'
18221 # ... but there are two gotchas:
18222 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18223 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18224 # In both cases, we have to default to `cp -pR'.
18225 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18226 as_ln_s='cp -pR'
18227 elif ln conf$$.file conf$$ 2>/dev/null; then
18228 as_ln_s=ln
18229 else
18230 as_ln_s='cp -pR'
18232 else
18233 as_ln_s='cp -pR'
18235 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18236 rmdir conf$$.dir 2>/dev/null
18239 # as_fn_mkdir_p
18240 # -------------
18241 # Create "$as_dir" as a directory, including parents if necessary.
18242 as_fn_mkdir_p ()
18245 case $as_dir in #(
18246 -*) as_dir=./$as_dir;;
18247 esac
18248 test -d "$as_dir" || eval $as_mkdir_p || {
18249 as_dirs=
18250 while :; do
18251 case $as_dir in #(
18252 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18253 *) as_qdir=$as_dir;;
18254 esac
18255 as_dirs="'$as_qdir' $as_dirs"
18256 as_dir=`$as_dirname -- "$as_dir" ||
18257 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18258 X"$as_dir" : 'X\(//\)[^/]' \| \
18259 X"$as_dir" : 'X\(//\)$' \| \
18260 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18261 $as_echo X"$as_dir" |
18262 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18263 s//\1/
18266 /^X\(\/\/\)[^/].*/{
18267 s//\1/
18270 /^X\(\/\/\)$/{
18271 s//\1/
18274 /^X\(\/\).*/{
18275 s//\1/
18278 s/.*/./; q'`
18279 test -d "$as_dir" && break
18280 done
18281 test -z "$as_dirs" || eval "mkdir $as_dirs"
18282 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18285 } # as_fn_mkdir_p
18286 if mkdir -p . 2>/dev/null; then
18287 as_mkdir_p='mkdir -p "$as_dir"'
18288 else
18289 test -d ./-p && rmdir ./-p
18290 as_mkdir_p=false
18294 # as_fn_executable_p FILE
18295 # -----------------------
18296 # Test if FILE is an executable regular file.
18297 as_fn_executable_p ()
18299 test -f "$1" && test -x "$1"
18300 } # as_fn_executable_p
18301 as_test_x='test -x'
18302 as_executable_p=as_fn_executable_p
18304 # Sed expression to map a string onto a valid CPP name.
18305 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18307 # Sed expression to map a string onto a valid variable name.
18308 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18311 exec 6>&1
18312 ## ----------------------------------- ##
18313 ## Main body of $CONFIG_STATUS script. ##
18314 ## ----------------------------------- ##
18315 _ASEOF
18316 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18319 # Save the log message, to keep $0 and so on meaningful, and to
18320 # report actual input values of CONFIG_FILES etc. instead of their
18321 # values after options handling.
18322 ac_log="
18323 This file was extended by Wine $as_me 1.7.33, which was
18324 generated by GNU Autoconf 2.69. Invocation command line was
18326 CONFIG_FILES = $CONFIG_FILES
18327 CONFIG_HEADERS = $CONFIG_HEADERS
18328 CONFIG_LINKS = $CONFIG_LINKS
18329 CONFIG_COMMANDS = $CONFIG_COMMANDS
18330 $ $0 $@
18332 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18335 _ACEOF
18337 case $ac_config_files in *"
18338 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18339 esac
18341 case $ac_config_headers in *"
18342 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18343 esac
18346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18347 # Files that config.status was made for.
18348 config_files="$ac_config_files"
18349 config_headers="$ac_config_headers"
18350 config_links="$ac_config_links"
18351 config_commands="$ac_config_commands"
18353 _ACEOF
18355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18356 ac_cs_usage="\
18357 \`$as_me' instantiates files and other configuration actions
18358 from templates according to the current configuration. Unless the files
18359 and actions are specified as TAGs, all are instantiated by default.
18361 Usage: $0 [OPTION]... [TAG]...
18363 -h, --help print this help, then exit
18364 -V, --version print version number and configuration settings, then exit
18365 --config print configuration, then exit
18366 -q, --quiet, --silent
18367 do not print progress messages
18368 -d, --debug don't remove temporary files
18369 --recheck update $as_me by reconfiguring in the same conditions
18370 --file=FILE[:TEMPLATE]
18371 instantiate the configuration file FILE
18372 --header=FILE[:TEMPLATE]
18373 instantiate the configuration header FILE
18375 Configuration files:
18376 $config_files
18378 Configuration headers:
18379 $config_headers
18381 Configuration links:
18382 $config_links
18384 Configuration commands:
18385 $config_commands
18387 Report bugs to <wine-devel@winehq.org>.
18388 Wine home page: <http://www.winehq.org>."
18390 _ACEOF
18391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18392 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18393 ac_cs_version="\\
18394 Wine config.status 1.7.33
18395 configured by $0, generated by GNU Autoconf 2.69,
18396 with options \\"\$ac_cs_config\\"
18398 Copyright (C) 2012 Free Software Foundation, Inc.
18399 This config.status script is free software; the Free Software Foundation
18400 gives unlimited permission to copy, distribute and modify it."
18402 ac_pwd='$ac_pwd'
18403 srcdir='$srcdir'
18404 test -n "\$AWK" || AWK=awk
18405 _ACEOF
18407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18408 # The default lists apply if the user does not specify any file.
18409 ac_need_defaults=:
18410 while test $# != 0
18412 case $1 in
18413 --*=?*)
18414 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18415 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18416 ac_shift=:
18418 --*=)
18419 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18420 ac_optarg=
18421 ac_shift=:
18424 ac_option=$1
18425 ac_optarg=$2
18426 ac_shift=shift
18428 esac
18430 case $ac_option in
18431 # Handling of the options.
18432 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18433 ac_cs_recheck=: ;;
18434 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18435 $as_echo "$ac_cs_version"; exit ;;
18436 --config | --confi | --conf | --con | --co | --c )
18437 $as_echo "$ac_cs_config"; exit ;;
18438 --debug | --debu | --deb | --de | --d | -d )
18439 debug=: ;;
18440 --file | --fil | --fi | --f )
18441 $ac_shift
18442 case $ac_optarg in
18443 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18444 '') as_fn_error $? "missing file argument" ;;
18445 esac
18446 as_fn_append CONFIG_FILES " '$ac_optarg'"
18447 ac_need_defaults=false;;
18448 --header | --heade | --head | --hea )
18449 $ac_shift
18450 case $ac_optarg in
18451 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18452 esac
18453 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18454 ac_need_defaults=false;;
18455 --he | --h)
18456 # Conflict between --help and --header
18457 as_fn_error $? "ambiguous option: \`$1'
18458 Try \`$0 --help' for more information.";;
18459 --help | --hel | -h )
18460 $as_echo "$ac_cs_usage"; exit ;;
18461 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18462 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18463 ac_cs_silent=: ;;
18465 # This is an error.
18466 -*) as_fn_error $? "unrecognized option: \`$1'
18467 Try \`$0 --help' for more information." ;;
18469 *) as_fn_append ac_config_targets " $1"
18470 ac_need_defaults=false ;;
18472 esac
18473 shift
18474 done
18476 ac_configure_extra_args=
18478 if $ac_cs_silent; then
18479 exec 6>/dev/null
18480 ac_configure_extra_args="$ac_configure_extra_args --silent"
18483 _ACEOF
18484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18485 if \$ac_cs_recheck; then
18486 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18487 shift
18488 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18489 CONFIG_SHELL='$SHELL'
18490 export CONFIG_SHELL
18491 exec "\$@"
18494 _ACEOF
18495 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18496 exec 5>>config.log
18498 echo
18499 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18500 ## Running $as_me. ##
18501 _ASBOX
18502 $as_echo "$ac_log"
18503 } >&5
18505 _ACEOF
18506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18508 # INIT-COMMANDS
18510 wine_fn_output_makedep ()
18512 as_dir=tools; as_fn_mkdir_p
18513 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18515 wine_fn_output_makefile ()
18517 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18518 `cat $wine_rules_file`
18519 _WINE_EOF
18520 as_fn_error $? "could not create Makefile" "$LINENO" 5
18522 wine_fn_output_gitignore ()
18524 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18525 $GITIGNORE
18526 _WINE_EOF
18527 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18530 _ACEOF
18532 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18534 # Handling of arguments.
18535 for ac_config_target in $ac_config_targets
18537 case $ac_config_target in
18538 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18539 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18540 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18541 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18542 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18543 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18544 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18545 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18546 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18547 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18548 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18549 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18550 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18551 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18553 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18554 esac
18555 done
18558 # If the user did not use the arguments to specify the items to instantiate,
18559 # then the envvar interface is used. Set only those that are not.
18560 # We use the long form for the default assignment because of an extremely
18561 # bizarre bug on SunOS 4.1.3.
18562 if $ac_need_defaults; then
18563 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18564 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18565 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18566 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18569 # Have a temporary directory for convenience. Make it in the build tree
18570 # simply because there is no reason against having it here, and in addition,
18571 # creating and moving files from /tmp can sometimes cause problems.
18572 # Hook for its removal unless debugging.
18573 # Note that there is a small window in which the directory will not be cleaned:
18574 # after its creation but before its name has been assigned to `$tmp'.
18575 $debug ||
18577 tmp= ac_tmp=
18578 trap 'exit_status=$?
18579 : "${ac_tmp:=$tmp}"
18580 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18582 trap 'as_fn_exit 1' 1 2 13 15
18584 # Create a (secure) tmp directory for tmp files.
18587 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18588 test -d "$tmp"
18589 } ||
18591 tmp=./conf$$-$RANDOM
18592 (umask 077 && mkdir "$tmp")
18593 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18594 ac_tmp=$tmp
18596 # Set up the scripts for CONFIG_FILES section.
18597 # No need to generate them if there are no CONFIG_FILES.
18598 # This happens for instance with `./config.status config.h'.
18599 if test -n "$CONFIG_FILES"; then
18602 ac_cr=`echo X | tr X '\015'`
18603 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18604 # But we know of no other shell where ac_cr would be empty at this
18605 # point, so we can use a bashism as a fallback.
18606 if test "x$ac_cr" = x; then
18607 eval ac_cr=\$\'\\r\'
18609 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18610 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18611 ac_cs_awk_cr='\\r'
18612 else
18613 ac_cs_awk_cr=$ac_cr
18616 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18617 _ACEOF
18621 echo "cat >conf$$subs.awk <<_ACEOF" &&
18622 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18623 echo "_ACEOF"
18624 } >conf$$subs.sh ||
18625 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18626 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18627 ac_delim='%!_!# '
18628 for ac_last_try in false false false false false :; do
18629 . ./conf$$subs.sh ||
18630 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18632 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18633 if test $ac_delim_n = $ac_delim_num; then
18634 break
18635 elif $ac_last_try; then
18636 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18637 else
18638 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18640 done
18641 rm -f conf$$subs.sh
18643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18644 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18645 _ACEOF
18646 sed -n '
18648 s/^/S["/; s/!.*/"]=/
18651 s/^[^!]*!//
18652 :repl
18653 t repl
18654 s/'"$ac_delim"'$//
18655 t delim
18658 s/\(.\{148\}\)..*/\1/
18659 t more1
18660 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18663 b repl
18664 :more1
18665 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18668 s/.\{148\}//
18669 t nl
18670 :delim
18672 s/\(.\{148\}\)..*/\1/
18673 t more2
18674 s/["\\]/\\&/g; s/^/"/; s/$/"/
18677 :more2
18678 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18681 s/.\{148\}//
18682 t delim
18683 ' <conf$$subs.awk | sed '
18684 /^[^""]/{
18686 s/\n//
18688 ' >>$CONFIG_STATUS || ac_write_fail=1
18689 rm -f conf$$subs.awk
18690 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18691 _ACAWK
18692 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18693 for (key in S) S_is_set[key] = 1
18694 FS = "\a"
18698 line = $ 0
18699 nfields = split(line, field, "@")
18700 substed = 0
18701 len = length(field[1])
18702 for (i = 2; i < nfields; i++) {
18703 key = field[i]
18704 keylen = length(key)
18705 if (S_is_set[key]) {
18706 value = S[key]
18707 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18708 len += length(value) + length(field[++i])
18709 substed = 1
18710 } else
18711 len += 1 + keylen
18714 print line
18717 _ACAWK
18718 _ACEOF
18719 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18720 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18721 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18722 else
18724 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18725 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18726 _ACEOF
18728 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18729 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18730 # trailing colons and then remove the whole line if VPATH becomes empty
18731 # (actually we leave an empty line to preserve line numbers).
18732 if test "x$srcdir" = x.; then
18733 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18735 s///
18736 s/^/:/
18737 s/[ ]*$/:/
18738 s/:\$(srcdir):/:/g
18739 s/:\${srcdir}:/:/g
18740 s/:@srcdir@:/:/g
18741 s/^:*//
18742 s/:*$//
18744 s/\(=[ ]*\).*/\1/
18746 s/\n//
18747 s/^[^=]*=[ ]*$//
18751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18752 fi # test -n "$CONFIG_FILES"
18754 # Set up the scripts for CONFIG_HEADERS section.
18755 # No need to generate them if there are no CONFIG_HEADERS.
18756 # This happens for instance with `./config.status Makefile'.
18757 if test -n "$CONFIG_HEADERS"; then
18758 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18759 BEGIN {
18760 _ACEOF
18762 # Transform confdefs.h into an awk script `defines.awk', embedded as
18763 # here-document in config.status, that substitutes the proper values into
18764 # config.h.in to produce config.h.
18766 # Create a delimiter string that does not exist in confdefs.h, to ease
18767 # handling of long lines.
18768 ac_delim='%!_!# '
18769 for ac_last_try in false false :; do
18770 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18771 if test -z "$ac_tt"; then
18772 break
18773 elif $ac_last_try; then
18774 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18775 else
18776 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18778 done
18780 # For the awk script, D is an array of macro values keyed by name,
18781 # likewise P contains macro parameters if any. Preserve backslash
18782 # newline sequences.
18784 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18785 sed -n '
18786 s/.\{148\}/&'"$ac_delim"'/g
18787 t rset
18788 :rset
18789 s/^[ ]*#[ ]*define[ ][ ]*/ /
18790 t def
18792 :def
18793 s/\\$//
18794 t bsnl
18795 s/["\\]/\\&/g
18796 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18797 D["\1"]=" \3"/p
18798 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18800 :bsnl
18801 s/["\\]/\\&/g
18802 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18803 D["\1"]=" \3\\\\\\n"\\/p
18804 t cont
18805 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18806 t cont
18808 :cont
18810 s/.\{148\}/&'"$ac_delim"'/g
18811 t clear
18812 :clear
18813 s/\\$//
18814 t bsnlc
18815 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18817 :bsnlc
18818 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18819 b cont
18820 ' <confdefs.h | sed '
18821 s/'"$ac_delim"'/"\\\
18822 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18825 for (key in D) D_is_set[key] = 1
18826 FS = "\a"
18828 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18829 line = \$ 0
18830 split(line, arg, " ")
18831 if (arg[1] == "#") {
18832 defundef = arg[2]
18833 mac1 = arg[3]
18834 } else {
18835 defundef = substr(arg[1], 2)
18836 mac1 = arg[2]
18838 split(mac1, mac2, "(") #)
18839 macro = mac2[1]
18840 prefix = substr(line, 1, index(line, defundef) - 1)
18841 if (D_is_set[macro]) {
18842 # Preserve the white space surrounding the "#".
18843 print prefix "define", macro P[macro] D[macro]
18844 next
18845 } else {
18846 # Replace #undef with comments. This is necessary, for example,
18847 # in the case of _POSIX_SOURCE, which is predefined and required
18848 # on some systems where configure will not decide to define it.
18849 if (defundef == "undef") {
18850 print "/*", prefix defundef, macro, "*/"
18851 next
18855 { print }
18856 _ACAWK
18857 _ACEOF
18858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18859 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18860 fi # test -n "$CONFIG_HEADERS"
18863 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18864 shift
18865 for ac_tag
18867 case $ac_tag in
18868 :[FHLC]) ac_mode=$ac_tag; continue;;
18869 esac
18870 case $ac_mode$ac_tag in
18871 :[FHL]*:*);;
18872 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18873 :[FH]-) ac_tag=-:-;;
18874 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18875 esac
18876 ac_save_IFS=$IFS
18877 IFS=:
18878 set x $ac_tag
18879 IFS=$ac_save_IFS
18880 shift
18881 ac_file=$1
18882 shift
18884 case $ac_mode in
18885 :L) ac_source=$1;;
18886 :[FH])
18887 ac_file_inputs=
18888 for ac_f
18890 case $ac_f in
18891 -) ac_f="$ac_tmp/stdin";;
18892 *) # Look for the file first in the build tree, then in the source tree
18893 # (if the path is not absolute). The absolute path cannot be DOS-style,
18894 # because $ac_f cannot contain `:'.
18895 test -f "$ac_f" ||
18896 case $ac_f in
18897 [\\/$]*) false;;
18898 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18899 esac ||
18900 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18901 esac
18902 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18903 as_fn_append ac_file_inputs " '$ac_f'"
18904 done
18906 # Let's still pretend it is `configure' which instantiates (i.e., don't
18907 # use $as_me), people would be surprised to read:
18908 # /* config.h. Generated by config.status. */
18909 configure_input='Generated from '`
18910 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18911 `' by configure.'
18912 if test x"$ac_file" != x-; then
18913 configure_input="$ac_file. $configure_input"
18914 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18915 $as_echo "$as_me: creating $ac_file" >&6;}
18917 # Neutralize special characters interpreted by sed in replacement strings.
18918 case $configure_input in #(
18919 *\&* | *\|* | *\\* )
18920 ac_sed_conf_input=`$as_echo "$configure_input" |
18921 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18922 *) ac_sed_conf_input=$configure_input;;
18923 esac
18925 case $ac_tag in
18926 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18927 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18928 esac
18930 esac
18932 ac_dir=`$as_dirname -- "$ac_file" ||
18933 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18934 X"$ac_file" : 'X\(//\)[^/]' \| \
18935 X"$ac_file" : 'X\(//\)$' \| \
18936 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18937 $as_echo X"$ac_file" |
18938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18939 s//\1/
18942 /^X\(\/\/\)[^/].*/{
18943 s//\1/
18946 /^X\(\/\/\)$/{
18947 s//\1/
18950 /^X\(\/\).*/{
18951 s//\1/
18954 s/.*/./; q'`
18955 as_dir="$ac_dir"; as_fn_mkdir_p
18956 ac_builddir=.
18958 case "$ac_dir" in
18959 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18961 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18962 # A ".." for each directory in $ac_dir_suffix.
18963 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18964 case $ac_top_builddir_sub in
18965 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18966 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18967 esac ;;
18968 esac
18969 ac_abs_top_builddir=$ac_pwd
18970 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18971 # for backward compatibility:
18972 ac_top_builddir=$ac_top_build_prefix
18974 case $srcdir in
18975 .) # We are building in place.
18976 ac_srcdir=.
18977 ac_top_srcdir=$ac_top_builddir_sub
18978 ac_abs_top_srcdir=$ac_pwd ;;
18979 [\\/]* | ?:[\\/]* ) # Absolute name.
18980 ac_srcdir=$srcdir$ac_dir_suffix;
18981 ac_top_srcdir=$srcdir
18982 ac_abs_top_srcdir=$srcdir ;;
18983 *) # Relative name.
18984 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18985 ac_top_srcdir=$ac_top_build_prefix$srcdir
18986 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18987 esac
18988 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18991 case $ac_mode in
18994 # CONFIG_FILE
18997 _ACEOF
18999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19000 # If the template does not know about datarootdir, expand it.
19001 # FIXME: This hack should be removed a few years after 2.60.
19002 ac_datarootdir_hack=; ac_datarootdir_seen=
19003 ac_sed_dataroot='
19004 /datarootdir/ {
19008 /@datadir@/p
19009 /@docdir@/p
19010 /@infodir@/p
19011 /@localedir@/p
19012 /@mandir@/p'
19013 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19014 *datarootdir*) ac_datarootdir_seen=yes;;
19015 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19017 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19018 _ACEOF
19019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19020 ac_datarootdir_hack='
19021 s&@datadir@&$datadir&g
19022 s&@docdir@&$docdir&g
19023 s&@infodir@&$infodir&g
19024 s&@localedir@&$localedir&g
19025 s&@mandir@&$mandir&g
19026 s&\\\${datarootdir}&$datarootdir&g' ;;
19027 esac
19028 _ACEOF
19030 # Neutralize VPATH when `$srcdir' = `.'.
19031 # Shell code in configure.ac might set extrasub.
19032 # FIXME: do we really want to maintain this feature?
19033 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19034 ac_sed_extra="$ac_vpsub
19035 $extrasub
19036 _ACEOF
19037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19039 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19040 s|@configure_input@|$ac_sed_conf_input|;t t
19041 s&@top_builddir@&$ac_top_builddir_sub&;t t
19042 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19043 s&@srcdir@&$ac_srcdir&;t t
19044 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19045 s&@top_srcdir@&$ac_top_srcdir&;t t
19046 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19047 s&@builddir@&$ac_builddir&;t t
19048 s&@abs_builddir@&$ac_abs_builddir&;t t
19049 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19050 $ac_datarootdir_hack
19052 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19053 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19055 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19056 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19057 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19058 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19060 which seems to be undefined. Please make sure it is defined" >&5
19061 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19062 which seems to be undefined. Please make sure it is defined" >&2;}
19064 rm -f "$ac_tmp/stdin"
19065 case $ac_file in
19066 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19067 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19068 esac \
19069 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19073 # CONFIG_HEADER
19075 if test x"$ac_file" != x-; then
19077 $as_echo "/* $configure_input */" \
19078 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19079 } >"$ac_tmp/config.h" \
19080 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19081 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19082 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19083 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19084 else
19085 rm -f "$ac_file"
19086 mv "$ac_tmp/config.h" "$ac_file" \
19087 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19089 else
19090 $as_echo "/* $configure_input */" \
19091 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19092 || as_fn_error $? "could not create -" "$LINENO" 5
19097 # CONFIG_LINK
19100 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19102 else
19103 # Prefer the file from the source tree if names are identical.
19104 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19105 ac_source=$srcdir/$ac_source
19108 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19109 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19111 if test ! -r "$ac_source"; then
19112 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19114 rm -f "$ac_file"
19116 # Try a relative symlink, then a hard link, then a copy.
19117 case $ac_source in
19118 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19119 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19120 esac
19121 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19122 ln "$ac_source" "$ac_file" 2>/dev/null ||
19123 cp -p "$ac_source" "$ac_file" ||
19124 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19127 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19128 $as_echo "$as_me: executing $ac_file commands" >&6;}
19130 esac
19133 case $ac_file$ac_mode in
19134 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19135 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19136 "Makefile":C) wine_fn_output_makefile Makefile ;;
19137 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19139 esac
19140 done # for ac_tag
19143 as_fn_exit 0
19144 _ACEOF
19145 ac_clean_files=$ac_clean_files_save
19147 test $ac_write_fail = 0 ||
19148 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19151 # configure is writing to config.log, and then calls config.status.
19152 # config.status does its own redirection, appending to config.log.
19153 # Unfortunately, on DOS this fails, as config.log is still kept open
19154 # by configure, so config.status won't be able to write to it; its
19155 # output is simply discarded. So we exec the FD to /dev/null,
19156 # effectively closing config.log, so it can be properly (re)opened and
19157 # appended to by config.status. When coming back to configure, we
19158 # need to make the FD available again.
19159 if test "$no_create" != yes; then
19160 ac_cs_success=:
19161 ac_config_status_args=
19162 test "$silent" = yes &&
19163 ac_config_status_args="$ac_config_status_args --quiet"
19164 exec 5>/dev/null
19165 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19166 exec 5>>config.log
19167 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19168 # would make configure fail if this is the last instruction.
19169 $ac_cs_success || as_fn_exit 1
19171 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19173 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19177 if test "$no_create" = "yes"
19178 then
19179 exit 0
19182 ac_save_IFS="$IFS"
19183 if test "x$wine_notices != "x; then
19184 echo >&6
19185 IFS="|"
19186 for msg in $wine_notices; do
19187 IFS="$ac_save_IFS"
19188 if ${msg:+false} :; then :
19190 else
19191 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19192 $as_echo "$as_me: $msg" >&6;}
19194 done
19196 IFS="|"
19197 for msg in $wine_warnings; do
19198 IFS="$ac_save_IFS"
19199 if ${msg:+false} :; then :
19201 else
19202 echo >&2
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19204 $as_echo "$as_me: WARNING: $msg" >&2;}
19206 done
19207 IFS="$ac_save_IFS"
19209 $as_echo "
19210 $as_me: Finished. Do '${ac_make}' to compile Wine.
19211 " >&6