include: Add xaudio2.h.
[wine/multimedia.git] / configure
blob79d6632c4779b1b84c136b393280a5446276a46a
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_x3daudio1_7
1323 enable_xapofx1_1
1324 enable_xinput1_1
1325 enable_xinput1_2
1326 enable_xinput1_3
1327 enable_xinput1_4
1328 enable_xinput9_1_0
1329 enable_xmllite
1330 enable_xolehlp
1331 enable_xpsprint
1332 enable_xpssvcs
1333 enable_documentation
1334 enable_fonts
1335 enable_include
1336 enable_libs_port
1337 enable_libs_wine
1338 enable_libs_wpp
1339 enable_loader
1340 enable_arp
1341 enable_aspnet_regiis
1342 enable_attrib
1343 enable_cabarc
1344 enable_cacls
1345 enable_clock
1346 enable_cmd
1347 enable_conhost
1348 enable_control
1349 enable_cscript
1350 enable_dpnsvr
1351 enable_dxdiag
1352 enable_eject
1353 enable_expand
1354 enable_explorer
1355 enable_extrac32
1356 enable_findstr
1357 enable_hh
1358 enable_hostname
1359 enable_icinfo
1360 enable_iexplore
1361 enable_ipconfig
1362 enable_lodctr
1363 enable_mofcomp
1364 enable_mshta
1365 enable_msiexec
1366 enable_net
1367 enable_netsh
1368 enable_netstat
1369 enable_ngen
1370 enable_notepad
1371 enable_oleview
1372 enable_ping
1373 enable_plugplay
1374 enable_presentationfontcache
1375 enable_progman
1376 enable_reg
1377 enable_regasm
1378 enable_regedit
1379 enable_regsvcs
1380 enable_regsvr32
1381 enable_rpcss
1382 enable_rundll32
1383 enable_sc
1384 enable_schtasks
1385 enable_sdbinst
1386 enable_secedit
1387 enable_servicemodelreg
1388 enable_services
1389 enable_spoolsv
1390 enable_start
1391 enable_svchost
1392 enable_systeminfo
1393 enable_taskkill
1394 enable_tasklist
1395 enable_taskmgr
1396 enable_termsv
1397 enable_uninstaller
1398 enable_unlodctr
1399 enable_view
1400 enable_wevtutil
1401 enable_wineboot
1402 enable_winebrowser
1403 enable_winecfg
1404 enable_wineconsole
1405 enable_winedbg
1406 enable_winedevice
1407 enable_winefile
1408 enable_winemenubuilder
1409 enable_winemine
1410 enable_winemsibuilder
1411 enable_winepath
1412 enable_winetest
1413 enable_winhlp32
1414 enable_winver
1415 enable_wmic
1416 enable_wordpad
1417 enable_write
1418 enable_wscript
1419 enable_wusa
1420 enable_xcopy
1421 enable_server
1422 enable_tools
1424 ac_precious_vars='build_alias
1425 host_alias
1426 target_alias
1428 CFLAGS
1429 LDFLAGS
1430 LIBS
1431 CPPFLAGS
1433 CXXFLAGS
1436 XMKMF
1437 XML2_CFLAGS
1438 XML2_LIBS
1439 XSLT_CFLAGS
1440 XSLT_LIBS
1441 DBUS_CFLAGS
1442 DBUS_LIBS
1443 HAL_CFLAGS
1444 HAL_LIBS
1445 GNUTLS_CFLAGS
1446 GNUTLS_LIBS
1447 SANE_CFLAGS
1448 SANE_LIBS
1449 GPHOTO2_CFLAGS
1450 GPHOTO2_LIBS
1451 GPHOTO2_PORT_CFLAGS
1452 GPHOTO2_PORT_LIBS
1453 LCMS2_CFLAGS
1454 LCMS2_LIBS
1455 FREETYPE_CFLAGS
1456 FREETYPE_LIBS
1457 GSTREAMER_CFLAGS
1458 GSTREAMER_LIBS
1459 CAPI20_CFLAGS
1460 CAPI20_LIBS
1461 FONTCONFIG_CFLAGS
1462 FONTCONFIG_LIBS
1463 JPEG_CFLAGS
1464 JPEG_LIBS
1465 PNG_CFLAGS
1466 PNG_LIBS
1467 TIFF_CFLAGS
1468 TIFF_LIBS
1469 MPG123_CFLAGS
1470 MPG123_LIBS'
1473 # Initialize some variables set by options.
1474 ac_init_help=
1475 ac_init_version=false
1476 ac_unrecognized_opts=
1477 ac_unrecognized_sep=
1478 # The variables have the same names as the options, with
1479 # dashes changed to underlines.
1480 cache_file=/dev/null
1481 exec_prefix=NONE
1482 no_create=
1483 no_recursion=
1484 prefix=NONE
1485 program_prefix=NONE
1486 program_suffix=NONE
1487 program_transform_name=s,x,x,
1488 silent=
1489 site=
1490 srcdir=
1491 verbose=
1492 x_includes=NONE
1493 x_libraries=NONE
1495 # Installation directory options.
1496 # These are left unexpanded so users can "make install exec_prefix=/foo"
1497 # and all the variables that are supposed to be based on exec_prefix
1498 # by default will actually change.
1499 # Use braces instead of parens because sh, perl, etc. also accept them.
1500 # (The list follows the same order as the GNU Coding Standards.)
1501 bindir='${exec_prefix}/bin'
1502 sbindir='${exec_prefix}/sbin'
1503 libexecdir='${exec_prefix}/libexec'
1504 datarootdir='${prefix}/share'
1505 datadir='${datarootdir}'
1506 sysconfdir='${prefix}/etc'
1507 sharedstatedir='${prefix}/com'
1508 localstatedir='${prefix}/var'
1509 includedir='${prefix}/include'
1510 oldincludedir='/usr/include'
1511 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1512 infodir='${datarootdir}/info'
1513 htmldir='${docdir}'
1514 dvidir='${docdir}'
1515 pdfdir='${docdir}'
1516 psdir='${docdir}'
1517 libdir='${exec_prefix}/lib'
1518 localedir='${datarootdir}/locale'
1519 mandir='${datarootdir}/man'
1521 ac_prev=
1522 ac_dashdash=
1523 for ac_option
1525 # If the previous option needs an argument, assign it.
1526 if test -n "$ac_prev"; then
1527 eval $ac_prev=\$ac_option
1528 ac_prev=
1529 continue
1532 case $ac_option in
1533 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1534 *=) ac_optarg= ;;
1535 *) ac_optarg=yes ;;
1536 esac
1538 # Accept the important Cygnus configure options, so we can diagnose typos.
1540 case $ac_dashdash$ac_option in
1542 ac_dashdash=yes ;;
1544 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1545 ac_prev=bindir ;;
1546 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1547 bindir=$ac_optarg ;;
1549 -build | --build | --buil | --bui | --bu)
1550 ac_prev=build_alias ;;
1551 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1552 build_alias=$ac_optarg ;;
1554 -cache-file | --cache-file | --cache-fil | --cache-fi \
1555 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1556 ac_prev=cache_file ;;
1557 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1558 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1559 cache_file=$ac_optarg ;;
1561 --config-cache | -C)
1562 cache_file=config.cache ;;
1564 -datadir | --datadir | --datadi | --datad)
1565 ac_prev=datadir ;;
1566 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1567 datadir=$ac_optarg ;;
1569 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1570 | --dataroo | --dataro | --datar)
1571 ac_prev=datarootdir ;;
1572 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1573 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1574 datarootdir=$ac_optarg ;;
1576 -disable-* | --disable-*)
1577 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1578 # Reject names that are not valid shell variable names.
1579 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1580 as_fn_error $? "invalid feature name: $ac_useropt"
1581 ac_useropt_orig=$ac_useropt
1582 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1583 case $ac_user_opts in
1585 "enable_$ac_useropt"
1586 "*) ;;
1587 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1588 ac_unrecognized_sep=', ';;
1589 esac
1590 eval enable_$ac_useropt=no ;;
1592 -docdir | --docdir | --docdi | --doc | --do)
1593 ac_prev=docdir ;;
1594 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1595 docdir=$ac_optarg ;;
1597 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1598 ac_prev=dvidir ;;
1599 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1600 dvidir=$ac_optarg ;;
1602 -enable-* | --enable-*)
1603 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1604 # Reject names that are not valid shell variable names.
1605 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1606 as_fn_error $? "invalid feature name: $ac_useropt"
1607 ac_useropt_orig=$ac_useropt
1608 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1609 case $ac_user_opts in
1611 "enable_$ac_useropt"
1612 "*) ;;
1613 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1614 ac_unrecognized_sep=', ';;
1615 esac
1616 eval enable_$ac_useropt=\$ac_optarg ;;
1618 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1619 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1620 | --exec | --exe | --ex)
1621 ac_prev=exec_prefix ;;
1622 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1623 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1624 | --exec=* | --exe=* | --ex=*)
1625 exec_prefix=$ac_optarg ;;
1627 -gas | --gas | --ga | --g)
1628 # Obsolete; use --with-gas.
1629 with_gas=yes ;;
1631 -help | --help | --hel | --he | -h)
1632 ac_init_help=long ;;
1633 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1634 ac_init_help=recursive ;;
1635 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1636 ac_init_help=short ;;
1638 -host | --host | --hos | --ho)
1639 ac_prev=host_alias ;;
1640 -host=* | --host=* | --hos=* | --ho=*)
1641 host_alias=$ac_optarg ;;
1643 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1644 ac_prev=htmldir ;;
1645 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1646 | --ht=*)
1647 htmldir=$ac_optarg ;;
1649 -includedir | --includedir | --includedi | --included | --include \
1650 | --includ | --inclu | --incl | --inc)
1651 ac_prev=includedir ;;
1652 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1653 | --includ=* | --inclu=* | --incl=* | --inc=*)
1654 includedir=$ac_optarg ;;
1656 -infodir | --infodir | --infodi | --infod | --info | --inf)
1657 ac_prev=infodir ;;
1658 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1659 infodir=$ac_optarg ;;
1661 -libdir | --libdir | --libdi | --libd)
1662 ac_prev=libdir ;;
1663 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1664 libdir=$ac_optarg ;;
1666 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1667 | --libexe | --libex | --libe)
1668 ac_prev=libexecdir ;;
1669 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1670 | --libexe=* | --libex=* | --libe=*)
1671 libexecdir=$ac_optarg ;;
1673 -localedir | --localedir | --localedi | --localed | --locale)
1674 ac_prev=localedir ;;
1675 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1676 localedir=$ac_optarg ;;
1678 -localstatedir | --localstatedir | --localstatedi | --localstated \
1679 | --localstate | --localstat | --localsta | --localst | --locals)
1680 ac_prev=localstatedir ;;
1681 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1682 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1683 localstatedir=$ac_optarg ;;
1685 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1686 ac_prev=mandir ;;
1687 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1688 mandir=$ac_optarg ;;
1690 -nfp | --nfp | --nf)
1691 # Obsolete; use --without-fp.
1692 with_fp=no ;;
1694 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1695 | --no-cr | --no-c | -n)
1696 no_create=yes ;;
1698 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1699 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1700 no_recursion=yes ;;
1702 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1703 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1704 | --oldin | --oldi | --old | --ol | --o)
1705 ac_prev=oldincludedir ;;
1706 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1707 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1708 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1709 oldincludedir=$ac_optarg ;;
1711 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1712 ac_prev=prefix ;;
1713 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1714 prefix=$ac_optarg ;;
1716 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1717 | --program-pre | --program-pr | --program-p)
1718 ac_prev=program_prefix ;;
1719 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1720 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1721 program_prefix=$ac_optarg ;;
1723 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1724 | --program-suf | --program-su | --program-s)
1725 ac_prev=program_suffix ;;
1726 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1727 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1728 program_suffix=$ac_optarg ;;
1730 -program-transform-name | --program-transform-name \
1731 | --program-transform-nam | --program-transform-na \
1732 | --program-transform-n | --program-transform- \
1733 | --program-transform | --program-transfor \
1734 | --program-transfo | --program-transf \
1735 | --program-trans | --program-tran \
1736 | --progr-tra | --program-tr | --program-t)
1737 ac_prev=program_transform_name ;;
1738 -program-transform-name=* | --program-transform-name=* \
1739 | --program-transform-nam=* | --program-transform-na=* \
1740 | --program-transform-n=* | --program-transform-=* \
1741 | --program-transform=* | --program-transfor=* \
1742 | --program-transfo=* | --program-transf=* \
1743 | --program-trans=* | --program-tran=* \
1744 | --progr-tra=* | --program-tr=* | --program-t=*)
1745 program_transform_name=$ac_optarg ;;
1747 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1748 ac_prev=pdfdir ;;
1749 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1750 pdfdir=$ac_optarg ;;
1752 -psdir | --psdir | --psdi | --psd | --ps)
1753 ac_prev=psdir ;;
1754 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1755 psdir=$ac_optarg ;;
1757 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1758 | -silent | --silent | --silen | --sile | --sil)
1759 silent=yes ;;
1761 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1762 ac_prev=sbindir ;;
1763 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1764 | --sbi=* | --sb=*)
1765 sbindir=$ac_optarg ;;
1767 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1768 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1769 | --sharedst | --shareds | --shared | --share | --shar \
1770 | --sha | --sh)
1771 ac_prev=sharedstatedir ;;
1772 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1773 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1774 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1775 | --sha=* | --sh=*)
1776 sharedstatedir=$ac_optarg ;;
1778 -site | --site | --sit)
1779 ac_prev=site ;;
1780 -site=* | --site=* | --sit=*)
1781 site=$ac_optarg ;;
1783 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1784 ac_prev=srcdir ;;
1785 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1786 srcdir=$ac_optarg ;;
1788 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1789 | --syscon | --sysco | --sysc | --sys | --sy)
1790 ac_prev=sysconfdir ;;
1791 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1792 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1793 sysconfdir=$ac_optarg ;;
1795 -target | --target | --targe | --targ | --tar | --ta | --t)
1796 ac_prev=target_alias ;;
1797 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1798 target_alias=$ac_optarg ;;
1800 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1801 verbose=yes ;;
1803 -version | --version | --versio | --versi | --vers | -V)
1804 ac_init_version=: ;;
1806 -with-* | --with-*)
1807 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1808 # Reject names that are not valid shell variable names.
1809 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1810 as_fn_error $? "invalid package name: $ac_useropt"
1811 ac_useropt_orig=$ac_useropt
1812 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1813 case $ac_user_opts in
1815 "with_$ac_useropt"
1816 "*) ;;
1817 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1818 ac_unrecognized_sep=', ';;
1819 esac
1820 eval with_$ac_useropt=\$ac_optarg ;;
1822 -without-* | --without-*)
1823 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1824 # Reject names that are not valid shell variable names.
1825 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1826 as_fn_error $? "invalid package name: $ac_useropt"
1827 ac_useropt_orig=$ac_useropt
1828 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1829 case $ac_user_opts in
1831 "with_$ac_useropt"
1832 "*) ;;
1833 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1834 ac_unrecognized_sep=', ';;
1835 esac
1836 eval with_$ac_useropt=no ;;
1838 --x)
1839 # Obsolete; use --with-x.
1840 with_x=yes ;;
1842 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1843 | --x-incl | --x-inc | --x-in | --x-i)
1844 ac_prev=x_includes ;;
1845 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1846 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1847 x_includes=$ac_optarg ;;
1849 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1850 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1851 ac_prev=x_libraries ;;
1852 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1853 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1854 x_libraries=$ac_optarg ;;
1856 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1857 Try \`$0 --help' for more information"
1860 *=*)
1861 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1862 # Reject names that are not valid shell variable names.
1863 case $ac_envvar in #(
1864 '' | [0-9]* | *[!_$as_cr_alnum]* )
1865 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1866 esac
1867 eval $ac_envvar=\$ac_optarg
1868 export $ac_envvar ;;
1871 # FIXME: should be removed in autoconf 3.0.
1872 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1873 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1874 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1875 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1878 esac
1879 done
1881 if test -n "$ac_prev"; then
1882 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1883 as_fn_error $? "missing argument to $ac_option"
1886 if test -n "$ac_unrecognized_opts"; then
1887 case $enable_option_checking in
1888 no) ;;
1889 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1890 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1891 esac
1894 # Check all directory arguments for consistency.
1895 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1896 datadir sysconfdir sharedstatedir localstatedir includedir \
1897 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1898 libdir localedir mandir
1900 eval ac_val=\$$ac_var
1901 # Remove trailing slashes.
1902 case $ac_val in
1903 */ )
1904 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1905 eval $ac_var=\$ac_val;;
1906 esac
1907 # Be sure to have absolute directory names.
1908 case $ac_val in
1909 [\\/$]* | ?:[\\/]* ) continue;;
1910 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1911 esac
1912 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1913 done
1915 # There might be people who depend on the old broken behavior: `$host'
1916 # used to hold the argument of --host etc.
1917 # FIXME: To remove some day.
1918 build=$build_alias
1919 host=$host_alias
1920 target=$target_alias
1922 # FIXME: To remove some day.
1923 if test "x$host_alias" != x; then
1924 if test "x$build_alias" = x; then
1925 cross_compiling=maybe
1926 elif test "x$build_alias" != "x$host_alias"; then
1927 cross_compiling=yes
1931 ac_tool_prefix=
1932 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1934 test "$silent" = yes && exec 6>/dev/null
1937 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1938 ac_ls_di=`ls -di .` &&
1939 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1940 as_fn_error $? "working directory cannot be determined"
1941 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1942 as_fn_error $? "pwd does not report name of working directory"
1945 # Find the source files, if location was not specified.
1946 if test -z "$srcdir"; then
1947 ac_srcdir_defaulted=yes
1948 # Try the directory containing this script, then the parent directory.
1949 ac_confdir=`$as_dirname -- "$as_myself" ||
1950 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1951 X"$as_myself" : 'X\(//\)[^/]' \| \
1952 X"$as_myself" : 'X\(//\)$' \| \
1953 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1954 $as_echo X"$as_myself" |
1955 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1956 s//\1/
1959 /^X\(\/\/\)[^/].*/{
1960 s//\1/
1963 /^X\(\/\/\)$/{
1964 s//\1/
1967 /^X\(\/\).*/{
1968 s//\1/
1971 s/.*/./; q'`
1972 srcdir=$ac_confdir
1973 if test ! -r "$srcdir/$ac_unique_file"; then
1974 srcdir=..
1976 else
1977 ac_srcdir_defaulted=no
1979 if test ! -r "$srcdir/$ac_unique_file"; then
1980 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1981 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1983 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1984 ac_abs_confdir=`(
1985 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1986 pwd)`
1987 # When building in place, set srcdir=.
1988 if test "$ac_abs_confdir" = "$ac_pwd"; then
1989 srcdir=.
1991 # Remove unnecessary trailing slashes from srcdir.
1992 # Double slashes in file names in object file debugging info
1993 # mess up M-x gdb in Emacs.
1994 case $srcdir in
1995 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1996 esac
1997 for ac_var in $ac_precious_vars; do
1998 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1999 eval ac_env_${ac_var}_value=\$${ac_var}
2000 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2001 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2002 done
2005 # Report the --help message.
2007 if test "$ac_init_help" = "long"; then
2008 # Omit some internal or obsolete options to make the list less imposing.
2009 # This message is too long to be a string in the A/UX 3.1 sh.
2010 cat <<_ACEOF
2011 \`configure' configures Wine 1.7.33 to adapt to many kinds of systems.
2013 Usage: $0 [OPTION]... [VAR=VALUE]...
2015 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2016 VAR=VALUE. See below for descriptions of some of the useful variables.
2018 Defaults for the options are specified in brackets.
2020 Configuration:
2021 -h, --help display this help and exit
2022 --help=short display options specific to this package
2023 --help=recursive display the short help of all the included packages
2024 -V, --version display version information and exit
2025 -q, --quiet, --silent do not print \`checking ...' messages
2026 --cache-file=FILE cache test results in FILE [disabled]
2027 -C, --config-cache alias for \`--cache-file=config.cache'
2028 -n, --no-create do not create output files
2029 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2031 Installation directories:
2032 --prefix=PREFIX install architecture-independent files in PREFIX
2033 [$ac_default_prefix]
2034 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2035 [PREFIX]
2037 By default, \`make install' will install all the files in
2038 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2039 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2040 for instance \`--prefix=\$HOME'.
2042 For better control, use the options below.
2044 Fine tuning of the installation directories:
2045 --bindir=DIR user executables [EPREFIX/bin]
2046 --sbindir=DIR system admin executables [EPREFIX/sbin]
2047 --libexecdir=DIR program executables [EPREFIX/libexec]
2048 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2049 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2050 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2051 --libdir=DIR object code libraries [EPREFIX/lib]
2052 --includedir=DIR C header files [PREFIX/include]
2053 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2054 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2055 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2056 --infodir=DIR info documentation [DATAROOTDIR/info]
2057 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2058 --mandir=DIR man documentation [DATAROOTDIR/man]
2059 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2060 --htmldir=DIR html documentation [DOCDIR]
2061 --dvidir=DIR dvi documentation [DOCDIR]
2062 --pdfdir=DIR pdf documentation [DOCDIR]
2063 --psdir=DIR ps documentation [DOCDIR]
2064 _ACEOF
2066 cat <<\_ACEOF
2068 X features:
2069 --x-includes=DIR X include files are in DIR
2070 --x-libraries=DIR X library files are in DIR
2072 System types:
2073 --build=BUILD configure for building on BUILD [guessed]
2074 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2075 _ACEOF
2078 if test -n "$ac_init_help"; then
2079 case $ac_init_help in
2080 short | recursive ) echo "Configuration of Wine 1.7.33:";;
2081 esac
2082 cat <<\_ACEOF
2084 Optional Features:
2085 --disable-option-checking ignore unrecognized --enable/--with options
2086 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2087 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2088 --disable-win16 do not include Win16 support
2089 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2090 binaries)
2091 --disable-tests do not build the regression tests
2092 --enable-maintainer-mode
2093 enable maintainer-specific build rules
2094 --disable-largefile omit support for large files
2096 Optional Packages:
2097 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2098 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2099 --without-alsa do not use the Alsa sound support
2100 --without-capi do not use CAPI (ISDN support)
2101 --without-cms do not use CMS (color management support)
2102 --without-coreaudio do not use the CoreAudio sound support
2103 --without-cups do not use CUPS
2104 --without-curses do not use (n)curses
2105 --without-dbus do not use DBus (dynamic device support)
2106 --without-fontconfig do not use fontconfig
2107 --without-freetype do not use the FreeType library
2108 --without-gettext do not use gettext
2109 --with-gettextpo use the GetTextPO library to rebuild po files
2110 --without-gphoto do not use gphoto (Digital Camera support)
2111 --without-glu do not use the GLU library
2112 --without-gnutls do not use GnuTLS (schannel support)
2113 --without-gsm do not use libgsm (GSM 06.10 codec support)
2114 --without-gstreamer do not use GStreamer (codecs support)
2115 --without-hal do not use HAL (dynamic device support)
2116 --without-jpeg do not use JPEG
2117 --without-ldap do not use LDAP
2118 --without-mpg123 do not use the mpg123 library
2119 --without-netapi do not use the Samba NetAPI library
2120 --without-openal do not use OpenAL
2121 --without-opencl do not use OpenCL
2122 --without-opengl do not use OpenGL
2123 --without-osmesa do not use the OSMesa library
2124 --without-oss do not use the OSS sound support
2125 --without-pcap do not use the Packet Capture library
2126 --without-png do not use PNG
2127 --without-pthread do not use the pthread library
2128 --without-sane do not use SANE (scanner support)
2129 --without-tiff do not use TIFF
2130 --without-v4l do not use v4l1 (v4l support)
2131 --without-xcomposite do not use the Xcomposite extension
2132 --without-xcursor do not use the Xcursor extension
2133 --without-xinerama do not use Xinerama (multi-monitor support)
2134 --without-xinput do not use the Xinput extension
2135 --without-xinput2 do not use the Xinput 2 extension
2136 --without-xml do not use XML
2137 --without-xrandr do not use Xrandr (resolution changes)
2138 --without-xrender do not use the Xrender extension
2139 --without-xshape do not use the Xshape extension
2140 --without-xshm do not use XShm (shared memory extension)
2141 --without-xslt do not use XSLT
2142 --without-xxf86vm do not use XFree video mode extension
2143 --without-zlib do not use Zlib (data compression)
2144 --with-wine-tools=DIR use Wine tools from directory DIR
2145 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2146 --with-x use the X Window System
2148 Some influential environment variables:
2149 CC C compiler command
2150 CFLAGS C compiler flags
2151 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2152 nonstandard directory <lib dir>
2153 LIBS libraries to pass to the linker, e.g. -l<library>
2154 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2155 you have headers in a nonstandard directory <include dir>
2156 CXX C++ compiler command
2157 CXXFLAGS C++ compiler flags
2158 CPP C preprocessor
2159 XMKMF Path to xmkmf, Makefile generator for X Window System
2160 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2161 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2162 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2163 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2164 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2165 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2166 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2167 HAL_LIBS Linker flags for hal, overriding pkg-config
2168 GNUTLS_CFLAGS
2169 C compiler flags for gnutls, overriding pkg-config
2170 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2171 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2172 SANE_LIBS Linker flags for libsane, overriding pkg-config
2173 GPHOTO2_CFLAGS
2174 C compiler flags for libgphoto2, overriding pkg-config
2175 GPHOTO2_LIBS
2176 Linker flags for libgphoto2, overriding pkg-config
2177 GPHOTO2_PORT_CFLAGS
2178 C compiler flags for libgphoto2_port, overriding pkg-config
2179 GPHOTO2_PORT_LIBS
2180 Linker flags for libgphoto2_port, overriding pkg-config
2181 LCMS2_CFLAGS
2182 C compiler flags for lcms2, overriding pkg-config
2183 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2184 FREETYPE_CFLAGS
2185 C compiler flags for freetype2, overriding pkg-config
2186 FREETYPE_LIBS
2187 Linker flags for freetype2, overriding pkg-config
2188 GSTREAMER_CFLAGS
2189 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2190 GSTREAMER_LIBS
2191 Linker flags for gstreamer-app-0.10, overriding pkg-config
2192 CAPI20_CFLAGS
2193 C compiler flags for capi20, overriding pkg-config
2194 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2195 FONTCONFIG_CFLAGS
2196 C compiler flags for fontconfig, overriding pkg-config
2197 FONTCONFIG_LIBS
2198 Linker flags for fontconfig, overriding pkg-config
2199 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2200 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2201 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2202 PNG_LIBS Linker flags for libpng, overriding pkg-config
2203 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2204 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2205 MPG123_CFLAGS
2206 C compiler flags for libmpg123, overriding pkg-config
2207 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2209 Use these variables to override the choices made by `configure' or to help
2210 it to find libraries and programs with nonstandard names/locations.
2212 Report bugs to <wine-devel@winehq.org>.
2213 Wine home page: <http://www.winehq.org>.
2214 _ACEOF
2215 ac_status=$?
2218 if test "$ac_init_help" = "recursive"; then
2219 # If there are subdirs, report their specific --help.
2220 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2221 test -d "$ac_dir" ||
2222 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2223 continue
2224 ac_builddir=.
2226 case "$ac_dir" in
2227 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2229 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2230 # A ".." for each directory in $ac_dir_suffix.
2231 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2232 case $ac_top_builddir_sub in
2233 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2234 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2235 esac ;;
2236 esac
2237 ac_abs_top_builddir=$ac_pwd
2238 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2239 # for backward compatibility:
2240 ac_top_builddir=$ac_top_build_prefix
2242 case $srcdir in
2243 .) # We are building in place.
2244 ac_srcdir=.
2245 ac_top_srcdir=$ac_top_builddir_sub
2246 ac_abs_top_srcdir=$ac_pwd ;;
2247 [\\/]* | ?:[\\/]* ) # Absolute name.
2248 ac_srcdir=$srcdir$ac_dir_suffix;
2249 ac_top_srcdir=$srcdir
2250 ac_abs_top_srcdir=$srcdir ;;
2251 *) # Relative name.
2252 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2253 ac_top_srcdir=$ac_top_build_prefix$srcdir
2254 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2255 esac
2256 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2258 cd "$ac_dir" || { ac_status=$?; continue; }
2259 # Check for guested configure.
2260 if test -f "$ac_srcdir/configure.gnu"; then
2261 echo &&
2262 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2263 elif test -f "$ac_srcdir/configure"; then
2264 echo &&
2265 $SHELL "$ac_srcdir/configure" --help=recursive
2266 else
2267 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2268 fi || ac_status=$?
2269 cd "$ac_pwd" || { ac_status=$?; break; }
2270 done
2273 test -n "$ac_init_help" && exit $ac_status
2274 if $ac_init_version; then
2275 cat <<\_ACEOF
2276 Wine configure 1.7.33
2277 generated by GNU Autoconf 2.69
2279 Copyright (C) 2012 Free Software Foundation, Inc.
2280 This configure script is free software; the Free Software Foundation
2281 gives unlimited permission to copy, distribute and modify it.
2282 _ACEOF
2283 exit
2286 ## ------------------------ ##
2287 ## Autoconf initialization. ##
2288 ## ------------------------ ##
2290 # ac_fn_c_try_compile LINENO
2291 # --------------------------
2292 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2293 ac_fn_c_try_compile ()
2295 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2296 rm -f conftest.$ac_objext
2297 if { { ac_try="$ac_compile"
2298 case "(($ac_try" in
2299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2300 *) ac_try_echo=$ac_try;;
2301 esac
2302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2303 $as_echo "$ac_try_echo"; } >&5
2304 (eval "$ac_compile") 2>conftest.err
2305 ac_status=$?
2306 if test -s conftest.err; then
2307 grep -v '^ *+' conftest.err >conftest.er1
2308 cat conftest.er1 >&5
2309 mv -f conftest.er1 conftest.err
2311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2312 test $ac_status = 0; } && {
2313 test -z "$ac_c_werror_flag" ||
2314 test ! -s conftest.err
2315 } && test -s conftest.$ac_objext; then :
2316 ac_retval=0
2317 else
2318 $as_echo "$as_me: failed program was:" >&5
2319 sed 's/^/| /' conftest.$ac_ext >&5
2321 ac_retval=1
2323 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2324 as_fn_set_status $ac_retval
2326 } # ac_fn_c_try_compile
2328 # ac_fn_cxx_try_compile LINENO
2329 # ----------------------------
2330 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2331 ac_fn_cxx_try_compile ()
2333 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2334 rm -f conftest.$ac_objext
2335 if { { ac_try="$ac_compile"
2336 case "(($ac_try" in
2337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2338 *) ac_try_echo=$ac_try;;
2339 esac
2340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2341 $as_echo "$ac_try_echo"; } >&5
2342 (eval "$ac_compile") 2>conftest.err
2343 ac_status=$?
2344 if test -s conftest.err; then
2345 grep -v '^ *+' conftest.err >conftest.er1
2346 cat conftest.er1 >&5
2347 mv -f conftest.er1 conftest.err
2349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2350 test $ac_status = 0; } && {
2351 test -z "$ac_cxx_werror_flag" ||
2352 test ! -s conftest.err
2353 } && test -s conftest.$ac_objext; then :
2354 ac_retval=0
2355 else
2356 $as_echo "$as_me: failed program was:" >&5
2357 sed 's/^/| /' conftest.$ac_ext >&5
2359 ac_retval=1
2361 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2362 as_fn_set_status $ac_retval
2364 } # ac_fn_cxx_try_compile
2366 # ac_fn_c_try_link LINENO
2367 # -----------------------
2368 # Try to link conftest.$ac_ext, and return whether this succeeded.
2369 ac_fn_c_try_link ()
2371 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2372 rm -f conftest.$ac_objext conftest$ac_exeext
2373 if { { ac_try="$ac_link"
2374 case "(($ac_try" in
2375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2376 *) ac_try_echo=$ac_try;;
2377 esac
2378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2379 $as_echo "$ac_try_echo"; } >&5
2380 (eval "$ac_link") 2>conftest.err
2381 ac_status=$?
2382 if test -s conftest.err; then
2383 grep -v '^ *+' conftest.err >conftest.er1
2384 cat conftest.er1 >&5
2385 mv -f conftest.er1 conftest.err
2387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2388 test $ac_status = 0; } && {
2389 test -z "$ac_c_werror_flag" ||
2390 test ! -s conftest.err
2391 } && test -s conftest$ac_exeext && {
2392 test "$cross_compiling" = yes ||
2393 test -x conftest$ac_exeext
2394 }; then :
2395 ac_retval=0
2396 else
2397 $as_echo "$as_me: failed program was:" >&5
2398 sed 's/^/| /' conftest.$ac_ext >&5
2400 ac_retval=1
2402 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2403 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2404 # interfere with the next link command; also delete a directory that is
2405 # left behind by Apple's compiler. We do this before executing the actions.
2406 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2407 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2408 as_fn_set_status $ac_retval
2410 } # ac_fn_c_try_link
2412 # ac_fn_c_try_cpp LINENO
2413 # ----------------------
2414 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2415 ac_fn_c_try_cpp ()
2417 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2418 if { { ac_try="$ac_cpp conftest.$ac_ext"
2419 case "(($ac_try" in
2420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2421 *) ac_try_echo=$ac_try;;
2422 esac
2423 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2424 $as_echo "$ac_try_echo"; } >&5
2425 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2426 ac_status=$?
2427 if test -s conftest.err; then
2428 grep -v '^ *+' conftest.err >conftest.er1
2429 cat conftest.er1 >&5
2430 mv -f conftest.er1 conftest.err
2432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2433 test $ac_status = 0; } > conftest.i && {
2434 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2435 test ! -s conftest.err
2436 }; then :
2437 ac_retval=0
2438 else
2439 $as_echo "$as_me: failed program was:" >&5
2440 sed 's/^/| /' conftest.$ac_ext >&5
2442 ac_retval=1
2444 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2445 as_fn_set_status $ac_retval
2447 } # ac_fn_c_try_cpp
2449 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2450 # -------------------------------------------------------
2451 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2452 # the include files in INCLUDES and setting the cache variable VAR
2453 # accordingly.
2454 ac_fn_c_check_header_mongrel ()
2456 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2457 if eval \${$3+:} false; then :
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2459 $as_echo_n "checking for $2... " >&6; }
2460 if eval \${$3+:} false; then :
2461 $as_echo_n "(cached) " >&6
2463 eval ac_res=\$$3
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2465 $as_echo "$ac_res" >&6; }
2466 else
2467 # Is the header compilable?
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2469 $as_echo_n "checking $2 usability... " >&6; }
2470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2471 /* end confdefs.h. */
2473 #include <$2>
2474 _ACEOF
2475 if ac_fn_c_try_compile "$LINENO"; then :
2476 ac_header_compiler=yes
2477 else
2478 ac_header_compiler=no
2480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2482 $as_echo "$ac_header_compiler" >&6; }
2484 # Is the header present?
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2486 $as_echo_n "checking $2 presence... " >&6; }
2487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2488 /* end confdefs.h. */
2489 #include <$2>
2490 _ACEOF
2491 if ac_fn_c_try_cpp "$LINENO"; then :
2492 ac_header_preproc=yes
2493 else
2494 ac_header_preproc=no
2496 rm -f conftest.err conftest.i conftest.$ac_ext
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2498 $as_echo "$ac_header_preproc" >&6; }
2500 # So? What about this header?
2501 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2502 yes:no: )
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2504 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2506 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2508 no:yes:* )
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2510 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2512 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2514 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2516 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2518 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2519 ( $as_echo "## ------------------------------------ ##
2520 ## Report this to wine-devel@winehq.org ##
2521 ## ------------------------------------ ##"
2522 ) | sed "s/^/$as_me: WARNING: /" >&2
2524 esac
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2526 $as_echo_n "checking for $2... " >&6; }
2527 if eval \${$3+:} false; then :
2528 $as_echo_n "(cached) " >&6
2529 else
2530 eval "$3=\$ac_header_compiler"
2532 eval ac_res=\$$3
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2534 $as_echo "$ac_res" >&6; }
2536 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2538 } # ac_fn_c_check_header_mongrel
2540 # ac_fn_c_try_run LINENO
2541 # ----------------------
2542 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2543 # that executables *can* be run.
2544 ac_fn_c_try_run ()
2546 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2547 if { { ac_try="$ac_link"
2548 case "(($ac_try" in
2549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2550 *) ac_try_echo=$ac_try;;
2551 esac
2552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2553 $as_echo "$ac_try_echo"; } >&5
2554 (eval "$ac_link") 2>&5
2555 ac_status=$?
2556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2557 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2558 { { case "(($ac_try" in
2559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2560 *) ac_try_echo=$ac_try;;
2561 esac
2562 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2563 $as_echo "$ac_try_echo"; } >&5
2564 (eval "$ac_try") 2>&5
2565 ac_status=$?
2566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2567 test $ac_status = 0; }; }; then :
2568 ac_retval=0
2569 else
2570 $as_echo "$as_me: program exited with status $ac_status" >&5
2571 $as_echo "$as_me: failed program was:" >&5
2572 sed 's/^/| /' conftest.$ac_ext >&5
2574 ac_retval=$ac_status
2576 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2577 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2578 as_fn_set_status $ac_retval
2580 } # ac_fn_c_try_run
2582 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2583 # -------------------------------------------------------
2584 # Tests whether HEADER exists and can be compiled using the include files in
2585 # INCLUDES, setting the cache variable VAR accordingly.
2586 ac_fn_c_check_header_compile ()
2588 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2590 $as_echo_n "checking for $2... " >&6; }
2591 if eval \${$3+:} false; then :
2592 $as_echo_n "(cached) " >&6
2593 else
2594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2595 /* end confdefs.h. */
2597 #include <$2>
2598 _ACEOF
2599 if ac_fn_c_try_compile "$LINENO"; then :
2600 eval "$3=yes"
2601 else
2602 eval "$3=no"
2604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2606 eval ac_res=\$$3
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2608 $as_echo "$ac_res" >&6; }
2609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2611 } # ac_fn_c_check_header_compile
2613 # ac_fn_c_check_func LINENO FUNC VAR
2614 # ----------------------------------
2615 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2616 ac_fn_c_check_func ()
2618 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2620 $as_echo_n "checking for $2... " >&6; }
2621 if eval \${$3+:} false; then :
2622 $as_echo_n "(cached) " >&6
2623 else
2624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2625 /* end confdefs.h. */
2626 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2628 #define $2 innocuous_$2
2630 /* System header to define __stub macros and hopefully few prototypes,
2631 which can conflict with char $2 (); below.
2632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2633 <limits.h> exists even on freestanding compilers. */
2635 #ifdef __STDC__
2636 # include <limits.h>
2637 #else
2638 # include <assert.h>
2639 #endif
2641 #undef $2
2643 /* Override any GCC internal prototype to avoid an error.
2644 Use char because int might match the return type of a GCC
2645 builtin and then its argument prototype would still apply. */
2646 #ifdef __cplusplus
2647 extern "C"
2648 #endif
2649 char $2 ();
2650 /* The GNU C library defines this for functions which it implements
2651 to always fail with ENOSYS. Some functions are actually named
2652 something starting with __ and the normal name is an alias. */
2653 #if defined __stub_$2 || defined __stub___$2
2654 choke me
2655 #endif
2658 main ()
2660 return $2 ();
2662 return 0;
2664 _ACEOF
2665 if ac_fn_c_try_link "$LINENO"; then :
2666 eval "$3=yes"
2667 else
2668 eval "$3=no"
2670 rm -f core conftest.err conftest.$ac_objext \
2671 conftest$ac_exeext conftest.$ac_ext
2673 eval ac_res=\$$3
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2675 $as_echo "$ac_res" >&6; }
2676 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2678 } # ac_fn_c_check_func
2680 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2681 # ----------------------------------------------------
2682 # Tries to find if the field MEMBER exists in type AGGR, after including
2683 # INCLUDES, setting cache variable VAR accordingly.
2684 ac_fn_c_check_member ()
2686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2688 $as_echo_n "checking for $2.$3... " >&6; }
2689 if eval \${$4+:} false; then :
2690 $as_echo_n "(cached) " >&6
2691 else
2692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2693 /* end confdefs.h. */
2696 main ()
2698 static $2 ac_aggr;
2699 if (ac_aggr.$3)
2700 return 0;
2702 return 0;
2704 _ACEOF
2705 if ac_fn_c_try_compile "$LINENO"; then :
2706 eval "$4=yes"
2707 else
2708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2709 /* end confdefs.h. */
2712 main ()
2714 static $2 ac_aggr;
2715 if (sizeof ac_aggr.$3)
2716 return 0;
2718 return 0;
2720 _ACEOF
2721 if ac_fn_c_try_compile "$LINENO"; then :
2722 eval "$4=yes"
2723 else
2724 eval "$4=no"
2726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2730 eval ac_res=\$$4
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2732 $as_echo "$ac_res" >&6; }
2733 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2735 } # ac_fn_c_check_member
2737 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2738 # -------------------------------------------
2739 # Tests whether TYPE exists after having included INCLUDES, setting cache
2740 # variable VAR accordingly.
2741 ac_fn_c_check_type ()
2743 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2745 $as_echo_n "checking for $2... " >&6; }
2746 if eval \${$3+:} false; then :
2747 $as_echo_n "(cached) " >&6
2748 else
2749 eval "$3=no"
2750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2751 /* end confdefs.h. */
2754 main ()
2756 if (sizeof ($2))
2757 return 0;
2759 return 0;
2761 _ACEOF
2762 if ac_fn_c_try_compile "$LINENO"; then :
2763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2764 /* end confdefs.h. */
2767 main ()
2769 if (sizeof (($2)))
2770 return 0;
2772 return 0;
2774 _ACEOF
2775 if ac_fn_c_try_compile "$LINENO"; then :
2777 else
2778 eval "$3=yes"
2780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2784 eval ac_res=\$$3
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2786 $as_echo "$ac_res" >&6; }
2787 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2789 } # ac_fn_c_check_type
2790 cat >config.log <<_ACEOF
2791 This file contains any messages produced by compilers while
2792 running configure, to aid debugging if configure makes a mistake.
2794 It was created by Wine $as_me 1.7.33, which was
2795 generated by GNU Autoconf 2.69. Invocation command line was
2797 $ $0 $@
2799 _ACEOF
2800 exec 5>>config.log
2802 cat <<_ASUNAME
2803 ## --------- ##
2804 ## Platform. ##
2805 ## --------- ##
2807 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2808 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2809 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2810 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2811 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2813 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2814 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2816 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2817 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2818 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2819 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2820 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2821 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2822 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2824 _ASUNAME
2826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2827 for as_dir in $PATH
2829 IFS=$as_save_IFS
2830 test -z "$as_dir" && as_dir=.
2831 $as_echo "PATH: $as_dir"
2832 done
2833 IFS=$as_save_IFS
2835 } >&5
2837 cat >&5 <<_ACEOF
2840 ## ----------- ##
2841 ## Core tests. ##
2842 ## ----------- ##
2844 _ACEOF
2847 # Keep a trace of the command line.
2848 # Strip out --no-create and --no-recursion so they do not pile up.
2849 # Strip out --silent because we don't want to record it for future runs.
2850 # Also quote any args containing shell meta-characters.
2851 # Make two passes to allow for proper duplicate-argument suppression.
2852 ac_configure_args=
2853 ac_configure_args0=
2854 ac_configure_args1=
2855 ac_must_keep_next=false
2856 for ac_pass in 1 2
2858 for ac_arg
2860 case $ac_arg in
2861 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2862 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2863 | -silent | --silent | --silen | --sile | --sil)
2864 continue ;;
2865 *\'*)
2866 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2867 esac
2868 case $ac_pass in
2869 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2871 as_fn_append ac_configure_args1 " '$ac_arg'"
2872 if test $ac_must_keep_next = true; then
2873 ac_must_keep_next=false # Got value, back to normal.
2874 else
2875 case $ac_arg in
2876 *=* | --config-cache | -C | -disable-* | --disable-* \
2877 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2878 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2879 | -with-* | --with-* | -without-* | --without-* | --x)
2880 case "$ac_configure_args0 " in
2881 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2882 esac
2884 -* ) ac_must_keep_next=true ;;
2885 esac
2887 as_fn_append ac_configure_args " '$ac_arg'"
2889 esac
2890 done
2891 done
2892 { ac_configure_args0=; unset ac_configure_args0;}
2893 { ac_configure_args1=; unset ac_configure_args1;}
2895 # When interrupted or exit'd, cleanup temporary files, and complete
2896 # config.log. We remove comments because anyway the quotes in there
2897 # would cause problems or look ugly.
2898 # WARNING: Use '\'' to represent an apostrophe within the trap.
2899 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2900 trap 'exit_status=$?
2901 # Save into config.log some information that might help in debugging.
2903 echo
2905 $as_echo "## ---------------- ##
2906 ## Cache variables. ##
2907 ## ---------------- ##"
2908 echo
2909 # The following way of writing the cache mishandles newlines in values,
2911 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2912 eval ac_val=\$$ac_var
2913 case $ac_val in #(
2914 *${as_nl}*)
2915 case $ac_var in #(
2916 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2917 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2918 esac
2919 case $ac_var in #(
2920 _ | IFS | as_nl) ;; #(
2921 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2922 *) { eval $ac_var=; unset $ac_var;} ;;
2923 esac ;;
2924 esac
2925 done
2926 (set) 2>&1 |
2927 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2928 *${as_nl}ac_space=\ *)
2929 sed -n \
2930 "s/'\''/'\''\\\\'\'''\''/g;
2931 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2932 ;; #(
2934 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2936 esac |
2937 sort
2939 echo
2941 $as_echo "## ----------------- ##
2942 ## Output variables. ##
2943 ## ----------------- ##"
2944 echo
2945 for ac_var in $ac_subst_vars
2947 eval ac_val=\$$ac_var
2948 case $ac_val in
2949 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2950 esac
2951 $as_echo "$ac_var='\''$ac_val'\''"
2952 done | sort
2953 echo
2955 if test -n "$ac_subst_files"; then
2956 $as_echo "## ------------------- ##
2957 ## File substitutions. ##
2958 ## ------------------- ##"
2959 echo
2960 for ac_var in $ac_subst_files
2962 eval ac_val=\$$ac_var
2963 case $ac_val in
2964 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2965 esac
2966 $as_echo "$ac_var='\''$ac_val'\''"
2967 done | sort
2968 echo
2971 if test -s confdefs.h; then
2972 $as_echo "## ----------- ##
2973 ## confdefs.h. ##
2974 ## ----------- ##"
2975 echo
2976 cat confdefs.h
2977 echo
2979 test "$ac_signal" != 0 &&
2980 $as_echo "$as_me: caught signal $ac_signal"
2981 $as_echo "$as_me: exit $exit_status"
2982 } >&5
2983 rm -f core *.core core.conftest.* &&
2984 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2985 exit $exit_status
2987 for ac_signal in 1 2 13 15; do
2988 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2989 done
2990 ac_signal=0
2992 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2993 rm -f -r conftest* confdefs.h
2995 $as_echo "/* confdefs.h */" > confdefs.h
2997 # Predefined preprocessor variables.
2999 cat >>confdefs.h <<_ACEOF
3000 #define PACKAGE_NAME "$PACKAGE_NAME"
3001 _ACEOF
3003 cat >>confdefs.h <<_ACEOF
3004 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3005 _ACEOF
3007 cat >>confdefs.h <<_ACEOF
3008 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3009 _ACEOF
3011 cat >>confdefs.h <<_ACEOF
3012 #define PACKAGE_STRING "$PACKAGE_STRING"
3013 _ACEOF
3015 cat >>confdefs.h <<_ACEOF
3016 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3017 _ACEOF
3019 cat >>confdefs.h <<_ACEOF
3020 #define PACKAGE_URL "$PACKAGE_URL"
3021 _ACEOF
3024 # Let the site file select an alternate cache file if it wants to.
3025 # Prefer an explicitly selected file to automatically selected ones.
3026 ac_site_file1=NONE
3027 ac_site_file2=NONE
3028 if test -n "$CONFIG_SITE"; then
3029 # We do not want a PATH search for config.site.
3030 case $CONFIG_SITE in #((
3031 -*) ac_site_file1=./$CONFIG_SITE;;
3032 */*) ac_site_file1=$CONFIG_SITE;;
3033 *) ac_site_file1=./$CONFIG_SITE;;
3034 esac
3035 elif test "x$prefix" != xNONE; then
3036 ac_site_file1=$prefix/share/config.site
3037 ac_site_file2=$prefix/etc/config.site
3038 else
3039 ac_site_file1=$ac_default_prefix/share/config.site
3040 ac_site_file2=$ac_default_prefix/etc/config.site
3042 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3044 test "x$ac_site_file" = xNONE && continue
3045 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3047 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3048 sed 's/^/| /' "$ac_site_file" >&5
3049 . "$ac_site_file" \
3050 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3051 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3052 as_fn_error $? "failed to load site script $ac_site_file
3053 See \`config.log' for more details" "$LINENO" 5; }
3055 done
3057 if test -r "$cache_file"; then
3058 # Some versions of bash will fail to source /dev/null (special files
3059 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3060 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3062 $as_echo "$as_me: loading cache $cache_file" >&6;}
3063 case $cache_file in
3064 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3065 *) . "./$cache_file";;
3066 esac
3068 else
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3070 $as_echo "$as_me: creating cache $cache_file" >&6;}
3071 >$cache_file
3074 # Check that the precious variables saved in the cache have kept the same
3075 # value.
3076 ac_cache_corrupted=false
3077 for ac_var in $ac_precious_vars; do
3078 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3079 eval ac_new_set=\$ac_env_${ac_var}_set
3080 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3081 eval ac_new_val=\$ac_env_${ac_var}_value
3082 case $ac_old_set,$ac_new_set in
3083 set,)
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3085 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3086 ac_cache_corrupted=: ;;
3087 ,set)
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3089 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3090 ac_cache_corrupted=: ;;
3091 ,);;
3093 if test "x$ac_old_val" != "x$ac_new_val"; then
3094 # differences in whitespace do not lead to failure.
3095 ac_old_val_w=`echo x $ac_old_val`
3096 ac_new_val_w=`echo x $ac_new_val`
3097 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3099 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3100 ac_cache_corrupted=:
3101 else
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3103 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3104 eval $ac_var=\$ac_old_val
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3107 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3109 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3110 fi;;
3111 esac
3112 # Pass precious variables to config.status.
3113 if test "$ac_new_set" = set; then
3114 case $ac_new_val in
3115 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3116 *) ac_arg=$ac_var=$ac_new_val ;;
3117 esac
3118 case " $ac_configure_args " in
3119 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3120 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3121 esac
3123 done
3124 if $ac_cache_corrupted; then
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3128 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3129 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3131 ## -------------------- ##
3132 ## Main body of script. ##
3133 ## -------------------- ##
3135 ac_ext=c
3136 ac_cpp='$CPP $CPPFLAGS'
3137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3143 ac_config_headers="$ac_config_headers include/config.h"
3145 ac_aux_dir=
3146 for ac_dir in tools "$srcdir"/tools; do
3147 if test -f "$ac_dir/install-sh"; then
3148 ac_aux_dir=$ac_dir
3149 ac_install_sh="$ac_aux_dir/install-sh -c"
3150 break
3151 elif test -f "$ac_dir/install.sh"; then
3152 ac_aux_dir=$ac_dir
3153 ac_install_sh="$ac_aux_dir/install.sh -c"
3154 break
3155 elif test -f "$ac_dir/shtool"; then
3156 ac_aux_dir=$ac_dir
3157 ac_install_sh="$ac_aux_dir/shtool install -c"
3158 break
3160 done
3161 if test -z "$ac_aux_dir"; then
3162 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3165 # These three variables are undocumented and unsupported,
3166 # and are intended to be withdrawn in a future Autoconf release.
3167 # They can cause serious problems if a builder's source tree is in a directory
3168 # whose full name contains unusual characters.
3169 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3170 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3171 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3175 libwine_version="1.0"
3179 # Check whether --enable-win16 was given.
3180 if test "${enable_win16+set}" = set; then :
3181 enableval=$enable_win16;
3184 # Check whether --enable-win64 was given.
3185 if test "${enable_win64+set}" = set; then :
3186 enableval=$enable_win64;
3189 # Check whether --enable-tests was given.
3190 if test "${enable_tests+set}" = set; then :
3191 enableval=$enable_tests;
3194 # Check whether --enable-maintainer-mode was given.
3195 if test "${enable_maintainer_mode+set}" = set; then :
3196 enableval=$enable_maintainer_mode;
3201 # Check whether --with-alsa was given.
3202 if test "${with_alsa+set}" = set; then :
3203 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3207 # Check whether --with-capi was given.
3208 if test "${with_capi+set}" = set; then :
3209 withval=$with_capi;
3213 # Check whether --with-cms was given.
3214 if test "${with_cms+set}" = set; then :
3215 withval=$with_cms;
3219 # Check whether --with-coreaudio was given.
3220 if test "${with_coreaudio+set}" = set; then :
3221 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3225 # Check whether --with-cups was given.
3226 if test "${with_cups+set}" = set; then :
3227 withval=$with_cups;
3231 # Check whether --with-curses was given.
3232 if test "${with_curses+set}" = set; then :
3233 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3237 # Check whether --with-dbus was given.
3238 if test "${with_dbus+set}" = set; then :
3239 withval=$with_dbus;
3243 # Check whether --with-fontconfig was given.
3244 if test "${with_fontconfig+set}" = set; then :
3245 withval=$with_fontconfig;
3249 # Check whether --with-freetype was given.
3250 if test "${with_freetype+set}" = set; then :
3251 withval=$with_freetype;
3255 # Check whether --with-gettext was given.
3256 if test "${with_gettext+set}" = set; then :
3257 withval=$with_gettext;
3261 # Check whether --with-gettextpo was given.
3262 if test "${with_gettextpo+set}" = set; then :
3263 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3267 # Check whether --with-gphoto was given.
3268 if test "${with_gphoto+set}" = set; then :
3269 withval=$with_gphoto;
3273 # Check whether --with-glu was given.
3274 if test "${with_glu+set}" = set; then :
3275 withval=$with_glu;
3279 # Check whether --with-gnutls was given.
3280 if test "${with_gnutls+set}" = set; then :
3281 withval=$with_gnutls;
3285 # Check whether --with-gsm was given.
3286 if test "${with_gsm+set}" = set; then :
3287 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3291 # Check whether --with-gstreamer was given.
3292 if test "${with_gstreamer+set}" = set; then :
3293 withval=$with_gstreamer;
3297 # Check whether --with-hal was given.
3298 if test "${with_hal+set}" = set; then :
3299 withval=$with_hal;
3303 # Check whether --with-jpeg was given.
3304 if test "${with_jpeg+set}" = set; then :
3305 withval=$with_jpeg;
3309 # Check whether --with-ldap was given.
3310 if test "${with_ldap+set}" = set; then :
3311 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3315 # Check whether --with-mpg123 was given.
3316 if test "${with_mpg123+set}" = set; then :
3317 withval=$with_mpg123;
3321 # Check whether --with-netapi was given.
3322 if test "${with_netapi+set}" = set; then :
3323 withval=$with_netapi;
3327 # Check whether --with-openal was given.
3328 if test "${with_openal+set}" = set; then :
3329 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3333 # Check whether --with-opencl was given.
3334 if test "${with_opencl+set}" = set; then :
3335 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3339 # Check whether --with-opengl was given.
3340 if test "${with_opengl+set}" = set; then :
3341 withval=$with_opengl;
3345 # Check whether --with-osmesa was given.
3346 if test "${with_osmesa+set}" = set; then :
3347 withval=$with_osmesa;
3351 # Check whether --with-oss was given.
3352 if test "${with_oss+set}" = set; then :
3353 withval=$with_oss;
3357 # Check whether --with-pcap was given.
3358 if test "${with_pcap+set}" = set; then :
3359 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3363 # Check whether --with-png was given.
3364 if test "${with_png+set}" = set; then :
3365 withval=$with_png;
3369 # Check whether --with-pthread was given.
3370 if test "${with_pthread+set}" = set; then :
3371 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3375 # Check whether --with-sane was given.
3376 if test "${with_sane+set}" = set; then :
3377 withval=$with_sane;
3381 # Check whether --with-tiff was given.
3382 if test "${with_tiff+set}" = set; then :
3383 withval=$with_tiff;
3387 # Check whether --with-v4l was given.
3388 if test "${with_v4l+set}" = set; then :
3389 withval=$with_v4l;
3393 # Check whether --with-xcomposite was given.
3394 if test "${with_xcomposite+set}" = set; then :
3395 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3399 # Check whether --with-xcursor was given.
3400 if test "${with_xcursor+set}" = set; then :
3401 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3405 # Check whether --with-xinerama was given.
3406 if test "${with_xinerama+set}" = set; then :
3407 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3411 # Check whether --with-xinput was given.
3412 if test "${with_xinput+set}" = set; then :
3413 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3417 # Check whether --with-xinput2 was given.
3418 if test "${with_xinput2+set}" = set; then :
3419 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3423 # Check whether --with-xml was given.
3424 if test "${with_xml+set}" = set; then :
3425 withval=$with_xml;
3429 # Check whether --with-xrandr was given.
3430 if test "${with_xrandr+set}" = set; then :
3431 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3435 # Check whether --with-xrender was given.
3436 if test "${with_xrender+set}" = set; then :
3437 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3441 # Check whether --with-xshape was given.
3442 if test "${with_xshape+set}" = set; then :
3443 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3447 # Check whether --with-xshm was given.
3448 if test "${with_xshm+set}" = set; then :
3449 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3453 # Check whether --with-xslt was given.
3454 if test "${with_xslt+set}" = set; then :
3455 withval=$with_xslt;
3459 # Check whether --with-xxf86vm was given.
3460 if test "${with_xxf86vm+set}" = set; then :
3461 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
3465 # Check whether --with-zlib was given.
3466 if test "${with_zlib+set}" = set; then :
3467 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3472 # Check whether --with-wine-tools was given.
3473 if test "${with_wine_tools+set}" = set; then :
3474 withval=$with_wine_tools;
3478 # Check whether --with-wine64 was given.
3479 if test "${with_wine64+set}" = set; then :
3480 withval=$with_wine64;
3484 # Make sure we can run config.sub.
3485 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3486 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3489 $as_echo_n "checking build system type... " >&6; }
3490 if ${ac_cv_build+:} false; then :
3491 $as_echo_n "(cached) " >&6
3492 else
3493 ac_build_alias=$build_alias
3494 test "x$ac_build_alias" = x &&
3495 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3496 test "x$ac_build_alias" = x &&
3497 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3498 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3499 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3503 $as_echo "$ac_cv_build" >&6; }
3504 case $ac_cv_build in
3505 *-*-*) ;;
3506 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3507 esac
3508 build=$ac_cv_build
3509 ac_save_IFS=$IFS; IFS='-'
3510 set x $ac_cv_build
3511 shift
3512 build_cpu=$1
3513 build_vendor=$2
3514 shift; shift
3515 # Remember, the first character of IFS is used to create $*,
3516 # except with old shells:
3517 build_os=$*
3518 IFS=$ac_save_IFS
3519 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3523 $as_echo_n "checking host system type... " >&6; }
3524 if ${ac_cv_host+:} false; then :
3525 $as_echo_n "(cached) " >&6
3526 else
3527 if test "x$host_alias" = x; then
3528 ac_cv_host=$ac_cv_build
3529 else
3530 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3531 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3536 $as_echo "$ac_cv_host" >&6; }
3537 case $ac_cv_host in
3538 *-*-*) ;;
3539 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3540 esac
3541 host=$ac_cv_host
3542 ac_save_IFS=$IFS; IFS='-'
3543 set x $ac_cv_host
3544 shift
3545 host_cpu=$1
3546 host_vendor=$2
3547 shift; shift
3548 # Remember, the first character of IFS is used to create $*,
3549 # except with old shells:
3550 host_os=$*
3551 IFS=$ac_save_IFS
3552 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3556 case "$srcdir" in
3557 .) ;;
3558 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3559 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3560 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3561 fi ;;
3562 esac
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3566 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3567 set x ${MAKE-make}
3568 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3569 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3570 $as_echo_n "(cached) " >&6
3571 else
3572 cat >conftest.make <<\_ACEOF
3573 SHELL = /bin/sh
3574 all:
3575 @echo '@@@%%%=$(MAKE)=@@@%%%'
3576 _ACEOF
3577 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3578 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3579 *@@@%%%=?*=@@@%%%*)
3580 eval ac_cv_prog_make_${ac_make}_set=yes;;
3582 eval ac_cv_prog_make_${ac_make}_set=no;;
3583 esac
3584 rm -f conftest.make
3586 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3588 $as_echo "yes" >&6; }
3589 SET_MAKE=
3590 else
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3592 $as_echo "no" >&6; }
3593 SET_MAKE="MAKE=${MAKE-make}"
3596 ac_ext=c
3597 ac_cpp='$CPP $CPPFLAGS'
3598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3601 if test -n "$ac_tool_prefix"; then
3602 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3603 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3605 $as_echo_n "checking for $ac_word... " >&6; }
3606 if ${ac_cv_prog_CC+:} false; then :
3607 $as_echo_n "(cached) " >&6
3608 else
3609 if test -n "$CC"; then
3610 ac_cv_prog_CC="$CC" # Let the user override the test.
3611 else
3612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3613 for as_dir in $PATH
3615 IFS=$as_save_IFS
3616 test -z "$as_dir" && as_dir=.
3617 for ac_exec_ext in '' $ac_executable_extensions; do
3618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3619 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3621 break 2
3623 done
3624 done
3625 IFS=$as_save_IFS
3629 CC=$ac_cv_prog_CC
3630 if test -n "$CC"; then
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3632 $as_echo "$CC" >&6; }
3633 else
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3635 $as_echo "no" >&6; }
3640 if test -z "$ac_cv_prog_CC"; then
3641 ac_ct_CC=$CC
3642 # Extract the first word of "gcc", so it can be a program name with args.
3643 set dummy gcc; ac_word=$2
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3645 $as_echo_n "checking for $ac_word... " >&6; }
3646 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3647 $as_echo_n "(cached) " >&6
3648 else
3649 if test -n "$ac_ct_CC"; then
3650 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3651 else
3652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3653 for as_dir in $PATH
3655 IFS=$as_save_IFS
3656 test -z "$as_dir" && as_dir=.
3657 for ac_exec_ext in '' $ac_executable_extensions; do
3658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3659 ac_cv_prog_ac_ct_CC="gcc"
3660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3661 break 2
3663 done
3664 done
3665 IFS=$as_save_IFS
3669 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3670 if test -n "$ac_ct_CC"; then
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3672 $as_echo "$ac_ct_CC" >&6; }
3673 else
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3675 $as_echo "no" >&6; }
3678 if test "x$ac_ct_CC" = x; then
3679 CC=""
3680 else
3681 case $cross_compiling:$ac_tool_warned in
3682 yes:)
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3685 ac_tool_warned=yes ;;
3686 esac
3687 CC=$ac_ct_CC
3689 else
3690 CC="$ac_cv_prog_CC"
3693 if test -z "$CC"; then
3694 if test -n "$ac_tool_prefix"; then
3695 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3696 set dummy ${ac_tool_prefix}cc; ac_word=$2
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3698 $as_echo_n "checking for $ac_word... " >&6; }
3699 if ${ac_cv_prog_CC+:} false; then :
3700 $as_echo_n "(cached) " >&6
3701 else
3702 if test -n "$CC"; then
3703 ac_cv_prog_CC="$CC" # Let the user override the test.
3704 else
3705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3706 for as_dir in $PATH
3708 IFS=$as_save_IFS
3709 test -z "$as_dir" && as_dir=.
3710 for ac_exec_ext in '' $ac_executable_extensions; do
3711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3712 ac_cv_prog_CC="${ac_tool_prefix}cc"
3713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3714 break 2
3716 done
3717 done
3718 IFS=$as_save_IFS
3722 CC=$ac_cv_prog_CC
3723 if test -n "$CC"; then
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3725 $as_echo "$CC" >&6; }
3726 else
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3728 $as_echo "no" >&6; }
3734 if test -z "$CC"; then
3735 # Extract the first word of "cc", so it can be a program name with args.
3736 set dummy cc; ac_word=$2
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3738 $as_echo_n "checking for $ac_word... " >&6; }
3739 if ${ac_cv_prog_CC+:} false; then :
3740 $as_echo_n "(cached) " >&6
3741 else
3742 if test -n "$CC"; then
3743 ac_cv_prog_CC="$CC" # Let the user override the test.
3744 else
3745 ac_prog_rejected=no
3746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3747 for as_dir in $PATH
3749 IFS=$as_save_IFS
3750 test -z "$as_dir" && as_dir=.
3751 for ac_exec_ext in '' $ac_executable_extensions; do
3752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3753 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3754 ac_prog_rejected=yes
3755 continue
3757 ac_cv_prog_CC="cc"
3758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3759 break 2
3761 done
3762 done
3763 IFS=$as_save_IFS
3765 if test $ac_prog_rejected = yes; then
3766 # We found a bogon in the path, so make sure we never use it.
3767 set dummy $ac_cv_prog_CC
3768 shift
3769 if test $# != 0; then
3770 # We chose a different compiler from the bogus one.
3771 # However, it has the same basename, so the bogon will be chosen
3772 # first if we set CC to just the basename; use the full file name.
3773 shift
3774 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3779 CC=$ac_cv_prog_CC
3780 if test -n "$CC"; then
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3782 $as_echo "$CC" >&6; }
3783 else
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3785 $as_echo "no" >&6; }
3790 if test -z "$CC"; then
3791 if test -n "$ac_tool_prefix"; then
3792 for ac_prog in cl.exe
3794 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3795 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3797 $as_echo_n "checking for $ac_word... " >&6; }
3798 if ${ac_cv_prog_CC+:} false; then :
3799 $as_echo_n "(cached) " >&6
3800 else
3801 if test -n "$CC"; then
3802 ac_cv_prog_CC="$CC" # Let the user override the test.
3803 else
3804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3805 for as_dir in $PATH
3807 IFS=$as_save_IFS
3808 test -z "$as_dir" && as_dir=.
3809 for ac_exec_ext in '' $ac_executable_extensions; do
3810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3811 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3813 break 2
3815 done
3816 done
3817 IFS=$as_save_IFS
3821 CC=$ac_cv_prog_CC
3822 if test -n "$CC"; then
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3824 $as_echo "$CC" >&6; }
3825 else
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3827 $as_echo "no" >&6; }
3831 test -n "$CC" && break
3832 done
3834 if test -z "$CC"; then
3835 ac_ct_CC=$CC
3836 for ac_prog in cl.exe
3838 # Extract the first word of "$ac_prog", so it can be a program name with args.
3839 set dummy $ac_prog; ac_word=$2
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3841 $as_echo_n "checking for $ac_word... " >&6; }
3842 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3843 $as_echo_n "(cached) " >&6
3844 else
3845 if test -n "$ac_ct_CC"; then
3846 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3847 else
3848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3849 for as_dir in $PATH
3851 IFS=$as_save_IFS
3852 test -z "$as_dir" && as_dir=.
3853 for ac_exec_ext in '' $ac_executable_extensions; do
3854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3855 ac_cv_prog_ac_ct_CC="$ac_prog"
3856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3857 break 2
3859 done
3860 done
3861 IFS=$as_save_IFS
3865 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3866 if test -n "$ac_ct_CC"; then
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3868 $as_echo "$ac_ct_CC" >&6; }
3869 else
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3871 $as_echo "no" >&6; }
3875 test -n "$ac_ct_CC" && break
3876 done
3878 if test "x$ac_ct_CC" = x; then
3879 CC=""
3880 else
3881 case $cross_compiling:$ac_tool_warned in
3882 yes:)
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3885 ac_tool_warned=yes ;;
3886 esac
3887 CC=$ac_ct_CC
3894 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3896 as_fn_error $? "no acceptable C compiler found in \$PATH
3897 See \`config.log' for more details" "$LINENO" 5; }
3899 # Provide some information about the compiler.
3900 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3901 set X $ac_compile
3902 ac_compiler=$2
3903 for ac_option in --version -v -V -qversion; do
3904 { { ac_try="$ac_compiler $ac_option >&5"
3905 case "(($ac_try" in
3906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3907 *) ac_try_echo=$ac_try;;
3908 esac
3909 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3910 $as_echo "$ac_try_echo"; } >&5
3911 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3912 ac_status=$?
3913 if test -s conftest.err; then
3914 sed '10a\
3915 ... rest of stderr output deleted ...
3916 10q' conftest.err >conftest.er1
3917 cat conftest.er1 >&5
3919 rm -f conftest.er1 conftest.err
3920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3921 test $ac_status = 0; }
3922 done
3924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3925 /* end confdefs.h. */
3928 main ()
3932 return 0;
3934 _ACEOF
3935 ac_clean_files_save=$ac_clean_files
3936 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3937 # Try to create an executable without -o first, disregard a.out.
3938 # It will help us diagnose broken compilers, and finding out an intuition
3939 # of exeext.
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3941 $as_echo_n "checking whether the C compiler works... " >&6; }
3942 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3944 # The possible output files:
3945 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3947 ac_rmfiles=
3948 for ac_file in $ac_files
3950 case $ac_file in
3951 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3952 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3953 esac
3954 done
3955 rm -f $ac_rmfiles
3957 if { { ac_try="$ac_link_default"
3958 case "(($ac_try" in
3959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960 *) ac_try_echo=$ac_try;;
3961 esac
3962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3963 $as_echo "$ac_try_echo"; } >&5
3964 (eval "$ac_link_default") 2>&5
3965 ac_status=$?
3966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3967 test $ac_status = 0; }; then :
3968 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3969 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3970 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3971 # so that the user can short-circuit this test for compilers unknown to
3972 # Autoconf.
3973 for ac_file in $ac_files ''
3975 test -f "$ac_file" || continue
3976 case $ac_file in
3977 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3979 [ab].out )
3980 # We found the default executable, but exeext='' is most
3981 # certainly right.
3982 break;;
3983 *.* )
3984 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3985 then :; else
3986 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3988 # We set ac_cv_exeext here because the later test for it is not
3989 # safe: cross compilers may not add the suffix if given an `-o'
3990 # argument, so we may need to know it at that point already.
3991 # Even if this section looks crufty: it has the advantage of
3992 # actually working.
3993 break;;
3995 break;;
3996 esac
3997 done
3998 test "$ac_cv_exeext" = no && ac_cv_exeext=
4000 else
4001 ac_file=''
4003 if test -z "$ac_file"; then :
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4005 $as_echo "no" >&6; }
4006 $as_echo "$as_me: failed program was:" >&5
4007 sed 's/^/| /' conftest.$ac_ext >&5
4009 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4011 as_fn_error 77 "C compiler cannot create executables
4012 See \`config.log' for more details" "$LINENO" 5; }
4013 else
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4015 $as_echo "yes" >&6; }
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4018 $as_echo_n "checking for C compiler default output file name... " >&6; }
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4020 $as_echo "$ac_file" >&6; }
4021 ac_exeext=$ac_cv_exeext
4023 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4024 ac_clean_files=$ac_clean_files_save
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4026 $as_echo_n "checking for suffix of executables... " >&6; }
4027 if { { ac_try="$ac_link"
4028 case "(($ac_try" in
4029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4030 *) ac_try_echo=$ac_try;;
4031 esac
4032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4033 $as_echo "$ac_try_echo"; } >&5
4034 (eval "$ac_link") 2>&5
4035 ac_status=$?
4036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4037 test $ac_status = 0; }; then :
4038 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4039 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4040 # work properly (i.e., refer to `conftest.exe'), while it won't with
4041 # `rm'.
4042 for ac_file in conftest.exe conftest conftest.*; do
4043 test -f "$ac_file" || continue
4044 case $ac_file in
4045 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4046 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4047 break;;
4048 * ) break;;
4049 esac
4050 done
4051 else
4052 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4054 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4055 See \`config.log' for more details" "$LINENO" 5; }
4057 rm -f conftest conftest$ac_cv_exeext
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4059 $as_echo "$ac_cv_exeext" >&6; }
4061 rm -f conftest.$ac_ext
4062 EXEEXT=$ac_cv_exeext
4063 ac_exeext=$EXEEXT
4064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4065 /* end confdefs.h. */
4066 #include <stdio.h>
4068 main ()
4070 FILE *f = fopen ("conftest.out", "w");
4071 return ferror (f) || fclose (f) != 0;
4074 return 0;
4076 _ACEOF
4077 ac_clean_files="$ac_clean_files conftest.out"
4078 # Check that the compiler produces executables we can run. If not, either
4079 # the compiler is broken, or we cross compile.
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4081 $as_echo_n "checking whether we are cross compiling... " >&6; }
4082 if test "$cross_compiling" != yes; then
4083 { { ac_try="$ac_link"
4084 case "(($ac_try" in
4085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4086 *) ac_try_echo=$ac_try;;
4087 esac
4088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4089 $as_echo "$ac_try_echo"; } >&5
4090 (eval "$ac_link") 2>&5
4091 ac_status=$?
4092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4093 test $ac_status = 0; }
4094 if { ac_try='./conftest$ac_cv_exeext'
4095 { { case "(($ac_try" in
4096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4097 *) ac_try_echo=$ac_try;;
4098 esac
4099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4100 $as_echo "$ac_try_echo"; } >&5
4101 (eval "$ac_try") 2>&5
4102 ac_status=$?
4103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4104 test $ac_status = 0; }; }; then
4105 cross_compiling=no
4106 else
4107 if test "$cross_compiling" = maybe; then
4108 cross_compiling=yes
4109 else
4110 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4112 as_fn_error $? "cannot run C compiled programs.
4113 If you meant to cross compile, use \`--host'.
4114 See \`config.log' for more details" "$LINENO" 5; }
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4119 $as_echo "$cross_compiling" >&6; }
4121 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4122 ac_clean_files=$ac_clean_files_save
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4124 $as_echo_n "checking for suffix of object files... " >&6; }
4125 if ${ac_cv_objext+:} false; then :
4126 $as_echo_n "(cached) " >&6
4127 else
4128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h. */
4132 main ()
4136 return 0;
4138 _ACEOF
4139 rm -f conftest.o conftest.obj
4140 if { { ac_try="$ac_compile"
4141 case "(($ac_try" in
4142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4143 *) ac_try_echo=$ac_try;;
4144 esac
4145 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4146 $as_echo "$ac_try_echo"; } >&5
4147 (eval "$ac_compile") 2>&5
4148 ac_status=$?
4149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4150 test $ac_status = 0; }; then :
4151 for ac_file in conftest.o conftest.obj conftest.*; do
4152 test -f "$ac_file" || continue;
4153 case $ac_file in
4154 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4155 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4156 break;;
4157 esac
4158 done
4159 else
4160 $as_echo "$as_me: failed program was:" >&5
4161 sed 's/^/| /' conftest.$ac_ext >&5
4163 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4165 as_fn_error $? "cannot compute suffix of object files: cannot compile
4166 See \`config.log' for more details" "$LINENO" 5; }
4168 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4171 $as_echo "$ac_cv_objext" >&6; }
4172 OBJEXT=$ac_cv_objext
4173 ac_objext=$OBJEXT
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4175 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4176 if ${ac_cv_c_compiler_gnu+:} false; then :
4177 $as_echo_n "(cached) " >&6
4178 else
4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h. */
4183 main ()
4185 #ifndef __GNUC__
4186 choke me
4187 #endif
4190 return 0;
4192 _ACEOF
4193 if ac_fn_c_try_compile "$LINENO"; then :
4194 ac_compiler_gnu=yes
4195 else
4196 ac_compiler_gnu=no
4198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4199 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4203 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4204 if test $ac_compiler_gnu = yes; then
4205 GCC=yes
4206 else
4207 GCC=
4209 ac_test_CFLAGS=${CFLAGS+set}
4210 ac_save_CFLAGS=$CFLAGS
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4212 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4213 if ${ac_cv_prog_cc_g+:} false; then :
4214 $as_echo_n "(cached) " >&6
4215 else
4216 ac_save_c_werror_flag=$ac_c_werror_flag
4217 ac_c_werror_flag=yes
4218 ac_cv_prog_cc_g=no
4219 CFLAGS="-g"
4220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4221 /* end confdefs.h. */
4224 main ()
4228 return 0;
4230 _ACEOF
4231 if ac_fn_c_try_compile "$LINENO"; then :
4232 ac_cv_prog_cc_g=yes
4233 else
4234 CFLAGS=""
4235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4236 /* end confdefs.h. */
4239 main ()
4243 return 0;
4245 _ACEOF
4246 if ac_fn_c_try_compile "$LINENO"; then :
4248 else
4249 ac_c_werror_flag=$ac_save_c_werror_flag
4250 CFLAGS="-g"
4251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h. */
4255 main ()
4259 return 0;
4261 _ACEOF
4262 if ac_fn_c_try_compile "$LINENO"; then :
4263 ac_cv_prog_cc_g=yes
4265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4270 ac_c_werror_flag=$ac_save_c_werror_flag
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4273 $as_echo "$ac_cv_prog_cc_g" >&6; }
4274 if test "$ac_test_CFLAGS" = set; then
4275 CFLAGS=$ac_save_CFLAGS
4276 elif test $ac_cv_prog_cc_g = yes; then
4277 if test "$GCC" = yes; then
4278 CFLAGS="-g -O2"
4279 else
4280 CFLAGS="-g"
4282 else
4283 if test "$GCC" = yes; then
4284 CFLAGS="-O2"
4285 else
4286 CFLAGS=
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4290 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4291 if ${ac_cv_prog_cc_c89+:} false; then :
4292 $as_echo_n "(cached) " >&6
4293 else
4294 ac_cv_prog_cc_c89=no
4295 ac_save_CC=$CC
4296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4297 /* end confdefs.h. */
4298 #include <stdarg.h>
4299 #include <stdio.h>
4300 struct stat;
4301 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4302 struct buf { int x; };
4303 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4304 static char *e (p, i)
4305 char **p;
4306 int i;
4308 return p[i];
4310 static char *f (char * (*g) (char **, int), char **p, ...)
4312 char *s;
4313 va_list v;
4314 va_start (v,p);
4315 s = g (p, va_arg (v,int));
4316 va_end (v);
4317 return s;
4320 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4321 function prototypes and stuff, but not '\xHH' hex character constants.
4322 These don't provoke an error unfortunately, instead are silently treated
4323 as 'x'. The following induces an error, until -std is added to get
4324 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4325 array size at least. It's necessary to write '\x00'==0 to get something
4326 that's true only with -std. */
4327 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4329 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4330 inside strings and character constants. */
4331 #define FOO(x) 'x'
4332 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4334 int test (int i, double x);
4335 struct s1 {int (*f) (int a);};
4336 struct s2 {int (*f) (double a);};
4337 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4338 int argc;
4339 char **argv;
4341 main ()
4343 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4345 return 0;
4347 _ACEOF
4348 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4349 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4351 CC="$ac_save_CC $ac_arg"
4352 if ac_fn_c_try_compile "$LINENO"; then :
4353 ac_cv_prog_cc_c89=$ac_arg
4355 rm -f core conftest.err conftest.$ac_objext
4356 test "x$ac_cv_prog_cc_c89" != "xno" && break
4357 done
4358 rm -f conftest.$ac_ext
4359 CC=$ac_save_CC
4362 # AC_CACHE_VAL
4363 case "x$ac_cv_prog_cc_c89" in
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4366 $as_echo "none needed" >&6; } ;;
4367 xno)
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4369 $as_echo "unsupported" >&6; } ;;
4371 CC="$CC $ac_cv_prog_cc_c89"
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4373 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4374 esac
4375 if test "x$ac_cv_prog_cc_c89" != xno; then :
4379 ac_ext=c
4380 ac_cpp='$CPP $CPPFLAGS'
4381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4385 ac_ext=cpp
4386 ac_cpp='$CXXCPP $CPPFLAGS'
4387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4390 if test -z "$CXX"; then
4391 if test -n "$CCC"; then
4392 CXX=$CCC
4393 else
4394 if test -n "$ac_tool_prefix"; then
4395 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4397 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4398 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4400 $as_echo_n "checking for $ac_word... " >&6; }
4401 if ${ac_cv_prog_CXX+:} false; then :
4402 $as_echo_n "(cached) " >&6
4403 else
4404 if test -n "$CXX"; then
4405 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4406 else
4407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4408 for as_dir in $PATH
4410 IFS=$as_save_IFS
4411 test -z "$as_dir" && as_dir=.
4412 for ac_exec_ext in '' $ac_executable_extensions; do
4413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4414 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4416 break 2
4418 done
4419 done
4420 IFS=$as_save_IFS
4424 CXX=$ac_cv_prog_CXX
4425 if test -n "$CXX"; then
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4427 $as_echo "$CXX" >&6; }
4428 else
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4430 $as_echo "no" >&6; }
4434 test -n "$CXX" && break
4435 done
4437 if test -z "$CXX"; then
4438 ac_ct_CXX=$CXX
4439 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4441 # Extract the first word of "$ac_prog", so it can be a program name with args.
4442 set dummy $ac_prog; ac_word=$2
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4444 $as_echo_n "checking for $ac_word... " >&6; }
4445 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4446 $as_echo_n "(cached) " >&6
4447 else
4448 if test -n "$ac_ct_CXX"; then
4449 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4450 else
4451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4452 for as_dir in $PATH
4454 IFS=$as_save_IFS
4455 test -z "$as_dir" && as_dir=.
4456 for ac_exec_ext in '' $ac_executable_extensions; do
4457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4458 ac_cv_prog_ac_ct_CXX="$ac_prog"
4459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4460 break 2
4462 done
4463 done
4464 IFS=$as_save_IFS
4468 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4469 if test -n "$ac_ct_CXX"; then
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4471 $as_echo "$ac_ct_CXX" >&6; }
4472 else
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4474 $as_echo "no" >&6; }
4478 test -n "$ac_ct_CXX" && break
4479 done
4481 if test "x$ac_ct_CXX" = x; then
4482 CXX="g++"
4483 else
4484 case $cross_compiling:$ac_tool_warned in
4485 yes:)
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4488 ac_tool_warned=yes ;;
4489 esac
4490 CXX=$ac_ct_CXX
4496 # Provide some information about the compiler.
4497 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4498 set X $ac_compile
4499 ac_compiler=$2
4500 for ac_option in --version -v -V -qversion; do
4501 { { ac_try="$ac_compiler $ac_option >&5"
4502 case "(($ac_try" in
4503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4504 *) ac_try_echo=$ac_try;;
4505 esac
4506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4507 $as_echo "$ac_try_echo"; } >&5
4508 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4509 ac_status=$?
4510 if test -s conftest.err; then
4511 sed '10a\
4512 ... rest of stderr output deleted ...
4513 10q' conftest.err >conftest.er1
4514 cat conftest.er1 >&5
4516 rm -f conftest.er1 conftest.err
4517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4518 test $ac_status = 0; }
4519 done
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4522 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4523 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4524 $as_echo_n "(cached) " >&6
4525 else
4526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527 /* end confdefs.h. */
4530 main ()
4532 #ifndef __GNUC__
4533 choke me
4534 #endif
4537 return 0;
4539 _ACEOF
4540 if ac_fn_cxx_try_compile "$LINENO"; then :
4541 ac_compiler_gnu=yes
4542 else
4543 ac_compiler_gnu=no
4545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4546 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4550 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4551 if test $ac_compiler_gnu = yes; then
4552 GXX=yes
4553 else
4554 GXX=
4556 ac_test_CXXFLAGS=${CXXFLAGS+set}
4557 ac_save_CXXFLAGS=$CXXFLAGS
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4559 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4560 if ${ac_cv_prog_cxx_g+:} false; then :
4561 $as_echo_n "(cached) " >&6
4562 else
4563 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4564 ac_cxx_werror_flag=yes
4565 ac_cv_prog_cxx_g=no
4566 CXXFLAGS="-g"
4567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4568 /* end confdefs.h. */
4571 main ()
4575 return 0;
4577 _ACEOF
4578 if ac_fn_cxx_try_compile "$LINENO"; then :
4579 ac_cv_prog_cxx_g=yes
4580 else
4581 CXXFLAGS=""
4582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4583 /* end confdefs.h. */
4586 main ()
4590 return 0;
4592 _ACEOF
4593 if ac_fn_cxx_try_compile "$LINENO"; then :
4595 else
4596 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4597 CXXFLAGS="-g"
4598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4599 /* end confdefs.h. */
4602 main ()
4606 return 0;
4608 _ACEOF
4609 if ac_fn_cxx_try_compile "$LINENO"; then :
4610 ac_cv_prog_cxx_g=yes
4612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4617 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4620 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4621 if test "$ac_test_CXXFLAGS" = set; then
4622 CXXFLAGS=$ac_save_CXXFLAGS
4623 elif test $ac_cv_prog_cxx_g = yes; then
4624 if test "$GXX" = yes; then
4625 CXXFLAGS="-g -O2"
4626 else
4627 CXXFLAGS="-g"
4629 else
4630 if test "$GXX" = yes; then
4631 CXXFLAGS="-O2"
4632 else
4633 CXXFLAGS=
4636 ac_ext=c
4637 ac_cpp='$CPP $CPPFLAGS'
4638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4642 if test -n "$ac_tool_prefix"; then
4643 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4644 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4646 $as_echo_n "checking for $ac_word... " >&6; }
4647 if ${ac_cv_prog_CPPBIN+:} false; then :
4648 $as_echo_n "(cached) " >&6
4649 else
4650 if test -n "$CPPBIN"; then
4651 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4652 else
4653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4654 for as_dir in $PATH
4656 IFS=$as_save_IFS
4657 test -z "$as_dir" && as_dir=.
4658 for ac_exec_ext in '' $ac_executable_extensions; do
4659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4660 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4662 break 2
4664 done
4665 done
4666 IFS=$as_save_IFS
4670 CPPBIN=$ac_cv_prog_CPPBIN
4671 if test -n "$CPPBIN"; then
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4673 $as_echo "$CPPBIN" >&6; }
4674 else
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4676 $as_echo "no" >&6; }
4681 if test -z "$ac_cv_prog_CPPBIN"; then
4682 ac_ct_CPPBIN=$CPPBIN
4683 # Extract the first word of "cpp", so it can be a program name with args.
4684 set dummy cpp; ac_word=$2
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4686 $as_echo_n "checking for $ac_word... " >&6; }
4687 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4688 $as_echo_n "(cached) " >&6
4689 else
4690 if test -n "$ac_ct_CPPBIN"; then
4691 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4692 else
4693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4694 for as_dir in $PATH
4696 IFS=$as_save_IFS
4697 test -z "$as_dir" && as_dir=.
4698 for ac_exec_ext in '' $ac_executable_extensions; do
4699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4700 ac_cv_prog_ac_ct_CPPBIN="cpp"
4701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4702 break 2
4704 done
4705 done
4706 IFS=$as_save_IFS
4710 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4711 if test -n "$ac_ct_CPPBIN"; then
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4713 $as_echo "$ac_ct_CPPBIN" >&6; }
4714 else
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4716 $as_echo "no" >&6; }
4719 if test "x$ac_ct_CPPBIN" = x; then
4720 CPPBIN="cpp"
4721 else
4722 case $cross_compiling:$ac_tool_warned in
4723 yes:)
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4726 ac_tool_warned=yes ;;
4727 esac
4728 CPPBIN=$ac_ct_CPPBIN
4730 else
4731 CPPBIN="$ac_cv_prog_CPPBIN"
4735 cat >>confdefs.h <<_ACEOF
4736 #define EXEEXT "$ac_exeext"
4737 _ACEOF
4740 case $host in
4741 *-darwin*)
4742 if test "x$enable_win64" = "xyes"
4743 then
4744 CC="$CC -m64"
4745 CXX="$CXX -m64"
4746 host_cpu="x86_64"
4747 notice_platform="64-bit "
4748 TARGETFLAGS="-m64"
4750 else
4751 CC="$CC -m32"
4752 CXX="$CXX -m32"
4753 host_cpu="i386"
4754 notice_platform="32-bit "
4755 TARGETFLAGS="-m32"
4757 enable_win16=${enable_win16:-yes}
4759 with_fontconfig=${with_fontconfig:-no}
4761 x86_64*)
4762 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4763 then
4764 CC="$CC -m32"
4765 CXX="$CXX -m32"
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4767 $as_echo_n "checking whether $CC works... " >&6; }
4769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4770 /* end confdefs.h. */
4773 main ()
4777 return 0;
4779 _ACEOF
4780 if ac_fn_c_try_link "$LINENO"; then :
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4782 $as_echo "yes" >&6; }
4783 else
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4785 $as_echo "no" >&6; }
4786 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4788 rm -f core conftest.err conftest.$ac_objext \
4789 conftest$ac_exeext conftest.$ac_ext
4790 host_cpu="i386"
4791 notice_platform="32-bit "
4792 TARGETFLAGS="-m32"
4794 enable_win16=${enable_win16:-yes}
4795 else
4796 if test "x${GCC}" = "xyes"
4797 then
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4799 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h. */
4802 #include <stdarg.h>
4804 main ()
4806 void func(__builtin_ms_va_list *args);
4808 return 0;
4810 _ACEOF
4811 if ac_fn_c_try_compile "$LINENO"; then :
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4813 $as_echo "yes" >&6; }
4814 else
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4816 $as_echo "no" >&6; }
4817 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4821 TARGETFLAGS="-m64"
4825 arm*)
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4827 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4829 /* end confdefs.h. */
4830 int ac_test(int i) { return i; }
4832 main ()
4834 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4836 return 0;
4838 _ACEOF
4839 if ac_fn_c_try_link "$LINENO"; then :
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4841 $as_echo "yes" >&6; }
4842 else
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4844 $as_echo "no" >&6; }
4845 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4847 rm -f core conftest.err conftest.$ac_objext \
4848 conftest$ac_exeext conftest.$ac_ext
4849 CFLAGS="$CFLAGS -marm"
4850 TARGETFLAGS="-marm"
4853 *-mingw32*|*-cygwin*)
4854 enable_win16=${enable_win16:-no}
4855 CFLAGS="$CFLAGS -D_WIN32"
4857 i[3456789]86*)
4858 enable_win16=${enable_win16:-yes}
4860 esac
4862 enable_win16=${enable_win16:-no}
4863 enable_win64=${enable_win64:-no}
4865 enable_winetest=${enable_winetest:-$enable_tests}
4867 if test -n "$with_wine64"
4868 then
4869 if test "x$enable_win64" = "xyes"
4870 then
4871 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4872 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4874 enable_fonts=${enable_fonts:-no}
4875 enable_server=${enable_server:-no}
4876 elif test "x$enable_win64" = "xyes"
4877 then
4878 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4882 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4883 if ${wine_cv_toolsdir+:} false; then :
4884 $as_echo_n "(cached) " >&6
4885 else
4886 wine_cv_toolsdir="$with_wine_tools"
4887 if test -z "$with_wine_tools"; then
4888 if test "$cross_compiling" = "yes"; then
4889 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4890 elif test -n "$with_wine64"; then
4891 wine_cv_toolsdir="$with_wine64"
4894 if test -z "$wine_cv_toolsdir"; then
4895 wine_makedep=tools/makedep
4896 wine_cv_toolsdir="\$(top_builddir)"
4897 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4898 wine_makedep=$wine_cv_toolsdir/tools/makedep
4899 case "$wine_cv_toolsdir" in
4900 /*) ;;
4901 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4902 esac
4903 enable_tools=${enable_tools:-no}
4904 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4905 else
4906 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4910 $as_echo "$wine_cv_toolsdir" >&6; }
4911 TOOLSDIR=$wine_cv_toolsdir
4913 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4914 then
4915 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4919 for ac_prog in flex
4921 # Extract the first word of "$ac_prog", so it can be a program name with args.
4922 set dummy $ac_prog; ac_word=$2
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4924 $as_echo_n "checking for $ac_word... " >&6; }
4925 if ${ac_cv_prog_FLEX+:} false; then :
4926 $as_echo_n "(cached) " >&6
4927 else
4928 if test -n "$FLEX"; then
4929 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4930 else
4931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4932 for as_dir in $PATH
4934 IFS=$as_save_IFS
4935 test -z "$as_dir" && as_dir=.
4936 for ac_exec_ext in '' $ac_executable_extensions; do
4937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4938 ac_cv_prog_FLEX="$ac_prog"
4939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4940 break 2
4942 done
4943 done
4944 IFS=$as_save_IFS
4948 FLEX=$ac_cv_prog_FLEX
4949 if test -n "$FLEX"; then
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4951 $as_echo "$FLEX" >&6; }
4952 else
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4958 test -n "$FLEX" && break
4959 done
4960 test -n "$FLEX" || FLEX="none"
4962 if test "$FLEX" = "none"
4963 then
4964 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4967 $as_echo_n "checking whether flex is recent enough... " >&6; }
4968 cat >conftest.l <<EOF
4969 %top{
4970 #include "prediluvian.h"
4974 if $FLEX -t conftest.l >/dev/null 2>&5
4975 then
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4977 $as_echo "yes" >&6; }
4978 else
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4980 $as_echo "no" >&6; }
4981 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4984 for ac_prog in bison
4986 # Extract the first word of "$ac_prog", so it can be a program name with args.
4987 set dummy $ac_prog; ac_word=$2
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4989 $as_echo_n "checking for $ac_word... " >&6; }
4990 if ${ac_cv_prog_BISON+:} false; then :
4991 $as_echo_n "(cached) " >&6
4992 else
4993 if test -n "$BISON"; then
4994 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4995 else
4996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4997 for as_dir in $PATH
4999 IFS=$as_save_IFS
5000 test -z "$as_dir" && as_dir=.
5001 for ac_exec_ext in '' $ac_executable_extensions; do
5002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5003 ac_cv_prog_BISON="$ac_prog"
5004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5005 break 2
5007 done
5008 done
5009 IFS=$as_save_IFS
5013 BISON=$ac_cv_prog_BISON
5014 if test -n "$BISON"; then
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5016 $as_echo "$BISON" >&6; }
5017 else
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5019 $as_echo "no" >&6; }
5023 test -n "$BISON" && break
5024 done
5025 test -n "$BISON" || BISON="none"
5027 if test "$BISON" = "none"
5028 then
5029 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5032 if test -n "$ac_tool_prefix"; then
5033 for ac_prog in ar gar
5035 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5036 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 $as_echo_n "checking for $ac_word... " >&6; }
5039 if ${ac_cv_prog_AR+:} false; then :
5040 $as_echo_n "(cached) " >&6
5041 else
5042 if test -n "$AR"; then
5043 ac_cv_prog_AR="$AR" # Let the user override the test.
5044 else
5045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 for as_dir in $PATH
5048 IFS=$as_save_IFS
5049 test -z "$as_dir" && as_dir=.
5050 for ac_exec_ext in '' $ac_executable_extensions; do
5051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5052 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 break 2
5056 done
5057 done
5058 IFS=$as_save_IFS
5062 AR=$ac_cv_prog_AR
5063 if test -n "$AR"; then
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5065 $as_echo "$AR" >&6; }
5066 else
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5072 test -n "$AR" && break
5073 done
5075 if test -z "$AR"; then
5076 ac_ct_AR=$AR
5077 for ac_prog in ar gar
5079 # Extract the first word of "$ac_prog", so it can be a program name with args.
5080 set dummy $ac_prog; ac_word=$2
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5082 $as_echo_n "checking for $ac_word... " >&6; }
5083 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5084 $as_echo_n "(cached) " >&6
5085 else
5086 if test -n "$ac_ct_AR"; then
5087 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5088 else
5089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5090 for as_dir in $PATH
5092 IFS=$as_save_IFS
5093 test -z "$as_dir" && as_dir=.
5094 for ac_exec_ext in '' $ac_executable_extensions; do
5095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5096 ac_cv_prog_ac_ct_AR="$ac_prog"
5097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5098 break 2
5100 done
5101 done
5102 IFS=$as_save_IFS
5106 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5107 if test -n "$ac_ct_AR"; then
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5109 $as_echo "$ac_ct_AR" >&6; }
5110 else
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5112 $as_echo "no" >&6; }
5116 test -n "$ac_ct_AR" && break
5117 done
5119 if test "x$ac_ct_AR" = x; then
5120 AR="ar"
5121 else
5122 case $cross_compiling:$ac_tool_warned in
5123 yes:)
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5125 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5126 ac_tool_warned=yes ;;
5127 esac
5128 AR=$ac_ct_AR
5132 if test -n "$ac_tool_prefix"; then
5133 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5134 set dummy ${ac_tool_prefix}strip; ac_word=$2
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5136 $as_echo_n "checking for $ac_word... " >&6; }
5137 if ${ac_cv_prog_STRIP+:} false; then :
5138 $as_echo_n "(cached) " >&6
5139 else
5140 if test -n "$STRIP"; then
5141 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5142 else
5143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5144 for as_dir in $PATH
5146 IFS=$as_save_IFS
5147 test -z "$as_dir" && as_dir=.
5148 for ac_exec_ext in '' $ac_executable_extensions; do
5149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5150 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5152 break 2
5154 done
5155 done
5156 IFS=$as_save_IFS
5160 STRIP=$ac_cv_prog_STRIP
5161 if test -n "$STRIP"; then
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5163 $as_echo "$STRIP" >&6; }
5164 else
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5166 $as_echo "no" >&6; }
5171 if test -z "$ac_cv_prog_STRIP"; then
5172 ac_ct_STRIP=$STRIP
5173 # Extract the first word of "strip", so it can be a program name with args.
5174 set dummy strip; ac_word=$2
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5176 $as_echo_n "checking for $ac_word... " >&6; }
5177 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5178 $as_echo_n "(cached) " >&6
5179 else
5180 if test -n "$ac_ct_STRIP"; then
5181 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5182 else
5183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5184 for as_dir in $PATH
5186 IFS=$as_save_IFS
5187 test -z "$as_dir" && as_dir=.
5188 for ac_exec_ext in '' $ac_executable_extensions; do
5189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5190 ac_cv_prog_ac_ct_STRIP="strip"
5191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5192 break 2
5194 done
5195 done
5196 IFS=$as_save_IFS
5200 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5201 if test -n "$ac_ct_STRIP"; then
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5203 $as_echo "$ac_ct_STRIP" >&6; }
5204 else
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5206 $as_echo "no" >&6; }
5209 if test "x$ac_ct_STRIP" = x; then
5210 STRIP="strip"
5211 else
5212 case $cross_compiling:$ac_tool_warned in
5213 yes:)
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5216 ac_tool_warned=yes ;;
5217 esac
5218 STRIP=$ac_ct_STRIP
5220 else
5221 STRIP="$ac_cv_prog_STRIP"
5224 ARFLAGS=rc
5226 if test -n "$ac_tool_prefix"; then
5227 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5228 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5230 $as_echo_n "checking for $ac_word... " >&6; }
5231 if ${ac_cv_prog_RANLIB+:} false; then :
5232 $as_echo_n "(cached) " >&6
5233 else
5234 if test -n "$RANLIB"; then
5235 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5236 else
5237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5238 for as_dir in $PATH
5240 IFS=$as_save_IFS
5241 test -z "$as_dir" && as_dir=.
5242 for ac_exec_ext in '' $ac_executable_extensions; do
5243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5244 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 break 2
5248 done
5249 done
5250 IFS=$as_save_IFS
5254 RANLIB=$ac_cv_prog_RANLIB
5255 if test -n "$RANLIB"; then
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5257 $as_echo "$RANLIB" >&6; }
5258 else
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260 $as_echo "no" >&6; }
5265 if test -z "$ac_cv_prog_RANLIB"; then
5266 ac_ct_RANLIB=$RANLIB
5267 # Extract the first word of "ranlib", so it can be a program name with args.
5268 set dummy ranlib; ac_word=$2
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5270 $as_echo_n "checking for $ac_word... " >&6; }
5271 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5272 $as_echo_n "(cached) " >&6
5273 else
5274 if test -n "$ac_ct_RANLIB"; then
5275 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5276 else
5277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5278 for as_dir in $PATH
5280 IFS=$as_save_IFS
5281 test -z "$as_dir" && as_dir=.
5282 for ac_exec_ext in '' $ac_executable_extensions; do
5283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5284 ac_cv_prog_ac_ct_RANLIB="ranlib"
5285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5286 break 2
5288 done
5289 done
5290 IFS=$as_save_IFS
5294 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5295 if test -n "$ac_ct_RANLIB"; then
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5297 $as_echo "$ac_ct_RANLIB" >&6; }
5298 else
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5300 $as_echo "no" >&6; }
5303 if test "x$ac_ct_RANLIB" = x; then
5304 RANLIB=":"
5305 else
5306 case $cross_compiling:$ac_tool_warned in
5307 yes:)
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5310 ac_tool_warned=yes ;;
5311 esac
5312 RANLIB=$ac_ct_RANLIB
5314 else
5315 RANLIB="$ac_cv_prog_RANLIB"
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5319 $as_echo_n "checking whether ln -s works... " >&6; }
5320 LN_S=$as_ln_s
5321 if test "$LN_S" = "ln -s"; then
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5323 $as_echo "yes" >&6; }
5324 else
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5326 $as_echo "no, using $LN_S" >&6; }
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5330 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5331 if ${ac_cv_path_GREP+:} false; then :
5332 $as_echo_n "(cached) " >&6
5333 else
5334 if test -z "$GREP"; then
5335 ac_path_GREP_found=false
5336 # Loop through the user's path and test for each of PROGNAME-LIST
5337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5338 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5340 IFS=$as_save_IFS
5341 test -z "$as_dir" && as_dir=.
5342 for ac_prog in grep ggrep; do
5343 for ac_exec_ext in '' $ac_executable_extensions; do
5344 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5345 as_fn_executable_p "$ac_path_GREP" || continue
5346 # Check for GNU ac_path_GREP and select it if it is found.
5347 # Check for GNU $ac_path_GREP
5348 case `"$ac_path_GREP" --version 2>&1` in
5349 *GNU*)
5350 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5352 ac_count=0
5353 $as_echo_n 0123456789 >"conftest.in"
5354 while :
5356 cat "conftest.in" "conftest.in" >"conftest.tmp"
5357 mv "conftest.tmp" "conftest.in"
5358 cp "conftest.in" "conftest.nl"
5359 $as_echo 'GREP' >> "conftest.nl"
5360 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5361 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5362 as_fn_arith $ac_count + 1 && ac_count=$as_val
5363 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5364 # Best one so far, save it but keep looking for a better one
5365 ac_cv_path_GREP="$ac_path_GREP"
5366 ac_path_GREP_max=$ac_count
5368 # 10*(2^10) chars as input seems more than enough
5369 test $ac_count -gt 10 && break
5370 done
5371 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5372 esac
5374 $ac_path_GREP_found && break 3
5375 done
5376 done
5377 done
5378 IFS=$as_save_IFS
5379 if test -z "$ac_cv_path_GREP"; then
5380 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5382 else
5383 ac_cv_path_GREP=$GREP
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5388 $as_echo "$ac_cv_path_GREP" >&6; }
5389 GREP="$ac_cv_path_GREP"
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5393 $as_echo_n "checking for egrep... " >&6; }
5394 if ${ac_cv_path_EGREP+:} false; then :
5395 $as_echo_n "(cached) " >&6
5396 else
5397 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5398 then ac_cv_path_EGREP="$GREP -E"
5399 else
5400 if test -z "$EGREP"; then
5401 ac_path_EGREP_found=false
5402 # Loop through the user's path and test for each of PROGNAME-LIST
5403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5404 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5406 IFS=$as_save_IFS
5407 test -z "$as_dir" && as_dir=.
5408 for ac_prog in egrep; do
5409 for ac_exec_ext in '' $ac_executable_extensions; do
5410 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5411 as_fn_executable_p "$ac_path_EGREP" || continue
5412 # Check for GNU ac_path_EGREP and select it if it is found.
5413 # Check for GNU $ac_path_EGREP
5414 case `"$ac_path_EGREP" --version 2>&1` in
5415 *GNU*)
5416 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5418 ac_count=0
5419 $as_echo_n 0123456789 >"conftest.in"
5420 while :
5422 cat "conftest.in" "conftest.in" >"conftest.tmp"
5423 mv "conftest.tmp" "conftest.in"
5424 cp "conftest.in" "conftest.nl"
5425 $as_echo 'EGREP' >> "conftest.nl"
5426 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5427 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5428 as_fn_arith $ac_count + 1 && ac_count=$as_val
5429 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5430 # Best one so far, save it but keep looking for a better one
5431 ac_cv_path_EGREP="$ac_path_EGREP"
5432 ac_path_EGREP_max=$ac_count
5434 # 10*(2^10) chars as input seems more than enough
5435 test $ac_count -gt 10 && break
5436 done
5437 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5438 esac
5440 $ac_path_EGREP_found && break 3
5441 done
5442 done
5443 done
5444 IFS=$as_save_IFS
5445 if test -z "$ac_cv_path_EGREP"; then
5446 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5448 else
5449 ac_cv_path_EGREP=$EGREP
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5455 $as_echo "$ac_cv_path_EGREP" >&6; }
5456 EGREP="$ac_cv_path_EGREP"
5459 # Extract the first word of "ldconfig", so it can be a program name with args.
5460 set dummy ldconfig; ac_word=$2
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5462 $as_echo_n "checking for $ac_word... " >&6; }
5463 if ${ac_cv_path_LDCONFIG+:} false; then :
5464 $as_echo_n "(cached) " >&6
5465 else
5466 case $LDCONFIG in
5467 [\\/]* | ?:[\\/]*)
5468 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5472 for as_dir in /sbin /usr/sbin $PATH
5474 IFS=$as_save_IFS
5475 test -z "$as_dir" && as_dir=.
5476 for ac_exec_ext in '' $ac_executable_extensions; do
5477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5478 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5480 break 2
5482 done
5483 done
5484 IFS=$as_save_IFS
5486 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5488 esac
5490 LDCONFIG=$ac_cv_path_LDCONFIG
5491 if test -n "$LDCONFIG"; then
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5493 $as_echo "$LDCONFIG" >&6; }
5494 else
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5496 $as_echo "no" >&6; }
5500 for ac_prog in msgfmt
5502 # Extract the first word of "$ac_prog", so it can be a program name with args.
5503 set dummy $ac_prog; ac_word=$2
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5505 $as_echo_n "checking for $ac_word... " >&6; }
5506 if ${ac_cv_prog_MSGFMT+:} false; then :
5507 $as_echo_n "(cached) " >&6
5508 else
5509 if test -n "$MSGFMT"; then
5510 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5511 else
5512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5513 for as_dir in $PATH
5515 IFS=$as_save_IFS
5516 test -z "$as_dir" && as_dir=.
5517 for ac_exec_ext in '' $ac_executable_extensions; do
5518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5519 ac_cv_prog_MSGFMT="$ac_prog"
5520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5521 break 2
5523 done
5524 done
5525 IFS=$as_save_IFS
5529 MSGFMT=$ac_cv_prog_MSGFMT
5530 if test -n "$MSGFMT"; then
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5532 $as_echo "$MSGFMT" >&6; }
5533 else
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5535 $as_echo "no" >&6; }
5539 test -n "$MSGFMT" && break
5540 done
5541 test -n "$MSGFMT" || MSGFMT="false"
5543 if ${ac_tool_prefix+:} false; then :
5544 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5545 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5547 $as_echo_n "checking for $ac_word... " >&6; }
5548 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5549 $as_echo_n "(cached) " >&6
5550 else
5551 if test -n "$PKG_CONFIG"; then
5552 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5553 else
5554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5555 for as_dir in $PATH
5557 IFS=$as_save_IFS
5558 test -z "$as_dir" && as_dir=.
5559 for ac_exec_ext in '' $ac_executable_extensions; do
5560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5561 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5563 break 2
5565 done
5566 done
5567 IFS=$as_save_IFS
5571 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5572 if test -n "$PKG_CONFIG"; then
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5574 $as_echo "$PKG_CONFIG" >&6; }
5575 else
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5577 $as_echo "no" >&6; }
5582 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5583 if test "x$cross_compiling" = xyes; then :
5585 else
5586 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5587 # Extract the first word of "pkg-config", so it can be a program name with args.
5588 set dummy pkg-config; ac_word=$2
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5590 $as_echo_n "checking for $ac_word... " >&6; }
5591 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5592 $as_echo_n "(cached) " >&6
5593 else
5594 if test -n "$PKG_CONFIG"; then
5595 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5596 else
5597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5598 for as_dir in $PATH
5600 IFS=$as_save_IFS
5601 test -z "$as_dir" && as_dir=.
5602 for ac_exec_ext in '' $ac_executable_extensions; do
5603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5604 ac_cv_prog_PKG_CONFIG="pkg-config"
5605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5606 break 2
5608 done
5609 done
5610 IFS=$as_save_IFS
5614 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5615 if test -n "$PKG_CONFIG"; then
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5617 $as_echo "$PKG_CONFIG" >&6; }
5618 else
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5620 $as_echo "no" >&6; }
5625 else
5626 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5629 if test "x$enable_maintainer_mode" != "xyes"
5630 then
5631 FONTFORGE=""
5632 RSVG=""
5633 CONVERT=""
5634 ICOTOOL=""
5635 else
5636 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5637 for ac_prog in fontforge
5639 # Extract the first word of "$ac_prog", so it can be a program name with args.
5640 set dummy $ac_prog; ac_word=$2
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5642 $as_echo_n "checking for $ac_word... " >&6; }
5643 if ${ac_cv_prog_FONTFORGE+:} false; then :
5644 $as_echo_n "(cached) " >&6
5645 else
5646 if test -n "$FONTFORGE"; then
5647 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5648 else
5649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5650 for as_dir in $PATH
5652 IFS=$as_save_IFS
5653 test -z "$as_dir" && as_dir=.
5654 for ac_exec_ext in '' $ac_executable_extensions; do
5655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5656 ac_cv_prog_FONTFORGE="$ac_prog"
5657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5658 break 2
5660 done
5661 done
5662 IFS=$as_save_IFS
5666 FONTFORGE=$ac_cv_prog_FONTFORGE
5667 if test -n "$FONTFORGE"; then
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5669 $as_echo "$FONTFORGE" >&6; }
5670 else
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5672 $as_echo "no" >&6; }
5676 test -n "$FONTFORGE" && break
5677 done
5678 test -n "$FONTFORGE" || FONTFORGE="false"
5680 for ac_prog in rsvg
5682 # Extract the first word of "$ac_prog", so it can be a program name with args.
5683 set dummy $ac_prog; ac_word=$2
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5685 $as_echo_n "checking for $ac_word... " >&6; }
5686 if ${ac_cv_prog_RSVG+:} false; then :
5687 $as_echo_n "(cached) " >&6
5688 else
5689 if test -n "$RSVG"; then
5690 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5691 else
5692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5693 for as_dir in $PATH
5695 IFS=$as_save_IFS
5696 test -z "$as_dir" && as_dir=.
5697 for ac_exec_ext in '' $ac_executable_extensions; do
5698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5699 ac_cv_prog_RSVG="$ac_prog"
5700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5701 break 2
5703 done
5704 done
5705 IFS=$as_save_IFS
5709 RSVG=$ac_cv_prog_RSVG
5710 if test -n "$RSVG"; then
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5712 $as_echo "$RSVG" >&6; }
5713 else
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5719 test -n "$RSVG" && break
5720 done
5721 test -n "$RSVG" || RSVG="false"
5723 for ac_prog in convert
5725 # Extract the first word of "$ac_prog", so it can be a program name with args.
5726 set dummy $ac_prog; ac_word=$2
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5728 $as_echo_n "checking for $ac_word... " >&6; }
5729 if ${ac_cv_prog_CONVERT+:} false; then :
5730 $as_echo_n "(cached) " >&6
5731 else
5732 if test -n "$CONVERT"; then
5733 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5734 else
5735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5736 for as_dir in $PATH
5738 IFS=$as_save_IFS
5739 test -z "$as_dir" && as_dir=.
5740 for ac_exec_ext in '' $ac_executable_extensions; do
5741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5742 ac_cv_prog_CONVERT="$ac_prog"
5743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5744 break 2
5746 done
5747 done
5748 IFS=$as_save_IFS
5752 CONVERT=$ac_cv_prog_CONVERT
5753 if test -n "$CONVERT"; then
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5755 $as_echo "$CONVERT" >&6; }
5756 else
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5758 $as_echo "no" >&6; }
5762 test -n "$CONVERT" && break
5763 done
5764 test -n "$CONVERT" || CONVERT="false"
5766 for ac_prog in icotool
5768 # Extract the first word of "$ac_prog", so it can be a program name with args.
5769 set dummy $ac_prog; ac_word=$2
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5771 $as_echo_n "checking for $ac_word... " >&6; }
5772 if ${ac_cv_prog_ICOTOOL+:} false; then :
5773 $as_echo_n "(cached) " >&6
5774 else
5775 if test -n "$ICOTOOL"; then
5776 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5777 else
5778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5779 for as_dir in $PATH
5781 IFS=$as_save_IFS
5782 test -z "$as_dir" && as_dir=.
5783 for ac_exec_ext in '' $ac_executable_extensions; do
5784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5785 ac_cv_prog_ICOTOOL="$ac_prog"
5786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5787 break 2
5789 done
5790 done
5791 IFS=$as_save_IFS
5795 ICOTOOL=$ac_cv_prog_ICOTOOL
5796 if test -n "$ICOTOOL"; then
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5798 $as_echo "$ICOTOOL" >&6; }
5799 else
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5801 $as_echo "no" >&6; }
5805 test -n "$ICOTOOL" && break
5806 done
5807 test -n "$ICOTOOL" || ICOTOOL="false"
5809 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5810 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5812 if test "$CONVERT" = false
5813 then
5814 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5815 else
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5817 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5818 convert_version=`convert --version | head -n1`
5819 if test "x$convert_version" != "x"
5820 then
5821 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5822 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5823 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5824 then
5825 CONVERT=false
5828 if test "$CONVERT" = false
5829 then
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5831 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5832 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5833 else
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5835 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5839 if test "$ICOTOOL" = false
5840 then
5841 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5842 else
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5844 $as_echo_n "checking for recent enough icotool... " >&6; }
5845 icotool_version=`icotool --version | head -n1`
5846 if test "x$icotool_version" != "x"
5847 then
5848 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5849 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5850 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5851 then
5852 ICOTOOL=false
5853 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5856 if test "$ICOTOOL" = false
5857 then
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5859 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5860 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5861 else
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5863 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5867 with_gettext=yes
5868 with_gettextpo=yes
5869 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5872 test "x$with_gettext" != xno || MSGFMT=false
5873 if test "$MSGFMT" != "false"
5874 then
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5876 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5877 cat >conftest.po <<EOF
5878 # comment
5879 msgctxt "ctxt"
5880 msgid "id"
5881 msgstr "str"
5883 if $MSGFMT -o /dev/null conftest.po 2>&5
5884 then
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5886 $as_echo "yes" >&6; }
5887 else
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5889 $as_echo "no" >&6; }
5890 MSGFMT=false
5893 if test "$MSGFMT" = false; then :
5894 case "x$with_gettext" in
5895 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5896 xno) ;;
5897 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5898 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5899 esac
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5904 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5905 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5906 $as_echo_n "(cached) " >&6
5907 else
5908 ac_check_lib_save_LIBS=$LIBS
5909 LIBS="-li386 $LIBS"
5910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5911 /* end confdefs.h. */
5913 /* Override any GCC internal prototype to avoid an error.
5914 Use char because int might match the return type of a GCC
5915 builtin and then its argument prototype would still apply. */
5916 #ifdef __cplusplus
5917 extern "C"
5918 #endif
5919 char i386_set_ldt ();
5921 main ()
5923 return i386_set_ldt ();
5925 return 0;
5927 _ACEOF
5928 if ac_fn_c_try_link "$LINENO"; then :
5929 ac_cv_lib_i386_i386_set_ldt=yes
5930 else
5931 ac_cv_lib_i386_i386_set_ldt=no
5933 rm -f core conftest.err conftest.$ac_objext \
5934 conftest$ac_exeext conftest.$ac_ext
5935 LIBS=$ac_check_lib_save_LIBS
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5938 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5939 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5940 cat >>confdefs.h <<_ACEOF
5941 #define HAVE_LIBI386 1
5942 _ACEOF
5944 LIBS="-li386 $LIBS"
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5949 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5950 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5951 $as_echo_n "(cached) " >&6
5952 else
5953 ac_check_lib_save_LIBS=$LIBS
5954 LIBS="-lossaudio $LIBS"
5955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5956 /* end confdefs.h. */
5958 /* Override any GCC internal prototype to avoid an error.
5959 Use char because int might match the return type of a GCC
5960 builtin and then its argument prototype would still apply. */
5961 #ifdef __cplusplus
5962 extern "C"
5963 #endif
5964 char _oss_ioctl ();
5966 main ()
5968 return _oss_ioctl ();
5970 return 0;
5972 _ACEOF
5973 if ac_fn_c_try_link "$LINENO"; then :
5974 ac_cv_lib_ossaudio__oss_ioctl=yes
5975 else
5976 ac_cv_lib_ossaudio__oss_ioctl=no
5978 rm -f core conftest.err conftest.$ac_objext \
5979 conftest$ac_exeext conftest.$ac_ext
5980 LIBS=$ac_check_lib_save_LIBS
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5983 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5984 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5985 cat >>confdefs.h <<_ACEOF
5986 #define HAVE_LIBOSSAUDIO 1
5987 _ACEOF
5989 LIBS="-lossaudio $LIBS"
5994 OPENGL_LIBS=""
5998 # Check whether --enable-largefile was given.
5999 if test "${enable_largefile+set}" = set; then :
6000 enableval=$enable_largefile;
6003 if test "$enable_largefile" != no; then
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6006 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6007 if ${ac_cv_sys_largefile_CC+:} false; then :
6008 $as_echo_n "(cached) " >&6
6009 else
6010 ac_cv_sys_largefile_CC=no
6011 if test "$GCC" != yes; then
6012 ac_save_CC=$CC
6013 while :; do
6014 # IRIX 6.2 and later do not support large files by default,
6015 # so use the C compiler's -n32 option if that helps.
6016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6017 /* end confdefs.h. */
6018 #include <sys/types.h>
6019 /* Check that off_t can represent 2**63 - 1 correctly.
6020 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6021 since some C++ compilers masquerading as C compilers
6022 incorrectly reject 9223372036854775807. */
6023 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6024 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6025 && LARGE_OFF_T % 2147483647 == 1)
6026 ? 1 : -1];
6028 main ()
6032 return 0;
6034 _ACEOF
6035 if ac_fn_c_try_compile "$LINENO"; then :
6036 break
6038 rm -f core conftest.err conftest.$ac_objext
6039 CC="$CC -n32"
6040 if ac_fn_c_try_compile "$LINENO"; then :
6041 ac_cv_sys_largefile_CC=' -n32'; break
6043 rm -f core conftest.err conftest.$ac_objext
6044 break
6045 done
6046 CC=$ac_save_CC
6047 rm -f conftest.$ac_ext
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6051 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6052 if test "$ac_cv_sys_largefile_CC" != no; then
6053 CC=$CC$ac_cv_sys_largefile_CC
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6057 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6058 if ${ac_cv_sys_file_offset_bits+:} false; then :
6059 $as_echo_n "(cached) " >&6
6060 else
6061 while :; do
6062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6063 /* end confdefs.h. */
6064 #include <sys/types.h>
6065 /* Check that off_t can represent 2**63 - 1 correctly.
6066 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6067 since some C++ compilers masquerading as C compilers
6068 incorrectly reject 9223372036854775807. */
6069 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6070 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6071 && LARGE_OFF_T % 2147483647 == 1)
6072 ? 1 : -1];
6074 main ()
6078 return 0;
6080 _ACEOF
6081 if ac_fn_c_try_compile "$LINENO"; then :
6082 ac_cv_sys_file_offset_bits=no; break
6084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6086 /* end confdefs.h. */
6087 #define _FILE_OFFSET_BITS 64
6088 #include <sys/types.h>
6089 /* Check that off_t can represent 2**63 - 1 correctly.
6090 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6091 since some C++ compilers masquerading as C compilers
6092 incorrectly reject 9223372036854775807. */
6093 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6094 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6095 && LARGE_OFF_T % 2147483647 == 1)
6096 ? 1 : -1];
6098 main ()
6102 return 0;
6104 _ACEOF
6105 if ac_fn_c_try_compile "$LINENO"; then :
6106 ac_cv_sys_file_offset_bits=64; break
6108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6109 ac_cv_sys_file_offset_bits=unknown
6110 break
6111 done
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6114 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6115 case $ac_cv_sys_file_offset_bits in #(
6116 no | unknown) ;;
6118 cat >>confdefs.h <<_ACEOF
6119 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6120 _ACEOF
6122 esac
6123 rm -rf conftest*
6124 if test $ac_cv_sys_file_offset_bits = unknown; then
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6126 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6127 if ${ac_cv_sys_large_files+:} false; then :
6128 $as_echo_n "(cached) " >&6
6129 else
6130 while :; do
6131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6132 /* end confdefs.h. */
6133 #include <sys/types.h>
6134 /* Check that off_t can represent 2**63 - 1 correctly.
6135 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6136 since some C++ compilers masquerading as C compilers
6137 incorrectly reject 9223372036854775807. */
6138 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6139 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6140 && LARGE_OFF_T % 2147483647 == 1)
6141 ? 1 : -1];
6143 main ()
6147 return 0;
6149 _ACEOF
6150 if ac_fn_c_try_compile "$LINENO"; then :
6151 ac_cv_sys_large_files=no; break
6153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6155 /* end confdefs.h. */
6156 #define _LARGE_FILES 1
6157 #include <sys/types.h>
6158 /* Check that off_t can represent 2**63 - 1 correctly.
6159 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6160 since some C++ compilers masquerading as C compilers
6161 incorrectly reject 9223372036854775807. */
6162 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6163 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6164 && LARGE_OFF_T % 2147483647 == 1)
6165 ? 1 : -1];
6167 main ()
6171 return 0;
6173 _ACEOF
6174 if ac_fn_c_try_compile "$LINENO"; then :
6175 ac_cv_sys_large_files=1; break
6177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6178 ac_cv_sys_large_files=unknown
6179 break
6180 done
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6183 $as_echo "$ac_cv_sys_large_files" >&6; }
6184 case $ac_cv_sys_large_files in #(
6185 no | unknown) ;;
6187 cat >>confdefs.h <<_ACEOF
6188 #define _LARGE_FILES $ac_cv_sys_large_files
6189 _ACEOF
6191 esac
6192 rm -rf conftest*
6199 ac_ext=c
6200 ac_cpp='$CPP $CPPFLAGS'
6201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6205 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6206 # On Suns, sometimes $CPP names a directory.
6207 if test -n "$CPP" && test -d "$CPP"; then
6208 CPP=
6210 if test -z "$CPP"; then
6211 if ${ac_cv_prog_CPP+:} false; then :
6212 $as_echo_n "(cached) " >&6
6213 else
6214 # Double quotes because CPP needs to be expanded
6215 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6217 ac_preproc_ok=false
6218 for ac_c_preproc_warn_flag in '' yes
6220 # Use a header file that comes with gcc, so configuring glibc
6221 # with a fresh cross-compiler works.
6222 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6223 # <limits.h> exists even on freestanding compilers.
6224 # On the NeXT, cc -E runs the code through the compiler's parser,
6225 # not just through cpp. "Syntax error" is here to catch this case.
6226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6227 /* end confdefs.h. */
6228 #ifdef __STDC__
6229 # include <limits.h>
6230 #else
6231 # include <assert.h>
6232 #endif
6233 Syntax error
6234 _ACEOF
6235 if ac_fn_c_try_cpp "$LINENO"; then :
6237 else
6238 # Broken: fails on valid input.
6239 continue
6241 rm -f conftest.err conftest.i conftest.$ac_ext
6243 # OK, works on sane cases. Now check whether nonexistent headers
6244 # can be detected and how.
6245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6246 /* end confdefs.h. */
6247 #include <ac_nonexistent.h>
6248 _ACEOF
6249 if ac_fn_c_try_cpp "$LINENO"; then :
6250 # Broken: success on invalid input.
6251 continue
6252 else
6253 # Passes both tests.
6254 ac_preproc_ok=:
6255 break
6257 rm -f conftest.err conftest.i conftest.$ac_ext
6259 done
6260 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6261 rm -f conftest.i conftest.err conftest.$ac_ext
6262 if $ac_preproc_ok; then :
6263 break
6266 done
6267 ac_cv_prog_CPP=$CPP
6270 CPP=$ac_cv_prog_CPP
6271 else
6272 ac_cv_prog_CPP=$CPP
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6275 $as_echo "$CPP" >&6; }
6276 ac_preproc_ok=false
6277 for ac_c_preproc_warn_flag in '' yes
6279 # Use a header file that comes with gcc, so configuring glibc
6280 # with a fresh cross-compiler works.
6281 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6282 # <limits.h> exists even on freestanding compilers.
6283 # On the NeXT, cc -E runs the code through the compiler's parser,
6284 # not just through cpp. "Syntax error" is here to catch this case.
6285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6286 /* end confdefs.h. */
6287 #ifdef __STDC__
6288 # include <limits.h>
6289 #else
6290 # include <assert.h>
6291 #endif
6292 Syntax error
6293 _ACEOF
6294 if ac_fn_c_try_cpp "$LINENO"; then :
6296 else
6297 # Broken: fails on valid input.
6298 continue
6300 rm -f conftest.err conftest.i conftest.$ac_ext
6302 # OK, works on sane cases. Now check whether nonexistent headers
6303 # can be detected and how.
6304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6305 /* end confdefs.h. */
6306 #include <ac_nonexistent.h>
6307 _ACEOF
6308 if ac_fn_c_try_cpp "$LINENO"; then :
6309 # Broken: success on invalid input.
6310 continue
6311 else
6312 # Passes both tests.
6313 ac_preproc_ok=:
6314 break
6316 rm -f conftest.err conftest.i conftest.$ac_ext
6318 done
6319 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6320 rm -f conftest.i conftest.err conftest.$ac_ext
6321 if $ac_preproc_ok; then :
6323 else
6324 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6326 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6327 See \`config.log' for more details" "$LINENO" 5; }
6330 ac_ext=c
6331 ac_cpp='$CPP $CPPFLAGS'
6332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6338 $as_echo_n "checking for ANSI C header files... " >&6; }
6339 if ${ac_cv_header_stdc+:} false; then :
6340 $as_echo_n "(cached) " >&6
6341 else
6342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6343 /* end confdefs.h. */
6344 #include <stdlib.h>
6345 #include <stdarg.h>
6346 #include <string.h>
6347 #include <float.h>
6350 main ()
6354 return 0;
6356 _ACEOF
6357 if ac_fn_c_try_compile "$LINENO"; then :
6358 ac_cv_header_stdc=yes
6359 else
6360 ac_cv_header_stdc=no
6362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6364 if test $ac_cv_header_stdc = yes; then
6365 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6367 /* end confdefs.h. */
6368 #include <string.h>
6370 _ACEOF
6371 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6372 $EGREP "memchr" >/dev/null 2>&1; then :
6374 else
6375 ac_cv_header_stdc=no
6377 rm -f conftest*
6381 if test $ac_cv_header_stdc = yes; then
6382 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6384 /* end confdefs.h. */
6385 #include <stdlib.h>
6387 _ACEOF
6388 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6389 $EGREP "free" >/dev/null 2>&1; then :
6391 else
6392 ac_cv_header_stdc=no
6394 rm -f conftest*
6398 if test $ac_cv_header_stdc = yes; then
6399 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6400 if test "$cross_compiling" = yes; then :
6402 else
6403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6404 /* end confdefs.h. */
6405 #include <ctype.h>
6406 #include <stdlib.h>
6407 #if ((' ' & 0x0FF) == 0x020)
6408 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6409 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6410 #else
6411 # define ISLOWER(c) \
6412 (('a' <= (c) && (c) <= 'i') \
6413 || ('j' <= (c) && (c) <= 'r') \
6414 || ('s' <= (c) && (c) <= 'z'))
6415 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6416 #endif
6418 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6420 main ()
6422 int i;
6423 for (i = 0; i < 256; i++)
6424 if (XOR (islower (i), ISLOWER (i))
6425 || toupper (i) != TOUPPER (i))
6426 return 2;
6427 return 0;
6429 _ACEOF
6430 if ac_fn_c_try_run "$LINENO"; then :
6432 else
6433 ac_cv_header_stdc=no
6435 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6436 conftest.$ac_objext conftest.beam conftest.$ac_ext
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6442 $as_echo "$ac_cv_header_stdc" >&6; }
6443 if test $ac_cv_header_stdc = yes; then
6445 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6449 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6450 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6451 inttypes.h stdint.h unistd.h
6452 do :
6453 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6454 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6456 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6457 cat >>confdefs.h <<_ACEOF
6458 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6459 _ACEOF
6463 done
6466 for ac_header in \
6467 AL/al.h \
6468 ApplicationServices/ApplicationServices.h \
6469 AudioToolbox/AudioConverter.h \
6470 AudioUnit/AudioUnit.h \
6471 AudioUnit/AudioComponent.h \
6472 CL/cl.h \
6473 Carbon/Carbon.h \
6474 CoreAudio/CoreAudio.h \
6475 CoreServices/CoreServices.h \
6476 DiskArbitration/DiskArbitration.h \
6477 IOKit/IOKitLib.h \
6478 IOKit/hid/IOHIDLib.h \
6479 OpenAL/al.h \
6480 OpenCL/opencl.h \
6481 QuickTime/ImageCompression.h \
6482 Security/Security.h \
6483 alias.h \
6484 alsa/asoundlib.h \
6485 arpa/inet.h \
6486 arpa/nameser.h \
6487 asm/types.h \
6488 asm/user.h \
6489 curses.h \
6490 direct.h \
6491 dirent.h \
6492 dlfcn.h \
6493 elf.h \
6494 float.h \
6495 fnmatch.h \
6496 getopt.h \
6497 gettext-po.h \
6498 grp.h \
6499 gsm.h \
6500 gsm/gsm.h \
6501 ieeefp.h \
6502 inet/mib2.h \
6503 io.h \
6504 kstat.h \
6505 lber.h \
6506 ldap.h \
6507 libproc.h \
6508 link.h \
6509 linux/cdrom.h \
6510 linux/compiler.h \
6511 linux/filter.h \
6512 linux/hdreg.h \
6513 linux/input.h \
6514 linux/ioctl.h \
6515 linux/joystick.h \
6516 linux/major.h \
6517 linux/param.h \
6518 linux/serial.h \
6519 linux/types.h \
6520 linux/ucdrom.h \
6521 lwp.h \
6522 mach-o/nlist.h \
6523 mach-o/loader.h \
6524 mach/mach.h \
6525 mach/machine.h \
6526 machine/cpu.h \
6527 machine/limits.h \
6528 machine/sysarch.h \
6529 mntent.h \
6530 ncurses.h \
6531 netdb.h \
6532 netinet/in.h \
6533 netinet/in_systm.h \
6534 netinet/tcp.h \
6535 netinet/tcp_fsm.h \
6536 pcap/pcap.h \
6537 poll.h \
6538 port.h \
6539 process.h \
6540 pthread.h \
6541 pwd.h \
6542 sched.h \
6543 scsi/scsi.h \
6544 scsi/scsi_ioctl.h \
6545 scsi/sg.h \
6546 stdbool.h \
6547 stdint.h \
6548 stropts.h \
6549 sys/asoundlib.h \
6550 sys/attr.h \
6551 sys/cdio.h \
6552 sys/elf32.h \
6553 sys/epoll.h \
6554 sys/event.h \
6555 sys/exec_elf.h \
6556 sys/filio.h \
6557 sys/inotify.h \
6558 sys/ioctl.h \
6559 sys/ipc.h \
6560 sys/limits.h \
6561 sys/link.h \
6562 sys/mman.h \
6563 sys/modem.h \
6564 sys/msg.h \
6565 sys/mtio.h \
6566 sys/param.h \
6567 sys/poll.h \
6568 sys/prctl.h \
6569 sys/protosw.h \
6570 sys/ptrace.h \
6571 sys/queue.h \
6572 sys/resource.h \
6573 sys/scsiio.h \
6574 sys/shm.h \
6575 sys/signal.h \
6576 sys/socket.h \
6577 sys/socketvar.h \
6578 sys/sockio.h \
6579 sys/statvfs.h \
6580 sys/strtio.h \
6581 sys/syscall.h \
6582 sys/tihdr.h \
6583 sys/time.h \
6584 sys/timeout.h \
6585 sys/times.h \
6586 sys/uio.h \
6587 sys/user.h \
6588 sys/utsname.h \
6589 sys/vm86.h \
6590 sys/wait.h \
6591 syscall.h \
6592 termios.h \
6593 unistd.h \
6594 utime.h \
6595 valgrind/memcheck.h \
6596 valgrind/valgrind.h \
6597 zlib.h
6599 do :
6600 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6601 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6602 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6603 cat >>confdefs.h <<_ACEOF
6604 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6605 _ACEOF
6609 done
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6612 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6613 if ${ac_cv_header_stat_broken+:} false; then :
6614 $as_echo_n "(cached) " >&6
6615 else
6616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6617 /* end confdefs.h. */
6618 #include <sys/types.h>
6619 #include <sys/stat.h>
6621 #if defined S_ISBLK && defined S_IFDIR
6622 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6623 #endif
6625 #if defined S_ISBLK && defined S_IFCHR
6626 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6627 #endif
6629 #if defined S_ISLNK && defined S_IFREG
6630 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6631 #endif
6633 #if defined S_ISSOCK && defined S_IFREG
6634 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6635 #endif
6637 _ACEOF
6638 if ac_fn_c_try_compile "$LINENO"; then :
6639 ac_cv_header_stat_broken=no
6640 else
6641 ac_cv_header_stat_broken=yes
6643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6646 $as_echo "$ac_cv_header_stat_broken" >&6; }
6647 if test $ac_cv_header_stat_broken = yes; then
6649 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6655 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6656 do :
6657 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6658 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6659 #ifdef HAVE_SYS_PARAM_H
6660 # include <sys/param.h>
6661 #endif
6663 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6664 cat >>confdefs.h <<_ACEOF
6665 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6666 _ACEOF
6670 done
6673 for ac_header in \
6674 netinet/ip.h \
6675 net/if.h \
6676 net/if_arp.h \
6677 net/if_dl.h \
6678 net/if_types.h \
6679 net/route.h \
6680 netinet/if_ether.h \
6681 netinet/if_inarp.h \
6682 netinet/in_pcb.h \
6683 netinet/ip_icmp.h \
6684 netinet/ip_var.h \
6685 netinet/udp.h \
6686 netipx/ipx.h \
6687 sys/un.h \
6689 do :
6690 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6691 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6692 #ifdef HAVE_SYS_SOCKET_H
6693 # include <sys/socket.h>
6694 #endif
6695 #ifdef HAVE_SYS_SOCKETVAR_H
6696 # include <sys/socketvar.h>
6697 #endif
6698 #ifdef HAVE_NET_ROUTE_H
6699 # include <net/route.h>
6700 #endif
6701 #ifdef HAVE_NETINET_IN_H
6702 # include <netinet/in.h>
6703 #endif
6704 #ifdef HAVE_NETINET_IN_SYSTM_H
6705 # include <netinet/in_systm.h>
6706 #endif
6707 #ifdef HAVE_NET_IF_H
6708 # include <net/if.h>
6709 #endif
6710 #ifdef HAVE_NETINET_IP_H
6711 # include <netinet/ip.h>
6712 #endif
6714 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6715 cat >>confdefs.h <<_ACEOF
6716 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6717 _ACEOF
6721 done
6724 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6725 do :
6726 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6727 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6728 #ifdef HAVE_ALIAS_H
6729 # include <alias.h>
6730 #endif
6731 #ifdef HAVE_SYS_SOCKET_H
6732 # include <sys/socket.h>
6733 #endif
6734 #ifdef HAVE_SYS_SOCKETVAR_H
6735 # include <sys/socketvar.h>
6736 #endif
6737 #ifdef HAVE_SYS_TIMEOUT_H
6738 # include <sys/timeout.h>
6739 #endif
6740 #ifdef HAVE_NETINET_IN_H
6741 # include <netinet/in.h>
6742 #endif
6743 #ifdef HAVE_NETINET_IN_SYSTM_H
6744 # include <netinet/in_systm.h>
6745 #endif
6746 #ifdef HAVE_NETINET_IP_H
6747 # include <netinet/ip.h>
6748 #endif
6749 #ifdef HAVE_NETINET_IP_VAR_H
6750 # include <netinet/ip_var.h>
6751 #endif
6752 #ifdef HAVE_NETINET_IP_ICMP_H
6753 # include <netinet/ip_icmp.h>
6754 #endif
6755 #ifdef HAVE_NETINET_UDP_H
6756 # include <netinet/udp.h>
6757 #endif
6758 #ifdef HAVE_NETINET_TCP_H
6759 # include <netinet/tcp.h>
6760 #endif
6761 #ifdef HAVE_NETINET_TCP_TIMER_H
6762 #include <netinet/tcp_timer.h>
6763 #endif
6765 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6766 cat >>confdefs.h <<_ACEOF
6767 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6768 _ACEOF
6772 done
6775 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6776 do :
6777 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6778 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6779 #ifdef HAVE_ASM_TYPES_H
6780 # include <asm/types.h>
6781 #endif
6782 #ifdef HAVE_SYS_SOCKET_H
6783 # include <sys/socket.h>
6784 #endif
6785 #ifdef HAVE_LINUX_TYPES_H
6786 # include <linux/types.h>
6787 #endif
6789 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6790 cat >>confdefs.h <<_ACEOF
6791 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6792 _ACEOF
6796 done
6799 for ac_header in mach-o/dyld_images.h
6800 do :
6801 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6802 # include <stdbool.h>
6803 #endif
6804 #ifdef HAVE_STDINT_H
6805 # include <stdint.h>
6806 #endif
6808 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6809 cat >>confdefs.h <<_ACEOF
6810 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6811 _ACEOF
6815 done
6818 for ac_header in resolv.h
6819 do :
6820 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6821 #ifdef HAVE_SYS_SOCKET_H
6822 # include <sys/socket.h>
6823 #endif
6824 #ifdef HAVE_NETINET_IN_H
6825 # include <netinet/in.h>
6826 #endif
6827 #ifdef HAVE_ARPA_NAMESER_H
6828 # include <arpa/nameser.h>
6829 #endif
6831 if test "x$ac_cv_header_resolv_h" = xyes; then :
6832 cat >>confdefs.h <<_ACEOF
6833 #define HAVE_RESOLV_H 1
6834 _ACEOF
6838 done
6841 for ac_header in ifaddrs.h
6842 do :
6843 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6845 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6846 cat >>confdefs.h <<_ACEOF
6847 #define HAVE_IFADDRS_H 1
6848 _ACEOF
6852 done
6855 for ac_header in sys/ucontext.h
6856 do :
6857 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6859 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6860 cat >>confdefs.h <<_ACEOF
6861 #define HAVE_SYS_UCONTEXT_H 1
6862 _ACEOF
6866 done
6869 for ac_header in sys/thr.h
6870 do :
6871 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6872 #ifdef HAVE_SYS_UCONTEXT_H
6873 #include <sys/ucontext.h>
6874 #endif
6876 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6877 cat >>confdefs.h <<_ACEOF
6878 #define HAVE_SYS_THR_H 1
6879 _ACEOF
6883 done
6886 for ac_header in pthread_np.h
6887 do :
6888 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6889 #include <pthread.h>
6890 #endif
6892 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6893 cat >>confdefs.h <<_ACEOF
6894 #define HAVE_PTHREAD_NP_H 1
6895 _ACEOF
6899 done
6902 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6903 do :
6904 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6905 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6906 #include <sys/time.h>
6907 #endif
6908 #include <sys/types.h>
6909 #ifdef HAVE_ASM_TYPES_H
6910 #include <asm/types.h>
6911 #endif
6913 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6914 cat >>confdefs.h <<_ACEOF
6915 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6916 _ACEOF
6920 done
6923 for ac_header in libprocstat.h
6924 do :
6925 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6926 #include <sys/param.h>
6927 #endif
6928 #ifdef HAVE_SYS_QUEUE_H
6929 #include <sys/queue.h>
6930 #endif
6931 #ifdef HAVE_SYS_SOCKET_H
6932 #include <sys/socket.h>
6933 #endif
6935 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6936 cat >>confdefs.h <<_ACEOF
6937 #define HAVE_LIBPROCSTAT_H 1
6938 _ACEOF
6942 done
6946 dlldir="\${libdir}/wine"
6948 DLLPREFIX=""
6950 DLLFLAGS="-D_REENTRANT"
6952 LDRPATH_INSTALL=""
6954 LDRPATH_LOCAL=""
6956 LIBEXT="so"
6957 DLLEXT=".so"
6958 IMPLIBEXT="def"
6959 STATIC_IMPLIBEXT="def.a"
6960 # Extract the first word of "ldd", so it can be a program name with args.
6961 set dummy ldd; ac_word=$2
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6963 $as_echo_n "checking for $ac_word... " >&6; }
6964 if ${ac_cv_path_LDD+:} false; then :
6965 $as_echo_n "(cached) " >&6
6966 else
6967 case $LDD in
6968 [\\/]* | ?:[\\/]*)
6969 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6973 as_dummy="/sbin:/usr/sbin:$PATH"
6974 for as_dir in $as_dummy
6976 IFS=$as_save_IFS
6977 test -z "$as_dir" && as_dir=.
6978 for ac_exec_ext in '' $ac_executable_extensions; do
6979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6980 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6982 break 2
6984 done
6985 done
6986 IFS=$as_save_IFS
6988 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6990 esac
6992 LDD=$ac_cv_path_LDD
6993 if test -n "$LDD"; then
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6995 $as_echo "$LDD" >&6; }
6996 else
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6998 $as_echo "no" >&6; }
7002 if test -n "$ac_tool_prefix"; then
7003 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7004 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7006 $as_echo_n "checking for $ac_word... " >&6; }
7007 if ${ac_cv_prog_READELF+:} false; then :
7008 $as_echo_n "(cached) " >&6
7009 else
7010 if test -n "$READELF"; then
7011 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7012 else
7013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7014 for as_dir in $PATH
7016 IFS=$as_save_IFS
7017 test -z "$as_dir" && as_dir=.
7018 for ac_exec_ext in '' $ac_executable_extensions; do
7019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7020 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7022 break 2
7024 done
7025 done
7026 IFS=$as_save_IFS
7030 READELF=$ac_cv_prog_READELF
7031 if test -n "$READELF"; then
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7033 $as_echo "$READELF" >&6; }
7034 else
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7036 $as_echo "no" >&6; }
7041 if test -z "$ac_cv_prog_READELF"; then
7042 ac_ct_READELF=$READELF
7043 # Extract the first word of "readelf", so it can be a program name with args.
7044 set dummy readelf; ac_word=$2
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7046 $as_echo_n "checking for $ac_word... " >&6; }
7047 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7048 $as_echo_n "(cached) " >&6
7049 else
7050 if test -n "$ac_ct_READELF"; then
7051 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7052 else
7053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7054 for as_dir in $PATH
7056 IFS=$as_save_IFS
7057 test -z "$as_dir" && as_dir=.
7058 for ac_exec_ext in '' $ac_executable_extensions; do
7059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7060 ac_cv_prog_ac_ct_READELF="readelf"
7061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7062 break 2
7064 done
7065 done
7066 IFS=$as_save_IFS
7070 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7071 if test -n "$ac_ct_READELF"; then
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7073 $as_echo "$ac_ct_READELF" >&6; }
7074 else
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7076 $as_echo "no" >&6; }
7079 if test "x$ac_ct_READELF" = x; then
7080 READELF="true"
7081 else
7082 case $cross_compiling:$ac_tool_warned in
7083 yes:)
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7086 ac_tool_warned=yes ;;
7087 esac
7088 READELF=$ac_ct_READELF
7090 else
7091 READELF="$ac_cv_prog_READELF"
7094 wine_rules_file=conf$$rules.make
7095 rm -f $wine_rules_file
7096 ALL_POT_FILES=""
7097 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7098 ALL_TEST_RESOURCES=""
7101 wine_fn_append_file ()
7103 as_fn_append $1 " \\$as_nl $2"
7106 wine_fn_ignore_file ()
7108 case "$1" in
7109 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7110 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7111 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7112 esac
7115 wine_fn_append_rule ()
7117 $as_echo "$1" >>$wine_rules_file
7120 wine_fn_has_flag ()
7122 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7125 wine_fn_depend_rules ()
7127 wine_fn_append_rule \
7128 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7129 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7130 depend: $ac_dir/depend
7131 .PHONY: $ac_dir/depend
7132 $ac_dir/depend: \$(MAKEDEP) dummy
7133 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7136 wine_fn_pot_rules ()
7138 test "x$with_gettextpo" = xyes || return
7140 if wine_fn_has_flag mc
7141 then
7142 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7143 wine_fn_append_rule \
7144 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7145 @cd $ac_dir && \$(MAKE) msg.pot
7146 $ac_dir/msg.pot: tools/wmc include"
7148 if wine_fn_has_flag po
7149 then
7150 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7151 wine_fn_append_rule \
7152 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7153 @cd $ac_dir && \$(MAKE) rsrc.pot
7154 $ac_dir/rsrc.pot: tools/wrc include"
7158 wine_fn_all_rules ()
7160 wine_fn_depend_rules
7161 wine_fn_append_rule \
7162 "all: $ac_dir
7163 .PHONY: $ac_dir
7164 $ac_dir: $ac_dir/Makefile dummy
7165 @cd $ac_dir && \$(MAKE)"
7168 wine_fn_install_rules ()
7170 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7172 wine_fn_append_rule \
7173 ".PHONY: $ac_dir/install $ac_dir/uninstall
7174 $ac_dir/install:: $ac_dir
7175 @cd $ac_dir && \$(MAKE) install
7176 $ac_dir/uninstall:: $ac_dir/Makefile
7177 @cd $ac_dir && \$(MAKE) uninstall
7178 install:: $ac_dir/install
7179 __uninstall__: $ac_dir/uninstall"
7181 if wine_fn_has_flag install-lib
7182 then
7183 wine_fn_append_rule \
7184 ".PHONY: $ac_dir/install-lib
7185 $ac_dir/install-lib:: $ac_dir
7186 @cd $ac_dir && \$(MAKE) install-lib
7187 install-lib:: $ac_dir/install-lib"
7190 if wine_fn_has_flag install-dev
7191 then
7192 wine_fn_append_rule \
7193 ".PHONY: $ac_dir/install-dev
7194 $ac_dir/install-dev:: $ac_dir
7195 @cd $ac_dir && \$(MAKE) install-dev
7196 install-dev:: $ac_dir/install-dev"
7200 wine_fn_clean_rules ()
7202 ac_clean=$@
7203 ac_extraclean="$ac_dir/Makefile"
7204 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7205 case $ac_dir in
7206 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7207 esac
7209 if wine_fn_has_flag clean
7210 then
7211 wine_fn_append_rule \
7212 "__clean__: $ac_dir/clean
7213 .PHONY: $ac_dir/clean
7214 $ac_dir/clean: $ac_dir/Makefile
7215 @cd $ac_dir && \$(MAKE) clean
7216 \$(RM) $ac_extraclean"
7217 else
7218 wine_fn_append_rule \
7219 "__clean__: $ac_dir/clean
7220 .PHONY: $ac_dir/clean
7221 $ac_dir/clean: dummy
7222 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7226 wine_fn_disabled_rules ()
7228 ac_clean=$@
7229 ac_extraclean="$ac_dir/Makefile"
7230 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7232 wine_fn_append_rule \
7233 "__clean__: $ac_dir/clean
7234 .PHONY: $ac_dir/clean
7235 $ac_dir/clean: dummy
7236 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7239 wine_fn_config_makefile ()
7241 ac_dir=$1
7242 ac_enable=$2
7243 ac_flags=$3
7245 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7246 wine_fn_disabled_rules; return
7248 wine_fn_all_rules
7249 wine_fn_install_rules
7250 wine_fn_clean_rules
7253 wine_fn_config_lib ()
7255 ac_name=$1
7256 ac_flags=$2
7257 ac_dir=dlls/$ac_name
7258 ac_deps="include"
7260 if test "x$enable_tools" = xno; then :
7262 else
7263 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7265 wine_fn_all_rules
7266 wine_fn_clean_rules
7268 wine_fn_append_rule \
7269 ".PHONY: $ac_dir/install $ac_dir/uninstall
7270 $ac_dir/install:: $ac_dir
7271 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7272 $ac_dir/uninstall::
7273 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7274 install install-dev:: $ac_dir/install
7275 __uninstall__: $ac_dir/uninstall
7276 __builddeps__: $ac_dir
7277 $ac_dir: $ac_deps"
7280 wine_fn_config_dll ()
7282 ac_name=$1
7283 ac_dir=dlls/$ac_name
7284 ac_enable=$2
7285 ac_flags=$3
7286 ac_implib=${4:-$ac_name}
7287 ac_file=$ac_dir/lib$ac_implib
7288 ac_dll=$ac_name
7289 ac_deps="include"
7290 ac_implibflags=""
7292 if test "x$enable_tools" = xno; then :
7294 else
7295 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7297 case $ac_name in
7298 *16) ac_implibflags=" -m16" ;;
7299 *.*) ;;
7300 *) ac_dll=$ac_dll.dll ;;
7301 esac
7303 ac_clean=
7304 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7305 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7306 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7307 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7309 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7310 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7311 then
7312 wine_fn_depend_rules
7313 wine_fn_clean_rules $ac_clean
7314 else
7315 wine_fn_disabled_rules $ac_clean
7316 return
7318 else
7319 wine_fn_all_rules
7320 wine_fn_clean_rules $ac_clean
7321 wine_fn_append_rule \
7322 "$ac_dir: __builddeps__
7323 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7324 @cd $ac_dir && \$(MAKE) \$@
7325 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7326 install install-lib:: $ac_dir/install-lib
7327 __uninstall__: $ac_dir/uninstall"
7328 if test -n "$DLLEXT"
7329 then
7330 wine_fn_append_rule \
7331 "$ac_dir/install-lib:: $ac_dir
7332 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7333 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7334 $ac_dir/uninstall::
7335 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7336 else
7337 wine_fn_append_rule \
7338 "$ac_dir/install-lib:: $ac_dir
7339 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7340 $ac_dir/uninstall::
7341 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7344 wine_fn_pot_rules
7347 if wine_fn_has_flag staticimplib
7348 then
7349 wine_fn_append_rule \
7350 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7351 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7352 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7353 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7354 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7355 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7356 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7357 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7358 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7359 $ac_dir/uninstall::
7360 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7361 install install-dev:: $ac_dir/install-dev
7362 __uninstall__: $ac_dir/uninstall"
7364 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7365 then
7366 wine_fn_append_rule \
7367 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7368 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7369 $ac_dir/uninstall::
7370 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7373 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7374 then
7375 wine_fn_append_rule \
7376 "__builddeps__: $ac_file.cross.a
7377 $ac_file.cross.a: $ac_dir/Makefile dummy
7378 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7381 elif wine_fn_has_flag implib
7382 then
7383 wine_fn_append_rule \
7384 "__builddeps__: $ac_file.$IMPLIBEXT
7385 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7386 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7387 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7388 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7389 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7390 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7391 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7392 $ac_dir/uninstall::
7393 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7394 install install-dev:: $ac_dir/install-dev
7395 __uninstall__: $ac_dir/uninstall"
7396 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7397 then
7398 wine_fn_append_rule \
7399 "__builddeps__: $ac_file.cross.a
7400 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7401 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7404 if test "$ac_name" != "$ac_implib"
7405 then
7406 wine_fn_append_rule \
7407 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7408 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7409 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7410 clean::
7411 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7412 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7413 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7414 then
7415 wine_fn_append_rule \
7416 "__builddeps__: dlls/lib$ac_implib.cross.a
7417 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7418 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7419 clean::
7420 \$(RM) dlls/lib$ac_implib.cross.a"
7421 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7427 wine_fn_config_program ()
7429 ac_name=$1
7430 ac_dir=programs/$ac_name
7431 ac_enable=$2
7432 ac_flags=$3
7433 ac_program=$ac_name
7435 case $ac_name in
7436 *.*) ;;
7437 *) ac_program=$ac_program.exe ;;
7438 esac
7440 ac_clean=
7441 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7442 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7443 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7444 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7446 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7447 wine_fn_disabled_rules $ac_clean; return
7450 wine_fn_all_rules
7451 wine_fn_clean_rules $ac_clean
7452 wine_fn_append_rule "$ac_dir: __builddeps__"
7453 wine_fn_pot_rules
7455 wine_fn_has_flag install || return
7456 wine_fn_append_rule \
7457 ".PHONY: $ac_dir/install $ac_dir/uninstall
7458 install install-lib:: $ac_dir/install
7459 __uninstall__: $ac_dir/uninstall"
7461 if test -n "$DLLEXT"
7462 then
7463 wine_fn_append_rule \
7464 "$ac_dir/install:: $ac_dir
7465 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7466 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7467 $ac_dir/uninstall::
7468 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7470 if test -z "$with_wine64" && wine_fn_has_flag installbin
7471 then
7472 wine_fn_append_rule \
7473 "$ac_dir/install:: __tooldeps__
7474 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7475 $ac_dir/uninstall::
7476 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7478 else
7479 wine_fn_append_rule \
7480 "$ac_dir/install:: $ac_dir
7481 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7482 $ac_dir/uninstall::
7483 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7486 if test -z "$with_wine64" && wine_fn_has_flag manpage
7487 then
7488 wine_fn_append_rule \
7489 "$ac_dir/install:: $ac_dir
7490 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7491 $ac_dir/uninstall::
7492 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7496 wine_fn_config_test ()
7498 ac_dir=$1
7499 ac_name=$2
7500 ac_flags=$3
7502 ac_clean=
7503 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7504 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7506 if test "x$enable_tests" = xno; then :
7507 wine_fn_disabled_rules $ac_clean; return
7510 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7511 wine_fn_all_rules
7512 wine_fn_clean_rules $ac_clean
7514 wine_fn_append_rule \
7515 "$ac_dir: programs/winetest/Makefile __builddeps__
7516 programs/winetest: $ac_dir
7517 check test: $ac_dir/test
7518 .PHONY: $ac_dir/test
7519 $ac_dir/test: dummy
7520 @cd $ac_dir && \$(MAKE) test
7521 testclean::
7522 \$(RM) $ac_dir/*.ok"
7524 if test -n "$CROSSTARGET"
7525 then
7526 wine_fn_append_rule \
7527 "crosstest: $ac_dir/crosstest
7528 .PHONY: $ac_dir/crosstest
7529 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7530 @cd $ac_dir && \$(MAKE) crosstest"
7534 wine_fn_config_tool ()
7536 ac_dir=$1
7537 ac_flags=$2
7538 if test "x$enable_tools" = xno; then :
7539 return
7542 wine_fn_all_rules
7543 wine_fn_install_rules
7544 wine_fn_clean_rules
7546 wine_fn_append_rule "__tooldeps__: $ac_dir"
7547 wine_fn_append_rule "$ac_dir: libs/port"
7548 case $ac_dir in
7549 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7550 esac
7553 wine_fn_config_symlink ()
7555 ac_linkdir=
7556 if test "x$1" = "x-d"
7557 then
7558 ac_linkdir=$2
7559 shift; shift
7561 ac_links=$@
7562 wine_fn_append_rule \
7563 "$ac_links:
7564 @./config.status \$@
7565 distclean::
7566 \$(RM) $ac_links"
7567 for f in $ac_links; do wine_fn_ignore_file $f; done
7568 test -n "$ac_linkdir" || return
7569 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7572 wine_binary="wine"
7573 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7574 loader_programs="$wine_binary wine-installed"
7575 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7577 LOADER_RULES="
7578 all: wine.inf
7580 install install-lib:: wine-installed
7581 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7583 uninstall::
7584 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7588 case $host_os in
7589 cygwin*|mingw32*)
7590 if test -n "$ac_tool_prefix"; then
7591 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7592 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7594 $as_echo_n "checking for $ac_word... " >&6; }
7595 if ${ac_cv_prog_DLLTOOL+:} false; then :
7596 $as_echo_n "(cached) " >&6
7597 else
7598 if test -n "$DLLTOOL"; then
7599 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7600 else
7601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7602 for as_dir in $PATH
7604 IFS=$as_save_IFS
7605 test -z "$as_dir" && as_dir=.
7606 for ac_exec_ext in '' $ac_executable_extensions; do
7607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7608 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7610 break 2
7612 done
7613 done
7614 IFS=$as_save_IFS
7618 DLLTOOL=$ac_cv_prog_DLLTOOL
7619 if test -n "$DLLTOOL"; then
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7621 $as_echo "$DLLTOOL" >&6; }
7622 else
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7624 $as_echo "no" >&6; }
7629 if test -z "$ac_cv_prog_DLLTOOL"; then
7630 ac_ct_DLLTOOL=$DLLTOOL
7631 # Extract the first word of "dlltool", so it can be a program name with args.
7632 set dummy dlltool; ac_word=$2
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7634 $as_echo_n "checking for $ac_word... " >&6; }
7635 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7636 $as_echo_n "(cached) " >&6
7637 else
7638 if test -n "$ac_ct_DLLTOOL"; then
7639 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7640 else
7641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7642 for as_dir in $PATH
7644 IFS=$as_save_IFS
7645 test -z "$as_dir" && as_dir=.
7646 for ac_exec_ext in '' $ac_executable_extensions; do
7647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7648 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7650 break 2
7652 done
7653 done
7654 IFS=$as_save_IFS
7658 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7659 if test -n "$ac_ct_DLLTOOL"; then
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7661 $as_echo "$ac_ct_DLLTOOL" >&6; }
7662 else
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7664 $as_echo "no" >&6; }
7667 if test "x$ac_ct_DLLTOOL" = x; then
7668 DLLTOOL="false"
7669 else
7670 case $cross_compiling:$ac_tool_warned in
7671 yes:)
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7674 ac_tool_warned=yes ;;
7675 esac
7676 DLLTOOL=$ac_ct_DLLTOOL
7678 else
7679 DLLTOOL="$ac_cv_prog_DLLTOOL"
7682 LIBEXT="dll"
7683 DLLEXT=""
7684 IMPLIBEXT="a"
7685 STATIC_IMPLIBEXT="a"
7686 enable_iphlpapi=${enable_iphlpapi:-no}
7687 enable_kernel32=${enable_kernel32:-no}
7688 enable_msvcrt=${enable_msvcrt:-no}
7689 enable_ntdll=${enable_ntdll:-no}
7690 enable_ws2_32=${enable_ws2_32:-no}
7691 enable_loader=${enable_loader:-no}
7692 enable_server=${enable_server:-no}
7693 with_x=${with_x:-no}
7694 with_pthread=${with_pthread:-no}
7696 crtlibs=""
7697 case $host_os in
7698 mingw32*)
7699 crtlibs="-lmsvcrt"
7700 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7702 esac
7704 libwine_targets="libwine.dll libwine.a"
7705 LIBWINE_RULES="
7706 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7708 all: libwine.dll libwine.a
7710 libwine.a: \$(srcdir)/wine.def
7711 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7713 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7714 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7716 install install-lib:: libwine.dll
7717 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7719 install install-dev:: libwine.a
7720 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7722 uninstall::
7723 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7728 darwin*|macosx*)
7729 LIBEXT="dylib"
7730 DLLFLAGS="$DLLFLAGS -fPIC"
7731 LIBWINE_LDFLAGS="-multiply_defined suppress"
7732 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7733 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7734 COREFOUNDATION_LIBS="-framework CoreFoundation"
7736 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7738 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7740 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7742 CORESERVICES_LIBS="-framework CoreServices"
7744 APPKIT_LIBS="-framework AppKit"
7746 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7748 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7749 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7750 $as_echo_n "(cached) " >&6
7751 else
7752 ac_wine_try_cflags_saved=$CFLAGS
7753 CFLAGS="$CFLAGS -Wl,-no_pie"
7754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7755 /* end confdefs.h. */
7756 int main(int argc, char **argv) { return 0; }
7757 _ACEOF
7758 if ac_fn_c_try_link "$LINENO"; then :
7759 ac_cv_cflags__Wl__no_pie=yes
7760 else
7761 ac_cv_cflags__Wl__no_pie=no
7763 rm -f core conftest.err conftest.$ac_objext \
7764 conftest$ac_exeext conftest.$ac_ext
7765 CFLAGS=$ac_wine_try_cflags_saved
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7768 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7769 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7770 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7772 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7773 then
7774 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7777 if test "$ac_cv_header_Security_Security_h" = "yes"
7778 then
7779 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7781 ac_save_LIBS="$LIBS"
7782 LIBS="$LIBS $SECURITY_LIBS"
7783 for ac_func in SSLCopyPeerCertificates
7784 do :
7785 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7786 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7787 cat >>confdefs.h <<_ACEOF
7788 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7789 _ACEOF
7792 done
7794 LIBS="$ac_save_LIBS"
7795 with_gnutls=${with_gnutls:-no}
7797 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7798 then
7799 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7800 then
7801 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7803 else
7804 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7807 ac_save_LIBS="$LIBS"
7808 LIBS="$LIBS $COREAUDIO_LIBS"
7809 for ac_func in AUGraphAddNode
7810 do :
7811 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7812 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7813 cat >>confdefs.h <<_ACEOF
7814 #define HAVE_AUGRAPHADDNODE 1
7815 _ACEOF
7818 done
7820 LIBS="$ac_save_LIBS"
7822 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7823 then
7824 OPENAL_LIBS="-framework OpenAL"
7827 cat >>confdefs.h <<_ACEOF
7828 #define HAVE_OPENAL 1
7829 _ACEOF
7831 ac_cv_lib_openal=yes
7833 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7834 then
7835 OPENCL_LIBS="-framework OpenCL"
7837 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7839 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7840 then
7841 ac_save_LIBS="$LIBS"
7842 LIBS="$LIBS $IOKIT_LIBS"
7843 for ac_func in IOHIDManagerCreate
7844 do :
7845 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7846 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7847 cat >>confdefs.h <<_ACEOF
7848 #define HAVE_IOHIDMANAGERCREATE 1
7849 _ACEOF
7852 done
7854 LIBS="$ac_save_LIBS"
7856 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7857 then
7858 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7860 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7861 else
7862 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7864 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7865 then
7866 CARBON_LIBS="-framework Carbon"
7870 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7871 then
7872 ac_save_LIBS="$LIBS"
7873 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7874 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7875 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7876 enable_winemac_drv=${enable_winemac_drv:-yes}
7879 LIBS="$ac_save_LIBS"
7882 if test "x$enable_win16" = "xyes"
7883 then
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7885 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7886 if test "$cross_compiling" = yes; then :
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7888 $as_echo "cross-compiling, assuming yes" >&6; }
7889 else
7890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7891 /* end confdefs.h. */
7892 asm(".text\n"
7893 "bad:\tnop;nop\n"
7894 "good:\tnop;nop\n\t"
7895 ".globl _testfunc\n"
7896 "_testfunc:\tcallw good");
7897 extern void testfunc();
7899 main ()
7901 unsigned short *p = (unsigned short *)testfunc;
7902 return p[0] != 0xe866 || p[1] != 0xfffa
7904 return 0;
7906 _ACEOF
7907 if ac_fn_c_try_run "$LINENO"; then :
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7909 $as_echo "yes" >&6; }
7910 else
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7912 $as_echo "no" >&6; }
7913 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
7915 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7916 conftest.$ac_objext conftest.beam conftest.$ac_ext
7921 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7922 LIBWINE_RULES="
7923 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7925 all: libwine.dylib
7927 libwine.$libwine_version.dylib: \$(OBJS)
7928 \$(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 \$@
7930 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7931 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7933 libwine.dylib: libwine.$libwine_soversion.dylib
7934 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7936 install install-lib:: libwine.$libwine_version.dylib
7937 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7938 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7940 install install-dev::
7941 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7943 uninstall::
7944 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7948 as_fn_append LOADER_RULES "
7949 $wine_binary: main.o wine_info.plist
7950 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7952 wine-installed: main.o wine_info.plist
7953 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7957 linux-android*)
7958 DLLFLAGS="$DLLFLAGS -fPIC"
7959 DLLPREFIX="lib"
7960 LDEXECFLAGS=""
7961 dlldir="\${libdir}"
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7963 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7964 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7965 $as_echo_n "(cached) " >&6
7966 else
7967 ac_wine_try_cflags_saved=$CFLAGS
7968 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7970 /* end confdefs.h. */
7971 int main(int argc, char **argv) { return 0; }
7972 _ACEOF
7973 if ac_fn_c_try_link "$LINENO"; then :
7974 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7975 else
7976 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7978 rm -f core conftest.err conftest.$ac_objext \
7979 conftest$ac_exeext conftest.$ac_ext
7980 CFLAGS=$ac_wine_try_cflags_saved
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7983 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7984 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7985 LDEXECFLAGS="-Wl,--export-dynamic"
7987 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7989 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7990 if eval \${$as_ac_var+:} false; then :
7991 $as_echo_n "(cached) " >&6
7992 else
7993 ac_wine_try_cflags_saved=$CFLAGS
7994 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7996 /* end confdefs.h. */
7997 int main(int argc, char **argv) { return 0; }
7998 _ACEOF
7999 if ac_fn_c_try_link "$LINENO"; then :
8000 eval "$as_ac_var=yes"
8001 else
8002 eval "$as_ac_var=no"
8004 rm -f core conftest.err conftest.$ac_objext \
8005 conftest$ac_exeext conftest.$ac_ext
8006 CFLAGS=$ac_wine_try_cflags_saved
8008 eval ac_res=\$$as_ac_var
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8010 $as_echo "$ac_res" >&6; }
8011 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8012 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8013 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8014 else
8015 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8017 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8018 if eval \${$as_ac_var+:} false; then :
8019 $as_echo_n "(cached) " >&6
8020 else
8021 ac_wine_try_cflags_saved=$CFLAGS
8022 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8024 /* end confdefs.h. */
8025 int main(int argc, char **argv) { return 0; }
8026 _ACEOF
8027 if ac_fn_c_try_link "$LINENO"; then :
8028 eval "$as_ac_var=yes"
8029 else
8030 eval "$as_ac_var=no"
8032 rm -f core conftest.err conftest.$ac_objext \
8033 conftest$ac_exeext conftest.$ac_ext
8034 CFLAGS=$ac_wine_try_cflags_saved
8036 eval ac_res=\$$as_ac_var
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8038 $as_echo "$ac_res" >&6; }
8039 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8040 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8041 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8046 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8047 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8048 $as_echo_n "(cached) " >&6
8049 else
8050 ac_wine_try_cflags_saved=$CFLAGS
8051 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8053 /* end confdefs.h. */
8054 int main(int argc, char **argv) { return 0; }
8055 _ACEOF
8056 if ac_fn_c_try_link "$LINENO"; then :
8057 ac_cv_cflags__Wl___enable_new_dtags=yes
8058 else
8059 ac_cv_cflags__Wl___enable_new_dtags=no
8061 rm -f core conftest.err conftest.$ac_objext \
8062 conftest$ac_exeext conftest.$ac_ext
8063 CFLAGS=$ac_wine_try_cflags_saved
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8066 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8067 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8068 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8071 case $host_cpu in
8072 *i[3456789]86* | x86_64)
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8074 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8075 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8076 $as_echo_n "(cached) " >&6
8077 else
8078 ac_wine_try_cflags_saved=$CFLAGS
8079 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8081 /* end confdefs.h. */
8082 int main(int argc, char **argv) { return 0; }
8083 _ACEOF
8084 if ac_fn_c_try_link "$LINENO"; then :
8085 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8086 else
8087 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8089 rm -f core conftest.err conftest.$ac_objext \
8090 conftest$ac_exeext conftest.$ac_ext
8091 CFLAGS=$ac_wine_try_cflags_saved
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8094 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8095 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8096 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8099 esac
8101 libwine_targets="libwine.so"
8102 LIBWINE_RULES="
8103 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8105 all: libwine.so
8107 libwine.so: \$(OBJS)
8108 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8110 install install-lib:: libwine.so
8111 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8113 uninstall::
8114 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8118 as_fn_append LOADER_RULES "
8119 $wine_binary: main.o
8120 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8122 wine-installed: main.o
8123 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8128 DLLFLAGS="$DLLFLAGS -fPIC"
8129 LDEXECFLAGS=""
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8131 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8132 if ${ac_cv_c_dll_gnuelf+:} false; then :
8133 $as_echo_n "(cached) " >&6
8134 else
8135 ac_wine_try_cflags_saved=$CFLAGS
8136 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8138 /* end confdefs.h. */
8139 void myfunc() {}
8140 _ACEOF
8141 if ac_fn_c_try_link "$LINENO"; then :
8142 ac_cv_c_dll_gnuelf="yes"
8143 else
8144 ac_cv_c_dll_gnuelf="no"
8146 rm -f core conftest.err conftest.$ac_objext \
8147 conftest$ac_exeext conftest.$ac_ext
8148 CFLAGS=$ac_wine_try_cflags_saved
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8151 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8152 if test "$ac_cv_c_dll_gnuelf" = "yes"
8153 then
8154 LDSHARED="\$(CC) -shared"
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8156 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8157 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8158 $as_echo_n "(cached) " >&6
8159 else
8160 ac_wine_try_cflags_saved=$CFLAGS
8161 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8163 /* end confdefs.h. */
8164 int main(int argc, char **argv) { return 0; }
8165 _ACEOF
8166 if ac_fn_c_try_link "$LINENO"; then :
8167 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8168 else
8169 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8171 rm -f core conftest.err conftest.$ac_objext \
8172 conftest$ac_exeext conftest.$ac_ext
8173 CFLAGS=$ac_wine_try_cflags_saved
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8176 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8177 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8178 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8179 else
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8181 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8182 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8183 $as_echo_n "(cached) " >&6
8184 else
8185 ac_wine_try_cflags_saved=$CFLAGS
8186 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8188 /* end confdefs.h. */
8189 int main(int argc, char **argv) { return 0; }
8190 _ACEOF
8191 if ac_fn_c_try_link "$LINENO"; then :
8192 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8193 else
8194 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8196 rm -f core conftest.err conftest.$ac_objext \
8197 conftest$ac_exeext conftest.$ac_ext
8198 CFLAGS=$ac_wine_try_cflags_saved
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8201 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8202 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8203 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8207 echo '{ global: *; };' >conftest.map
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8209 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8210 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8211 $as_echo_n "(cached) " >&6
8212 else
8213 ac_wine_try_cflags_saved=$CFLAGS
8214 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8216 /* end confdefs.h. */
8217 int main(int argc, char **argv) { return 0; }
8218 _ACEOF
8219 if ac_fn_c_try_link "$LINENO"; then :
8220 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8221 else
8222 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8224 rm -f core conftest.err conftest.$ac_objext \
8225 conftest$ac_exeext conftest.$ac_ext
8226 CFLAGS=$ac_wine_try_cflags_saved
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8229 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8230 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8231 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8233 rm -f conftest.map
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8236 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8237 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8238 $as_echo_n "(cached) " >&6
8239 else
8240 ac_wine_try_cflags_saved=$CFLAGS
8241 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8243 /* end confdefs.h. */
8244 int main(int argc, char **argv) { return 0; }
8245 _ACEOF
8246 if ac_fn_c_try_link "$LINENO"; then :
8247 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8248 else
8249 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8251 rm -f core conftest.err conftest.$ac_objext \
8252 conftest$ac_exeext conftest.$ac_ext
8253 CFLAGS=$ac_wine_try_cflags_saved
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8256 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8257 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8258 LDEXECFLAGS="-Wl,--export-dynamic"
8261 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8263 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8264 if eval \${$as_ac_var+:} false; then :
8265 $as_echo_n "(cached) " >&6
8266 else
8267 ac_wine_try_cflags_saved=$CFLAGS
8268 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8270 /* end confdefs.h. */
8271 int main(int argc, char **argv) { return 0; }
8272 _ACEOF
8273 if ac_fn_c_try_link "$LINENO"; then :
8274 eval "$as_ac_var=yes"
8275 else
8276 eval "$as_ac_var=no"
8278 rm -f core conftest.err conftest.$ac_objext \
8279 conftest$ac_exeext conftest.$ac_ext
8280 CFLAGS=$ac_wine_try_cflags_saved
8282 eval ac_res=\$$as_ac_var
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8284 $as_echo "$ac_res" >&6; }
8285 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8286 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8287 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8288 else
8289 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8291 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8292 if eval \${$as_ac_var+:} false; then :
8293 $as_echo_n "(cached) " >&6
8294 else
8295 ac_wine_try_cflags_saved=$CFLAGS
8296 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8298 /* end confdefs.h. */
8299 int main(int argc, char **argv) { return 0; }
8300 _ACEOF
8301 if ac_fn_c_try_link "$LINENO"; then :
8302 eval "$as_ac_var=yes"
8303 else
8304 eval "$as_ac_var=no"
8306 rm -f core conftest.err conftest.$ac_objext \
8307 conftest$ac_exeext conftest.$ac_ext
8308 CFLAGS=$ac_wine_try_cflags_saved
8310 eval ac_res=\$$as_ac_var
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8312 $as_echo "$ac_res" >&6; }
8313 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8314 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8315 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8320 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8321 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8322 $as_echo_n "(cached) " >&6
8323 else
8324 ac_wine_try_cflags_saved=$CFLAGS
8325 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8327 /* end confdefs.h. */
8328 int main(int argc, char **argv) { return 0; }
8329 _ACEOF
8330 if ac_fn_c_try_link "$LINENO"; then :
8331 ac_cv_cflags__Wl___enable_new_dtags=yes
8332 else
8333 ac_cv_cflags__Wl___enable_new_dtags=no
8335 rm -f core conftest.err conftest.$ac_objext \
8336 conftest$ac_exeext conftest.$ac_ext
8337 CFLAGS=$ac_wine_try_cflags_saved
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8340 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8341 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8342 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8345 case $host_cpu in
8346 *i[3456789]86* | x86_64)
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8348 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8349 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8350 $as_echo_n "(cached) " >&6
8351 else
8352 ac_wine_try_cflags_saved=$CFLAGS
8353 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8355 /* end confdefs.h. */
8356 int main(int argc, char **argv) { return 0; }
8357 _ACEOF
8358 if ac_fn_c_try_link "$LINENO"; then :
8359 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8360 else
8361 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8363 rm -f core conftest.err conftest.$ac_objext \
8364 conftest$ac_exeext conftest.$ac_ext
8365 CFLAGS=$ac_wine_try_cflags_saved
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8368 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8369 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8370 case $host_os in
8371 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8372 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8373 esac
8376 # Extract the first word of "prelink", so it can be a program name with args.
8377 set dummy prelink; ac_word=$2
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8379 $as_echo_n "checking for $ac_word... " >&6; }
8380 if ${ac_cv_path_PRELINK+:} false; then :
8381 $as_echo_n "(cached) " >&6
8382 else
8383 case $PRELINK in
8384 [\\/]* | ?:[\\/]*)
8385 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8389 for as_dir in /sbin /usr/sbin $PATH
8391 IFS=$as_save_IFS
8392 test -z "$as_dir" && as_dir=.
8393 for ac_exec_ext in '' $ac_executable_extensions; do
8394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8395 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8397 break 2
8399 done
8400 done
8401 IFS=$as_save_IFS
8403 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8405 esac
8407 PRELINK=$ac_cv_path_PRELINK
8408 if test -n "$PRELINK"; then
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8410 $as_echo "$PRELINK" >&6; }
8411 else
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8413 $as_echo "no" >&6; }
8417 if test "x$PRELINK" = xfalse
8418 then
8419 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8422 esac
8424 else
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8426 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8427 if ${ac_cv_c_dll_unixware+:} false; then :
8428 $as_echo_n "(cached) " >&6
8429 else
8430 ac_wine_try_cflags_saved=$CFLAGS
8431 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8433 /* end confdefs.h. */
8434 void myfunc() {}
8435 _ACEOF
8436 if ac_fn_c_try_link "$LINENO"; then :
8437 ac_cv_c_dll_unixware="yes"
8438 else
8439 ac_cv_c_dll_unixware="no"
8441 rm -f core conftest.err conftest.$ac_objext \
8442 conftest$ac_exeext conftest.$ac_ext
8443 CFLAGS=$ac_wine_try_cflags_saved
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8446 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8447 if test "$ac_cv_c_dll_unixware" = "yes"
8448 then
8449 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8452 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8453 LIBWINE_RULES="
8454 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8456 all: libwine.so
8458 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8459 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8461 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8462 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8464 libwine.so: libwine.so.$libwine_soversion
8465 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8467 install install-lib:: libwine.so.$libwine_version
8468 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8469 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8471 install install-dev::
8472 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8474 uninstall::
8475 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8479 as_fn_append LOADER_RULES "
8480 $wine_binary: main.o
8481 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8483 wine-installed: main.o
8484 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8487 esac
8489 as_fn_append LIBWINE_RULES "
8490 EXTRA_TARGETS = $libwine_targets
8493 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8494 enable_winemac_drv=${enable_winemac_drv:-no}
8496 CROSSTARGET=""
8498 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8499 then
8500 case "$host_cpu" in
8501 i[3456789]86*)
8502 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
8503 mingw32-gcc" ;;
8504 x86_64)
8505 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 " ;;
8507 ac_prefix_list="" ;;
8508 esac
8509 for ac_prog in $ac_prefix_list
8511 # Extract the first word of "$ac_prog", so it can be a program name with args.
8512 set dummy $ac_prog; ac_word=$2
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8514 $as_echo_n "checking for $ac_word... " >&6; }
8515 if ${ac_cv_prog_CROSSCC+:} false; then :
8516 $as_echo_n "(cached) " >&6
8517 else
8518 if test -n "$CROSSCC"; then
8519 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8520 else
8521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8522 for as_dir in $PATH
8524 IFS=$as_save_IFS
8525 test -z "$as_dir" && as_dir=.
8526 for ac_exec_ext in '' $ac_executable_extensions; do
8527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8528 ac_cv_prog_CROSSCC="$ac_prog"
8529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8530 break 2
8532 done
8533 done
8534 IFS=$as_save_IFS
8538 CROSSCC=$ac_cv_prog_CROSSCC
8539 if test -n "$CROSSCC"; then
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8541 $as_echo "$CROSSCC" >&6; }
8542 else
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8544 $as_echo "no" >&6; }
8548 test -n "$CROSSCC" && break
8549 done
8550 test -n "$CROSSCC" || CROSSCC="false"
8552 if test "$CROSSCC" != "false"
8553 then
8554 ac_save_CC="$CC"
8555 CC="$CROSSCC"
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8557 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8559 /* end confdefs.h. */
8562 main ()
8566 return 0;
8568 _ACEOF
8569 if ac_fn_c_try_compile "$LINENO"; then :
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8571 $as_echo "yes" >&6; }
8572 set x $CROSSCC
8573 shift
8574 while test $# -ge 1
8576 case "$1" in
8577 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8578 esac
8579 shift
8580 done
8581 else
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8583 $as_echo "no" >&6; }
8585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8586 CC="$ac_save_CC"
8591 if test "$ac_cv_header_pthread_h" = "yes"
8592 then
8593 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8594 if test "x$ac_cv_func_pthread_create" = xyes; then :
8596 else
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8598 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8599 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8600 $as_echo_n "(cached) " >&6
8601 else
8602 ac_check_lib_save_LIBS=$LIBS
8603 LIBS="-lpthread $LIBS"
8604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8605 /* end confdefs.h. */
8607 /* Override any GCC internal prototype to avoid an error.
8608 Use char because int might match the return type of a GCC
8609 builtin and then its argument prototype would still apply. */
8610 #ifdef __cplusplus
8611 extern "C"
8612 #endif
8613 char pthread_create ();
8615 main ()
8617 return pthread_create ();
8619 return 0;
8621 _ACEOF
8622 if ac_fn_c_try_link "$LINENO"; then :
8623 ac_cv_lib_pthread_pthread_create=yes
8624 else
8625 ac_cv_lib_pthread_pthread_create=no
8627 rm -f core conftest.err conftest.$ac_objext \
8628 conftest$ac_exeext conftest.$ac_ext
8629 LIBS=$ac_check_lib_save_LIBS
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8632 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8633 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8634 PTHREAD_LIBS="-lpthread"
8641 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8642 case "x$with_pthread" in
8643 xno) ;;
8644 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8645 Wine cannot support threads without libpthread.
8646 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8647 esac
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8652 $as_echo_n "checking for X... " >&6; }
8655 # Check whether --with-x was given.
8656 if test "${with_x+set}" = set; then :
8657 withval=$with_x;
8660 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8661 if test "x$with_x" = xno; then
8662 # The user explicitly disabled X.
8663 have_x=disabled
8664 else
8665 case $x_includes,$x_libraries in #(
8666 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8667 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8668 $as_echo_n "(cached) " >&6
8669 else
8670 # One or both of the vars are not set, and there is no cached value.
8671 ac_x_includes=no ac_x_libraries=no
8672 rm -f -r conftest.dir
8673 if mkdir conftest.dir; then
8674 cd conftest.dir
8675 cat >Imakefile <<'_ACEOF'
8676 incroot:
8677 @echo incroot='${INCROOT}'
8678 usrlibdir:
8679 @echo usrlibdir='${USRLIBDIR}'
8680 libdir:
8681 @echo libdir='${LIBDIR}'
8682 _ACEOF
8683 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8684 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8685 for ac_var in incroot usrlibdir libdir; do
8686 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8687 done
8688 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8689 for ac_extension in a so sl dylib la dll; do
8690 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8691 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8692 ac_im_usrlibdir=$ac_im_libdir; break
8694 done
8695 # Screen out bogus values from the imake configuration. They are
8696 # bogus both because they are the default anyway, and because
8697 # using them would break gcc on systems where it needs fixed includes.
8698 case $ac_im_incroot in
8699 /usr/include) ac_x_includes= ;;
8700 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8701 esac
8702 case $ac_im_usrlibdir in
8703 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8704 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8705 esac
8707 cd ..
8708 rm -f -r conftest.dir
8711 # Standard set of common directories for X headers.
8712 # Check X11 before X11Rn because it is often a symlink to the current release.
8713 ac_x_header_dirs='
8714 /usr/X11/include
8715 /usr/X11R7/include
8716 /usr/X11R6/include
8717 /usr/X11R5/include
8718 /usr/X11R4/include
8720 /usr/include/X11
8721 /usr/include/X11R7
8722 /usr/include/X11R6
8723 /usr/include/X11R5
8724 /usr/include/X11R4
8726 /usr/local/X11/include
8727 /usr/local/X11R7/include
8728 /usr/local/X11R6/include
8729 /usr/local/X11R5/include
8730 /usr/local/X11R4/include
8732 /usr/local/include/X11
8733 /usr/local/include/X11R7
8734 /usr/local/include/X11R6
8735 /usr/local/include/X11R5
8736 /usr/local/include/X11R4
8738 /usr/X386/include
8739 /usr/x386/include
8740 /usr/XFree86/include/X11
8742 /usr/include
8743 /usr/local/include
8744 /usr/unsupported/include
8745 /usr/athena/include
8746 /usr/local/x11r5/include
8747 /usr/lpp/Xamples/include
8749 /usr/openwin/include
8750 /usr/openwin/share/include'
8752 if test "$ac_x_includes" = no; then
8753 # Guess where to find include files, by looking for Xlib.h.
8754 # First, try using that file with no special directory specified.
8755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8756 /* end confdefs.h. */
8757 #include <X11/Xlib.h>
8758 _ACEOF
8759 if ac_fn_c_try_cpp "$LINENO"; then :
8760 # We can compile using X headers with no special include directory.
8761 ac_x_includes=
8762 else
8763 for ac_dir in $ac_x_header_dirs; do
8764 if test -r "$ac_dir/X11/Xlib.h"; then
8765 ac_x_includes=$ac_dir
8766 break
8768 done
8770 rm -f conftest.err conftest.i conftest.$ac_ext
8771 fi # $ac_x_includes = no
8773 if test "$ac_x_libraries" = no; then
8774 # Check for the libraries.
8775 # See if we find them without any special options.
8776 # Don't add to $LIBS permanently.
8777 ac_save_LIBS=$LIBS
8778 LIBS="-lX11 $LIBS"
8779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8780 /* end confdefs.h. */
8781 #include <X11/Xlib.h>
8783 main ()
8785 XrmInitialize ()
8787 return 0;
8789 _ACEOF
8790 if ac_fn_c_try_link "$LINENO"; then :
8791 LIBS=$ac_save_LIBS
8792 # We can link X programs with no special library path.
8793 ac_x_libraries=
8794 else
8795 LIBS=$ac_save_LIBS
8796 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8798 # Don't even attempt the hair of trying to link an X program!
8799 for ac_extension in a so sl dylib la dll; do
8800 if test -r "$ac_dir/libX11.$ac_extension"; then
8801 ac_x_libraries=$ac_dir
8802 break 2
8804 done
8805 done
8807 rm -f core conftest.err conftest.$ac_objext \
8808 conftest$ac_exeext conftest.$ac_ext
8809 fi # $ac_x_libraries = no
8811 case $ac_x_includes,$ac_x_libraries in #(
8812 no,* | *,no | *\'*)
8813 # Didn't find X, or a directory has "'" in its name.
8814 ac_cv_have_x="have_x=no";; #(
8816 # Record where we found X for the cache.
8817 ac_cv_have_x="have_x=yes\
8818 ac_x_includes='$ac_x_includes'\
8819 ac_x_libraries='$ac_x_libraries'"
8820 esac
8822 ;; #(
8823 *) have_x=yes;;
8824 esac
8825 eval "$ac_cv_have_x"
8826 fi # $with_x != no
8828 if test "$have_x" != yes; then
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8830 $as_echo "$have_x" >&6; }
8831 no_x=yes
8832 else
8833 # If each of the values was on the command line, it overrides each guess.
8834 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8835 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8836 # Update the cache value to reflect the command line values.
8837 ac_cv_have_x="have_x=yes\
8838 ac_x_includes='$x_includes'\
8839 ac_x_libraries='$x_libraries'"
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8841 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8844 if test "$no_x" = yes; then
8845 # Not all programs may use this symbol, but it does not hurt to define it.
8847 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8849 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8850 else
8851 if test -n "$x_includes"; then
8852 X_CFLAGS="$X_CFLAGS -I$x_includes"
8855 # It would also be nice to do this for all -L options, not just this one.
8856 if test -n "$x_libraries"; then
8857 X_LIBS="$X_LIBS -L$x_libraries"
8858 # For Solaris; some versions of Sun CC require a space after -R and
8859 # others require no space. Words are not sufficient . . . .
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8861 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8862 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8863 ac_xsave_c_werror_flag=$ac_c_werror_flag
8864 ac_c_werror_flag=yes
8865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8866 /* end confdefs.h. */
8869 main ()
8873 return 0;
8875 _ACEOF
8876 if ac_fn_c_try_link "$LINENO"; then :
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8878 $as_echo "no" >&6; }
8879 X_LIBS="$X_LIBS -R$x_libraries"
8880 else
8881 LIBS="$ac_xsave_LIBS -R $x_libraries"
8882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8883 /* end confdefs.h. */
8886 main ()
8890 return 0;
8892 _ACEOF
8893 if ac_fn_c_try_link "$LINENO"; then :
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8895 $as_echo "yes" >&6; }
8896 X_LIBS="$X_LIBS -R $x_libraries"
8897 else
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8899 $as_echo "neither works" >&6; }
8901 rm -f core conftest.err conftest.$ac_objext \
8902 conftest$ac_exeext conftest.$ac_ext
8904 rm -f core conftest.err conftest.$ac_objext \
8905 conftest$ac_exeext conftest.$ac_ext
8906 ac_c_werror_flag=$ac_xsave_c_werror_flag
8907 LIBS=$ac_xsave_LIBS
8910 # Check for system-dependent libraries X programs must link with.
8911 # Do this before checking for the system-independent R6 libraries
8912 # (-lICE), since we may need -lsocket or whatever for X linking.
8914 if test "$ISC" = yes; then
8915 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8916 else
8917 # Martyn Johnson says this is needed for Ultrix, if the X
8918 # libraries were built with DECnet support. And Karl Berry says
8919 # the Alpha needs dnet_stub (dnet does not exist).
8920 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8922 /* end confdefs.h. */
8924 /* Override any GCC internal prototype to avoid an error.
8925 Use char because int might match the return type of a GCC
8926 builtin and then its argument prototype would still apply. */
8927 #ifdef __cplusplus
8928 extern "C"
8929 #endif
8930 char XOpenDisplay ();
8932 main ()
8934 return XOpenDisplay ();
8936 return 0;
8938 _ACEOF
8939 if ac_fn_c_try_link "$LINENO"; then :
8941 else
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8943 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8944 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8945 $as_echo_n "(cached) " >&6
8946 else
8947 ac_check_lib_save_LIBS=$LIBS
8948 LIBS="-ldnet $LIBS"
8949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8950 /* end confdefs.h. */
8952 /* Override any GCC internal prototype to avoid an error.
8953 Use char because int might match the return type of a GCC
8954 builtin and then its argument prototype would still apply. */
8955 #ifdef __cplusplus
8956 extern "C"
8957 #endif
8958 char dnet_ntoa ();
8960 main ()
8962 return dnet_ntoa ();
8964 return 0;
8966 _ACEOF
8967 if ac_fn_c_try_link "$LINENO"; then :
8968 ac_cv_lib_dnet_dnet_ntoa=yes
8969 else
8970 ac_cv_lib_dnet_dnet_ntoa=no
8972 rm -f core conftest.err conftest.$ac_objext \
8973 conftest$ac_exeext conftest.$ac_ext
8974 LIBS=$ac_check_lib_save_LIBS
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8977 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8978 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8979 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8982 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8984 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8985 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8986 $as_echo_n "(cached) " >&6
8987 else
8988 ac_check_lib_save_LIBS=$LIBS
8989 LIBS="-ldnet_stub $LIBS"
8990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8991 /* end confdefs.h. */
8993 /* Override any GCC internal prototype to avoid an error.
8994 Use char because int might match the return type of a GCC
8995 builtin and then its argument prototype would still apply. */
8996 #ifdef __cplusplus
8997 extern "C"
8998 #endif
8999 char dnet_ntoa ();
9001 main ()
9003 return dnet_ntoa ();
9005 return 0;
9007 _ACEOF
9008 if ac_fn_c_try_link "$LINENO"; then :
9009 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9010 else
9011 ac_cv_lib_dnet_stub_dnet_ntoa=no
9013 rm -f core conftest.err conftest.$ac_objext \
9014 conftest$ac_exeext conftest.$ac_ext
9015 LIBS=$ac_check_lib_save_LIBS
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9018 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9019 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9020 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9025 rm -f core conftest.err conftest.$ac_objext \
9026 conftest$ac_exeext conftest.$ac_ext
9027 LIBS="$ac_xsave_LIBS"
9029 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9030 # to get the SysV transport functions.
9031 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9032 # needs -lnsl.
9033 # The nsl library prevents programs from opening the X display
9034 # on Irix 5.2, according to T.E. Dickey.
9035 # The functions gethostbyname, getservbyname, and inet_addr are
9036 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9037 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9038 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9042 if test $ac_cv_func_gethostbyname = no; then
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9044 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9045 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9046 $as_echo_n "(cached) " >&6
9047 else
9048 ac_check_lib_save_LIBS=$LIBS
9049 LIBS="-lnsl $LIBS"
9050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9051 /* end confdefs.h. */
9053 /* Override any GCC internal prototype to avoid an error.
9054 Use char because int might match the return type of a GCC
9055 builtin and then its argument prototype would still apply. */
9056 #ifdef __cplusplus
9057 extern "C"
9058 #endif
9059 char gethostbyname ();
9061 main ()
9063 return gethostbyname ();
9065 return 0;
9067 _ACEOF
9068 if ac_fn_c_try_link "$LINENO"; then :
9069 ac_cv_lib_nsl_gethostbyname=yes
9070 else
9071 ac_cv_lib_nsl_gethostbyname=no
9073 rm -f core conftest.err conftest.$ac_objext \
9074 conftest$ac_exeext conftest.$ac_ext
9075 LIBS=$ac_check_lib_save_LIBS
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9078 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9079 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9080 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9083 if test $ac_cv_lib_nsl_gethostbyname = no; then
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9085 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9086 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9087 $as_echo_n "(cached) " >&6
9088 else
9089 ac_check_lib_save_LIBS=$LIBS
9090 LIBS="-lbsd $LIBS"
9091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9092 /* end confdefs.h. */
9094 /* Override any GCC internal prototype to avoid an error.
9095 Use char because int might match the return type of a GCC
9096 builtin and then its argument prototype would still apply. */
9097 #ifdef __cplusplus
9098 extern "C"
9099 #endif
9100 char gethostbyname ();
9102 main ()
9104 return gethostbyname ();
9106 return 0;
9108 _ACEOF
9109 if ac_fn_c_try_link "$LINENO"; then :
9110 ac_cv_lib_bsd_gethostbyname=yes
9111 else
9112 ac_cv_lib_bsd_gethostbyname=no
9114 rm -f core conftest.err conftest.$ac_objext \
9115 conftest$ac_exeext conftest.$ac_ext
9116 LIBS=$ac_check_lib_save_LIBS
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9119 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9120 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9121 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9127 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9128 # socket/setsockopt and other routines are undefined under SCO ODT
9129 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9130 # on later versions), says Simon Leinen: it contains gethostby*
9131 # variants that don't use the name server (or something). -lsocket
9132 # must be given before -lnsl if both are needed. We assume that
9133 # if connect needs -lnsl, so does gethostbyname.
9134 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9135 if test "x$ac_cv_func_connect" = xyes; then :
9139 if test $ac_cv_func_connect = no; then
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9141 $as_echo_n "checking for connect in -lsocket... " >&6; }
9142 if ${ac_cv_lib_socket_connect+:} false; then :
9143 $as_echo_n "(cached) " >&6
9144 else
9145 ac_check_lib_save_LIBS=$LIBS
9146 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9148 /* end confdefs.h. */
9150 /* Override any GCC internal prototype to avoid an error.
9151 Use char because int might match the return type of a GCC
9152 builtin and then its argument prototype would still apply. */
9153 #ifdef __cplusplus
9154 extern "C"
9155 #endif
9156 char connect ();
9158 main ()
9160 return connect ();
9162 return 0;
9164 _ACEOF
9165 if ac_fn_c_try_link "$LINENO"; then :
9166 ac_cv_lib_socket_connect=yes
9167 else
9168 ac_cv_lib_socket_connect=no
9170 rm -f core conftest.err conftest.$ac_objext \
9171 conftest$ac_exeext conftest.$ac_ext
9172 LIBS=$ac_check_lib_save_LIBS
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9175 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9176 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9177 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9182 # Guillermo Gomez says -lposix is necessary on A/UX.
9183 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9184 if test "x$ac_cv_func_remove" = xyes; then :
9188 if test $ac_cv_func_remove = no; then
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9190 $as_echo_n "checking for remove in -lposix... " >&6; }
9191 if ${ac_cv_lib_posix_remove+:} false; then :
9192 $as_echo_n "(cached) " >&6
9193 else
9194 ac_check_lib_save_LIBS=$LIBS
9195 LIBS="-lposix $LIBS"
9196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9197 /* end confdefs.h. */
9199 /* Override any GCC internal prototype to avoid an error.
9200 Use char because int might match the return type of a GCC
9201 builtin and then its argument prototype would still apply. */
9202 #ifdef __cplusplus
9203 extern "C"
9204 #endif
9205 char remove ();
9207 main ()
9209 return remove ();
9211 return 0;
9213 _ACEOF
9214 if ac_fn_c_try_link "$LINENO"; then :
9215 ac_cv_lib_posix_remove=yes
9216 else
9217 ac_cv_lib_posix_remove=no
9219 rm -f core conftest.err conftest.$ac_objext \
9220 conftest$ac_exeext conftest.$ac_ext
9221 LIBS=$ac_check_lib_save_LIBS
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9224 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9225 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9226 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9231 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9232 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9233 if test "x$ac_cv_func_shmat" = xyes; then :
9237 if test $ac_cv_func_shmat = no; then
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9239 $as_echo_n "checking for shmat in -lipc... " >&6; }
9240 if ${ac_cv_lib_ipc_shmat+:} false; then :
9241 $as_echo_n "(cached) " >&6
9242 else
9243 ac_check_lib_save_LIBS=$LIBS
9244 LIBS="-lipc $LIBS"
9245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9246 /* end confdefs.h. */
9248 /* Override any GCC internal prototype to avoid an error.
9249 Use char because int might match the return type of a GCC
9250 builtin and then its argument prototype would still apply. */
9251 #ifdef __cplusplus
9252 extern "C"
9253 #endif
9254 char shmat ();
9256 main ()
9258 return shmat ();
9260 return 0;
9262 _ACEOF
9263 if ac_fn_c_try_link "$LINENO"; then :
9264 ac_cv_lib_ipc_shmat=yes
9265 else
9266 ac_cv_lib_ipc_shmat=no
9268 rm -f core conftest.err conftest.$ac_objext \
9269 conftest$ac_exeext conftest.$ac_ext
9270 LIBS=$ac_check_lib_save_LIBS
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9273 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9274 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9275 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9281 # Check for libraries that X11R6 Xt/Xaw programs need.
9282 ac_save_LDFLAGS=$LDFLAGS
9283 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9284 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9285 # check for ICE first), but we must link in the order -lSM -lICE or
9286 # we get undefined symbols. So assume we have SM if we have ICE.
9287 # These have to be linked with before -lX11, unlike the other
9288 # libraries we check for below, so use a different variable.
9289 # John Interrante, Karl Berry
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9291 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9292 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9293 $as_echo_n "(cached) " >&6
9294 else
9295 ac_check_lib_save_LIBS=$LIBS
9296 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9298 /* end confdefs.h. */
9300 /* Override any GCC internal prototype to avoid an error.
9301 Use char because int might match the return type of a GCC
9302 builtin and then its argument prototype would still apply. */
9303 #ifdef __cplusplus
9304 extern "C"
9305 #endif
9306 char IceConnectionNumber ();
9308 main ()
9310 return IceConnectionNumber ();
9312 return 0;
9314 _ACEOF
9315 if ac_fn_c_try_link "$LINENO"; then :
9316 ac_cv_lib_ICE_IceConnectionNumber=yes
9317 else
9318 ac_cv_lib_ICE_IceConnectionNumber=no
9320 rm -f core conftest.err conftest.$ac_objext \
9321 conftest$ac_exeext conftest.$ac_ext
9322 LIBS=$ac_check_lib_save_LIBS
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9325 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9326 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9327 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9330 LDFLAGS=$ac_save_LDFLAGS
9335 if test "$have_x" = "yes"
9336 then
9337 ac_save_CPPFLAGS="$CPPFLAGS"
9338 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9341 $as_echo_n "checking for -lX11... " >&6; }
9342 if ${ac_cv_lib_soname_X11+:} false; then :
9343 $as_echo_n "(cached) " >&6
9344 else
9345 ac_check_soname_save_LIBS=$LIBS
9346 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9348 /* end confdefs.h. */
9350 /* Override any GCC internal prototype to avoid an error.
9351 Use char because int might match the return type of a GCC
9352 builtin and then its argument prototype would still apply. */
9353 #ifdef __cplusplus
9354 extern "C"
9355 #endif
9356 char XCreateWindow ();
9358 main ()
9360 return XCreateWindow ();
9362 return 0;
9364 _ACEOF
9365 if ac_fn_c_try_link "$LINENO"; then :
9366 case "$LIBEXT" in
9367 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9368 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'` ;;
9369 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9370 if ${ac_cv_lib_soname_X11:+false} :; then :
9371 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9372 fi ;;
9373 esac
9375 rm -f core conftest.err conftest.$ac_objext \
9376 conftest$ac_exeext conftest.$ac_ext
9377 LIBS=$ac_check_soname_save_LIBS
9379 if ${ac_cv_lib_soname_X11:+false} :; then :
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9381 $as_echo "not found" >&6; }
9383 else
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9385 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9387 cat >>confdefs.h <<_ACEOF
9388 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9389 _ACEOF
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9394 $as_echo_n "checking for -lXext... " >&6; }
9395 if ${ac_cv_lib_soname_Xext+:} false; then :
9396 $as_echo_n "(cached) " >&6
9397 else
9398 ac_check_soname_save_LIBS=$LIBS
9399 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9401 /* end confdefs.h. */
9403 /* Override any GCC internal prototype to avoid an error.
9404 Use char because int might match the return type of a GCC
9405 builtin and then its argument prototype would still apply. */
9406 #ifdef __cplusplus
9407 extern "C"
9408 #endif
9409 char XextCreateExtension ();
9411 main ()
9413 return XextCreateExtension ();
9415 return 0;
9417 _ACEOF
9418 if ac_fn_c_try_link "$LINENO"; then :
9419 case "$LIBEXT" in
9420 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9421 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'` ;;
9422 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9423 if ${ac_cv_lib_soname_Xext:+false} :; then :
9424 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9425 fi ;;
9426 esac
9428 rm -f core conftest.err conftest.$ac_objext \
9429 conftest$ac_exeext conftest.$ac_ext
9430 LIBS=$ac_check_soname_save_LIBS
9432 if ${ac_cv_lib_soname_Xext:+false} :; then :
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9434 $as_echo "not found" >&6; }
9436 else
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9438 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9440 cat >>confdefs.h <<_ACEOF
9441 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9442 _ACEOF
9444 X_LIBS="$X_LIBS -lXext"
9446 X_LIBS="$X_LIBS -lX11"
9448 for ac_header in X11/Xlib.h \
9449 X11/XKBlib.h \
9450 X11/Xutil.h \
9451 X11/Xcursor/Xcursor.h \
9452 X11/extensions/shape.h \
9453 X11/extensions/XInput.h \
9454 X11/extensions/XInput2.h \
9455 X11/extensions/XShm.h \
9456 X11/extensions/Xcomposite.h \
9457 X11/extensions/Xinerama.h \
9458 X11/extensions/Xrandr.h \
9459 X11/extensions/Xrender.h \
9460 X11/extensions/xf86vmode.h \
9461 X11/extensions/xf86vmproto.h
9462 do :
9463 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9464 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9465 # include <X11/Xlib.h>
9466 #endif
9467 #ifdef HAVE_X11_XUTIL_H
9468 # include <X11/Xutil.h>
9469 #endif
9471 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9472 cat >>confdefs.h <<_ACEOF
9473 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9474 _ACEOF
9478 done
9481 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9482 then
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9484 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9485 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9486 $as_echo_n "(cached) " >&6
9487 else
9488 ac_check_lib_save_LIBS=$LIBS
9489 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9491 /* end confdefs.h. */
9493 /* Override any GCC internal prototype to avoid an error.
9494 Use char because int might match the return type of a GCC
9495 builtin and then its argument prototype would still apply. */
9496 #ifdef __cplusplus
9497 extern "C"
9498 #endif
9499 char XkbQueryExtension ();
9501 main ()
9503 return XkbQueryExtension ();
9505 return 0;
9507 _ACEOF
9508 if ac_fn_c_try_link "$LINENO"; then :
9509 ac_cv_lib_X11_XkbQueryExtension=yes
9510 else
9511 ac_cv_lib_X11_XkbQueryExtension=no
9513 rm -f core conftest.err conftest.$ac_objext \
9514 conftest$ac_exeext conftest.$ac_ext
9515 LIBS=$ac_check_lib_save_LIBS
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9518 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9519 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9521 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9527 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9528 then
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9530 $as_echo_n "checking for -lXcursor... " >&6; }
9531 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9532 $as_echo_n "(cached) " >&6
9533 else
9534 ac_check_soname_save_LIBS=$LIBS
9535 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9537 /* end confdefs.h. */
9539 /* Override any GCC internal prototype to avoid an error.
9540 Use char because int might match the return type of a GCC
9541 builtin and then its argument prototype would still apply. */
9542 #ifdef __cplusplus
9543 extern "C"
9544 #endif
9545 char XcursorImageLoadCursor ();
9547 main ()
9549 return XcursorImageLoadCursor ();
9551 return 0;
9553 _ACEOF
9554 if ac_fn_c_try_link "$LINENO"; then :
9555 case "$LIBEXT" in
9556 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9557 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'` ;;
9558 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9559 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9560 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9561 fi ;;
9562 esac
9564 rm -f core conftest.err conftest.$ac_objext \
9565 conftest$ac_exeext conftest.$ac_ext
9566 LIBS=$ac_check_soname_save_LIBS
9568 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9570 $as_echo "not found" >&6; }
9572 else
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9574 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9576 cat >>confdefs.h <<_ACEOF
9577 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9578 _ACEOF
9583 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9584 case "x$with_xcursor" in
9585 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9586 xno) ;;
9587 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9588 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9589 esac
9592 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9593 then
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9595 $as_echo_n "checking for -lXi... " >&6; }
9596 if ${ac_cv_lib_soname_Xi+:} false; then :
9597 $as_echo_n "(cached) " >&6
9598 else
9599 ac_check_soname_save_LIBS=$LIBS
9600 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9602 /* end confdefs.h. */
9604 /* Override any GCC internal prototype to avoid an error.
9605 Use char because int might match the return type of a GCC
9606 builtin and then its argument prototype would still apply. */
9607 #ifdef __cplusplus
9608 extern "C"
9609 #endif
9610 char XOpenDevice ();
9612 main ()
9614 return XOpenDevice ();
9616 return 0;
9618 _ACEOF
9619 if ac_fn_c_try_link "$LINENO"; then :
9620 case "$LIBEXT" in
9621 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9622 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'` ;;
9623 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9624 if ${ac_cv_lib_soname_Xi:+false} :; then :
9625 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9626 fi ;;
9627 esac
9629 rm -f core conftest.err conftest.$ac_objext \
9630 conftest$ac_exeext conftest.$ac_ext
9631 LIBS=$ac_check_soname_save_LIBS
9633 if ${ac_cv_lib_soname_Xi:+false} :; then :
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9635 $as_echo "not found" >&6; }
9637 else
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9639 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9641 cat >>confdefs.h <<_ACEOF
9642 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9643 _ACEOF
9648 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9649 case "x$with_xinput" in
9650 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9651 xno) ;;
9652 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9653 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9654 esac
9657 if test "x$ac_cv_lib_soname_Xi" != x
9658 then
9659 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9660 case "x$with_xinput2" in
9661 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9662 xno) ;;
9663 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9664 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9665 esac
9669 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9670 then
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9672 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9673 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9674 $as_echo_n "(cached) " >&6
9675 else
9676 ac_check_lib_save_LIBS=$LIBS
9677 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9679 /* end confdefs.h. */
9681 /* Override any GCC internal prototype to avoid an error.
9682 Use char because int might match the return type of a GCC
9683 builtin and then its argument prototype would still apply. */
9684 #ifdef __cplusplus
9685 extern "C"
9686 #endif
9687 char XShmQueryExtension ();
9689 main ()
9691 return XShmQueryExtension ();
9693 return 0;
9695 _ACEOF
9696 if ac_fn_c_try_link "$LINENO"; then :
9697 ac_cv_lib_Xext_XShmQueryExtension=yes
9698 else
9699 ac_cv_lib_Xext_XShmQueryExtension=no
9701 rm -f core conftest.err conftest.$ac_objext \
9702 conftest$ac_exeext conftest.$ac_ext
9703 LIBS=$ac_check_lib_save_LIBS
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9706 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9707 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9709 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9714 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9715 case "x$with_xshm" in
9716 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9717 xno) ;;
9718 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9719 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9720 esac
9723 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9724 then
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9726 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9727 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9728 $as_echo_n "(cached) " >&6
9729 else
9730 ac_check_lib_save_LIBS=$LIBS
9731 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9733 /* end confdefs.h. */
9735 /* Override any GCC internal prototype to avoid an error.
9736 Use char because int might match the return type of a GCC
9737 builtin and then its argument prototype would still apply. */
9738 #ifdef __cplusplus
9739 extern "C"
9740 #endif
9741 char XShapeQueryExtension ();
9743 main ()
9745 return XShapeQueryExtension ();
9747 return 0;
9749 _ACEOF
9750 if ac_fn_c_try_link "$LINENO"; then :
9751 ac_cv_lib_Xext_XShapeQueryExtension=yes
9752 else
9753 ac_cv_lib_Xext_XShapeQueryExtension=no
9755 rm -f core conftest.err conftest.$ac_objext \
9756 conftest$ac_exeext conftest.$ac_ext
9757 LIBS=$ac_check_lib_save_LIBS
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9760 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9761 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9763 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9768 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9769 case "x$with_xshape" in
9770 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9771 xno) ;;
9772 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9773 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9774 esac
9777 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9778 then
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9780 $as_echo_n "checking for -lXxf86vm... " >&6; }
9781 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9782 $as_echo_n "(cached) " >&6
9783 else
9784 ac_check_soname_save_LIBS=$LIBS
9785 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9787 /* end confdefs.h. */
9789 /* Override any GCC internal prototype to avoid an error.
9790 Use char because int might match the return type of a GCC
9791 builtin and then its argument prototype would still apply. */
9792 #ifdef __cplusplus
9793 extern "C"
9794 #endif
9795 char XF86VidModeQueryExtension ();
9797 main ()
9799 return XF86VidModeQueryExtension ();
9801 return 0;
9803 _ACEOF
9804 if ac_fn_c_try_link "$LINENO"; then :
9805 case "$LIBEXT" in
9806 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9807 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'` ;;
9808 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9809 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9810 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9811 fi ;;
9812 esac
9814 rm -f core conftest.err conftest.$ac_objext \
9815 conftest$ac_exeext conftest.$ac_ext
9816 LIBS=$ac_check_soname_save_LIBS
9818 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9820 $as_echo "not found" >&6; }
9822 else
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9824 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9826 cat >>confdefs.h <<_ACEOF
9827 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9828 _ACEOF
9833 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9834 case "x$with_xxf86vm" in
9835 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9836 xno) ;;
9837 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9838 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9839 esac
9842 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9843 then
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9845 $as_echo_n "checking for -lXrender... " >&6; }
9846 if ${ac_cv_lib_soname_Xrender+:} false; then :
9847 $as_echo_n "(cached) " >&6
9848 else
9849 ac_check_soname_save_LIBS=$LIBS
9850 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9852 /* end confdefs.h. */
9854 /* Override any GCC internal prototype to avoid an error.
9855 Use char because int might match the return type of a GCC
9856 builtin and then its argument prototype would still apply. */
9857 #ifdef __cplusplus
9858 extern "C"
9859 #endif
9860 char XRenderQueryExtension ();
9862 main ()
9864 return XRenderQueryExtension ();
9866 return 0;
9868 _ACEOF
9869 if ac_fn_c_try_link "$LINENO"; then :
9870 case "$LIBEXT" in
9871 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9872 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'` ;;
9873 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9874 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9875 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9876 fi ;;
9877 esac
9879 rm -f core conftest.err conftest.$ac_objext \
9880 conftest$ac_exeext conftest.$ac_ext
9881 LIBS=$ac_check_soname_save_LIBS
9883 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9885 $as_echo "not found" >&6; }
9887 else
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9889 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9891 cat >>confdefs.h <<_ACEOF
9892 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9893 _ACEOF
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9896 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9897 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9898 $as_echo_n "(cached) " >&6
9899 else
9900 ac_check_lib_save_LIBS=$LIBS
9901 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9903 /* end confdefs.h. */
9905 /* Override any GCC internal prototype to avoid an error.
9906 Use char because int might match the return type of a GCC
9907 builtin and then its argument prototype would still apply. */
9908 #ifdef __cplusplus
9909 extern "C"
9910 #endif
9911 char XRenderSetPictureTransform ();
9913 main ()
9915 return XRenderSetPictureTransform ();
9917 return 0;
9919 _ACEOF
9920 if ac_fn_c_try_link "$LINENO"; then :
9921 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9922 else
9923 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9925 rm -f core conftest.err conftest.$ac_objext \
9926 conftest$ac_exeext conftest.$ac_ext
9927 LIBS=$ac_check_lib_save_LIBS
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9930 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9931 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9933 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9938 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9939 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9940 $as_echo_n "(cached) " >&6
9941 else
9942 ac_check_lib_save_LIBS=$LIBS
9943 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9945 /* end confdefs.h. */
9947 /* Override any GCC internal prototype to avoid an error.
9948 Use char because int might match the return type of a GCC
9949 builtin and then its argument prototype would still apply. */
9950 #ifdef __cplusplus
9951 extern "C"
9952 #endif
9953 char XRenderCreateLinearGradient ();
9955 main ()
9957 return XRenderCreateLinearGradient ();
9959 return 0;
9961 _ACEOF
9962 if ac_fn_c_try_link "$LINENO"; then :
9963 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9964 else
9965 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9967 rm -f core conftest.err conftest.$ac_objext \
9968 conftest$ac_exeext conftest.$ac_ext
9969 LIBS=$ac_check_lib_save_LIBS
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9972 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9973 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9975 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9982 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9983 case "x$with_xrender" in
9984 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9985 xno) ;;
9986 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9987 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9988 esac
9991 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9992 then
9993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9994 /* end confdefs.h. */
9995 #include <X11/Xlib.h>
9996 #include <X11/extensions/Xrandr.h>
9998 main ()
10000 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10002 return 0;
10004 _ACEOF
10005 if ac_fn_c_try_compile "$LINENO"; then :
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10007 $as_echo_n "checking for -lXrandr... " >&6; }
10008 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10009 $as_echo_n "(cached) " >&6
10010 else
10011 ac_check_soname_save_LIBS=$LIBS
10012 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10014 /* end confdefs.h. */
10016 /* Override any GCC internal prototype to avoid an error.
10017 Use char because int might match the return type of a GCC
10018 builtin and then its argument prototype would still apply. */
10019 #ifdef __cplusplus
10020 extern "C"
10021 #endif
10022 char XRRQueryExtension ();
10024 main ()
10026 return XRRQueryExtension ();
10028 return 0;
10030 _ACEOF
10031 if ac_fn_c_try_link "$LINENO"; then :
10032 case "$LIBEXT" in
10033 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10034 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'` ;;
10035 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10036 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10037 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10038 fi ;;
10039 esac
10041 rm -f core conftest.err conftest.$ac_objext \
10042 conftest$ac_exeext conftest.$ac_ext
10043 LIBS=$ac_check_soname_save_LIBS
10045 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10047 $as_echo "not found" >&6; }
10049 else
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10051 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10053 cat >>confdefs.h <<_ACEOF
10054 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10055 _ACEOF
10057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10058 /* end confdefs.h. */
10059 #include <X11/Xlib.h>
10060 #include <X11/extensions/Xrandr.h>
10062 main ()
10064 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10066 return 0;
10068 _ACEOF
10069 if ac_fn_c_try_compile "$LINENO"; then :
10071 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10079 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10080 case "x$with_xrandr" in
10081 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10082 xno) ;;
10083 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10084 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10085 esac
10088 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10089 then
10090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10091 /* end confdefs.h. */
10092 #include <X11/Xlib.h>
10093 #include <X11/extensions/Xinerama.h>
10095 main ()
10097 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10099 return 0;
10101 _ACEOF
10102 if ac_fn_c_try_compile "$LINENO"; then :
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10104 $as_echo_n "checking for -lXinerama... " >&6; }
10105 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10106 $as_echo_n "(cached) " >&6
10107 else
10108 ac_check_soname_save_LIBS=$LIBS
10109 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10111 /* end confdefs.h. */
10113 /* Override any GCC internal prototype to avoid an error.
10114 Use char because int might match the return type of a GCC
10115 builtin and then its argument prototype would still apply. */
10116 #ifdef __cplusplus
10117 extern "C"
10118 #endif
10119 char XineramaQueryScreens ();
10121 main ()
10123 return XineramaQueryScreens ();
10125 return 0;
10127 _ACEOF
10128 if ac_fn_c_try_link "$LINENO"; then :
10129 case "$LIBEXT" in
10130 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10131 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'` ;;
10132 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10133 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10134 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10135 fi ;;
10136 esac
10138 rm -f core conftest.err conftest.$ac_objext \
10139 conftest$ac_exeext conftest.$ac_ext
10140 LIBS=$ac_check_soname_save_LIBS
10142 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10144 $as_echo "not found" >&6; }
10146 else
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10148 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10150 cat >>confdefs.h <<_ACEOF
10151 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10152 _ACEOF
10157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10159 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10160 case "x$with_xinerama" in
10161 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10162 xno) ;;
10163 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10164 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10165 esac
10168 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10169 then
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10171 $as_echo_n "checking for -lXcomposite... " >&6; }
10172 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10173 $as_echo_n "(cached) " >&6
10174 else
10175 ac_check_soname_save_LIBS=$LIBS
10176 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10178 /* end confdefs.h. */
10180 /* Override any GCC internal prototype to avoid an error.
10181 Use char because int might match the return type of a GCC
10182 builtin and then its argument prototype would still apply. */
10183 #ifdef __cplusplus
10184 extern "C"
10185 #endif
10186 char XCompositeRedirectWindow ();
10188 main ()
10190 return XCompositeRedirectWindow ();
10192 return 0;
10194 _ACEOF
10195 if ac_fn_c_try_link "$LINENO"; then :
10196 case "$LIBEXT" in
10197 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10198 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'` ;;
10199 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10200 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10201 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10202 fi ;;
10203 esac
10205 rm -f core conftest.err conftest.$ac_objext \
10206 conftest$ac_exeext conftest.$ac_ext
10207 LIBS=$ac_check_soname_save_LIBS
10209 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10211 $as_echo "not found" >&6; }
10213 else
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10215 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10217 cat >>confdefs.h <<_ACEOF
10218 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10219 _ACEOF
10224 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10225 case "x$with_xcomposite" in
10226 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10227 xno) ;;
10228 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10229 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10230 esac
10233 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10234 #include <X11/Xlib.h>
10235 #endif
10237 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10239 cat >>confdefs.h <<_ACEOF
10240 #define HAVE_XICCALLBACK_CALLBACK 1
10241 _ACEOF
10245 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10246 #include <X11/Xlib.h>
10247 #endif
10249 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10251 cat >>confdefs.h <<_ACEOF
10252 #define HAVE_XEVENT_XCOOKIE 1
10253 _ACEOF
10260 opengl_msg=""
10261 if test "x$with_opengl" != "xno"
10262 then
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10264 $as_echo_n "checking for -lGL... " >&6; }
10265 if ${ac_cv_lib_soname_GL+:} false; then :
10266 $as_echo_n "(cached) " >&6
10267 else
10268 ac_check_soname_save_LIBS=$LIBS
10269 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10271 /* end confdefs.h. */
10273 /* Override any GCC internal prototype to avoid an error.
10274 Use char because int might match the return type of a GCC
10275 builtin and then its argument prototype would still apply. */
10276 #ifdef __cplusplus
10277 extern "C"
10278 #endif
10279 char glXCreateContext ();
10281 main ()
10283 return glXCreateContext ();
10285 return 0;
10287 _ACEOF
10288 if ac_fn_c_try_link "$LINENO"; then :
10289 case "$LIBEXT" in
10290 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10291 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'` ;;
10292 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10293 if ${ac_cv_lib_soname_GL:+false} :; then :
10294 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10295 fi ;;
10296 esac
10298 rm -f core conftest.err conftest.$ac_objext \
10299 conftest$ac_exeext conftest.$ac_ext
10300 LIBS=$ac_check_soname_save_LIBS
10302 if ${ac_cv_lib_soname_GL:+false} :; then :
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10304 $as_echo "not found" >&6; }
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10306 $as_echo_n "checking for -lGL... " >&6; }
10307 if ${ac_cv_lib_soname_GL+:} false; then :
10308 $as_echo_n "(cached) " >&6
10309 else
10310 ac_check_soname_save_LIBS=$LIBS
10311 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"
10312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10313 /* end confdefs.h. */
10315 /* Override any GCC internal prototype to avoid an error.
10316 Use char because int might match the return type of a GCC
10317 builtin and then its argument prototype would still apply. */
10318 #ifdef __cplusplus
10319 extern "C"
10320 #endif
10321 char glXCreateContext ();
10323 main ()
10325 return glXCreateContext ();
10327 return 0;
10329 _ACEOF
10330 if ac_fn_c_try_link "$LINENO"; then :
10331 case "$LIBEXT" in
10332 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10333 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'` ;;
10334 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10335 if ${ac_cv_lib_soname_GL:+false} :; then :
10336 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10337 fi ;;
10338 esac
10340 rm -f core conftest.err conftest.$ac_objext \
10341 conftest$ac_exeext conftest.$ac_ext
10342 LIBS=$ac_check_soname_save_LIBS
10344 if ${ac_cv_lib_soname_GL:+false} :; then :
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10346 $as_echo "not found" >&6; }
10347 if test -f /usr/X11R6/lib/libGL.a
10348 then
10349 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10350 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10351 else
10352 opengl_msg="No OpenGL library found on this system."
10354 else
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10356 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10358 cat >>confdefs.h <<_ACEOF
10359 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10360 _ACEOF
10362 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"
10364 else
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10366 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10368 cat >>confdefs.h <<_ACEOF
10369 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10370 _ACEOF
10372 OPENGL_LIBS="-lGL"
10374 if test "x$with_glu" != "xno"
10375 then
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10377 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10378 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10379 $as_echo_n "(cached) " >&6
10380 else
10381 ac_check_lib_save_LIBS=$LIBS
10382 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10384 /* end confdefs.h. */
10386 /* Override any GCC internal prototype to avoid an error.
10387 Use char because int might match the return type of a GCC
10388 builtin and then its argument prototype would still apply. */
10389 #ifdef __cplusplus
10390 extern "C"
10391 #endif
10392 char gluLookAt ();
10394 main ()
10396 return gluLookAt ();
10398 return 0;
10400 _ACEOF
10401 if ac_fn_c_try_link "$LINENO"; then :
10402 ac_cv_lib_GLU_gluLookAt=yes
10403 else
10404 ac_cv_lib_GLU_gluLookAt=no
10406 rm -f core conftest.err conftest.$ac_objext \
10407 conftest$ac_exeext conftest.$ac_ext
10408 LIBS=$ac_check_lib_save_LIBS
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10411 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10412 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10416 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10417 case "x$with_glu" in
10418 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10419 xno) ;;
10420 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10421 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10422 esac
10426 if test "x$with_osmesa" != "xno"
10427 then
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10429 $as_echo_n "checking for -lOSMesa... " >&6; }
10430 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10431 $as_echo_n "(cached) " >&6
10432 else
10433 ac_check_soname_save_LIBS=$LIBS
10434 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10436 /* end confdefs.h. */
10438 /* Override any GCC internal prototype to avoid an error.
10439 Use char because int might match the return type of a GCC
10440 builtin and then its argument prototype would still apply. */
10441 #ifdef __cplusplus
10442 extern "C"
10443 #endif
10444 char glAccum ();
10446 main ()
10448 return glAccum ();
10450 return 0;
10452 _ACEOF
10453 if ac_fn_c_try_link "$LINENO"; then :
10454 case "$LIBEXT" in
10455 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10456 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'` ;;
10457 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10458 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10459 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10460 fi ;;
10461 esac
10463 rm -f core conftest.err conftest.$ac_objext \
10464 conftest$ac_exeext conftest.$ac_ext
10465 LIBS=$ac_check_soname_save_LIBS
10467 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10469 $as_echo "not found" >&6; }
10471 else
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10473 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10475 cat >>confdefs.h <<_ACEOF
10476 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10477 _ACEOF
10481 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10482 case "x$with_osmesa" in
10483 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10484 xno) ;;
10485 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10486 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10487 esac
10491 if test -n "$opengl_msg"; then :
10492 case "x$with_opengl" in
10493 x) as_fn_append wine_warnings "|$opengl_msg
10494 OpenGL and Direct3D won't be supported." ;;
10495 xno) ;;
10496 *) as_fn_error $? "$opengl_msg
10497 OpenGL and Direct3D won't be supported.
10498 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10499 esac
10502 CPPFLAGS="$ac_save_CPPFLAGS"
10503 else
10504 X_CFLAGS=""
10505 X_LIBS=""
10506 enable_winex11_drv=${enable_winex11_drv:-no}
10508 if test "x$X_LIBS" = "x"; then :
10509 case "x$with_x" in
10510 xno) ;;
10511 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10512 without X support, which probably isn't what you want. You will need
10513 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10514 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10515 esac
10518 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10520 if test "$ac_cv_header_CL_cl_h" = "yes"
10521 then
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10523 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10524 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10525 $as_echo_n "(cached) " >&6
10526 else
10527 ac_check_lib_save_LIBS=$LIBS
10528 LIBS="-lOpenCL $LIBS"
10529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10530 /* end confdefs.h. */
10532 /* Override any GCC internal prototype to avoid an error.
10533 Use char because int might match the return type of a GCC
10534 builtin and then its argument prototype would still apply. */
10535 #ifdef __cplusplus
10536 extern "C"
10537 #endif
10538 char clGetPlatformInfo ();
10540 main ()
10542 return clGetPlatformInfo ();
10544 return 0;
10546 _ACEOF
10547 if ac_fn_c_try_link "$LINENO"; then :
10548 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10549 else
10550 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10552 rm -f core conftest.err conftest.$ac_objext \
10553 conftest$ac_exeext conftest.$ac_ext
10554 LIBS=$ac_check_lib_save_LIBS
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10557 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10558 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10559 OPENCL_LIBS="-lOpenCL"
10564 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10565 case "x$with_opencl" in
10566 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10567 xno) ;;
10568 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10569 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10570 esac
10572 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10574 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10575 then
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10577 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10578 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10579 $as_echo_n "(cached) " >&6
10580 else
10581 ac_check_lib_save_LIBS=$LIBS
10582 LIBS="-lpcap $LIBS"
10583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10584 /* end confdefs.h. */
10586 /* Override any GCC internal prototype to avoid an error.
10587 Use char because int might match the return type of a GCC
10588 builtin and then its argument prototype would still apply. */
10589 #ifdef __cplusplus
10590 extern "C"
10591 #endif
10592 char pcap_create ();
10594 main ()
10596 return pcap_create ();
10598 return 0;
10600 _ACEOF
10601 if ac_fn_c_try_link "$LINENO"; then :
10602 ac_cv_lib_pcap_pcap_create=yes
10603 else
10604 ac_cv_lib_pcap_pcap_create=no
10606 rm -f core conftest.err conftest.$ac_objext \
10607 conftest$ac_exeext conftest.$ac_ext
10608 LIBS=$ac_check_lib_save_LIBS
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10611 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10612 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10613 LIBPCAP="-lpcap"
10618 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10619 case "x$with_pcap" in
10620 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10621 xno) ;;
10622 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10623 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10624 esac
10626 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10629 if test "x$with_xml" != "xno"
10630 then
10631 if ${XML2_CFLAGS:+false} :; then :
10632 if ${PKG_CONFIG+:} false; then :
10633 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10636 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10637 if ${XML2_LIBS:+false} :; then :
10638 if ${PKG_CONFIG+:} false; then :
10639 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10642 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10643 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10644 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10645 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10646 ac_save_CPPFLAGS=$CPPFLAGS
10647 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10648 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10649 do :
10650 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10651 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10652 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10653 cat >>confdefs.h <<_ACEOF
10654 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10655 _ACEOF
10659 done
10661 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"
10662 then
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10664 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10665 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10666 $as_echo_n "(cached) " >&6
10667 else
10668 ac_check_lib_save_LIBS=$LIBS
10669 LIBS="-lxml2 $XML2_LIBS $LIBS"
10670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10671 /* end confdefs.h. */
10673 /* Override any GCC internal prototype to avoid an error.
10674 Use char because int might match the return type of a GCC
10675 builtin and then its argument prototype would still apply. */
10676 #ifdef __cplusplus
10677 extern "C"
10678 #endif
10679 char xmlParseMemory ();
10681 main ()
10683 return xmlParseMemory ();
10685 return 0;
10687 _ACEOF
10688 if ac_fn_c_try_link "$LINENO"; then :
10689 ac_cv_lib_xml2_xmlParseMemory=yes
10690 else
10691 ac_cv_lib_xml2_xmlParseMemory=no
10693 rm -f core conftest.err conftest.$ac_objext \
10694 conftest$ac_exeext conftest.$ac_ext
10695 LIBS=$ac_check_lib_save_LIBS
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10698 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10699 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10701 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10703 else
10704 XML2_LIBS=""
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10708 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10709 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10710 $as_echo_n "(cached) " >&6
10711 else
10712 ac_check_lib_save_LIBS=$LIBS
10713 LIBS="-lxml2 $XML2_LIBS $LIBS"
10714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10715 /* end confdefs.h. */
10717 /* Override any GCC internal prototype to avoid an error.
10718 Use char because int might match the return type of a GCC
10719 builtin and then its argument prototype would still apply. */
10720 #ifdef __cplusplus
10721 extern "C"
10722 #endif
10723 char xmlReadMemory ();
10725 main ()
10727 return xmlReadMemory ();
10729 return 0;
10731 _ACEOF
10732 if ac_fn_c_try_link "$LINENO"; then :
10733 ac_cv_lib_xml2_xmlReadMemory=yes
10734 else
10735 ac_cv_lib_xml2_xmlReadMemory=no
10737 rm -f core conftest.err conftest.$ac_objext \
10738 conftest$ac_exeext conftest.$ac_ext
10739 LIBS=$ac_check_lib_save_LIBS
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10742 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10743 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10745 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10750 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10751 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10752 $as_echo_n "(cached) " >&6
10753 else
10754 ac_check_lib_save_LIBS=$LIBS
10755 LIBS="-lxml2 $XML2_LIBS $LIBS"
10756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10757 /* end confdefs.h. */
10759 /* Override any GCC internal prototype to avoid an error.
10760 Use char because int might match the return type of a GCC
10761 builtin and then its argument prototype would still apply. */
10762 #ifdef __cplusplus
10763 extern "C"
10764 #endif
10765 char xmlNewDocPI ();
10767 main ()
10769 return xmlNewDocPI ();
10771 return 0;
10773 _ACEOF
10774 if ac_fn_c_try_link "$LINENO"; then :
10775 ac_cv_lib_xml2_xmlNewDocPI=yes
10776 else
10777 ac_cv_lib_xml2_xmlNewDocPI=no
10779 rm -f core conftest.err conftest.$ac_objext \
10780 conftest$ac_exeext conftest.$ac_ext
10781 LIBS=$ac_check_lib_save_LIBS
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10784 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10785 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10787 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10792 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10793 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10794 $as_echo_n "(cached) " >&6
10795 else
10796 ac_check_lib_save_LIBS=$LIBS
10797 LIBS="-lxml2 $XML2_LIBS $LIBS"
10798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10799 /* end confdefs.h. */
10801 /* Override any GCC internal prototype to avoid an error.
10802 Use char because int might match the return type of a GCC
10803 builtin and then its argument prototype would still apply. */
10804 #ifdef __cplusplus
10805 extern "C"
10806 #endif
10807 char xmlSchemaSetParserStructuredErrors ();
10809 main ()
10811 return xmlSchemaSetParserStructuredErrors ();
10813 return 0;
10815 _ACEOF
10816 if ac_fn_c_try_link "$LINENO"; then :
10817 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10818 else
10819 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10821 rm -f core conftest.err conftest.$ac_objext \
10822 conftest$ac_exeext conftest.$ac_ext
10823 LIBS=$ac_check_lib_save_LIBS
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10826 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10827 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10829 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10834 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10835 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10836 $as_echo_n "(cached) " >&6
10837 else
10838 ac_check_lib_save_LIBS=$LIBS
10839 LIBS="-lxml2 $XML2_LIBS $LIBS"
10840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10841 /* end confdefs.h. */
10843 /* Override any GCC internal prototype to avoid an error.
10844 Use char because int might match the return type of a GCC
10845 builtin and then its argument prototype would still apply. */
10846 #ifdef __cplusplus
10847 extern "C"
10848 #endif
10849 char xmlSchemaSetValidStructuredErrors ();
10851 main ()
10853 return xmlSchemaSetValidStructuredErrors ();
10855 return 0;
10857 _ACEOF
10858 if ac_fn_c_try_link "$LINENO"; then :
10859 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10860 else
10861 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10863 rm -f core conftest.err conftest.$ac_objext \
10864 conftest$ac_exeext conftest.$ac_ext
10865 LIBS=$ac_check_lib_save_LIBS
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10868 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10869 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10871 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10876 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10877 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10878 $as_echo_n "(cached) " >&6
10879 else
10880 ac_check_lib_save_LIBS=$LIBS
10881 LIBS="-lxml2 $XML2_LIBS $LIBS"
10882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10883 /* end confdefs.h. */
10885 /* Override any GCC internal prototype to avoid an error.
10886 Use char because int might match the return type of a GCC
10887 builtin and then its argument prototype would still apply. */
10888 #ifdef __cplusplus
10889 extern "C"
10890 #endif
10891 char xmlFirstElementChild ();
10893 main ()
10895 return xmlFirstElementChild ();
10897 return 0;
10899 _ACEOF
10900 if ac_fn_c_try_link "$LINENO"; then :
10901 ac_cv_lib_xml2_xmlFirstElementChild=yes
10902 else
10903 ac_cv_lib_xml2_xmlFirstElementChild=no
10905 rm -f core conftest.err conftest.$ac_objext \
10906 conftest$ac_exeext conftest.$ac_ext
10907 LIBS=$ac_check_lib_save_LIBS
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10910 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10911 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10913 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10917 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10919 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10921 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10925 else
10926 XML2_CFLAGS=""
10927 XML2_LIBS=""
10929 CPPFLAGS=$ac_save_CPPFLAGS
10930 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10931 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10934 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10935 case "x$with_xml" in
10936 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10937 xno) ;;
10938 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10939 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10940 esac
10943 if test "x$with_xslt" != "xno"
10944 then
10945 if ${XSLT_CFLAGS:+false} :; then :
10946 if ${PKG_CONFIG+:} false; then :
10947 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10950 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10951 if ${XSLT_LIBS:+false} :; then :
10952 if ${PKG_CONFIG+:} false; then :
10953 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10956 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10957 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10958 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10959 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10960 ac_save_CPPFLAGS=$CPPFLAGS
10961 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10962 for ac_header in libxslt/pattern.h libxslt/transform.h
10963 do :
10964 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10965 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10966 # include <libxslt/pattern.h>
10967 #endif
10969 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10970 cat >>confdefs.h <<_ACEOF
10971 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10972 _ACEOF
10976 done
10978 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10979 then
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10981 $as_echo_n "checking for -lxslt... " >&6; }
10982 if ${ac_cv_lib_soname_xslt+:} false; then :
10983 $as_echo_n "(cached) " >&6
10984 else
10985 ac_check_soname_save_LIBS=$LIBS
10986 LIBS="-lxslt $XSLT_LIBS $LIBS"
10987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10988 /* end confdefs.h. */
10990 /* Override any GCC internal prototype to avoid an error.
10991 Use char because int might match the return type of a GCC
10992 builtin and then its argument prototype would still apply. */
10993 #ifdef __cplusplus
10994 extern "C"
10995 #endif
10996 char xsltCompilePattern ();
10998 main ()
11000 return xsltCompilePattern ();
11002 return 0;
11004 _ACEOF
11005 if ac_fn_c_try_link "$LINENO"; then :
11006 case "$LIBEXT" in
11007 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11008 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'` ;;
11009 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11010 if ${ac_cv_lib_soname_xslt:+false} :; then :
11011 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11012 fi ;;
11013 esac
11015 rm -f core conftest.err conftest.$ac_objext \
11016 conftest$ac_exeext conftest.$ac_ext
11017 LIBS=$ac_check_soname_save_LIBS
11019 if ${ac_cv_lib_soname_xslt:+false} :; then :
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11021 $as_echo "not found" >&6; }
11023 else
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11025 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11027 cat >>confdefs.h <<_ACEOF
11028 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11029 _ACEOF
11033 else
11034 XSLT_CFLAGS=""
11036 CPPFLAGS=$ac_save_CPPFLAGS
11037 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11038 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11041 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11042 case "x$with_xslt" in
11043 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11044 xno) ;;
11045 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11046 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11047 esac
11050 if test "x$with_dbus" != "xno"
11051 then
11052 if ${DBUS_CFLAGS:+false} :; then :
11053 if ${PKG_CONFIG+:} false; then :
11054 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11058 if ${DBUS_LIBS:+false} :; then :
11059 if ${PKG_CONFIG+:} false; then :
11060 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11065 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11066 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11067 ac_save_CPPFLAGS=$CPPFLAGS
11068 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11069 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11070 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11072 $as_echo_n "checking for -ldbus-1... " >&6; }
11073 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11074 $as_echo_n "(cached) " >&6
11075 else
11076 ac_check_soname_save_LIBS=$LIBS
11077 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11079 /* end confdefs.h. */
11081 /* Override any GCC internal prototype to avoid an error.
11082 Use char because int might match the return type of a GCC
11083 builtin and then its argument prototype would still apply. */
11084 #ifdef __cplusplus
11085 extern "C"
11086 #endif
11087 char dbus_connection_close ();
11089 main ()
11091 return dbus_connection_close ();
11093 return 0;
11095 _ACEOF
11096 if ac_fn_c_try_link "$LINENO"; then :
11097 case "$LIBEXT" in
11098 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11099 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'` ;;
11100 *) 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'`
11101 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11102 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11103 fi ;;
11104 esac
11106 rm -f core conftest.err conftest.$ac_objext \
11107 conftest$ac_exeext conftest.$ac_ext
11108 LIBS=$ac_check_soname_save_LIBS
11110 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11112 $as_echo "not found" >&6; }
11113 DBUS_CFLAGS=""
11114 else
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11116 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11118 cat >>confdefs.h <<_ACEOF
11119 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11120 _ACEOF
11124 else
11125 DBUS_CFLAGS=""
11129 CPPFLAGS=$ac_save_CPPFLAGS
11130 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11131 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11134 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11135 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11136 case "x$with_dbus" in
11137 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11138 xno) ;;
11139 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11140 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11141 esac
11144 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11145 then
11146 if ${HAL_CFLAGS:+false} :; then :
11147 if ${PKG_CONFIG+:} false; then :
11148 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11152 if ${HAL_LIBS:+false} :; then :
11153 if ${PKG_CONFIG+:} false; then :
11154 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11158 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11159 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11160 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11161 ac_save_CPPFLAGS=$CPPFLAGS
11162 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11163 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11164 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11166 $as_echo_n "checking for -lhal... " >&6; }
11167 if ${ac_cv_lib_soname_hal+:} false; then :
11168 $as_echo_n "(cached) " >&6
11169 else
11170 ac_check_soname_save_LIBS=$LIBS
11171 LIBS="-lhal $HAL_LIBS $LIBS"
11172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11173 /* end confdefs.h. */
11175 /* Override any GCC internal prototype to avoid an error.
11176 Use char because int might match the return type of a GCC
11177 builtin and then its argument prototype would still apply. */
11178 #ifdef __cplusplus
11179 extern "C"
11180 #endif
11181 char libhal_ctx_new ();
11183 main ()
11185 return libhal_ctx_new ();
11187 return 0;
11189 _ACEOF
11190 if ac_fn_c_try_link "$LINENO"; then :
11191 case "$LIBEXT" in
11192 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11193 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'` ;;
11194 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11195 if ${ac_cv_lib_soname_hal:+false} :; then :
11196 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11197 fi ;;
11198 esac
11200 rm -f core conftest.err conftest.$ac_objext \
11201 conftest$ac_exeext conftest.$ac_ext
11202 LIBS=$ac_check_soname_save_LIBS
11204 if ${ac_cv_lib_soname_hal:+false} :; then :
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11206 $as_echo "not found" >&6; }
11207 HAL_CFLAGS=""
11208 else
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11210 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11212 cat >>confdefs.h <<_ACEOF
11213 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11214 _ACEOF
11218 else
11219 HAL_CFLAGS=""
11223 CPPFLAGS=$ac_save_CPPFLAGS
11224 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11225 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11227 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11228 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11229 case "x$with_hal" in
11230 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11231 xno) ;;
11232 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11233 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11234 esac
11238 if test "x$with_gnutls" != "xno"
11239 then
11240 if ${GNUTLS_CFLAGS:+false} :; then :
11241 if ${PKG_CONFIG+:} false; then :
11242 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11246 if ${GNUTLS_LIBS:+false} :; then :
11247 if ${PKG_CONFIG+:} false; then :
11248 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11253 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11254 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11255 ac_save_CPPFLAGS=$CPPFLAGS
11256 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11257 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11258 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11260 /* end confdefs.h. */
11261 #include <gnutls/gnutls.h>
11262 #include <gnutls/crypto.h>
11264 main ()
11266 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11268 return 0;
11270 _ACEOF
11271 if ac_fn_c_try_compile "$LINENO"; then :
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11273 $as_echo_n "checking for -lgnutls... " >&6; }
11274 if ${ac_cv_lib_soname_gnutls+:} false; then :
11275 $as_echo_n "(cached) " >&6
11276 else
11277 ac_check_soname_save_LIBS=$LIBS
11278 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11280 /* end confdefs.h. */
11282 /* Override any GCC internal prototype to avoid an error.
11283 Use char because int might match the return type of a GCC
11284 builtin and then its argument prototype would still apply. */
11285 #ifdef __cplusplus
11286 extern "C"
11287 #endif
11288 char gnutls_global_init ();
11290 main ()
11292 return gnutls_global_init ();
11294 return 0;
11296 _ACEOF
11297 if ac_fn_c_try_link "$LINENO"; then :
11298 case "$LIBEXT" in
11299 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11300 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'` ;;
11301 *) 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'`
11302 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11303 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'`
11304 fi ;;
11305 esac
11307 rm -f core conftest.err conftest.$ac_objext \
11308 conftest$ac_exeext conftest.$ac_ext
11309 LIBS=$ac_check_soname_save_LIBS
11311 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11313 $as_echo "not found" >&6; }
11314 GNUTLS_CFLAGS=""
11315 else
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11317 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11319 cat >>confdefs.h <<_ACEOF
11320 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11321 _ACEOF
11326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11327 else
11328 GNUTLS_CFLAGS=""
11332 CPPFLAGS=$ac_save_CPPFLAGS
11333 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11334 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11337 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11338 case "x$with_gnutls" in
11339 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11340 xno) ;;
11341 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11342 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11343 esac
11346 CURSES_LIBS=""
11347 if test "$ac_cv_header_ncurses_h" = "yes"
11348 then
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11350 $as_echo_n "checking for -lncurses... " >&6; }
11351 if ${ac_cv_lib_soname_ncurses+:} false; then :
11352 $as_echo_n "(cached) " >&6
11353 else
11354 ac_check_soname_save_LIBS=$LIBS
11355 LIBS="-lncurses $LIBS"
11356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11357 /* end confdefs.h. */
11359 /* Override any GCC internal prototype to avoid an error.
11360 Use char because int might match the return type of a GCC
11361 builtin and then its argument prototype would still apply. */
11362 #ifdef __cplusplus
11363 extern "C"
11364 #endif
11365 char waddch ();
11367 main ()
11369 return waddch ();
11371 return 0;
11373 _ACEOF
11374 if ac_fn_c_try_link "$LINENO"; then :
11375 case "$LIBEXT" in
11376 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11377 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'` ;;
11378 *) 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'`
11379 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11380 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11381 fi ;;
11382 esac
11384 rm -f core conftest.err conftest.$ac_objext \
11385 conftest$ac_exeext conftest.$ac_ext
11386 LIBS=$ac_check_soname_save_LIBS
11388 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11390 $as_echo "not found" >&6; }
11392 else
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11394 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11396 cat >>confdefs.h <<_ACEOF
11397 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11398 _ACEOF
11400 CURSES_LIBS="-lncurses"
11402 elif test "$ac_cv_header_curses_h" = "yes"
11403 then
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11405 $as_echo_n "checking for -lcurses... " >&6; }
11406 if ${ac_cv_lib_soname_curses+:} false; then :
11407 $as_echo_n "(cached) " >&6
11408 else
11409 ac_check_soname_save_LIBS=$LIBS
11410 LIBS="-lcurses $LIBS"
11411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11412 /* end confdefs.h. */
11414 /* Override any GCC internal prototype to avoid an error.
11415 Use char because int might match the return type of a GCC
11416 builtin and then its argument prototype would still apply. */
11417 #ifdef __cplusplus
11418 extern "C"
11419 #endif
11420 char waddch ();
11422 main ()
11424 return waddch ();
11426 return 0;
11428 _ACEOF
11429 if ac_fn_c_try_link "$LINENO"; then :
11430 case "$LIBEXT" in
11431 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11432 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'` ;;
11433 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11434 if ${ac_cv_lib_soname_curses:+false} :; then :
11435 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11436 fi ;;
11437 esac
11439 rm -f core conftest.err conftest.$ac_objext \
11440 conftest$ac_exeext conftest.$ac_ext
11441 LIBS=$ac_check_soname_save_LIBS
11443 if ${ac_cv_lib_soname_curses:+false} :; then :
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11445 $as_echo "not found" >&6; }
11447 else
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11449 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11451 cat >>confdefs.h <<_ACEOF
11452 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11453 _ACEOF
11455 CURSES_LIBS="-lcurses"
11458 ac_save_LIBS="$LIBS"
11459 LIBS="$LIBS $CURSES_LIBS"
11460 for ac_func in mousemask
11461 do :
11462 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11463 if test "x$ac_cv_func_mousemask" = xyes; then :
11464 cat >>confdefs.h <<_ACEOF
11465 #define HAVE_MOUSEMASK 1
11466 _ACEOF
11469 done
11471 LIBS="$ac_save_LIBS"
11472 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11473 case "x$with_curses" in
11474 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11475 xno) ;;
11476 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11477 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11478 esac
11481 if test "x$with_sane" != "xno"
11482 then
11483 if ${SANE_CFLAGS:+false} :; then :
11484 if ${PKG_CONFIG+:} false; then :
11485 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11488 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11489 if ${SANE_LIBS:+false} :; then :
11490 if ${PKG_CONFIG+:} false; then :
11491 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11494 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11496 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11497 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11498 ac_save_CPPFLAGS=$CPPFLAGS
11499 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11500 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11501 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11503 $as_echo_n "checking for -lsane... " >&6; }
11504 if ${ac_cv_lib_soname_sane+:} false; then :
11505 $as_echo_n "(cached) " >&6
11506 else
11507 ac_check_soname_save_LIBS=$LIBS
11508 LIBS="-lsane $SANE_LIBS $LIBS"
11509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11510 /* end confdefs.h. */
11512 /* Override any GCC internal prototype to avoid an error.
11513 Use char because int might match the return type of a GCC
11514 builtin and then its argument prototype would still apply. */
11515 #ifdef __cplusplus
11516 extern "C"
11517 #endif
11518 char sane_init ();
11520 main ()
11522 return sane_init ();
11524 return 0;
11526 _ACEOF
11527 if ac_fn_c_try_link "$LINENO"; then :
11528 case "$LIBEXT" in
11529 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11530 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'` ;;
11531 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11532 if ${ac_cv_lib_soname_sane:+false} :; then :
11533 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11534 fi ;;
11535 esac
11537 rm -f core conftest.err conftest.$ac_objext \
11538 conftest$ac_exeext conftest.$ac_ext
11539 LIBS=$ac_check_soname_save_LIBS
11541 if ${ac_cv_lib_soname_sane:+false} :; then :
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11543 $as_echo "not found" >&6; }
11544 SANE_CFLAGS=""
11545 else
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11547 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11549 cat >>confdefs.h <<_ACEOF
11550 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11551 _ACEOF
11555 else
11556 SANE_CFLAGS=""
11560 CPPFLAGS=$ac_save_CPPFLAGS
11561 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11562 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11565 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11566 case "x$with_sane" in
11567 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11568 xno) ;;
11569 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11570 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11571 esac
11574 if test "x$with_v4l" != "xno"
11575 then
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11577 $as_echo_n "checking for -lv4l1... " >&6; }
11578 if ${ac_cv_lib_soname_v4l1+:} false; then :
11579 $as_echo_n "(cached) " >&6
11580 else
11581 ac_check_soname_save_LIBS=$LIBS
11582 LIBS="-lv4l1 $LIBS"
11583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11584 /* end confdefs.h. */
11586 /* Override any GCC internal prototype to avoid an error.
11587 Use char because int might match the return type of a GCC
11588 builtin and then its argument prototype would still apply. */
11589 #ifdef __cplusplus
11590 extern "C"
11591 #endif
11592 char v4l1_open ();
11594 main ()
11596 return v4l1_open ();
11598 return 0;
11600 _ACEOF
11601 if ac_fn_c_try_link "$LINENO"; then :
11602 case "$LIBEXT" in
11603 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11604 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'` ;;
11605 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11606 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11607 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11608 fi ;;
11609 esac
11611 rm -f core conftest.err conftest.$ac_objext \
11612 conftest$ac_exeext conftest.$ac_ext
11613 LIBS=$ac_check_soname_save_LIBS
11615 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11617 $as_echo "not found" >&6; }
11619 else
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11621 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11623 cat >>confdefs.h <<_ACEOF
11624 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11625 _ACEOF
11630 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11631 case "x$with_v4l" in
11632 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11633 xno) ;;
11634 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11635 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11636 esac
11639 if test "x$with_gphoto" != "xno"
11640 then
11641 if ${GPHOTO2_CFLAGS:+false} :; then :
11642 if ${PKG_CONFIG+:} false; then :
11643 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11646 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11647 if ${GPHOTO2_LIBS:+false} :; then :
11648 if ${PKG_CONFIG+:} false; then :
11649 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11652 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11653 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11654 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11655 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11656 ac_save_CPPFLAGS=$CPPFLAGS
11657 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11658 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11659 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11661 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11662 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11663 $as_echo_n "(cached) " >&6
11664 else
11665 ac_check_lib_save_LIBS=$LIBS
11666 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11668 /* end confdefs.h. */
11670 /* Override any GCC internal prototype to avoid an error.
11671 Use char because int might match the return type of a GCC
11672 builtin and then its argument prototype would still apply. */
11673 #ifdef __cplusplus
11674 extern "C"
11675 #endif
11676 char gp_camera_new ();
11678 main ()
11680 return gp_camera_new ();
11682 return 0;
11684 _ACEOF
11685 if ac_fn_c_try_link "$LINENO"; then :
11686 ac_cv_lib_gphoto2_gp_camera_new=yes
11687 else
11688 ac_cv_lib_gphoto2_gp_camera_new=no
11690 rm -f core conftest.err conftest.$ac_objext \
11691 conftest$ac_exeext conftest.$ac_ext
11692 LIBS=$ac_check_lib_save_LIBS
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11695 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11696 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11698 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11700 else
11701 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11704 else
11705 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11709 CPPFLAGS=$ac_save_CPPFLAGS
11710 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11711 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11713 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11714 if ${PKG_CONFIG+:} false; then :
11715 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11718 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11719 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11720 if ${PKG_CONFIG+:} false; then :
11721 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11724 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11725 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11726 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11727 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11728 ac_save_CPPFLAGS=$CPPFLAGS
11729 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11730 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11731 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11733 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11734 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11735 $as_echo_n "(cached) " >&6
11736 else
11737 ac_check_lib_save_LIBS=$LIBS
11738 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11740 /* end confdefs.h. */
11742 /* Override any GCC internal prototype to avoid an error.
11743 Use char because int might match the return type of a GCC
11744 builtin and then its argument prototype would still apply. */
11745 #ifdef __cplusplus
11746 extern "C"
11747 #endif
11748 char gp_port_info_list_new ();
11750 main ()
11752 return gp_port_info_list_new ();
11754 return 0;
11756 _ACEOF
11757 if ac_fn_c_try_link "$LINENO"; then :
11758 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11759 else
11760 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11762 rm -f core conftest.err conftest.$ac_objext \
11763 conftest$ac_exeext conftest.$ac_ext
11764 LIBS=$ac_check_lib_save_LIBS
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11767 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11768 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11770 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11772 else
11773 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11776 else
11777 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11781 CPPFLAGS=$ac_save_CPPFLAGS
11782 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11783 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11786 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11787 case "x$with_gphoto" in
11788 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11789 xno) ;;
11790 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11791 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11792 esac
11794 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11795 case "x$with_gphoto" in
11796 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11797 xno) ;;
11798 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11799 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11800 esac
11804 if test "$ac_cv_header_resolv_h" = "yes"
11805 then
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11807 $as_echo_n "checking for resolver library... " >&6; }
11808 if ${ac_cv_have_resolv+:} false; then :
11809 $as_echo_n "(cached) " >&6
11810 else
11811 ac_save_LIBS="$LIBS"
11812 for lib in '' -lresolv
11814 LIBS="$lib $ac_save_LIBS"
11815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11816 /* end confdefs.h. */
11817 #ifdef HAVE_NETINET_IN_H
11818 #include <netinet/in.h>
11819 #endif
11820 #include <resolv.h>
11822 main ()
11824 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11826 return 0;
11828 _ACEOF
11829 if ac_fn_c_try_link "$LINENO"; then :
11830 ac_cv_have_resolv=${lib:-"none required"}
11831 else
11832 ac_cv_have_resolv="not found"
11834 rm -f core conftest.err conftest.$ac_objext \
11835 conftest$ac_exeext conftest.$ac_ext
11836 test "x$ac_cv_have_resolv" = "xnot found" || break
11837 done
11838 LIBS="$ac_save_LIBS"
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11841 $as_echo "$ac_cv_have_resolv" >&6; }
11843 case "$ac_cv_have_resolv" in
11844 "not found") ;;
11845 "none required")
11847 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11850 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11852 RESOLV_LIBS=$ac_cv_have_resolv
11854 esac
11857 if test "x$with_cms" != "xno"
11858 then
11859 if ${LCMS2_CFLAGS:+false} :; then :
11860 if ${PKG_CONFIG+:} false; then :
11861 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11865 if ${LCMS2_LIBS:+false} :; then :
11866 if ${PKG_CONFIG+:} false; then :
11867 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11871 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11872 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11873 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11874 ac_save_CPPFLAGS=$CPPFLAGS
11875 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11876 for ac_header in lcms2.h
11877 do :
11878 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11879 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11880 cat >>confdefs.h <<_ACEOF
11881 #define HAVE_LCMS2_H 1
11882 _ACEOF
11886 done
11888 if test "$ac_cv_header_lcms2_h" = "yes"
11889 then
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11891 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11892 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11893 $as_echo_n "(cached) " >&6
11894 else
11895 ac_check_lib_save_LIBS=$LIBS
11896 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11898 /* end confdefs.h. */
11900 /* Override any GCC internal prototype to avoid an error.
11901 Use char because int might match the return type of a GCC
11902 builtin and then its argument prototype would still apply. */
11903 #ifdef __cplusplus
11904 extern "C"
11905 #endif
11906 char cmsOpenProfileFromFile ();
11908 main ()
11910 return cmsOpenProfileFromFile ();
11912 return 0;
11914 _ACEOF
11915 if ac_fn_c_try_link "$LINENO"; then :
11916 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11917 else
11918 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11920 rm -f core conftest.err conftest.$ac_objext \
11921 conftest$ac_exeext conftest.$ac_ext
11922 LIBS=$ac_check_lib_save_LIBS
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11925 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11926 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11928 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11930 else
11931 LCMS2_LIBS=""
11934 else
11935 LCMS2_CFLAGS=""
11936 LCMS2_LIBS=""
11938 CPPFLAGS=$ac_save_CPPFLAGS
11939 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11940 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11943 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11944 case "x$with_cms" in
11945 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11946 xno) ;;
11947 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11948 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11949 esac
11952 if test "x$with_freetype" != "xno"
11953 then
11954 if ${FREETYPE_CFLAGS:+false} :; then :
11955 if ${PKG_CONFIG+:} false; then :
11956 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11959 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11960 if ${FREETYPE_LIBS:+false} :; then :
11961 if ${PKG_CONFIG+:} false; then :
11962 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11965 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11966 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11967 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11968 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11969 ac_save_CPPFLAGS=$CPPFLAGS
11970 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11971 for ac_header in ft2build.h
11972 do :
11973 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11974 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11975 cat >>confdefs.h <<_ACEOF
11976 #define HAVE_FT2BUILD_H 1
11977 _ACEOF
11981 done
11983 if test "$ac_cv_header_ft2build_h" = "yes"
11984 then
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11986 $as_echo_n "checking for -lfreetype... " >&6; }
11987 if ${ac_cv_lib_soname_freetype+:} false; then :
11988 $as_echo_n "(cached) " >&6
11989 else
11990 ac_check_soname_save_LIBS=$LIBS
11991 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11993 /* end confdefs.h. */
11995 /* Override any GCC internal prototype to avoid an error.
11996 Use char because int might match the return type of a GCC
11997 builtin and then its argument prototype would still apply. */
11998 #ifdef __cplusplus
11999 extern "C"
12000 #endif
12001 char FT_Init_FreeType ();
12003 main ()
12005 return FT_Init_FreeType ();
12007 return 0;
12009 _ACEOF
12010 if ac_fn_c_try_link "$LINENO"; then :
12011 case "$LIBEXT" in
12012 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12013 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'` ;;
12014 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12015 if ${ac_cv_lib_soname_freetype:+false} :; then :
12016 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12017 fi ;;
12018 esac
12020 rm -f core conftest.err conftest.$ac_objext \
12021 conftest$ac_exeext conftest.$ac_ext
12022 LIBS=$ac_check_soname_save_LIBS
12024 if ${ac_cv_lib_soname_freetype:+false} :; then :
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12026 $as_echo "not found" >&6; }
12027 FREETYPE_LIBS=""
12028 else
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12030 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12032 cat >>confdefs.h <<_ACEOF
12033 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12034 _ACEOF
12037 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12039 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12040 #include FT_MODULE_H
12042 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12044 cat >>confdefs.h <<_ACEOF
12045 #define HAVE_FT_TRUETYPEENGINETYPE 1
12046 _ACEOF
12052 else
12053 FREETYPE_CFLAGS=""
12054 FREETYPE_LIBS=""
12056 CPPFLAGS=$ac_save_CPPFLAGS
12057 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12058 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12061 if test "x$ac_cv_lib_soname_freetype" = x; then :
12062 case "x$with_freetype" in
12063 xno) ;;
12064 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12065 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12066 esac
12068 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12071 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12072 if ${ac_cv_c_ppdev+:} false; then :
12073 $as_echo_n "(cached) " >&6
12074 else
12075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12076 /* end confdefs.h. */
12077 #ifdef HAVE_SYS_IOCTL_H
12078 # include <sys/ioctl.h>
12079 #endif
12080 #include <linux/ppdev.h>
12082 main ()
12084 ioctl (1,PPCLAIM,0)
12086 return 0;
12088 _ACEOF
12089 if ac_fn_c_try_compile "$LINENO"; then :
12090 ac_cv_c_ppdev="yes"
12091 else
12092 ac_cv_c_ppdev="no"
12094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12097 $as_echo "$ac_cv_c_ppdev" >&6; }
12098 if test "$ac_cv_c_ppdev" = "yes"
12099 then
12101 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12105 ac_wine_check_funcs_save_LIBS="$LIBS"
12106 LIBS="$LIBS $PTHREAD_LIBS"
12107 for ac_func in \
12108 pthread_attr_get_np \
12109 pthread_getattr_np \
12110 pthread_getthreadid_np \
12111 pthread_get_stackaddr_np \
12112 pthread_get_stacksize_np
12113 do :
12114 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12115 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12116 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12117 cat >>confdefs.h <<_ACEOF
12118 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12119 _ACEOF
12122 done
12124 LIBS="$ac_wine_check_funcs_save_LIBS"
12126 if test "$ac_cv_header_zlib_h" = "yes"
12127 then
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12129 $as_echo_n "checking for inflate in -lz... " >&6; }
12130 if ${ac_cv_lib_z_inflate+:} false; then :
12131 $as_echo_n "(cached) " >&6
12132 else
12133 ac_check_lib_save_LIBS=$LIBS
12134 LIBS="-lz $LIBS"
12135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12136 /* end confdefs.h. */
12138 /* Override any GCC internal prototype to avoid an error.
12139 Use char because int might match the return type of a GCC
12140 builtin and then its argument prototype would still apply. */
12141 #ifdef __cplusplus
12142 extern "C"
12143 #endif
12144 char inflate ();
12146 main ()
12148 return inflate ();
12150 return 0;
12152 _ACEOF
12153 if ac_fn_c_try_link "$LINENO"; then :
12154 ac_cv_lib_z_inflate=yes
12155 else
12156 ac_cv_lib_z_inflate=no
12158 rm -f core conftest.err conftest.$ac_objext \
12159 conftest$ac_exeext conftest.$ac_ext
12160 LIBS=$ac_check_lib_save_LIBS
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12163 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12164 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12166 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12168 Z_LIBS="-lz"
12173 if test "x$Z_LIBS" = "x"; then :
12174 case "x$with_zlib" in
12175 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12176 xno) ;;
12177 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12178 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12179 esac
12182 if test "x$enable_tools" != xno
12183 then
12184 if test "$ac_cv_header_gettext_po_h" = "yes"
12185 then
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12187 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12188 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12189 $as_echo_n "(cached) " >&6
12190 else
12191 ac_check_lib_save_LIBS=$LIBS
12192 LIBS="-lgettextpo $LIBS"
12193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12194 /* end confdefs.h. */
12196 /* Override any GCC internal prototype to avoid an error.
12197 Use char because int might match the return type of a GCC
12198 builtin and then its argument prototype would still apply. */
12199 #ifdef __cplusplus
12200 extern "C"
12201 #endif
12202 char po_message_msgctxt ();
12204 main ()
12206 return po_message_msgctxt ();
12208 return 0;
12210 _ACEOF
12211 if ac_fn_c_try_link "$LINENO"; then :
12212 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12213 else
12214 ac_cv_lib_gettextpo_po_message_msgctxt=no
12216 rm -f core conftest.err conftest.$ac_objext \
12217 conftest$ac_exeext conftest.$ac_ext
12218 LIBS=$ac_check_lib_save_LIBS
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12221 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12222 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12224 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12226 GETTEXTPO_LIBS="-lgettextpo"
12231 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12232 case "x$with_gettextpo" in
12233 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12234 xno) ;;
12235 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12236 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12237 esac
12241 if test "x$with_gstreamer" != "xno"
12242 then
12243 if ${GSTREAMER_CFLAGS:+false} :; then :
12244 if ${PKG_CONFIG+:} false; then :
12245 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12249 if ${GSTREAMER_LIBS:+false} :; then :
12250 if ${PKG_CONFIG+:} false; then :
12251 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12256 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12257 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12258 ac_save_CPPFLAGS=$CPPFLAGS
12259 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12260 ac_gst_incl=""
12261 for i in $GSTREAMER_CFLAGS
12263 case "$i" in
12264 -I*) ac_gst_incl="$ac_gst_incl $i";;
12265 esac
12266 done
12267 GSTREAMER_CFLAGS=$ac_gst_incl
12268 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12269 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12270 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12271 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12272 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12274 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12276 /* end confdefs.h. */
12277 #include <gst/app/gstappsink.h>
12279 main ()
12281 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12283 return 0;
12285 _ACEOF
12286 if ac_fn_c_try_compile "$LINENO"; then :
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12288 $as_echo "yes" >&6; }
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12290 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12291 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12292 $as_echo_n "(cached) " >&6
12293 else
12294 ac_check_lib_save_LIBS=$LIBS
12295 LIBS="-lgstreamer-0.10 $LIBS"
12296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12297 /* end confdefs.h. */
12299 /* Override any GCC internal prototype to avoid an error.
12300 Use char because int might match the return type of a GCC
12301 builtin and then its argument prototype would still apply. */
12302 #ifdef __cplusplus
12303 extern "C"
12304 #endif
12305 char gst_pad_get_caps_reffed ();
12307 main ()
12309 return gst_pad_get_caps_reffed ();
12311 return 0;
12313 _ACEOF
12314 if ac_fn_c_try_link "$LINENO"; then :
12315 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12316 else
12317 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12319 rm -f core conftest.err conftest.$ac_objext \
12320 conftest$ac_exeext conftest.$ac_ext
12321 LIBS=$ac_check_lib_save_LIBS
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12324 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12325 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12327 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12328 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12329 $as_echo_n "(cached) " >&6
12330 else
12331 ac_check_lib_save_LIBS=$LIBS
12332 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12334 /* end confdefs.h. */
12336 /* Override any GCC internal prototype to avoid an error.
12337 Use char because int might match the return type of a GCC
12338 builtin and then its argument prototype would still apply. */
12339 #ifdef __cplusplus
12340 extern "C"
12341 #endif
12342 char gst_app_buffer_new ();
12344 main ()
12346 return gst_app_buffer_new ();
12348 return 0;
12350 _ACEOF
12351 if ac_fn_c_try_link "$LINENO"; then :
12352 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12353 else
12354 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12356 rm -f core conftest.err conftest.$ac_objext \
12357 conftest$ac_exeext conftest.$ac_ext
12358 LIBS=$ac_check_lib_save_LIBS
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12361 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12362 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12368 else
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12370 $as_echo "no" >&6; }
12372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12376 else
12377 GSTREAMER_CFLAGS=""
12381 CPPFLAGS=$ac_save_CPPFLAGS
12382 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12383 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12386 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12387 case "x$with_gstreamer" in
12388 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12389 xno) ;;
12390 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12391 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12392 esac
12394 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12396 ALSA_LIBS=""
12398 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12399 then
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12401 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12402 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12403 $as_echo_n "(cached) " >&6
12404 else
12405 ac_check_lib_save_LIBS=$LIBS
12406 LIBS="-lasound $LIBS"
12407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12410 /* Override any GCC internal prototype to avoid an error.
12411 Use char because int might match the return type of a GCC
12412 builtin and then its argument prototype would still apply. */
12413 #ifdef __cplusplus
12414 extern "C"
12415 #endif
12416 char snd_pcm_hw_params_get_access_mask ();
12418 main ()
12420 return snd_pcm_hw_params_get_access_mask ();
12422 return 0;
12424 _ACEOF
12425 if ac_fn_c_try_link "$LINENO"; then :
12426 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12427 else
12428 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12430 rm -f core conftest.err conftest.$ac_objext \
12431 conftest$ac_exeext conftest.$ac_ext
12432 LIBS=$ac_check_lib_save_LIBS
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12435 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12436 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12438 /* end confdefs.h. */
12439 #ifdef HAVE_ALSA_ASOUNDLIB_H
12440 #include <alsa/asoundlib.h>
12441 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12442 #include <sys/asoundlib.h>
12443 #endif
12445 main ()
12447 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12449 return 0;
12451 _ACEOF
12452 if ac_fn_c_try_compile "$LINENO"; then :
12453 ALSA_LIBS="-lasound"
12455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12460 if test "x$with_oss" != xno
12461 then
12462 ac_save_CPPFLAGS="$CPPFLAGS"
12463 if test -f /etc/oss.conf
12464 then
12465 . /etc/oss.conf
12467 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12468 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12469 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12470 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12471 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12473 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12475 cat >>confdefs.h <<_ACEOF
12476 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12477 _ACEOF
12479 OSS4_CFLAGS="$ac_oss_incl"
12486 CPPFLAGS="$ac_save_CPPFLAGS"
12487 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12488 then
12489 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12493 if test "x$with_capi" != "xno"
12494 then
12495 if ${CAPI20_CFLAGS:+false} :; then :
12496 if ${PKG_CONFIG+:} false; then :
12497 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12501 if ${CAPI20_LIBS:+false} :; then :
12502 if ${PKG_CONFIG+:} false; then :
12503 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12508 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12509 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12510 ac_save_CPPFLAGS=$CPPFLAGS
12511 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12512 for ac_header in capi20.h linux/capi.h
12513 do :
12514 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12515 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12517 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12518 cat >>confdefs.h <<_ACEOF
12519 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12520 _ACEOF
12524 done
12526 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12527 then
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12529 $as_echo_n "checking for -lcapi20... " >&6; }
12530 if ${ac_cv_lib_soname_capi20+:} false; then :
12531 $as_echo_n "(cached) " >&6
12532 else
12533 ac_check_soname_save_LIBS=$LIBS
12534 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12536 /* end confdefs.h. */
12538 /* Override any GCC internal prototype to avoid an error.
12539 Use char because int might match the return type of a GCC
12540 builtin and then its argument prototype would still apply. */
12541 #ifdef __cplusplus
12542 extern "C"
12543 #endif
12544 char capi20_register ();
12546 main ()
12548 return capi20_register ();
12550 return 0;
12552 _ACEOF
12553 if ac_fn_c_try_link "$LINENO"; then :
12554 case "$LIBEXT" in
12555 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12556 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'` ;;
12557 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12558 if ${ac_cv_lib_soname_capi20:+false} :; then :
12559 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12560 fi ;;
12561 esac
12563 rm -f core conftest.err conftest.$ac_objext \
12564 conftest$ac_exeext conftest.$ac_ext
12565 LIBS=$ac_check_soname_save_LIBS
12567 if ${ac_cv_lib_soname_capi20:+false} :; then :
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12569 $as_echo "not found" >&6; }
12571 else
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12573 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12575 cat >>confdefs.h <<_ACEOF
12576 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12577 _ACEOF
12582 CPPFLAGS=$ac_save_CPPFLAGS
12583 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12584 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12587 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12588 case "x$with_capi" in
12589 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12590 xno) ;;
12591 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12592 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12593 esac
12596 CUPS_CFLAGS=""
12598 if test "x$with_cups" != "xno"
12599 then
12600 ac_save_CPPFLAGS="$CPPFLAGS"
12601 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12602 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12603 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12604 for ac_header in cups/cups.h
12605 do :
12606 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12607 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12608 cat >>confdefs.h <<_ACEOF
12609 #define HAVE_CUPS_CUPS_H 1
12610 _ACEOF
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12612 $as_echo_n "checking for -lcups... " >&6; }
12613 if ${ac_cv_lib_soname_cups+:} false; then :
12614 $as_echo_n "(cached) " >&6
12615 else
12616 ac_check_soname_save_LIBS=$LIBS
12617 LIBS="-lcups $ac_cups_libs $LIBS"
12618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12619 /* end confdefs.h. */
12621 /* Override any GCC internal prototype to avoid an error.
12622 Use char because int might match the return type of a GCC
12623 builtin and then its argument prototype would still apply. */
12624 #ifdef __cplusplus
12625 extern "C"
12626 #endif
12627 char cupsGetDefault ();
12629 main ()
12631 return cupsGetDefault ();
12633 return 0;
12635 _ACEOF
12636 if ac_fn_c_try_link "$LINENO"; then :
12637 case "$LIBEXT" in
12638 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12639 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'` ;;
12640 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12641 if ${ac_cv_lib_soname_cups:+false} :; then :
12642 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12643 fi ;;
12644 esac
12646 rm -f core conftest.err conftest.$ac_objext \
12647 conftest$ac_exeext conftest.$ac_ext
12648 LIBS=$ac_check_soname_save_LIBS
12650 if ${ac_cv_lib_soname_cups:+false} :; then :
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12652 $as_echo "not found" >&6; }
12654 else
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12656 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12658 cat >>confdefs.h <<_ACEOF
12659 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12660 _ACEOF
12662 CUPS_CFLAGS="$ac_cups_cflags"
12666 done
12668 CPPFLAGS="$ac_save_CPPFLAGS"
12670 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12671 case "x$with_cups" in
12672 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12673 xno) ;;
12674 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12675 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12676 esac
12679 if test "x$with_fontconfig" != "xno"
12680 then
12681 if ${FONTCONFIG_CFLAGS:+false} :; then :
12682 if ${PKG_CONFIG+:} false; then :
12683 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12686 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12687 if ${FONTCONFIG_LIBS:+false} :; then :
12688 if ${PKG_CONFIG+:} false; then :
12689 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12692 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12694 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12695 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12696 ac_save_CPPFLAGS=$CPPFLAGS
12697 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12698 for ac_header in fontconfig/fontconfig.h
12699 do :
12700 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12701 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12702 cat >>confdefs.h <<_ACEOF
12703 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12704 _ACEOF
12708 done
12710 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12711 then
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12713 $as_echo_n "checking for -lfontconfig... " >&6; }
12714 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12715 $as_echo_n "(cached) " >&6
12716 else
12717 ac_check_soname_save_LIBS=$LIBS
12718 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12720 /* end confdefs.h. */
12722 /* Override any GCC internal prototype to avoid an error.
12723 Use char because int might match the return type of a GCC
12724 builtin and then its argument prototype would still apply. */
12725 #ifdef __cplusplus
12726 extern "C"
12727 #endif
12728 char FcInit ();
12730 main ()
12732 return FcInit ();
12734 return 0;
12736 _ACEOF
12737 if ac_fn_c_try_link "$LINENO"; then :
12738 case "$LIBEXT" in
12739 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12740 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'` ;;
12741 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12742 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12743 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12744 fi ;;
12745 esac
12747 rm -f core conftest.err conftest.$ac_objext \
12748 conftest$ac_exeext conftest.$ac_ext
12749 LIBS=$ac_check_soname_save_LIBS
12751 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12753 $as_echo "not found" >&6; }
12754 FONTCONFIG_CFLAGS=""
12755 else
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12757 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12759 cat >>confdefs.h <<_ACEOF
12760 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12761 _ACEOF
12765 else
12766 FONTCONFIG_CFLAGS=""
12768 CPPFLAGS=$ac_save_CPPFLAGS
12769 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12770 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12773 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12774 case "x$with_fontconfig" in
12775 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12776 xno) ;;
12777 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12778 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12779 esac
12782 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12783 then
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12785 $as_echo_n "checking for -lgsm... " >&6; }
12786 if ${ac_cv_lib_soname_gsm+:} false; then :
12787 $as_echo_n "(cached) " >&6
12788 else
12789 ac_check_soname_save_LIBS=$LIBS
12790 LIBS="-lgsm $LIBS"
12791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12792 /* end confdefs.h. */
12794 /* Override any GCC internal prototype to avoid an error.
12795 Use char because int might match the return type of a GCC
12796 builtin and then its argument prototype would still apply. */
12797 #ifdef __cplusplus
12798 extern "C"
12799 #endif
12800 char gsm_create ();
12802 main ()
12804 return gsm_create ();
12806 return 0;
12808 _ACEOF
12809 if ac_fn_c_try_link "$LINENO"; then :
12810 case "$LIBEXT" in
12811 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12812 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'` ;;
12813 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12814 if ${ac_cv_lib_soname_gsm:+false} :; then :
12815 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12816 fi ;;
12817 esac
12819 rm -f core conftest.err conftest.$ac_objext \
12820 conftest$ac_exeext conftest.$ac_ext
12821 LIBS=$ac_check_soname_save_LIBS
12823 if ${ac_cv_lib_soname_gsm:+false} :; then :
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12825 $as_echo "not found" >&6; }
12827 else
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12829 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12831 cat >>confdefs.h <<_ACEOF
12832 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12833 _ACEOF
12838 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12839 case "x$with_gsm" in
12840 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12841 xno) ;;
12842 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12843 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12844 esac
12847 if test "x$with_jpeg" != "xno"
12848 then
12849 if ${JPEG_CFLAGS:+false} :; then :
12850 if ${PKG_CONFIG+:} false; then :
12851 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12855 if ${JPEG_LIBS:+false} :; then :
12856 if ${PKG_CONFIG+:} false; then :
12857 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12862 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12863 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12864 ac_save_CPPFLAGS=$CPPFLAGS
12865 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12866 for ac_header in jpeglib.h
12867 do :
12868 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12869 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12870 cat >>confdefs.h <<_ACEOF
12871 #define HAVE_JPEGLIB_H 1
12872 _ACEOF
12876 done
12878 if test "$ac_cv_header_jpeglib_h" = "yes"
12879 then
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12881 $as_echo_n "checking for -ljpeg... " >&6; }
12882 if ${ac_cv_lib_soname_jpeg+:} false; then :
12883 $as_echo_n "(cached) " >&6
12884 else
12885 ac_check_soname_save_LIBS=$LIBS
12886 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12888 /* end confdefs.h. */
12890 /* Override any GCC internal prototype to avoid an error.
12891 Use char because int might match the return type of a GCC
12892 builtin and then its argument prototype would still apply. */
12893 #ifdef __cplusplus
12894 extern "C"
12895 #endif
12896 char jpeg_start_decompress ();
12898 main ()
12900 return jpeg_start_decompress ();
12902 return 0;
12904 _ACEOF
12905 if ac_fn_c_try_link "$LINENO"; then :
12906 case "$LIBEXT" in
12907 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12908 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'` ;;
12909 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12910 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12911 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12912 fi ;;
12913 esac
12915 rm -f core conftest.err conftest.$ac_objext \
12916 conftest$ac_exeext conftest.$ac_ext
12917 LIBS=$ac_check_soname_save_LIBS
12919 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12921 $as_echo "not found" >&6; }
12922 JPEG_CFLAGS=""
12923 else
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12925 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12927 cat >>confdefs.h <<_ACEOF
12928 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12929 _ACEOF
12933 else
12934 JPEG_CFLAGS=""
12936 CPPFLAGS=$ac_save_CPPFLAGS
12937 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12938 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12941 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12942 case "x$with_jpeg" in
12943 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12944 xno) ;;
12945 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12946 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12947 esac
12950 if test "x$with_png" != "xno"
12951 then
12952 if ${PNG_CFLAGS:+false} :; then :
12953 if ${PKG_CONFIG+:} false; then :
12954 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12957 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12958 if ${PNG_LIBS:+false} :; then :
12959 if ${PKG_CONFIG+:} false; then :
12960 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12963 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12965 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12966 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12967 ac_save_CPPFLAGS=$CPPFLAGS
12968 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12969 for ac_header in png.h
12970 do :
12971 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12972 if test "x$ac_cv_header_png_h" = xyes; then :
12973 cat >>confdefs.h <<_ACEOF
12974 #define HAVE_PNG_H 1
12975 _ACEOF
12979 done
12981 if test "$ac_cv_header_png_h" = "yes"
12982 then
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12984 $as_echo_n "checking for -lpng... " >&6; }
12985 if ${ac_cv_lib_soname_png+:} false; then :
12986 $as_echo_n "(cached) " >&6
12987 else
12988 ac_check_soname_save_LIBS=$LIBS
12989 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12991 /* end confdefs.h. */
12993 /* Override any GCC internal prototype to avoid an error.
12994 Use char because int might match the return type of a GCC
12995 builtin and then its argument prototype would still apply. */
12996 #ifdef __cplusplus
12997 extern "C"
12998 #endif
12999 char png_create_read_struct ();
13001 main ()
13003 return png_create_read_struct ();
13005 return 0;
13007 _ACEOF
13008 if ac_fn_c_try_link "$LINENO"; then :
13009 case "$LIBEXT" in
13010 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13011 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'` ;;
13012 *) 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'`
13013 if ${ac_cv_lib_soname_png:+false} :; then :
13014 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13015 fi ;;
13016 esac
13018 rm -f core conftest.err conftest.$ac_objext \
13019 conftest$ac_exeext conftest.$ac_ext
13020 LIBS=$ac_check_soname_save_LIBS
13022 if ${ac_cv_lib_soname_png:+false} :; then :
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13024 $as_echo "not found" >&6; }
13025 PNG_CFLAGS=""
13026 else
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13028 $as_echo "$ac_cv_lib_soname_png" >&6; }
13030 cat >>confdefs.h <<_ACEOF
13031 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13032 _ACEOF
13034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13035 /* end confdefs.h. */
13036 #include <png.h>
13038 main ()
13040 typeof(png_set_expand_gray_1_2_4_to_8) *p
13042 return 0;
13044 _ACEOF
13045 if ac_fn_c_try_compile "$LINENO"; then :
13047 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13052 else
13053 PNG_CFLAGS=""
13055 CPPFLAGS=$ac_save_CPPFLAGS
13056 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13057 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13060 if test "x$ac_cv_lib_soname_png" = "x"; then :
13061 case "x$with_png" in
13062 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13063 xno) ;;
13064 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13065 This is an error since --with-png was requested." "$LINENO" 5 ;;
13066 esac
13069 if test "x$with_tiff" != "xno"
13070 then
13071 if ${TIFF_CFLAGS:+false} :; then :
13072 if ${PKG_CONFIG+:} false; then :
13073 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13077 if ${TIFF_LIBS:+false} :; then :
13078 if ${PKG_CONFIG+:} false; then :
13079 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13084 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13085 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13086 ac_save_CPPFLAGS=$CPPFLAGS
13087 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13088 for ac_header in tiffio.h
13089 do :
13090 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13091 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13092 cat >>confdefs.h <<_ACEOF
13093 #define HAVE_TIFFIO_H 1
13094 _ACEOF
13098 done
13100 if test "$ac_cv_header_tiffio_h" = "yes"
13101 then
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13103 $as_echo_n "checking for -ltiff... " >&6; }
13104 if ${ac_cv_lib_soname_tiff+:} false; then :
13105 $as_echo_n "(cached) " >&6
13106 else
13107 ac_check_soname_save_LIBS=$LIBS
13108 LIBS="-ltiff $TIFF_LIBS $LIBS"
13109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13110 /* end confdefs.h. */
13112 /* Override any GCC internal prototype to avoid an error.
13113 Use char because int might match the return type of a GCC
13114 builtin and then its argument prototype would still apply. */
13115 #ifdef __cplusplus
13116 extern "C"
13117 #endif
13118 char TIFFClientOpen ();
13120 main ()
13122 return TIFFClientOpen ();
13124 return 0;
13126 _ACEOF
13127 if ac_fn_c_try_link "$LINENO"; then :
13128 case "$LIBEXT" in
13129 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13130 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'` ;;
13131 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13132 if ${ac_cv_lib_soname_tiff:+false} :; then :
13133 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13134 fi ;;
13135 esac
13137 rm -f core conftest.err conftest.$ac_objext \
13138 conftest$ac_exeext conftest.$ac_ext
13139 LIBS=$ac_check_soname_save_LIBS
13141 if ${ac_cv_lib_soname_tiff:+false} :; then :
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13143 $as_echo "not found" >&6; }
13145 else
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13147 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13149 cat >>confdefs.h <<_ACEOF
13150 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13151 _ACEOF
13156 CPPFLAGS=$ac_save_CPPFLAGS
13157 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13158 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13161 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13162 case "x$with_tiff" in
13163 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13164 xno) ;;
13165 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13166 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13167 esac
13170 if test "x$with_mpg123" != "xno"
13171 then
13172 if ${MPG123_CFLAGS:+false} :; then :
13173 if ${PKG_CONFIG+:} false; then :
13174 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13178 if ${MPG123_LIBS:+false} :; then :
13179 if ${PKG_CONFIG+:} false; then :
13180 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13184 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13185 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13186 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13187 ac_save_CPPFLAGS=$CPPFLAGS
13188 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13189 for ac_header in mpg123.h
13190 do :
13191 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13192 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13193 cat >>confdefs.h <<_ACEOF
13194 #define HAVE_MPG123_H 1
13195 _ACEOF
13199 done
13201 if test "$ac_cv_header_mpg123_h" = "yes"
13202 then
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13204 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13205 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13206 $as_echo_n "(cached) " >&6
13207 else
13208 ac_check_lib_save_LIBS=$LIBS
13209 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13211 /* end confdefs.h. */
13213 /* Override any GCC internal prototype to avoid an error.
13214 Use char because int might match the return type of a GCC
13215 builtin and then its argument prototype would still apply. */
13216 #ifdef __cplusplus
13217 extern "C"
13218 #endif
13219 char mpg123_feed ();
13221 main ()
13223 return mpg123_feed ();
13225 return 0;
13227 _ACEOF
13228 if ac_fn_c_try_link "$LINENO"; then :
13229 ac_cv_lib_mpg123_mpg123_feed=yes
13230 else
13231 ac_cv_lib_mpg123_mpg123_feed=no
13233 rm -f core conftest.err conftest.$ac_objext \
13234 conftest$ac_exeext conftest.$ac_ext
13235 LIBS=$ac_check_lib_save_LIBS
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13238 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13239 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13241 else
13242 MPG123_LIBS=""
13245 else
13246 MPG123_CFLAGS=""
13247 MPG123_LIBS=""
13249 CPPFLAGS=$ac_save_CPPFLAGS
13250 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13251 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13254 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13255 case "x$with_mpg123" in
13256 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13257 xno) ;;
13258 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13259 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13260 esac
13262 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}
13264 if test "$ac_cv_header_AL_al_h" = "yes"
13265 then
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13267 $as_echo_n "checking for -lopenal... " >&6; }
13268 if ${ac_cv_lib_soname_openal+:} false; then :
13269 $as_echo_n "(cached) " >&6
13270 else
13271 ac_check_soname_save_LIBS=$LIBS
13272 LIBS="-lopenal $LIBS"
13273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13274 /* end confdefs.h. */
13276 /* Override any GCC internal prototype to avoid an error.
13277 Use char because int might match the return type of a GCC
13278 builtin and then its argument prototype would still apply. */
13279 #ifdef __cplusplus
13280 extern "C"
13281 #endif
13282 char alGetSource3i ();
13284 main ()
13286 return alGetSource3i ();
13288 return 0;
13290 _ACEOF
13291 if ac_fn_c_try_link "$LINENO"; then :
13292 case "$LIBEXT" in
13293 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13294 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'` ;;
13295 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13296 if ${ac_cv_lib_soname_openal:+false} :; then :
13297 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13298 fi ;;
13299 esac
13301 rm -f core conftest.err conftest.$ac_objext \
13302 conftest$ac_exeext conftest.$ac_ext
13303 LIBS=$ac_check_soname_save_LIBS
13305 if ${ac_cv_lib_soname_openal:+false} :; then :
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13307 $as_echo "not found" >&6; }
13309 else
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13311 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13313 cat >>confdefs.h <<_ACEOF
13314 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13315 _ACEOF
13317 OPENAL_LIBS="-lopenal"
13319 ac_cv_lib_openal=yes
13321 cat >>confdefs.h <<_ACEOF
13322 #define HAVE_OPENAL 1
13323 _ACEOF
13327 if test "x$ac_cv_lib_openal" != xyes; then :
13328 case "x$with_openal" in
13329 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13330 xno) ;;
13331 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13332 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13333 esac
13335 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13337 if test "$ac_cv_header_kstat_h" = "yes"
13338 then
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13340 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13341 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13342 $as_echo_n "(cached) " >&6
13343 else
13344 ac_check_lib_save_LIBS=$LIBS
13345 LIBS="-lkstat $LIBS"
13346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13347 /* end confdefs.h. */
13349 /* Override any GCC internal prototype to avoid an error.
13350 Use char because int might match the return type of a GCC
13351 builtin and then its argument prototype would still apply. */
13352 #ifdef __cplusplus
13353 extern "C"
13354 #endif
13355 char kstat_open ();
13357 main ()
13359 return kstat_open ();
13361 return 0;
13363 _ACEOF
13364 if ac_fn_c_try_link "$LINENO"; then :
13365 ac_cv_lib_kstat_kstat_open=yes
13366 else
13367 ac_cv_lib_kstat_kstat_open=no
13369 rm -f core conftest.err conftest.$ac_objext \
13370 conftest$ac_exeext conftest.$ac_ext
13371 LIBS=$ac_check_lib_save_LIBS
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13374 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13375 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13377 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13379 KSTAT_LIBS="-lkstat"
13385 if test "$ac_cv_header_libprocstat_h" = "yes"
13386 then
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13388 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13389 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13390 $as_echo_n "(cached) " >&6
13391 else
13392 ac_check_lib_save_LIBS=$LIBS
13393 LIBS="-lprocstat $LIBS"
13394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13395 /* end confdefs.h. */
13397 /* Override any GCC internal prototype to avoid an error.
13398 Use char because int might match the return type of a GCC
13399 builtin and then its argument prototype would still apply. */
13400 #ifdef __cplusplus
13401 extern "C"
13402 #endif
13403 char procstat_open_sysctl ();
13405 main ()
13407 return procstat_open_sysctl ();
13409 return 0;
13411 _ACEOF
13412 if ac_fn_c_try_link "$LINENO"; then :
13413 ac_cv_lib_procstat_procstat_open_sysctl=yes
13414 else
13415 ac_cv_lib_procstat_procstat_open_sysctl=no
13417 rm -f core conftest.err conftest.$ac_objext \
13418 conftest$ac_exeext conftest.$ac_ext
13419 LIBS=$ac_check_lib_save_LIBS
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13422 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13423 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13425 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13427 PROCSTAT_LIBS="-lprocstat"
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13434 $as_echo_n "checking for -lodbc... " >&6; }
13435 if ${ac_cv_lib_soname_odbc+:} false; then :
13436 $as_echo_n "(cached) " >&6
13437 else
13438 ac_check_soname_save_LIBS=$LIBS
13439 LIBS="-lodbc $LIBS"
13440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13441 /* end confdefs.h. */
13443 /* Override any GCC internal prototype to avoid an error.
13444 Use char because int might match the return type of a GCC
13445 builtin and then its argument prototype would still apply. */
13446 #ifdef __cplusplus
13447 extern "C"
13448 #endif
13449 char SQLConnect ();
13451 main ()
13453 return SQLConnect ();
13455 return 0;
13457 _ACEOF
13458 if ac_fn_c_try_link "$LINENO"; then :
13459 case "$LIBEXT" in
13460 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13461 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'` ;;
13462 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13463 if ${ac_cv_lib_soname_odbc:+false} :; then :
13464 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13465 fi ;;
13466 esac
13468 rm -f core conftest.err conftest.$ac_objext \
13469 conftest$ac_exeext conftest.$ac_ext
13470 LIBS=$ac_check_soname_save_LIBS
13472 if ${ac_cv_lib_soname_odbc:+false} :; then :
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13474 $as_echo "not found" >&6; }
13475 cat >>confdefs.h <<_ACEOF
13476 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13477 _ACEOF
13479 else
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13481 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13483 cat >>confdefs.h <<_ACEOF
13484 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13485 _ACEOF
13490 if test "x$with_netapi" != "xno"
13491 then
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13493 $as_echo_n "checking for -lnetapi... " >&6; }
13494 if ${ac_cv_lib_soname_netapi+:} false; then :
13495 $as_echo_n "(cached) " >&6
13496 else
13497 ac_check_soname_save_LIBS=$LIBS
13498 LIBS="-lnetapi $LIBS"
13499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13500 /* end confdefs.h. */
13502 /* Override any GCC internal prototype to avoid an error.
13503 Use char because int might match the return type of a GCC
13504 builtin and then its argument prototype would still apply. */
13505 #ifdef __cplusplus
13506 extern "C"
13507 #endif
13508 char libnetapi_init ();
13510 main ()
13512 return libnetapi_init ();
13514 return 0;
13516 _ACEOF
13517 if ac_fn_c_try_link "$LINENO"; then :
13518 case "$LIBEXT" in
13519 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13520 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'` ;;
13521 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13522 if ${ac_cv_lib_soname_netapi:+false} :; then :
13523 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13524 fi ;;
13525 esac
13527 rm -f core conftest.err conftest.$ac_objext \
13528 conftest$ac_exeext conftest.$ac_ext
13529 LIBS=$ac_check_soname_save_LIBS
13531 if ${ac_cv_lib_soname_netapi:+false} :; then :
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13533 $as_echo "not found" >&6; }
13534 cat >>confdefs.h <<_ACEOF
13535 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13536 _ACEOF
13538 else
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13540 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13542 cat >>confdefs.h <<_ACEOF
13543 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13544 _ACEOF
13550 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13551 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13552 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13553 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13555 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13556 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13557 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13558 then
13559 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13563 EXTRACFLAGS=""
13565 if test "x${GCC}" = "xyes"
13566 then
13567 EXTRACFLAGS="-Wall -pipe"
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13570 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13571 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13572 $as_echo_n "(cached) " >&6
13573 else
13574 if test "$cross_compiling" = yes; then :
13575 ac_cv_c_gcc_strength_bug="yes"
13576 else
13577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13578 /* end confdefs.h. */
13579 int L[4] = {0,1,2,3};
13581 main ()
13583 static int Array[3];
13584 unsigned int B = 3;
13585 int i;
13586 for(i=0; i<B; i++) Array[i] = i - 3;
13587 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13588 L[i] = 4;
13589 return (Array[1] != -2 || L[2] != 3)
13591 return 0;
13593 _ACEOF
13594 if ac_fn_c_try_run "$LINENO"; then :
13595 ac_cv_c_gcc_strength_bug="no"
13596 else
13597 ac_cv_c_gcc_strength_bug="yes"
13599 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13600 conftest.$ac_objext conftest.beam conftest.$ac_ext
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13605 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13606 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13607 then
13608 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13612 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13613 if ${ac_cv_cflags__fno_builtin+:} false; then :
13614 $as_echo_n "(cached) " >&6
13615 else
13616 ac_wine_try_cflags_saved=$CFLAGS
13617 CFLAGS="$CFLAGS -fno-builtin"
13618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13619 /* end confdefs.h. */
13620 int main(int argc, char **argv) { return 0; }
13621 _ACEOF
13622 if ac_fn_c_try_link "$LINENO"; then :
13623 ac_cv_cflags__fno_builtin=yes
13624 else
13625 ac_cv_cflags__fno_builtin=no
13627 rm -f core conftest.err conftest.$ac_objext \
13628 conftest$ac_exeext conftest.$ac_ext
13629 CFLAGS=$ac_wine_try_cflags_saved
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13632 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13633 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13634 BUILTINFLAG="-fno-builtin"
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13638 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13639 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13640 $as_echo_n "(cached) " >&6
13641 else
13642 ac_wine_try_cflags_saved=$CFLAGS
13643 CFLAGS="$CFLAGS -fno-strict-aliasing"
13644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13645 /* end confdefs.h. */
13646 int main(int argc, char **argv) { return 0; }
13647 _ACEOF
13648 if ac_fn_c_try_link "$LINENO"; then :
13649 ac_cv_cflags__fno_strict_aliasing=yes
13650 else
13651 ac_cv_cflags__fno_strict_aliasing=no
13653 rm -f core conftest.err conftest.$ac_objext \
13654 conftest$ac_exeext conftest.$ac_ext
13655 CFLAGS=$ac_wine_try_cflags_saved
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13658 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13659 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13660 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13662 saved_CFLAGS=$CFLAGS
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13664 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13665 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13666 $as_echo_n "(cached) " >&6
13667 else
13668 ac_wine_try_cflags_saved=$CFLAGS
13669 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13671 /* end confdefs.h. */
13672 int main(int argc, char **argv) { return 0; }
13673 _ACEOF
13674 if ac_fn_c_try_link "$LINENO"; then :
13675 ac_cv_cflags__Werror_unknown_warning_option=yes
13676 else
13677 ac_cv_cflags__Werror_unknown_warning_option=no
13679 rm -f core conftest.err conftest.$ac_objext \
13680 conftest$ac_exeext conftest.$ac_ext
13681 CFLAGS=$ac_wine_try_cflags_saved
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13684 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13685 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13686 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13689 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13690 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13691 $as_echo_n "(cached) " >&6
13692 else
13693 ac_wine_try_cflags_saved=$CFLAGS
13694 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13696 /* end confdefs.h. */
13697 int main(int argc, char **argv) { return 0; }
13698 _ACEOF
13699 if ac_fn_c_try_link "$LINENO"; then :
13700 ac_cv_cflags__Wdeclaration_after_statement=yes
13701 else
13702 ac_cv_cflags__Wdeclaration_after_statement=no
13704 rm -f core conftest.err conftest.$ac_objext \
13705 conftest$ac_exeext conftest.$ac_ext
13706 CFLAGS=$ac_wine_try_cflags_saved
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13709 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13710 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13711 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13714 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13715 if ${ac_cv_cflags__Wempty_body+:} false; then :
13716 $as_echo_n "(cached) " >&6
13717 else
13718 ac_wine_try_cflags_saved=$CFLAGS
13719 CFLAGS="$CFLAGS -Wempty-body"
13720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13721 /* end confdefs.h. */
13722 int main(int argc, char **argv) { return 0; }
13723 _ACEOF
13724 if ac_fn_c_try_link "$LINENO"; then :
13725 ac_cv_cflags__Wempty_body=yes
13726 else
13727 ac_cv_cflags__Wempty_body=no
13729 rm -f core conftest.err conftest.$ac_objext \
13730 conftest$ac_exeext conftest.$ac_ext
13731 CFLAGS=$ac_wine_try_cflags_saved
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13734 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13735 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13736 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13739 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13740 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13741 $as_echo_n "(cached) " >&6
13742 else
13743 ac_wine_try_cflags_saved=$CFLAGS
13744 CFLAGS="$CFLAGS -Wignored-qualifiers"
13745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13746 /* end confdefs.h. */
13747 int main(int argc, char **argv) { return 0; }
13748 _ACEOF
13749 if ac_fn_c_try_link "$LINENO"; then :
13750 ac_cv_cflags__Wignored_qualifiers=yes
13751 else
13752 ac_cv_cflags__Wignored_qualifiers=no
13754 rm -f core conftest.err conftest.$ac_objext \
13755 conftest$ac_exeext conftest.$ac_ext
13756 CFLAGS=$ac_wine_try_cflags_saved
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13759 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13760 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13761 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13764 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13765 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13766 $as_echo_n "(cached) " >&6
13767 else
13768 ac_wine_try_cflags_saved=$CFLAGS
13769 CFLAGS="$CFLAGS -Wstrict-prototypes"
13770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13771 /* end confdefs.h. */
13772 int main(int argc, char **argv) { return 0; }
13773 _ACEOF
13774 if ac_fn_c_try_link "$LINENO"; then :
13775 ac_cv_cflags__Wstrict_prototypes=yes
13776 else
13777 ac_cv_cflags__Wstrict_prototypes=no
13779 rm -f core conftest.err conftest.$ac_objext \
13780 conftest$ac_exeext conftest.$ac_ext
13781 CFLAGS=$ac_wine_try_cflags_saved
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13784 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13785 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13786 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13789 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13790 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13791 $as_echo_n "(cached) " >&6
13792 else
13793 ac_wine_try_cflags_saved=$CFLAGS
13794 CFLAGS="$CFLAGS -Wtype-limits"
13795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13796 /* end confdefs.h. */
13797 int main(int argc, char **argv) { return 0; }
13798 _ACEOF
13799 if ac_fn_c_try_link "$LINENO"; then :
13800 ac_cv_cflags__Wtype_limits=yes
13801 else
13802 ac_cv_cflags__Wtype_limits=no
13804 rm -f core conftest.err conftest.$ac_objext \
13805 conftest$ac_exeext conftest.$ac_ext
13806 CFLAGS=$ac_wine_try_cflags_saved
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13809 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13810 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13811 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13814 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13815 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13816 $as_echo_n "(cached) " >&6
13817 else
13818 ac_wine_try_cflags_saved=$CFLAGS
13819 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13821 /* end confdefs.h. */
13822 int main(int argc, char **argv) { return 0; }
13823 _ACEOF
13824 if ac_fn_c_try_link "$LINENO"; then :
13825 ac_cv_cflags__Wunused_but_set_parameter=yes
13826 else
13827 ac_cv_cflags__Wunused_but_set_parameter=no
13829 rm -f core conftest.err conftest.$ac_objext \
13830 conftest$ac_exeext conftest.$ac_ext
13831 CFLAGS=$ac_wine_try_cflags_saved
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13834 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13835 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13836 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13839 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13840 if ${ac_cv_cflags__Wvla+:} false; then :
13841 $as_echo_n "(cached) " >&6
13842 else
13843 ac_wine_try_cflags_saved=$CFLAGS
13844 CFLAGS="$CFLAGS -Wvla"
13845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13846 /* end confdefs.h. */
13847 int main(int argc, char **argv) { return 0; }
13848 _ACEOF
13849 if ac_fn_c_try_link "$LINENO"; then :
13850 ac_cv_cflags__Wvla=yes
13851 else
13852 ac_cv_cflags__Wvla=no
13854 rm -f core conftest.err conftest.$ac_objext \
13855 conftest$ac_exeext conftest.$ac_ext
13856 CFLAGS=$ac_wine_try_cflags_saved
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13859 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13860 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13861 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13864 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13865 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13866 $as_echo_n "(cached) " >&6
13867 else
13868 ac_wine_try_cflags_saved=$CFLAGS
13869 CFLAGS="$CFLAGS -Wwrite-strings"
13870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13871 /* end confdefs.h. */
13872 int main(int argc, char **argv) { return 0; }
13873 _ACEOF
13874 if ac_fn_c_try_link "$LINENO"; then :
13875 ac_cv_cflags__Wwrite_strings=yes
13876 else
13877 ac_cv_cflags__Wwrite_strings=no
13879 rm -f core conftest.err conftest.$ac_objext \
13880 conftest$ac_exeext conftest.$ac_ext
13881 CFLAGS=$ac_wine_try_cflags_saved
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13884 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13885 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13886 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13890 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13891 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13892 $as_echo_n "(cached) " >&6
13893 else
13894 ac_wine_try_cflags_saved=$CFLAGS
13895 CFLAGS="$CFLAGS -Wpointer-arith"
13896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13897 /* end confdefs.h. */
13898 int main(int argc, char **argv) { return 0; }
13899 _ACEOF
13900 if ac_fn_c_try_link "$LINENO"; then :
13901 ac_cv_cflags__Wpointer_arith=yes
13902 else
13903 ac_cv_cflags__Wpointer_arith=no
13905 rm -f core conftest.err conftest.$ac_objext \
13906 conftest$ac_exeext conftest.$ac_ext
13907 CFLAGS=$ac_wine_try_cflags_saved
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13910 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13911 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13912 saved_string_h_CFLAGS=$CFLAGS
13913 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13915 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13916 if ${ac_cv_c_string_h_warnings+:} false; then :
13917 $as_echo_n "(cached) " >&6
13918 else
13919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13920 /* end confdefs.h. */
13921 #include <string.h>
13923 main ()
13927 return 0;
13929 _ACEOF
13930 if ac_fn_c_try_compile "$LINENO"; then :
13931 ac_cv_c_string_h_warnings=no
13932 else
13933 ac_cv_c_string_h_warnings=yes
13935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13938 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13939 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13940 CFLAGS=$saved_string_h_CFLAGS
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13944 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13945 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13946 $as_echo_n "(cached) " >&6
13947 else
13948 ac_wine_try_cflags_saved=$CFLAGS
13949 CFLAGS="$CFLAGS -Wlogical-op"
13950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13951 /* end confdefs.h. */
13952 int main(int argc, char **argv) { return 0; }
13953 _ACEOF
13954 if ac_fn_c_try_link "$LINENO"; then :
13955 ac_cv_cflags__Wlogical_op=yes
13956 else
13957 ac_cv_cflags__Wlogical_op=no
13959 rm -f core conftest.err conftest.$ac_objext \
13960 conftest$ac_exeext conftest.$ac_ext
13961 CFLAGS=$ac_wine_try_cflags_saved
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13964 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13965 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13966 saved_string_h_CFLAGS=$CFLAGS
13967 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13969 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13970 if ${ac_cv_c_logicalop_noisy+:} false; then :
13971 $as_echo_n "(cached) " >&6
13972 else
13973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13974 /* end confdefs.h. */
13975 #include <string.h>
13976 char*f(const char *h,char n) {return strchr(h,n);}
13978 main ()
13982 return 0;
13984 _ACEOF
13985 if ac_fn_c_try_compile "$LINENO"; then :
13986 ac_cv_c_logicalop_noisy=no
13987 else
13988 ac_cv_c_logicalop_noisy=yes
13990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13993 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13994 CFLAGS=$saved_string_h_CFLAGS
13995 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13998 CFLAGS=$saved_CFLAGS
14000 for ac_flag in $CFLAGS; do
14001 case $ac_flag in
14002 -g) case $host_os in
14003 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14004 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14005 if ${ac_cv_cflags__gstabsp+:} false; then :
14006 $as_echo_n "(cached) " >&6
14007 else
14008 ac_wine_try_cflags_saved=$CFLAGS
14009 CFLAGS="$CFLAGS -gstabs+"
14010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14011 /* end confdefs.h. */
14012 int main(int argc, char **argv) { return 0; }
14013 _ACEOF
14014 if ac_fn_c_try_link "$LINENO"; then :
14015 ac_cv_cflags__gstabsp=yes
14016 else
14017 ac_cv_cflags__gstabsp=no
14019 rm -f core conftest.err conftest.$ac_objext \
14020 conftest$ac_exeext conftest.$ac_ext
14021 CFLAGS=$ac_wine_try_cflags_saved
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14024 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14025 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14026 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14027 fi ;;
14028 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14029 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14030 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14031 $as_echo_n "(cached) " >&6
14032 else
14033 ac_wine_try_cflags_saved=$CFLAGS
14034 CFLAGS="$CFLAGS -gdwarf-2"
14035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14036 /* end confdefs.h. */
14037 int main(int argc, char **argv) { return 0; }
14038 _ACEOF
14039 if ac_fn_c_try_link "$LINENO"; then :
14040 ac_cv_cflags__gdwarf_2=yes
14041 else
14042 ac_cv_cflags__gdwarf_2=no
14044 rm -f core conftest.err conftest.$ac_objext \
14045 conftest$ac_exeext conftest.$ac_ext
14046 CFLAGS=$ac_wine_try_cflags_saved
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14049 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14050 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14051 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14054 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14055 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14056 $as_echo_n "(cached) " >&6
14057 else
14058 ac_wine_try_cflags_saved=$CFLAGS
14059 CFLAGS="$CFLAGS -gstrict-dwarf"
14060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14061 /* end confdefs.h. */
14062 int main(int argc, char **argv) { return 0; }
14063 _ACEOF
14064 if ac_fn_c_try_link "$LINENO"; then :
14065 ac_cv_cflags__gstrict_dwarf=yes
14066 else
14067 ac_cv_cflags__gstrict_dwarf=no
14069 rm -f core conftest.err conftest.$ac_objext \
14070 conftest$ac_exeext conftest.$ac_ext
14071 CFLAGS=$ac_wine_try_cflags_saved
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14074 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14075 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14076 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14077 fi ;;
14078 esac ;;
14079 esac
14080 done
14082 case $host_cpu in
14083 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14084 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14085 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14086 $as_echo_n "(cached) " >&6
14087 else
14088 ac_wine_try_cflags_saved=$CFLAGS
14089 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14091 /* end confdefs.h. */
14092 int main(int argc, char **argv) { return 0; }
14093 _ACEOF
14094 if ac_fn_c_try_link "$LINENO"; then :
14095 ac_cv_cflags__fno_omit_frame_pointer=yes
14096 else
14097 ac_cv_cflags__fno_omit_frame_pointer=no
14099 rm -f core conftest.err conftest.$ac_objext \
14100 conftest$ac_exeext conftest.$ac_ext
14101 CFLAGS=$ac_wine_try_cflags_saved
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14104 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14105 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14106 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14107 fi ;;
14108 esac
14110 case $host in
14111 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14112 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14113 if ${ac_cv_cflags__Wno_format+:} false; then :
14114 $as_echo_n "(cached) " >&6
14115 else
14116 ac_wine_try_cflags_saved=$CFLAGS
14117 CFLAGS="$CFLAGS -Wno-format"
14118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14119 /* end confdefs.h. */
14120 int main(int argc, char **argv) { return 0; }
14121 _ACEOF
14122 if ac_fn_c_try_link "$LINENO"; then :
14123 ac_cv_cflags__Wno_format=yes
14124 else
14125 ac_cv_cflags__Wno_format=no
14127 rm -f core conftest.err conftest.$ac_objext \
14128 conftest$ac_exeext conftest.$ac_ext
14129 CFLAGS=$ac_wine_try_cflags_saved
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14132 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14133 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14134 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14135 fi ;;
14136 esac
14138 if test "x$enable_maintainer_mode" = "xyes"
14139 then
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14141 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14142 if ${ac_cv_cflags__Werror+:} false; then :
14143 $as_echo_n "(cached) " >&6
14144 else
14145 ac_wine_try_cflags_saved=$CFLAGS
14146 CFLAGS="$CFLAGS -Werror"
14147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14148 /* end confdefs.h. */
14149 int main(int argc, char **argv) { return 0; }
14150 _ACEOF
14151 if ac_fn_c_try_link "$LINENO"; then :
14152 ac_cv_cflags__Werror=yes
14153 else
14154 ac_cv_cflags__Werror=no
14156 rm -f core conftest.err conftest.$ac_objext \
14157 conftest$ac_exeext conftest.$ac_ext
14158 CFLAGS=$ac_wine_try_cflags_saved
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14161 $as_echo "$ac_cv_cflags__Werror" >&6; }
14162 if test "x$ac_cv_cflags__Werror" = xyes; then :
14163 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14167 saved_CFLAGS="$CFLAGS"
14168 CFLAGS="$CFLAGS -Werror"
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14170 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14171 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14172 $as_echo_n "(cached) " >&6
14173 else
14174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14175 /* end confdefs.h. */
14176 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14178 main ()
14182 return 0;
14184 _ACEOF
14185 if ac_fn_c_try_compile "$LINENO"; then :
14186 ac_cv_have_ms_hook_prologue="yes"
14187 else
14188 ac_cv_have_ms_hook_prologue="no"
14190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14193 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14194 CFLAGS="$saved_CFLAGS"
14195 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14196 then
14198 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14200 else
14201 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14208 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14209 if ${ac_cv_c_fortify_enabled+:} false; then :
14210 $as_echo_n "(cached) " >&6
14211 else
14212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14213 /* end confdefs.h. */
14214 #include <string.h>
14216 main ()
14218 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14219 #error Fortify enabled
14220 #endif
14222 return 0;
14224 _ACEOF
14225 if ac_fn_c_try_compile "$LINENO"; then :
14226 ac_cv_c_fortify_enabled=no
14227 else
14228 ac_cv_c_fortify_enabled=yes
14230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14233 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14234 if test "$ac_cv_c_fortify_enabled" = yes
14235 then
14236 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14241 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14242 if ${ac_cv_c_extern_prefix+:} false; then :
14243 $as_echo_n "(cached) " >&6
14244 else
14245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14246 /* end confdefs.h. */
14247 extern int ac_test;
14249 main ()
14251 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14253 return 0;
14255 _ACEOF
14256 if ac_fn_c_try_link "$LINENO"; then :
14257 ac_cv_c_extern_prefix="yes"
14258 else
14259 ac_cv_c_extern_prefix="no"
14261 rm -f core conftest.err conftest.$ac_objext \
14262 conftest$ac_exeext conftest.$ac_ext
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14265 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14267 case $host_cpu in
14268 *i[3456789]86*)
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14270 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14271 if ${ac_cv_c_stdcall_suffix+:} false; then :
14272 $as_echo_n "(cached) " >&6
14273 else
14274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14275 /* end confdefs.h. */
14276 #ifndef _MSC_VER
14277 #define __stdcall __attribute__((__stdcall__))
14278 #endif
14279 int __stdcall ac_test(int i) { return i; }
14281 main ()
14283 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14285 return 0;
14287 _ACEOF
14288 if ac_fn_c_try_link "$LINENO"; then :
14289 ac_cv_c_stdcall_suffix="yes"
14290 else
14291 ac_cv_c_stdcall_suffix="no"
14293 rm -f core conftest.err conftest.$ac_objext \
14294 conftest$ac_exeext conftest.$ac_ext
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14297 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14298 *) ac_cv_c_stdcall_suffix="no" ;;
14299 esac
14302 if test "$ac_cv_c_extern_prefix" = "yes"
14303 then
14304 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14306 asm_name_prefix="_"
14307 else
14308 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14310 asm_name_prefix=""
14314 if test "$ac_cv_c_stdcall_suffix" = "yes"
14315 then
14316 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14318 else
14319 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14325 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14326 if ${ac_cv_asm_func_def+:} false; then :
14327 $as_echo_n "(cached) " >&6
14328 else
14329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14330 /* end confdefs.h. */
14333 main ()
14335 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14337 return 0;
14339 _ACEOF
14340 if ac_fn_c_try_link "$LINENO"; then :
14341 ac_cv_asm_func_def=".def"
14342 else
14343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14344 /* end confdefs.h. */
14347 main ()
14349 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14351 return 0;
14353 _ACEOF
14354 if ac_fn_c_try_link "$LINENO"; then :
14355 ac_cv_asm_func_def=".type @function"
14356 else
14357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14358 /* end confdefs.h. */
14361 main ()
14363 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14365 return 0;
14367 _ACEOF
14368 if ac_fn_c_try_link "$LINENO"; then :
14369 ac_cv_asm_func_def=".type 2"
14370 else
14371 ac_cv_asm_func_def="unknown"
14373 rm -f core conftest.err conftest.$ac_objext \
14374 conftest$ac_exeext conftest.$ac_ext
14376 rm -f core conftest.err conftest.$ac_objext \
14377 conftest$ac_exeext conftest.$ac_ext
14379 rm -f core conftest.err conftest.$ac_objext \
14380 conftest$ac_exeext conftest.$ac_ext
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14383 $as_echo "$ac_cv_asm_func_def" >&6; }
14386 case "$ac_cv_asm_func_def" in
14387 ".def")
14388 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14390 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14391 ".type @function")
14392 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14394 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14395 ".type 2")
14396 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14398 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14400 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14402 asm_func_header="" ;;
14403 esac
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14406 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14407 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14408 $as_echo_n "(cached) " >&6
14409 else
14410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14411 /* end confdefs.h. */
14412 asm(".text\n\t.long 0");
14414 main ()
14418 return 0;
14420 _ACEOF
14421 if ac_fn_c_try_compile "$LINENO"; then :
14422 ac_cv_c_asm_outside_funcs="yes"
14423 else
14424 ac_cv_c_asm_outside_funcs="no"
14426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14429 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14432 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14433 if ${ac_cv_c_dot_previous+:} false; then :
14434 $as_echo_n "(cached) " >&6
14435 else
14436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14437 /* end confdefs.h. */
14440 main ()
14442 asm(".text\nac_test:\t.long 0\n\t.previous");
14444 return 0;
14446 _ACEOF
14447 if ac_fn_c_try_link "$LINENO"; then :
14448 ac_cv_c_dot_previous="yes"
14449 else
14450 ac_cv_c_dot_previous="no"
14452 rm -f core conftest.err conftest.$ac_objext \
14453 conftest$ac_exeext conftest.$ac_ext
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14456 $as_echo "$ac_cv_c_dot_previous" >&6; }
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14459 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14460 if ${ac_cv_c_cfi_support+:} false; then :
14461 $as_echo_n "(cached) " >&6
14462 else
14463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14464 /* end confdefs.h. */
14465 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14467 main ()
14471 return 0;
14473 _ACEOF
14474 if ac_fn_c_try_compile "$LINENO"; then :
14475 ac_cv_c_cfi_support="yes"
14476 else
14477 ac_cv_c_cfi_support="no"
14479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14482 $as_echo "$ac_cv_c_cfi_support" >&6; }
14484 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14485 asm_func_trailer=""
14486 if test "$ac_cv_c_dot_previous" = "yes"
14487 then
14488 asm_func_trailer="\\n\\t.previous"
14490 if test "$ac_cv_c_cfi_support" = "yes"
14491 then
14492 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14493 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14495 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14497 UNWINDFLAGS=-fasynchronous-unwind-tables
14499 else
14500 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14504 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14507 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14508 then
14509 cat >>confdefs.h <<_ACEOF
14510 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14511 _ACEOF
14513 else
14514 cat >>confdefs.h <<_ACEOF
14515 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14516 _ACEOF
14520 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14523 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14527 case $build_os in
14528 cygwin*|mingw32*) TOOLSEXT=".exe"
14530 esac
14532 case $host_os in
14533 linux*)
14534 case $host_cpu in
14535 *i[3456789]86*|x86_64*)
14536 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14537 loader_programs="$loader_programs $wine_binary-preloader"
14538 as_fn_append LOADER_RULES "
14539 $wine_binary-preloader: preloader.o
14540 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14542 install install-lib:: $wine_binary-preloader
14543 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14545 uninstall::
14546 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14548 preloader_EXTRADEFS = $BUILTINFLAG
14549 " ;;
14550 esac
14552 esac
14553 as_fn_append LOADER_RULES "
14554 PROGRAMS = $loader_programs
14558 ac_save_CFLAGS="$CFLAGS"
14559 CFLAGS="$CFLAGS $BUILTINFLAG"
14560 for ac_func in \
14561 __res_get_state \
14562 __res_getservers \
14563 _finite \
14564 _isnan \
14565 _pclose \
14566 _popen \
14567 _snprintf \
14568 _spawnvp \
14569 _strdup \
14570 _stricmp \
14571 _strnicmp \
14572 _strtoi64 \
14573 _strtoui64 \
14574 _vsnprintf \
14575 asctime_r \
14576 chsize \
14577 dlopen \
14578 epoll_create \
14579 ffs \
14580 fnmatch \
14581 fork \
14582 fpclass \
14583 fstatfs \
14584 fstatvfs \
14585 ftruncate \
14586 futimens \
14587 futimes \
14588 futimesat \
14589 getattrlist \
14590 getdirentries \
14591 getopt_long_only \
14592 getpwuid \
14593 gettimeofday \
14594 getuid \
14595 if_nameindex \
14596 kqueue \
14597 lstat \
14598 memmove \
14599 mmap \
14600 pclose \
14601 pipe2 \
14602 poll \
14603 popen \
14604 port_create \
14605 prctl \
14606 pread \
14607 proc_pidinfo \
14608 pwrite \
14609 readdir \
14610 readlink \
14611 sched_yield \
14612 select \
14613 setproctitle \
14614 setrlimit \
14615 settimeofday \
14616 sigaltstack \
14617 sigprocmask \
14618 snprintf \
14619 statfs \
14620 statvfs \
14621 strcasecmp \
14622 strdup \
14623 strerror \
14624 strncasecmp \
14625 strtold \
14626 strtoll \
14627 strtoull \
14628 symlink \
14629 tcdrain \
14630 thr_kill2 \
14631 timegm \
14632 usleep \
14633 vsnprintf
14635 do :
14636 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14637 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14638 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14639 cat >>confdefs.h <<_ACEOF
14640 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14641 _ACEOF
14644 done
14646 CFLAGS="$ac_save_CFLAGS"
14648 if test "$ac_cv_func_dlopen" = no
14649 then
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14651 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14652 if ${ac_cv_lib_dl_dlopen+:} false; then :
14653 $as_echo_n "(cached) " >&6
14654 else
14655 ac_check_lib_save_LIBS=$LIBS
14656 LIBS="-ldl $LIBS"
14657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14658 /* end confdefs.h. */
14660 /* Override any GCC internal prototype to avoid an error.
14661 Use char because int might match the return type of a GCC
14662 builtin and then its argument prototype would still apply. */
14663 #ifdef __cplusplus
14664 extern "C"
14665 #endif
14666 char dlopen ();
14668 main ()
14670 return dlopen ();
14672 return 0;
14674 _ACEOF
14675 if ac_fn_c_try_link "$LINENO"; then :
14676 ac_cv_lib_dl_dlopen=yes
14677 else
14678 ac_cv_lib_dl_dlopen=no
14680 rm -f core conftest.err conftest.$ac_objext \
14681 conftest$ac_exeext conftest.$ac_ext
14682 LIBS=$ac_check_lib_save_LIBS
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14685 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14686 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14687 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14688 DL_LIBS="-ldl"
14693 ac_wine_check_funcs_save_LIBS="$LIBS"
14694 LIBS="$LIBS $DL_LIBS"
14695 for ac_func in dladdr
14696 do :
14697 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14698 if test "x$ac_cv_func_dladdr" = xyes; then :
14699 cat >>confdefs.h <<_ACEOF
14700 #define HAVE_DLADDR 1
14701 _ACEOF
14704 done
14706 LIBS="$ac_wine_check_funcs_save_LIBS"
14708 if test "$ac_cv_func_poll" = no
14709 then
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14711 $as_echo_n "checking for poll in -lpoll... " >&6; }
14712 if ${ac_cv_lib_poll_poll+:} false; then :
14713 $as_echo_n "(cached) " >&6
14714 else
14715 ac_check_lib_save_LIBS=$LIBS
14716 LIBS="-lpoll $LIBS"
14717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14718 /* end confdefs.h. */
14720 /* Override any GCC internal prototype to avoid an error.
14721 Use char because int might match the return type of a GCC
14722 builtin and then its argument prototype would still apply. */
14723 #ifdef __cplusplus
14724 extern "C"
14725 #endif
14726 char poll ();
14728 main ()
14730 return poll ();
14732 return 0;
14734 _ACEOF
14735 if ac_fn_c_try_link "$LINENO"; then :
14736 ac_cv_lib_poll_poll=yes
14737 else
14738 ac_cv_lib_poll_poll=no
14740 rm -f core conftest.err conftest.$ac_objext \
14741 conftest$ac_exeext conftest.$ac_ext
14742 LIBS=$ac_check_lib_save_LIBS
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14745 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14746 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14747 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14748 POLL_LIBS="-lpoll"
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14755 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14756 if ${ac_cv_search_gethostbyname+:} false; then :
14757 $as_echo_n "(cached) " >&6
14758 else
14759 ac_func_search_save_LIBS=$LIBS
14760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14761 /* end confdefs.h. */
14763 /* Override any GCC internal prototype to avoid an error.
14764 Use char because int might match the return type of a GCC
14765 builtin and then its argument prototype would still apply. */
14766 #ifdef __cplusplus
14767 extern "C"
14768 #endif
14769 char gethostbyname ();
14771 main ()
14773 return gethostbyname ();
14775 return 0;
14777 _ACEOF
14778 for ac_lib in '' nsl; do
14779 if test -z "$ac_lib"; then
14780 ac_res="none required"
14781 else
14782 ac_res=-l$ac_lib
14783 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14785 if ac_fn_c_try_link "$LINENO"; then :
14786 ac_cv_search_gethostbyname=$ac_res
14788 rm -f core conftest.err conftest.$ac_objext \
14789 conftest$ac_exeext
14790 if ${ac_cv_search_gethostbyname+:} false; then :
14791 break
14793 done
14794 if ${ac_cv_search_gethostbyname+:} false; then :
14796 else
14797 ac_cv_search_gethostbyname=no
14799 rm conftest.$ac_ext
14800 LIBS=$ac_func_search_save_LIBS
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14803 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14804 ac_res=$ac_cv_search_gethostbyname
14805 if test "$ac_res" != no; then :
14806 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14812 $as_echo_n "checking for library containing connect... " >&6; }
14813 if ${ac_cv_search_connect+:} false; then :
14814 $as_echo_n "(cached) " >&6
14815 else
14816 ac_func_search_save_LIBS=$LIBS
14817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14818 /* end confdefs.h. */
14820 /* Override any GCC internal prototype to avoid an error.
14821 Use char because int might match the return type of a GCC
14822 builtin and then its argument prototype would still apply. */
14823 #ifdef __cplusplus
14824 extern "C"
14825 #endif
14826 char connect ();
14828 main ()
14830 return connect ();
14832 return 0;
14834 _ACEOF
14835 for ac_lib in '' socket; do
14836 if test -z "$ac_lib"; then
14837 ac_res="none required"
14838 else
14839 ac_res=-l$ac_lib
14840 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14842 if ac_fn_c_try_link "$LINENO"; then :
14843 ac_cv_search_connect=$ac_res
14845 rm -f core conftest.err conftest.$ac_objext \
14846 conftest$ac_exeext
14847 if ${ac_cv_search_connect+:} false; then :
14848 break
14850 done
14851 if ${ac_cv_search_connect+:} false; then :
14853 else
14854 ac_cv_search_connect=no
14856 rm conftest.$ac_ext
14857 LIBS=$ac_func_search_save_LIBS
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14860 $as_echo "$ac_cv_search_connect" >&6; }
14861 ac_res=$ac_cv_search_connect
14862 if test "$ac_res" != no; then :
14863 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14869 $as_echo_n "checking for library containing inet_aton... " >&6; }
14870 if ${ac_cv_search_inet_aton+:} false; then :
14871 $as_echo_n "(cached) " >&6
14872 else
14873 ac_func_search_save_LIBS=$LIBS
14874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14875 /* end confdefs.h. */
14877 /* Override any GCC internal prototype to avoid an error.
14878 Use char because int might match the return type of a GCC
14879 builtin and then its argument prototype would still apply. */
14880 #ifdef __cplusplus
14881 extern "C"
14882 #endif
14883 char inet_aton ();
14885 main ()
14887 return inet_aton ();
14889 return 0;
14891 _ACEOF
14892 for ac_lib in '' resolv; do
14893 if test -z "$ac_lib"; then
14894 ac_res="none required"
14895 else
14896 ac_res=-l$ac_lib
14897 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14899 if ac_fn_c_try_link "$LINENO"; then :
14900 ac_cv_search_inet_aton=$ac_res
14902 rm -f core conftest.err conftest.$ac_objext \
14903 conftest$ac_exeext
14904 if ${ac_cv_search_inet_aton+:} false; then :
14905 break
14907 done
14908 if ${ac_cv_search_inet_aton+:} false; then :
14910 else
14911 ac_cv_search_inet_aton=no
14913 rm conftest.$ac_ext
14914 LIBS=$ac_func_search_save_LIBS
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14917 $as_echo "$ac_cv_search_inet_aton" >&6; }
14918 ac_res=$ac_cv_search_inet_aton
14919 if test "$ac_res" != no; then :
14920 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14925 for ac_func in \
14926 getaddrinfo \
14927 getnameinfo \
14928 getnetbyname \
14929 getprotobyname \
14930 getprotobynumber \
14931 getservbyport \
14932 inet_addr \
14933 inet_network \
14934 inet_ntop \
14935 inet_pton \
14936 sendmsg \
14937 socketpair \
14939 do :
14940 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14941 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14942 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14943 cat >>confdefs.h <<_ACEOF
14944 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14945 _ACEOF
14948 done
14951 ac_save_LIBS=$LIBS
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14953 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14954 if ${ac_cv_search_clock_gettime+:} false; then :
14955 $as_echo_n "(cached) " >&6
14956 else
14957 ac_func_search_save_LIBS=$LIBS
14958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14959 /* end confdefs.h. */
14961 /* Override any GCC internal prototype to avoid an error.
14962 Use char because int might match the return type of a GCC
14963 builtin and then its argument prototype would still apply. */
14964 #ifdef __cplusplus
14965 extern "C"
14966 #endif
14967 char clock_gettime ();
14969 main ()
14971 return clock_gettime ();
14973 return 0;
14975 _ACEOF
14976 for ac_lib in '' rt; do
14977 if test -z "$ac_lib"; then
14978 ac_res="none required"
14979 else
14980 ac_res=-l$ac_lib
14981 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14983 if ac_fn_c_try_link "$LINENO"; then :
14984 ac_cv_search_clock_gettime=$ac_res
14986 rm -f core conftest.err conftest.$ac_objext \
14987 conftest$ac_exeext
14988 if ${ac_cv_search_clock_gettime+:} false; then :
14989 break
14991 done
14992 if ${ac_cv_search_clock_gettime+:} false; then :
14994 else
14995 ac_cv_search_clock_gettime=no
14997 rm conftest.$ac_ext
14998 LIBS=$ac_func_search_save_LIBS
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15001 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15002 ac_res=$ac_cv_search_clock_gettime
15003 if test "$ac_res" != no; then :
15004 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15006 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15008 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15012 LIBS=$ac_save_LIBS
15014 LDAP_LIBS=""
15016 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15017 then
15018 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15020 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15022 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15023 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15024 $as_echo_n "(cached) " >&6
15025 else
15026 ac_check_lib_save_LIBS=$LIBS
15027 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15029 /* end confdefs.h. */
15031 /* Override any GCC internal prototype to avoid an error.
15032 Use char because int might match the return type of a GCC
15033 builtin and then its argument prototype would still apply. */
15034 #ifdef __cplusplus
15035 extern "C"
15036 #endif
15037 char ldap_initialize ();
15039 main ()
15041 return ldap_initialize ();
15043 return 0;
15045 _ACEOF
15046 if ac_fn_c_try_link "$LINENO"; then :
15047 ac_cv_lib_ldap_r_ldap_initialize=yes
15048 else
15049 ac_cv_lib_ldap_r_ldap_initialize=no
15051 rm -f core conftest.err conftest.$ac_objext \
15052 conftest$ac_exeext conftest.$ac_ext
15053 LIBS=$ac_check_lib_save_LIBS
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15056 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15057 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15059 $as_echo_n "checking for ber_init in -llber... " >&6; }
15060 if ${ac_cv_lib_lber_ber_init+:} false; then :
15061 $as_echo_n "(cached) " >&6
15062 else
15063 ac_check_lib_save_LIBS=$LIBS
15064 LIBS="-llber $PTHREAD_LIBS $LIBS"
15065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15066 /* end confdefs.h. */
15068 /* Override any GCC internal prototype to avoid an error.
15069 Use char because int might match the return type of a GCC
15070 builtin and then its argument prototype would still apply. */
15071 #ifdef __cplusplus
15072 extern "C"
15073 #endif
15074 char ber_init ();
15076 main ()
15078 return ber_init ();
15080 return 0;
15082 _ACEOF
15083 if ac_fn_c_try_link "$LINENO"; then :
15084 ac_cv_lib_lber_ber_init=yes
15085 else
15086 ac_cv_lib_lber_ber_init=no
15088 rm -f core conftest.err conftest.$ac_objext \
15089 conftest$ac_exeext conftest.$ac_ext
15090 LIBS=$ac_check_lib_save_LIBS
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15093 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15094 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15096 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15098 LDAP_LIBS="-lldap_r -llber"
15105 ac_wine_check_funcs_save_LIBS="$LIBS"
15106 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15107 for ac_func in \
15108 ldap_count_references \
15109 ldap_first_reference \
15110 ldap_next_reference \
15111 ldap_parse_reference \
15112 ldap_parse_sort_control \
15113 ldap_parse_sortresponse_control \
15114 ldap_parse_vlv_control \
15115 ldap_parse_vlvresponse_control
15116 do :
15117 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15118 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15119 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15120 cat >>confdefs.h <<_ACEOF
15121 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15122 _ACEOF
15125 done
15127 LIBS="$ac_wine_check_funcs_save_LIBS"
15129 if test "x$LDAP_LIBS" = "x"; then :
15130 case "x$with_ldap" in
15131 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15132 xno) ;;
15133 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15134 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15135 esac
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15139 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15140 if ${wine_cv_one_arg_mkdir+:} false; then :
15141 $as_echo_n "(cached) " >&6
15142 else
15143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15144 /* end confdefs.h. */
15145 #include <sys/stat.h>
15147 main ()
15149 mkdir("foo");
15151 return 0;
15153 _ACEOF
15154 if ac_fn_c_try_compile "$LINENO"; then :
15155 wine_cv_one_arg_mkdir=yes
15156 else
15157 wine_cv_one_arg_mkdir=no
15159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15162 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15163 if test "$wine_cv_one_arg_mkdir" = "yes"
15164 then
15166 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15171 $as_echo_n "checking for sched_setaffinity... " >&6; }
15172 if ${wine_cv_have_sched_setaffinity+:} false; then :
15173 $as_echo_n "(cached) " >&6
15174 else
15175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15176 /* end confdefs.h. */
15177 #define _GNU_SOURCE
15178 #include <sched.h>
15180 main ()
15182 sched_setaffinity(0, 0, 0);
15184 return 0;
15186 _ACEOF
15187 if ac_fn_c_try_link "$LINENO"; then :
15188 wine_cv_have_sched_setaffinity=yes
15189 else
15190 wine_cv_have_sched_setaffinity=no
15192 rm -f core conftest.err conftest.$ac_objext \
15193 conftest$ac_exeext conftest.$ac_ext
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15196 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15197 if test "$wine_cv_have_sched_setaffinity" = "yes"
15198 then
15200 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15205 $as_echo_n "checking for fallocate... " >&6; }
15206 if ${wine_cv_have_fallocate+:} false; then :
15207 $as_echo_n "(cached) " >&6
15208 else
15209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15210 /* end confdefs.h. */
15211 #define _GNU_SOURCE
15212 #include <fcntl.h>
15214 main ()
15216 fallocate(-1, 0, 0, 0);
15218 return 0;
15220 _ACEOF
15221 if ac_fn_c_try_link "$LINENO"; then :
15222 wine_cv_have_fallocate=yes
15223 else
15224 wine_cv_have_fallocate=no
15226 rm -f core conftest.err conftest.$ac_objext \
15227 conftest$ac_exeext conftest.$ac_ext
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15230 $as_echo "$wine_cv_have_fallocate" >&6; }
15231 if test "$wine_cv_have_fallocate" = "yes"
15232 then
15234 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15240 $as_echo_n "checking for inline... " >&6; }
15241 if ${ac_cv_c_inline+:} false; then :
15242 $as_echo_n "(cached) " >&6
15243 else
15244 ac_cv_c_inline=no
15245 for ac_kw in inline __inline__ __inline; do
15246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15247 /* end confdefs.h. */
15248 #ifndef __cplusplus
15249 typedef int foo_t;
15250 static $ac_kw foo_t static_foo () {return 0; }
15251 $ac_kw foo_t foo () {return 0; }
15252 #endif
15254 _ACEOF
15255 if ac_fn_c_try_compile "$LINENO"; then :
15256 ac_cv_c_inline=$ac_kw
15258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15259 test "$ac_cv_c_inline" != no && break
15260 done
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15264 $as_echo "$ac_cv_c_inline" >&6; }
15266 case $ac_cv_c_inline in
15267 inline | yes) ;;
15269 case $ac_cv_c_inline in
15270 no) ac_val=;;
15271 *) ac_val=$ac_cv_c_inline;;
15272 esac
15273 cat >>confdefs.h <<_ACEOF
15274 #ifndef __cplusplus
15275 #define inline $ac_val
15276 #endif
15277 _ACEOF
15279 esac
15281 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15282 if test "x$ac_cv_type_mode_t" = xyes; then :
15284 cat >>confdefs.h <<_ACEOF
15285 #define HAVE_MODE_T 1
15286 _ACEOF
15290 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15291 if test "x$ac_cv_type_off_t" = xyes; then :
15293 cat >>confdefs.h <<_ACEOF
15294 #define HAVE_OFF_T 1
15295 _ACEOF
15299 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15300 if test "x$ac_cv_type_pid_t" = xyes; then :
15302 cat >>confdefs.h <<_ACEOF
15303 #define HAVE_PID_T 1
15304 _ACEOF
15308 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15309 if test "x$ac_cv_type_size_t" = xyes; then :
15311 cat >>confdefs.h <<_ACEOF
15312 #define HAVE_SIZE_T 1
15313 _ACEOF
15317 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15318 if test "x$ac_cv_type_ssize_t" = xyes; then :
15320 cat >>confdefs.h <<_ACEOF
15321 #define HAVE_SSIZE_T 1
15322 _ACEOF
15326 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15327 if test "x$ac_cv_type_long_long" = xyes; then :
15329 cat >>confdefs.h <<_ACEOF
15330 #define HAVE_LONG_LONG 1
15331 _ACEOF
15335 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15336 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15338 cat >>confdefs.h <<_ACEOF
15339 #define HAVE_FSBLKCNT_T 1
15340 _ACEOF
15344 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15345 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15347 cat >>confdefs.h <<_ACEOF
15348 #define HAVE_FSFILCNT_T 1
15349 _ACEOF
15354 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15355 #include <signal.h>
15357 if test "x$ac_cv_type_sigset_t" = xyes; then :
15359 cat >>confdefs.h <<_ACEOF
15360 #define HAVE_SIGSET_T 1
15361 _ACEOF
15366 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15368 if test "x$ac_cv_type_request_sense" = xyes; then :
15370 cat >>confdefs.h <<_ACEOF
15371 #define HAVE_REQUEST_SENSE 1
15372 _ACEOF
15378 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15379 #ifdef HAVE_SYS_SOCKET_H
15380 #include <sys/socket.h>
15381 #endif
15382 #ifdef HAVE_SYS_SOCKETVAR_H
15383 #include <sys/socketvar.h>
15384 #endif
15385 #ifdef HAVE_NET_ROUTE_H
15386 #include <net/route.h>
15387 #endif
15388 #ifdef HAVE_NETINET_IN_H
15389 #include <netinet/in.h>
15390 #endif
15391 #ifdef HAVE_NETINET_IN_SYSTM_H
15392 #include <netinet/in_systm.h>
15393 #endif
15394 #ifdef HAVE_NETINET_IP_H
15395 #include <netinet/ip.h>
15396 #endif
15397 #ifdef HAVE_NETINET_IN_PCB_H
15398 #include <netinet/in_pcb.h>
15399 #endif
15401 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15403 cat >>confdefs.h <<_ACEOF
15404 #define HAVE_STRUCT_XINPGEN 1
15405 _ACEOF
15411 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15412 #include <link.h>
15413 #endif
15414 #ifdef HAVE_SYS_LINK_H
15415 #include <sys/link.h>
15416 #endif
15418 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15420 cat >>confdefs.h <<_ACEOF
15421 #define HAVE_STRUCT_R_DEBUG 1
15422 _ACEOF
15426 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15427 #include <link.h>
15428 #endif
15429 #ifdef HAVE_SYS_LINK_H
15430 #include <sys/link.h>
15431 #endif
15433 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15435 cat >>confdefs.h <<_ACEOF
15436 #define HAVE_STRUCT_LINK_MAP 1
15437 _ACEOF
15443 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15444 #include <linux/input.h>
15445 #endif
15447 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15449 cat >>confdefs.h <<_ACEOF
15450 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15451 _ACEOF
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15458 $as_echo_n "checking for sigaddset... " >&6; }
15459 if ${wine_cv_have_sigaddset+:} false; then :
15460 $as_echo_n "(cached) " >&6
15461 else
15462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15463 /* end confdefs.h. */
15464 #include <signal.h>
15466 main ()
15468 sigset_t set; sigaddset(&set,SIGTERM);
15470 return 0;
15472 _ACEOF
15473 if ac_fn_c_try_link "$LINENO"; then :
15474 wine_cv_have_sigaddset=yes
15475 else
15476 wine_cv_have_sigaddset=no
15478 rm -f core conftest.err conftest.$ac_objext \
15479 conftest$ac_exeext conftest.$ac_ext
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15482 $as_echo "$wine_cv_have_sigaddset" >&6; }
15483 if test "$wine_cv_have_sigaddset" = "yes"
15484 then
15486 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15492 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15493 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15494 $as_echo_n "(cached) " >&6
15495 else
15496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15497 /* end confdefs.h. */
15498 #include <netdb.h>
15500 main ()
15503 char *name=0;
15504 struct hostent he;
15505 struct hostent *result;
15506 char *buf=0;
15507 int bufsize=0;
15508 int errnr;
15509 char *addr=0;
15510 int addrlen=0;
15511 int addrtype=0;
15512 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15513 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15516 return 0;
15518 _ACEOF
15519 if ac_fn_c_try_link "$LINENO"; then :
15520 wine_cv_linux_gethostbyname_r_6=yes
15521 else
15522 wine_cv_linux_gethostbyname_r_6=no
15525 rm -f core conftest.err conftest.$ac_objext \
15526 conftest$ac_exeext conftest.$ac_ext
15529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15530 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15531 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15532 then
15534 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15538 if test "$ac_cv_header_linux_joystick_h" = "yes"
15539 then
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15541 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15542 if ${wine_cv_linux_joystick_22_api+:} false; then :
15543 $as_echo_n "(cached) " >&6
15544 else
15545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15546 /* end confdefs.h. */
15548 #include <sys/ioctl.h>
15549 #include <sys/types.h>
15550 #include <linux/joystick.h>
15552 struct js_event blub;
15553 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15554 #error "no 2.2 header"
15555 #endif
15558 main ()
15560 /*empty*/
15562 return 0;
15564 _ACEOF
15565 if ac_fn_c_try_compile "$LINENO"; then :
15566 wine_cv_linux_joystick_22_api=yes
15567 else
15568 wine_cv_linux_joystick_22_api=no
15570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15574 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15575 if test "$wine_cv_linux_joystick_22_api" = "yes"
15576 then
15578 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15584 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15585 #ifdef HAVE_SYS_PARAM_H
15586 # include <sys/param.h>
15587 #endif
15588 #ifdef HAVE_SYS_MOUNT_H
15589 # include <sys/mount.h>
15590 #endif
15591 #ifdef HAVE_SYS_VFS_H
15592 # include <sys/vfs.h>
15593 #endif
15594 #ifdef HAVE_SYS_STATFS_H
15595 # include <sys/statfs.h>
15596 #endif
15598 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15600 cat >>confdefs.h <<_ACEOF
15601 #define HAVE_STRUCT_STATFS_F_BFREE 1
15602 _ACEOF
15606 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15607 #ifdef HAVE_SYS_PARAM_H
15608 # include <sys/param.h>
15609 #endif
15610 #ifdef HAVE_SYS_MOUNT_H
15611 # include <sys/mount.h>
15612 #endif
15613 #ifdef HAVE_SYS_VFS_H
15614 # include <sys/vfs.h>
15615 #endif
15616 #ifdef HAVE_SYS_STATFS_H
15617 # include <sys/statfs.h>
15618 #endif
15620 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15622 cat >>confdefs.h <<_ACEOF
15623 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15624 _ACEOF
15628 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15629 #ifdef HAVE_SYS_PARAM_H
15630 # include <sys/param.h>
15631 #endif
15632 #ifdef HAVE_SYS_MOUNT_H
15633 # include <sys/mount.h>
15634 #endif
15635 #ifdef HAVE_SYS_VFS_H
15636 # include <sys/vfs.h>
15637 #endif
15638 #ifdef HAVE_SYS_STATFS_H
15639 # include <sys/statfs.h>
15640 #endif
15642 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15644 cat >>confdefs.h <<_ACEOF
15645 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15646 _ACEOF
15650 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15651 #ifdef HAVE_SYS_PARAM_H
15652 # include <sys/param.h>
15653 #endif
15654 #ifdef HAVE_SYS_MOUNT_H
15655 # include <sys/mount.h>
15656 #endif
15657 #ifdef HAVE_SYS_VFS_H
15658 # include <sys/vfs.h>
15659 #endif
15660 #ifdef HAVE_SYS_STATFS_H
15661 # include <sys/statfs.h>
15662 #endif
15664 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15666 cat >>confdefs.h <<_ACEOF
15667 #define HAVE_STRUCT_STATFS_F_FFREE 1
15668 _ACEOF
15672 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15673 #ifdef HAVE_SYS_PARAM_H
15674 # include <sys/param.h>
15675 #endif
15676 #ifdef HAVE_SYS_MOUNT_H
15677 # include <sys/mount.h>
15678 #endif
15679 #ifdef HAVE_SYS_VFS_H
15680 # include <sys/vfs.h>
15681 #endif
15682 #ifdef HAVE_SYS_STATFS_H
15683 # include <sys/statfs.h>
15684 #endif
15686 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15688 cat >>confdefs.h <<_ACEOF
15689 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15690 _ACEOF
15694 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15695 #ifdef HAVE_SYS_PARAM_H
15696 # include <sys/param.h>
15697 #endif
15698 #ifdef HAVE_SYS_MOUNT_H
15699 # include <sys/mount.h>
15700 #endif
15701 #ifdef HAVE_SYS_VFS_H
15702 # include <sys/vfs.h>
15703 #endif
15704 #ifdef HAVE_SYS_STATFS_H
15705 # include <sys/statfs.h>
15706 #endif
15708 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15710 cat >>confdefs.h <<_ACEOF
15711 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15712 _ACEOF
15718 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15719 #include <sys/statvfs.h>
15720 #endif
15722 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15724 cat >>confdefs.h <<_ACEOF
15725 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15726 _ACEOF
15732 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15733 #include <dirent.h>
15734 #endif
15736 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15738 cat >>confdefs.h <<_ACEOF
15739 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15740 _ACEOF
15746 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15747 #ifdef HAVE_SYS_SOCKET_H
15748 # include <sys/socket.h>
15749 #endif
15750 #ifdef HAVE_SYS_UN_H
15751 # include <sys/un.h>
15752 #endif
15754 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15756 cat >>confdefs.h <<_ACEOF
15757 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15758 _ACEOF
15762 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15763 #ifdef HAVE_SYS_SOCKET_H
15764 # include <sys/socket.h>
15765 #endif
15766 #ifdef HAVE_SYS_UN_H
15767 # include <sys/un.h>
15768 #endif
15770 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15772 cat >>confdefs.h <<_ACEOF
15773 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15774 _ACEOF
15778 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15779 #ifdef HAVE_SYS_SOCKET_H
15780 # include <sys/socket.h>
15781 #endif
15782 #ifdef HAVE_SYS_UN_H
15783 # include <sys/un.h>
15784 #endif
15786 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15788 cat >>confdefs.h <<_ACEOF
15789 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15790 _ACEOF
15796 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15797 #ifdef HAVE_SCSI_SG_H
15798 #include <scsi/sg.h>
15799 #endif
15801 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15803 cat >>confdefs.h <<_ACEOF
15804 #define HAVE_SCSIREQ_T_CMD 1
15805 _ACEOF
15809 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>
15810 #ifdef HAVE_SCSI_SG_H
15811 #include <scsi/sg.h>
15812 #endif
15814 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15816 cat >>confdefs.h <<_ACEOF
15817 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15818 _ACEOF
15824 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15826 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15828 cat >>confdefs.h <<_ACEOF
15829 #define HAVE_SIGINFO_T_SI_FD 1
15830 _ACEOF
15836 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15837 #ifdef HAVE_SYS_MTIO_H
15838 #include <sys/mtio.h>
15839 #endif
15841 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15843 cat >>confdefs.h <<_ACEOF
15844 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15845 _ACEOF
15849 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15850 #ifdef HAVE_SYS_MTIO_H
15851 #include <sys/mtio.h>
15852 #endif
15854 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15856 cat >>confdefs.h <<_ACEOF
15857 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15858 _ACEOF
15862 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15863 #ifdef HAVE_SYS_MTIO_H
15864 #include <sys/mtio.h>
15865 #endif
15867 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15869 cat >>confdefs.h <<_ACEOF
15870 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15871 _ACEOF
15877 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15878 #include <getopt.h>
15879 #endif
15881 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15883 cat >>confdefs.h <<_ACEOF
15884 #define HAVE_STRUCT_OPTION_NAME 1
15885 _ACEOF
15891 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15892 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15894 cat >>confdefs.h <<_ACEOF
15895 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15896 _ACEOF
15900 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15901 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15903 cat >>confdefs.h <<_ACEOF
15904 #define HAVE_STRUCT_STAT_ST_MTIM 1
15905 _ACEOF
15909 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15910 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15912 cat >>confdefs.h <<_ACEOF
15913 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15914 _ACEOF
15918 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15919 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15921 cat >>confdefs.h <<_ACEOF
15922 #define HAVE_STRUCT_STAT_ST_CTIM 1
15923 _ACEOF
15927 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15928 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15930 cat >>confdefs.h <<_ACEOF
15931 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15932 _ACEOF
15936 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15937 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15939 cat >>confdefs.h <<_ACEOF
15940 #define HAVE_STRUCT_STAT_ST_ATIM 1
15941 _ACEOF
15945 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15946 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15948 cat >>confdefs.h <<_ACEOF
15949 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15950 _ACEOF
15954 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15955 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15957 cat >>confdefs.h <<_ACEOF
15958 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15959 _ACEOF
15963 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15964 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15966 cat >>confdefs.h <<_ACEOF
15967 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15968 _ACEOF
15972 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15973 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15975 cat >>confdefs.h <<_ACEOF
15976 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15977 _ACEOF
15981 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15982 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15984 cat >>confdefs.h <<_ACEOF
15985 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15986 _ACEOF
15990 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15991 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15993 cat >>confdefs.h <<_ACEOF
15994 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15995 _ACEOF
16001 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
16002 #include <sys/types.h>
16003 #endif
16004 #ifdef HAVE_NETINET_IN_H
16005 #include <netinet/in.h>
16006 #endif
16008 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16010 cat >>confdefs.h <<_ACEOF
16011 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16012 _ACEOF
16018 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16019 #include <resolv.h>
16020 #endif
16022 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16024 cat >>confdefs.h <<_ACEOF
16025 #define HAVE_STRUCT___RES_STATE 1
16026 _ACEOF
16032 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
16033 #include <resolv.h>
16034 #endif
16036 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16038 cat >>confdefs.h <<_ACEOF
16039 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16040 _ACEOF
16046 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16047 #include <sys/types.h>
16048 #endif
16049 #ifdef HAVE_NETINET_IN_H
16050 # include <netinet/in.h>
16051 #endif
16052 #ifdef HAVE_ARPA_NAMESER_H
16053 # include <arpa/nameser.h>
16054 #endif
16056 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16058 cat >>confdefs.h <<_ACEOF
16059 #define HAVE_NS_MSG__MSG_PTR 1
16060 _ACEOF
16066 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16067 #include <sys/types.h>
16068 #endif
16069 #ifdef HAVE_NETINET_IP_H
16070 #include <netinet/ip.h>
16071 #endif
16072 #ifdef HAVE_NETINET_IP_ICMP_H
16073 #include <netinet/ip_icmp.h>
16074 #endif
16075 #ifdef HAVE_NETINET_ICMP_VAR_H
16076 #include <netinet/icmp_var.h>
16077 #endif
16079 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16081 cat >>confdefs.h <<_ACEOF
16082 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16083 _ACEOF
16089 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16090 #include <sys/types.h>
16091 #endif
16092 #ifdef HAVE_ALIAS_H
16093 #include <alias.h>
16094 #endif
16095 #ifdef HAVE_SYS_SOCKET_H
16096 #include <sys/socket.h>
16097 #endif
16098 #ifdef HAVE_SYS_SOCKETVAR_H
16099 #include <sys/socketvar.h>
16100 #endif
16101 #ifdef HAVE_SYS_TIMEOUT_H
16102 #include <sys/timeout.h>
16103 #endif
16104 #ifdef HAVE_NETINET_IN_H
16105 #include <netinet/in.h>
16106 #endif
16107 #ifdef HAVE_NETINET_IN_SYSTM_H
16108 #include <netinet/in_systm.h>
16109 #endif
16110 #ifdef HAVE_NETINET_IP_H
16111 #include <netinet/ip.h>
16112 #endif
16113 #ifdef HAVE_NETINET_IP_VAR_H
16114 #include <netinet/ip_var.h>
16115 #endif
16116 #ifdef HAVE_NETINET_IP_ICMP_H
16117 #include <netinet/ip_icmp.h>
16118 #endif
16119 #ifdef HAVE_NETINET_ICMP_VAR_H
16120 #include <netinet/icmp_var.h>
16121 #endif
16123 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16125 cat >>confdefs.h <<_ACEOF
16126 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16127 _ACEOF
16133 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16134 #include <sys/types.h>
16135 #endif
16136 #ifdef HAVE_SYS_SOCKETVAR_H
16137 #include <sys/socketvar.h>
16138 #endif
16139 #ifdef HAVE_NETINET_IN_H
16140 #include <netinet/in.h>
16141 #endif
16142 #ifdef HAVE_NETINET_IP_VAR_H
16143 #include <netinet/ip_var.h>
16144 #endif
16146 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16148 cat >>confdefs.h <<_ACEOF
16149 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16150 _ACEOF
16156 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
16157 #include <netinet/ip_var.h>
16158 #endif
16160 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16162 cat >>confdefs.h <<_ACEOF
16163 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16164 _ACEOF
16170 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16171 #include <sys/types.h>
16172 #endif
16173 #ifdef HAVE_SYS_SOCKETVAR_H
16174 #include <sys/socketvar.h>
16175 #endif
16176 #ifdef HAVE_NETINET_IN_H
16177 #include <netinet/in.h>
16178 #endif
16179 #ifdef HAVE_NETINET_TCP_H
16180 #include <netinet/tcp.h>
16181 #endif
16182 #ifdef HAVE_NETINET_TCP_VAR_H
16183 #include <netinet/tcp_var.h>
16184 #endif
16186 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16188 cat >>confdefs.h <<_ACEOF
16189 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16190 _ACEOF
16196 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
16197 #include <netinet/tcp_var.h>
16198 #endif
16200 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16202 cat >>confdefs.h <<_ACEOF
16203 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16204 _ACEOF
16210 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16211 #include <sys/types.h>
16212 #endif
16213 #ifdef HAVE_NETINET_IN_H
16214 #include <netinet/in.h>
16215 #endif
16216 #ifdef HAVE_NETINET_IP_VAR_H
16217 #include <netinet/ip_var.h>
16218 #endif
16219 #ifdef HAVE_NETINET_UDP_H
16220 #include <netinet/udp.h>
16221 #endif
16222 #ifdef HAVE_NETINET_UDP_VAR_H
16223 #include <netinet/udp_var.h>
16224 #endif
16226 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16228 cat >>confdefs.h <<_ACEOF
16229 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16230 _ACEOF
16236 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16237 #include <sys/types.h>
16238 #endif
16239 #ifdef HAVE_NET_IF_H
16240 # include <net/if.h>
16241 #endif
16243 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16245 cat >>confdefs.h <<_ACEOF
16246 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16247 _ACEOF
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16254 $as_echo_n "checking for timezone variable... " >&6; }
16255 if ${ac_cv_have_timezone+:} false; then :
16256 $as_echo_n "(cached) " >&6
16257 else
16258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16259 /* end confdefs.h. */
16260 #include <time.h>
16262 main ()
16264 timezone = 1
16266 return 0;
16268 _ACEOF
16269 if ac_fn_c_try_link "$LINENO"; then :
16270 ac_cv_have_timezone="yes"
16271 else
16272 ac_cv_have_timezone="no"
16274 rm -f core conftest.err conftest.$ac_objext \
16275 conftest$ac_exeext conftest.$ac_ext
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16278 $as_echo "$ac_cv_have_timezone" >&6; }
16279 if test "$ac_cv_have_timezone" = "yes"
16280 then
16282 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16286 $as_echo_n "checking for daylight variable... " >&6; }
16287 if ${ac_cv_have_daylight+:} false; then :
16288 $as_echo_n "(cached) " >&6
16289 else
16290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16291 /* end confdefs.h. */
16292 #include <time.h>
16294 main ()
16296 daylight = 1
16298 return 0;
16300 _ACEOF
16301 if ac_fn_c_try_link "$LINENO"; then :
16302 ac_cv_have_daylight="yes"
16303 else
16304 ac_cv_have_daylight="no"
16306 rm -f core conftest.err conftest.$ac_objext \
16307 conftest$ac_exeext conftest.$ac_ext
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16310 $as_echo "$ac_cv_have_daylight" >&6; }
16311 if test "$ac_cv_have_daylight" = "yes"
16312 then
16314 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16318 ac_save_LIBS="$LIBS"
16319 LIBS="$LIBS -lm"
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16321 $as_echo_n "checking for isfinite... " >&6; }
16322 if ${ac_cv_have_isfinite+:} false; then :
16323 $as_echo_n "(cached) " >&6
16324 else
16325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16326 /* end confdefs.h. */
16327 #define _GNU_SOURCE
16328 #include <math.h>
16330 main ()
16332 float f = 0.0; return isfinite(f)
16334 return 0;
16336 _ACEOF
16337 if ac_fn_c_try_link "$LINENO"; then :
16338 ac_cv_have_isfinite="yes"
16339 else
16340 ac_cv_have_isfinite="no"
16342 rm -f core conftest.err conftest.$ac_objext \
16343 conftest$ac_exeext conftest.$ac_ext
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16346 $as_echo "$ac_cv_have_isfinite" >&6; }
16347 if test "$ac_cv_have_isfinite" = "yes"
16348 then
16350 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16355 $as_echo_n "checking for isinf... " >&6; }
16356 if ${ac_cv_have_isinf+:} false; then :
16357 $as_echo_n "(cached) " >&6
16358 else
16359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16360 /* end confdefs.h. */
16361 #include <math.h>
16363 main ()
16365 float f = 0.0; return isinf(f)
16367 return 0;
16369 _ACEOF
16370 if ac_fn_c_try_link "$LINENO"; then :
16371 ac_cv_have_isinf="yes"
16372 else
16373 ac_cv_have_isinf="no"
16375 rm -f core conftest.err conftest.$ac_objext \
16376 conftest$ac_exeext conftest.$ac_ext
16378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16379 $as_echo "$ac_cv_have_isinf" >&6; }
16380 if test "$ac_cv_have_isinf" = "yes"
16381 then
16383 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16388 $as_echo_n "checking for isnan... " >&6; }
16389 if ${ac_cv_have_isnan+:} false; then :
16390 $as_echo_n "(cached) " >&6
16391 else
16392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16393 /* end confdefs.h. */
16394 #include <math.h>
16396 main ()
16398 float f = 0.0; return isnan(f)
16400 return 0;
16402 _ACEOF
16403 if ac_fn_c_try_link "$LINENO"; then :
16404 ac_cv_have_isnan="yes"
16405 else
16406 ac_cv_have_isnan="no"
16408 rm -f core conftest.err conftest.$ac_objext \
16409 conftest$ac_exeext conftest.$ac_ext
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16412 $as_echo "$ac_cv_have_isnan" >&6; }
16413 if test "$ac_cv_have_isnan" = "yes"
16414 then
16416 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16420 for ac_func in \
16421 cbrt \
16422 cbrtf \
16423 exp2 \
16424 exp2f \
16425 llrint \
16426 llrintf \
16427 llround \
16428 llroundf \
16429 log2 \
16430 log2f \
16431 lrint \
16432 lrintf \
16433 lround \
16434 lroundf \
16435 rint \
16436 rintf \
16437 round \
16438 roundf \
16439 trunc \
16440 truncf
16442 do :
16443 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16444 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16445 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16446 cat >>confdefs.h <<_ACEOF
16447 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16448 _ACEOF
16451 done
16453 LIBS="$ac_save_LIBS"
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16456 $as_echo_n "checking for __builtin_clz... " >&6; }
16457 if ${ac_cv_have___builtin_clz+:} false; then :
16458 $as_echo_n "(cached) " >&6
16459 else
16460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16461 /* end confdefs.h. */
16464 main ()
16466 return __builtin_clz(1)
16468 return 0;
16470 _ACEOF
16471 if ac_fn_c_try_link "$LINENO"; then :
16472 ac_cv_have___builtin_clz="yes"
16473 else
16474 ac_cv_have___builtin_clz="no"
16476 rm -f core conftest.err conftest.$ac_objext \
16477 conftest$ac_exeext conftest.$ac_ext
16479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16480 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16481 if test "$ac_cv_have___builtin_clz" = "yes"
16482 then
16484 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16489 case $host_cpu in
16490 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16491 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16492 if ${ac_cv_cpp_def___i386__+:} false; then :
16493 $as_echo_n "(cached) " >&6
16494 else
16495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16496 /* end confdefs.h. */
16497 #ifndef __i386__
16499 #endif
16500 _ACEOF
16501 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16502 $EGREP "yes" >/dev/null 2>&1; then :
16503 ac_cv_cpp_def___i386__=yes
16504 else
16505 ac_cv_cpp_def___i386__=no
16507 rm -f conftest*
16510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16511 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16512 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16513 CFLAGS="$CFLAGS -D__i386__"
16514 LINTFLAGS="$LINTFLAGS -D__i386__"
16515 fi ;;
16516 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16517 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16518 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16519 $as_echo_n "(cached) " >&6
16520 else
16521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16522 /* end confdefs.h. */
16523 #ifndef __x86_64__
16525 #endif
16526 _ACEOF
16527 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16528 $EGREP "yes" >/dev/null 2>&1; then :
16529 ac_cv_cpp_def___x86_64__=yes
16530 else
16531 ac_cv_cpp_def___x86_64__=no
16533 rm -f conftest*
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16537 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16538 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16539 CFLAGS="$CFLAGS -D__x86_64__"
16540 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16541 fi ;;
16542 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16543 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16544 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16545 $as_echo_n "(cached) " >&6
16546 else
16547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16548 /* end confdefs.h. */
16549 #ifndef __sparc64__
16551 #endif
16552 _ACEOF
16553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16554 $EGREP "yes" >/dev/null 2>&1; then :
16555 ac_cv_cpp_def___sparc64__=yes
16556 else
16557 ac_cv_cpp_def___sparc64__=no
16559 rm -f conftest*
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16563 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16564 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16565 CFLAGS="$CFLAGS -D__sparc64__"
16566 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16567 fi ;;
16568 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16569 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16570 if ${ac_cv_cpp_def___sparc__+:} false; then :
16571 $as_echo_n "(cached) " >&6
16572 else
16573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16574 /* end confdefs.h. */
16575 #ifndef __sparc__
16577 #endif
16578 _ACEOF
16579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16580 $EGREP "yes" >/dev/null 2>&1; then :
16581 ac_cv_cpp_def___sparc__=yes
16582 else
16583 ac_cv_cpp_def___sparc__=no
16585 rm -f conftest*
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16589 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16590 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16591 CFLAGS="$CFLAGS -D__sparc__"
16592 LINTFLAGS="$LINTFLAGS -D__sparc__"
16593 fi ;;
16594 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16595 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16596 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16597 $as_echo_n "(cached) " >&6
16598 else
16599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16600 /* end confdefs.h. */
16601 #ifndef __powerpc64__
16603 #endif
16604 _ACEOF
16605 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16606 $EGREP "yes" >/dev/null 2>&1; then :
16607 ac_cv_cpp_def___powerpc64__=yes
16608 else
16609 ac_cv_cpp_def___powerpc64__=no
16611 rm -f conftest*
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16615 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16616 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16617 CFLAGS="$CFLAGS -D__powerpc64__"
16618 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16619 fi ;;
16620 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16621 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16622 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16623 $as_echo_n "(cached) " >&6
16624 else
16625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16626 /* end confdefs.h. */
16627 #ifndef __powerpc__
16629 #endif
16630 _ACEOF
16631 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16632 $EGREP "yes" >/dev/null 2>&1; then :
16633 ac_cv_cpp_def___powerpc__=yes
16634 else
16635 ac_cv_cpp_def___powerpc__=no
16637 rm -f conftest*
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16641 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16642 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16643 CFLAGS="$CFLAGS -D__powerpc__"
16644 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16645 fi ;;
16646 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16647 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16648 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16649 $as_echo_n "(cached) " >&6
16650 else
16651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16652 /* end confdefs.h. */
16653 #ifndef __aarch64__
16655 #endif
16656 _ACEOF
16657 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16658 $EGREP "yes" >/dev/null 2>&1; then :
16659 ac_cv_cpp_def___aarch64__=yes
16660 else
16661 ac_cv_cpp_def___aarch64__=no
16663 rm -f conftest*
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16667 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16668 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16669 CFLAGS="$CFLAGS -D__aarch64__"
16670 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16671 fi ;;
16672 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16673 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16674 if ${ac_cv_cpp_def___arm__+:} false; then :
16675 $as_echo_n "(cached) " >&6
16676 else
16677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16678 /* end confdefs.h. */
16679 #ifndef __arm__
16681 #endif
16682 _ACEOF
16683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16684 $EGREP "yes" >/dev/null 2>&1; then :
16685 ac_cv_cpp_def___arm__=yes
16686 else
16687 ac_cv_cpp_def___arm__=no
16689 rm -f conftest*
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16693 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16694 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16695 CFLAGS="$CFLAGS -D__arm__"
16696 LINTFLAGS="$LINTFLAGS -D__arm__"
16697 fi ;;
16698 esac
16700 case $host_vendor in
16701 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16702 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16703 if ${ac_cv_cpp_def___sun__+:} false; then :
16704 $as_echo_n "(cached) " >&6
16705 else
16706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16707 /* end confdefs.h. */
16708 #ifndef __sun__
16710 #endif
16711 _ACEOF
16712 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16713 $EGREP "yes" >/dev/null 2>&1; then :
16714 ac_cv_cpp_def___sun__=yes
16715 else
16716 ac_cv_cpp_def___sun__=no
16718 rm -f conftest*
16721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16722 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16723 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16724 CFLAGS="$CFLAGS -D__sun__"
16725 LINTFLAGS="$LINTFLAGS -D__sun__"
16726 fi ;;
16727 esac
16733 ac_config_commands="$ac_config_commands include/stamp-h"
16735 $as_echo_n "creating Makefile rules..." >&6
16737 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16738 SOCKET_LIBS = $SOCKET_LIBS
16739 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16740 IOKIT_LIBS = $IOKIT_LIBS
16741 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16742 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16743 CORESERVICES_LIBS = $CORESERVICES_LIBS
16744 APPKIT_LIBS = $APPKIT_LIBS
16745 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16746 SECURITY_LIBS = $SECURITY_LIBS
16747 COREAUDIO_LIBS = $COREAUDIO_LIBS
16748 OPENAL_LIBS = $OPENAL_LIBS
16749 OPENCL_LIBS = $OPENCL_LIBS
16750 QUICKTIME_LIBS = $QUICKTIME_LIBS
16751 CARBON_LIBS = $CARBON_LIBS
16752 PTHREAD_LIBS = $PTHREAD_LIBS
16753 X_CFLAGS = $X_CFLAGS
16754 X_PRE_LIBS = $X_PRE_LIBS
16755 X_LIBS = $X_LIBS
16756 X_EXTRA_LIBS = $X_EXTRA_LIBS
16757 XML2_CFLAGS = $XML2_CFLAGS
16758 XML2_LIBS = $XML2_LIBS
16759 XSLT_CFLAGS = $XSLT_CFLAGS
16760 XSLT_LIBS = $XSLT_LIBS
16761 DBUS_CFLAGS = $DBUS_CFLAGS
16762 DBUS_LIBS = $DBUS_LIBS
16763 HAL_CFLAGS = $HAL_CFLAGS
16764 HAL_LIBS = $HAL_LIBS
16765 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16766 GNUTLS_LIBS = $GNUTLS_LIBS
16767 SANE_CFLAGS = $SANE_CFLAGS
16768 SANE_LIBS = $SANE_LIBS
16769 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16770 GPHOTO2_LIBS = $GPHOTO2_LIBS
16771 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16772 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16773 RESOLV_LIBS = $RESOLV_LIBS
16774 LCMS2_CFLAGS = $LCMS2_CFLAGS
16775 LCMS2_LIBS = $LCMS2_LIBS
16776 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16777 FREETYPE_LIBS = $FREETYPE_LIBS
16778 Z_LIBS = $Z_LIBS
16779 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16780 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16781 GSTREAMER_LIBS = $GSTREAMER_LIBS
16782 ALSA_LIBS = $ALSA_LIBS
16783 OSS4_CFLAGS = $OSS4_CFLAGS
16784 CAPI20_CFLAGS = $CAPI20_CFLAGS
16785 CAPI20_LIBS = $CAPI20_LIBS
16786 CUPS_CFLAGS = $CUPS_CFLAGS
16787 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16788 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16789 JPEG_CFLAGS = $JPEG_CFLAGS
16790 JPEG_LIBS = $JPEG_LIBS
16791 PNG_CFLAGS = $PNG_CFLAGS
16792 PNG_LIBS = $PNG_LIBS
16793 TIFF_CFLAGS = $TIFF_CFLAGS
16794 TIFF_LIBS = $TIFF_LIBS
16795 MPG123_CFLAGS = $MPG123_CFLAGS
16796 MPG123_LIBS = $MPG123_LIBS
16797 KSTAT_LIBS = $KSTAT_LIBS
16798 PROCSTAT_LIBS = $PROCSTAT_LIBS
16799 DL_LIBS = $DL_LIBS
16800 POLL_LIBS = $POLL_LIBS
16801 RT_LIBS = $RT_LIBS
16802 LDAP_LIBS = $LDAP_LIBS
16807 wine_fn_append_rule "
16808 # Rules automatically generated by configure
16810 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16812 .INIT: Makefile
16813 .MAKEFILEDEPS:
16814 all: Makefile
16815 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16816 @./config.status Make.tmp Makefile"
16818 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16819 .gitignore: config.status
16820 @./config.status .gitignore"
16822 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16823 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16825 if test "x$enable_fonts" != xno; then
16826 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16827 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16828 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16829 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16830 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16832 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16833 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16834 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16835 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16836 ac_config_links="$ac_config_links wine:tools/winewrapper"
16837 wine_fn_config_symlink wine
16838 if test "x$enable_win64" != xno; then
16839 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16840 wine_fn_config_symlink wine64
16843 wine_fn_config_dll acledit enable_acledit
16844 wine_fn_config_dll aclui enable_aclui implib
16845 wine_fn_config_dll activeds enable_activeds implib
16846 wine_fn_config_dll actxprxy enable_actxprxy clean
16847 wine_fn_config_lib adsiid
16848 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16849 wine_fn_config_test dlls/advapi32/tests advapi32_test
16850 wine_fn_config_dll advpack enable_advpack implib
16851 wine_fn_config_test dlls/advpack/tests advpack_test
16852 wine_fn_config_dll amstream enable_amstream clean
16853 wine_fn_config_test dlls/amstream/tests amstream_test
16854 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16855 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16856 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16857 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16858 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16859 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16860 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16861 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16862 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16863 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16864 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16865 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16866 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16867 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16868 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16869 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16870 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16871 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16872 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16873 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16874 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
16875 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16876 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16877 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16878 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16879 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16880 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16881 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16882 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
16883 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16884 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16885 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16886 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16887 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16888 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16889 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16890 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16891 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
16892 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16893 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16894 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16895 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16896 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16897 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
16898 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
16899 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16900 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
16901 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16902 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16903 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16904 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16905 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16906 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16907 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16908 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16909 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16910 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16911 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16912 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16913 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16914 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16915 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16916 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16917 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16918 wine_fn_config_dll apphelp enable_apphelp
16919 wine_fn_config_test dlls/apphelp/tests apphelp_test
16920 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16921 wine_fn_config_dll atl enable_atl clean,implib
16922 wine_fn_config_test dlls/atl/tests atl_test
16923 wine_fn_config_dll atl100 enable_atl100 clean,implib
16924 wine_fn_config_test dlls/atl100/tests atl100_test
16925 wine_fn_config_dll atl110 enable_atl110 clean
16926 wine_fn_config_dll atl80 enable_atl80 clean,implib
16927 wine_fn_config_test dlls/atl80/tests atl80_test
16928 wine_fn_config_dll atl90 enable_atl90 clean
16929 wine_fn_config_dll authz enable_authz
16930 wine_fn_config_dll avicap32 enable_avicap32 implib
16931 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16932 wine_fn_config_test dlls/avifil32/tests avifil32_test
16933 wine_fn_config_dll avifile.dll16 enable_win16
16934 wine_fn_config_dll avrt enable_avrt implib
16935 wine_fn_config_dll bcrypt enable_bcrypt
16936 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16937 wine_fn_config_dll browseui enable_browseui clean,po
16938 wine_fn_config_test dlls/browseui/tests browseui_test
16939 wine_fn_config_dll cabinet enable_cabinet implib
16940 wine_fn_config_test dlls/cabinet/tests cabinet_test
16941 wine_fn_config_dll capi2032 enable_capi2032 implib
16942 wine_fn_config_dll cards enable_cards implib
16943 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16944 wine_fn_config_dll clusapi enable_clusapi implib
16945 wine_fn_config_dll combase enable_combase
16946 wine_fn_config_test dlls/combase/tests combase_test
16947 wine_fn_config_dll comcat enable_comcat
16948 wine_fn_config_test dlls/comcat/tests comcat_test
16949 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16950 wine_fn_config_test dlls/comctl32/tests comctl32_test
16951 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16952 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16953 wine_fn_config_dll comm.drv16 enable_win16
16954 wine_fn_config_dll commdlg.dll16 enable_win16
16955 wine_fn_config_dll compobj.dll16 enable_win16
16956 wine_fn_config_dll compstui enable_compstui implib
16957 wine_fn_config_dll comsvcs enable_comsvcs implib
16958 wine_fn_config_dll credui enable_credui implib,po
16959 wine_fn_config_test dlls/credui/tests credui_test
16960 wine_fn_config_dll crtdll enable_crtdll implib
16961 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16962 wine_fn_config_test dlls/crypt32/tests crypt32_test
16963 wine_fn_config_dll cryptdlg enable_cryptdlg po
16964 wine_fn_config_dll cryptdll enable_cryptdll implib
16965 wine_fn_config_dll cryptext enable_cryptext
16966 wine_fn_config_dll cryptnet enable_cryptnet implib
16967 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16968 wine_fn_config_dll cryptui enable_cryptui implib,po
16969 wine_fn_config_test dlls/cryptui/tests cryptui_test
16970 wine_fn_config_dll ctapi32 enable_ctapi32
16971 wine_fn_config_dll ctl3d.dll16 enable_win16
16972 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16973 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16974 wine_fn_config_dll d2d1 enable_d2d1 implib
16975 wine_fn_config_test dlls/d2d1/tests d2d1_test
16976 wine_fn_config_dll d3d10 enable_d3d10 implib
16977 wine_fn_config_test dlls/d3d10/tests d3d10_test
16978 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16979 wine_fn_config_dll d3d10core enable_d3d10core implib
16980 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16981 wine_fn_config_dll d3d11 enable_d3d11
16982 wine_fn_config_dll d3d8 enable_d3d8 implib
16983 wine_fn_config_test dlls/d3d8/tests d3d8_test
16984 wine_fn_config_dll d3d9 enable_d3d9 implib
16985 wine_fn_config_test dlls/d3d9/tests d3d9_test
16986 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16987 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16988 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16989 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16990 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16991 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16992 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16993 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16994 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16995 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16996 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16997 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16998 wine_fn_config_dll d3dim enable_d3dim implib
16999 wine_fn_config_dll d3drm enable_d3drm implib
17000 wine_fn_config_test dlls/d3drm/tests d3drm_test
17001 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17002 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17003 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17004 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17005 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17006 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17007 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17008 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17009 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17010 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17011 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17012 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17013 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17014 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17015 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17016 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17017 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17018 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17019 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17020 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17021 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17022 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17023 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17024 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17025 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17026 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17027 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17028 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17029 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17030 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17031 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17032 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17033 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17034 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17035 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17036 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17037 wine_fn_config_dll dbgeng enable_dbgeng implib
17038 wine_fn_config_dll dbghelp enable_dbghelp implib
17039 wine_fn_config_dll dciman32 enable_dciman32 implib
17040 wine_fn_config_dll ddeml.dll16 enable_win16
17041 wine_fn_config_dll ddraw enable_ddraw clean,implib
17042 wine_fn_config_test dlls/ddraw/tests ddraw_test
17043 wine_fn_config_dll ddrawex enable_ddrawex clean
17044 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17045 wine_fn_config_dll devenum enable_devenum clean,po
17046 wine_fn_config_test dlls/devenum/tests devenum_test
17047 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17048 wine_fn_config_dll difxapi enable_difxapi
17049 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17050 wine_fn_config_test dlls/dinput/tests dinput_test
17051 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17052 wine_fn_config_test dlls/dinput8/tests dinput8_test
17053 wine_fn_config_dll dispdib.dll16 enable_win16
17054 wine_fn_config_dll dispex enable_dispex clean
17055 wine_fn_config_test dlls/dispex/tests dispex_test
17056 wine_fn_config_dll display.drv16 enable_win16
17057 wine_fn_config_dll dmband enable_dmband clean
17058 wine_fn_config_test dlls/dmband/tests dmband_test
17059 wine_fn_config_dll dmcompos enable_dmcompos clean
17060 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17061 wine_fn_config_dll dmime enable_dmime clean
17062 wine_fn_config_test dlls/dmime/tests dmime_test
17063 wine_fn_config_dll dmloader enable_dmloader clean
17064 wine_fn_config_test dlls/dmloader/tests dmloader_test
17065 wine_fn_config_dll dmscript enable_dmscript clean
17066 wine_fn_config_test dlls/dmscript/tests dmscript_test
17067 wine_fn_config_dll dmstyle enable_dmstyle clean
17068 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17069 wine_fn_config_dll dmsynth enable_dmsynth clean
17070 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17071 wine_fn_config_dll dmusic enable_dmusic clean
17072 wine_fn_config_test dlls/dmusic/tests dmusic_test
17073 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17074 wine_fn_config_dll dnsapi enable_dnsapi implib
17075 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17076 wine_fn_config_dll dplay enable_dplay implib
17077 wine_fn_config_dll dplayx enable_dplayx clean,implib
17078 wine_fn_config_test dlls/dplayx/tests dplayx_test
17079 wine_fn_config_dll dpnaddr enable_dpnaddr
17080 wine_fn_config_dll dpnet enable_dpnet clean,implib
17081 wine_fn_config_test dlls/dpnet/tests dpnet_test
17082 wine_fn_config_dll dpnhpast enable_dpnhpast
17083 wine_fn_config_dll dpnlobby enable_dpnlobby
17084 wine_fn_config_dll dpvoice enable_dpvoice clean
17085 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17086 wine_fn_config_dll dpwsockx enable_dpwsockx
17087 wine_fn_config_dll drmclien enable_drmclien
17088 wine_fn_config_dll dsound enable_dsound clean,implib
17089 wine_fn_config_test dlls/dsound/tests dsound_test
17090 wine_fn_config_dll dssenh enable_dssenh
17091 wine_fn_config_test dlls/dssenh/tests dssenh_test
17092 wine_fn_config_dll dswave enable_dswave clean
17093 wine_fn_config_test dlls/dswave/tests dswave_test
17094 wine_fn_config_dll dwmapi enable_dwmapi implib
17095 wine_fn_config_dll dwrite enable_dwrite implib
17096 wine_fn_config_test dlls/dwrite/tests dwrite_test
17097 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17098 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17099 wine_fn_config_lib dxerr8
17100 wine_fn_config_lib dxerr9
17101 wine_fn_config_dll dxgi enable_dxgi implib
17102 wine_fn_config_test dlls/dxgi/tests dxgi_test
17103 wine_fn_config_lib dxguid
17104 wine_fn_config_dll dxva2 enable_dxva2
17105 wine_fn_config_dll explorerframe enable_explorerframe clean
17106 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17107 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17108 wine_fn_config_dll faultrep enable_faultrep implib
17109 wine_fn_config_test dlls/faultrep/tests faultrep_test
17110 wine_fn_config_dll fltlib enable_fltlib
17111 wine_fn_config_dll fntcache enable_fntcache
17112 wine_fn_config_dll fontsub enable_fontsub
17113 wine_fn_config_dll fusion enable_fusion
17114 wine_fn_config_test dlls/fusion/tests fusion_test
17115 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17116 wine_fn_config_dll gameux enable_gameux clean
17117 wine_fn_config_test dlls/gameux/tests gameux_test
17118 wine_fn_config_dll gdi.exe16 enable_win16
17119 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17120 wine_fn_config_test dlls/gdi32/tests gdi32_test
17121 wine_fn_config_dll gdiplus enable_gdiplus implib
17122 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17123 wine_fn_config_dll glu32 enable_glu32 implib
17124 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17125 wine_fn_config_dll gpkcsp enable_gpkcsp
17126 wine_fn_config_dll hal enable_hal
17127 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17128 wine_fn_config_dll hid enable_hid implib
17129 wine_fn_config_dll hlink enable_hlink clean,implib
17130 wine_fn_config_test dlls/hlink/tests hlink_test
17131 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17132 wine_fn_config_dll httpapi enable_httpapi
17133 wine_fn_config_dll iccvid enable_iccvid po
17134 wine_fn_config_dll icmp enable_icmp
17135 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17136 wine_fn_config_test dlls/ieframe/tests ieframe_test
17137 wine_fn_config_dll ifsmgr.vxd enable_win16
17138 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17139 wine_fn_config_dll imagehlp enable_imagehlp implib
17140 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17141 wine_fn_config_dll imm.dll16 enable_win16
17142 wine_fn_config_dll imm32 enable_imm32 implib
17143 wine_fn_config_test dlls/imm32/tests imm32_test
17144 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17145 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17146 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17147 wine_fn_config_dll inetmib1 enable_inetmib1
17148 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17149 wine_fn_config_dll infosoft enable_infosoft clean
17150 wine_fn_config_test dlls/infosoft/tests infosoft_test
17151 wine_fn_config_dll initpki enable_initpki
17152 wine_fn_config_dll inkobj enable_inkobj
17153 wine_fn_config_dll inseng enable_inseng clean
17154 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17155 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17156 wine_fn_config_dll itircl enable_itircl
17157 wine_fn_config_dll itss enable_itss clean
17158 wine_fn_config_test dlls/itss/tests itss_test
17159 wine_fn_config_dll joy.cpl enable_joy_cpl po
17160 wine_fn_config_dll jscript enable_jscript clean,po
17161 wine_fn_config_test dlls/jscript/tests jscript_test
17162 wine_fn_config_dll jsproxy enable_jsproxy implib
17163 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17164 wine_fn_config_test dlls/kernel32/tests kernel32_test
17165 wine_fn_config_dll keyboard.drv16 enable_win16
17166 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17167 wine_fn_config_dll ksuser enable_ksuser
17168 wine_fn_config_dll ktmw32 enable_ktmw32
17169 wine_fn_config_dll loadperf enable_loadperf implib
17170 wine_fn_config_dll localspl enable_localspl po
17171 wine_fn_config_test dlls/localspl/tests localspl_test
17172 wine_fn_config_dll localui enable_localui po
17173 wine_fn_config_test dlls/localui/tests localui_test
17174 wine_fn_config_dll lz32 enable_lz32 implib
17175 wine_fn_config_test dlls/lz32/tests lz32_test
17176 wine_fn_config_dll lzexpand.dll16 enable_win16
17177 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17178 wine_fn_config_test dlls/mapi32/tests mapi32_test
17179 wine_fn_config_dll mapistub enable_mapistub
17180 wine_fn_config_dll mciavi32 enable_mciavi32
17181 wine_fn_config_dll mcicda enable_mcicda
17182 wine_fn_config_dll mciqtz32 enable_mciqtz32
17183 wine_fn_config_dll mciseq enable_mciseq
17184 wine_fn_config_dll mciwave enable_mciwave
17185 wine_fn_config_dll mfplat enable_mfplat
17186 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17187 wine_fn_config_dll mgmtapi enable_mgmtapi
17188 wine_fn_config_dll midimap enable_midimap
17189 wine_fn_config_dll mlang enable_mlang clean,implib
17190 wine_fn_config_test dlls/mlang/tests mlang_test
17191 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17192 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17193 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17194 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17195 wine_fn_config_dll mmdevldr.vxd enable_win16
17196 wine_fn_config_dll mmsystem.dll16 enable_win16
17197 wine_fn_config_dll monodebg.vxd enable_win16
17198 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17199 wine_fn_config_dll mouse.drv16 enable_win16
17200 wine_fn_config_dll mpr enable_mpr implib,po
17201 wine_fn_config_test dlls/mpr/tests mpr_test
17202 wine_fn_config_dll mprapi enable_mprapi implib
17203 wine_fn_config_dll msacm.dll16 enable_win16
17204 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17205 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17206 wine_fn_config_test dlls/msacm32/tests msacm32_test
17207 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17208 wine_fn_config_dll msasn1 enable_msasn1 implib
17209 wine_fn_config_dll mscat32 enable_mscat32
17210 wine_fn_config_dll mscms enable_mscms implib
17211 wine_fn_config_test dlls/mscms/tests mscms_test
17212 wine_fn_config_dll mscoree enable_mscoree clean
17213 wine_fn_config_test dlls/mscoree/tests mscoree_test
17214 wine_fn_config_dll msctf enable_msctf clean
17215 wine_fn_config_test dlls/msctf/tests msctf_test
17216 wine_fn_config_dll msdaps enable_msdaps clean
17217 wine_fn_config_dll msdmo enable_msdmo implib
17218 wine_fn_config_test dlls/msdmo/tests msdmo_test
17219 wine_fn_config_dll msftedit enable_msftedit
17220 wine_fn_config_dll msg711.acm enable_msg711_acm
17221 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17222 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17223 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17224 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17225 wine_fn_config_dll msi enable_msi clean,implib,po
17226 wine_fn_config_test dlls/msi/tests msi_test
17227 wine_fn_config_dll msident enable_msident clean
17228 wine_fn_config_dll msimg32 enable_msimg32 implib
17229 wine_fn_config_dll msimsg enable_msimsg
17230 wine_fn_config_dll msimtf enable_msimtf clean
17231 wine_fn_config_dll msisip enable_msisip
17232 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17233 wine_fn_config_dll msls31 enable_msls31
17234 wine_fn_config_dll msnet32 enable_msnet32
17235 wine_fn_config_dll mspatcha enable_mspatcha
17236 wine_fn_config_dll msrle32 enable_msrle32 po
17237 wine_fn_config_test dlls/msrle32/tests msrle32_test
17238 wine_fn_config_dll mssign32 enable_mssign32
17239 wine_fn_config_dll mssip32 enable_mssip32
17240 wine_fn_config_dll mstask enable_mstask clean
17241 wine_fn_config_test dlls/mstask/tests mstask_test
17242 wine_fn_config_dll msvcirt enable_msvcirt
17243 wine_fn_config_dll msvcm80 enable_msvcm80
17244 wine_fn_config_dll msvcm90 enable_msvcm90
17245 wine_fn_config_dll msvcp100 enable_msvcp100
17246 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17247 wine_fn_config_dll msvcp110 enable_msvcp110
17248 wine_fn_config_dll msvcp120 enable_msvcp120
17249 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17250 wine_fn_config_dll msvcp60 enable_msvcp60
17251 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17252 wine_fn_config_dll msvcp70 enable_msvcp70
17253 wine_fn_config_dll msvcp71 enable_msvcp71
17254 wine_fn_config_dll msvcp80 enable_msvcp80
17255 wine_fn_config_dll msvcp90 enable_msvcp90
17256 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17257 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17258 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17259 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17260 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17261 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17262 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17263 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17264 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17265 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17266 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17267 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17268 wine_fn_config_dll msvcrt enable_msvcrt implib
17269 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17270 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17271 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17272 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17273 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17274 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17275 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17276 wine_fn_config_dll msvidc32 enable_msvidc32 po
17277 wine_fn_config_dll msvideo.dll16 enable_win16
17278 wine_fn_config_dll mswsock enable_mswsock implib
17279 wine_fn_config_dll msxml enable_msxml clean
17280 wine_fn_config_dll msxml2 enable_msxml2 clean
17281 wine_fn_config_dll msxml3 enable_msxml3 clean
17282 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17283 wine_fn_config_dll msxml4 enable_msxml4 clean
17284 wine_fn_config_dll msxml6 enable_msxml6 clean
17285 wine_fn_config_dll nddeapi enable_nddeapi implib
17286 wine_fn_config_dll ndis.sys enable_ndis_sys
17287 wine_fn_config_dll netapi32 enable_netapi32 implib
17288 wine_fn_config_test dlls/netapi32/tests netapi32_test
17289 wine_fn_config_dll netcfgx enable_netcfgx clean
17290 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17291 wine_fn_config_dll netprofm enable_netprofm clean
17292 wine_fn_config_test dlls/netprofm/tests netprofm_test
17293 wine_fn_config_dll newdev enable_newdev implib
17294 wine_fn_config_dll normaliz enable_normaliz implib
17295 wine_fn_config_dll npmshtml enable_npmshtml
17296 wine_fn_config_dll npptools enable_npptools
17297 wine_fn_config_dll ntdll enable_ntdll implib
17298 wine_fn_config_test dlls/ntdll/tests ntdll_test
17299 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17300 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17301 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17302 wine_fn_config_dll ntprint enable_ntprint
17303 wine_fn_config_test dlls/ntprint/tests ntprint_test
17304 wine_fn_config_dll objsel enable_objsel clean
17305 wine_fn_config_dll odbc32 enable_odbc32 implib
17306 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17307 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17308 wine_fn_config_dll odbccu32 enable_odbccu32
17309 wine_fn_config_dll ole2.dll16 enable_win16
17310 wine_fn_config_dll ole2conv.dll16 enable_win16
17311 wine_fn_config_dll ole2disp.dll16 enable_win16
17312 wine_fn_config_dll ole2nls.dll16 enable_win16
17313 wine_fn_config_dll ole2prox.dll16 enable_win16
17314 wine_fn_config_dll ole2thk.dll16 enable_win16
17315 wine_fn_config_dll ole32 enable_ole32 clean,implib
17316 wine_fn_config_test dlls/ole32/tests ole32_test
17317 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17318 wine_fn_config_test dlls/oleacc/tests oleacc_test
17319 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17320 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17321 wine_fn_config_dll olecli.dll16 enable_win16
17322 wine_fn_config_dll olecli32 enable_olecli32 implib
17323 wine_fn_config_dll oledb32 enable_oledb32 clean
17324 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17325 wine_fn_config_dll oledlg enable_oledlg implib,po
17326 wine_fn_config_dll olepro32 enable_olepro32 implib
17327 wine_fn_config_dll olesvr.dll16 enable_win16
17328 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17329 wine_fn_config_dll olethk32 enable_olethk32
17330 wine_fn_config_dll openal32 enable_openal32
17331 wine_fn_config_dll opencl enable_opencl
17332 wine_fn_config_dll opengl32 enable_opengl32 implib
17333 wine_fn_config_test dlls/opengl32/tests opengl32_test
17334 wine_fn_config_dll packager enable_packager clean
17335 wine_fn_config_test dlls/packager/tests packager_test
17336 wine_fn_config_dll pdh enable_pdh implib
17337 wine_fn_config_test dlls/pdh/tests pdh_test
17338 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17339 wine_fn_config_dll pidgen enable_pidgen
17340 wine_fn_config_dll powrprof enable_powrprof implib
17341 wine_fn_config_dll printui enable_printui
17342 wine_fn_config_dll prntvpt enable_prntvpt
17343 wine_fn_config_dll propsys enable_propsys clean,implib
17344 wine_fn_config_test dlls/propsys/tests propsys_test
17345 wine_fn_config_dll psapi enable_psapi implib
17346 wine_fn_config_test dlls/psapi/tests psapi_test
17347 wine_fn_config_dll pstorec enable_pstorec clean
17348 wine_fn_config_dll qcap enable_qcap
17349 wine_fn_config_test dlls/qcap/tests qcap_test
17350 wine_fn_config_dll qedit enable_qedit clean
17351 wine_fn_config_test dlls/qedit/tests qedit_test
17352 wine_fn_config_dll qmgr enable_qmgr clean
17353 wine_fn_config_test dlls/qmgr/tests qmgr_test
17354 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17355 wine_fn_config_dll quartz enable_quartz clean,implib
17356 wine_fn_config_test dlls/quartz/tests quartz_test clean
17357 wine_fn_config_dll query enable_query
17358 wine_fn_config_dll rasapi16.dll16 enable_win16
17359 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17360 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17361 wine_fn_config_dll rasdlg enable_rasdlg implib
17362 wine_fn_config_dll regapi enable_regapi
17363 wine_fn_config_dll resutils enable_resutils implib
17364 wine_fn_config_dll riched20 enable_riched20 implib
17365 wine_fn_config_test dlls/riched20/tests riched20_test
17366 wine_fn_config_dll riched32 enable_riched32
17367 wine_fn_config_test dlls/riched32/tests riched32_test
17368 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17369 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17370 wine_fn_config_dll rsabase enable_rsabase
17371 wine_fn_config_dll rsaenh enable_rsaenh implib
17372 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17373 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17374 wine_fn_config_dll rtutils enable_rtutils implib
17375 wine_fn_config_dll samlib enable_samlib
17376 wine_fn_config_dll sane.ds enable_sane_ds po
17377 wine_fn_config_dll scarddlg enable_scarddlg
17378 wine_fn_config_dll sccbase enable_sccbase
17379 wine_fn_config_dll schannel enable_schannel
17380 wine_fn_config_test dlls/schannel/tests schannel_test
17381 wine_fn_config_dll schedsvc enable_schedsvc clean
17382 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17383 wine_fn_config_dll scrrun enable_scrrun clean
17384 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17385 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17386 wine_fn_config_dll secur32 enable_secur32 implib
17387 wine_fn_config_test dlls/secur32/tests secur32_test
17388 wine_fn_config_dll security enable_security
17389 wine_fn_config_dll sensapi enable_sensapi implib
17390 wine_fn_config_dll serialui enable_serialui implib,po
17391 wine_fn_config_test dlls/serialui/tests serialui_test
17392 wine_fn_config_dll setupapi enable_setupapi implib,po
17393 wine_fn_config_test dlls/setupapi/tests setupapi_test
17394 wine_fn_config_dll setupx.dll16 enable_win16
17395 wine_fn_config_dll sfc enable_sfc implib
17396 wine_fn_config_dll sfc_os enable_sfc_os implib
17397 wine_fn_config_dll shdoclc enable_shdoclc po
17398 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17399 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17400 wine_fn_config_dll shell.dll16 enable_win16
17401 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17402 wine_fn_config_test dlls/shell32/tests shell32_test
17403 wine_fn_config_dll shfolder enable_shfolder implib
17404 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17405 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17406 wine_fn_config_dll slbcsp enable_slbcsp
17407 wine_fn_config_dll slc enable_slc implib
17408 wine_fn_config_dll snmpapi enable_snmpapi implib
17409 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17410 wine_fn_config_dll softpub enable_softpub
17411 wine_fn_config_dll sound.drv16 enable_win16
17412 wine_fn_config_dll spoolss enable_spoolss implib
17413 wine_fn_config_test dlls/spoolss/tests spoolss_test
17414 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17415 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17416 wine_fn_config_dll sti enable_sti clean,implib
17417 wine_fn_config_test dlls/sti/tests sti_test
17418 wine_fn_config_dll storage.dll16 enable_win16
17419 wine_fn_config_dll stress.dll16 enable_win16
17420 wine_fn_config_lib strmbase
17421 wine_fn_config_lib strmiids
17422 wine_fn_config_dll svrapi enable_svrapi
17423 wine_fn_config_dll sxs enable_sxs implib
17424 wine_fn_config_test dlls/sxs/tests sxs_test
17425 wine_fn_config_dll system.drv16 enable_win16
17426 wine_fn_config_dll t2embed enable_t2embed
17427 wine_fn_config_dll tapi32 enable_tapi32 implib
17428 wine_fn_config_dll taskschd enable_taskschd clean
17429 wine_fn_config_test dlls/taskschd/tests taskschd_test
17430 wine_fn_config_dll toolhelp.dll16 enable_win16
17431 wine_fn_config_dll traffic enable_traffic
17432 wine_fn_config_dll twain.dll16 enable_win16
17433 wine_fn_config_dll twain_32 enable_twain_32
17434 wine_fn_config_test dlls/twain_32/tests twain_32_test
17435 wine_fn_config_dll typelib.dll16 enable_win16
17436 wine_fn_config_dll unicows enable_unicows implib
17437 wine_fn_config_dll updspapi enable_updspapi
17438 wine_fn_config_dll url enable_url implib
17439 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17440 wine_fn_config_test dlls/urlmon/tests urlmon_test
17441 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17442 wine_fn_config_dll user.exe16 enable_win16
17443 wine_fn_config_dll user32 enable_user32 clean,implib,po
17444 wine_fn_config_test dlls/user32/tests user32_test
17445 wine_fn_config_dll userenv enable_userenv implib
17446 wine_fn_config_test dlls/userenv/tests userenv_test
17447 wine_fn_config_dll usp10 enable_usp10 implib
17448 wine_fn_config_test dlls/usp10/tests usp10_test
17449 wine_fn_config_lib uuid
17450 wine_fn_config_dll uxtheme enable_uxtheme implib
17451 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17452 wine_fn_config_dll vbscript enable_vbscript clean
17453 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17454 wine_fn_config_dll vcomp enable_vcomp
17455 wine_fn_config_dll vcomp100 enable_vcomp100
17456 wine_fn_config_dll vcomp90 enable_vcomp90
17457 wine_fn_config_dll vdhcp.vxd enable_win16
17458 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17459 wine_fn_config_dll ver.dll16 enable_win16
17460 wine_fn_config_dll version enable_version implib
17461 wine_fn_config_test dlls/version/tests version_test
17462 wine_fn_config_dll vmm.vxd enable_win16
17463 wine_fn_config_dll vnbt.vxd enable_win16
17464 wine_fn_config_dll vnetbios.vxd enable_win16
17465 wine_fn_config_dll vssapi enable_vssapi
17466 wine_fn_config_dll vtdapi.vxd enable_win16
17467 wine_fn_config_dll vwin32.vxd enable_win16
17468 wine_fn_config_dll w32skrnl enable_win16
17469 wine_fn_config_dll w32sys.dll16 enable_win16
17470 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17471 wine_fn_config_dll wbemprox enable_wbemprox clean
17472 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17473 wine_fn_config_dll webservices enable_webservices implib
17474 wine_fn_config_dll wer enable_wer implib
17475 wine_fn_config_test dlls/wer/tests wer_test
17476 wine_fn_config_dll wevtapi enable_wevtapi
17477 wine_fn_config_dll wiaservc enable_wiaservc clean
17478 wine_fn_config_dll win32s16.dll16 enable_win16
17479 wine_fn_config_dll win87em.dll16 enable_win16
17480 wine_fn_config_dll winaspi.dll16 enable_win16
17481 wine_fn_config_dll windebug.dll16 enable_win16
17482 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17483 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17484 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17485 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17486 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17487 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17488 wine_fn_config_lib winecrt0
17489 wine_fn_config_dll wined3d enable_wined3d implib
17490 wine_fn_config_dll winegstreamer enable_winegstreamer
17491 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17492 wine_fn_config_dll winemac.drv enable_winemac_drv
17493 wine_fn_config_dll winemapi enable_winemapi
17494 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17495 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17496 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17497 wine_fn_config_dll wineps16.drv16 enable_win16
17498 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17499 wine_fn_config_dll winex11.drv enable_winex11_drv
17500 wine_fn_config_dll wing.dll16 enable_win16
17501 wine_fn_config_dll wing32 enable_wing32
17502 wine_fn_config_dll winhttp enable_winhttp clean,implib
17503 wine_fn_config_test dlls/winhttp/tests winhttp_test
17504 wine_fn_config_dll wininet enable_wininet implib,po
17505 wine_fn_config_test dlls/wininet/tests wininet_test
17506 wine_fn_config_dll winmm enable_winmm implib,po
17507 wine_fn_config_test dlls/winmm/tests winmm_test
17508 wine_fn_config_dll winnls.dll16 enable_win16
17509 wine_fn_config_dll winnls32 enable_winnls32 implib
17510 wine_fn_config_dll winscard enable_winscard implib
17511 wine_fn_config_dll winsock.dll16 enable_win16
17512 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17513 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17514 wine_fn_config_dll winsta enable_winsta
17515 wine_fn_config_dll wintab.dll16 enable_win16
17516 wine_fn_config_dll wintab32 enable_wintab32 implib
17517 wine_fn_config_test dlls/wintab32/tests wintab32_test
17518 wine_fn_config_dll wintrust enable_wintrust implib
17519 wine_fn_config_test dlls/wintrust/tests wintrust_test
17520 wine_fn_config_dll wlanapi enable_wlanapi
17521 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17522 wine_fn_config_test dlls/wldap32/tests wldap32_test
17523 wine_fn_config_dll wmi enable_wmi
17524 wine_fn_config_dll wmiutils enable_wmiutils clean
17525 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17526 wine_fn_config_dll wmp enable_wmp clean
17527 wine_fn_config_test dlls/wmp/tests wmp_test
17528 wine_fn_config_dll wmvcore enable_wmvcore
17529 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17530 wine_fn_config_dll wow32 enable_win16 implib
17531 wine_fn_config_dll wpcap enable_wpcap
17532 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17533 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17534 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17535 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17536 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17537 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17538 wine_fn_config_dll wsock32 enable_wsock32 implib
17539 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17540 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17541 wine_fn_config_dll wuapi enable_wuapi clean
17542 wine_fn_config_dll wuaueng enable_wuaueng
17543 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17544 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17545 wine_fn_config_dll xinput1_1 enable_xinput1_1
17546 wine_fn_config_dll xinput1_2 enable_xinput1_2
17547 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17548 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17549 wine_fn_config_dll xinput1_4 enable_xinput1_4
17550 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17551 wine_fn_config_dll xmllite enable_xmllite implib
17552 wine_fn_config_test dlls/xmllite/tests xmllite_test
17553 wine_fn_config_dll xolehlp enable_xolehlp
17554 wine_fn_config_dll xpsprint enable_xpsprint
17555 wine_fn_config_dll xpssvcs enable_xpssvcs
17556 wine_fn_config_makefile documentation enable_documentation clean
17557 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17558 wine_fn_config_makefile include enable_include clean,install-dev
17559 wine_fn_config_makefile libs/port enable_libs_port
17560 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17561 wine_fn_config_makefile libs/wpp enable_libs_wpp
17562 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17563 wine_fn_config_program arp enable_arp install
17564 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17565 wine_fn_config_program attrib enable_attrib install,po
17566 wine_fn_config_program cabarc enable_cabarc install
17567 wine_fn_config_program cacls enable_cacls install
17568 wine_fn_config_program clock enable_clock install,po
17569 wine_fn_config_program cmd enable_cmd install,po
17570 wine_fn_config_test programs/cmd/tests cmd.exe_test
17571 wine_fn_config_program conhost enable_conhost install
17572 wine_fn_config_program control enable_control install
17573 wine_fn_config_program cscript enable_cscript clean,install
17574 wine_fn_config_program dpnsvr enable_dpnsvr install
17575 wine_fn_config_program dxdiag enable_dxdiag install,po
17576 wine_fn_config_program eject enable_eject install
17577 wine_fn_config_program expand enable_expand install
17578 wine_fn_config_program explorer enable_explorer install,po
17579 wine_fn_config_program extrac32 enable_extrac32 install
17580 wine_fn_config_program findstr enable_findstr install
17581 wine_fn_config_program hh enable_hh install
17582 wine_fn_config_program hostname enable_hostname install,po
17583 wine_fn_config_program icinfo enable_icinfo install
17584 wine_fn_config_program iexplore enable_iexplore install
17585 wine_fn_config_program ipconfig enable_ipconfig install,po
17586 wine_fn_config_program lodctr enable_lodctr install
17587 wine_fn_config_program mofcomp enable_mofcomp install
17588 wine_fn_config_program mshta enable_mshta install
17589 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17590 wine_fn_config_program net enable_net install,po
17591 wine_fn_config_program netsh enable_netsh install
17592 wine_fn_config_program netstat enable_netstat install,po
17593 wine_fn_config_program ngen enable_ngen install
17594 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17595 wine_fn_config_program oleview enable_oleview install,po
17596 wine_fn_config_program ping enable_ping install
17597 wine_fn_config_program plugplay enable_plugplay install
17598 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17599 wine_fn_config_program progman enable_progman install,po
17600 wine_fn_config_program reg enable_reg install,po
17601 wine_fn_config_test programs/reg/tests reg.exe_test
17602 wine_fn_config_program regasm enable_regasm install
17603 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17604 wine_fn_config_test programs/regedit/tests regedit.exe_test
17605 wine_fn_config_program regsvcs enable_regsvcs install
17606 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17607 wine_fn_config_program rpcss enable_rpcss clean,install
17608 wine_fn_config_program rundll.exe16 enable_win16 install
17609 wine_fn_config_program rundll32 enable_rundll32 install
17610 wine_fn_config_program sc enable_sc install
17611 wine_fn_config_program schtasks enable_schtasks install
17612 wine_fn_config_program sdbinst enable_sdbinst install
17613 wine_fn_config_program secedit enable_secedit install
17614 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17615 wine_fn_config_program services enable_services clean,install
17616 wine_fn_config_test programs/services/tests services.exe_test
17617 wine_fn_config_program spoolsv enable_spoolsv install
17618 wine_fn_config_program start enable_start install,po
17619 wine_fn_config_program svchost enable_svchost install
17620 wine_fn_config_program systeminfo enable_systeminfo install
17621 wine_fn_config_program taskkill enable_taskkill install,po
17622 wine_fn_config_program tasklist enable_tasklist install
17623 wine_fn_config_program taskmgr enable_taskmgr install,po
17624 wine_fn_config_program termsv enable_termsv install
17625 wine_fn_config_program uninstaller enable_uninstaller install,po
17626 wine_fn_config_program unlodctr enable_unlodctr install
17627 wine_fn_config_program view enable_view install,po
17628 wine_fn_config_program wevtutil enable_wevtutil install
17629 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17630 wine_fn_config_program winebrowser enable_winebrowser install
17631 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17632 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17633 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17634 wine_fn_config_program winedevice enable_winedevice install
17635 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17636 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17637 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17638 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17639 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17640 wine_fn_config_program winetest enable_winetest clean
17641 wine_fn_config_program winevdm enable_win16 install
17642 wine_fn_config_program winhelp.exe16 enable_win16 install
17643 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17644 wine_fn_config_program winoldap.mod16 enable_win16 install
17645 wine_fn_config_program winver enable_winver install
17646 wine_fn_config_program wmic enable_wmic install,po
17647 wine_fn_config_program wordpad enable_wordpad install,po
17648 wine_fn_config_program write enable_write install,po
17649 wine_fn_config_program wscript enable_wscript clean,install
17650 wine_fn_config_test programs/wscript/tests wscript.exe_test
17651 wine_fn_config_program wusa enable_wusa install
17652 wine_fn_config_program xcopy enable_xcopy install,po
17653 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17654 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17655 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17656 wine_fn_config_tool tools/sfnt2fon clean
17657 wine_fn_config_tool tools/widl clean,install-dev,manpage
17658 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17659 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17660 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17661 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17662 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17664 LINGUAS="\
17665 ar \
17666 bg \
17667 ca \
17668 cs \
17669 da \
17670 de \
17671 el \
17672 en \
17673 en_US \
17674 eo \
17675 es \
17676 fa \
17677 fi \
17678 fr \
17679 he \
17680 hi \
17681 hr \
17682 hu \
17683 it \
17684 ja \
17685 ko \
17686 lt \
17687 ml \
17688 nb_NO \
17689 nl \
17690 or \
17691 pa \
17692 pl \
17693 pt_BR \
17694 pt_PT \
17695 rm \
17696 ro \
17697 ru \
17698 sk \
17699 sl \
17700 sr_RS@cyrillic \
17701 sr_RS@latin \
17702 sv \
17703 te \
17704 th \
17705 tr \
17706 uk \
17707 wa \
17708 zh_CN \
17709 zh_TW"
17714 wine_fn_ignore_file ".gitignore"
17715 wine_fn_ignore_file "Makefile"
17716 wine_fn_ignore_file "TAGS"
17717 wine_fn_ignore_file "tags"
17718 wine_fn_ignore_file "autom4te.cache"
17719 wine_fn_ignore_file "config.cache"
17720 wine_fn_ignore_file "config.log"
17721 wine_fn_ignore_file "config.status"
17722 wine_fn_ignore_file "configure.lineno"
17723 wine_fn_ignore_file "include/config.h"
17724 wine_fn_ignore_file "include/stamp-h"
17725 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17727 if test "x$enable_tools" != xno
17728 then
17729 wine_fn_ignore_file "tools/makedep$ac_exeext"
17730 ac_config_commands="$ac_config_commands tools/makedep"
17734 ac_config_commands="$ac_config_commands Makefile"
17737 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17741 if test "x$enable_maintainer_mode" = xyes
17742 then
17743 wine_fn_append_rule "configure: configure.ac aclocal.m4
17744 autoconf --warnings=all
17745 include/config.h.in: include/stamp-h.in
17746 include/stamp-h.in: configure.ac aclocal.m4
17747 autoheader --warnings=all
17748 @echo timestamp > \$@"
17751 if test "x$with_gettextpo" = xyes
17752 then
17753 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17754 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17755 \$(LINGUAS:%=po/%.po): po/wine.pot
17756 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17757 po/wine.pot: \$(ALL_POT_FILES)
17758 msgcat -o \$@ \$(ALL_POT_FILES)"
17761 if test "$MSGFMT" != false
17762 then
17763 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17764 clean::
17765 \$(RM) \$(LINGUAS:%=po/%.mo)"
17767 posrc="po"
17768 test "$srcdir" = . || posrc="$srcdir/po"
17769 for i in $LINGUAS
17771 wine_fn_ignore_file "po/$i.mo"
17772 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17773 \$(MSGFMT) -o \$@ $posrc/$i.po"
17774 done
17775 else
17776 LINGUAS=
17779 if test "x$enable_tools" != xno
17780 then
17781 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17782 @./config.status tools/makedep
17783 Makefile: tools/makedep$ac_exeext
17784 distclean:: clean
17785 \$(RM) tools/makedep$ac_exeext"
17786 else
17787 wine_fn_append_rule "\$(MAKEDEP):
17788 @echo \"You need to run make in $TOOLSDIR first\" && false"
17791 if test -n "$with_wine64"
17792 then
17793 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17794 fonts server tools:
17795 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17796 $with_wine64/loader/wine:
17797 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17798 $with_wine64/loader/wine-preloader:
17799 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17800 clean::
17801 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17802 else
17803 as_fn_append LOADER_RULES "
17804 install install-lib:: wine.inf install-man-pages
17805 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17806 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17808 uninstall::
17809 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17813 if test "$srcdir" = .
17814 then
17815 ac_config_commands="$ac_config_commands .gitignore"
17819 $as_echo " done" >&6
17820 cat >confcache <<\_ACEOF
17821 # This file is a shell script that caches the results of configure
17822 # tests run on this system so they can be shared between configure
17823 # scripts and configure runs, see configure's option --config-cache.
17824 # It is not useful on other systems. If it contains results you don't
17825 # want to keep, you may remove or edit it.
17827 # config.status only pays attention to the cache file if you give it
17828 # the --recheck option to rerun configure.
17830 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17831 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17832 # following values.
17834 _ACEOF
17836 # The following way of writing the cache mishandles newlines in values,
17837 # but we know of no workaround that is simple, portable, and efficient.
17838 # So, we kill variables containing newlines.
17839 # Ultrix sh set writes to stderr and can't be redirected directly,
17840 # and sets the high bit in the cache file unless we assign to the vars.
17842 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17843 eval ac_val=\$$ac_var
17844 case $ac_val in #(
17845 *${as_nl}*)
17846 case $ac_var in #(
17847 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17848 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17849 esac
17850 case $ac_var in #(
17851 _ | IFS | as_nl) ;; #(
17852 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17853 *) { eval $ac_var=; unset $ac_var;} ;;
17854 esac ;;
17855 esac
17856 done
17858 (set) 2>&1 |
17859 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17860 *${as_nl}ac_space=\ *)
17861 # `set' does not quote correctly, so add quotes: double-quote
17862 # substitution turns \\\\ into \\, and sed turns \\ into \.
17863 sed -n \
17864 "s/'/'\\\\''/g;
17865 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17866 ;; #(
17868 # `set' quotes correctly as required by POSIX, so do not add quotes.
17869 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17871 esac |
17872 sort
17874 sed '
17875 /^ac_cv_env_/b end
17876 t clear
17877 :clear
17878 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17879 t end
17880 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17881 :end' >>confcache
17882 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17883 if test -w "$cache_file"; then
17884 if test "x$cache_file" != "x/dev/null"; then
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17886 $as_echo "$as_me: updating cache $cache_file" >&6;}
17887 if test ! -f "$cache_file" || test -h "$cache_file"; then
17888 cat confcache >"$cache_file"
17889 else
17890 case $cache_file in #(
17891 */* | ?:*)
17892 mv -f confcache "$cache_file"$$ &&
17893 mv -f "$cache_file"$$ "$cache_file" ;; #(
17895 mv -f confcache "$cache_file" ;;
17896 esac
17899 else
17900 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17901 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17904 rm -f confcache
17906 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17907 # Let make expand exec_prefix.
17908 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17910 DEFS=-DHAVE_CONFIG_H
17912 ac_libobjs=
17913 ac_ltlibobjs=
17915 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17916 # 1. Remove the extension, and $U if already installed.
17917 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17918 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17919 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17920 # will be set to the directory where LIBOBJS objects are built.
17921 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17922 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17923 done
17924 LIBOBJS=$ac_libobjs
17926 LTLIBOBJS=$ac_ltlibobjs
17930 : "${CONFIG_STATUS=./config.status}"
17931 ac_write_fail=0
17932 ac_clean_files_save=$ac_clean_files
17933 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17934 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17935 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17936 as_write_fail=0
17937 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17938 #! $SHELL
17939 # Generated by $as_me.
17940 # Run this file to recreate the current configuration.
17941 # Compiler output produced by configure, useful for debugging
17942 # configure, is in config.log if it exists.
17944 debug=false
17945 ac_cs_recheck=false
17946 ac_cs_silent=false
17948 SHELL=\${CONFIG_SHELL-$SHELL}
17949 export SHELL
17950 _ASEOF
17951 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17952 ## -------------------- ##
17953 ## M4sh Initialization. ##
17954 ## -------------------- ##
17956 # Be more Bourne compatible
17957 DUALCASE=1; export DUALCASE # for MKS sh
17958 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17959 emulate sh
17960 NULLCMD=:
17961 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17962 # is contrary to our usage. Disable this feature.
17963 alias -g '${1+"$@"}'='"$@"'
17964 setopt NO_GLOB_SUBST
17965 else
17966 case `(set -o) 2>/dev/null` in #(
17967 *posix*) :
17968 set -o posix ;; #(
17969 *) :
17971 esac
17975 as_nl='
17977 export as_nl
17978 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17979 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17980 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17981 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17982 # Prefer a ksh shell builtin over an external printf program on Solaris,
17983 # but without wasting forks for bash or zsh.
17984 if test -z "$BASH_VERSION$ZSH_VERSION" \
17985 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17986 as_echo='print -r --'
17987 as_echo_n='print -rn --'
17988 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17989 as_echo='printf %s\n'
17990 as_echo_n='printf %s'
17991 else
17992 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17993 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17994 as_echo_n='/usr/ucb/echo -n'
17995 else
17996 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17997 as_echo_n_body='eval
17998 arg=$1;
17999 case $arg in #(
18000 *"$as_nl"*)
18001 expr "X$arg" : "X\\(.*\\)$as_nl";
18002 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18003 esac;
18004 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18006 export as_echo_n_body
18007 as_echo_n='sh -c $as_echo_n_body as_echo'
18009 export as_echo_body
18010 as_echo='sh -c $as_echo_body as_echo'
18013 # The user is always right.
18014 if test "${PATH_SEPARATOR+set}" != set; then
18015 PATH_SEPARATOR=:
18016 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18017 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18018 PATH_SEPARATOR=';'
18023 # IFS
18024 # We need space, tab and new line, in precisely that order. Quoting is
18025 # there to prevent editors from complaining about space-tab.
18026 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18027 # splitting by setting IFS to empty value.)
18028 IFS=" "" $as_nl"
18030 # Find who we are. Look in the path if we contain no directory separator.
18031 as_myself=
18032 case $0 in #((
18033 *[\\/]* ) as_myself=$0 ;;
18034 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18035 for as_dir in $PATH
18037 IFS=$as_save_IFS
18038 test -z "$as_dir" && as_dir=.
18039 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18040 done
18041 IFS=$as_save_IFS
18044 esac
18045 # We did not find ourselves, most probably we were run as `sh COMMAND'
18046 # in which case we are not to be found in the path.
18047 if test "x$as_myself" = x; then
18048 as_myself=$0
18050 if test ! -f "$as_myself"; then
18051 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18052 exit 1
18055 # Unset variables that we do not need and which cause bugs (e.g. in
18056 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18057 # suppresses any "Segmentation fault" message there. '((' could
18058 # trigger a bug in pdksh 5.2.14.
18059 for as_var in BASH_ENV ENV MAIL MAILPATH
18060 do eval test x\${$as_var+set} = xset \
18061 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18062 done
18063 PS1='$ '
18064 PS2='> '
18065 PS4='+ '
18067 # NLS nuisances.
18068 LC_ALL=C
18069 export LC_ALL
18070 LANGUAGE=C
18071 export LANGUAGE
18073 # CDPATH.
18074 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18077 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18078 # ----------------------------------------
18079 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18080 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18081 # script with STATUS, using 1 if that was 0.
18082 as_fn_error ()
18084 as_status=$1; test $as_status -eq 0 && as_status=1
18085 if test "$4"; then
18086 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18087 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18089 $as_echo "$as_me: error: $2" >&2
18090 as_fn_exit $as_status
18091 } # as_fn_error
18094 # as_fn_set_status STATUS
18095 # -----------------------
18096 # Set $? to STATUS, without forking.
18097 as_fn_set_status ()
18099 return $1
18100 } # as_fn_set_status
18102 # as_fn_exit STATUS
18103 # -----------------
18104 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18105 as_fn_exit ()
18107 set +e
18108 as_fn_set_status $1
18109 exit $1
18110 } # as_fn_exit
18112 # as_fn_unset VAR
18113 # ---------------
18114 # Portably unset VAR.
18115 as_fn_unset ()
18117 { eval $1=; unset $1;}
18119 as_unset=as_fn_unset
18120 # as_fn_append VAR VALUE
18121 # ----------------------
18122 # Append the text in VALUE to the end of the definition contained in VAR. Take
18123 # advantage of any shell optimizations that allow amortized linear growth over
18124 # repeated appends, instead of the typical quadratic growth present in naive
18125 # implementations.
18126 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18127 eval 'as_fn_append ()
18129 eval $1+=\$2
18131 else
18132 as_fn_append ()
18134 eval $1=\$$1\$2
18136 fi # as_fn_append
18138 # as_fn_arith ARG...
18139 # ------------------
18140 # Perform arithmetic evaluation on the ARGs, and store the result in the
18141 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18142 # must be portable across $(()) and expr.
18143 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18144 eval 'as_fn_arith ()
18146 as_val=$(( $* ))
18148 else
18149 as_fn_arith ()
18151 as_val=`expr "$@" || test $? -eq 1`
18153 fi # as_fn_arith
18156 if expr a : '\(a\)' >/dev/null 2>&1 &&
18157 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18158 as_expr=expr
18159 else
18160 as_expr=false
18163 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18164 as_basename=basename
18165 else
18166 as_basename=false
18169 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18170 as_dirname=dirname
18171 else
18172 as_dirname=false
18175 as_me=`$as_basename -- "$0" ||
18176 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18177 X"$0" : 'X\(//\)$' \| \
18178 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18179 $as_echo X/"$0" |
18180 sed '/^.*\/\([^/][^/]*\)\/*$/{
18181 s//\1/
18184 /^X\/\(\/\/\)$/{
18185 s//\1/
18188 /^X\/\(\/\).*/{
18189 s//\1/
18192 s/.*/./; q'`
18194 # Avoid depending upon Character Ranges.
18195 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18196 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18197 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18198 as_cr_digits='0123456789'
18199 as_cr_alnum=$as_cr_Letters$as_cr_digits
18201 ECHO_C= ECHO_N= ECHO_T=
18202 case `echo -n x` in #(((((
18203 -n*)
18204 case `echo 'xy\c'` in
18205 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18206 xy) ECHO_C='\c';;
18207 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18208 ECHO_T=' ';;
18209 esac;;
18211 ECHO_N='-n';;
18212 esac
18214 rm -f conf$$ conf$$.exe conf$$.file
18215 if test -d conf$$.dir; then
18216 rm -f conf$$.dir/conf$$.file
18217 else
18218 rm -f conf$$.dir
18219 mkdir conf$$.dir 2>/dev/null
18221 if (echo >conf$$.file) 2>/dev/null; then
18222 if ln -s conf$$.file conf$$ 2>/dev/null; then
18223 as_ln_s='ln -s'
18224 # ... but there are two gotchas:
18225 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18226 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18227 # In both cases, we have to default to `cp -pR'.
18228 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18229 as_ln_s='cp -pR'
18230 elif ln conf$$.file conf$$ 2>/dev/null; then
18231 as_ln_s=ln
18232 else
18233 as_ln_s='cp -pR'
18235 else
18236 as_ln_s='cp -pR'
18238 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18239 rmdir conf$$.dir 2>/dev/null
18242 # as_fn_mkdir_p
18243 # -------------
18244 # Create "$as_dir" as a directory, including parents if necessary.
18245 as_fn_mkdir_p ()
18248 case $as_dir in #(
18249 -*) as_dir=./$as_dir;;
18250 esac
18251 test -d "$as_dir" || eval $as_mkdir_p || {
18252 as_dirs=
18253 while :; do
18254 case $as_dir in #(
18255 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18256 *) as_qdir=$as_dir;;
18257 esac
18258 as_dirs="'$as_qdir' $as_dirs"
18259 as_dir=`$as_dirname -- "$as_dir" ||
18260 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18261 X"$as_dir" : 'X\(//\)[^/]' \| \
18262 X"$as_dir" : 'X\(//\)$' \| \
18263 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18264 $as_echo X"$as_dir" |
18265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18266 s//\1/
18269 /^X\(\/\/\)[^/].*/{
18270 s//\1/
18273 /^X\(\/\/\)$/{
18274 s//\1/
18277 /^X\(\/\).*/{
18278 s//\1/
18281 s/.*/./; q'`
18282 test -d "$as_dir" && break
18283 done
18284 test -z "$as_dirs" || eval "mkdir $as_dirs"
18285 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18288 } # as_fn_mkdir_p
18289 if mkdir -p . 2>/dev/null; then
18290 as_mkdir_p='mkdir -p "$as_dir"'
18291 else
18292 test -d ./-p && rmdir ./-p
18293 as_mkdir_p=false
18297 # as_fn_executable_p FILE
18298 # -----------------------
18299 # Test if FILE is an executable regular file.
18300 as_fn_executable_p ()
18302 test -f "$1" && test -x "$1"
18303 } # as_fn_executable_p
18304 as_test_x='test -x'
18305 as_executable_p=as_fn_executable_p
18307 # Sed expression to map a string onto a valid CPP name.
18308 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18310 # Sed expression to map a string onto a valid variable name.
18311 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18314 exec 6>&1
18315 ## ----------------------------------- ##
18316 ## Main body of $CONFIG_STATUS script. ##
18317 ## ----------------------------------- ##
18318 _ASEOF
18319 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18322 # Save the log message, to keep $0 and so on meaningful, and to
18323 # report actual input values of CONFIG_FILES etc. instead of their
18324 # values after options handling.
18325 ac_log="
18326 This file was extended by Wine $as_me 1.7.33, which was
18327 generated by GNU Autoconf 2.69. Invocation command line was
18329 CONFIG_FILES = $CONFIG_FILES
18330 CONFIG_HEADERS = $CONFIG_HEADERS
18331 CONFIG_LINKS = $CONFIG_LINKS
18332 CONFIG_COMMANDS = $CONFIG_COMMANDS
18333 $ $0 $@
18335 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18338 _ACEOF
18340 case $ac_config_files in *"
18341 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18342 esac
18344 case $ac_config_headers in *"
18345 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18346 esac
18349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18350 # Files that config.status was made for.
18351 config_files="$ac_config_files"
18352 config_headers="$ac_config_headers"
18353 config_links="$ac_config_links"
18354 config_commands="$ac_config_commands"
18356 _ACEOF
18358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18359 ac_cs_usage="\
18360 \`$as_me' instantiates files and other configuration actions
18361 from templates according to the current configuration. Unless the files
18362 and actions are specified as TAGs, all are instantiated by default.
18364 Usage: $0 [OPTION]... [TAG]...
18366 -h, --help print this help, then exit
18367 -V, --version print version number and configuration settings, then exit
18368 --config print configuration, then exit
18369 -q, --quiet, --silent
18370 do not print progress messages
18371 -d, --debug don't remove temporary files
18372 --recheck update $as_me by reconfiguring in the same conditions
18373 --file=FILE[:TEMPLATE]
18374 instantiate the configuration file FILE
18375 --header=FILE[:TEMPLATE]
18376 instantiate the configuration header FILE
18378 Configuration files:
18379 $config_files
18381 Configuration headers:
18382 $config_headers
18384 Configuration links:
18385 $config_links
18387 Configuration commands:
18388 $config_commands
18390 Report bugs to <wine-devel@winehq.org>.
18391 Wine home page: <http://www.winehq.org>."
18393 _ACEOF
18394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18395 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18396 ac_cs_version="\\
18397 Wine config.status 1.7.33
18398 configured by $0, generated by GNU Autoconf 2.69,
18399 with options \\"\$ac_cs_config\\"
18401 Copyright (C) 2012 Free Software Foundation, Inc.
18402 This config.status script is free software; the Free Software Foundation
18403 gives unlimited permission to copy, distribute and modify it."
18405 ac_pwd='$ac_pwd'
18406 srcdir='$srcdir'
18407 test -n "\$AWK" || AWK=awk
18408 _ACEOF
18410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18411 # The default lists apply if the user does not specify any file.
18412 ac_need_defaults=:
18413 while test $# != 0
18415 case $1 in
18416 --*=?*)
18417 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18418 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18419 ac_shift=:
18421 --*=)
18422 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18423 ac_optarg=
18424 ac_shift=:
18427 ac_option=$1
18428 ac_optarg=$2
18429 ac_shift=shift
18431 esac
18433 case $ac_option in
18434 # Handling of the options.
18435 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18436 ac_cs_recheck=: ;;
18437 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18438 $as_echo "$ac_cs_version"; exit ;;
18439 --config | --confi | --conf | --con | --co | --c )
18440 $as_echo "$ac_cs_config"; exit ;;
18441 --debug | --debu | --deb | --de | --d | -d )
18442 debug=: ;;
18443 --file | --fil | --fi | --f )
18444 $ac_shift
18445 case $ac_optarg in
18446 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18447 '') as_fn_error $? "missing file argument" ;;
18448 esac
18449 as_fn_append CONFIG_FILES " '$ac_optarg'"
18450 ac_need_defaults=false;;
18451 --header | --heade | --head | --hea )
18452 $ac_shift
18453 case $ac_optarg in
18454 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18455 esac
18456 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18457 ac_need_defaults=false;;
18458 --he | --h)
18459 # Conflict between --help and --header
18460 as_fn_error $? "ambiguous option: \`$1'
18461 Try \`$0 --help' for more information.";;
18462 --help | --hel | -h )
18463 $as_echo "$ac_cs_usage"; exit ;;
18464 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18465 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18466 ac_cs_silent=: ;;
18468 # This is an error.
18469 -*) as_fn_error $? "unrecognized option: \`$1'
18470 Try \`$0 --help' for more information." ;;
18472 *) as_fn_append ac_config_targets " $1"
18473 ac_need_defaults=false ;;
18475 esac
18476 shift
18477 done
18479 ac_configure_extra_args=
18481 if $ac_cs_silent; then
18482 exec 6>/dev/null
18483 ac_configure_extra_args="$ac_configure_extra_args --silent"
18486 _ACEOF
18487 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18488 if \$ac_cs_recheck; then
18489 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18490 shift
18491 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18492 CONFIG_SHELL='$SHELL'
18493 export CONFIG_SHELL
18494 exec "\$@"
18497 _ACEOF
18498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18499 exec 5>>config.log
18501 echo
18502 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18503 ## Running $as_me. ##
18504 _ASBOX
18505 $as_echo "$ac_log"
18506 } >&5
18508 _ACEOF
18509 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18511 # INIT-COMMANDS
18513 wine_fn_output_makedep ()
18515 as_dir=tools; as_fn_mkdir_p
18516 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18518 wine_fn_output_makefile ()
18520 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18521 `cat $wine_rules_file`
18522 _WINE_EOF
18523 as_fn_error $? "could not create Makefile" "$LINENO" 5
18525 wine_fn_output_gitignore ()
18527 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18528 $GITIGNORE
18529 _WINE_EOF
18530 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18533 _ACEOF
18535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18537 # Handling of arguments.
18538 for ac_config_target in $ac_config_targets
18540 case $ac_config_target in
18541 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18542 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18543 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18544 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18545 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18546 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18547 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18548 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18549 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18550 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18551 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18552 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18553 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18554 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18556 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18557 esac
18558 done
18561 # If the user did not use the arguments to specify the items to instantiate,
18562 # then the envvar interface is used. Set only those that are not.
18563 # We use the long form for the default assignment because of an extremely
18564 # bizarre bug on SunOS 4.1.3.
18565 if $ac_need_defaults; then
18566 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18567 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18568 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18569 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18572 # Have a temporary directory for convenience. Make it in the build tree
18573 # simply because there is no reason against having it here, and in addition,
18574 # creating and moving files from /tmp can sometimes cause problems.
18575 # Hook for its removal unless debugging.
18576 # Note that there is a small window in which the directory will not be cleaned:
18577 # after its creation but before its name has been assigned to `$tmp'.
18578 $debug ||
18580 tmp= ac_tmp=
18581 trap 'exit_status=$?
18582 : "${ac_tmp:=$tmp}"
18583 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18585 trap 'as_fn_exit 1' 1 2 13 15
18587 # Create a (secure) tmp directory for tmp files.
18590 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18591 test -d "$tmp"
18592 } ||
18594 tmp=./conf$$-$RANDOM
18595 (umask 077 && mkdir "$tmp")
18596 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18597 ac_tmp=$tmp
18599 # Set up the scripts for CONFIG_FILES section.
18600 # No need to generate them if there are no CONFIG_FILES.
18601 # This happens for instance with `./config.status config.h'.
18602 if test -n "$CONFIG_FILES"; then
18605 ac_cr=`echo X | tr X '\015'`
18606 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18607 # But we know of no other shell where ac_cr would be empty at this
18608 # point, so we can use a bashism as a fallback.
18609 if test "x$ac_cr" = x; then
18610 eval ac_cr=\$\'\\r\'
18612 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18613 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18614 ac_cs_awk_cr='\\r'
18615 else
18616 ac_cs_awk_cr=$ac_cr
18619 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18620 _ACEOF
18624 echo "cat >conf$$subs.awk <<_ACEOF" &&
18625 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18626 echo "_ACEOF"
18627 } >conf$$subs.sh ||
18628 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18629 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18630 ac_delim='%!_!# '
18631 for ac_last_try in false false false false false :; do
18632 . ./conf$$subs.sh ||
18633 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18635 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18636 if test $ac_delim_n = $ac_delim_num; then
18637 break
18638 elif $ac_last_try; then
18639 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18640 else
18641 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18643 done
18644 rm -f conf$$subs.sh
18646 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18647 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18648 _ACEOF
18649 sed -n '
18651 s/^/S["/; s/!.*/"]=/
18654 s/^[^!]*!//
18655 :repl
18656 t repl
18657 s/'"$ac_delim"'$//
18658 t delim
18661 s/\(.\{148\}\)..*/\1/
18662 t more1
18663 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18666 b repl
18667 :more1
18668 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18671 s/.\{148\}//
18672 t nl
18673 :delim
18675 s/\(.\{148\}\)..*/\1/
18676 t more2
18677 s/["\\]/\\&/g; s/^/"/; s/$/"/
18680 :more2
18681 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18684 s/.\{148\}//
18685 t delim
18686 ' <conf$$subs.awk | sed '
18687 /^[^""]/{
18689 s/\n//
18691 ' >>$CONFIG_STATUS || ac_write_fail=1
18692 rm -f conf$$subs.awk
18693 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18694 _ACAWK
18695 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18696 for (key in S) S_is_set[key] = 1
18697 FS = "\a"
18701 line = $ 0
18702 nfields = split(line, field, "@")
18703 substed = 0
18704 len = length(field[1])
18705 for (i = 2; i < nfields; i++) {
18706 key = field[i]
18707 keylen = length(key)
18708 if (S_is_set[key]) {
18709 value = S[key]
18710 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18711 len += length(value) + length(field[++i])
18712 substed = 1
18713 } else
18714 len += 1 + keylen
18717 print line
18720 _ACAWK
18721 _ACEOF
18722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18723 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18724 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18725 else
18727 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18728 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18729 _ACEOF
18731 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18732 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18733 # trailing colons and then remove the whole line if VPATH becomes empty
18734 # (actually we leave an empty line to preserve line numbers).
18735 if test "x$srcdir" = x.; then
18736 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18738 s///
18739 s/^/:/
18740 s/[ ]*$/:/
18741 s/:\$(srcdir):/:/g
18742 s/:\${srcdir}:/:/g
18743 s/:@srcdir@:/:/g
18744 s/^:*//
18745 s/:*$//
18747 s/\(=[ ]*\).*/\1/
18749 s/\n//
18750 s/^[^=]*=[ ]*$//
18754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18755 fi # test -n "$CONFIG_FILES"
18757 # Set up the scripts for CONFIG_HEADERS section.
18758 # No need to generate them if there are no CONFIG_HEADERS.
18759 # This happens for instance with `./config.status Makefile'.
18760 if test -n "$CONFIG_HEADERS"; then
18761 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18762 BEGIN {
18763 _ACEOF
18765 # Transform confdefs.h into an awk script `defines.awk', embedded as
18766 # here-document in config.status, that substitutes the proper values into
18767 # config.h.in to produce config.h.
18769 # Create a delimiter string that does not exist in confdefs.h, to ease
18770 # handling of long lines.
18771 ac_delim='%!_!# '
18772 for ac_last_try in false false :; do
18773 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18774 if test -z "$ac_tt"; then
18775 break
18776 elif $ac_last_try; then
18777 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18778 else
18779 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18781 done
18783 # For the awk script, D is an array of macro values keyed by name,
18784 # likewise P contains macro parameters if any. Preserve backslash
18785 # newline sequences.
18787 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18788 sed -n '
18789 s/.\{148\}/&'"$ac_delim"'/g
18790 t rset
18791 :rset
18792 s/^[ ]*#[ ]*define[ ][ ]*/ /
18793 t def
18795 :def
18796 s/\\$//
18797 t bsnl
18798 s/["\\]/\\&/g
18799 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18800 D["\1"]=" \3"/p
18801 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18803 :bsnl
18804 s/["\\]/\\&/g
18805 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18806 D["\1"]=" \3\\\\\\n"\\/p
18807 t cont
18808 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18809 t cont
18811 :cont
18813 s/.\{148\}/&'"$ac_delim"'/g
18814 t clear
18815 :clear
18816 s/\\$//
18817 t bsnlc
18818 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18820 :bsnlc
18821 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18822 b cont
18823 ' <confdefs.h | sed '
18824 s/'"$ac_delim"'/"\\\
18825 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18828 for (key in D) D_is_set[key] = 1
18829 FS = "\a"
18831 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18832 line = \$ 0
18833 split(line, arg, " ")
18834 if (arg[1] == "#") {
18835 defundef = arg[2]
18836 mac1 = arg[3]
18837 } else {
18838 defundef = substr(arg[1], 2)
18839 mac1 = arg[2]
18841 split(mac1, mac2, "(") #)
18842 macro = mac2[1]
18843 prefix = substr(line, 1, index(line, defundef) - 1)
18844 if (D_is_set[macro]) {
18845 # Preserve the white space surrounding the "#".
18846 print prefix "define", macro P[macro] D[macro]
18847 next
18848 } else {
18849 # Replace #undef with comments. This is necessary, for example,
18850 # in the case of _POSIX_SOURCE, which is predefined and required
18851 # on some systems where configure will not decide to define it.
18852 if (defundef == "undef") {
18853 print "/*", prefix defundef, macro, "*/"
18854 next
18858 { print }
18859 _ACAWK
18860 _ACEOF
18861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18862 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18863 fi # test -n "$CONFIG_HEADERS"
18866 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18867 shift
18868 for ac_tag
18870 case $ac_tag in
18871 :[FHLC]) ac_mode=$ac_tag; continue;;
18872 esac
18873 case $ac_mode$ac_tag in
18874 :[FHL]*:*);;
18875 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18876 :[FH]-) ac_tag=-:-;;
18877 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18878 esac
18879 ac_save_IFS=$IFS
18880 IFS=:
18881 set x $ac_tag
18882 IFS=$ac_save_IFS
18883 shift
18884 ac_file=$1
18885 shift
18887 case $ac_mode in
18888 :L) ac_source=$1;;
18889 :[FH])
18890 ac_file_inputs=
18891 for ac_f
18893 case $ac_f in
18894 -) ac_f="$ac_tmp/stdin";;
18895 *) # Look for the file first in the build tree, then in the source tree
18896 # (if the path is not absolute). The absolute path cannot be DOS-style,
18897 # because $ac_f cannot contain `:'.
18898 test -f "$ac_f" ||
18899 case $ac_f in
18900 [\\/$]*) false;;
18901 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18902 esac ||
18903 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18904 esac
18905 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18906 as_fn_append ac_file_inputs " '$ac_f'"
18907 done
18909 # Let's still pretend it is `configure' which instantiates (i.e., don't
18910 # use $as_me), people would be surprised to read:
18911 # /* config.h. Generated by config.status. */
18912 configure_input='Generated from '`
18913 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18914 `' by configure.'
18915 if test x"$ac_file" != x-; then
18916 configure_input="$ac_file. $configure_input"
18917 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18918 $as_echo "$as_me: creating $ac_file" >&6;}
18920 # Neutralize special characters interpreted by sed in replacement strings.
18921 case $configure_input in #(
18922 *\&* | *\|* | *\\* )
18923 ac_sed_conf_input=`$as_echo "$configure_input" |
18924 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18925 *) ac_sed_conf_input=$configure_input;;
18926 esac
18928 case $ac_tag in
18929 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18930 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18931 esac
18933 esac
18935 ac_dir=`$as_dirname -- "$ac_file" ||
18936 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18937 X"$ac_file" : 'X\(//\)[^/]' \| \
18938 X"$ac_file" : 'X\(//\)$' \| \
18939 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18940 $as_echo X"$ac_file" |
18941 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18942 s//\1/
18945 /^X\(\/\/\)[^/].*/{
18946 s//\1/
18949 /^X\(\/\/\)$/{
18950 s//\1/
18953 /^X\(\/\).*/{
18954 s//\1/
18957 s/.*/./; q'`
18958 as_dir="$ac_dir"; as_fn_mkdir_p
18959 ac_builddir=.
18961 case "$ac_dir" in
18962 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18964 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18965 # A ".." for each directory in $ac_dir_suffix.
18966 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18967 case $ac_top_builddir_sub in
18968 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18969 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18970 esac ;;
18971 esac
18972 ac_abs_top_builddir=$ac_pwd
18973 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18974 # for backward compatibility:
18975 ac_top_builddir=$ac_top_build_prefix
18977 case $srcdir in
18978 .) # We are building in place.
18979 ac_srcdir=.
18980 ac_top_srcdir=$ac_top_builddir_sub
18981 ac_abs_top_srcdir=$ac_pwd ;;
18982 [\\/]* | ?:[\\/]* ) # Absolute name.
18983 ac_srcdir=$srcdir$ac_dir_suffix;
18984 ac_top_srcdir=$srcdir
18985 ac_abs_top_srcdir=$srcdir ;;
18986 *) # Relative name.
18987 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18988 ac_top_srcdir=$ac_top_build_prefix$srcdir
18989 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18990 esac
18991 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18994 case $ac_mode in
18997 # CONFIG_FILE
19000 _ACEOF
19002 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19003 # If the template does not know about datarootdir, expand it.
19004 # FIXME: This hack should be removed a few years after 2.60.
19005 ac_datarootdir_hack=; ac_datarootdir_seen=
19006 ac_sed_dataroot='
19007 /datarootdir/ {
19011 /@datadir@/p
19012 /@docdir@/p
19013 /@infodir@/p
19014 /@localedir@/p
19015 /@mandir@/p'
19016 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19017 *datarootdir*) ac_datarootdir_seen=yes;;
19018 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19020 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19021 _ACEOF
19022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19023 ac_datarootdir_hack='
19024 s&@datadir@&$datadir&g
19025 s&@docdir@&$docdir&g
19026 s&@infodir@&$infodir&g
19027 s&@localedir@&$localedir&g
19028 s&@mandir@&$mandir&g
19029 s&\\\${datarootdir}&$datarootdir&g' ;;
19030 esac
19031 _ACEOF
19033 # Neutralize VPATH when `$srcdir' = `.'.
19034 # Shell code in configure.ac might set extrasub.
19035 # FIXME: do we really want to maintain this feature?
19036 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19037 ac_sed_extra="$ac_vpsub
19038 $extrasub
19039 _ACEOF
19040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19042 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19043 s|@configure_input@|$ac_sed_conf_input|;t t
19044 s&@top_builddir@&$ac_top_builddir_sub&;t t
19045 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19046 s&@srcdir@&$ac_srcdir&;t t
19047 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19048 s&@top_srcdir@&$ac_top_srcdir&;t t
19049 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19050 s&@builddir@&$ac_builddir&;t t
19051 s&@abs_builddir@&$ac_abs_builddir&;t t
19052 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19053 $ac_datarootdir_hack
19055 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19056 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19058 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19059 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19060 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19061 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19063 which seems to be undefined. Please make sure it is defined" >&5
19064 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19065 which seems to be undefined. Please make sure it is defined" >&2;}
19067 rm -f "$ac_tmp/stdin"
19068 case $ac_file in
19069 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19070 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19071 esac \
19072 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19076 # CONFIG_HEADER
19078 if test x"$ac_file" != x-; then
19080 $as_echo "/* $configure_input */" \
19081 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19082 } >"$ac_tmp/config.h" \
19083 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19084 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19085 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19086 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19087 else
19088 rm -f "$ac_file"
19089 mv "$ac_tmp/config.h" "$ac_file" \
19090 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19092 else
19093 $as_echo "/* $configure_input */" \
19094 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19095 || as_fn_error $? "could not create -" "$LINENO" 5
19100 # CONFIG_LINK
19103 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19105 else
19106 # Prefer the file from the source tree if names are identical.
19107 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19108 ac_source=$srcdir/$ac_source
19111 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19112 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19114 if test ! -r "$ac_source"; then
19115 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19117 rm -f "$ac_file"
19119 # Try a relative symlink, then a hard link, then a copy.
19120 case $ac_source in
19121 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19122 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19123 esac
19124 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19125 ln "$ac_source" "$ac_file" 2>/dev/null ||
19126 cp -p "$ac_source" "$ac_file" ||
19127 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19130 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19131 $as_echo "$as_me: executing $ac_file commands" >&6;}
19133 esac
19136 case $ac_file$ac_mode in
19137 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19138 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19139 "Makefile":C) wine_fn_output_makefile Makefile ;;
19140 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19142 esac
19143 done # for ac_tag
19146 as_fn_exit 0
19147 _ACEOF
19148 ac_clean_files=$ac_clean_files_save
19150 test $ac_write_fail = 0 ||
19151 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19154 # configure is writing to config.log, and then calls config.status.
19155 # config.status does its own redirection, appending to config.log.
19156 # Unfortunately, on DOS this fails, as config.log is still kept open
19157 # by configure, so config.status won't be able to write to it; its
19158 # output is simply discarded. So we exec the FD to /dev/null,
19159 # effectively closing config.log, so it can be properly (re)opened and
19160 # appended to by config.status. When coming back to configure, we
19161 # need to make the FD available again.
19162 if test "$no_create" != yes; then
19163 ac_cs_success=:
19164 ac_config_status_args=
19165 test "$silent" = yes &&
19166 ac_config_status_args="$ac_config_status_args --quiet"
19167 exec 5>/dev/null
19168 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19169 exec 5>>config.log
19170 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19171 # would make configure fail if this is the last instruction.
19172 $ac_cs_success || as_fn_exit 1
19174 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19176 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19180 if test "$no_create" = "yes"
19181 then
19182 exit 0
19185 ac_save_IFS="$IFS"
19186 if test "x$wine_notices != "x; then
19187 echo >&6
19188 IFS="|"
19189 for msg in $wine_notices; do
19190 IFS="$ac_save_IFS"
19191 if ${msg:+false} :; then :
19193 else
19194 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19195 $as_echo "$as_me: $msg" >&6;}
19197 done
19199 IFS="|"
19200 for msg in $wine_warnings; do
19201 IFS="$ac_save_IFS"
19202 if ${msg:+false} :; then :
19204 else
19205 echo >&2
19206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19207 $as_echo "$as_me: WARNING: $msg" >&2;}
19209 done
19210 IFS="$ac_save_IFS"
19212 $as_echo "
19213 $as_me: Finished. Do '${ac_make}' to compile Wine.
19214 " >&6