kernel32: Make GetTickCount and GetTickCount64 hotpatchable.
[wine/multimedia.git] / configure
blob49919c1fe99a3d6f1661f45e30b3f091df30a1a9
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.32.
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.32'
584 PACKAGE_STRING='Wine 1.7.32'
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_mgmtapi
1101 enable_midimap
1102 enable_mlang
1103 enable_mmcndmgr
1104 enable_mmdevapi
1105 enable_mountmgr_sys
1106 enable_mpr
1107 enable_mprapi
1108 enable_msacm32_drv
1109 enable_msacm32
1110 enable_msadp32_acm
1111 enable_msasn1
1112 enable_mscat32
1113 enable_mscms
1114 enable_mscoree
1115 enable_msctf
1116 enable_msdaps
1117 enable_msdmo
1118 enable_msftedit
1119 enable_msg711_acm
1120 enable_msgsm32_acm
1121 enable_mshtml_tlb
1122 enable_mshtml
1123 enable_msi
1124 enable_msident
1125 enable_msimg32
1126 enable_msimsg
1127 enable_msimtf
1128 enable_msisip
1129 enable_msisys_ocx
1130 enable_msls31
1131 enable_msnet32
1132 enable_mspatcha
1133 enable_msrle32
1134 enable_mssign32
1135 enable_mssip32
1136 enable_mstask
1137 enable_msvcirt
1138 enable_msvcm80
1139 enable_msvcm90
1140 enable_msvcp100
1141 enable_msvcp110
1142 enable_msvcp120
1143 enable_msvcp60
1144 enable_msvcp70
1145 enable_msvcp71
1146 enable_msvcp80
1147 enable_msvcp90
1148 enable_msvcr100
1149 enable_msvcr110
1150 enable_msvcr120
1151 enable_msvcr120_app
1152 enable_msvcr70
1153 enable_msvcr71
1154 enable_msvcr80
1155 enable_msvcr90
1156 enable_msvcrt
1157 enable_msvcrt20
1158 enable_msvcrt40
1159 enable_msvcrtd
1160 enable_msvfw32
1161 enable_msvidc32
1162 enable_mswsock
1163 enable_msxml
1164 enable_msxml2
1165 enable_msxml3
1166 enable_msxml4
1167 enable_msxml6
1168 enable_nddeapi
1169 enable_ndis_sys
1170 enable_netapi32
1171 enable_netcfgx
1172 enable_netprofm
1173 enable_newdev
1174 enable_normaliz
1175 enable_npmshtml
1176 enable_npptools
1177 enable_ntdll
1178 enable_ntdsapi
1179 enable_ntoskrnl_exe
1180 enable_ntprint
1181 enable_objsel
1182 enable_odbc32
1183 enable_odbccp32
1184 enable_odbccu32
1185 enable_ole32
1186 enable_oleacc
1187 enable_oleaut32
1188 enable_olecli32
1189 enable_oledb32
1190 enable_oledlg
1191 enable_olepro32
1192 enable_olesvr32
1193 enable_olethk32
1194 enable_openal32
1195 enable_opencl
1196 enable_opengl32
1197 enable_packager
1198 enable_pdh
1199 enable_photometadatahandler
1200 enable_pidgen
1201 enable_powrprof
1202 enable_printui
1203 enable_prntvpt
1204 enable_propsys
1205 enable_psapi
1206 enable_pstorec
1207 enable_qcap
1208 enable_qedit
1209 enable_qmgr
1210 enable_qmgrprxy
1211 enable_quartz
1212 enable_query
1213 enable_rasapi32
1214 enable_rasdlg
1215 enable_regapi
1216 enable_resutils
1217 enable_riched20
1218 enable_riched32
1219 enable_rpcrt4
1220 enable_rsabase
1221 enable_rsaenh
1222 enable_rstrtmgr
1223 enable_rtutils
1224 enable_samlib
1225 enable_sane_ds
1226 enable_scarddlg
1227 enable_sccbase
1228 enable_schannel
1229 enable_schedsvc
1230 enable_scrrun
1231 enable_scsiport_sys
1232 enable_secur32
1233 enable_security
1234 enable_sensapi
1235 enable_serialui
1236 enable_setupapi
1237 enable_sfc
1238 enable_sfc_os
1239 enable_shdoclc
1240 enable_shdocvw
1241 enable_shell32
1242 enable_shfolder
1243 enable_shlwapi
1244 enable_slbcsp
1245 enable_slc
1246 enable_snmpapi
1247 enable_softpub
1248 enable_spoolss
1249 enable_stdole2_tlb
1250 enable_stdole32_tlb
1251 enable_sti
1252 enable_svrapi
1253 enable_sxs
1254 enable_t2embed
1255 enable_tapi32
1256 enable_taskschd
1257 enable_traffic
1258 enable_twain_32
1259 enable_unicows
1260 enable_updspapi
1261 enable_url
1262 enable_urlmon
1263 enable_usbd_sys
1264 enable_user32
1265 enable_userenv
1266 enable_usp10
1267 enable_uxtheme
1268 enable_vbscript
1269 enable_vcomp
1270 enable_vcomp100
1271 enable_vcomp90
1272 enable_vdmdbg
1273 enable_version
1274 enable_vssapi
1275 enable_wbemdisp
1276 enable_wbemprox
1277 enable_webservices
1278 enable_wer
1279 enable_wevtapi
1280 enable_wiaservc
1281 enable_windowscodecs
1282 enable_windowscodecsext
1283 enable_winealsa_drv
1284 enable_winecoreaudio_drv
1285 enable_wined3d
1286 enable_winegstreamer
1287 enable_winejoystick_drv
1288 enable_winemac_drv
1289 enable_winemapi
1290 enable_winemp3_acm
1291 enable_wineoss_drv
1292 enable_wineps_drv
1293 enable_wineqtdecoder
1294 enable_winex11_drv
1295 enable_wing32
1296 enable_winhttp
1297 enable_wininet
1298 enable_winmm
1299 enable_winnls32
1300 enable_winscard
1301 enable_winspool_drv
1302 enable_winsta
1303 enable_wintab32
1304 enable_wintrust
1305 enable_wlanapi
1306 enable_wldap32
1307 enable_wmi
1308 enable_wmiutils
1309 enable_wmp
1310 enable_wmvcore
1311 enable_wnaspi32
1312 enable_wpcap
1313 enable_ws2_32
1314 enable_wshom_ocx
1315 enable_wsnmp32
1316 enable_wsock32
1317 enable_wtsapi32
1318 enable_wuapi
1319 enable_wuaueng
1320 enable_xapofx1_1
1321 enable_xinput1_1
1322 enable_xinput1_2
1323 enable_xinput1_3
1324 enable_xinput1_4
1325 enable_xinput9_1_0
1326 enable_xmllite
1327 enable_xolehlp
1328 enable_xpsprint
1329 enable_xpssvcs
1330 enable_documentation
1331 enable_fonts
1332 enable_include
1333 enable_libs_port
1334 enable_libs_wine
1335 enable_libs_wpp
1336 enable_loader
1337 enable_arp
1338 enable_aspnet_regiis
1339 enable_attrib
1340 enable_cabarc
1341 enable_cacls
1342 enable_clock
1343 enable_cmd
1344 enable_conhost
1345 enable_control
1346 enable_cscript
1347 enable_dpnsvr
1348 enable_dxdiag
1349 enable_eject
1350 enable_expand
1351 enable_explorer
1352 enable_extrac32
1353 enable_findstr
1354 enable_hh
1355 enable_hostname
1356 enable_icinfo
1357 enable_iexplore
1358 enable_ipconfig
1359 enable_lodctr
1360 enable_mofcomp
1361 enable_mshta
1362 enable_msiexec
1363 enable_net
1364 enable_netsh
1365 enable_netstat
1366 enable_ngen
1367 enable_notepad
1368 enable_oleview
1369 enable_ping
1370 enable_plugplay
1371 enable_presentationfontcache
1372 enable_progman
1373 enable_reg
1374 enable_regasm
1375 enable_regedit
1376 enable_regsvcs
1377 enable_regsvr32
1378 enable_rpcss
1379 enable_rundll32
1380 enable_sc
1381 enable_schtasks
1382 enable_sdbinst
1383 enable_secedit
1384 enable_servicemodelreg
1385 enable_services
1386 enable_spoolsv
1387 enable_start
1388 enable_svchost
1389 enable_systeminfo
1390 enable_taskkill
1391 enable_tasklist
1392 enable_taskmgr
1393 enable_termsv
1394 enable_uninstaller
1395 enable_unlodctr
1396 enable_view
1397 enable_wevtutil
1398 enable_wineboot
1399 enable_winebrowser
1400 enable_winecfg
1401 enable_wineconsole
1402 enable_winedbg
1403 enable_winedevice
1404 enable_winefile
1405 enable_winemenubuilder
1406 enable_winemine
1407 enable_winemsibuilder
1408 enable_winepath
1409 enable_winetest
1410 enable_winhlp32
1411 enable_winver
1412 enable_wmic
1413 enable_wordpad
1414 enable_write
1415 enable_wscript
1416 enable_wusa
1417 enable_xcopy
1418 enable_server
1419 enable_tools
1421 ac_precious_vars='build_alias
1422 host_alias
1423 target_alias
1425 CFLAGS
1426 LDFLAGS
1427 LIBS
1428 CPPFLAGS
1430 CXXFLAGS
1433 XMKMF
1434 XML2_CFLAGS
1435 XML2_LIBS
1436 XSLT_CFLAGS
1437 XSLT_LIBS
1438 DBUS_CFLAGS
1439 DBUS_LIBS
1440 HAL_CFLAGS
1441 HAL_LIBS
1442 GNUTLS_CFLAGS
1443 GNUTLS_LIBS
1444 SANE_CFLAGS
1445 SANE_LIBS
1446 GPHOTO2_CFLAGS
1447 GPHOTO2_LIBS
1448 GPHOTO2_PORT_CFLAGS
1449 GPHOTO2_PORT_LIBS
1450 LCMS2_CFLAGS
1451 LCMS2_LIBS
1452 FREETYPE_CFLAGS
1453 FREETYPE_LIBS
1454 GSTREAMER_CFLAGS
1455 GSTREAMER_LIBS
1456 CAPI20_CFLAGS
1457 CAPI20_LIBS
1458 FONTCONFIG_CFLAGS
1459 FONTCONFIG_LIBS
1460 JPEG_CFLAGS
1461 JPEG_LIBS
1462 PNG_CFLAGS
1463 PNG_LIBS
1464 TIFF_CFLAGS
1465 TIFF_LIBS
1466 MPG123_CFLAGS
1467 MPG123_LIBS'
1470 # Initialize some variables set by options.
1471 ac_init_help=
1472 ac_init_version=false
1473 ac_unrecognized_opts=
1474 ac_unrecognized_sep=
1475 # The variables have the same names as the options, with
1476 # dashes changed to underlines.
1477 cache_file=/dev/null
1478 exec_prefix=NONE
1479 no_create=
1480 no_recursion=
1481 prefix=NONE
1482 program_prefix=NONE
1483 program_suffix=NONE
1484 program_transform_name=s,x,x,
1485 silent=
1486 site=
1487 srcdir=
1488 verbose=
1489 x_includes=NONE
1490 x_libraries=NONE
1492 # Installation directory options.
1493 # These are left unexpanded so users can "make install exec_prefix=/foo"
1494 # and all the variables that are supposed to be based on exec_prefix
1495 # by default will actually change.
1496 # Use braces instead of parens because sh, perl, etc. also accept them.
1497 # (The list follows the same order as the GNU Coding Standards.)
1498 bindir='${exec_prefix}/bin'
1499 sbindir='${exec_prefix}/sbin'
1500 libexecdir='${exec_prefix}/libexec'
1501 datarootdir='${prefix}/share'
1502 datadir='${datarootdir}'
1503 sysconfdir='${prefix}/etc'
1504 sharedstatedir='${prefix}/com'
1505 localstatedir='${prefix}/var'
1506 includedir='${prefix}/include'
1507 oldincludedir='/usr/include'
1508 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1509 infodir='${datarootdir}/info'
1510 htmldir='${docdir}'
1511 dvidir='${docdir}'
1512 pdfdir='${docdir}'
1513 psdir='${docdir}'
1514 libdir='${exec_prefix}/lib'
1515 localedir='${datarootdir}/locale'
1516 mandir='${datarootdir}/man'
1518 ac_prev=
1519 ac_dashdash=
1520 for ac_option
1522 # If the previous option needs an argument, assign it.
1523 if test -n "$ac_prev"; then
1524 eval $ac_prev=\$ac_option
1525 ac_prev=
1526 continue
1529 case $ac_option in
1530 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1531 *=) ac_optarg= ;;
1532 *) ac_optarg=yes ;;
1533 esac
1535 # Accept the important Cygnus configure options, so we can diagnose typos.
1537 case $ac_dashdash$ac_option in
1539 ac_dashdash=yes ;;
1541 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1542 ac_prev=bindir ;;
1543 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1544 bindir=$ac_optarg ;;
1546 -build | --build | --buil | --bui | --bu)
1547 ac_prev=build_alias ;;
1548 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1549 build_alias=$ac_optarg ;;
1551 -cache-file | --cache-file | --cache-fil | --cache-fi \
1552 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1553 ac_prev=cache_file ;;
1554 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1555 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1556 cache_file=$ac_optarg ;;
1558 --config-cache | -C)
1559 cache_file=config.cache ;;
1561 -datadir | --datadir | --datadi | --datad)
1562 ac_prev=datadir ;;
1563 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1564 datadir=$ac_optarg ;;
1566 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1567 | --dataroo | --dataro | --datar)
1568 ac_prev=datarootdir ;;
1569 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1570 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1571 datarootdir=$ac_optarg ;;
1573 -disable-* | --disable-*)
1574 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1575 # Reject names that are not valid shell variable names.
1576 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1577 as_fn_error $? "invalid feature name: $ac_useropt"
1578 ac_useropt_orig=$ac_useropt
1579 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1580 case $ac_user_opts in
1582 "enable_$ac_useropt"
1583 "*) ;;
1584 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1585 ac_unrecognized_sep=', ';;
1586 esac
1587 eval enable_$ac_useropt=no ;;
1589 -docdir | --docdir | --docdi | --doc | --do)
1590 ac_prev=docdir ;;
1591 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1592 docdir=$ac_optarg ;;
1594 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1595 ac_prev=dvidir ;;
1596 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1597 dvidir=$ac_optarg ;;
1599 -enable-* | --enable-*)
1600 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1601 # Reject names that are not valid shell variable names.
1602 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1603 as_fn_error $? "invalid feature name: $ac_useropt"
1604 ac_useropt_orig=$ac_useropt
1605 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1606 case $ac_user_opts in
1608 "enable_$ac_useropt"
1609 "*) ;;
1610 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1611 ac_unrecognized_sep=', ';;
1612 esac
1613 eval enable_$ac_useropt=\$ac_optarg ;;
1615 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1616 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1617 | --exec | --exe | --ex)
1618 ac_prev=exec_prefix ;;
1619 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1620 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1621 | --exec=* | --exe=* | --ex=*)
1622 exec_prefix=$ac_optarg ;;
1624 -gas | --gas | --ga | --g)
1625 # Obsolete; use --with-gas.
1626 with_gas=yes ;;
1628 -help | --help | --hel | --he | -h)
1629 ac_init_help=long ;;
1630 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1631 ac_init_help=recursive ;;
1632 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1633 ac_init_help=short ;;
1635 -host | --host | --hos | --ho)
1636 ac_prev=host_alias ;;
1637 -host=* | --host=* | --hos=* | --ho=*)
1638 host_alias=$ac_optarg ;;
1640 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1641 ac_prev=htmldir ;;
1642 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1643 | --ht=*)
1644 htmldir=$ac_optarg ;;
1646 -includedir | --includedir | --includedi | --included | --include \
1647 | --includ | --inclu | --incl | --inc)
1648 ac_prev=includedir ;;
1649 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1650 | --includ=* | --inclu=* | --incl=* | --inc=*)
1651 includedir=$ac_optarg ;;
1653 -infodir | --infodir | --infodi | --infod | --info | --inf)
1654 ac_prev=infodir ;;
1655 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1656 infodir=$ac_optarg ;;
1658 -libdir | --libdir | --libdi | --libd)
1659 ac_prev=libdir ;;
1660 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1661 libdir=$ac_optarg ;;
1663 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1664 | --libexe | --libex | --libe)
1665 ac_prev=libexecdir ;;
1666 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1667 | --libexe=* | --libex=* | --libe=*)
1668 libexecdir=$ac_optarg ;;
1670 -localedir | --localedir | --localedi | --localed | --locale)
1671 ac_prev=localedir ;;
1672 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1673 localedir=$ac_optarg ;;
1675 -localstatedir | --localstatedir | --localstatedi | --localstated \
1676 | --localstate | --localstat | --localsta | --localst | --locals)
1677 ac_prev=localstatedir ;;
1678 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1679 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1680 localstatedir=$ac_optarg ;;
1682 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1683 ac_prev=mandir ;;
1684 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1685 mandir=$ac_optarg ;;
1687 -nfp | --nfp | --nf)
1688 # Obsolete; use --without-fp.
1689 with_fp=no ;;
1691 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1692 | --no-cr | --no-c | -n)
1693 no_create=yes ;;
1695 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1696 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1697 no_recursion=yes ;;
1699 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1700 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1701 | --oldin | --oldi | --old | --ol | --o)
1702 ac_prev=oldincludedir ;;
1703 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1704 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1705 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1706 oldincludedir=$ac_optarg ;;
1708 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1709 ac_prev=prefix ;;
1710 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1711 prefix=$ac_optarg ;;
1713 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1714 | --program-pre | --program-pr | --program-p)
1715 ac_prev=program_prefix ;;
1716 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1717 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1718 program_prefix=$ac_optarg ;;
1720 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1721 | --program-suf | --program-su | --program-s)
1722 ac_prev=program_suffix ;;
1723 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1724 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1725 program_suffix=$ac_optarg ;;
1727 -program-transform-name | --program-transform-name \
1728 | --program-transform-nam | --program-transform-na \
1729 | --program-transform-n | --program-transform- \
1730 | --program-transform | --program-transfor \
1731 | --program-transfo | --program-transf \
1732 | --program-trans | --program-tran \
1733 | --progr-tra | --program-tr | --program-t)
1734 ac_prev=program_transform_name ;;
1735 -program-transform-name=* | --program-transform-name=* \
1736 | --program-transform-nam=* | --program-transform-na=* \
1737 | --program-transform-n=* | --program-transform-=* \
1738 | --program-transform=* | --program-transfor=* \
1739 | --program-transfo=* | --program-transf=* \
1740 | --program-trans=* | --program-tran=* \
1741 | --progr-tra=* | --program-tr=* | --program-t=*)
1742 program_transform_name=$ac_optarg ;;
1744 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1745 ac_prev=pdfdir ;;
1746 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1747 pdfdir=$ac_optarg ;;
1749 -psdir | --psdir | --psdi | --psd | --ps)
1750 ac_prev=psdir ;;
1751 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1752 psdir=$ac_optarg ;;
1754 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1755 | -silent | --silent | --silen | --sile | --sil)
1756 silent=yes ;;
1758 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1759 ac_prev=sbindir ;;
1760 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1761 | --sbi=* | --sb=*)
1762 sbindir=$ac_optarg ;;
1764 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1765 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1766 | --sharedst | --shareds | --shared | --share | --shar \
1767 | --sha | --sh)
1768 ac_prev=sharedstatedir ;;
1769 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1770 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1771 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1772 | --sha=* | --sh=*)
1773 sharedstatedir=$ac_optarg ;;
1775 -site | --site | --sit)
1776 ac_prev=site ;;
1777 -site=* | --site=* | --sit=*)
1778 site=$ac_optarg ;;
1780 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1781 ac_prev=srcdir ;;
1782 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1783 srcdir=$ac_optarg ;;
1785 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1786 | --syscon | --sysco | --sysc | --sys | --sy)
1787 ac_prev=sysconfdir ;;
1788 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1789 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1790 sysconfdir=$ac_optarg ;;
1792 -target | --target | --targe | --targ | --tar | --ta | --t)
1793 ac_prev=target_alias ;;
1794 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1795 target_alias=$ac_optarg ;;
1797 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1798 verbose=yes ;;
1800 -version | --version | --versio | --versi | --vers | -V)
1801 ac_init_version=: ;;
1803 -with-* | --with-*)
1804 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1805 # Reject names that are not valid shell variable names.
1806 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1807 as_fn_error $? "invalid package name: $ac_useropt"
1808 ac_useropt_orig=$ac_useropt
1809 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1810 case $ac_user_opts in
1812 "with_$ac_useropt"
1813 "*) ;;
1814 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1815 ac_unrecognized_sep=', ';;
1816 esac
1817 eval with_$ac_useropt=\$ac_optarg ;;
1819 -without-* | --without-*)
1820 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1821 # Reject names that are not valid shell variable names.
1822 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1823 as_fn_error $? "invalid package name: $ac_useropt"
1824 ac_useropt_orig=$ac_useropt
1825 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1826 case $ac_user_opts in
1828 "with_$ac_useropt"
1829 "*) ;;
1830 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1831 ac_unrecognized_sep=', ';;
1832 esac
1833 eval with_$ac_useropt=no ;;
1835 --x)
1836 # Obsolete; use --with-x.
1837 with_x=yes ;;
1839 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1840 | --x-incl | --x-inc | --x-in | --x-i)
1841 ac_prev=x_includes ;;
1842 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1843 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1844 x_includes=$ac_optarg ;;
1846 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1847 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1848 ac_prev=x_libraries ;;
1849 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1850 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1851 x_libraries=$ac_optarg ;;
1853 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1854 Try \`$0 --help' for more information"
1857 *=*)
1858 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1859 # Reject names that are not valid shell variable names.
1860 case $ac_envvar in #(
1861 '' | [0-9]* | *[!_$as_cr_alnum]* )
1862 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1863 esac
1864 eval $ac_envvar=\$ac_optarg
1865 export $ac_envvar ;;
1868 # FIXME: should be removed in autoconf 3.0.
1869 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1870 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1871 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1872 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1875 esac
1876 done
1878 if test -n "$ac_prev"; then
1879 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1880 as_fn_error $? "missing argument to $ac_option"
1883 if test -n "$ac_unrecognized_opts"; then
1884 case $enable_option_checking in
1885 no) ;;
1886 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1887 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1888 esac
1891 # Check all directory arguments for consistency.
1892 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1893 datadir sysconfdir sharedstatedir localstatedir includedir \
1894 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1895 libdir localedir mandir
1897 eval ac_val=\$$ac_var
1898 # Remove trailing slashes.
1899 case $ac_val in
1900 */ )
1901 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1902 eval $ac_var=\$ac_val;;
1903 esac
1904 # Be sure to have absolute directory names.
1905 case $ac_val in
1906 [\\/$]* | ?:[\\/]* ) continue;;
1907 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1908 esac
1909 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1910 done
1912 # There might be people who depend on the old broken behavior: `$host'
1913 # used to hold the argument of --host etc.
1914 # FIXME: To remove some day.
1915 build=$build_alias
1916 host=$host_alias
1917 target=$target_alias
1919 # FIXME: To remove some day.
1920 if test "x$host_alias" != x; then
1921 if test "x$build_alias" = x; then
1922 cross_compiling=maybe
1923 elif test "x$build_alias" != "x$host_alias"; then
1924 cross_compiling=yes
1928 ac_tool_prefix=
1929 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1931 test "$silent" = yes && exec 6>/dev/null
1934 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1935 ac_ls_di=`ls -di .` &&
1936 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1937 as_fn_error $? "working directory cannot be determined"
1938 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1939 as_fn_error $? "pwd does not report name of working directory"
1942 # Find the source files, if location was not specified.
1943 if test -z "$srcdir"; then
1944 ac_srcdir_defaulted=yes
1945 # Try the directory containing this script, then the parent directory.
1946 ac_confdir=`$as_dirname -- "$as_myself" ||
1947 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1948 X"$as_myself" : 'X\(//\)[^/]' \| \
1949 X"$as_myself" : 'X\(//\)$' \| \
1950 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1951 $as_echo X"$as_myself" |
1952 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1953 s//\1/
1956 /^X\(\/\/\)[^/].*/{
1957 s//\1/
1960 /^X\(\/\/\)$/{
1961 s//\1/
1964 /^X\(\/\).*/{
1965 s//\1/
1968 s/.*/./; q'`
1969 srcdir=$ac_confdir
1970 if test ! -r "$srcdir/$ac_unique_file"; then
1971 srcdir=..
1973 else
1974 ac_srcdir_defaulted=no
1976 if test ! -r "$srcdir/$ac_unique_file"; then
1977 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1978 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1980 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1981 ac_abs_confdir=`(
1982 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1983 pwd)`
1984 # When building in place, set srcdir=.
1985 if test "$ac_abs_confdir" = "$ac_pwd"; then
1986 srcdir=.
1988 # Remove unnecessary trailing slashes from srcdir.
1989 # Double slashes in file names in object file debugging info
1990 # mess up M-x gdb in Emacs.
1991 case $srcdir in
1992 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1993 esac
1994 for ac_var in $ac_precious_vars; do
1995 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1996 eval ac_env_${ac_var}_value=\$${ac_var}
1997 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1998 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1999 done
2002 # Report the --help message.
2004 if test "$ac_init_help" = "long"; then
2005 # Omit some internal or obsolete options to make the list less imposing.
2006 # This message is too long to be a string in the A/UX 3.1 sh.
2007 cat <<_ACEOF
2008 \`configure' configures Wine 1.7.32 to adapt to many kinds of systems.
2010 Usage: $0 [OPTION]... [VAR=VALUE]...
2012 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2013 VAR=VALUE. See below for descriptions of some of the useful variables.
2015 Defaults for the options are specified in brackets.
2017 Configuration:
2018 -h, --help display this help and exit
2019 --help=short display options specific to this package
2020 --help=recursive display the short help of all the included packages
2021 -V, --version display version information and exit
2022 -q, --quiet, --silent do not print \`checking ...' messages
2023 --cache-file=FILE cache test results in FILE [disabled]
2024 -C, --config-cache alias for \`--cache-file=config.cache'
2025 -n, --no-create do not create output files
2026 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2028 Installation directories:
2029 --prefix=PREFIX install architecture-independent files in PREFIX
2030 [$ac_default_prefix]
2031 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2032 [PREFIX]
2034 By default, \`make install' will install all the files in
2035 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2036 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2037 for instance \`--prefix=\$HOME'.
2039 For better control, use the options below.
2041 Fine tuning of the installation directories:
2042 --bindir=DIR user executables [EPREFIX/bin]
2043 --sbindir=DIR system admin executables [EPREFIX/sbin]
2044 --libexecdir=DIR program executables [EPREFIX/libexec]
2045 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2046 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2047 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2048 --libdir=DIR object code libraries [EPREFIX/lib]
2049 --includedir=DIR C header files [PREFIX/include]
2050 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2051 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2052 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2053 --infodir=DIR info documentation [DATAROOTDIR/info]
2054 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2055 --mandir=DIR man documentation [DATAROOTDIR/man]
2056 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2057 --htmldir=DIR html documentation [DOCDIR]
2058 --dvidir=DIR dvi documentation [DOCDIR]
2059 --pdfdir=DIR pdf documentation [DOCDIR]
2060 --psdir=DIR ps documentation [DOCDIR]
2061 _ACEOF
2063 cat <<\_ACEOF
2065 X features:
2066 --x-includes=DIR X include files are in DIR
2067 --x-libraries=DIR X library files are in DIR
2069 System types:
2070 --build=BUILD configure for building on BUILD [guessed]
2071 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2072 _ACEOF
2075 if test -n "$ac_init_help"; then
2076 case $ac_init_help in
2077 short | recursive ) echo "Configuration of Wine 1.7.32:";;
2078 esac
2079 cat <<\_ACEOF
2081 Optional Features:
2082 --disable-option-checking ignore unrecognized --enable/--with options
2083 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2084 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2085 --disable-win16 do not include Win16 support
2086 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2087 binaries)
2088 --disable-tests do not build the regression tests
2089 --enable-maintainer-mode
2090 enable maintainer-specific build rules
2091 --disable-largefile omit support for large files
2093 Optional Packages:
2094 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2095 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2096 --without-alsa do not use the Alsa sound support
2097 --without-capi do not use CAPI (ISDN support)
2098 --without-cms do not use CMS (color management support)
2099 --without-coreaudio do not use the CoreAudio sound support
2100 --without-cups do not use CUPS
2101 --without-curses do not use (n)curses
2102 --without-dbus do not use DBus (dynamic device support)
2103 --without-fontconfig do not use fontconfig
2104 --without-freetype do not use the FreeType library
2105 --without-gettext do not use gettext
2106 --with-gettextpo use the GetTextPO library to rebuild po files
2107 --without-gphoto do not use gphoto (Digital Camera support)
2108 --without-glu do not use the GLU library
2109 --without-gnutls do not use GnuTLS (schannel support)
2110 --without-gsm do not use libgsm (GSM 06.10 codec support)
2111 --without-gstreamer do not use GStreamer (codecs support)
2112 --without-hal do not use HAL (dynamic device support)
2113 --without-jpeg do not use JPEG
2114 --without-ldap do not use LDAP
2115 --without-mpg123 do not use the mpg123 library
2116 --without-netapi do not use the Samba NetAPI library
2117 --without-openal do not use OpenAL
2118 --without-opencl do not use OpenCL
2119 --without-opengl do not use OpenGL
2120 --without-osmesa do not use the OSMesa library
2121 --without-oss do not use the OSS sound support
2122 --without-pcap do not use the Packet Capture library
2123 --without-png do not use PNG
2124 --without-pthread do not use the pthread library
2125 --without-sane do not use SANE (scanner support)
2126 --without-tiff do not use TIFF
2127 --without-v4l do not use v4l1 (v4l support)
2128 --without-xcomposite do not use the Xcomposite extension
2129 --without-xcursor do not use the Xcursor extension
2130 --without-xinerama do not use Xinerama (multi-monitor support)
2131 --without-xinput do not use the Xinput extension
2132 --without-xinput2 do not use the Xinput 2 extension
2133 --without-xml do not use XML
2134 --without-xrandr do not use Xrandr (resolution changes)
2135 --without-xrender do not use the Xrender extension
2136 --without-xshape do not use the Xshape extension
2137 --without-xshm do not use XShm (shared memory extension)
2138 --without-xslt do not use XSLT
2139 --without-xxf86vm do not use XFree video mode extension
2140 --without-zlib do not use Zlib (data compression)
2141 --with-wine-tools=DIR use Wine tools from directory DIR
2142 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2143 --with-x use the X Window System
2145 Some influential environment variables:
2146 CC C compiler command
2147 CFLAGS C compiler flags
2148 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2149 nonstandard directory <lib dir>
2150 LIBS libraries to pass to the linker, e.g. -l<library>
2151 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2152 you have headers in a nonstandard directory <include dir>
2153 CXX C++ compiler command
2154 CXXFLAGS C++ compiler flags
2155 CPP C preprocessor
2156 XMKMF Path to xmkmf, Makefile generator for X Window System
2157 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2158 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2159 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2160 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2161 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2162 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2163 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2164 HAL_LIBS Linker flags for hal, overriding pkg-config
2165 GNUTLS_CFLAGS
2166 C compiler flags for gnutls, overriding pkg-config
2167 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2168 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2169 SANE_LIBS Linker flags for libsane, overriding pkg-config
2170 GPHOTO2_CFLAGS
2171 C compiler flags for libgphoto2, overriding pkg-config
2172 GPHOTO2_LIBS
2173 Linker flags for libgphoto2, overriding pkg-config
2174 GPHOTO2_PORT_CFLAGS
2175 C compiler flags for libgphoto2_port, overriding pkg-config
2176 GPHOTO2_PORT_LIBS
2177 Linker flags for libgphoto2_port, overriding pkg-config
2178 LCMS2_CFLAGS
2179 C compiler flags for lcms2, overriding pkg-config
2180 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2181 FREETYPE_CFLAGS
2182 C compiler flags for freetype2, overriding pkg-config
2183 FREETYPE_LIBS
2184 Linker flags for freetype2, overriding pkg-config
2185 GSTREAMER_CFLAGS
2186 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2187 GSTREAMER_LIBS
2188 Linker flags for gstreamer-app-0.10, overriding pkg-config
2189 CAPI20_CFLAGS
2190 C compiler flags for capi20, overriding pkg-config
2191 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2192 FONTCONFIG_CFLAGS
2193 C compiler flags for fontconfig, overriding pkg-config
2194 FONTCONFIG_LIBS
2195 Linker flags for fontconfig, overriding pkg-config
2196 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2197 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2198 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2199 PNG_LIBS Linker flags for libpng, overriding pkg-config
2200 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2201 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2202 MPG123_CFLAGS
2203 C compiler flags for libmpg123, overriding pkg-config
2204 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2206 Use these variables to override the choices made by `configure' or to help
2207 it to find libraries and programs with nonstandard names/locations.
2209 Report bugs to <wine-devel@winehq.org>.
2210 Wine home page: <http://www.winehq.org>.
2211 _ACEOF
2212 ac_status=$?
2215 if test "$ac_init_help" = "recursive"; then
2216 # If there are subdirs, report their specific --help.
2217 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2218 test -d "$ac_dir" ||
2219 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2220 continue
2221 ac_builddir=.
2223 case "$ac_dir" in
2224 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2226 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2227 # A ".." for each directory in $ac_dir_suffix.
2228 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2229 case $ac_top_builddir_sub in
2230 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2231 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2232 esac ;;
2233 esac
2234 ac_abs_top_builddir=$ac_pwd
2235 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2236 # for backward compatibility:
2237 ac_top_builddir=$ac_top_build_prefix
2239 case $srcdir in
2240 .) # We are building in place.
2241 ac_srcdir=.
2242 ac_top_srcdir=$ac_top_builddir_sub
2243 ac_abs_top_srcdir=$ac_pwd ;;
2244 [\\/]* | ?:[\\/]* ) # Absolute name.
2245 ac_srcdir=$srcdir$ac_dir_suffix;
2246 ac_top_srcdir=$srcdir
2247 ac_abs_top_srcdir=$srcdir ;;
2248 *) # Relative name.
2249 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2250 ac_top_srcdir=$ac_top_build_prefix$srcdir
2251 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2252 esac
2253 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2255 cd "$ac_dir" || { ac_status=$?; continue; }
2256 # Check for guested configure.
2257 if test -f "$ac_srcdir/configure.gnu"; then
2258 echo &&
2259 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2260 elif test -f "$ac_srcdir/configure"; then
2261 echo &&
2262 $SHELL "$ac_srcdir/configure" --help=recursive
2263 else
2264 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2265 fi || ac_status=$?
2266 cd "$ac_pwd" || { ac_status=$?; break; }
2267 done
2270 test -n "$ac_init_help" && exit $ac_status
2271 if $ac_init_version; then
2272 cat <<\_ACEOF
2273 Wine configure 1.7.32
2274 generated by GNU Autoconf 2.69
2276 Copyright (C) 2012 Free Software Foundation, Inc.
2277 This configure script is free software; the Free Software Foundation
2278 gives unlimited permission to copy, distribute and modify it.
2279 _ACEOF
2280 exit
2283 ## ------------------------ ##
2284 ## Autoconf initialization. ##
2285 ## ------------------------ ##
2287 # ac_fn_c_try_compile LINENO
2288 # --------------------------
2289 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2290 ac_fn_c_try_compile ()
2292 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2293 rm -f conftest.$ac_objext
2294 if { { ac_try="$ac_compile"
2295 case "(($ac_try" in
2296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2297 *) ac_try_echo=$ac_try;;
2298 esac
2299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2300 $as_echo "$ac_try_echo"; } >&5
2301 (eval "$ac_compile") 2>conftest.err
2302 ac_status=$?
2303 if test -s conftest.err; then
2304 grep -v '^ *+' conftest.err >conftest.er1
2305 cat conftest.er1 >&5
2306 mv -f conftest.er1 conftest.err
2308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2309 test $ac_status = 0; } && {
2310 test -z "$ac_c_werror_flag" ||
2311 test ! -s conftest.err
2312 } && test -s conftest.$ac_objext; then :
2313 ac_retval=0
2314 else
2315 $as_echo "$as_me: failed program was:" >&5
2316 sed 's/^/| /' conftest.$ac_ext >&5
2318 ac_retval=1
2320 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2321 as_fn_set_status $ac_retval
2323 } # ac_fn_c_try_compile
2325 # ac_fn_cxx_try_compile LINENO
2326 # ----------------------------
2327 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2328 ac_fn_cxx_try_compile ()
2330 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2331 rm -f conftest.$ac_objext
2332 if { { ac_try="$ac_compile"
2333 case "(($ac_try" in
2334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2335 *) ac_try_echo=$ac_try;;
2336 esac
2337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2338 $as_echo "$ac_try_echo"; } >&5
2339 (eval "$ac_compile") 2>conftest.err
2340 ac_status=$?
2341 if test -s conftest.err; then
2342 grep -v '^ *+' conftest.err >conftest.er1
2343 cat conftest.er1 >&5
2344 mv -f conftest.er1 conftest.err
2346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2347 test $ac_status = 0; } && {
2348 test -z "$ac_cxx_werror_flag" ||
2349 test ! -s conftest.err
2350 } && test -s conftest.$ac_objext; then :
2351 ac_retval=0
2352 else
2353 $as_echo "$as_me: failed program was:" >&5
2354 sed 's/^/| /' conftest.$ac_ext >&5
2356 ac_retval=1
2358 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2359 as_fn_set_status $ac_retval
2361 } # ac_fn_cxx_try_compile
2363 # ac_fn_c_try_link LINENO
2364 # -----------------------
2365 # Try to link conftest.$ac_ext, and return whether this succeeded.
2366 ac_fn_c_try_link ()
2368 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2369 rm -f conftest.$ac_objext conftest$ac_exeext
2370 if { { ac_try="$ac_link"
2371 case "(($ac_try" in
2372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2373 *) ac_try_echo=$ac_try;;
2374 esac
2375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2376 $as_echo "$ac_try_echo"; } >&5
2377 (eval "$ac_link") 2>conftest.err
2378 ac_status=$?
2379 if test -s conftest.err; then
2380 grep -v '^ *+' conftest.err >conftest.er1
2381 cat conftest.er1 >&5
2382 mv -f conftest.er1 conftest.err
2384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2385 test $ac_status = 0; } && {
2386 test -z "$ac_c_werror_flag" ||
2387 test ! -s conftest.err
2388 } && test -s conftest$ac_exeext && {
2389 test "$cross_compiling" = yes ||
2390 test -x conftest$ac_exeext
2391 }; then :
2392 ac_retval=0
2393 else
2394 $as_echo "$as_me: failed program was:" >&5
2395 sed 's/^/| /' conftest.$ac_ext >&5
2397 ac_retval=1
2399 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2400 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2401 # interfere with the next link command; also delete a directory that is
2402 # left behind by Apple's compiler. We do this before executing the actions.
2403 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2404 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2405 as_fn_set_status $ac_retval
2407 } # ac_fn_c_try_link
2409 # ac_fn_c_try_cpp LINENO
2410 # ----------------------
2411 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2412 ac_fn_c_try_cpp ()
2414 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2415 if { { ac_try="$ac_cpp conftest.$ac_ext"
2416 case "(($ac_try" in
2417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2418 *) ac_try_echo=$ac_try;;
2419 esac
2420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2421 $as_echo "$ac_try_echo"; } >&5
2422 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2423 ac_status=$?
2424 if test -s conftest.err; then
2425 grep -v '^ *+' conftest.err >conftest.er1
2426 cat conftest.er1 >&5
2427 mv -f conftest.er1 conftest.err
2429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2430 test $ac_status = 0; } > conftest.i && {
2431 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2432 test ! -s conftest.err
2433 }; then :
2434 ac_retval=0
2435 else
2436 $as_echo "$as_me: failed program was:" >&5
2437 sed 's/^/| /' conftest.$ac_ext >&5
2439 ac_retval=1
2441 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2442 as_fn_set_status $ac_retval
2444 } # ac_fn_c_try_cpp
2446 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2447 # -------------------------------------------------------
2448 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2449 # the include files in INCLUDES and setting the cache variable VAR
2450 # accordingly.
2451 ac_fn_c_check_header_mongrel ()
2453 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2454 if eval \${$3+:} false; then :
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2456 $as_echo_n "checking for $2... " >&6; }
2457 if eval \${$3+:} false; then :
2458 $as_echo_n "(cached) " >&6
2460 eval ac_res=\$$3
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2462 $as_echo "$ac_res" >&6; }
2463 else
2464 # Is the header compilable?
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2466 $as_echo_n "checking $2 usability... " >&6; }
2467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2468 /* end confdefs.h. */
2470 #include <$2>
2471 _ACEOF
2472 if ac_fn_c_try_compile "$LINENO"; then :
2473 ac_header_compiler=yes
2474 else
2475 ac_header_compiler=no
2477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2479 $as_echo "$ac_header_compiler" >&6; }
2481 # Is the header present?
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2483 $as_echo_n "checking $2 presence... " >&6; }
2484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2485 /* end confdefs.h. */
2486 #include <$2>
2487 _ACEOF
2488 if ac_fn_c_try_cpp "$LINENO"; then :
2489 ac_header_preproc=yes
2490 else
2491 ac_header_preproc=no
2493 rm -f conftest.err conftest.i conftest.$ac_ext
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2495 $as_echo "$ac_header_preproc" >&6; }
2497 # So? What about this header?
2498 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2499 yes:no: )
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2501 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2503 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2505 no:yes:* )
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2507 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2509 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2511 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2513 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2515 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2516 ( $as_echo "## ------------------------------------ ##
2517 ## Report this to wine-devel@winehq.org ##
2518 ## ------------------------------------ ##"
2519 ) | sed "s/^/$as_me: WARNING: /" >&2
2521 esac
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2523 $as_echo_n "checking for $2... " >&6; }
2524 if eval \${$3+:} false; then :
2525 $as_echo_n "(cached) " >&6
2526 else
2527 eval "$3=\$ac_header_compiler"
2529 eval ac_res=\$$3
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2531 $as_echo "$ac_res" >&6; }
2533 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2535 } # ac_fn_c_check_header_mongrel
2537 # ac_fn_c_try_run LINENO
2538 # ----------------------
2539 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2540 # that executables *can* be run.
2541 ac_fn_c_try_run ()
2543 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2544 if { { ac_try="$ac_link"
2545 case "(($ac_try" in
2546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2547 *) ac_try_echo=$ac_try;;
2548 esac
2549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2550 $as_echo "$ac_try_echo"; } >&5
2551 (eval "$ac_link") 2>&5
2552 ac_status=$?
2553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2554 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2555 { { case "(($ac_try" in
2556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2557 *) ac_try_echo=$ac_try;;
2558 esac
2559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2560 $as_echo "$ac_try_echo"; } >&5
2561 (eval "$ac_try") 2>&5
2562 ac_status=$?
2563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2564 test $ac_status = 0; }; }; then :
2565 ac_retval=0
2566 else
2567 $as_echo "$as_me: program exited with status $ac_status" >&5
2568 $as_echo "$as_me: failed program was:" >&5
2569 sed 's/^/| /' conftest.$ac_ext >&5
2571 ac_retval=$ac_status
2573 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2574 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2575 as_fn_set_status $ac_retval
2577 } # ac_fn_c_try_run
2579 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2580 # -------------------------------------------------------
2581 # Tests whether HEADER exists and can be compiled using the include files in
2582 # INCLUDES, setting the cache variable VAR accordingly.
2583 ac_fn_c_check_header_compile ()
2585 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2587 $as_echo_n "checking for $2... " >&6; }
2588 if eval \${$3+:} false; then :
2589 $as_echo_n "(cached) " >&6
2590 else
2591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2592 /* end confdefs.h. */
2594 #include <$2>
2595 _ACEOF
2596 if ac_fn_c_try_compile "$LINENO"; then :
2597 eval "$3=yes"
2598 else
2599 eval "$3=no"
2601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2603 eval ac_res=\$$3
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2605 $as_echo "$ac_res" >&6; }
2606 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2608 } # ac_fn_c_check_header_compile
2610 # ac_fn_c_check_func LINENO FUNC VAR
2611 # ----------------------------------
2612 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2613 ac_fn_c_check_func ()
2615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2617 $as_echo_n "checking for $2... " >&6; }
2618 if eval \${$3+:} false; then :
2619 $as_echo_n "(cached) " >&6
2620 else
2621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2622 /* end confdefs.h. */
2623 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2625 #define $2 innocuous_$2
2627 /* System header to define __stub macros and hopefully few prototypes,
2628 which can conflict with char $2 (); below.
2629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2630 <limits.h> exists even on freestanding compilers. */
2632 #ifdef __STDC__
2633 # include <limits.h>
2634 #else
2635 # include <assert.h>
2636 #endif
2638 #undef $2
2640 /* Override any GCC internal prototype to avoid an error.
2641 Use char because int might match the return type of a GCC
2642 builtin and then its argument prototype would still apply. */
2643 #ifdef __cplusplus
2644 extern "C"
2645 #endif
2646 char $2 ();
2647 /* The GNU C library defines this for functions which it implements
2648 to always fail with ENOSYS. Some functions are actually named
2649 something starting with __ and the normal name is an alias. */
2650 #if defined __stub_$2 || defined __stub___$2
2651 choke me
2652 #endif
2655 main ()
2657 return $2 ();
2659 return 0;
2661 _ACEOF
2662 if ac_fn_c_try_link "$LINENO"; then :
2663 eval "$3=yes"
2664 else
2665 eval "$3=no"
2667 rm -f core conftest.err conftest.$ac_objext \
2668 conftest$ac_exeext conftest.$ac_ext
2670 eval ac_res=\$$3
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2672 $as_echo "$ac_res" >&6; }
2673 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2675 } # ac_fn_c_check_func
2677 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2678 # ----------------------------------------------------
2679 # Tries to find if the field MEMBER exists in type AGGR, after including
2680 # INCLUDES, setting cache variable VAR accordingly.
2681 ac_fn_c_check_member ()
2683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2685 $as_echo_n "checking for $2.$3... " >&6; }
2686 if eval \${$4+:} false; then :
2687 $as_echo_n "(cached) " >&6
2688 else
2689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2690 /* end confdefs.h. */
2693 main ()
2695 static $2 ac_aggr;
2696 if (ac_aggr.$3)
2697 return 0;
2699 return 0;
2701 _ACEOF
2702 if ac_fn_c_try_compile "$LINENO"; then :
2703 eval "$4=yes"
2704 else
2705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2706 /* end confdefs.h. */
2709 main ()
2711 static $2 ac_aggr;
2712 if (sizeof ac_aggr.$3)
2713 return 0;
2715 return 0;
2717 _ACEOF
2718 if ac_fn_c_try_compile "$LINENO"; then :
2719 eval "$4=yes"
2720 else
2721 eval "$4=no"
2723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2727 eval ac_res=\$$4
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2729 $as_echo "$ac_res" >&6; }
2730 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2732 } # ac_fn_c_check_member
2734 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2735 # -------------------------------------------
2736 # Tests whether TYPE exists after having included INCLUDES, setting cache
2737 # variable VAR accordingly.
2738 ac_fn_c_check_type ()
2740 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2742 $as_echo_n "checking for $2... " >&6; }
2743 if eval \${$3+:} false; then :
2744 $as_echo_n "(cached) " >&6
2745 else
2746 eval "$3=no"
2747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2748 /* end confdefs.h. */
2751 main ()
2753 if (sizeof ($2))
2754 return 0;
2756 return 0;
2758 _ACEOF
2759 if ac_fn_c_try_compile "$LINENO"; then :
2760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2761 /* end confdefs.h. */
2764 main ()
2766 if (sizeof (($2)))
2767 return 0;
2769 return 0;
2771 _ACEOF
2772 if ac_fn_c_try_compile "$LINENO"; then :
2774 else
2775 eval "$3=yes"
2777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2781 eval ac_res=\$$3
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2783 $as_echo "$ac_res" >&6; }
2784 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2786 } # ac_fn_c_check_type
2787 cat >config.log <<_ACEOF
2788 This file contains any messages produced by compilers while
2789 running configure, to aid debugging if configure makes a mistake.
2791 It was created by Wine $as_me 1.7.32, which was
2792 generated by GNU Autoconf 2.69. Invocation command line was
2794 $ $0 $@
2796 _ACEOF
2797 exec 5>>config.log
2799 cat <<_ASUNAME
2800 ## --------- ##
2801 ## Platform. ##
2802 ## --------- ##
2804 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2805 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2806 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2807 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2808 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2810 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2811 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2813 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2814 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2815 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2816 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2817 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2818 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2819 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2821 _ASUNAME
2823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2824 for as_dir in $PATH
2826 IFS=$as_save_IFS
2827 test -z "$as_dir" && as_dir=.
2828 $as_echo "PATH: $as_dir"
2829 done
2830 IFS=$as_save_IFS
2832 } >&5
2834 cat >&5 <<_ACEOF
2837 ## ----------- ##
2838 ## Core tests. ##
2839 ## ----------- ##
2841 _ACEOF
2844 # Keep a trace of the command line.
2845 # Strip out --no-create and --no-recursion so they do not pile up.
2846 # Strip out --silent because we don't want to record it for future runs.
2847 # Also quote any args containing shell meta-characters.
2848 # Make two passes to allow for proper duplicate-argument suppression.
2849 ac_configure_args=
2850 ac_configure_args0=
2851 ac_configure_args1=
2852 ac_must_keep_next=false
2853 for ac_pass in 1 2
2855 for ac_arg
2857 case $ac_arg in
2858 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2859 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2860 | -silent | --silent | --silen | --sile | --sil)
2861 continue ;;
2862 *\'*)
2863 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2864 esac
2865 case $ac_pass in
2866 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2868 as_fn_append ac_configure_args1 " '$ac_arg'"
2869 if test $ac_must_keep_next = true; then
2870 ac_must_keep_next=false # Got value, back to normal.
2871 else
2872 case $ac_arg in
2873 *=* | --config-cache | -C | -disable-* | --disable-* \
2874 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2875 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2876 | -with-* | --with-* | -without-* | --without-* | --x)
2877 case "$ac_configure_args0 " in
2878 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2879 esac
2881 -* ) ac_must_keep_next=true ;;
2882 esac
2884 as_fn_append ac_configure_args " '$ac_arg'"
2886 esac
2887 done
2888 done
2889 { ac_configure_args0=; unset ac_configure_args0;}
2890 { ac_configure_args1=; unset ac_configure_args1;}
2892 # When interrupted or exit'd, cleanup temporary files, and complete
2893 # config.log. We remove comments because anyway the quotes in there
2894 # would cause problems or look ugly.
2895 # WARNING: Use '\'' to represent an apostrophe within the trap.
2896 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2897 trap 'exit_status=$?
2898 # Save into config.log some information that might help in debugging.
2900 echo
2902 $as_echo "## ---------------- ##
2903 ## Cache variables. ##
2904 ## ---------------- ##"
2905 echo
2906 # The following way of writing the cache mishandles newlines in values,
2908 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2909 eval ac_val=\$$ac_var
2910 case $ac_val in #(
2911 *${as_nl}*)
2912 case $ac_var in #(
2913 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2914 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2915 esac
2916 case $ac_var in #(
2917 _ | IFS | as_nl) ;; #(
2918 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2919 *) { eval $ac_var=; unset $ac_var;} ;;
2920 esac ;;
2921 esac
2922 done
2923 (set) 2>&1 |
2924 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2925 *${as_nl}ac_space=\ *)
2926 sed -n \
2927 "s/'\''/'\''\\\\'\'''\''/g;
2928 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2929 ;; #(
2931 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2933 esac |
2934 sort
2936 echo
2938 $as_echo "## ----------------- ##
2939 ## Output variables. ##
2940 ## ----------------- ##"
2941 echo
2942 for ac_var in $ac_subst_vars
2944 eval ac_val=\$$ac_var
2945 case $ac_val in
2946 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2947 esac
2948 $as_echo "$ac_var='\''$ac_val'\''"
2949 done | sort
2950 echo
2952 if test -n "$ac_subst_files"; then
2953 $as_echo "## ------------------- ##
2954 ## File substitutions. ##
2955 ## ------------------- ##"
2956 echo
2957 for ac_var in $ac_subst_files
2959 eval ac_val=\$$ac_var
2960 case $ac_val in
2961 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2962 esac
2963 $as_echo "$ac_var='\''$ac_val'\''"
2964 done | sort
2965 echo
2968 if test -s confdefs.h; then
2969 $as_echo "## ----------- ##
2970 ## confdefs.h. ##
2971 ## ----------- ##"
2972 echo
2973 cat confdefs.h
2974 echo
2976 test "$ac_signal" != 0 &&
2977 $as_echo "$as_me: caught signal $ac_signal"
2978 $as_echo "$as_me: exit $exit_status"
2979 } >&5
2980 rm -f core *.core core.conftest.* &&
2981 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2982 exit $exit_status
2984 for ac_signal in 1 2 13 15; do
2985 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2986 done
2987 ac_signal=0
2989 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2990 rm -f -r conftest* confdefs.h
2992 $as_echo "/* confdefs.h */" > confdefs.h
2994 # Predefined preprocessor variables.
2996 cat >>confdefs.h <<_ACEOF
2997 #define PACKAGE_NAME "$PACKAGE_NAME"
2998 _ACEOF
3000 cat >>confdefs.h <<_ACEOF
3001 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3002 _ACEOF
3004 cat >>confdefs.h <<_ACEOF
3005 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3006 _ACEOF
3008 cat >>confdefs.h <<_ACEOF
3009 #define PACKAGE_STRING "$PACKAGE_STRING"
3010 _ACEOF
3012 cat >>confdefs.h <<_ACEOF
3013 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3014 _ACEOF
3016 cat >>confdefs.h <<_ACEOF
3017 #define PACKAGE_URL "$PACKAGE_URL"
3018 _ACEOF
3021 # Let the site file select an alternate cache file if it wants to.
3022 # Prefer an explicitly selected file to automatically selected ones.
3023 ac_site_file1=NONE
3024 ac_site_file2=NONE
3025 if test -n "$CONFIG_SITE"; then
3026 # We do not want a PATH search for config.site.
3027 case $CONFIG_SITE in #((
3028 -*) ac_site_file1=./$CONFIG_SITE;;
3029 */*) ac_site_file1=$CONFIG_SITE;;
3030 *) ac_site_file1=./$CONFIG_SITE;;
3031 esac
3032 elif test "x$prefix" != xNONE; then
3033 ac_site_file1=$prefix/share/config.site
3034 ac_site_file2=$prefix/etc/config.site
3035 else
3036 ac_site_file1=$ac_default_prefix/share/config.site
3037 ac_site_file2=$ac_default_prefix/etc/config.site
3039 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3041 test "x$ac_site_file" = xNONE && continue
3042 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3044 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3045 sed 's/^/| /' "$ac_site_file" >&5
3046 . "$ac_site_file" \
3047 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3049 as_fn_error $? "failed to load site script $ac_site_file
3050 See \`config.log' for more details" "$LINENO" 5; }
3052 done
3054 if test -r "$cache_file"; then
3055 # Some versions of bash will fail to source /dev/null (special files
3056 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3057 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3059 $as_echo "$as_me: loading cache $cache_file" >&6;}
3060 case $cache_file in
3061 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3062 *) . "./$cache_file";;
3063 esac
3065 else
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3067 $as_echo "$as_me: creating cache $cache_file" >&6;}
3068 >$cache_file
3071 # Check that the precious variables saved in the cache have kept the same
3072 # value.
3073 ac_cache_corrupted=false
3074 for ac_var in $ac_precious_vars; do
3075 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3076 eval ac_new_set=\$ac_env_${ac_var}_set
3077 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3078 eval ac_new_val=\$ac_env_${ac_var}_value
3079 case $ac_old_set,$ac_new_set in
3080 set,)
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3082 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3083 ac_cache_corrupted=: ;;
3084 ,set)
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3086 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3087 ac_cache_corrupted=: ;;
3088 ,);;
3090 if test "x$ac_old_val" != "x$ac_new_val"; then
3091 # differences in whitespace do not lead to failure.
3092 ac_old_val_w=`echo x $ac_old_val`
3093 ac_new_val_w=`echo x $ac_new_val`
3094 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3096 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3097 ac_cache_corrupted=:
3098 else
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3100 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3101 eval $ac_var=\$ac_old_val
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3104 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3106 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3107 fi;;
3108 esac
3109 # Pass precious variables to config.status.
3110 if test "$ac_new_set" = set; then
3111 case $ac_new_val in
3112 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3113 *) ac_arg=$ac_var=$ac_new_val ;;
3114 esac
3115 case " $ac_configure_args " in
3116 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3117 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3118 esac
3120 done
3121 if $ac_cache_corrupted; then
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3125 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3126 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3128 ## -------------------- ##
3129 ## Main body of script. ##
3130 ## -------------------- ##
3132 ac_ext=c
3133 ac_cpp='$CPP $CPPFLAGS'
3134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3140 ac_config_headers="$ac_config_headers include/config.h"
3142 ac_aux_dir=
3143 for ac_dir in tools "$srcdir"/tools; do
3144 if test -f "$ac_dir/install-sh"; then
3145 ac_aux_dir=$ac_dir
3146 ac_install_sh="$ac_aux_dir/install-sh -c"
3147 break
3148 elif test -f "$ac_dir/install.sh"; then
3149 ac_aux_dir=$ac_dir
3150 ac_install_sh="$ac_aux_dir/install.sh -c"
3151 break
3152 elif test -f "$ac_dir/shtool"; then
3153 ac_aux_dir=$ac_dir
3154 ac_install_sh="$ac_aux_dir/shtool install -c"
3155 break
3157 done
3158 if test -z "$ac_aux_dir"; then
3159 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3162 # These three variables are undocumented and unsupported,
3163 # and are intended to be withdrawn in a future Autoconf release.
3164 # They can cause serious problems if a builder's source tree is in a directory
3165 # whose full name contains unusual characters.
3166 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3167 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3168 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3172 libwine_version="1.0"
3176 # Check whether --enable-win16 was given.
3177 if test "${enable_win16+set}" = set; then :
3178 enableval=$enable_win16;
3181 # Check whether --enable-win64 was given.
3182 if test "${enable_win64+set}" = set; then :
3183 enableval=$enable_win64;
3186 # Check whether --enable-tests was given.
3187 if test "${enable_tests+set}" = set; then :
3188 enableval=$enable_tests;
3191 # Check whether --enable-maintainer-mode was given.
3192 if test "${enable_maintainer_mode+set}" = set; then :
3193 enableval=$enable_maintainer_mode;
3198 # Check whether --with-alsa was given.
3199 if test "${with_alsa+set}" = set; then :
3200 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3204 # Check whether --with-capi was given.
3205 if test "${with_capi+set}" = set; then :
3206 withval=$with_capi;
3210 # Check whether --with-cms was given.
3211 if test "${with_cms+set}" = set; then :
3212 withval=$with_cms;
3216 # Check whether --with-coreaudio was given.
3217 if test "${with_coreaudio+set}" = set; then :
3218 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3222 # Check whether --with-cups was given.
3223 if test "${with_cups+set}" = set; then :
3224 withval=$with_cups;
3228 # Check whether --with-curses was given.
3229 if test "${with_curses+set}" = set; then :
3230 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3234 # Check whether --with-dbus was given.
3235 if test "${with_dbus+set}" = set; then :
3236 withval=$with_dbus;
3240 # Check whether --with-fontconfig was given.
3241 if test "${with_fontconfig+set}" = set; then :
3242 withval=$with_fontconfig;
3246 # Check whether --with-freetype was given.
3247 if test "${with_freetype+set}" = set; then :
3248 withval=$with_freetype;
3252 # Check whether --with-gettext was given.
3253 if test "${with_gettext+set}" = set; then :
3254 withval=$with_gettext;
3258 # Check whether --with-gettextpo was given.
3259 if test "${with_gettextpo+set}" = set; then :
3260 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3264 # Check whether --with-gphoto was given.
3265 if test "${with_gphoto+set}" = set; then :
3266 withval=$with_gphoto;
3270 # Check whether --with-glu was given.
3271 if test "${with_glu+set}" = set; then :
3272 withval=$with_glu;
3276 # Check whether --with-gnutls was given.
3277 if test "${with_gnutls+set}" = set; then :
3278 withval=$with_gnutls;
3282 # Check whether --with-gsm was given.
3283 if test "${with_gsm+set}" = set; then :
3284 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3288 # Check whether --with-gstreamer was given.
3289 if test "${with_gstreamer+set}" = set; then :
3290 withval=$with_gstreamer;
3294 # Check whether --with-hal was given.
3295 if test "${with_hal+set}" = set; then :
3296 withval=$with_hal;
3300 # Check whether --with-jpeg was given.
3301 if test "${with_jpeg+set}" = set; then :
3302 withval=$with_jpeg;
3306 # Check whether --with-ldap was given.
3307 if test "${with_ldap+set}" = set; then :
3308 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3312 # Check whether --with-mpg123 was given.
3313 if test "${with_mpg123+set}" = set; then :
3314 withval=$with_mpg123;
3318 # Check whether --with-netapi was given.
3319 if test "${with_netapi+set}" = set; then :
3320 withval=$with_netapi;
3324 # Check whether --with-openal was given.
3325 if test "${with_openal+set}" = set; then :
3326 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3330 # Check whether --with-opencl was given.
3331 if test "${with_opencl+set}" = set; then :
3332 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3336 # Check whether --with-opengl was given.
3337 if test "${with_opengl+set}" = set; then :
3338 withval=$with_opengl;
3342 # Check whether --with-osmesa was given.
3343 if test "${with_osmesa+set}" = set; then :
3344 withval=$with_osmesa;
3348 # Check whether --with-oss was given.
3349 if test "${with_oss+set}" = set; then :
3350 withval=$with_oss;
3354 # Check whether --with-pcap was given.
3355 if test "${with_pcap+set}" = set; then :
3356 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3360 # Check whether --with-png was given.
3361 if test "${with_png+set}" = set; then :
3362 withval=$with_png;
3366 # Check whether --with-pthread was given.
3367 if test "${with_pthread+set}" = set; then :
3368 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3372 # Check whether --with-sane was given.
3373 if test "${with_sane+set}" = set; then :
3374 withval=$with_sane;
3378 # Check whether --with-tiff was given.
3379 if test "${with_tiff+set}" = set; then :
3380 withval=$with_tiff;
3384 # Check whether --with-v4l was given.
3385 if test "${with_v4l+set}" = set; then :
3386 withval=$with_v4l;
3390 # Check whether --with-xcomposite was given.
3391 if test "${with_xcomposite+set}" = set; then :
3392 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3396 # Check whether --with-xcursor was given.
3397 if test "${with_xcursor+set}" = set; then :
3398 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3402 # Check whether --with-xinerama was given.
3403 if test "${with_xinerama+set}" = set; then :
3404 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3408 # Check whether --with-xinput was given.
3409 if test "${with_xinput+set}" = set; then :
3410 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3414 # Check whether --with-xinput2 was given.
3415 if test "${with_xinput2+set}" = set; then :
3416 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3420 # Check whether --with-xml was given.
3421 if test "${with_xml+set}" = set; then :
3422 withval=$with_xml;
3426 # Check whether --with-xrandr was given.
3427 if test "${with_xrandr+set}" = set; then :
3428 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3432 # Check whether --with-xrender was given.
3433 if test "${with_xrender+set}" = set; then :
3434 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3438 # Check whether --with-xshape was given.
3439 if test "${with_xshape+set}" = set; then :
3440 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3444 # Check whether --with-xshm was given.
3445 if test "${with_xshm+set}" = set; then :
3446 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3450 # Check whether --with-xslt was given.
3451 if test "${with_xslt+set}" = set; then :
3452 withval=$with_xslt;
3456 # Check whether --with-xxf86vm was given.
3457 if test "${with_xxf86vm+set}" = set; then :
3458 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
3462 # Check whether --with-zlib was given.
3463 if test "${with_zlib+set}" = set; then :
3464 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3469 # Check whether --with-wine-tools was given.
3470 if test "${with_wine_tools+set}" = set; then :
3471 withval=$with_wine_tools;
3475 # Check whether --with-wine64 was given.
3476 if test "${with_wine64+set}" = set; then :
3477 withval=$with_wine64;
3481 # Make sure we can run config.sub.
3482 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3483 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3486 $as_echo_n "checking build system type... " >&6; }
3487 if ${ac_cv_build+:} false; then :
3488 $as_echo_n "(cached) " >&6
3489 else
3490 ac_build_alias=$build_alias
3491 test "x$ac_build_alias" = x &&
3492 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3493 test "x$ac_build_alias" = x &&
3494 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3495 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3496 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3500 $as_echo "$ac_cv_build" >&6; }
3501 case $ac_cv_build in
3502 *-*-*) ;;
3503 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3504 esac
3505 build=$ac_cv_build
3506 ac_save_IFS=$IFS; IFS='-'
3507 set x $ac_cv_build
3508 shift
3509 build_cpu=$1
3510 build_vendor=$2
3511 shift; shift
3512 # Remember, the first character of IFS is used to create $*,
3513 # except with old shells:
3514 build_os=$*
3515 IFS=$ac_save_IFS
3516 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3520 $as_echo_n "checking host system type... " >&6; }
3521 if ${ac_cv_host+:} false; then :
3522 $as_echo_n "(cached) " >&6
3523 else
3524 if test "x$host_alias" = x; then
3525 ac_cv_host=$ac_cv_build
3526 else
3527 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3528 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3533 $as_echo "$ac_cv_host" >&6; }
3534 case $ac_cv_host in
3535 *-*-*) ;;
3536 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3537 esac
3538 host=$ac_cv_host
3539 ac_save_IFS=$IFS; IFS='-'
3540 set x $ac_cv_host
3541 shift
3542 host_cpu=$1
3543 host_vendor=$2
3544 shift; shift
3545 # Remember, the first character of IFS is used to create $*,
3546 # except with old shells:
3547 host_os=$*
3548 IFS=$ac_save_IFS
3549 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3553 case "$srcdir" in
3554 .) ;;
3555 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3556 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3557 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3558 fi ;;
3559 esac
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3563 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3564 set x ${MAKE-make}
3565 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3566 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3567 $as_echo_n "(cached) " >&6
3568 else
3569 cat >conftest.make <<\_ACEOF
3570 SHELL = /bin/sh
3571 all:
3572 @echo '@@@%%%=$(MAKE)=@@@%%%'
3573 _ACEOF
3574 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3575 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3576 *@@@%%%=?*=@@@%%%*)
3577 eval ac_cv_prog_make_${ac_make}_set=yes;;
3579 eval ac_cv_prog_make_${ac_make}_set=no;;
3580 esac
3581 rm -f conftest.make
3583 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3585 $as_echo "yes" >&6; }
3586 SET_MAKE=
3587 else
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3589 $as_echo "no" >&6; }
3590 SET_MAKE="MAKE=${MAKE-make}"
3593 ac_ext=c
3594 ac_cpp='$CPP $CPPFLAGS'
3595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3598 if test -n "$ac_tool_prefix"; then
3599 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3600 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3602 $as_echo_n "checking for $ac_word... " >&6; }
3603 if ${ac_cv_prog_CC+:} false; then :
3604 $as_echo_n "(cached) " >&6
3605 else
3606 if test -n "$CC"; then
3607 ac_cv_prog_CC="$CC" # Let the user override the test.
3608 else
3609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3610 for as_dir in $PATH
3612 IFS=$as_save_IFS
3613 test -z "$as_dir" && as_dir=.
3614 for ac_exec_ext in '' $ac_executable_extensions; do
3615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3616 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3618 break 2
3620 done
3621 done
3622 IFS=$as_save_IFS
3626 CC=$ac_cv_prog_CC
3627 if test -n "$CC"; then
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3629 $as_echo "$CC" >&6; }
3630 else
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3632 $as_echo "no" >&6; }
3637 if test -z "$ac_cv_prog_CC"; then
3638 ac_ct_CC=$CC
3639 # Extract the first word of "gcc", so it can be a program name with args.
3640 set dummy gcc; ac_word=$2
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3642 $as_echo_n "checking for $ac_word... " >&6; }
3643 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3644 $as_echo_n "(cached) " >&6
3645 else
3646 if test -n "$ac_ct_CC"; then
3647 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3648 else
3649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3650 for as_dir in $PATH
3652 IFS=$as_save_IFS
3653 test -z "$as_dir" && as_dir=.
3654 for ac_exec_ext in '' $ac_executable_extensions; do
3655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3656 ac_cv_prog_ac_ct_CC="gcc"
3657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3658 break 2
3660 done
3661 done
3662 IFS=$as_save_IFS
3666 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3667 if test -n "$ac_ct_CC"; then
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3669 $as_echo "$ac_ct_CC" >&6; }
3670 else
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3672 $as_echo "no" >&6; }
3675 if test "x$ac_ct_CC" = x; then
3676 CC=""
3677 else
3678 case $cross_compiling:$ac_tool_warned in
3679 yes:)
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3682 ac_tool_warned=yes ;;
3683 esac
3684 CC=$ac_ct_CC
3686 else
3687 CC="$ac_cv_prog_CC"
3690 if test -z "$CC"; then
3691 if test -n "$ac_tool_prefix"; then
3692 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3693 set dummy ${ac_tool_prefix}cc; ac_word=$2
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3695 $as_echo_n "checking for $ac_word... " >&6; }
3696 if ${ac_cv_prog_CC+:} false; then :
3697 $as_echo_n "(cached) " >&6
3698 else
3699 if test -n "$CC"; then
3700 ac_cv_prog_CC="$CC" # Let the user override the test.
3701 else
3702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3703 for as_dir in $PATH
3705 IFS=$as_save_IFS
3706 test -z "$as_dir" && as_dir=.
3707 for ac_exec_ext in '' $ac_executable_extensions; do
3708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3709 ac_cv_prog_CC="${ac_tool_prefix}cc"
3710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3711 break 2
3713 done
3714 done
3715 IFS=$as_save_IFS
3719 CC=$ac_cv_prog_CC
3720 if test -n "$CC"; then
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3722 $as_echo "$CC" >&6; }
3723 else
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3725 $as_echo "no" >&6; }
3731 if test -z "$CC"; then
3732 # Extract the first word of "cc", so it can be a program name with args.
3733 set dummy cc; ac_word=$2
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3735 $as_echo_n "checking for $ac_word... " >&6; }
3736 if ${ac_cv_prog_CC+:} false; then :
3737 $as_echo_n "(cached) " >&6
3738 else
3739 if test -n "$CC"; then
3740 ac_cv_prog_CC="$CC" # Let the user override the test.
3741 else
3742 ac_prog_rejected=no
3743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3744 for as_dir in $PATH
3746 IFS=$as_save_IFS
3747 test -z "$as_dir" && as_dir=.
3748 for ac_exec_ext in '' $ac_executable_extensions; do
3749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3750 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3751 ac_prog_rejected=yes
3752 continue
3754 ac_cv_prog_CC="cc"
3755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3756 break 2
3758 done
3759 done
3760 IFS=$as_save_IFS
3762 if test $ac_prog_rejected = yes; then
3763 # We found a bogon in the path, so make sure we never use it.
3764 set dummy $ac_cv_prog_CC
3765 shift
3766 if test $# != 0; then
3767 # We chose a different compiler from the bogus one.
3768 # However, it has the same basename, so the bogon will be chosen
3769 # first if we set CC to just the basename; use the full file name.
3770 shift
3771 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3776 CC=$ac_cv_prog_CC
3777 if test -n "$CC"; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3779 $as_echo "$CC" >&6; }
3780 else
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3787 if test -z "$CC"; then
3788 if test -n "$ac_tool_prefix"; then
3789 for ac_prog in cl.exe
3791 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3792 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3794 $as_echo_n "checking for $ac_word... " >&6; }
3795 if ${ac_cv_prog_CC+:} false; then :
3796 $as_echo_n "(cached) " >&6
3797 else
3798 if test -n "$CC"; then
3799 ac_cv_prog_CC="$CC" # Let the user override the test.
3800 else
3801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3802 for as_dir in $PATH
3804 IFS=$as_save_IFS
3805 test -z "$as_dir" && as_dir=.
3806 for ac_exec_ext in '' $ac_executable_extensions; do
3807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3808 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3810 break 2
3812 done
3813 done
3814 IFS=$as_save_IFS
3818 CC=$ac_cv_prog_CC
3819 if test -n "$CC"; then
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3821 $as_echo "$CC" >&6; }
3822 else
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3824 $as_echo "no" >&6; }
3828 test -n "$CC" && break
3829 done
3831 if test -z "$CC"; then
3832 ac_ct_CC=$CC
3833 for ac_prog in cl.exe
3835 # Extract the first word of "$ac_prog", so it can be a program name with args.
3836 set dummy $ac_prog; ac_word=$2
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3838 $as_echo_n "checking for $ac_word... " >&6; }
3839 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3840 $as_echo_n "(cached) " >&6
3841 else
3842 if test -n "$ac_ct_CC"; then
3843 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3844 else
3845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3846 for as_dir in $PATH
3848 IFS=$as_save_IFS
3849 test -z "$as_dir" && as_dir=.
3850 for ac_exec_ext in '' $ac_executable_extensions; do
3851 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3852 ac_cv_prog_ac_ct_CC="$ac_prog"
3853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3854 break 2
3856 done
3857 done
3858 IFS=$as_save_IFS
3862 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3863 if test -n "$ac_ct_CC"; then
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3865 $as_echo "$ac_ct_CC" >&6; }
3866 else
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3868 $as_echo "no" >&6; }
3872 test -n "$ac_ct_CC" && break
3873 done
3875 if test "x$ac_ct_CC" = x; then
3876 CC=""
3877 else
3878 case $cross_compiling:$ac_tool_warned in
3879 yes:)
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3882 ac_tool_warned=yes ;;
3883 esac
3884 CC=$ac_ct_CC
3891 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3893 as_fn_error $? "no acceptable C compiler found in \$PATH
3894 See \`config.log' for more details" "$LINENO" 5; }
3896 # Provide some information about the compiler.
3897 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3898 set X $ac_compile
3899 ac_compiler=$2
3900 for ac_option in --version -v -V -qversion; do
3901 { { ac_try="$ac_compiler $ac_option >&5"
3902 case "(($ac_try" in
3903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3904 *) ac_try_echo=$ac_try;;
3905 esac
3906 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3907 $as_echo "$ac_try_echo"; } >&5
3908 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3909 ac_status=$?
3910 if test -s conftest.err; then
3911 sed '10a\
3912 ... rest of stderr output deleted ...
3913 10q' conftest.err >conftest.er1
3914 cat conftest.er1 >&5
3916 rm -f conftest.er1 conftest.err
3917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3918 test $ac_status = 0; }
3919 done
3921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3922 /* end confdefs.h. */
3925 main ()
3929 return 0;
3931 _ACEOF
3932 ac_clean_files_save=$ac_clean_files
3933 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3934 # Try to create an executable without -o first, disregard a.out.
3935 # It will help us diagnose broken compilers, and finding out an intuition
3936 # of exeext.
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3938 $as_echo_n "checking whether the C compiler works... " >&6; }
3939 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3941 # The possible output files:
3942 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3944 ac_rmfiles=
3945 for ac_file in $ac_files
3947 case $ac_file in
3948 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3949 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3950 esac
3951 done
3952 rm -f $ac_rmfiles
3954 if { { ac_try="$ac_link_default"
3955 case "(($ac_try" in
3956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3957 *) ac_try_echo=$ac_try;;
3958 esac
3959 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3960 $as_echo "$ac_try_echo"; } >&5
3961 (eval "$ac_link_default") 2>&5
3962 ac_status=$?
3963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3964 test $ac_status = 0; }; then :
3965 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3966 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3967 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3968 # so that the user can short-circuit this test for compilers unknown to
3969 # Autoconf.
3970 for ac_file in $ac_files ''
3972 test -f "$ac_file" || continue
3973 case $ac_file in
3974 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3976 [ab].out )
3977 # We found the default executable, but exeext='' is most
3978 # certainly right.
3979 break;;
3980 *.* )
3981 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3982 then :; else
3983 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3985 # We set ac_cv_exeext here because the later test for it is not
3986 # safe: cross compilers may not add the suffix if given an `-o'
3987 # argument, so we may need to know it at that point already.
3988 # Even if this section looks crufty: it has the advantage of
3989 # actually working.
3990 break;;
3992 break;;
3993 esac
3994 done
3995 test "$ac_cv_exeext" = no && ac_cv_exeext=
3997 else
3998 ac_file=''
4000 if test -z "$ac_file"; then :
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4002 $as_echo "no" >&6; }
4003 $as_echo "$as_me: failed program was:" >&5
4004 sed 's/^/| /' conftest.$ac_ext >&5
4006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4008 as_fn_error 77 "C compiler cannot create executables
4009 See \`config.log' for more details" "$LINENO" 5; }
4010 else
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4012 $as_echo "yes" >&6; }
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4015 $as_echo_n "checking for C compiler default output file name... " >&6; }
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4017 $as_echo "$ac_file" >&6; }
4018 ac_exeext=$ac_cv_exeext
4020 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4021 ac_clean_files=$ac_clean_files_save
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4023 $as_echo_n "checking for suffix of executables... " >&6; }
4024 if { { ac_try="$ac_link"
4025 case "(($ac_try" in
4026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4027 *) ac_try_echo=$ac_try;;
4028 esac
4029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4030 $as_echo "$ac_try_echo"; } >&5
4031 (eval "$ac_link") 2>&5
4032 ac_status=$?
4033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4034 test $ac_status = 0; }; then :
4035 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4036 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4037 # work properly (i.e., refer to `conftest.exe'), while it won't with
4038 # `rm'.
4039 for ac_file in conftest.exe conftest conftest.*; do
4040 test -f "$ac_file" || continue
4041 case $ac_file in
4042 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4043 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4044 break;;
4045 * ) break;;
4046 esac
4047 done
4048 else
4049 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4051 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4052 See \`config.log' for more details" "$LINENO" 5; }
4054 rm -f conftest conftest$ac_cv_exeext
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4056 $as_echo "$ac_cv_exeext" >&6; }
4058 rm -f conftest.$ac_ext
4059 EXEEXT=$ac_cv_exeext
4060 ac_exeext=$EXEEXT
4061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4062 /* end confdefs.h. */
4063 #include <stdio.h>
4065 main ()
4067 FILE *f = fopen ("conftest.out", "w");
4068 return ferror (f) || fclose (f) != 0;
4071 return 0;
4073 _ACEOF
4074 ac_clean_files="$ac_clean_files conftest.out"
4075 # Check that the compiler produces executables we can run. If not, either
4076 # the compiler is broken, or we cross compile.
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4078 $as_echo_n "checking whether we are cross compiling... " >&6; }
4079 if test "$cross_compiling" != yes; then
4080 { { ac_try="$ac_link"
4081 case "(($ac_try" in
4082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4083 *) ac_try_echo=$ac_try;;
4084 esac
4085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4086 $as_echo "$ac_try_echo"; } >&5
4087 (eval "$ac_link") 2>&5
4088 ac_status=$?
4089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4090 test $ac_status = 0; }
4091 if { ac_try='./conftest$ac_cv_exeext'
4092 { { case "(($ac_try" in
4093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4094 *) ac_try_echo=$ac_try;;
4095 esac
4096 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4097 $as_echo "$ac_try_echo"; } >&5
4098 (eval "$ac_try") 2>&5
4099 ac_status=$?
4100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4101 test $ac_status = 0; }; }; then
4102 cross_compiling=no
4103 else
4104 if test "$cross_compiling" = maybe; then
4105 cross_compiling=yes
4106 else
4107 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4109 as_fn_error $? "cannot run C compiled programs.
4110 If you meant to cross compile, use \`--host'.
4111 See \`config.log' for more details" "$LINENO" 5; }
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4116 $as_echo "$cross_compiling" >&6; }
4118 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4119 ac_clean_files=$ac_clean_files_save
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4121 $as_echo_n "checking for suffix of object files... " >&6; }
4122 if ${ac_cv_objext+:} false; then :
4123 $as_echo_n "(cached) " >&6
4124 else
4125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4126 /* end confdefs.h. */
4129 main ()
4133 return 0;
4135 _ACEOF
4136 rm -f conftest.o conftest.obj
4137 if { { ac_try="$ac_compile"
4138 case "(($ac_try" in
4139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4140 *) ac_try_echo=$ac_try;;
4141 esac
4142 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4143 $as_echo "$ac_try_echo"; } >&5
4144 (eval "$ac_compile") 2>&5
4145 ac_status=$?
4146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4147 test $ac_status = 0; }; then :
4148 for ac_file in conftest.o conftest.obj conftest.*; do
4149 test -f "$ac_file" || continue;
4150 case $ac_file in
4151 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4152 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4153 break;;
4154 esac
4155 done
4156 else
4157 $as_echo "$as_me: failed program was:" >&5
4158 sed 's/^/| /' conftest.$ac_ext >&5
4160 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4162 as_fn_error $? "cannot compute suffix of object files: cannot compile
4163 See \`config.log' for more details" "$LINENO" 5; }
4165 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4168 $as_echo "$ac_cv_objext" >&6; }
4169 OBJEXT=$ac_cv_objext
4170 ac_objext=$OBJEXT
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4172 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4173 if ${ac_cv_c_compiler_gnu+:} false; then :
4174 $as_echo_n "(cached) " >&6
4175 else
4176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4177 /* end confdefs.h. */
4180 main ()
4182 #ifndef __GNUC__
4183 choke me
4184 #endif
4187 return 0;
4189 _ACEOF
4190 if ac_fn_c_try_compile "$LINENO"; then :
4191 ac_compiler_gnu=yes
4192 else
4193 ac_compiler_gnu=no
4195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4196 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4200 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4201 if test $ac_compiler_gnu = yes; then
4202 GCC=yes
4203 else
4204 GCC=
4206 ac_test_CFLAGS=${CFLAGS+set}
4207 ac_save_CFLAGS=$CFLAGS
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4209 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4210 if ${ac_cv_prog_cc_g+:} false; then :
4211 $as_echo_n "(cached) " >&6
4212 else
4213 ac_save_c_werror_flag=$ac_c_werror_flag
4214 ac_c_werror_flag=yes
4215 ac_cv_prog_cc_g=no
4216 CFLAGS="-g"
4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h. */
4221 main ()
4225 return 0;
4227 _ACEOF
4228 if ac_fn_c_try_compile "$LINENO"; then :
4229 ac_cv_prog_cc_g=yes
4230 else
4231 CFLAGS=""
4232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4233 /* end confdefs.h. */
4236 main ()
4240 return 0;
4242 _ACEOF
4243 if ac_fn_c_try_compile "$LINENO"; then :
4245 else
4246 ac_c_werror_flag=$ac_save_c_werror_flag
4247 CFLAGS="-g"
4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h. */
4252 main ()
4256 return 0;
4258 _ACEOF
4259 if ac_fn_c_try_compile "$LINENO"; then :
4260 ac_cv_prog_cc_g=yes
4262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4267 ac_c_werror_flag=$ac_save_c_werror_flag
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4270 $as_echo "$ac_cv_prog_cc_g" >&6; }
4271 if test "$ac_test_CFLAGS" = set; then
4272 CFLAGS=$ac_save_CFLAGS
4273 elif test $ac_cv_prog_cc_g = yes; then
4274 if test "$GCC" = yes; then
4275 CFLAGS="-g -O2"
4276 else
4277 CFLAGS="-g"
4279 else
4280 if test "$GCC" = yes; then
4281 CFLAGS="-O2"
4282 else
4283 CFLAGS=
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4287 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4288 if ${ac_cv_prog_cc_c89+:} false; then :
4289 $as_echo_n "(cached) " >&6
4290 else
4291 ac_cv_prog_cc_c89=no
4292 ac_save_CC=$CC
4293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4294 /* end confdefs.h. */
4295 #include <stdarg.h>
4296 #include <stdio.h>
4297 struct stat;
4298 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4299 struct buf { int x; };
4300 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4301 static char *e (p, i)
4302 char **p;
4303 int i;
4305 return p[i];
4307 static char *f (char * (*g) (char **, int), char **p, ...)
4309 char *s;
4310 va_list v;
4311 va_start (v,p);
4312 s = g (p, va_arg (v,int));
4313 va_end (v);
4314 return s;
4317 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4318 function prototypes and stuff, but not '\xHH' hex character constants.
4319 These don't provoke an error unfortunately, instead are silently treated
4320 as 'x'. The following induces an error, until -std is added to get
4321 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4322 array size at least. It's necessary to write '\x00'==0 to get something
4323 that's true only with -std. */
4324 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4326 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4327 inside strings and character constants. */
4328 #define FOO(x) 'x'
4329 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4331 int test (int i, double x);
4332 struct s1 {int (*f) (int a);};
4333 struct s2 {int (*f) (double a);};
4334 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4335 int argc;
4336 char **argv;
4338 main ()
4340 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4342 return 0;
4344 _ACEOF
4345 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4346 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4348 CC="$ac_save_CC $ac_arg"
4349 if ac_fn_c_try_compile "$LINENO"; then :
4350 ac_cv_prog_cc_c89=$ac_arg
4352 rm -f core conftest.err conftest.$ac_objext
4353 test "x$ac_cv_prog_cc_c89" != "xno" && break
4354 done
4355 rm -f conftest.$ac_ext
4356 CC=$ac_save_CC
4359 # AC_CACHE_VAL
4360 case "x$ac_cv_prog_cc_c89" in
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4363 $as_echo "none needed" >&6; } ;;
4364 xno)
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4366 $as_echo "unsupported" >&6; } ;;
4368 CC="$CC $ac_cv_prog_cc_c89"
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4370 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4371 esac
4372 if test "x$ac_cv_prog_cc_c89" != xno; then :
4376 ac_ext=c
4377 ac_cpp='$CPP $CPPFLAGS'
4378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4382 ac_ext=cpp
4383 ac_cpp='$CXXCPP $CPPFLAGS'
4384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4387 if test -z "$CXX"; then
4388 if test -n "$CCC"; then
4389 CXX=$CCC
4390 else
4391 if test -n "$ac_tool_prefix"; then
4392 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4394 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4395 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4397 $as_echo_n "checking for $ac_word... " >&6; }
4398 if ${ac_cv_prog_CXX+:} false; then :
4399 $as_echo_n "(cached) " >&6
4400 else
4401 if test -n "$CXX"; then
4402 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4403 else
4404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4405 for as_dir in $PATH
4407 IFS=$as_save_IFS
4408 test -z "$as_dir" && as_dir=.
4409 for ac_exec_ext in '' $ac_executable_extensions; do
4410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4411 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4413 break 2
4415 done
4416 done
4417 IFS=$as_save_IFS
4421 CXX=$ac_cv_prog_CXX
4422 if test -n "$CXX"; then
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4424 $as_echo "$CXX" >&6; }
4425 else
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4427 $as_echo "no" >&6; }
4431 test -n "$CXX" && break
4432 done
4434 if test -z "$CXX"; then
4435 ac_ct_CXX=$CXX
4436 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4438 # Extract the first word of "$ac_prog", so it can be a program name with args.
4439 set dummy $ac_prog; ac_word=$2
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4441 $as_echo_n "checking for $ac_word... " >&6; }
4442 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4443 $as_echo_n "(cached) " >&6
4444 else
4445 if test -n "$ac_ct_CXX"; then
4446 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4447 else
4448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4449 for as_dir in $PATH
4451 IFS=$as_save_IFS
4452 test -z "$as_dir" && as_dir=.
4453 for ac_exec_ext in '' $ac_executable_extensions; do
4454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4455 ac_cv_prog_ac_ct_CXX="$ac_prog"
4456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4457 break 2
4459 done
4460 done
4461 IFS=$as_save_IFS
4465 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4466 if test -n "$ac_ct_CXX"; then
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4468 $as_echo "$ac_ct_CXX" >&6; }
4469 else
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4471 $as_echo "no" >&6; }
4475 test -n "$ac_ct_CXX" && break
4476 done
4478 if test "x$ac_ct_CXX" = x; then
4479 CXX="g++"
4480 else
4481 case $cross_compiling:$ac_tool_warned in
4482 yes:)
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4485 ac_tool_warned=yes ;;
4486 esac
4487 CXX=$ac_ct_CXX
4493 # Provide some information about the compiler.
4494 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4495 set X $ac_compile
4496 ac_compiler=$2
4497 for ac_option in --version -v -V -qversion; do
4498 { { ac_try="$ac_compiler $ac_option >&5"
4499 case "(($ac_try" in
4500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4501 *) ac_try_echo=$ac_try;;
4502 esac
4503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4504 $as_echo "$ac_try_echo"; } >&5
4505 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4506 ac_status=$?
4507 if test -s conftest.err; then
4508 sed '10a\
4509 ... rest of stderr output deleted ...
4510 10q' conftest.err >conftest.er1
4511 cat conftest.er1 >&5
4513 rm -f conftest.er1 conftest.err
4514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4515 test $ac_status = 0; }
4516 done
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4519 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4520 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4521 $as_echo_n "(cached) " >&6
4522 else
4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h. */
4527 main ()
4529 #ifndef __GNUC__
4530 choke me
4531 #endif
4534 return 0;
4536 _ACEOF
4537 if ac_fn_cxx_try_compile "$LINENO"; then :
4538 ac_compiler_gnu=yes
4539 else
4540 ac_compiler_gnu=no
4542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4543 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4547 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4548 if test $ac_compiler_gnu = yes; then
4549 GXX=yes
4550 else
4551 GXX=
4553 ac_test_CXXFLAGS=${CXXFLAGS+set}
4554 ac_save_CXXFLAGS=$CXXFLAGS
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4556 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4557 if ${ac_cv_prog_cxx_g+:} false; then :
4558 $as_echo_n "(cached) " >&6
4559 else
4560 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4561 ac_cxx_werror_flag=yes
4562 ac_cv_prog_cxx_g=no
4563 CXXFLAGS="-g"
4564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4565 /* end confdefs.h. */
4568 main ()
4572 return 0;
4574 _ACEOF
4575 if ac_fn_cxx_try_compile "$LINENO"; then :
4576 ac_cv_prog_cxx_g=yes
4577 else
4578 CXXFLAGS=""
4579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4580 /* end confdefs.h. */
4583 main ()
4587 return 0;
4589 _ACEOF
4590 if ac_fn_cxx_try_compile "$LINENO"; then :
4592 else
4593 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4594 CXXFLAGS="-g"
4595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4596 /* end confdefs.h. */
4599 main ()
4603 return 0;
4605 _ACEOF
4606 if ac_fn_cxx_try_compile "$LINENO"; then :
4607 ac_cv_prog_cxx_g=yes
4609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4614 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4617 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4618 if test "$ac_test_CXXFLAGS" = set; then
4619 CXXFLAGS=$ac_save_CXXFLAGS
4620 elif test $ac_cv_prog_cxx_g = yes; then
4621 if test "$GXX" = yes; then
4622 CXXFLAGS="-g -O2"
4623 else
4624 CXXFLAGS="-g"
4626 else
4627 if test "$GXX" = yes; then
4628 CXXFLAGS="-O2"
4629 else
4630 CXXFLAGS=
4633 ac_ext=c
4634 ac_cpp='$CPP $CPPFLAGS'
4635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4639 if test -n "$ac_tool_prefix"; then
4640 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4641 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4643 $as_echo_n "checking for $ac_word... " >&6; }
4644 if ${ac_cv_prog_CPPBIN+:} false; then :
4645 $as_echo_n "(cached) " >&6
4646 else
4647 if test -n "$CPPBIN"; then
4648 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4649 else
4650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4651 for as_dir in $PATH
4653 IFS=$as_save_IFS
4654 test -z "$as_dir" && as_dir=.
4655 for ac_exec_ext in '' $ac_executable_extensions; do
4656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4657 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4659 break 2
4661 done
4662 done
4663 IFS=$as_save_IFS
4667 CPPBIN=$ac_cv_prog_CPPBIN
4668 if test -n "$CPPBIN"; then
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4670 $as_echo "$CPPBIN" >&6; }
4671 else
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4673 $as_echo "no" >&6; }
4678 if test -z "$ac_cv_prog_CPPBIN"; then
4679 ac_ct_CPPBIN=$CPPBIN
4680 # Extract the first word of "cpp", so it can be a program name with args.
4681 set dummy cpp; ac_word=$2
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4683 $as_echo_n "checking for $ac_word... " >&6; }
4684 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4685 $as_echo_n "(cached) " >&6
4686 else
4687 if test -n "$ac_ct_CPPBIN"; then
4688 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4689 else
4690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4691 for as_dir in $PATH
4693 IFS=$as_save_IFS
4694 test -z "$as_dir" && as_dir=.
4695 for ac_exec_ext in '' $ac_executable_extensions; do
4696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4697 ac_cv_prog_ac_ct_CPPBIN="cpp"
4698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4699 break 2
4701 done
4702 done
4703 IFS=$as_save_IFS
4707 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4708 if test -n "$ac_ct_CPPBIN"; then
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4710 $as_echo "$ac_ct_CPPBIN" >&6; }
4711 else
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4713 $as_echo "no" >&6; }
4716 if test "x$ac_ct_CPPBIN" = x; then
4717 CPPBIN="cpp"
4718 else
4719 case $cross_compiling:$ac_tool_warned in
4720 yes:)
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4723 ac_tool_warned=yes ;;
4724 esac
4725 CPPBIN=$ac_ct_CPPBIN
4727 else
4728 CPPBIN="$ac_cv_prog_CPPBIN"
4732 cat >>confdefs.h <<_ACEOF
4733 #define EXEEXT "$ac_exeext"
4734 _ACEOF
4737 case $host in
4738 *-darwin*)
4739 if test "x$enable_win64" = "xyes"
4740 then
4741 CC="$CC -m64"
4742 CXX="$CXX -m64"
4743 host_cpu="x86_64"
4744 notice_platform="64-bit "
4745 TARGETFLAGS="-m64"
4747 else
4748 CC="$CC -m32"
4749 CXX="$CXX -m32"
4750 host_cpu="i386"
4751 notice_platform="32-bit "
4752 TARGETFLAGS="-m32"
4754 enable_win16=${enable_win16:-yes}
4756 with_fontconfig=${with_fontconfig:-no}
4758 x86_64*)
4759 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4760 then
4761 CC="$CC -m32"
4762 CXX="$CXX -m32"
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4764 $as_echo_n "checking whether $CC works... " >&6; }
4766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4767 /* end confdefs.h. */
4770 main ()
4774 return 0;
4776 _ACEOF
4777 if ac_fn_c_try_link "$LINENO"; then :
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4779 $as_echo "yes" >&6; }
4780 else
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4782 $as_echo "no" >&6; }
4783 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4785 rm -f core conftest.err conftest.$ac_objext \
4786 conftest$ac_exeext conftest.$ac_ext
4787 host_cpu="i386"
4788 notice_platform="32-bit "
4789 TARGETFLAGS="-m32"
4791 enable_win16=${enable_win16:-yes}
4792 else
4793 if test "x${GCC}" = "xyes"
4794 then
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4796 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4798 /* end confdefs.h. */
4799 #include <stdarg.h>
4801 main ()
4803 void func(__builtin_ms_va_list *args);
4805 return 0;
4807 _ACEOF
4808 if ac_fn_c_try_compile "$LINENO"; then :
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4810 $as_echo "yes" >&6; }
4811 else
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4813 $as_echo "no" >&6; }
4814 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4818 TARGETFLAGS="-m64"
4822 arm*)
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4824 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4826 /* end confdefs.h. */
4827 int ac_test(int i) { return i; }
4829 main ()
4831 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4833 return 0;
4835 _ACEOF
4836 if ac_fn_c_try_link "$LINENO"; then :
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4838 $as_echo "yes" >&6; }
4839 else
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4841 $as_echo "no" >&6; }
4842 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4844 rm -f core conftest.err conftest.$ac_objext \
4845 conftest$ac_exeext conftest.$ac_ext
4846 CFLAGS="$CFLAGS -marm"
4847 TARGETFLAGS="-marm"
4850 *-mingw32*|*-cygwin*)
4851 enable_win16=${enable_win16:-no}
4852 CFLAGS="$CFLAGS -D_WIN32"
4854 i[3456789]86*)
4855 enable_win16=${enable_win16:-yes}
4857 esac
4859 enable_win16=${enable_win16:-no}
4860 enable_win64=${enable_win64:-no}
4862 enable_winetest=${enable_winetest:-$enable_tests}
4864 if test -n "$with_wine64"
4865 then
4866 if test "x$enable_win64" = "xyes"
4867 then
4868 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4869 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4871 enable_fonts=${enable_fonts:-no}
4872 enable_server=${enable_server:-no}
4873 elif test "x$enable_win64" = "xyes"
4874 then
4875 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4879 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4880 if ${wine_cv_toolsdir+:} false; then :
4881 $as_echo_n "(cached) " >&6
4882 else
4883 wine_cv_toolsdir="$with_wine_tools"
4884 if test -z "$with_wine_tools"; then
4885 if test "$cross_compiling" = "yes"; then
4886 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4887 elif test -n "$with_wine64"; then
4888 wine_cv_toolsdir="$with_wine64"
4891 if test -z "$wine_cv_toolsdir"; then
4892 wine_makedep=tools/makedep
4893 wine_cv_toolsdir="\$(top_builddir)"
4894 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4895 wine_makedep=$wine_cv_toolsdir/tools/makedep
4896 case "$wine_cv_toolsdir" in
4897 /*) ;;
4898 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4899 esac
4900 enable_tools=${enable_tools:-no}
4901 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4902 else
4903 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4907 $as_echo "$wine_cv_toolsdir" >&6; }
4908 TOOLSDIR=$wine_cv_toolsdir
4910 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4911 then
4912 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4916 for ac_prog in flex
4918 # Extract the first word of "$ac_prog", so it can be a program name with args.
4919 set dummy $ac_prog; ac_word=$2
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4921 $as_echo_n "checking for $ac_word... " >&6; }
4922 if ${ac_cv_prog_FLEX+:} false; then :
4923 $as_echo_n "(cached) " >&6
4924 else
4925 if test -n "$FLEX"; then
4926 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4927 else
4928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4929 for as_dir in $PATH
4931 IFS=$as_save_IFS
4932 test -z "$as_dir" && as_dir=.
4933 for ac_exec_ext in '' $ac_executable_extensions; do
4934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4935 ac_cv_prog_FLEX="$ac_prog"
4936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4937 break 2
4939 done
4940 done
4941 IFS=$as_save_IFS
4945 FLEX=$ac_cv_prog_FLEX
4946 if test -n "$FLEX"; then
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4948 $as_echo "$FLEX" >&6; }
4949 else
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4951 $as_echo "no" >&6; }
4955 test -n "$FLEX" && break
4956 done
4957 test -n "$FLEX" || FLEX="none"
4959 if test "$FLEX" = "none"
4960 then
4961 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4964 $as_echo_n "checking whether flex is recent enough... " >&6; }
4965 cat >conftest.l <<EOF
4966 %top{
4967 #include "prediluvian.h"
4971 if $FLEX -t conftest.l >/dev/null 2>&5
4972 then
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4974 $as_echo "yes" >&6; }
4975 else
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4977 $as_echo "no" >&6; }
4978 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4981 for ac_prog in bison
4983 # Extract the first word of "$ac_prog", so it can be a program name with args.
4984 set dummy $ac_prog; ac_word=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if ${ac_cv_prog_BISON+:} false; then :
4988 $as_echo_n "(cached) " >&6
4989 else
4990 if test -n "$BISON"; then
4991 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4992 else
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 for as_dir in $PATH
4996 IFS=$as_save_IFS
4997 test -z "$as_dir" && as_dir=.
4998 for ac_exec_ext in '' $ac_executable_extensions; do
4999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5000 ac_cv_prog_BISON="$ac_prog"
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5002 break 2
5004 done
5005 done
5006 IFS=$as_save_IFS
5010 BISON=$ac_cv_prog_BISON
5011 if test -n "$BISON"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5013 $as_echo "$BISON" >&6; }
5014 else
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5020 test -n "$BISON" && break
5021 done
5022 test -n "$BISON" || BISON="none"
5024 if test "$BISON" = "none"
5025 then
5026 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5029 if test -n "$ac_tool_prefix"; then
5030 for ac_prog in ar gar
5032 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5033 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5035 $as_echo_n "checking for $ac_word... " >&6; }
5036 if ${ac_cv_prog_AR+:} false; then :
5037 $as_echo_n "(cached) " >&6
5038 else
5039 if test -n "$AR"; then
5040 ac_cv_prog_AR="$AR" # Let the user override the test.
5041 else
5042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5043 for as_dir in $PATH
5045 IFS=$as_save_IFS
5046 test -z "$as_dir" && as_dir=.
5047 for ac_exec_ext in '' $ac_executable_extensions; do
5048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5049 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5051 break 2
5053 done
5054 done
5055 IFS=$as_save_IFS
5059 AR=$ac_cv_prog_AR
5060 if test -n "$AR"; then
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5062 $as_echo "$AR" >&6; }
5063 else
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5065 $as_echo "no" >&6; }
5069 test -n "$AR" && break
5070 done
5072 if test -z "$AR"; then
5073 ac_ct_AR=$AR
5074 for ac_prog in ar gar
5076 # Extract the first word of "$ac_prog", so it can be a program name with args.
5077 set dummy $ac_prog; ac_word=$2
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5079 $as_echo_n "checking for $ac_word... " >&6; }
5080 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5081 $as_echo_n "(cached) " >&6
5082 else
5083 if test -n "$ac_ct_AR"; then
5084 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5085 else
5086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5087 for as_dir in $PATH
5089 IFS=$as_save_IFS
5090 test -z "$as_dir" && as_dir=.
5091 for ac_exec_ext in '' $ac_executable_extensions; do
5092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5093 ac_cv_prog_ac_ct_AR="$ac_prog"
5094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5095 break 2
5097 done
5098 done
5099 IFS=$as_save_IFS
5103 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5104 if test -n "$ac_ct_AR"; then
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5106 $as_echo "$ac_ct_AR" >&6; }
5107 else
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5109 $as_echo "no" >&6; }
5113 test -n "$ac_ct_AR" && break
5114 done
5116 if test "x$ac_ct_AR" = x; then
5117 AR="ar"
5118 else
5119 case $cross_compiling:$ac_tool_warned in
5120 yes:)
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5123 ac_tool_warned=yes ;;
5124 esac
5125 AR=$ac_ct_AR
5129 if test -n "$ac_tool_prefix"; then
5130 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5131 set dummy ${ac_tool_prefix}strip; ac_word=$2
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5133 $as_echo_n "checking for $ac_word... " >&6; }
5134 if ${ac_cv_prog_STRIP+:} false; then :
5135 $as_echo_n "(cached) " >&6
5136 else
5137 if test -n "$STRIP"; then
5138 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5139 else
5140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5141 for as_dir in $PATH
5143 IFS=$as_save_IFS
5144 test -z "$as_dir" && as_dir=.
5145 for ac_exec_ext in '' $ac_executable_extensions; do
5146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5147 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5149 break 2
5151 done
5152 done
5153 IFS=$as_save_IFS
5157 STRIP=$ac_cv_prog_STRIP
5158 if test -n "$STRIP"; then
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5160 $as_echo "$STRIP" >&6; }
5161 else
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5163 $as_echo "no" >&6; }
5168 if test -z "$ac_cv_prog_STRIP"; then
5169 ac_ct_STRIP=$STRIP
5170 # Extract the first word of "strip", so it can be a program name with args.
5171 set dummy strip; ac_word=$2
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5173 $as_echo_n "checking for $ac_word... " >&6; }
5174 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5175 $as_echo_n "(cached) " >&6
5176 else
5177 if test -n "$ac_ct_STRIP"; then
5178 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5179 else
5180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5181 for as_dir in $PATH
5183 IFS=$as_save_IFS
5184 test -z "$as_dir" && as_dir=.
5185 for ac_exec_ext in '' $ac_executable_extensions; do
5186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5187 ac_cv_prog_ac_ct_STRIP="strip"
5188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5189 break 2
5191 done
5192 done
5193 IFS=$as_save_IFS
5197 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5198 if test -n "$ac_ct_STRIP"; then
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5200 $as_echo "$ac_ct_STRIP" >&6; }
5201 else
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5203 $as_echo "no" >&6; }
5206 if test "x$ac_ct_STRIP" = x; then
5207 STRIP="strip"
5208 else
5209 case $cross_compiling:$ac_tool_warned in
5210 yes:)
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5213 ac_tool_warned=yes ;;
5214 esac
5215 STRIP=$ac_ct_STRIP
5217 else
5218 STRIP="$ac_cv_prog_STRIP"
5221 ARFLAGS=rc
5223 if test -n "$ac_tool_prefix"; then
5224 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5225 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if ${ac_cv_prog_RANLIB+:} false; then :
5229 $as_echo_n "(cached) " >&6
5230 else
5231 if test -n "$RANLIB"; then
5232 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5233 else
5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235 for as_dir in $PATH
5237 IFS=$as_save_IFS
5238 test -z "$as_dir" && as_dir=.
5239 for ac_exec_ext in '' $ac_executable_extensions; do
5240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5241 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5243 break 2
5245 done
5246 done
5247 IFS=$as_save_IFS
5251 RANLIB=$ac_cv_prog_RANLIB
5252 if test -n "$RANLIB"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5254 $as_echo "$RANLIB" >&6; }
5255 else
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5262 if test -z "$ac_cv_prog_RANLIB"; then
5263 ac_ct_RANLIB=$RANLIB
5264 # Extract the first word of "ranlib", so it can be a program name with args.
5265 set dummy ranlib; ac_word=$2
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5267 $as_echo_n "checking for $ac_word... " >&6; }
5268 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5269 $as_echo_n "(cached) " >&6
5270 else
5271 if test -n "$ac_ct_RANLIB"; then
5272 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5273 else
5274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5275 for as_dir in $PATH
5277 IFS=$as_save_IFS
5278 test -z "$as_dir" && as_dir=.
5279 for ac_exec_ext in '' $ac_executable_extensions; do
5280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5281 ac_cv_prog_ac_ct_RANLIB="ranlib"
5282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5283 break 2
5285 done
5286 done
5287 IFS=$as_save_IFS
5291 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5292 if test -n "$ac_ct_RANLIB"; then
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5294 $as_echo "$ac_ct_RANLIB" >&6; }
5295 else
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5297 $as_echo "no" >&6; }
5300 if test "x$ac_ct_RANLIB" = x; then
5301 RANLIB=":"
5302 else
5303 case $cross_compiling:$ac_tool_warned in
5304 yes:)
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5307 ac_tool_warned=yes ;;
5308 esac
5309 RANLIB=$ac_ct_RANLIB
5311 else
5312 RANLIB="$ac_cv_prog_RANLIB"
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5316 $as_echo_n "checking whether ln -s works... " >&6; }
5317 LN_S=$as_ln_s
5318 if test "$LN_S" = "ln -s"; then
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5320 $as_echo "yes" >&6; }
5321 else
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5323 $as_echo "no, using $LN_S" >&6; }
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5327 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5328 if ${ac_cv_path_GREP+:} false; then :
5329 $as_echo_n "(cached) " >&6
5330 else
5331 if test -z "$GREP"; then
5332 ac_path_GREP_found=false
5333 # Loop through the user's path and test for each of PROGNAME-LIST
5334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5335 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5337 IFS=$as_save_IFS
5338 test -z "$as_dir" && as_dir=.
5339 for ac_prog in grep ggrep; do
5340 for ac_exec_ext in '' $ac_executable_extensions; do
5341 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5342 as_fn_executable_p "$ac_path_GREP" || continue
5343 # Check for GNU ac_path_GREP and select it if it is found.
5344 # Check for GNU $ac_path_GREP
5345 case `"$ac_path_GREP" --version 2>&1` in
5346 *GNU*)
5347 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5349 ac_count=0
5350 $as_echo_n 0123456789 >"conftest.in"
5351 while :
5353 cat "conftest.in" "conftest.in" >"conftest.tmp"
5354 mv "conftest.tmp" "conftest.in"
5355 cp "conftest.in" "conftest.nl"
5356 $as_echo 'GREP' >> "conftest.nl"
5357 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5358 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5359 as_fn_arith $ac_count + 1 && ac_count=$as_val
5360 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5361 # Best one so far, save it but keep looking for a better one
5362 ac_cv_path_GREP="$ac_path_GREP"
5363 ac_path_GREP_max=$ac_count
5365 # 10*(2^10) chars as input seems more than enough
5366 test $ac_count -gt 10 && break
5367 done
5368 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5369 esac
5371 $ac_path_GREP_found && break 3
5372 done
5373 done
5374 done
5375 IFS=$as_save_IFS
5376 if test -z "$ac_cv_path_GREP"; then
5377 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5379 else
5380 ac_cv_path_GREP=$GREP
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5385 $as_echo "$ac_cv_path_GREP" >&6; }
5386 GREP="$ac_cv_path_GREP"
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5390 $as_echo_n "checking for egrep... " >&6; }
5391 if ${ac_cv_path_EGREP+:} false; then :
5392 $as_echo_n "(cached) " >&6
5393 else
5394 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5395 then ac_cv_path_EGREP="$GREP -E"
5396 else
5397 if test -z "$EGREP"; then
5398 ac_path_EGREP_found=false
5399 # Loop through the user's path and test for each of PROGNAME-LIST
5400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5401 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5403 IFS=$as_save_IFS
5404 test -z "$as_dir" && as_dir=.
5405 for ac_prog in egrep; do
5406 for ac_exec_ext in '' $ac_executable_extensions; do
5407 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5408 as_fn_executable_p "$ac_path_EGREP" || continue
5409 # Check for GNU ac_path_EGREP and select it if it is found.
5410 # Check for GNU $ac_path_EGREP
5411 case `"$ac_path_EGREP" --version 2>&1` in
5412 *GNU*)
5413 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5415 ac_count=0
5416 $as_echo_n 0123456789 >"conftest.in"
5417 while :
5419 cat "conftest.in" "conftest.in" >"conftest.tmp"
5420 mv "conftest.tmp" "conftest.in"
5421 cp "conftest.in" "conftest.nl"
5422 $as_echo 'EGREP' >> "conftest.nl"
5423 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5424 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5425 as_fn_arith $ac_count + 1 && ac_count=$as_val
5426 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5427 # Best one so far, save it but keep looking for a better one
5428 ac_cv_path_EGREP="$ac_path_EGREP"
5429 ac_path_EGREP_max=$ac_count
5431 # 10*(2^10) chars as input seems more than enough
5432 test $ac_count -gt 10 && break
5433 done
5434 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5435 esac
5437 $ac_path_EGREP_found && break 3
5438 done
5439 done
5440 done
5441 IFS=$as_save_IFS
5442 if test -z "$ac_cv_path_EGREP"; then
5443 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5445 else
5446 ac_cv_path_EGREP=$EGREP
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5452 $as_echo "$ac_cv_path_EGREP" >&6; }
5453 EGREP="$ac_cv_path_EGREP"
5456 # Extract the first word of "ldconfig", so it can be a program name with args.
5457 set dummy ldconfig; ac_word=$2
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5459 $as_echo_n "checking for $ac_word... " >&6; }
5460 if ${ac_cv_path_LDCONFIG+:} false; then :
5461 $as_echo_n "(cached) " >&6
5462 else
5463 case $LDCONFIG in
5464 [\\/]* | ?:[\\/]*)
5465 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 for as_dir in /sbin /usr/sbin $PATH
5471 IFS=$as_save_IFS
5472 test -z "$as_dir" && as_dir=.
5473 for ac_exec_ext in '' $ac_executable_extensions; do
5474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5475 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5477 break 2
5479 done
5480 done
5481 IFS=$as_save_IFS
5483 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5485 esac
5487 LDCONFIG=$ac_cv_path_LDCONFIG
5488 if test -n "$LDCONFIG"; then
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5490 $as_echo "$LDCONFIG" >&6; }
5491 else
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5493 $as_echo "no" >&6; }
5497 for ac_prog in msgfmt
5499 # Extract the first word of "$ac_prog", so it can be a program name with args.
5500 set dummy $ac_prog; ac_word=$2
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5502 $as_echo_n "checking for $ac_word... " >&6; }
5503 if ${ac_cv_prog_MSGFMT+:} false; then :
5504 $as_echo_n "(cached) " >&6
5505 else
5506 if test -n "$MSGFMT"; then
5507 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5508 else
5509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5510 for as_dir in $PATH
5512 IFS=$as_save_IFS
5513 test -z "$as_dir" && as_dir=.
5514 for ac_exec_ext in '' $ac_executable_extensions; do
5515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5516 ac_cv_prog_MSGFMT="$ac_prog"
5517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5518 break 2
5520 done
5521 done
5522 IFS=$as_save_IFS
5526 MSGFMT=$ac_cv_prog_MSGFMT
5527 if test -n "$MSGFMT"; then
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5529 $as_echo "$MSGFMT" >&6; }
5530 else
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5532 $as_echo "no" >&6; }
5536 test -n "$MSGFMT" && break
5537 done
5538 test -n "$MSGFMT" || MSGFMT="false"
5540 if ${ac_tool_prefix+:} false; then :
5541 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5542 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5544 $as_echo_n "checking for $ac_word... " >&6; }
5545 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5546 $as_echo_n "(cached) " >&6
5547 else
5548 if test -n "$PKG_CONFIG"; then
5549 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5550 else
5551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5552 for as_dir in $PATH
5554 IFS=$as_save_IFS
5555 test -z "$as_dir" && as_dir=.
5556 for ac_exec_ext in '' $ac_executable_extensions; do
5557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5558 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5560 break 2
5562 done
5563 done
5564 IFS=$as_save_IFS
5568 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5569 if test -n "$PKG_CONFIG"; then
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5571 $as_echo "$PKG_CONFIG" >&6; }
5572 else
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5574 $as_echo "no" >&6; }
5579 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5580 if test "x$cross_compiling" = xyes; then :
5582 else
5583 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5584 # Extract the first word of "pkg-config", so it can be a program name with args.
5585 set dummy pkg-config; ac_word=$2
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5587 $as_echo_n "checking for $ac_word... " >&6; }
5588 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5589 $as_echo_n "(cached) " >&6
5590 else
5591 if test -n "$PKG_CONFIG"; then
5592 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5593 else
5594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5595 for as_dir in $PATH
5597 IFS=$as_save_IFS
5598 test -z "$as_dir" && as_dir=.
5599 for ac_exec_ext in '' $ac_executable_extensions; do
5600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5601 ac_cv_prog_PKG_CONFIG="pkg-config"
5602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5603 break 2
5605 done
5606 done
5607 IFS=$as_save_IFS
5611 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5612 if test -n "$PKG_CONFIG"; then
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5614 $as_echo "$PKG_CONFIG" >&6; }
5615 else
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5617 $as_echo "no" >&6; }
5622 else
5623 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5626 if test "x$enable_maintainer_mode" != "xyes"
5627 then
5628 FONTFORGE=""
5629 RSVG=""
5630 CONVERT=""
5631 ICOTOOL=""
5632 else
5633 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5634 for ac_prog in fontforge
5636 # Extract the first word of "$ac_prog", so it can be a program name with args.
5637 set dummy $ac_prog; ac_word=$2
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5639 $as_echo_n "checking for $ac_word... " >&6; }
5640 if ${ac_cv_prog_FONTFORGE+:} false; then :
5641 $as_echo_n "(cached) " >&6
5642 else
5643 if test -n "$FONTFORGE"; then
5644 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5645 else
5646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5647 for as_dir in $PATH
5649 IFS=$as_save_IFS
5650 test -z "$as_dir" && as_dir=.
5651 for ac_exec_ext in '' $ac_executable_extensions; do
5652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5653 ac_cv_prog_FONTFORGE="$ac_prog"
5654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5655 break 2
5657 done
5658 done
5659 IFS=$as_save_IFS
5663 FONTFORGE=$ac_cv_prog_FONTFORGE
5664 if test -n "$FONTFORGE"; then
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5666 $as_echo "$FONTFORGE" >&6; }
5667 else
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5669 $as_echo "no" >&6; }
5673 test -n "$FONTFORGE" && break
5674 done
5675 test -n "$FONTFORGE" || FONTFORGE="false"
5677 for ac_prog in rsvg
5679 # Extract the first word of "$ac_prog", so it can be a program name with args.
5680 set dummy $ac_prog; ac_word=$2
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5682 $as_echo_n "checking for $ac_word... " >&6; }
5683 if ${ac_cv_prog_RSVG+:} false; then :
5684 $as_echo_n "(cached) " >&6
5685 else
5686 if test -n "$RSVG"; then
5687 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5688 else
5689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5690 for as_dir in $PATH
5692 IFS=$as_save_IFS
5693 test -z "$as_dir" && as_dir=.
5694 for ac_exec_ext in '' $ac_executable_extensions; do
5695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5696 ac_cv_prog_RSVG="$ac_prog"
5697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5698 break 2
5700 done
5701 done
5702 IFS=$as_save_IFS
5706 RSVG=$ac_cv_prog_RSVG
5707 if test -n "$RSVG"; then
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5709 $as_echo "$RSVG" >&6; }
5710 else
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5712 $as_echo "no" >&6; }
5716 test -n "$RSVG" && break
5717 done
5718 test -n "$RSVG" || RSVG="false"
5720 for ac_prog in convert
5722 # Extract the first word of "$ac_prog", so it can be a program name with args.
5723 set dummy $ac_prog; ac_word=$2
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5725 $as_echo_n "checking for $ac_word... " >&6; }
5726 if ${ac_cv_prog_CONVERT+:} false; then :
5727 $as_echo_n "(cached) " >&6
5728 else
5729 if test -n "$CONVERT"; then
5730 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5731 else
5732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5733 for as_dir in $PATH
5735 IFS=$as_save_IFS
5736 test -z "$as_dir" && as_dir=.
5737 for ac_exec_ext in '' $ac_executable_extensions; do
5738 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5739 ac_cv_prog_CONVERT="$ac_prog"
5740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5741 break 2
5743 done
5744 done
5745 IFS=$as_save_IFS
5749 CONVERT=$ac_cv_prog_CONVERT
5750 if test -n "$CONVERT"; then
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5752 $as_echo "$CONVERT" >&6; }
5753 else
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5755 $as_echo "no" >&6; }
5759 test -n "$CONVERT" && break
5760 done
5761 test -n "$CONVERT" || CONVERT="false"
5763 for ac_prog in icotool
5765 # Extract the first word of "$ac_prog", so it can be a program name with args.
5766 set dummy $ac_prog; ac_word=$2
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5768 $as_echo_n "checking for $ac_word... " >&6; }
5769 if ${ac_cv_prog_ICOTOOL+:} false; then :
5770 $as_echo_n "(cached) " >&6
5771 else
5772 if test -n "$ICOTOOL"; then
5773 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5774 else
5775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5776 for as_dir in $PATH
5778 IFS=$as_save_IFS
5779 test -z "$as_dir" && as_dir=.
5780 for ac_exec_ext in '' $ac_executable_extensions; do
5781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5782 ac_cv_prog_ICOTOOL="$ac_prog"
5783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5784 break 2
5786 done
5787 done
5788 IFS=$as_save_IFS
5792 ICOTOOL=$ac_cv_prog_ICOTOOL
5793 if test -n "$ICOTOOL"; then
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5795 $as_echo "$ICOTOOL" >&6; }
5796 else
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5798 $as_echo "no" >&6; }
5802 test -n "$ICOTOOL" && break
5803 done
5804 test -n "$ICOTOOL" || ICOTOOL="false"
5806 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5807 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5809 if test "$CONVERT" = false
5810 then
5811 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5812 else
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5814 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5815 convert_version=`convert --version | head -n1`
5816 if test "x$convert_version" != "x"
5817 then
5818 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5819 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5820 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5821 then
5822 CONVERT=false
5825 if test "$CONVERT" = false
5826 then
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5828 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5829 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5830 else
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5832 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5836 if test "$ICOTOOL" = false
5837 then
5838 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5839 else
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5841 $as_echo_n "checking for recent enough icotool... " >&6; }
5842 icotool_version=`icotool --version | head -n1`
5843 if test "x$icotool_version" != "x"
5844 then
5845 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5846 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5847 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5848 then
5849 ICOTOOL=false
5850 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5853 if test "$ICOTOOL" = false
5854 then
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5856 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5857 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5858 else
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5860 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5864 with_gettext=yes
5865 with_gettextpo=yes
5866 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5869 test "x$with_gettext" != xno || MSGFMT=false
5870 if test "$MSGFMT" != "false"
5871 then
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5873 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5874 cat >conftest.po <<EOF
5875 # comment
5876 msgctxt "ctxt"
5877 msgid "id"
5878 msgstr "str"
5880 if $MSGFMT -o /dev/null conftest.po 2>&5
5881 then
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5883 $as_echo "yes" >&6; }
5884 else
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5886 $as_echo "no" >&6; }
5887 MSGFMT=false
5890 if test "$MSGFMT" = false; then :
5891 case "x$with_gettext" in
5892 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5893 xno) ;;
5894 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5895 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5896 esac
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5901 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5902 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5903 $as_echo_n "(cached) " >&6
5904 else
5905 ac_check_lib_save_LIBS=$LIBS
5906 LIBS="-li386 $LIBS"
5907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5908 /* end confdefs.h. */
5910 /* Override any GCC internal prototype to avoid an error.
5911 Use char because int might match the return type of a GCC
5912 builtin and then its argument prototype would still apply. */
5913 #ifdef __cplusplus
5914 extern "C"
5915 #endif
5916 char i386_set_ldt ();
5918 main ()
5920 return i386_set_ldt ();
5922 return 0;
5924 _ACEOF
5925 if ac_fn_c_try_link "$LINENO"; then :
5926 ac_cv_lib_i386_i386_set_ldt=yes
5927 else
5928 ac_cv_lib_i386_i386_set_ldt=no
5930 rm -f core conftest.err conftest.$ac_objext \
5931 conftest$ac_exeext conftest.$ac_ext
5932 LIBS=$ac_check_lib_save_LIBS
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5935 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5936 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5937 cat >>confdefs.h <<_ACEOF
5938 #define HAVE_LIBI386 1
5939 _ACEOF
5941 LIBS="-li386 $LIBS"
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5946 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5947 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5948 $as_echo_n "(cached) " >&6
5949 else
5950 ac_check_lib_save_LIBS=$LIBS
5951 LIBS="-lossaudio $LIBS"
5952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5953 /* end confdefs.h. */
5955 /* Override any GCC internal prototype to avoid an error.
5956 Use char because int might match the return type of a GCC
5957 builtin and then its argument prototype would still apply. */
5958 #ifdef __cplusplus
5959 extern "C"
5960 #endif
5961 char _oss_ioctl ();
5963 main ()
5965 return _oss_ioctl ();
5967 return 0;
5969 _ACEOF
5970 if ac_fn_c_try_link "$LINENO"; then :
5971 ac_cv_lib_ossaudio__oss_ioctl=yes
5972 else
5973 ac_cv_lib_ossaudio__oss_ioctl=no
5975 rm -f core conftest.err conftest.$ac_objext \
5976 conftest$ac_exeext conftest.$ac_ext
5977 LIBS=$ac_check_lib_save_LIBS
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5980 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5981 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5982 cat >>confdefs.h <<_ACEOF
5983 #define HAVE_LIBOSSAUDIO 1
5984 _ACEOF
5986 LIBS="-lossaudio $LIBS"
5991 OPENGL_LIBS=""
5995 # Check whether --enable-largefile was given.
5996 if test "${enable_largefile+set}" = set; then :
5997 enableval=$enable_largefile;
6000 if test "$enable_largefile" != no; then
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6003 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6004 if ${ac_cv_sys_largefile_CC+:} false; then :
6005 $as_echo_n "(cached) " >&6
6006 else
6007 ac_cv_sys_largefile_CC=no
6008 if test "$GCC" != yes; then
6009 ac_save_CC=$CC
6010 while :; do
6011 # IRIX 6.2 and later do not support large files by default,
6012 # so use the C compiler's -n32 option if that helps.
6013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6014 /* end confdefs.h. */
6015 #include <sys/types.h>
6016 /* Check that off_t can represent 2**63 - 1 correctly.
6017 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6018 since some C++ compilers masquerading as C compilers
6019 incorrectly reject 9223372036854775807. */
6020 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6021 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6022 && LARGE_OFF_T % 2147483647 == 1)
6023 ? 1 : -1];
6025 main ()
6029 return 0;
6031 _ACEOF
6032 if ac_fn_c_try_compile "$LINENO"; then :
6033 break
6035 rm -f core conftest.err conftest.$ac_objext
6036 CC="$CC -n32"
6037 if ac_fn_c_try_compile "$LINENO"; then :
6038 ac_cv_sys_largefile_CC=' -n32'; break
6040 rm -f core conftest.err conftest.$ac_objext
6041 break
6042 done
6043 CC=$ac_save_CC
6044 rm -f conftest.$ac_ext
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6048 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6049 if test "$ac_cv_sys_largefile_CC" != no; then
6050 CC=$CC$ac_cv_sys_largefile_CC
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6054 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6055 if ${ac_cv_sys_file_offset_bits+:} false; then :
6056 $as_echo_n "(cached) " >&6
6057 else
6058 while :; do
6059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6060 /* end confdefs.h. */
6061 #include <sys/types.h>
6062 /* Check that off_t can represent 2**63 - 1 correctly.
6063 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6064 since some C++ compilers masquerading as C compilers
6065 incorrectly reject 9223372036854775807. */
6066 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6067 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6068 && LARGE_OFF_T % 2147483647 == 1)
6069 ? 1 : -1];
6071 main ()
6075 return 0;
6077 _ACEOF
6078 if ac_fn_c_try_compile "$LINENO"; then :
6079 ac_cv_sys_file_offset_bits=no; break
6081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6083 /* end confdefs.h. */
6084 #define _FILE_OFFSET_BITS 64
6085 #include <sys/types.h>
6086 /* Check that off_t can represent 2**63 - 1 correctly.
6087 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6088 since some C++ compilers masquerading as C compilers
6089 incorrectly reject 9223372036854775807. */
6090 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6091 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6092 && LARGE_OFF_T % 2147483647 == 1)
6093 ? 1 : -1];
6095 main ()
6099 return 0;
6101 _ACEOF
6102 if ac_fn_c_try_compile "$LINENO"; then :
6103 ac_cv_sys_file_offset_bits=64; break
6105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6106 ac_cv_sys_file_offset_bits=unknown
6107 break
6108 done
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6111 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6112 case $ac_cv_sys_file_offset_bits in #(
6113 no | unknown) ;;
6115 cat >>confdefs.h <<_ACEOF
6116 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6117 _ACEOF
6119 esac
6120 rm -rf conftest*
6121 if test $ac_cv_sys_file_offset_bits = unknown; then
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6123 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6124 if ${ac_cv_sys_large_files+:} false; then :
6125 $as_echo_n "(cached) " >&6
6126 else
6127 while :; do
6128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6129 /* end confdefs.h. */
6130 #include <sys/types.h>
6131 /* Check that off_t can represent 2**63 - 1 correctly.
6132 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6133 since some C++ compilers masquerading as C compilers
6134 incorrectly reject 9223372036854775807. */
6135 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6136 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6137 && LARGE_OFF_T % 2147483647 == 1)
6138 ? 1 : -1];
6140 main ()
6144 return 0;
6146 _ACEOF
6147 if ac_fn_c_try_compile "$LINENO"; then :
6148 ac_cv_sys_large_files=no; break
6150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6152 /* end confdefs.h. */
6153 #define _LARGE_FILES 1
6154 #include <sys/types.h>
6155 /* Check that off_t can represent 2**63 - 1 correctly.
6156 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6157 since some C++ compilers masquerading as C compilers
6158 incorrectly reject 9223372036854775807. */
6159 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6160 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6161 && LARGE_OFF_T % 2147483647 == 1)
6162 ? 1 : -1];
6164 main ()
6168 return 0;
6170 _ACEOF
6171 if ac_fn_c_try_compile "$LINENO"; then :
6172 ac_cv_sys_large_files=1; break
6174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6175 ac_cv_sys_large_files=unknown
6176 break
6177 done
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6180 $as_echo "$ac_cv_sys_large_files" >&6; }
6181 case $ac_cv_sys_large_files in #(
6182 no | unknown) ;;
6184 cat >>confdefs.h <<_ACEOF
6185 #define _LARGE_FILES $ac_cv_sys_large_files
6186 _ACEOF
6188 esac
6189 rm -rf conftest*
6196 ac_ext=c
6197 ac_cpp='$CPP $CPPFLAGS'
6198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6202 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6203 # On Suns, sometimes $CPP names a directory.
6204 if test -n "$CPP" && test -d "$CPP"; then
6205 CPP=
6207 if test -z "$CPP"; then
6208 if ${ac_cv_prog_CPP+:} false; then :
6209 $as_echo_n "(cached) " >&6
6210 else
6211 # Double quotes because CPP needs to be expanded
6212 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6214 ac_preproc_ok=false
6215 for ac_c_preproc_warn_flag in '' yes
6217 # Use a header file that comes with gcc, so configuring glibc
6218 # with a fresh cross-compiler works.
6219 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6220 # <limits.h> exists even on freestanding compilers.
6221 # On the NeXT, cc -E runs the code through the compiler's parser,
6222 # not just through cpp. "Syntax error" is here to catch this case.
6223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6224 /* end confdefs.h. */
6225 #ifdef __STDC__
6226 # include <limits.h>
6227 #else
6228 # include <assert.h>
6229 #endif
6230 Syntax error
6231 _ACEOF
6232 if ac_fn_c_try_cpp "$LINENO"; then :
6234 else
6235 # Broken: fails on valid input.
6236 continue
6238 rm -f conftest.err conftest.i conftest.$ac_ext
6240 # OK, works on sane cases. Now check whether nonexistent headers
6241 # can be detected and how.
6242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6243 /* end confdefs.h. */
6244 #include <ac_nonexistent.h>
6245 _ACEOF
6246 if ac_fn_c_try_cpp "$LINENO"; then :
6247 # Broken: success on invalid input.
6248 continue
6249 else
6250 # Passes both tests.
6251 ac_preproc_ok=:
6252 break
6254 rm -f conftest.err conftest.i conftest.$ac_ext
6256 done
6257 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6258 rm -f conftest.i conftest.err conftest.$ac_ext
6259 if $ac_preproc_ok; then :
6260 break
6263 done
6264 ac_cv_prog_CPP=$CPP
6267 CPP=$ac_cv_prog_CPP
6268 else
6269 ac_cv_prog_CPP=$CPP
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6272 $as_echo "$CPP" >&6; }
6273 ac_preproc_ok=false
6274 for ac_c_preproc_warn_flag in '' yes
6276 # Use a header file that comes with gcc, so configuring glibc
6277 # with a fresh cross-compiler works.
6278 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6279 # <limits.h> exists even on freestanding compilers.
6280 # On the NeXT, cc -E runs the code through the compiler's parser,
6281 # not just through cpp. "Syntax error" is here to catch this case.
6282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6283 /* end confdefs.h. */
6284 #ifdef __STDC__
6285 # include <limits.h>
6286 #else
6287 # include <assert.h>
6288 #endif
6289 Syntax error
6290 _ACEOF
6291 if ac_fn_c_try_cpp "$LINENO"; then :
6293 else
6294 # Broken: fails on valid input.
6295 continue
6297 rm -f conftest.err conftest.i conftest.$ac_ext
6299 # OK, works on sane cases. Now check whether nonexistent headers
6300 # can be detected and how.
6301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6302 /* end confdefs.h. */
6303 #include <ac_nonexistent.h>
6304 _ACEOF
6305 if ac_fn_c_try_cpp "$LINENO"; then :
6306 # Broken: success on invalid input.
6307 continue
6308 else
6309 # Passes both tests.
6310 ac_preproc_ok=:
6311 break
6313 rm -f conftest.err conftest.i conftest.$ac_ext
6315 done
6316 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6317 rm -f conftest.i conftest.err conftest.$ac_ext
6318 if $ac_preproc_ok; then :
6320 else
6321 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6323 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6324 See \`config.log' for more details" "$LINENO" 5; }
6327 ac_ext=c
6328 ac_cpp='$CPP $CPPFLAGS'
6329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6335 $as_echo_n "checking for ANSI C header files... " >&6; }
6336 if ${ac_cv_header_stdc+:} false; then :
6337 $as_echo_n "(cached) " >&6
6338 else
6339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6340 /* end confdefs.h. */
6341 #include <stdlib.h>
6342 #include <stdarg.h>
6343 #include <string.h>
6344 #include <float.h>
6347 main ()
6351 return 0;
6353 _ACEOF
6354 if ac_fn_c_try_compile "$LINENO"; then :
6355 ac_cv_header_stdc=yes
6356 else
6357 ac_cv_header_stdc=no
6359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6361 if test $ac_cv_header_stdc = yes; then
6362 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6364 /* end confdefs.h. */
6365 #include <string.h>
6367 _ACEOF
6368 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6369 $EGREP "memchr" >/dev/null 2>&1; then :
6371 else
6372 ac_cv_header_stdc=no
6374 rm -f conftest*
6378 if test $ac_cv_header_stdc = yes; then
6379 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6381 /* end confdefs.h. */
6382 #include <stdlib.h>
6384 _ACEOF
6385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6386 $EGREP "free" >/dev/null 2>&1; then :
6388 else
6389 ac_cv_header_stdc=no
6391 rm -f conftest*
6395 if test $ac_cv_header_stdc = yes; then
6396 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6397 if test "$cross_compiling" = yes; then :
6399 else
6400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6401 /* end confdefs.h. */
6402 #include <ctype.h>
6403 #include <stdlib.h>
6404 #if ((' ' & 0x0FF) == 0x020)
6405 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6406 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6407 #else
6408 # define ISLOWER(c) \
6409 (('a' <= (c) && (c) <= 'i') \
6410 || ('j' <= (c) && (c) <= 'r') \
6411 || ('s' <= (c) && (c) <= 'z'))
6412 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6413 #endif
6415 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6417 main ()
6419 int i;
6420 for (i = 0; i < 256; i++)
6421 if (XOR (islower (i), ISLOWER (i))
6422 || toupper (i) != TOUPPER (i))
6423 return 2;
6424 return 0;
6426 _ACEOF
6427 if ac_fn_c_try_run "$LINENO"; then :
6429 else
6430 ac_cv_header_stdc=no
6432 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6433 conftest.$ac_objext conftest.beam conftest.$ac_ext
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6439 $as_echo "$ac_cv_header_stdc" >&6; }
6440 if test $ac_cv_header_stdc = yes; then
6442 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6446 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6447 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6448 inttypes.h stdint.h unistd.h
6449 do :
6450 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6451 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6453 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6454 cat >>confdefs.h <<_ACEOF
6455 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6456 _ACEOF
6460 done
6463 for ac_header in \
6464 AL/al.h \
6465 ApplicationServices/ApplicationServices.h \
6466 AudioToolbox/AudioConverter.h \
6467 AudioUnit/AudioUnit.h \
6468 AudioUnit/AudioComponent.h \
6469 CL/cl.h \
6470 Carbon/Carbon.h \
6471 CoreAudio/CoreAudio.h \
6472 CoreServices/CoreServices.h \
6473 DiskArbitration/DiskArbitration.h \
6474 IOKit/IOKitLib.h \
6475 IOKit/hid/IOHIDLib.h \
6476 OpenAL/al.h \
6477 OpenCL/opencl.h \
6478 QuickTime/ImageCompression.h \
6479 Security/Security.h \
6480 alias.h \
6481 alsa/asoundlib.h \
6482 arpa/inet.h \
6483 arpa/nameser.h \
6484 asm/types.h \
6485 asm/user.h \
6486 curses.h \
6487 direct.h \
6488 dirent.h \
6489 dlfcn.h \
6490 elf.h \
6491 float.h \
6492 fnmatch.h \
6493 getopt.h \
6494 gettext-po.h \
6495 grp.h \
6496 gsm.h \
6497 gsm/gsm.h \
6498 ieeefp.h \
6499 inet/mib2.h \
6500 io.h \
6501 kstat.h \
6502 lber.h \
6503 ldap.h \
6504 libproc.h \
6505 link.h \
6506 linux/cdrom.h \
6507 linux/compiler.h \
6508 linux/filter.h \
6509 linux/hdreg.h \
6510 linux/input.h \
6511 linux/ioctl.h \
6512 linux/joystick.h \
6513 linux/major.h \
6514 linux/param.h \
6515 linux/serial.h \
6516 linux/types.h \
6517 linux/ucdrom.h \
6518 lwp.h \
6519 mach-o/nlist.h \
6520 mach-o/loader.h \
6521 mach/mach.h \
6522 mach/machine.h \
6523 machine/cpu.h \
6524 machine/limits.h \
6525 machine/sysarch.h \
6526 mntent.h \
6527 ncurses.h \
6528 netdb.h \
6529 netinet/in.h \
6530 netinet/in_systm.h \
6531 netinet/tcp.h \
6532 netinet/tcp_fsm.h \
6533 pcap/pcap.h \
6534 poll.h \
6535 port.h \
6536 process.h \
6537 pthread.h \
6538 pwd.h \
6539 sched.h \
6540 scsi/scsi.h \
6541 scsi/scsi_ioctl.h \
6542 scsi/sg.h \
6543 stdbool.h \
6544 stdint.h \
6545 stropts.h \
6546 sys/asoundlib.h \
6547 sys/attr.h \
6548 sys/cdio.h \
6549 sys/elf32.h \
6550 sys/epoll.h \
6551 sys/event.h \
6552 sys/exec_elf.h \
6553 sys/filio.h \
6554 sys/inotify.h \
6555 sys/ioctl.h \
6556 sys/ipc.h \
6557 sys/limits.h \
6558 sys/link.h \
6559 sys/mman.h \
6560 sys/modem.h \
6561 sys/msg.h \
6562 sys/mtio.h \
6563 sys/param.h \
6564 sys/poll.h \
6565 sys/prctl.h \
6566 sys/protosw.h \
6567 sys/ptrace.h \
6568 sys/queue.h \
6569 sys/resource.h \
6570 sys/scsiio.h \
6571 sys/shm.h \
6572 sys/signal.h \
6573 sys/socket.h \
6574 sys/socketvar.h \
6575 sys/sockio.h \
6576 sys/statvfs.h \
6577 sys/strtio.h \
6578 sys/syscall.h \
6579 sys/tihdr.h \
6580 sys/time.h \
6581 sys/timeout.h \
6582 sys/times.h \
6583 sys/uio.h \
6584 sys/user.h \
6585 sys/utsname.h \
6586 sys/vm86.h \
6587 sys/wait.h \
6588 syscall.h \
6589 termios.h \
6590 unistd.h \
6591 utime.h \
6592 valgrind/memcheck.h \
6593 valgrind/valgrind.h \
6594 zlib.h
6596 do :
6597 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6598 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6599 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6600 cat >>confdefs.h <<_ACEOF
6601 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6602 _ACEOF
6606 done
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6609 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6610 if ${ac_cv_header_stat_broken+:} false; then :
6611 $as_echo_n "(cached) " >&6
6612 else
6613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6614 /* end confdefs.h. */
6615 #include <sys/types.h>
6616 #include <sys/stat.h>
6618 #if defined S_ISBLK && defined S_IFDIR
6619 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6620 #endif
6622 #if defined S_ISBLK && defined S_IFCHR
6623 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6624 #endif
6626 #if defined S_ISLNK && defined S_IFREG
6627 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6628 #endif
6630 #if defined S_ISSOCK && defined S_IFREG
6631 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6632 #endif
6634 _ACEOF
6635 if ac_fn_c_try_compile "$LINENO"; then :
6636 ac_cv_header_stat_broken=no
6637 else
6638 ac_cv_header_stat_broken=yes
6640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6643 $as_echo "$ac_cv_header_stat_broken" >&6; }
6644 if test $ac_cv_header_stat_broken = yes; then
6646 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6652 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6653 do :
6654 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6655 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6656 #ifdef HAVE_SYS_PARAM_H
6657 # include <sys/param.h>
6658 #endif
6660 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6661 cat >>confdefs.h <<_ACEOF
6662 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6663 _ACEOF
6667 done
6670 for ac_header in \
6671 netinet/ip.h \
6672 net/if.h \
6673 net/if_arp.h \
6674 net/if_dl.h \
6675 net/if_types.h \
6676 net/route.h \
6677 netinet/if_ether.h \
6678 netinet/if_inarp.h \
6679 netinet/in_pcb.h \
6680 netinet/ip_icmp.h \
6681 netinet/ip_var.h \
6682 netinet/udp.h \
6683 netipx/ipx.h \
6684 sys/un.h \
6686 do :
6687 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6688 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6689 #ifdef HAVE_SYS_SOCKET_H
6690 # include <sys/socket.h>
6691 #endif
6692 #ifdef HAVE_SYS_SOCKETVAR_H
6693 # include <sys/socketvar.h>
6694 #endif
6695 #ifdef HAVE_NET_ROUTE_H
6696 # include <net/route.h>
6697 #endif
6698 #ifdef HAVE_NETINET_IN_H
6699 # include <netinet/in.h>
6700 #endif
6701 #ifdef HAVE_NETINET_IN_SYSTM_H
6702 # include <netinet/in_systm.h>
6703 #endif
6704 #ifdef HAVE_NET_IF_H
6705 # include <net/if.h>
6706 #endif
6707 #ifdef HAVE_NETINET_IP_H
6708 # include <netinet/ip.h>
6709 #endif
6711 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6712 cat >>confdefs.h <<_ACEOF
6713 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6714 _ACEOF
6718 done
6721 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6722 do :
6723 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6724 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6725 #ifdef HAVE_ALIAS_H
6726 # include <alias.h>
6727 #endif
6728 #ifdef HAVE_SYS_SOCKET_H
6729 # include <sys/socket.h>
6730 #endif
6731 #ifdef HAVE_SYS_SOCKETVAR_H
6732 # include <sys/socketvar.h>
6733 #endif
6734 #ifdef HAVE_SYS_TIMEOUT_H
6735 # include <sys/timeout.h>
6736 #endif
6737 #ifdef HAVE_NETINET_IN_H
6738 # include <netinet/in.h>
6739 #endif
6740 #ifdef HAVE_NETINET_IN_SYSTM_H
6741 # include <netinet/in_systm.h>
6742 #endif
6743 #ifdef HAVE_NETINET_IP_H
6744 # include <netinet/ip.h>
6745 #endif
6746 #ifdef HAVE_NETINET_IP_VAR_H
6747 # include <netinet/ip_var.h>
6748 #endif
6749 #ifdef HAVE_NETINET_IP_ICMP_H
6750 # include <netinet/ip_icmp.h>
6751 #endif
6752 #ifdef HAVE_NETINET_UDP_H
6753 # include <netinet/udp.h>
6754 #endif
6755 #ifdef HAVE_NETINET_TCP_H
6756 # include <netinet/tcp.h>
6757 #endif
6758 #ifdef HAVE_NETINET_TCP_TIMER_H
6759 #include <netinet/tcp_timer.h>
6760 #endif
6762 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6763 cat >>confdefs.h <<_ACEOF
6764 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6765 _ACEOF
6769 done
6772 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6773 do :
6774 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6775 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6776 #ifdef HAVE_ASM_TYPES_H
6777 # include <asm/types.h>
6778 #endif
6779 #ifdef HAVE_SYS_SOCKET_H
6780 # include <sys/socket.h>
6781 #endif
6782 #ifdef HAVE_LINUX_TYPES_H
6783 # include <linux/types.h>
6784 #endif
6786 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6787 cat >>confdefs.h <<_ACEOF
6788 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6789 _ACEOF
6793 done
6796 for ac_header in mach-o/dyld_images.h
6797 do :
6798 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6799 # include <stdbool.h>
6800 #endif
6801 #ifdef HAVE_STDINT_H
6802 # include <stdint.h>
6803 #endif
6805 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6806 cat >>confdefs.h <<_ACEOF
6807 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6808 _ACEOF
6812 done
6815 for ac_header in resolv.h
6816 do :
6817 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6818 #ifdef HAVE_SYS_SOCKET_H
6819 # include <sys/socket.h>
6820 #endif
6821 #ifdef HAVE_NETINET_IN_H
6822 # include <netinet/in.h>
6823 #endif
6824 #ifdef HAVE_ARPA_NAMESER_H
6825 # include <arpa/nameser.h>
6826 #endif
6828 if test "x$ac_cv_header_resolv_h" = xyes; then :
6829 cat >>confdefs.h <<_ACEOF
6830 #define HAVE_RESOLV_H 1
6831 _ACEOF
6835 done
6838 for ac_header in ifaddrs.h
6839 do :
6840 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6842 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6843 cat >>confdefs.h <<_ACEOF
6844 #define HAVE_IFADDRS_H 1
6845 _ACEOF
6849 done
6852 for ac_header in sys/ucontext.h
6853 do :
6854 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6856 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6857 cat >>confdefs.h <<_ACEOF
6858 #define HAVE_SYS_UCONTEXT_H 1
6859 _ACEOF
6863 done
6866 for ac_header in sys/thr.h
6867 do :
6868 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6869 #ifdef HAVE_SYS_UCONTEXT_H
6870 #include <sys/ucontext.h>
6871 #endif
6873 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6874 cat >>confdefs.h <<_ACEOF
6875 #define HAVE_SYS_THR_H 1
6876 _ACEOF
6880 done
6883 for ac_header in pthread_np.h
6884 do :
6885 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6886 #include <pthread.h>
6887 #endif
6889 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6890 cat >>confdefs.h <<_ACEOF
6891 #define HAVE_PTHREAD_NP_H 1
6892 _ACEOF
6896 done
6899 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6900 do :
6901 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6902 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6903 #include <sys/time.h>
6904 #endif
6905 #include <sys/types.h>
6906 #ifdef HAVE_ASM_TYPES_H
6907 #include <asm/types.h>
6908 #endif
6910 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6911 cat >>confdefs.h <<_ACEOF
6912 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6913 _ACEOF
6917 done
6920 for ac_header in libprocstat.h
6921 do :
6922 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6923 #include <sys/param.h>
6924 #endif
6925 #ifdef HAVE_SYS_QUEUE_H
6926 #include <sys/queue.h>
6927 #endif
6928 #ifdef HAVE_SYS_SOCKET_H
6929 #include <sys/socket.h>
6930 #endif
6932 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6933 cat >>confdefs.h <<_ACEOF
6934 #define HAVE_LIBPROCSTAT_H 1
6935 _ACEOF
6939 done
6943 dlldir="\${libdir}/wine"
6945 DLLPREFIX=""
6947 DLLFLAGS="-D_REENTRANT"
6949 LDRPATH_INSTALL=""
6951 LDRPATH_LOCAL=""
6953 LIBEXT="so"
6954 DLLEXT=".so"
6955 IMPLIBEXT="def"
6956 STATIC_IMPLIBEXT="def.a"
6957 # Extract the first word of "ldd", so it can be a program name with args.
6958 set dummy ldd; ac_word=$2
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6960 $as_echo_n "checking for $ac_word... " >&6; }
6961 if ${ac_cv_path_LDD+:} false; then :
6962 $as_echo_n "(cached) " >&6
6963 else
6964 case $LDD in
6965 [\\/]* | ?:[\\/]*)
6966 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6970 as_dummy="/sbin:/usr/sbin:$PATH"
6971 for as_dir in $as_dummy
6973 IFS=$as_save_IFS
6974 test -z "$as_dir" && as_dir=.
6975 for ac_exec_ext in '' $ac_executable_extensions; do
6976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6977 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6979 break 2
6981 done
6982 done
6983 IFS=$as_save_IFS
6985 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6987 esac
6989 LDD=$ac_cv_path_LDD
6990 if test -n "$LDD"; then
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6992 $as_echo "$LDD" >&6; }
6993 else
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6995 $as_echo "no" >&6; }
6999 if test -n "$ac_tool_prefix"; then
7000 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7001 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7003 $as_echo_n "checking for $ac_word... " >&6; }
7004 if ${ac_cv_prog_READELF+:} false; then :
7005 $as_echo_n "(cached) " >&6
7006 else
7007 if test -n "$READELF"; then
7008 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7009 else
7010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7011 for as_dir in $PATH
7013 IFS=$as_save_IFS
7014 test -z "$as_dir" && as_dir=.
7015 for ac_exec_ext in '' $ac_executable_extensions; do
7016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7017 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7019 break 2
7021 done
7022 done
7023 IFS=$as_save_IFS
7027 READELF=$ac_cv_prog_READELF
7028 if test -n "$READELF"; then
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7030 $as_echo "$READELF" >&6; }
7031 else
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7033 $as_echo "no" >&6; }
7038 if test -z "$ac_cv_prog_READELF"; then
7039 ac_ct_READELF=$READELF
7040 # Extract the first word of "readelf", so it can be a program name with args.
7041 set dummy readelf; ac_word=$2
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7043 $as_echo_n "checking for $ac_word... " >&6; }
7044 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7045 $as_echo_n "(cached) " >&6
7046 else
7047 if test -n "$ac_ct_READELF"; then
7048 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7049 else
7050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7051 for as_dir in $PATH
7053 IFS=$as_save_IFS
7054 test -z "$as_dir" && as_dir=.
7055 for ac_exec_ext in '' $ac_executable_extensions; do
7056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7057 ac_cv_prog_ac_ct_READELF="readelf"
7058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7059 break 2
7061 done
7062 done
7063 IFS=$as_save_IFS
7067 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7068 if test -n "$ac_ct_READELF"; then
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7070 $as_echo "$ac_ct_READELF" >&6; }
7071 else
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7073 $as_echo "no" >&6; }
7076 if test "x$ac_ct_READELF" = x; then
7077 READELF="true"
7078 else
7079 case $cross_compiling:$ac_tool_warned in
7080 yes:)
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7083 ac_tool_warned=yes ;;
7084 esac
7085 READELF=$ac_ct_READELF
7087 else
7088 READELF="$ac_cv_prog_READELF"
7091 wine_rules_file=conf$$rules.make
7092 rm -f $wine_rules_file
7093 ALL_POT_FILES=""
7094 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7095 ALL_TEST_RESOURCES=""
7098 wine_fn_append_file ()
7100 as_fn_append $1 " \\$as_nl $2"
7103 wine_fn_ignore_file ()
7105 case "$1" in
7106 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7107 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7108 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7109 esac
7112 wine_fn_append_rule ()
7114 $as_echo "$1" >>$wine_rules_file
7117 wine_fn_has_flag ()
7119 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7122 wine_fn_depend_rules ()
7124 wine_fn_append_rule \
7125 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7126 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7127 depend: $ac_dir/depend
7128 .PHONY: $ac_dir/depend
7129 $ac_dir/depend: \$(MAKEDEP) dummy
7130 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7133 wine_fn_pot_rules ()
7135 test "x$with_gettextpo" = xyes || return
7137 if wine_fn_has_flag mc
7138 then
7139 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7140 wine_fn_append_rule \
7141 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7142 @cd $ac_dir && \$(MAKE) msg.pot
7143 $ac_dir/msg.pot: tools/wmc include"
7145 if wine_fn_has_flag po
7146 then
7147 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7148 wine_fn_append_rule \
7149 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7150 @cd $ac_dir && \$(MAKE) rsrc.pot
7151 $ac_dir/rsrc.pot: tools/wrc include"
7155 wine_fn_all_rules ()
7157 wine_fn_depend_rules
7158 wine_fn_append_rule \
7159 "all: $ac_dir
7160 .PHONY: $ac_dir
7161 $ac_dir: $ac_dir/Makefile dummy
7162 @cd $ac_dir && \$(MAKE)"
7165 wine_fn_install_rules ()
7167 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7169 wine_fn_append_rule \
7170 ".PHONY: $ac_dir/install $ac_dir/uninstall
7171 $ac_dir/install:: $ac_dir
7172 @cd $ac_dir && \$(MAKE) install
7173 $ac_dir/uninstall:: $ac_dir/Makefile
7174 @cd $ac_dir && \$(MAKE) uninstall
7175 install:: $ac_dir/install
7176 __uninstall__: $ac_dir/uninstall"
7178 if wine_fn_has_flag install-lib
7179 then
7180 wine_fn_append_rule \
7181 ".PHONY: $ac_dir/install-lib
7182 $ac_dir/install-lib:: $ac_dir
7183 @cd $ac_dir && \$(MAKE) install-lib
7184 install-lib:: $ac_dir/install-lib"
7187 if wine_fn_has_flag install-dev
7188 then
7189 wine_fn_append_rule \
7190 ".PHONY: $ac_dir/install-dev
7191 $ac_dir/install-dev:: $ac_dir
7192 @cd $ac_dir && \$(MAKE) install-dev
7193 install-dev:: $ac_dir/install-dev"
7197 wine_fn_clean_rules ()
7199 ac_clean=$@
7200 ac_extraclean="$ac_dir/Makefile"
7201 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7202 case $ac_dir in
7203 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7204 esac
7206 if wine_fn_has_flag clean
7207 then
7208 wine_fn_append_rule \
7209 "__clean__: $ac_dir/clean
7210 .PHONY: $ac_dir/clean
7211 $ac_dir/clean: $ac_dir/Makefile
7212 @cd $ac_dir && \$(MAKE) clean
7213 \$(RM) $ac_extraclean"
7214 else
7215 wine_fn_append_rule \
7216 "__clean__: $ac_dir/clean
7217 .PHONY: $ac_dir/clean
7218 $ac_dir/clean: dummy
7219 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7223 wine_fn_disabled_rules ()
7225 ac_clean=$@
7226 ac_extraclean="$ac_dir/Makefile"
7227 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7229 wine_fn_append_rule \
7230 "__clean__: $ac_dir/clean
7231 .PHONY: $ac_dir/clean
7232 $ac_dir/clean: dummy
7233 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7236 wine_fn_config_makefile ()
7238 ac_dir=$1
7239 ac_enable=$2
7240 ac_flags=$3
7242 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7243 wine_fn_disabled_rules; return
7245 wine_fn_all_rules
7246 wine_fn_install_rules
7247 wine_fn_clean_rules
7250 wine_fn_config_lib ()
7252 ac_name=$1
7253 ac_flags=$2
7254 ac_dir=dlls/$ac_name
7255 ac_deps="include"
7257 if test "x$enable_tools" = xno; then :
7259 else
7260 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7262 wine_fn_all_rules
7263 wine_fn_clean_rules
7265 wine_fn_append_rule \
7266 ".PHONY: $ac_dir/install $ac_dir/uninstall
7267 $ac_dir/install:: $ac_dir
7268 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7269 $ac_dir/uninstall::
7270 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7271 install install-dev:: $ac_dir/install
7272 __uninstall__: $ac_dir/uninstall
7273 __builddeps__: $ac_dir
7274 $ac_dir: $ac_deps"
7277 wine_fn_config_dll ()
7279 ac_name=$1
7280 ac_dir=dlls/$ac_name
7281 ac_enable=$2
7282 ac_flags=$3
7283 ac_implib=${4:-$ac_name}
7284 ac_file=$ac_dir/lib$ac_implib
7285 ac_dll=$ac_name
7286 ac_deps="include"
7287 ac_implibflags=""
7289 if test "x$enable_tools" = xno; then :
7291 else
7292 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7294 case $ac_name in
7295 *16) ac_implibflags=" -m16" ;;
7296 *.*) ;;
7297 *) ac_dll=$ac_dll.dll ;;
7298 esac
7300 ac_clean=
7301 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7302 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7303 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7304 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7306 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7307 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7308 then
7309 wine_fn_depend_rules
7310 wine_fn_clean_rules $ac_clean
7311 else
7312 wine_fn_disabled_rules $ac_clean
7313 return
7315 else
7316 wine_fn_all_rules
7317 wine_fn_clean_rules $ac_clean
7318 wine_fn_append_rule \
7319 "$ac_dir: __builddeps__
7320 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7321 @cd $ac_dir && \$(MAKE) \$@
7322 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7323 install install-lib:: $ac_dir/install-lib
7324 __uninstall__: $ac_dir/uninstall"
7325 if test -n "$DLLEXT"
7326 then
7327 wine_fn_append_rule \
7328 "$ac_dir/install-lib:: $ac_dir
7329 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7330 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7331 $ac_dir/uninstall::
7332 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7333 else
7334 wine_fn_append_rule \
7335 "$ac_dir/install-lib:: $ac_dir
7336 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7337 $ac_dir/uninstall::
7338 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7341 wine_fn_pot_rules
7344 if wine_fn_has_flag staticimplib
7345 then
7346 wine_fn_append_rule \
7347 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7348 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7349 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7350 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7351 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7352 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7353 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7354 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7355 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7356 $ac_dir/uninstall::
7357 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7358 install install-dev:: $ac_dir/install-dev
7359 __uninstall__: $ac_dir/uninstall"
7361 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7362 then
7363 wine_fn_append_rule \
7364 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7365 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7366 $ac_dir/uninstall::
7367 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7370 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7371 then
7372 wine_fn_append_rule \
7373 "__builddeps__: $ac_file.cross.a
7374 $ac_file.cross.a: $ac_dir/Makefile dummy
7375 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7378 elif wine_fn_has_flag implib
7379 then
7380 wine_fn_append_rule \
7381 "__builddeps__: $ac_file.$IMPLIBEXT
7382 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7383 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7384 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7385 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7386 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7387 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7388 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7389 $ac_dir/uninstall::
7390 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7391 install install-dev:: $ac_dir/install-dev
7392 __uninstall__: $ac_dir/uninstall"
7393 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7394 then
7395 wine_fn_append_rule \
7396 "__builddeps__: $ac_file.cross.a
7397 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7398 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7401 if test "$ac_name" != "$ac_implib"
7402 then
7403 wine_fn_append_rule \
7404 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7405 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7406 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7407 clean::
7408 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7409 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7410 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7411 then
7412 wine_fn_append_rule \
7413 "__builddeps__: dlls/lib$ac_implib.cross.a
7414 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7415 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7416 clean::
7417 \$(RM) dlls/lib$ac_implib.cross.a"
7418 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7424 wine_fn_config_program ()
7426 ac_name=$1
7427 ac_dir=programs/$ac_name
7428 ac_enable=$2
7429 ac_flags=$3
7430 ac_program=$ac_name
7432 case $ac_name in
7433 *.*) ;;
7434 *) ac_program=$ac_program.exe ;;
7435 esac
7437 ac_clean=
7438 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7439 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7440 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7441 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7443 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7444 wine_fn_disabled_rules $ac_clean; return
7447 wine_fn_all_rules
7448 wine_fn_clean_rules $ac_clean
7449 wine_fn_append_rule "$ac_dir: __builddeps__"
7450 wine_fn_pot_rules
7452 wine_fn_has_flag install || return
7453 wine_fn_append_rule \
7454 ".PHONY: $ac_dir/install $ac_dir/uninstall
7455 install install-lib:: $ac_dir/install
7456 __uninstall__: $ac_dir/uninstall"
7458 if test -n "$DLLEXT"
7459 then
7460 wine_fn_append_rule \
7461 "$ac_dir/install:: $ac_dir
7462 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7463 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7464 $ac_dir/uninstall::
7465 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7467 if test -z "$with_wine64" && wine_fn_has_flag installbin
7468 then
7469 wine_fn_append_rule \
7470 "$ac_dir/install:: __tooldeps__
7471 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7472 $ac_dir/uninstall::
7473 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7475 else
7476 wine_fn_append_rule \
7477 "$ac_dir/install:: $ac_dir
7478 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7479 $ac_dir/uninstall::
7480 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7483 if test -z "$with_wine64" && wine_fn_has_flag manpage
7484 then
7485 wine_fn_append_rule \
7486 "$ac_dir/install:: $ac_dir
7487 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7488 $ac_dir/uninstall::
7489 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7493 wine_fn_config_test ()
7495 ac_dir=$1
7496 ac_name=$2
7497 ac_flags=$3
7499 ac_clean=
7500 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7501 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7503 if test "x$enable_tests" = xno; then :
7504 wine_fn_disabled_rules $ac_clean; return
7507 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7508 wine_fn_all_rules
7509 wine_fn_clean_rules $ac_clean
7511 wine_fn_append_rule \
7512 "$ac_dir: programs/winetest/Makefile __builddeps__
7513 programs/winetest: $ac_dir
7514 check test: $ac_dir/test
7515 .PHONY: $ac_dir/test
7516 $ac_dir/test: dummy
7517 @cd $ac_dir && \$(MAKE) test
7518 testclean::
7519 \$(RM) $ac_dir/*.ok"
7521 if test -n "$CROSSTARGET"
7522 then
7523 wine_fn_append_rule \
7524 "crosstest: $ac_dir/crosstest
7525 .PHONY: $ac_dir/crosstest
7526 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7527 @cd $ac_dir && \$(MAKE) crosstest"
7531 wine_fn_config_tool ()
7533 ac_dir=$1
7534 ac_flags=$2
7535 if test "x$enable_tools" = xno; then :
7536 return
7539 wine_fn_all_rules
7540 wine_fn_install_rules
7541 wine_fn_clean_rules
7543 wine_fn_append_rule "__tooldeps__: $ac_dir"
7544 wine_fn_append_rule "$ac_dir: libs/port"
7545 case $ac_dir in
7546 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7547 esac
7550 wine_fn_config_symlink ()
7552 ac_linkdir=
7553 if test "x$1" = "x-d"
7554 then
7555 ac_linkdir=$2
7556 shift; shift
7558 ac_links=$@
7559 wine_fn_append_rule \
7560 "$ac_links:
7561 @./config.status \$@
7562 distclean::
7563 \$(RM) $ac_links"
7564 for f in $ac_links; do wine_fn_ignore_file $f; done
7565 test -n "$ac_linkdir" || return
7566 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7569 wine_binary="wine"
7570 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7571 loader_programs="$wine_binary wine-installed"
7572 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7574 LOADER_RULES="
7575 all: wine.inf
7577 install install-lib:: wine-installed
7578 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7580 uninstall::
7581 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7585 case $host_os in
7586 cygwin*|mingw32*)
7587 if test -n "$ac_tool_prefix"; then
7588 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7589 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7591 $as_echo_n "checking for $ac_word... " >&6; }
7592 if ${ac_cv_prog_DLLTOOL+:} false; then :
7593 $as_echo_n "(cached) " >&6
7594 else
7595 if test -n "$DLLTOOL"; then
7596 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7597 else
7598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7599 for as_dir in $PATH
7601 IFS=$as_save_IFS
7602 test -z "$as_dir" && as_dir=.
7603 for ac_exec_ext in '' $ac_executable_extensions; do
7604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7605 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7607 break 2
7609 done
7610 done
7611 IFS=$as_save_IFS
7615 DLLTOOL=$ac_cv_prog_DLLTOOL
7616 if test -n "$DLLTOOL"; then
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7618 $as_echo "$DLLTOOL" >&6; }
7619 else
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7621 $as_echo "no" >&6; }
7626 if test -z "$ac_cv_prog_DLLTOOL"; then
7627 ac_ct_DLLTOOL=$DLLTOOL
7628 # Extract the first word of "dlltool", so it can be a program name with args.
7629 set dummy dlltool; ac_word=$2
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7631 $as_echo_n "checking for $ac_word... " >&6; }
7632 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7633 $as_echo_n "(cached) " >&6
7634 else
7635 if test -n "$ac_ct_DLLTOOL"; then
7636 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7637 else
7638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7639 for as_dir in $PATH
7641 IFS=$as_save_IFS
7642 test -z "$as_dir" && as_dir=.
7643 for ac_exec_ext in '' $ac_executable_extensions; do
7644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7645 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7647 break 2
7649 done
7650 done
7651 IFS=$as_save_IFS
7655 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7656 if test -n "$ac_ct_DLLTOOL"; then
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7658 $as_echo "$ac_ct_DLLTOOL" >&6; }
7659 else
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7661 $as_echo "no" >&6; }
7664 if test "x$ac_ct_DLLTOOL" = x; then
7665 DLLTOOL="false"
7666 else
7667 case $cross_compiling:$ac_tool_warned in
7668 yes:)
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7671 ac_tool_warned=yes ;;
7672 esac
7673 DLLTOOL=$ac_ct_DLLTOOL
7675 else
7676 DLLTOOL="$ac_cv_prog_DLLTOOL"
7679 LIBEXT="dll"
7680 DLLEXT=""
7681 IMPLIBEXT="a"
7682 STATIC_IMPLIBEXT="a"
7683 enable_iphlpapi=${enable_iphlpapi:-no}
7684 enable_kernel32=${enable_kernel32:-no}
7685 enable_msvcrt=${enable_msvcrt:-no}
7686 enable_ntdll=${enable_ntdll:-no}
7687 enable_ws2_32=${enable_ws2_32:-no}
7688 enable_loader=${enable_loader:-no}
7689 enable_server=${enable_server:-no}
7690 with_x=${with_x:-no}
7691 with_pthread=${with_pthread:-no}
7693 crtlibs=""
7694 case $host_os in
7695 mingw32*)
7696 crtlibs="-lmsvcrt"
7697 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7699 esac
7701 libwine_targets="libwine.dll libwine.a"
7702 LIBWINE_RULES="
7703 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7705 all: libwine.dll libwine.a
7707 libwine.a: \$(srcdir)/wine.def
7708 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7710 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7711 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7713 install install-lib:: libwine.dll
7714 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7716 install install-dev:: libwine.a
7717 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7719 uninstall::
7720 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7725 darwin*|macosx*)
7726 LIBEXT="dylib"
7727 DLLFLAGS="$DLLFLAGS -fPIC"
7728 LIBWINE_LDFLAGS="-multiply_defined suppress"
7729 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7730 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7731 COREFOUNDATION_LIBS="-framework CoreFoundation"
7733 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7735 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7737 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7739 CORESERVICES_LIBS="-framework CoreServices"
7741 APPKIT_LIBS="-framework AppKit"
7743 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7745 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7746 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7747 $as_echo_n "(cached) " >&6
7748 else
7749 ac_wine_try_cflags_saved=$CFLAGS
7750 CFLAGS="$CFLAGS -Wl,-no_pie"
7751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7752 /* end confdefs.h. */
7753 int main(int argc, char **argv) { return 0; }
7754 _ACEOF
7755 if ac_fn_c_try_link "$LINENO"; then :
7756 ac_cv_cflags__Wl__no_pie=yes
7757 else
7758 ac_cv_cflags__Wl__no_pie=no
7760 rm -f core conftest.err conftest.$ac_objext \
7761 conftest$ac_exeext conftest.$ac_ext
7762 CFLAGS=$ac_wine_try_cflags_saved
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7765 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7766 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7767 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7769 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7770 then
7771 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7774 if test "$ac_cv_header_Security_Security_h" = "yes"
7775 then
7776 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7778 ac_save_LIBS="$LIBS"
7779 LIBS="$LIBS $SECURITY_LIBS"
7780 for ac_func in SSLCopyPeerCertificates
7781 do :
7782 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7783 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7784 cat >>confdefs.h <<_ACEOF
7785 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7786 _ACEOF
7789 done
7791 LIBS="$ac_save_LIBS"
7792 with_gnutls=${with_gnutls:-no}
7794 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7795 then
7796 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7797 then
7798 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7800 else
7801 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7804 ac_save_LIBS="$LIBS"
7805 LIBS="$LIBS $COREAUDIO_LIBS"
7806 for ac_func in AUGraphAddNode
7807 do :
7808 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7809 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7810 cat >>confdefs.h <<_ACEOF
7811 #define HAVE_AUGRAPHADDNODE 1
7812 _ACEOF
7815 done
7817 LIBS="$ac_save_LIBS"
7819 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7820 then
7821 OPENAL_LIBS="-framework OpenAL"
7824 cat >>confdefs.h <<_ACEOF
7825 #define HAVE_OPENAL 1
7826 _ACEOF
7828 ac_cv_lib_openal=yes
7830 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7831 then
7832 OPENCL_LIBS="-framework OpenCL"
7834 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7836 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7837 then
7838 ac_save_LIBS="$LIBS"
7839 LIBS="$LIBS $IOKIT_LIBS"
7840 for ac_func in IOHIDManagerCreate
7841 do :
7842 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7843 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7844 cat >>confdefs.h <<_ACEOF
7845 #define HAVE_IOHIDMANAGERCREATE 1
7846 _ACEOF
7849 done
7851 LIBS="$ac_save_LIBS"
7853 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7854 then
7855 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7857 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7858 else
7859 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7861 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7862 then
7863 CARBON_LIBS="-framework Carbon"
7867 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7868 then
7869 ac_save_LIBS="$LIBS"
7870 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7871 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7872 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7873 enable_winemac_drv=${enable_winemac_drv:-yes}
7876 LIBS="$ac_save_LIBS"
7879 if test "x$enable_win16" = "xyes"
7880 then
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7882 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7883 if test "$cross_compiling" = yes; then :
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7885 $as_echo "cross-compiling, assuming yes" >&6; }
7886 else
7887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7888 /* end confdefs.h. */
7889 asm(".text\n"
7890 "bad:\tnop;nop\n"
7891 "good:\tnop;nop\n\t"
7892 ".globl _testfunc\n"
7893 "_testfunc:\tcallw good");
7894 extern void testfunc();
7896 main ()
7898 unsigned short *p = (unsigned short *)testfunc;
7899 return p[0] != 0xe866 || p[1] != 0xfffa
7901 return 0;
7903 _ACEOF
7904 if ac_fn_c_try_run "$LINENO"; then :
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7906 $as_echo "yes" >&6; }
7907 else
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7909 $as_echo "no" >&6; }
7910 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
7912 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7913 conftest.$ac_objext conftest.beam conftest.$ac_ext
7918 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7919 LIBWINE_RULES="
7920 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7922 all: libwine.dylib
7924 libwine.$libwine_version.dylib: \$(OBJS)
7925 \$(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 \$@
7927 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7928 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7930 libwine.dylib: libwine.$libwine_soversion.dylib
7931 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7933 install install-lib:: libwine.$libwine_version.dylib
7934 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7935 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7937 install install-dev::
7938 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7940 uninstall::
7941 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7945 as_fn_append LOADER_RULES "
7946 $wine_binary: main.o wine_info.plist
7947 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7949 wine-installed: main.o wine_info.plist
7950 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7954 linux-android*)
7955 DLLFLAGS="$DLLFLAGS -fPIC"
7956 DLLPREFIX="lib"
7957 LDEXECFLAGS=""
7958 dlldir="\${libdir}"
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7960 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7961 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7962 $as_echo_n "(cached) " >&6
7963 else
7964 ac_wine_try_cflags_saved=$CFLAGS
7965 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7967 /* end confdefs.h. */
7968 int main(int argc, char **argv) { return 0; }
7969 _ACEOF
7970 if ac_fn_c_try_link "$LINENO"; then :
7971 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7972 else
7973 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7975 rm -f core conftest.err conftest.$ac_objext \
7976 conftest$ac_exeext conftest.$ac_ext
7977 CFLAGS=$ac_wine_try_cflags_saved
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7980 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7981 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7982 LDEXECFLAGS="-Wl,--export-dynamic"
7984 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7986 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7987 if eval \${$as_ac_var+:} false; then :
7988 $as_echo_n "(cached) " >&6
7989 else
7990 ac_wine_try_cflags_saved=$CFLAGS
7991 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7993 /* end confdefs.h. */
7994 int main(int argc, char **argv) { return 0; }
7995 _ACEOF
7996 if ac_fn_c_try_link "$LINENO"; then :
7997 eval "$as_ac_var=yes"
7998 else
7999 eval "$as_ac_var=no"
8001 rm -f core conftest.err conftest.$ac_objext \
8002 conftest$ac_exeext conftest.$ac_ext
8003 CFLAGS=$ac_wine_try_cflags_saved
8005 eval ac_res=\$$as_ac_var
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8007 $as_echo "$ac_res" >&6; }
8008 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8009 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8010 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8011 else
8012 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8014 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8015 if eval \${$as_ac_var+:} false; then :
8016 $as_echo_n "(cached) " >&6
8017 else
8018 ac_wine_try_cflags_saved=$CFLAGS
8019 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8021 /* end confdefs.h. */
8022 int main(int argc, char **argv) { return 0; }
8023 _ACEOF
8024 if ac_fn_c_try_link "$LINENO"; then :
8025 eval "$as_ac_var=yes"
8026 else
8027 eval "$as_ac_var=no"
8029 rm -f core conftest.err conftest.$ac_objext \
8030 conftest$ac_exeext conftest.$ac_ext
8031 CFLAGS=$ac_wine_try_cflags_saved
8033 eval ac_res=\$$as_ac_var
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8035 $as_echo "$ac_res" >&6; }
8036 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8037 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8038 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8043 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8044 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8045 $as_echo_n "(cached) " >&6
8046 else
8047 ac_wine_try_cflags_saved=$CFLAGS
8048 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8050 /* end confdefs.h. */
8051 int main(int argc, char **argv) { return 0; }
8052 _ACEOF
8053 if ac_fn_c_try_link "$LINENO"; then :
8054 ac_cv_cflags__Wl___enable_new_dtags=yes
8055 else
8056 ac_cv_cflags__Wl___enable_new_dtags=no
8058 rm -f core conftest.err conftest.$ac_objext \
8059 conftest$ac_exeext conftest.$ac_ext
8060 CFLAGS=$ac_wine_try_cflags_saved
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8063 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8064 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8065 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8068 case $host_cpu in
8069 *i[3456789]86* | x86_64)
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8071 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8072 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8073 $as_echo_n "(cached) " >&6
8074 else
8075 ac_wine_try_cflags_saved=$CFLAGS
8076 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8078 /* end confdefs.h. */
8079 int main(int argc, char **argv) { return 0; }
8080 _ACEOF
8081 if ac_fn_c_try_link "$LINENO"; then :
8082 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8083 else
8084 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8086 rm -f core conftest.err conftest.$ac_objext \
8087 conftest$ac_exeext conftest.$ac_ext
8088 CFLAGS=$ac_wine_try_cflags_saved
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8091 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8092 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8093 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8096 esac
8098 libwine_targets="libwine.so"
8099 LIBWINE_RULES="
8100 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8102 all: libwine.so
8104 libwine.so: \$(OBJS)
8105 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8107 install install-lib:: libwine.so
8108 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8110 uninstall::
8111 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8115 as_fn_append LOADER_RULES "
8116 $wine_binary: main.o
8117 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8119 wine-installed: main.o
8120 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8125 DLLFLAGS="$DLLFLAGS -fPIC"
8126 LDEXECFLAGS=""
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8128 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8129 if ${ac_cv_c_dll_gnuelf+:} false; then :
8130 $as_echo_n "(cached) " >&6
8131 else
8132 ac_wine_try_cflags_saved=$CFLAGS
8133 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8135 /* end confdefs.h. */
8136 void myfunc() {}
8137 _ACEOF
8138 if ac_fn_c_try_link "$LINENO"; then :
8139 ac_cv_c_dll_gnuelf="yes"
8140 else
8141 ac_cv_c_dll_gnuelf="no"
8143 rm -f core conftest.err conftest.$ac_objext \
8144 conftest$ac_exeext conftest.$ac_ext
8145 CFLAGS=$ac_wine_try_cflags_saved
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8148 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8149 if test "$ac_cv_c_dll_gnuelf" = "yes"
8150 then
8151 LDSHARED="\$(CC) -shared"
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8153 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8154 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8155 $as_echo_n "(cached) " >&6
8156 else
8157 ac_wine_try_cflags_saved=$CFLAGS
8158 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8160 /* end confdefs.h. */
8161 int main(int argc, char **argv) { return 0; }
8162 _ACEOF
8163 if ac_fn_c_try_link "$LINENO"; then :
8164 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8165 else
8166 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8168 rm -f core conftest.err conftest.$ac_objext \
8169 conftest$ac_exeext conftest.$ac_ext
8170 CFLAGS=$ac_wine_try_cflags_saved
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8173 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8174 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8175 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8176 else
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8178 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8179 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8180 $as_echo_n "(cached) " >&6
8181 else
8182 ac_wine_try_cflags_saved=$CFLAGS
8183 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8185 /* end confdefs.h. */
8186 int main(int argc, char **argv) { return 0; }
8187 _ACEOF
8188 if ac_fn_c_try_link "$LINENO"; then :
8189 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8190 else
8191 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8193 rm -f core conftest.err conftest.$ac_objext \
8194 conftest$ac_exeext conftest.$ac_ext
8195 CFLAGS=$ac_wine_try_cflags_saved
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8198 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8199 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8200 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8204 echo '{ global: *; };' >conftest.map
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8206 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8207 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8208 $as_echo_n "(cached) " >&6
8209 else
8210 ac_wine_try_cflags_saved=$CFLAGS
8211 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8213 /* end confdefs.h. */
8214 int main(int argc, char **argv) { return 0; }
8215 _ACEOF
8216 if ac_fn_c_try_link "$LINENO"; then :
8217 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8218 else
8219 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8221 rm -f core conftest.err conftest.$ac_objext \
8222 conftest$ac_exeext conftest.$ac_ext
8223 CFLAGS=$ac_wine_try_cflags_saved
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8226 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8227 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8228 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8230 rm -f conftest.map
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8233 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8234 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8235 $as_echo_n "(cached) " >&6
8236 else
8237 ac_wine_try_cflags_saved=$CFLAGS
8238 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8240 /* end confdefs.h. */
8241 int main(int argc, char **argv) { return 0; }
8242 _ACEOF
8243 if ac_fn_c_try_link "$LINENO"; then :
8244 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8245 else
8246 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8248 rm -f core conftest.err conftest.$ac_objext \
8249 conftest$ac_exeext conftest.$ac_ext
8250 CFLAGS=$ac_wine_try_cflags_saved
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8253 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8254 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8255 LDEXECFLAGS="-Wl,--export-dynamic"
8258 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8260 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8261 if eval \${$as_ac_var+:} false; then :
8262 $as_echo_n "(cached) " >&6
8263 else
8264 ac_wine_try_cflags_saved=$CFLAGS
8265 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8267 /* end confdefs.h. */
8268 int main(int argc, char **argv) { return 0; }
8269 _ACEOF
8270 if ac_fn_c_try_link "$LINENO"; then :
8271 eval "$as_ac_var=yes"
8272 else
8273 eval "$as_ac_var=no"
8275 rm -f core conftest.err conftest.$ac_objext \
8276 conftest$ac_exeext conftest.$ac_ext
8277 CFLAGS=$ac_wine_try_cflags_saved
8279 eval ac_res=\$$as_ac_var
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8281 $as_echo "$ac_res" >&6; }
8282 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8283 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8284 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8285 else
8286 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8288 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8289 if eval \${$as_ac_var+:} false; then :
8290 $as_echo_n "(cached) " >&6
8291 else
8292 ac_wine_try_cflags_saved=$CFLAGS
8293 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8295 /* end confdefs.h. */
8296 int main(int argc, char **argv) { return 0; }
8297 _ACEOF
8298 if ac_fn_c_try_link "$LINENO"; then :
8299 eval "$as_ac_var=yes"
8300 else
8301 eval "$as_ac_var=no"
8303 rm -f core conftest.err conftest.$ac_objext \
8304 conftest$ac_exeext conftest.$ac_ext
8305 CFLAGS=$ac_wine_try_cflags_saved
8307 eval ac_res=\$$as_ac_var
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8309 $as_echo "$ac_res" >&6; }
8310 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8311 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8312 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8317 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8318 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8319 $as_echo_n "(cached) " >&6
8320 else
8321 ac_wine_try_cflags_saved=$CFLAGS
8322 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8324 /* end confdefs.h. */
8325 int main(int argc, char **argv) { return 0; }
8326 _ACEOF
8327 if ac_fn_c_try_link "$LINENO"; then :
8328 ac_cv_cflags__Wl___enable_new_dtags=yes
8329 else
8330 ac_cv_cflags__Wl___enable_new_dtags=no
8332 rm -f core conftest.err conftest.$ac_objext \
8333 conftest$ac_exeext conftest.$ac_ext
8334 CFLAGS=$ac_wine_try_cflags_saved
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8337 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8338 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8339 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8342 case $host_cpu in
8343 *i[3456789]86* | x86_64)
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8345 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8346 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8347 $as_echo_n "(cached) " >&6
8348 else
8349 ac_wine_try_cflags_saved=$CFLAGS
8350 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8352 /* end confdefs.h. */
8353 int main(int argc, char **argv) { return 0; }
8354 _ACEOF
8355 if ac_fn_c_try_link "$LINENO"; then :
8356 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8357 else
8358 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8360 rm -f core conftest.err conftest.$ac_objext \
8361 conftest$ac_exeext conftest.$ac_ext
8362 CFLAGS=$ac_wine_try_cflags_saved
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8365 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8366 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8367 case $host_os in
8368 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8369 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8370 esac
8373 # Extract the first word of "prelink", so it can be a program name with args.
8374 set dummy prelink; ac_word=$2
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8376 $as_echo_n "checking for $ac_word... " >&6; }
8377 if ${ac_cv_path_PRELINK+:} false; then :
8378 $as_echo_n "(cached) " >&6
8379 else
8380 case $PRELINK in
8381 [\\/]* | ?:[\\/]*)
8382 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8386 for as_dir in /sbin /usr/sbin $PATH
8388 IFS=$as_save_IFS
8389 test -z "$as_dir" && as_dir=.
8390 for ac_exec_ext in '' $ac_executable_extensions; do
8391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8392 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8394 break 2
8396 done
8397 done
8398 IFS=$as_save_IFS
8400 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8402 esac
8404 PRELINK=$ac_cv_path_PRELINK
8405 if test -n "$PRELINK"; then
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8407 $as_echo "$PRELINK" >&6; }
8408 else
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8410 $as_echo "no" >&6; }
8414 if test "x$PRELINK" = xfalse
8415 then
8416 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8419 esac
8421 else
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8423 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8424 if ${ac_cv_c_dll_unixware+:} false; then :
8425 $as_echo_n "(cached) " >&6
8426 else
8427 ac_wine_try_cflags_saved=$CFLAGS
8428 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8430 /* end confdefs.h. */
8431 void myfunc() {}
8432 _ACEOF
8433 if ac_fn_c_try_link "$LINENO"; then :
8434 ac_cv_c_dll_unixware="yes"
8435 else
8436 ac_cv_c_dll_unixware="no"
8438 rm -f core conftest.err conftest.$ac_objext \
8439 conftest$ac_exeext conftest.$ac_ext
8440 CFLAGS=$ac_wine_try_cflags_saved
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8443 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8444 if test "$ac_cv_c_dll_unixware" = "yes"
8445 then
8446 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8449 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8450 LIBWINE_RULES="
8451 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8453 all: libwine.so
8455 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8456 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8458 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8459 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8461 libwine.so: libwine.so.$libwine_soversion
8462 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8464 install install-lib:: libwine.so.$libwine_version
8465 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8466 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8468 install install-dev::
8469 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8471 uninstall::
8472 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8476 as_fn_append LOADER_RULES "
8477 $wine_binary: main.o
8478 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8480 wine-installed: main.o
8481 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8484 esac
8486 as_fn_append LIBWINE_RULES "
8487 EXTRA_TARGETS = $libwine_targets
8490 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8491 enable_winemac_drv=${enable_winemac_drv:-no}
8493 CROSSTARGET=""
8495 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8496 then
8497 case "$host_cpu" in
8498 i[3456789]86*)
8499 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
8500 mingw32-gcc" ;;
8501 x86_64)
8502 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 " ;;
8504 ac_prefix_list="" ;;
8505 esac
8506 for ac_prog in $ac_prefix_list
8508 # Extract the first word of "$ac_prog", so it can be a program name with args.
8509 set dummy $ac_prog; ac_word=$2
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8511 $as_echo_n "checking for $ac_word... " >&6; }
8512 if ${ac_cv_prog_CROSSCC+:} false; then :
8513 $as_echo_n "(cached) " >&6
8514 else
8515 if test -n "$CROSSCC"; then
8516 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8517 else
8518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8519 for as_dir in $PATH
8521 IFS=$as_save_IFS
8522 test -z "$as_dir" && as_dir=.
8523 for ac_exec_ext in '' $ac_executable_extensions; do
8524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8525 ac_cv_prog_CROSSCC="$ac_prog"
8526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8527 break 2
8529 done
8530 done
8531 IFS=$as_save_IFS
8535 CROSSCC=$ac_cv_prog_CROSSCC
8536 if test -n "$CROSSCC"; then
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8538 $as_echo "$CROSSCC" >&6; }
8539 else
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8541 $as_echo "no" >&6; }
8545 test -n "$CROSSCC" && break
8546 done
8547 test -n "$CROSSCC" || CROSSCC="false"
8549 if test "$CROSSCC" != "false"
8550 then
8551 ac_save_CC="$CC"
8552 CC="$CROSSCC"
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8554 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8556 /* end confdefs.h. */
8559 main ()
8563 return 0;
8565 _ACEOF
8566 if ac_fn_c_try_compile "$LINENO"; then :
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8568 $as_echo "yes" >&6; }
8569 set x $CROSSCC
8570 shift
8571 while test $# -ge 1
8573 case "$1" in
8574 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8575 esac
8576 shift
8577 done
8578 else
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8580 $as_echo "no" >&6; }
8582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8583 CC="$ac_save_CC"
8588 if test "$ac_cv_header_pthread_h" = "yes"
8589 then
8590 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8591 if test "x$ac_cv_func_pthread_create" = xyes; then :
8593 else
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8595 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8596 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8597 $as_echo_n "(cached) " >&6
8598 else
8599 ac_check_lib_save_LIBS=$LIBS
8600 LIBS="-lpthread $LIBS"
8601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8602 /* end confdefs.h. */
8604 /* Override any GCC internal prototype to avoid an error.
8605 Use char because int might match the return type of a GCC
8606 builtin and then its argument prototype would still apply. */
8607 #ifdef __cplusplus
8608 extern "C"
8609 #endif
8610 char pthread_create ();
8612 main ()
8614 return pthread_create ();
8616 return 0;
8618 _ACEOF
8619 if ac_fn_c_try_link "$LINENO"; then :
8620 ac_cv_lib_pthread_pthread_create=yes
8621 else
8622 ac_cv_lib_pthread_pthread_create=no
8624 rm -f core conftest.err conftest.$ac_objext \
8625 conftest$ac_exeext conftest.$ac_ext
8626 LIBS=$ac_check_lib_save_LIBS
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8629 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8630 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8631 PTHREAD_LIBS="-lpthread"
8638 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8639 case "x$with_pthread" in
8640 xno) ;;
8641 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8642 Wine cannot support threads without libpthread.
8643 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8644 esac
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8649 $as_echo_n "checking for X... " >&6; }
8652 # Check whether --with-x was given.
8653 if test "${with_x+set}" = set; then :
8654 withval=$with_x;
8657 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8658 if test "x$with_x" = xno; then
8659 # The user explicitly disabled X.
8660 have_x=disabled
8661 else
8662 case $x_includes,$x_libraries in #(
8663 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8664 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8665 $as_echo_n "(cached) " >&6
8666 else
8667 # One or both of the vars are not set, and there is no cached value.
8668 ac_x_includes=no ac_x_libraries=no
8669 rm -f -r conftest.dir
8670 if mkdir conftest.dir; then
8671 cd conftest.dir
8672 cat >Imakefile <<'_ACEOF'
8673 incroot:
8674 @echo incroot='${INCROOT}'
8675 usrlibdir:
8676 @echo usrlibdir='${USRLIBDIR}'
8677 libdir:
8678 @echo libdir='${LIBDIR}'
8679 _ACEOF
8680 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8681 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8682 for ac_var in incroot usrlibdir libdir; do
8683 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8684 done
8685 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8686 for ac_extension in a so sl dylib la dll; do
8687 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8688 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8689 ac_im_usrlibdir=$ac_im_libdir; break
8691 done
8692 # Screen out bogus values from the imake configuration. They are
8693 # bogus both because they are the default anyway, and because
8694 # using them would break gcc on systems where it needs fixed includes.
8695 case $ac_im_incroot in
8696 /usr/include) ac_x_includes= ;;
8697 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8698 esac
8699 case $ac_im_usrlibdir in
8700 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8701 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8702 esac
8704 cd ..
8705 rm -f -r conftest.dir
8708 # Standard set of common directories for X headers.
8709 # Check X11 before X11Rn because it is often a symlink to the current release.
8710 ac_x_header_dirs='
8711 /usr/X11/include
8712 /usr/X11R7/include
8713 /usr/X11R6/include
8714 /usr/X11R5/include
8715 /usr/X11R4/include
8717 /usr/include/X11
8718 /usr/include/X11R7
8719 /usr/include/X11R6
8720 /usr/include/X11R5
8721 /usr/include/X11R4
8723 /usr/local/X11/include
8724 /usr/local/X11R7/include
8725 /usr/local/X11R6/include
8726 /usr/local/X11R5/include
8727 /usr/local/X11R4/include
8729 /usr/local/include/X11
8730 /usr/local/include/X11R7
8731 /usr/local/include/X11R6
8732 /usr/local/include/X11R5
8733 /usr/local/include/X11R4
8735 /usr/X386/include
8736 /usr/x386/include
8737 /usr/XFree86/include/X11
8739 /usr/include
8740 /usr/local/include
8741 /usr/unsupported/include
8742 /usr/athena/include
8743 /usr/local/x11r5/include
8744 /usr/lpp/Xamples/include
8746 /usr/openwin/include
8747 /usr/openwin/share/include'
8749 if test "$ac_x_includes" = no; then
8750 # Guess where to find include files, by looking for Xlib.h.
8751 # First, try using that file with no special directory specified.
8752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8753 /* end confdefs.h. */
8754 #include <X11/Xlib.h>
8755 _ACEOF
8756 if ac_fn_c_try_cpp "$LINENO"; then :
8757 # We can compile using X headers with no special include directory.
8758 ac_x_includes=
8759 else
8760 for ac_dir in $ac_x_header_dirs; do
8761 if test -r "$ac_dir/X11/Xlib.h"; then
8762 ac_x_includes=$ac_dir
8763 break
8765 done
8767 rm -f conftest.err conftest.i conftest.$ac_ext
8768 fi # $ac_x_includes = no
8770 if test "$ac_x_libraries" = no; then
8771 # Check for the libraries.
8772 # See if we find them without any special options.
8773 # Don't add to $LIBS permanently.
8774 ac_save_LIBS=$LIBS
8775 LIBS="-lX11 $LIBS"
8776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8777 /* end confdefs.h. */
8778 #include <X11/Xlib.h>
8780 main ()
8782 XrmInitialize ()
8784 return 0;
8786 _ACEOF
8787 if ac_fn_c_try_link "$LINENO"; then :
8788 LIBS=$ac_save_LIBS
8789 # We can link X programs with no special library path.
8790 ac_x_libraries=
8791 else
8792 LIBS=$ac_save_LIBS
8793 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8795 # Don't even attempt the hair of trying to link an X program!
8796 for ac_extension in a so sl dylib la dll; do
8797 if test -r "$ac_dir/libX11.$ac_extension"; then
8798 ac_x_libraries=$ac_dir
8799 break 2
8801 done
8802 done
8804 rm -f core conftest.err conftest.$ac_objext \
8805 conftest$ac_exeext conftest.$ac_ext
8806 fi # $ac_x_libraries = no
8808 case $ac_x_includes,$ac_x_libraries in #(
8809 no,* | *,no | *\'*)
8810 # Didn't find X, or a directory has "'" in its name.
8811 ac_cv_have_x="have_x=no";; #(
8813 # Record where we found X for the cache.
8814 ac_cv_have_x="have_x=yes\
8815 ac_x_includes='$ac_x_includes'\
8816 ac_x_libraries='$ac_x_libraries'"
8817 esac
8819 ;; #(
8820 *) have_x=yes;;
8821 esac
8822 eval "$ac_cv_have_x"
8823 fi # $with_x != no
8825 if test "$have_x" != yes; then
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8827 $as_echo "$have_x" >&6; }
8828 no_x=yes
8829 else
8830 # If each of the values was on the command line, it overrides each guess.
8831 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8832 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8833 # Update the cache value to reflect the command line values.
8834 ac_cv_have_x="have_x=yes\
8835 ac_x_includes='$x_includes'\
8836 ac_x_libraries='$x_libraries'"
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8838 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8841 if test "$no_x" = yes; then
8842 # Not all programs may use this symbol, but it does not hurt to define it.
8844 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8846 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8847 else
8848 if test -n "$x_includes"; then
8849 X_CFLAGS="$X_CFLAGS -I$x_includes"
8852 # It would also be nice to do this for all -L options, not just this one.
8853 if test -n "$x_libraries"; then
8854 X_LIBS="$X_LIBS -L$x_libraries"
8855 # For Solaris; some versions of Sun CC require a space after -R and
8856 # others require no space. Words are not sufficient . . . .
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8858 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8859 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8860 ac_xsave_c_werror_flag=$ac_c_werror_flag
8861 ac_c_werror_flag=yes
8862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8863 /* end confdefs.h. */
8866 main ()
8870 return 0;
8872 _ACEOF
8873 if ac_fn_c_try_link "$LINENO"; then :
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8875 $as_echo "no" >&6; }
8876 X_LIBS="$X_LIBS -R$x_libraries"
8877 else
8878 LIBS="$ac_xsave_LIBS -R $x_libraries"
8879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8880 /* end confdefs.h. */
8883 main ()
8887 return 0;
8889 _ACEOF
8890 if ac_fn_c_try_link "$LINENO"; then :
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8892 $as_echo "yes" >&6; }
8893 X_LIBS="$X_LIBS -R $x_libraries"
8894 else
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8896 $as_echo "neither works" >&6; }
8898 rm -f core conftest.err conftest.$ac_objext \
8899 conftest$ac_exeext conftest.$ac_ext
8901 rm -f core conftest.err conftest.$ac_objext \
8902 conftest$ac_exeext conftest.$ac_ext
8903 ac_c_werror_flag=$ac_xsave_c_werror_flag
8904 LIBS=$ac_xsave_LIBS
8907 # Check for system-dependent libraries X programs must link with.
8908 # Do this before checking for the system-independent R6 libraries
8909 # (-lICE), since we may need -lsocket or whatever for X linking.
8911 if test "$ISC" = yes; then
8912 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8913 else
8914 # Martyn Johnson says this is needed for Ultrix, if the X
8915 # libraries were built with DECnet support. And Karl Berry says
8916 # the Alpha needs dnet_stub (dnet does not exist).
8917 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8919 /* end confdefs.h. */
8921 /* Override any GCC internal prototype to avoid an error.
8922 Use char because int might match the return type of a GCC
8923 builtin and then its argument prototype would still apply. */
8924 #ifdef __cplusplus
8925 extern "C"
8926 #endif
8927 char XOpenDisplay ();
8929 main ()
8931 return XOpenDisplay ();
8933 return 0;
8935 _ACEOF
8936 if ac_fn_c_try_link "$LINENO"; then :
8938 else
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8940 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8941 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8942 $as_echo_n "(cached) " >&6
8943 else
8944 ac_check_lib_save_LIBS=$LIBS
8945 LIBS="-ldnet $LIBS"
8946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8947 /* end confdefs.h. */
8949 /* Override any GCC internal prototype to avoid an error.
8950 Use char because int might match the return type of a GCC
8951 builtin and then its argument prototype would still apply. */
8952 #ifdef __cplusplus
8953 extern "C"
8954 #endif
8955 char dnet_ntoa ();
8957 main ()
8959 return dnet_ntoa ();
8961 return 0;
8963 _ACEOF
8964 if ac_fn_c_try_link "$LINENO"; then :
8965 ac_cv_lib_dnet_dnet_ntoa=yes
8966 else
8967 ac_cv_lib_dnet_dnet_ntoa=no
8969 rm -f core conftest.err conftest.$ac_objext \
8970 conftest$ac_exeext conftest.$ac_ext
8971 LIBS=$ac_check_lib_save_LIBS
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8974 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8975 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8976 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8979 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8981 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8982 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8983 $as_echo_n "(cached) " >&6
8984 else
8985 ac_check_lib_save_LIBS=$LIBS
8986 LIBS="-ldnet_stub $LIBS"
8987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8988 /* end confdefs.h. */
8990 /* Override any GCC internal prototype to avoid an error.
8991 Use char because int might match the return type of a GCC
8992 builtin and then its argument prototype would still apply. */
8993 #ifdef __cplusplus
8994 extern "C"
8995 #endif
8996 char dnet_ntoa ();
8998 main ()
9000 return dnet_ntoa ();
9002 return 0;
9004 _ACEOF
9005 if ac_fn_c_try_link "$LINENO"; then :
9006 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9007 else
9008 ac_cv_lib_dnet_stub_dnet_ntoa=no
9010 rm -f core conftest.err conftest.$ac_objext \
9011 conftest$ac_exeext conftest.$ac_ext
9012 LIBS=$ac_check_lib_save_LIBS
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9015 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9016 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9017 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9022 rm -f core conftest.err conftest.$ac_objext \
9023 conftest$ac_exeext conftest.$ac_ext
9024 LIBS="$ac_xsave_LIBS"
9026 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9027 # to get the SysV transport functions.
9028 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9029 # needs -lnsl.
9030 # The nsl library prevents programs from opening the X display
9031 # on Irix 5.2, according to T.E. Dickey.
9032 # The functions gethostbyname, getservbyname, and inet_addr are
9033 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9034 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9035 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9039 if test $ac_cv_func_gethostbyname = no; then
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9041 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9042 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9043 $as_echo_n "(cached) " >&6
9044 else
9045 ac_check_lib_save_LIBS=$LIBS
9046 LIBS="-lnsl $LIBS"
9047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9048 /* end confdefs.h. */
9050 /* Override any GCC internal prototype to avoid an error.
9051 Use char because int might match the return type of a GCC
9052 builtin and then its argument prototype would still apply. */
9053 #ifdef __cplusplus
9054 extern "C"
9055 #endif
9056 char gethostbyname ();
9058 main ()
9060 return gethostbyname ();
9062 return 0;
9064 _ACEOF
9065 if ac_fn_c_try_link "$LINENO"; then :
9066 ac_cv_lib_nsl_gethostbyname=yes
9067 else
9068 ac_cv_lib_nsl_gethostbyname=no
9070 rm -f core conftest.err conftest.$ac_objext \
9071 conftest$ac_exeext conftest.$ac_ext
9072 LIBS=$ac_check_lib_save_LIBS
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9075 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9076 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9077 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9080 if test $ac_cv_lib_nsl_gethostbyname = no; then
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9082 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9083 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9084 $as_echo_n "(cached) " >&6
9085 else
9086 ac_check_lib_save_LIBS=$LIBS
9087 LIBS="-lbsd $LIBS"
9088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9089 /* end confdefs.h. */
9091 /* Override any GCC internal prototype to avoid an error.
9092 Use char because int might match the return type of a GCC
9093 builtin and then its argument prototype would still apply. */
9094 #ifdef __cplusplus
9095 extern "C"
9096 #endif
9097 char gethostbyname ();
9099 main ()
9101 return gethostbyname ();
9103 return 0;
9105 _ACEOF
9106 if ac_fn_c_try_link "$LINENO"; then :
9107 ac_cv_lib_bsd_gethostbyname=yes
9108 else
9109 ac_cv_lib_bsd_gethostbyname=no
9111 rm -f core conftest.err conftest.$ac_objext \
9112 conftest$ac_exeext conftest.$ac_ext
9113 LIBS=$ac_check_lib_save_LIBS
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9116 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9117 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9118 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9124 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9125 # socket/setsockopt and other routines are undefined under SCO ODT
9126 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9127 # on later versions), says Simon Leinen: it contains gethostby*
9128 # variants that don't use the name server (or something). -lsocket
9129 # must be given before -lnsl if both are needed. We assume that
9130 # if connect needs -lnsl, so does gethostbyname.
9131 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9132 if test "x$ac_cv_func_connect" = xyes; then :
9136 if test $ac_cv_func_connect = no; then
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9138 $as_echo_n "checking for connect in -lsocket... " >&6; }
9139 if ${ac_cv_lib_socket_connect+:} false; then :
9140 $as_echo_n "(cached) " >&6
9141 else
9142 ac_check_lib_save_LIBS=$LIBS
9143 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9145 /* end confdefs.h. */
9147 /* Override any GCC internal prototype to avoid an error.
9148 Use char because int might match the return type of a GCC
9149 builtin and then its argument prototype would still apply. */
9150 #ifdef __cplusplus
9151 extern "C"
9152 #endif
9153 char connect ();
9155 main ()
9157 return connect ();
9159 return 0;
9161 _ACEOF
9162 if ac_fn_c_try_link "$LINENO"; then :
9163 ac_cv_lib_socket_connect=yes
9164 else
9165 ac_cv_lib_socket_connect=no
9167 rm -f core conftest.err conftest.$ac_objext \
9168 conftest$ac_exeext conftest.$ac_ext
9169 LIBS=$ac_check_lib_save_LIBS
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9172 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9173 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9174 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9179 # Guillermo Gomez says -lposix is necessary on A/UX.
9180 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9181 if test "x$ac_cv_func_remove" = xyes; then :
9185 if test $ac_cv_func_remove = no; then
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9187 $as_echo_n "checking for remove in -lposix... " >&6; }
9188 if ${ac_cv_lib_posix_remove+:} false; then :
9189 $as_echo_n "(cached) " >&6
9190 else
9191 ac_check_lib_save_LIBS=$LIBS
9192 LIBS="-lposix $LIBS"
9193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9194 /* end confdefs.h. */
9196 /* Override any GCC internal prototype to avoid an error.
9197 Use char because int might match the return type of a GCC
9198 builtin and then its argument prototype would still apply. */
9199 #ifdef __cplusplus
9200 extern "C"
9201 #endif
9202 char remove ();
9204 main ()
9206 return remove ();
9208 return 0;
9210 _ACEOF
9211 if ac_fn_c_try_link "$LINENO"; then :
9212 ac_cv_lib_posix_remove=yes
9213 else
9214 ac_cv_lib_posix_remove=no
9216 rm -f core conftest.err conftest.$ac_objext \
9217 conftest$ac_exeext conftest.$ac_ext
9218 LIBS=$ac_check_lib_save_LIBS
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9221 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9222 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9223 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9228 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9229 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9230 if test "x$ac_cv_func_shmat" = xyes; then :
9234 if test $ac_cv_func_shmat = no; then
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9236 $as_echo_n "checking for shmat in -lipc... " >&6; }
9237 if ${ac_cv_lib_ipc_shmat+:} false; then :
9238 $as_echo_n "(cached) " >&6
9239 else
9240 ac_check_lib_save_LIBS=$LIBS
9241 LIBS="-lipc $LIBS"
9242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9243 /* end confdefs.h. */
9245 /* Override any GCC internal prototype to avoid an error.
9246 Use char because int might match the return type of a GCC
9247 builtin and then its argument prototype would still apply. */
9248 #ifdef __cplusplus
9249 extern "C"
9250 #endif
9251 char shmat ();
9253 main ()
9255 return shmat ();
9257 return 0;
9259 _ACEOF
9260 if ac_fn_c_try_link "$LINENO"; then :
9261 ac_cv_lib_ipc_shmat=yes
9262 else
9263 ac_cv_lib_ipc_shmat=no
9265 rm -f core conftest.err conftest.$ac_objext \
9266 conftest$ac_exeext conftest.$ac_ext
9267 LIBS=$ac_check_lib_save_LIBS
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9270 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9271 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9272 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9278 # Check for libraries that X11R6 Xt/Xaw programs need.
9279 ac_save_LDFLAGS=$LDFLAGS
9280 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9281 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9282 # check for ICE first), but we must link in the order -lSM -lICE or
9283 # we get undefined symbols. So assume we have SM if we have ICE.
9284 # These have to be linked with before -lX11, unlike the other
9285 # libraries we check for below, so use a different variable.
9286 # John Interrante, Karl Berry
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9288 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9289 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9290 $as_echo_n "(cached) " >&6
9291 else
9292 ac_check_lib_save_LIBS=$LIBS
9293 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9295 /* end confdefs.h. */
9297 /* Override any GCC internal prototype to avoid an error.
9298 Use char because int might match the return type of a GCC
9299 builtin and then its argument prototype would still apply. */
9300 #ifdef __cplusplus
9301 extern "C"
9302 #endif
9303 char IceConnectionNumber ();
9305 main ()
9307 return IceConnectionNumber ();
9309 return 0;
9311 _ACEOF
9312 if ac_fn_c_try_link "$LINENO"; then :
9313 ac_cv_lib_ICE_IceConnectionNumber=yes
9314 else
9315 ac_cv_lib_ICE_IceConnectionNumber=no
9317 rm -f core conftest.err conftest.$ac_objext \
9318 conftest$ac_exeext conftest.$ac_ext
9319 LIBS=$ac_check_lib_save_LIBS
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9322 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9323 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9324 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9327 LDFLAGS=$ac_save_LDFLAGS
9332 if test "$have_x" = "yes"
9333 then
9334 ac_save_CPPFLAGS="$CPPFLAGS"
9335 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9338 $as_echo_n "checking for -lX11... " >&6; }
9339 if ${ac_cv_lib_soname_X11+:} false; then :
9340 $as_echo_n "(cached) " >&6
9341 else
9342 ac_check_soname_save_LIBS=$LIBS
9343 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9345 /* end confdefs.h. */
9347 /* Override any GCC internal prototype to avoid an error.
9348 Use char because int might match the return type of a GCC
9349 builtin and then its argument prototype would still apply. */
9350 #ifdef __cplusplus
9351 extern "C"
9352 #endif
9353 char XCreateWindow ();
9355 main ()
9357 return XCreateWindow ();
9359 return 0;
9361 _ACEOF
9362 if ac_fn_c_try_link "$LINENO"; then :
9363 case "$LIBEXT" in
9364 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9365 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'` ;;
9366 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9367 if ${ac_cv_lib_soname_X11:+false} :; then :
9368 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9369 fi ;;
9370 esac
9372 rm -f core conftest.err conftest.$ac_objext \
9373 conftest$ac_exeext conftest.$ac_ext
9374 LIBS=$ac_check_soname_save_LIBS
9376 if ${ac_cv_lib_soname_X11:+false} :; then :
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9378 $as_echo "not found" >&6; }
9380 else
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9382 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9384 cat >>confdefs.h <<_ACEOF
9385 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9386 _ACEOF
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9391 $as_echo_n "checking for -lXext... " >&6; }
9392 if ${ac_cv_lib_soname_Xext+:} false; then :
9393 $as_echo_n "(cached) " >&6
9394 else
9395 ac_check_soname_save_LIBS=$LIBS
9396 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9398 /* end confdefs.h. */
9400 /* Override any GCC internal prototype to avoid an error.
9401 Use char because int might match the return type of a GCC
9402 builtin and then its argument prototype would still apply. */
9403 #ifdef __cplusplus
9404 extern "C"
9405 #endif
9406 char XextCreateExtension ();
9408 main ()
9410 return XextCreateExtension ();
9412 return 0;
9414 _ACEOF
9415 if ac_fn_c_try_link "$LINENO"; then :
9416 case "$LIBEXT" in
9417 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9418 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'` ;;
9419 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9420 if ${ac_cv_lib_soname_Xext:+false} :; then :
9421 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9422 fi ;;
9423 esac
9425 rm -f core conftest.err conftest.$ac_objext \
9426 conftest$ac_exeext conftest.$ac_ext
9427 LIBS=$ac_check_soname_save_LIBS
9429 if ${ac_cv_lib_soname_Xext:+false} :; then :
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9431 $as_echo "not found" >&6; }
9433 else
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9435 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9437 cat >>confdefs.h <<_ACEOF
9438 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9439 _ACEOF
9441 X_LIBS="$X_LIBS -lXext"
9443 X_LIBS="$X_LIBS -lX11"
9445 for ac_header in X11/Xlib.h \
9446 X11/XKBlib.h \
9447 X11/Xutil.h \
9448 X11/Xcursor/Xcursor.h \
9449 X11/extensions/shape.h \
9450 X11/extensions/XInput.h \
9451 X11/extensions/XInput2.h \
9452 X11/extensions/XShm.h \
9453 X11/extensions/Xcomposite.h \
9454 X11/extensions/Xinerama.h \
9455 X11/extensions/Xrandr.h \
9456 X11/extensions/Xrender.h \
9457 X11/extensions/xf86vmode.h \
9458 X11/extensions/xf86vmproto.h
9459 do :
9460 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9461 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9462 # include <X11/Xlib.h>
9463 #endif
9464 #ifdef HAVE_X11_XUTIL_H
9465 # include <X11/Xutil.h>
9466 #endif
9468 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9469 cat >>confdefs.h <<_ACEOF
9470 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9471 _ACEOF
9475 done
9478 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9479 then
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9481 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9482 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9483 $as_echo_n "(cached) " >&6
9484 else
9485 ac_check_lib_save_LIBS=$LIBS
9486 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9488 /* end confdefs.h. */
9490 /* Override any GCC internal prototype to avoid an error.
9491 Use char because int might match the return type of a GCC
9492 builtin and then its argument prototype would still apply. */
9493 #ifdef __cplusplus
9494 extern "C"
9495 #endif
9496 char XkbQueryExtension ();
9498 main ()
9500 return XkbQueryExtension ();
9502 return 0;
9504 _ACEOF
9505 if ac_fn_c_try_link "$LINENO"; then :
9506 ac_cv_lib_X11_XkbQueryExtension=yes
9507 else
9508 ac_cv_lib_X11_XkbQueryExtension=no
9510 rm -f core conftest.err conftest.$ac_objext \
9511 conftest$ac_exeext conftest.$ac_ext
9512 LIBS=$ac_check_lib_save_LIBS
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9515 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9516 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9518 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9524 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9525 then
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9527 $as_echo_n "checking for -lXcursor... " >&6; }
9528 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9529 $as_echo_n "(cached) " >&6
9530 else
9531 ac_check_soname_save_LIBS=$LIBS
9532 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9534 /* end confdefs.h. */
9536 /* Override any GCC internal prototype to avoid an error.
9537 Use char because int might match the return type of a GCC
9538 builtin and then its argument prototype would still apply. */
9539 #ifdef __cplusplus
9540 extern "C"
9541 #endif
9542 char XcursorImageLoadCursor ();
9544 main ()
9546 return XcursorImageLoadCursor ();
9548 return 0;
9550 _ACEOF
9551 if ac_fn_c_try_link "$LINENO"; then :
9552 case "$LIBEXT" in
9553 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9554 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'` ;;
9555 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9556 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9557 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9558 fi ;;
9559 esac
9561 rm -f core conftest.err conftest.$ac_objext \
9562 conftest$ac_exeext conftest.$ac_ext
9563 LIBS=$ac_check_soname_save_LIBS
9565 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9567 $as_echo "not found" >&6; }
9569 else
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9571 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9573 cat >>confdefs.h <<_ACEOF
9574 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9575 _ACEOF
9580 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9581 case "x$with_xcursor" in
9582 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9583 xno) ;;
9584 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9585 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9586 esac
9589 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9590 then
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9592 $as_echo_n "checking for -lXi... " >&6; }
9593 if ${ac_cv_lib_soname_Xi+:} false; then :
9594 $as_echo_n "(cached) " >&6
9595 else
9596 ac_check_soname_save_LIBS=$LIBS
9597 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9599 /* end confdefs.h. */
9601 /* Override any GCC internal prototype to avoid an error.
9602 Use char because int might match the return type of a GCC
9603 builtin and then its argument prototype would still apply. */
9604 #ifdef __cplusplus
9605 extern "C"
9606 #endif
9607 char XOpenDevice ();
9609 main ()
9611 return XOpenDevice ();
9613 return 0;
9615 _ACEOF
9616 if ac_fn_c_try_link "$LINENO"; then :
9617 case "$LIBEXT" in
9618 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9619 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'` ;;
9620 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9621 if ${ac_cv_lib_soname_Xi:+false} :; then :
9622 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9623 fi ;;
9624 esac
9626 rm -f core conftest.err conftest.$ac_objext \
9627 conftest$ac_exeext conftest.$ac_ext
9628 LIBS=$ac_check_soname_save_LIBS
9630 if ${ac_cv_lib_soname_Xi:+false} :; then :
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9632 $as_echo "not found" >&6; }
9634 else
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9636 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9638 cat >>confdefs.h <<_ACEOF
9639 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9640 _ACEOF
9645 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9646 case "x$with_xinput" in
9647 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9648 xno) ;;
9649 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9650 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9651 esac
9654 if test "x$ac_cv_lib_soname_Xi" != x
9655 then
9656 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9657 case "x$with_xinput2" in
9658 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9659 xno) ;;
9660 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9661 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9662 esac
9666 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9667 then
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9669 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9670 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9671 $as_echo_n "(cached) " >&6
9672 else
9673 ac_check_lib_save_LIBS=$LIBS
9674 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9676 /* end confdefs.h. */
9678 /* Override any GCC internal prototype to avoid an error.
9679 Use char because int might match the return type of a GCC
9680 builtin and then its argument prototype would still apply. */
9681 #ifdef __cplusplus
9682 extern "C"
9683 #endif
9684 char XShmQueryExtension ();
9686 main ()
9688 return XShmQueryExtension ();
9690 return 0;
9692 _ACEOF
9693 if ac_fn_c_try_link "$LINENO"; then :
9694 ac_cv_lib_Xext_XShmQueryExtension=yes
9695 else
9696 ac_cv_lib_Xext_XShmQueryExtension=no
9698 rm -f core conftest.err conftest.$ac_objext \
9699 conftest$ac_exeext conftest.$ac_ext
9700 LIBS=$ac_check_lib_save_LIBS
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9703 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9704 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9706 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9711 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9712 case "x$with_xshm" in
9713 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9714 xno) ;;
9715 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9716 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9717 esac
9720 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9721 then
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9723 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9724 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9725 $as_echo_n "(cached) " >&6
9726 else
9727 ac_check_lib_save_LIBS=$LIBS
9728 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9730 /* end confdefs.h. */
9732 /* Override any GCC internal prototype to avoid an error.
9733 Use char because int might match the return type of a GCC
9734 builtin and then its argument prototype would still apply. */
9735 #ifdef __cplusplus
9736 extern "C"
9737 #endif
9738 char XShapeQueryExtension ();
9740 main ()
9742 return XShapeQueryExtension ();
9744 return 0;
9746 _ACEOF
9747 if ac_fn_c_try_link "$LINENO"; then :
9748 ac_cv_lib_Xext_XShapeQueryExtension=yes
9749 else
9750 ac_cv_lib_Xext_XShapeQueryExtension=no
9752 rm -f core conftest.err conftest.$ac_objext \
9753 conftest$ac_exeext conftest.$ac_ext
9754 LIBS=$ac_check_lib_save_LIBS
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9757 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9758 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9760 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9765 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9766 case "x$with_xshape" in
9767 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9768 xno) ;;
9769 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9770 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9771 esac
9774 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9775 then
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9777 $as_echo_n "checking for -lXxf86vm... " >&6; }
9778 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9779 $as_echo_n "(cached) " >&6
9780 else
9781 ac_check_soname_save_LIBS=$LIBS
9782 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9784 /* end confdefs.h. */
9786 /* Override any GCC internal prototype to avoid an error.
9787 Use char because int might match the return type of a GCC
9788 builtin and then its argument prototype would still apply. */
9789 #ifdef __cplusplus
9790 extern "C"
9791 #endif
9792 char XF86VidModeQueryExtension ();
9794 main ()
9796 return XF86VidModeQueryExtension ();
9798 return 0;
9800 _ACEOF
9801 if ac_fn_c_try_link "$LINENO"; then :
9802 case "$LIBEXT" in
9803 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9804 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'` ;;
9805 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9806 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9807 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9808 fi ;;
9809 esac
9811 rm -f core conftest.err conftest.$ac_objext \
9812 conftest$ac_exeext conftest.$ac_ext
9813 LIBS=$ac_check_soname_save_LIBS
9815 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9817 $as_echo "not found" >&6; }
9819 else
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9821 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9823 cat >>confdefs.h <<_ACEOF
9824 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9825 _ACEOF
9830 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9831 case "x$with_xxf86vm" in
9832 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9833 xno) ;;
9834 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9835 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9836 esac
9839 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9840 then
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9842 $as_echo_n "checking for -lXrender... " >&6; }
9843 if ${ac_cv_lib_soname_Xrender+:} false; then :
9844 $as_echo_n "(cached) " >&6
9845 else
9846 ac_check_soname_save_LIBS=$LIBS
9847 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9849 /* end confdefs.h. */
9851 /* Override any GCC internal prototype to avoid an error.
9852 Use char because int might match the return type of a GCC
9853 builtin and then its argument prototype would still apply. */
9854 #ifdef __cplusplus
9855 extern "C"
9856 #endif
9857 char XRenderQueryExtension ();
9859 main ()
9861 return XRenderQueryExtension ();
9863 return 0;
9865 _ACEOF
9866 if ac_fn_c_try_link "$LINENO"; then :
9867 case "$LIBEXT" in
9868 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9869 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'` ;;
9870 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9871 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9872 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9873 fi ;;
9874 esac
9876 rm -f core conftest.err conftest.$ac_objext \
9877 conftest$ac_exeext conftest.$ac_ext
9878 LIBS=$ac_check_soname_save_LIBS
9880 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9882 $as_echo "not found" >&6; }
9884 else
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9886 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9888 cat >>confdefs.h <<_ACEOF
9889 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9890 _ACEOF
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9893 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9894 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9895 $as_echo_n "(cached) " >&6
9896 else
9897 ac_check_lib_save_LIBS=$LIBS
9898 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9900 /* end confdefs.h. */
9902 /* Override any GCC internal prototype to avoid an error.
9903 Use char because int might match the return type of a GCC
9904 builtin and then its argument prototype would still apply. */
9905 #ifdef __cplusplus
9906 extern "C"
9907 #endif
9908 char XRenderSetPictureTransform ();
9910 main ()
9912 return XRenderSetPictureTransform ();
9914 return 0;
9916 _ACEOF
9917 if ac_fn_c_try_link "$LINENO"; then :
9918 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9919 else
9920 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9922 rm -f core conftest.err conftest.$ac_objext \
9923 conftest$ac_exeext conftest.$ac_ext
9924 LIBS=$ac_check_lib_save_LIBS
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9927 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9928 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9930 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9935 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9936 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9937 $as_echo_n "(cached) " >&6
9938 else
9939 ac_check_lib_save_LIBS=$LIBS
9940 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9942 /* end confdefs.h. */
9944 /* Override any GCC internal prototype to avoid an error.
9945 Use char because int might match the return type of a GCC
9946 builtin and then its argument prototype would still apply. */
9947 #ifdef __cplusplus
9948 extern "C"
9949 #endif
9950 char XRenderCreateLinearGradient ();
9952 main ()
9954 return XRenderCreateLinearGradient ();
9956 return 0;
9958 _ACEOF
9959 if ac_fn_c_try_link "$LINENO"; then :
9960 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9961 else
9962 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9964 rm -f core conftest.err conftest.$ac_objext \
9965 conftest$ac_exeext conftest.$ac_ext
9966 LIBS=$ac_check_lib_save_LIBS
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9969 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9970 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9972 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9979 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9980 case "x$with_xrender" in
9981 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9982 xno) ;;
9983 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9984 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9985 esac
9988 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9989 then
9990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9991 /* end confdefs.h. */
9992 #include <X11/Xlib.h>
9993 #include <X11/extensions/Xrandr.h>
9995 main ()
9997 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9999 return 0;
10001 _ACEOF
10002 if ac_fn_c_try_compile "$LINENO"; then :
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10004 $as_echo_n "checking for -lXrandr... " >&6; }
10005 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10006 $as_echo_n "(cached) " >&6
10007 else
10008 ac_check_soname_save_LIBS=$LIBS
10009 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10011 /* end confdefs.h. */
10013 /* Override any GCC internal prototype to avoid an error.
10014 Use char because int might match the return type of a GCC
10015 builtin and then its argument prototype would still apply. */
10016 #ifdef __cplusplus
10017 extern "C"
10018 #endif
10019 char XRRQueryExtension ();
10021 main ()
10023 return XRRQueryExtension ();
10025 return 0;
10027 _ACEOF
10028 if ac_fn_c_try_link "$LINENO"; then :
10029 case "$LIBEXT" in
10030 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10031 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'` ;;
10032 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10033 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10034 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10035 fi ;;
10036 esac
10038 rm -f core conftest.err conftest.$ac_objext \
10039 conftest$ac_exeext conftest.$ac_ext
10040 LIBS=$ac_check_soname_save_LIBS
10042 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10044 $as_echo "not found" >&6; }
10046 else
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10048 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10050 cat >>confdefs.h <<_ACEOF
10051 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10052 _ACEOF
10054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10055 /* end confdefs.h. */
10056 #include <X11/Xlib.h>
10057 #include <X11/extensions/Xrandr.h>
10059 main ()
10061 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10063 return 0;
10065 _ACEOF
10066 if ac_fn_c_try_compile "$LINENO"; then :
10068 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10076 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10077 case "x$with_xrandr" in
10078 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10079 xno) ;;
10080 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10081 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10082 esac
10085 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10086 then
10087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10088 /* end confdefs.h. */
10089 #include <X11/Xlib.h>
10090 #include <X11/extensions/Xinerama.h>
10092 main ()
10094 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10096 return 0;
10098 _ACEOF
10099 if ac_fn_c_try_compile "$LINENO"; then :
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10101 $as_echo_n "checking for -lXinerama... " >&6; }
10102 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10103 $as_echo_n "(cached) " >&6
10104 else
10105 ac_check_soname_save_LIBS=$LIBS
10106 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10108 /* end confdefs.h. */
10110 /* Override any GCC internal prototype to avoid an error.
10111 Use char because int might match the return type of a GCC
10112 builtin and then its argument prototype would still apply. */
10113 #ifdef __cplusplus
10114 extern "C"
10115 #endif
10116 char XineramaQueryScreens ();
10118 main ()
10120 return XineramaQueryScreens ();
10122 return 0;
10124 _ACEOF
10125 if ac_fn_c_try_link "$LINENO"; then :
10126 case "$LIBEXT" in
10127 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10128 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'` ;;
10129 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10130 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10131 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10132 fi ;;
10133 esac
10135 rm -f core conftest.err conftest.$ac_objext \
10136 conftest$ac_exeext conftest.$ac_ext
10137 LIBS=$ac_check_soname_save_LIBS
10139 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10141 $as_echo "not found" >&6; }
10143 else
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10145 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10147 cat >>confdefs.h <<_ACEOF
10148 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10149 _ACEOF
10154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10156 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10157 case "x$with_xinerama" in
10158 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10159 xno) ;;
10160 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10161 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10162 esac
10165 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10166 then
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10168 $as_echo_n "checking for -lXcomposite... " >&6; }
10169 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10170 $as_echo_n "(cached) " >&6
10171 else
10172 ac_check_soname_save_LIBS=$LIBS
10173 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10175 /* end confdefs.h. */
10177 /* Override any GCC internal prototype to avoid an error.
10178 Use char because int might match the return type of a GCC
10179 builtin and then its argument prototype would still apply. */
10180 #ifdef __cplusplus
10181 extern "C"
10182 #endif
10183 char XCompositeRedirectWindow ();
10185 main ()
10187 return XCompositeRedirectWindow ();
10189 return 0;
10191 _ACEOF
10192 if ac_fn_c_try_link "$LINENO"; then :
10193 case "$LIBEXT" in
10194 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10195 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'` ;;
10196 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10197 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10198 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10199 fi ;;
10200 esac
10202 rm -f core conftest.err conftest.$ac_objext \
10203 conftest$ac_exeext conftest.$ac_ext
10204 LIBS=$ac_check_soname_save_LIBS
10206 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10208 $as_echo "not found" >&6; }
10210 else
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10212 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10214 cat >>confdefs.h <<_ACEOF
10215 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10216 _ACEOF
10221 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10222 case "x$with_xcomposite" in
10223 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10224 xno) ;;
10225 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10226 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10227 esac
10230 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10231 #include <X11/Xlib.h>
10232 #endif
10234 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10236 cat >>confdefs.h <<_ACEOF
10237 #define HAVE_XICCALLBACK_CALLBACK 1
10238 _ACEOF
10242 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10243 #include <X11/Xlib.h>
10244 #endif
10246 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10248 cat >>confdefs.h <<_ACEOF
10249 #define HAVE_XEVENT_XCOOKIE 1
10250 _ACEOF
10257 opengl_msg=""
10258 if test "x$with_opengl" != "xno"
10259 then
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10261 $as_echo_n "checking for -lGL... " >&6; }
10262 if ${ac_cv_lib_soname_GL+:} false; then :
10263 $as_echo_n "(cached) " >&6
10264 else
10265 ac_check_soname_save_LIBS=$LIBS
10266 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10268 /* end confdefs.h. */
10270 /* Override any GCC internal prototype to avoid an error.
10271 Use char because int might match the return type of a GCC
10272 builtin and then its argument prototype would still apply. */
10273 #ifdef __cplusplus
10274 extern "C"
10275 #endif
10276 char glXCreateContext ();
10278 main ()
10280 return glXCreateContext ();
10282 return 0;
10284 _ACEOF
10285 if ac_fn_c_try_link "$LINENO"; then :
10286 case "$LIBEXT" in
10287 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10288 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'` ;;
10289 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10290 if ${ac_cv_lib_soname_GL:+false} :; then :
10291 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10292 fi ;;
10293 esac
10295 rm -f core conftest.err conftest.$ac_objext \
10296 conftest$ac_exeext conftest.$ac_ext
10297 LIBS=$ac_check_soname_save_LIBS
10299 if ${ac_cv_lib_soname_GL:+false} :; then :
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10301 $as_echo "not found" >&6; }
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10303 $as_echo_n "checking for -lGL... " >&6; }
10304 if ${ac_cv_lib_soname_GL+:} false; then :
10305 $as_echo_n "(cached) " >&6
10306 else
10307 ac_check_soname_save_LIBS=$LIBS
10308 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"
10309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10310 /* end confdefs.h. */
10312 /* Override any GCC internal prototype to avoid an error.
10313 Use char because int might match the return type of a GCC
10314 builtin and then its argument prototype would still apply. */
10315 #ifdef __cplusplus
10316 extern "C"
10317 #endif
10318 char glXCreateContext ();
10320 main ()
10322 return glXCreateContext ();
10324 return 0;
10326 _ACEOF
10327 if ac_fn_c_try_link "$LINENO"; then :
10328 case "$LIBEXT" in
10329 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10330 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'` ;;
10331 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10332 if ${ac_cv_lib_soname_GL:+false} :; then :
10333 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10334 fi ;;
10335 esac
10337 rm -f core conftest.err conftest.$ac_objext \
10338 conftest$ac_exeext conftest.$ac_ext
10339 LIBS=$ac_check_soname_save_LIBS
10341 if ${ac_cv_lib_soname_GL:+false} :; then :
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10343 $as_echo "not found" >&6; }
10344 if test -f /usr/X11R6/lib/libGL.a
10345 then
10346 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10347 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10348 else
10349 opengl_msg="No OpenGL library found on this system."
10351 else
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10353 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10355 cat >>confdefs.h <<_ACEOF
10356 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10357 _ACEOF
10359 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"
10361 else
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10363 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10365 cat >>confdefs.h <<_ACEOF
10366 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10367 _ACEOF
10369 OPENGL_LIBS="-lGL"
10371 if test "x$with_glu" != "xno"
10372 then
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10374 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10375 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10376 $as_echo_n "(cached) " >&6
10377 else
10378 ac_check_lib_save_LIBS=$LIBS
10379 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10381 /* end confdefs.h. */
10383 /* Override any GCC internal prototype to avoid an error.
10384 Use char because int might match the return type of a GCC
10385 builtin and then its argument prototype would still apply. */
10386 #ifdef __cplusplus
10387 extern "C"
10388 #endif
10389 char gluLookAt ();
10391 main ()
10393 return gluLookAt ();
10395 return 0;
10397 _ACEOF
10398 if ac_fn_c_try_link "$LINENO"; then :
10399 ac_cv_lib_GLU_gluLookAt=yes
10400 else
10401 ac_cv_lib_GLU_gluLookAt=no
10403 rm -f core conftest.err conftest.$ac_objext \
10404 conftest$ac_exeext conftest.$ac_ext
10405 LIBS=$ac_check_lib_save_LIBS
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10408 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10409 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10413 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10414 case "x$with_glu" in
10415 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10416 xno) ;;
10417 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10418 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10419 esac
10423 if test "x$with_osmesa" != "xno"
10424 then
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10426 $as_echo_n "checking for -lOSMesa... " >&6; }
10427 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10428 $as_echo_n "(cached) " >&6
10429 else
10430 ac_check_soname_save_LIBS=$LIBS
10431 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10433 /* end confdefs.h. */
10435 /* Override any GCC internal prototype to avoid an error.
10436 Use char because int might match the return type of a GCC
10437 builtin and then its argument prototype would still apply. */
10438 #ifdef __cplusplus
10439 extern "C"
10440 #endif
10441 char glAccum ();
10443 main ()
10445 return glAccum ();
10447 return 0;
10449 _ACEOF
10450 if ac_fn_c_try_link "$LINENO"; then :
10451 case "$LIBEXT" in
10452 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10453 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'` ;;
10454 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10455 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10456 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10457 fi ;;
10458 esac
10460 rm -f core conftest.err conftest.$ac_objext \
10461 conftest$ac_exeext conftest.$ac_ext
10462 LIBS=$ac_check_soname_save_LIBS
10464 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10466 $as_echo "not found" >&6; }
10468 else
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10470 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10472 cat >>confdefs.h <<_ACEOF
10473 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10474 _ACEOF
10478 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10479 case "x$with_osmesa" in
10480 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10481 xno) ;;
10482 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10483 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10484 esac
10488 if test -n "$opengl_msg"; then :
10489 case "x$with_opengl" in
10490 x) as_fn_append wine_warnings "|$opengl_msg
10491 OpenGL and Direct3D won't be supported." ;;
10492 xno) ;;
10493 *) as_fn_error $? "$opengl_msg
10494 OpenGL and Direct3D won't be supported.
10495 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10496 esac
10499 CPPFLAGS="$ac_save_CPPFLAGS"
10500 else
10501 X_CFLAGS=""
10502 X_LIBS=""
10503 enable_winex11_drv=${enable_winex11_drv:-no}
10505 if test "x$X_LIBS" = "x"; then :
10506 case "x$with_x" in
10507 xno) ;;
10508 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10509 without X support, which probably isn't what you want. You will need
10510 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10511 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10512 esac
10515 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10517 if test "$ac_cv_header_CL_cl_h" = "yes"
10518 then
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10520 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10521 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10522 $as_echo_n "(cached) " >&6
10523 else
10524 ac_check_lib_save_LIBS=$LIBS
10525 LIBS="-lOpenCL $LIBS"
10526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10527 /* end confdefs.h. */
10529 /* Override any GCC internal prototype to avoid an error.
10530 Use char because int might match the return type of a GCC
10531 builtin and then its argument prototype would still apply. */
10532 #ifdef __cplusplus
10533 extern "C"
10534 #endif
10535 char clGetPlatformInfo ();
10537 main ()
10539 return clGetPlatformInfo ();
10541 return 0;
10543 _ACEOF
10544 if ac_fn_c_try_link "$LINENO"; then :
10545 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10546 else
10547 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10549 rm -f core conftest.err conftest.$ac_objext \
10550 conftest$ac_exeext conftest.$ac_ext
10551 LIBS=$ac_check_lib_save_LIBS
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10554 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10555 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10556 OPENCL_LIBS="-lOpenCL"
10561 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10562 case "x$with_opencl" in
10563 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10564 xno) ;;
10565 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10566 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10567 esac
10569 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10571 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10572 then
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10574 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10575 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10576 $as_echo_n "(cached) " >&6
10577 else
10578 ac_check_lib_save_LIBS=$LIBS
10579 LIBS="-lpcap $LIBS"
10580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10581 /* end confdefs.h. */
10583 /* Override any GCC internal prototype to avoid an error.
10584 Use char because int might match the return type of a GCC
10585 builtin and then its argument prototype would still apply. */
10586 #ifdef __cplusplus
10587 extern "C"
10588 #endif
10589 char pcap_create ();
10591 main ()
10593 return pcap_create ();
10595 return 0;
10597 _ACEOF
10598 if ac_fn_c_try_link "$LINENO"; then :
10599 ac_cv_lib_pcap_pcap_create=yes
10600 else
10601 ac_cv_lib_pcap_pcap_create=no
10603 rm -f core conftest.err conftest.$ac_objext \
10604 conftest$ac_exeext conftest.$ac_ext
10605 LIBS=$ac_check_lib_save_LIBS
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10608 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10609 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10610 LIBPCAP="-lpcap"
10615 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10616 case "x$with_pcap" in
10617 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10618 xno) ;;
10619 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10620 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10621 esac
10623 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10626 if test "x$with_xml" != "xno"
10627 then
10628 if ${XML2_CFLAGS:+false} :; then :
10629 if ${PKG_CONFIG+:} false; then :
10630 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10633 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10634 if ${XML2_LIBS:+false} :; then :
10635 if ${PKG_CONFIG+:} false; then :
10636 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10639 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10640 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10641 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10642 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10643 ac_save_CPPFLAGS=$CPPFLAGS
10644 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10645 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10646 do :
10647 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10648 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10649 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10650 cat >>confdefs.h <<_ACEOF
10651 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10652 _ACEOF
10656 done
10658 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"
10659 then
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10661 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10662 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10663 $as_echo_n "(cached) " >&6
10664 else
10665 ac_check_lib_save_LIBS=$LIBS
10666 LIBS="-lxml2 $XML2_LIBS $LIBS"
10667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10668 /* end confdefs.h. */
10670 /* Override any GCC internal prototype to avoid an error.
10671 Use char because int might match the return type of a GCC
10672 builtin and then its argument prototype would still apply. */
10673 #ifdef __cplusplus
10674 extern "C"
10675 #endif
10676 char xmlParseMemory ();
10678 main ()
10680 return xmlParseMemory ();
10682 return 0;
10684 _ACEOF
10685 if ac_fn_c_try_link "$LINENO"; then :
10686 ac_cv_lib_xml2_xmlParseMemory=yes
10687 else
10688 ac_cv_lib_xml2_xmlParseMemory=no
10690 rm -f core conftest.err conftest.$ac_objext \
10691 conftest$ac_exeext conftest.$ac_ext
10692 LIBS=$ac_check_lib_save_LIBS
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10695 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10696 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10698 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10700 else
10701 XML2_LIBS=""
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10705 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10706 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10707 $as_echo_n "(cached) " >&6
10708 else
10709 ac_check_lib_save_LIBS=$LIBS
10710 LIBS="-lxml2 $XML2_LIBS $LIBS"
10711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10712 /* end confdefs.h. */
10714 /* Override any GCC internal prototype to avoid an error.
10715 Use char because int might match the return type of a GCC
10716 builtin and then its argument prototype would still apply. */
10717 #ifdef __cplusplus
10718 extern "C"
10719 #endif
10720 char xmlReadMemory ();
10722 main ()
10724 return xmlReadMemory ();
10726 return 0;
10728 _ACEOF
10729 if ac_fn_c_try_link "$LINENO"; then :
10730 ac_cv_lib_xml2_xmlReadMemory=yes
10731 else
10732 ac_cv_lib_xml2_xmlReadMemory=no
10734 rm -f core conftest.err conftest.$ac_objext \
10735 conftest$ac_exeext conftest.$ac_ext
10736 LIBS=$ac_check_lib_save_LIBS
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10739 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10740 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10742 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10747 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10748 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10749 $as_echo_n "(cached) " >&6
10750 else
10751 ac_check_lib_save_LIBS=$LIBS
10752 LIBS="-lxml2 $XML2_LIBS $LIBS"
10753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10754 /* end confdefs.h. */
10756 /* Override any GCC internal prototype to avoid an error.
10757 Use char because int might match the return type of a GCC
10758 builtin and then its argument prototype would still apply. */
10759 #ifdef __cplusplus
10760 extern "C"
10761 #endif
10762 char xmlNewDocPI ();
10764 main ()
10766 return xmlNewDocPI ();
10768 return 0;
10770 _ACEOF
10771 if ac_fn_c_try_link "$LINENO"; then :
10772 ac_cv_lib_xml2_xmlNewDocPI=yes
10773 else
10774 ac_cv_lib_xml2_xmlNewDocPI=no
10776 rm -f core conftest.err conftest.$ac_objext \
10777 conftest$ac_exeext conftest.$ac_ext
10778 LIBS=$ac_check_lib_save_LIBS
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10781 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10782 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10784 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10789 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10790 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10791 $as_echo_n "(cached) " >&6
10792 else
10793 ac_check_lib_save_LIBS=$LIBS
10794 LIBS="-lxml2 $XML2_LIBS $LIBS"
10795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10796 /* end confdefs.h. */
10798 /* Override any GCC internal prototype to avoid an error.
10799 Use char because int might match the return type of a GCC
10800 builtin and then its argument prototype would still apply. */
10801 #ifdef __cplusplus
10802 extern "C"
10803 #endif
10804 char xmlSchemaSetParserStructuredErrors ();
10806 main ()
10808 return xmlSchemaSetParserStructuredErrors ();
10810 return 0;
10812 _ACEOF
10813 if ac_fn_c_try_link "$LINENO"; then :
10814 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10815 else
10816 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10818 rm -f core conftest.err conftest.$ac_objext \
10819 conftest$ac_exeext conftest.$ac_ext
10820 LIBS=$ac_check_lib_save_LIBS
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10823 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10824 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10826 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10831 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10832 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10833 $as_echo_n "(cached) " >&6
10834 else
10835 ac_check_lib_save_LIBS=$LIBS
10836 LIBS="-lxml2 $XML2_LIBS $LIBS"
10837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10838 /* end confdefs.h. */
10840 /* Override any GCC internal prototype to avoid an error.
10841 Use char because int might match the return type of a GCC
10842 builtin and then its argument prototype would still apply. */
10843 #ifdef __cplusplus
10844 extern "C"
10845 #endif
10846 char xmlSchemaSetValidStructuredErrors ();
10848 main ()
10850 return xmlSchemaSetValidStructuredErrors ();
10852 return 0;
10854 _ACEOF
10855 if ac_fn_c_try_link "$LINENO"; then :
10856 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10857 else
10858 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10860 rm -f core conftest.err conftest.$ac_objext \
10861 conftest$ac_exeext conftest.$ac_ext
10862 LIBS=$ac_check_lib_save_LIBS
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10865 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10866 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10868 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10873 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10874 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10875 $as_echo_n "(cached) " >&6
10876 else
10877 ac_check_lib_save_LIBS=$LIBS
10878 LIBS="-lxml2 $XML2_LIBS $LIBS"
10879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10880 /* end confdefs.h. */
10882 /* Override any GCC internal prototype to avoid an error.
10883 Use char because int might match the return type of a GCC
10884 builtin and then its argument prototype would still apply. */
10885 #ifdef __cplusplus
10886 extern "C"
10887 #endif
10888 char xmlFirstElementChild ();
10890 main ()
10892 return xmlFirstElementChild ();
10894 return 0;
10896 _ACEOF
10897 if ac_fn_c_try_link "$LINENO"; then :
10898 ac_cv_lib_xml2_xmlFirstElementChild=yes
10899 else
10900 ac_cv_lib_xml2_xmlFirstElementChild=no
10902 rm -f core conftest.err conftest.$ac_objext \
10903 conftest$ac_exeext conftest.$ac_ext
10904 LIBS=$ac_check_lib_save_LIBS
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10907 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10908 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10910 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10914 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10916 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10918 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10922 else
10923 XML2_CFLAGS=""
10924 XML2_LIBS=""
10926 CPPFLAGS=$ac_save_CPPFLAGS
10927 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10928 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10931 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10932 case "x$with_xml" in
10933 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10934 xno) ;;
10935 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10936 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10937 esac
10940 if test "x$with_xslt" != "xno"
10941 then
10942 if ${XSLT_CFLAGS:+false} :; then :
10943 if ${PKG_CONFIG+:} false; then :
10944 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10947 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10948 if ${XSLT_LIBS:+false} :; then :
10949 if ${PKG_CONFIG+:} false; then :
10950 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10953 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10954 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10955 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10956 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10957 ac_save_CPPFLAGS=$CPPFLAGS
10958 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10959 for ac_header in libxslt/pattern.h libxslt/transform.h
10960 do :
10961 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10962 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10963 # include <libxslt/pattern.h>
10964 #endif
10966 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10967 cat >>confdefs.h <<_ACEOF
10968 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10969 _ACEOF
10973 done
10975 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10976 then
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10978 $as_echo_n "checking for -lxslt... " >&6; }
10979 if ${ac_cv_lib_soname_xslt+:} false; then :
10980 $as_echo_n "(cached) " >&6
10981 else
10982 ac_check_soname_save_LIBS=$LIBS
10983 LIBS="-lxslt $XSLT_LIBS $LIBS"
10984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10985 /* end confdefs.h. */
10987 /* Override any GCC internal prototype to avoid an error.
10988 Use char because int might match the return type of a GCC
10989 builtin and then its argument prototype would still apply. */
10990 #ifdef __cplusplus
10991 extern "C"
10992 #endif
10993 char xsltCompilePattern ();
10995 main ()
10997 return xsltCompilePattern ();
10999 return 0;
11001 _ACEOF
11002 if ac_fn_c_try_link "$LINENO"; then :
11003 case "$LIBEXT" in
11004 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11005 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'` ;;
11006 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11007 if ${ac_cv_lib_soname_xslt:+false} :; then :
11008 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11009 fi ;;
11010 esac
11012 rm -f core conftest.err conftest.$ac_objext \
11013 conftest$ac_exeext conftest.$ac_ext
11014 LIBS=$ac_check_soname_save_LIBS
11016 if ${ac_cv_lib_soname_xslt:+false} :; then :
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11018 $as_echo "not found" >&6; }
11020 else
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11022 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11024 cat >>confdefs.h <<_ACEOF
11025 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11026 _ACEOF
11030 else
11031 XSLT_CFLAGS=""
11033 CPPFLAGS=$ac_save_CPPFLAGS
11034 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11035 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11038 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11039 case "x$with_xslt" in
11040 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11041 xno) ;;
11042 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11043 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11044 esac
11047 if test "x$with_dbus" != "xno"
11048 then
11049 if ${DBUS_CFLAGS:+false} :; then :
11050 if ${PKG_CONFIG+:} false; then :
11051 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11055 if ${DBUS_LIBS:+false} :; then :
11056 if ${PKG_CONFIG+:} false; then :
11057 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11062 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11063 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11064 ac_save_CPPFLAGS=$CPPFLAGS
11065 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11066 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11067 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11069 $as_echo_n "checking for -ldbus-1... " >&6; }
11070 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11071 $as_echo_n "(cached) " >&6
11072 else
11073 ac_check_soname_save_LIBS=$LIBS
11074 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11076 /* end confdefs.h. */
11078 /* Override any GCC internal prototype to avoid an error.
11079 Use char because int might match the return type of a GCC
11080 builtin and then its argument prototype would still apply. */
11081 #ifdef __cplusplus
11082 extern "C"
11083 #endif
11084 char dbus_connection_close ();
11086 main ()
11088 return dbus_connection_close ();
11090 return 0;
11092 _ACEOF
11093 if ac_fn_c_try_link "$LINENO"; then :
11094 case "$LIBEXT" in
11095 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11096 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'` ;;
11097 *) 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'`
11098 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11099 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11100 fi ;;
11101 esac
11103 rm -f core conftest.err conftest.$ac_objext \
11104 conftest$ac_exeext conftest.$ac_ext
11105 LIBS=$ac_check_soname_save_LIBS
11107 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11109 $as_echo "not found" >&6; }
11110 DBUS_CFLAGS=""
11111 else
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11113 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11115 cat >>confdefs.h <<_ACEOF
11116 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11117 _ACEOF
11121 else
11122 DBUS_CFLAGS=""
11126 CPPFLAGS=$ac_save_CPPFLAGS
11127 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11128 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11131 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11132 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11133 case "x$with_dbus" in
11134 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11135 xno) ;;
11136 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11137 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11138 esac
11141 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11142 then
11143 if ${HAL_CFLAGS:+false} :; then :
11144 if ${PKG_CONFIG+:} false; then :
11145 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11149 if ${HAL_LIBS:+false} :; then :
11150 if ${PKG_CONFIG+:} false; then :
11151 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11155 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11156 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11157 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11158 ac_save_CPPFLAGS=$CPPFLAGS
11159 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11160 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11161 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11163 $as_echo_n "checking for -lhal... " >&6; }
11164 if ${ac_cv_lib_soname_hal+:} false; then :
11165 $as_echo_n "(cached) " >&6
11166 else
11167 ac_check_soname_save_LIBS=$LIBS
11168 LIBS="-lhal $HAL_LIBS $LIBS"
11169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11170 /* end confdefs.h. */
11172 /* Override any GCC internal prototype to avoid an error.
11173 Use char because int might match the return type of a GCC
11174 builtin and then its argument prototype would still apply. */
11175 #ifdef __cplusplus
11176 extern "C"
11177 #endif
11178 char libhal_ctx_new ();
11180 main ()
11182 return libhal_ctx_new ();
11184 return 0;
11186 _ACEOF
11187 if ac_fn_c_try_link "$LINENO"; then :
11188 case "$LIBEXT" in
11189 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11190 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'` ;;
11191 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11192 if ${ac_cv_lib_soname_hal:+false} :; then :
11193 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11194 fi ;;
11195 esac
11197 rm -f core conftest.err conftest.$ac_objext \
11198 conftest$ac_exeext conftest.$ac_ext
11199 LIBS=$ac_check_soname_save_LIBS
11201 if ${ac_cv_lib_soname_hal:+false} :; then :
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11203 $as_echo "not found" >&6; }
11204 HAL_CFLAGS=""
11205 else
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11207 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11209 cat >>confdefs.h <<_ACEOF
11210 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11211 _ACEOF
11215 else
11216 HAL_CFLAGS=""
11220 CPPFLAGS=$ac_save_CPPFLAGS
11221 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11222 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11224 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11225 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11226 case "x$with_hal" in
11227 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11228 xno) ;;
11229 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11230 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11231 esac
11235 if test "x$with_gnutls" != "xno"
11236 then
11237 if ${GNUTLS_CFLAGS:+false} :; then :
11238 if ${PKG_CONFIG+:} false; then :
11239 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11243 if ${GNUTLS_LIBS:+false} :; then :
11244 if ${PKG_CONFIG+:} false; then :
11245 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11250 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11251 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11252 ac_save_CPPFLAGS=$CPPFLAGS
11253 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11254 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11255 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11257 /* end confdefs.h. */
11258 #include <gnutls/gnutls.h>
11259 #include <gnutls/crypto.h>
11261 main ()
11263 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11265 return 0;
11267 _ACEOF
11268 if ac_fn_c_try_compile "$LINENO"; then :
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11270 $as_echo_n "checking for -lgnutls... " >&6; }
11271 if ${ac_cv_lib_soname_gnutls+:} false; then :
11272 $as_echo_n "(cached) " >&6
11273 else
11274 ac_check_soname_save_LIBS=$LIBS
11275 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11277 /* end confdefs.h. */
11279 /* Override any GCC internal prototype to avoid an error.
11280 Use char because int might match the return type of a GCC
11281 builtin and then its argument prototype would still apply. */
11282 #ifdef __cplusplus
11283 extern "C"
11284 #endif
11285 char gnutls_global_init ();
11287 main ()
11289 return gnutls_global_init ();
11291 return 0;
11293 _ACEOF
11294 if ac_fn_c_try_link "$LINENO"; then :
11295 case "$LIBEXT" in
11296 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11297 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'` ;;
11298 *) 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'`
11299 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11300 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'`
11301 fi ;;
11302 esac
11304 rm -f core conftest.err conftest.$ac_objext \
11305 conftest$ac_exeext conftest.$ac_ext
11306 LIBS=$ac_check_soname_save_LIBS
11308 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11310 $as_echo "not found" >&6; }
11311 GNUTLS_CFLAGS=""
11312 else
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11314 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11316 cat >>confdefs.h <<_ACEOF
11317 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11318 _ACEOF
11323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11324 else
11325 GNUTLS_CFLAGS=""
11329 CPPFLAGS=$ac_save_CPPFLAGS
11330 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11331 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11334 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11335 case "x$with_gnutls" in
11336 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11337 xno) ;;
11338 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11339 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11340 esac
11343 CURSES_LIBS=""
11344 if test "$ac_cv_header_ncurses_h" = "yes"
11345 then
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11347 $as_echo_n "checking for -lncurses... " >&6; }
11348 if ${ac_cv_lib_soname_ncurses+:} false; then :
11349 $as_echo_n "(cached) " >&6
11350 else
11351 ac_check_soname_save_LIBS=$LIBS
11352 LIBS="-lncurses $LIBS"
11353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h. */
11356 /* Override any GCC internal prototype to avoid an error.
11357 Use char because int might match the return type of a GCC
11358 builtin and then its argument prototype would still apply. */
11359 #ifdef __cplusplus
11360 extern "C"
11361 #endif
11362 char waddch ();
11364 main ()
11366 return waddch ();
11368 return 0;
11370 _ACEOF
11371 if ac_fn_c_try_link "$LINENO"; then :
11372 case "$LIBEXT" in
11373 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11374 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'` ;;
11375 *) 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'`
11376 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11377 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11378 fi ;;
11379 esac
11381 rm -f core conftest.err conftest.$ac_objext \
11382 conftest$ac_exeext conftest.$ac_ext
11383 LIBS=$ac_check_soname_save_LIBS
11385 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11387 $as_echo "not found" >&6; }
11389 else
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11391 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11393 cat >>confdefs.h <<_ACEOF
11394 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11395 _ACEOF
11397 CURSES_LIBS="-lncurses"
11399 elif test "$ac_cv_header_curses_h" = "yes"
11400 then
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11402 $as_echo_n "checking for -lcurses... " >&6; }
11403 if ${ac_cv_lib_soname_curses+:} false; then :
11404 $as_echo_n "(cached) " >&6
11405 else
11406 ac_check_soname_save_LIBS=$LIBS
11407 LIBS="-lcurses $LIBS"
11408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11409 /* end confdefs.h. */
11411 /* Override any GCC internal prototype to avoid an error.
11412 Use char because int might match the return type of a GCC
11413 builtin and then its argument prototype would still apply. */
11414 #ifdef __cplusplus
11415 extern "C"
11416 #endif
11417 char waddch ();
11419 main ()
11421 return waddch ();
11423 return 0;
11425 _ACEOF
11426 if ac_fn_c_try_link "$LINENO"; then :
11427 case "$LIBEXT" in
11428 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11429 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'` ;;
11430 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11431 if ${ac_cv_lib_soname_curses:+false} :; then :
11432 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11433 fi ;;
11434 esac
11436 rm -f core conftest.err conftest.$ac_objext \
11437 conftest$ac_exeext conftest.$ac_ext
11438 LIBS=$ac_check_soname_save_LIBS
11440 if ${ac_cv_lib_soname_curses:+false} :; then :
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11442 $as_echo "not found" >&6; }
11444 else
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11446 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11448 cat >>confdefs.h <<_ACEOF
11449 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11450 _ACEOF
11452 CURSES_LIBS="-lcurses"
11455 ac_save_LIBS="$LIBS"
11456 LIBS="$LIBS $CURSES_LIBS"
11457 for ac_func in mousemask
11458 do :
11459 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11460 if test "x$ac_cv_func_mousemask" = xyes; then :
11461 cat >>confdefs.h <<_ACEOF
11462 #define HAVE_MOUSEMASK 1
11463 _ACEOF
11466 done
11468 LIBS="$ac_save_LIBS"
11469 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11470 case "x$with_curses" in
11471 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11472 xno) ;;
11473 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11474 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11475 esac
11478 if test "x$with_sane" != "xno"
11479 then
11480 if ${SANE_CFLAGS:+false} :; then :
11481 if ${PKG_CONFIG+:} false; then :
11482 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11485 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11486 if ${SANE_LIBS:+false} :; then :
11487 if ${PKG_CONFIG+:} false; then :
11488 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11491 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11493 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11494 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11495 ac_save_CPPFLAGS=$CPPFLAGS
11496 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11497 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11498 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11500 $as_echo_n "checking for -lsane... " >&6; }
11501 if ${ac_cv_lib_soname_sane+:} false; then :
11502 $as_echo_n "(cached) " >&6
11503 else
11504 ac_check_soname_save_LIBS=$LIBS
11505 LIBS="-lsane $SANE_LIBS $LIBS"
11506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11507 /* end confdefs.h. */
11509 /* Override any GCC internal prototype to avoid an error.
11510 Use char because int might match the return type of a GCC
11511 builtin and then its argument prototype would still apply. */
11512 #ifdef __cplusplus
11513 extern "C"
11514 #endif
11515 char sane_init ();
11517 main ()
11519 return sane_init ();
11521 return 0;
11523 _ACEOF
11524 if ac_fn_c_try_link "$LINENO"; then :
11525 case "$LIBEXT" in
11526 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11527 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'` ;;
11528 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11529 if ${ac_cv_lib_soname_sane:+false} :; then :
11530 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11531 fi ;;
11532 esac
11534 rm -f core conftest.err conftest.$ac_objext \
11535 conftest$ac_exeext conftest.$ac_ext
11536 LIBS=$ac_check_soname_save_LIBS
11538 if ${ac_cv_lib_soname_sane:+false} :; then :
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11540 $as_echo "not found" >&6; }
11541 SANE_CFLAGS=""
11542 else
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11544 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11546 cat >>confdefs.h <<_ACEOF
11547 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11548 _ACEOF
11552 else
11553 SANE_CFLAGS=""
11557 CPPFLAGS=$ac_save_CPPFLAGS
11558 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11559 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11562 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11563 case "x$with_sane" in
11564 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11565 xno) ;;
11566 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11567 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11568 esac
11571 if test "x$with_v4l" != "xno"
11572 then
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11574 $as_echo_n "checking for -lv4l1... " >&6; }
11575 if ${ac_cv_lib_soname_v4l1+:} false; then :
11576 $as_echo_n "(cached) " >&6
11577 else
11578 ac_check_soname_save_LIBS=$LIBS
11579 LIBS="-lv4l1 $LIBS"
11580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11581 /* end confdefs.h. */
11583 /* Override any GCC internal prototype to avoid an error.
11584 Use char because int might match the return type of a GCC
11585 builtin and then its argument prototype would still apply. */
11586 #ifdef __cplusplus
11587 extern "C"
11588 #endif
11589 char v4l1_open ();
11591 main ()
11593 return v4l1_open ();
11595 return 0;
11597 _ACEOF
11598 if ac_fn_c_try_link "$LINENO"; then :
11599 case "$LIBEXT" in
11600 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11601 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'` ;;
11602 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11603 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11604 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11605 fi ;;
11606 esac
11608 rm -f core conftest.err conftest.$ac_objext \
11609 conftest$ac_exeext conftest.$ac_ext
11610 LIBS=$ac_check_soname_save_LIBS
11612 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11614 $as_echo "not found" >&6; }
11616 else
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11618 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11620 cat >>confdefs.h <<_ACEOF
11621 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11622 _ACEOF
11627 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11628 case "x$with_v4l" in
11629 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11630 xno) ;;
11631 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11632 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11633 esac
11636 if test "x$with_gphoto" != "xno"
11637 then
11638 if ${GPHOTO2_CFLAGS:+false} :; then :
11639 if ${PKG_CONFIG+:} false; then :
11640 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11643 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11644 if ${GPHOTO2_LIBS:+false} :; then :
11645 if ${PKG_CONFIG+:} false; then :
11646 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11649 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11650 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11651 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11652 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11653 ac_save_CPPFLAGS=$CPPFLAGS
11654 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11655 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11656 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11658 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11659 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11660 $as_echo_n "(cached) " >&6
11661 else
11662 ac_check_lib_save_LIBS=$LIBS
11663 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11665 /* end confdefs.h. */
11667 /* Override any GCC internal prototype to avoid an error.
11668 Use char because int might match the return type of a GCC
11669 builtin and then its argument prototype would still apply. */
11670 #ifdef __cplusplus
11671 extern "C"
11672 #endif
11673 char gp_camera_new ();
11675 main ()
11677 return gp_camera_new ();
11679 return 0;
11681 _ACEOF
11682 if ac_fn_c_try_link "$LINENO"; then :
11683 ac_cv_lib_gphoto2_gp_camera_new=yes
11684 else
11685 ac_cv_lib_gphoto2_gp_camera_new=no
11687 rm -f core conftest.err conftest.$ac_objext \
11688 conftest$ac_exeext conftest.$ac_ext
11689 LIBS=$ac_check_lib_save_LIBS
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11692 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11693 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11695 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11697 else
11698 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11701 else
11702 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11706 CPPFLAGS=$ac_save_CPPFLAGS
11707 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11708 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11710 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11711 if ${PKG_CONFIG+:} false; then :
11712 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11715 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11716 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11717 if ${PKG_CONFIG+:} false; then :
11718 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11721 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11722 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11723 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11724 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11725 ac_save_CPPFLAGS=$CPPFLAGS
11726 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11727 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11728 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11730 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11731 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11732 $as_echo_n "(cached) " >&6
11733 else
11734 ac_check_lib_save_LIBS=$LIBS
11735 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11737 /* end confdefs.h. */
11739 /* Override any GCC internal prototype to avoid an error.
11740 Use char because int might match the return type of a GCC
11741 builtin and then its argument prototype would still apply. */
11742 #ifdef __cplusplus
11743 extern "C"
11744 #endif
11745 char gp_port_info_list_new ();
11747 main ()
11749 return gp_port_info_list_new ();
11751 return 0;
11753 _ACEOF
11754 if ac_fn_c_try_link "$LINENO"; then :
11755 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11756 else
11757 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11759 rm -f core conftest.err conftest.$ac_objext \
11760 conftest$ac_exeext conftest.$ac_ext
11761 LIBS=$ac_check_lib_save_LIBS
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11764 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11765 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11767 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11769 else
11770 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11773 else
11774 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11778 CPPFLAGS=$ac_save_CPPFLAGS
11779 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11780 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11783 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11784 case "x$with_gphoto" in
11785 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11786 xno) ;;
11787 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11788 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11789 esac
11791 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11792 case "x$with_gphoto" in
11793 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11794 xno) ;;
11795 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11796 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11797 esac
11801 if test "$ac_cv_header_resolv_h" = "yes"
11802 then
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11804 $as_echo_n "checking for resolver library... " >&6; }
11805 if ${ac_cv_have_resolv+:} false; then :
11806 $as_echo_n "(cached) " >&6
11807 else
11808 ac_save_LIBS="$LIBS"
11809 for lib in '' -lresolv
11811 LIBS="$lib $ac_save_LIBS"
11812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11813 /* end confdefs.h. */
11814 #ifdef HAVE_NETINET_IN_H
11815 #include <netinet/in.h>
11816 #endif
11817 #include <resolv.h>
11819 main ()
11821 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11823 return 0;
11825 _ACEOF
11826 if ac_fn_c_try_link "$LINENO"; then :
11827 ac_cv_have_resolv=${lib:-"none required"}
11828 else
11829 ac_cv_have_resolv="not found"
11831 rm -f core conftest.err conftest.$ac_objext \
11832 conftest$ac_exeext conftest.$ac_ext
11833 test "x$ac_cv_have_resolv" = "xnot found" || break
11834 done
11835 LIBS="$ac_save_LIBS"
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11838 $as_echo "$ac_cv_have_resolv" >&6; }
11840 case "$ac_cv_have_resolv" in
11841 "not found") ;;
11842 "none required")
11844 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11847 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11849 RESOLV_LIBS=$ac_cv_have_resolv
11851 esac
11854 if test "x$with_lcms2" != "xno"
11855 then
11856 if ${LCMS2_CFLAGS:+false} :; then :
11857 if ${PKG_CONFIG+:} false; then :
11858 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11862 if ${LCMS2_LIBS:+false} :; then :
11863 if ${PKG_CONFIG+:} false; then :
11864 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11868 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11869 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11870 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11871 ac_save_CPPFLAGS=$CPPFLAGS
11872 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11873 for ac_header in lcms2.h
11874 do :
11875 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11876 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11877 cat >>confdefs.h <<_ACEOF
11878 #define HAVE_LCMS2_H 1
11879 _ACEOF
11883 done
11885 if test "$ac_cv_header_lcms2_h" = "yes"
11886 then
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11888 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11889 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11890 $as_echo_n "(cached) " >&6
11891 else
11892 ac_check_lib_save_LIBS=$LIBS
11893 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11895 /* end confdefs.h. */
11897 /* Override any GCC internal prototype to avoid an error.
11898 Use char because int might match the return type of a GCC
11899 builtin and then its argument prototype would still apply. */
11900 #ifdef __cplusplus
11901 extern "C"
11902 #endif
11903 char cmsOpenProfileFromFile ();
11905 main ()
11907 return cmsOpenProfileFromFile ();
11909 return 0;
11911 _ACEOF
11912 if ac_fn_c_try_link "$LINENO"; then :
11913 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11914 else
11915 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11917 rm -f core conftest.err conftest.$ac_objext \
11918 conftest$ac_exeext conftest.$ac_ext
11919 LIBS=$ac_check_lib_save_LIBS
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11922 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11923 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11925 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11927 else
11928 LCMS2_LIBS=""
11931 else
11932 LCMS2_CFLAGS=""
11933 LCMS2_LIBS=""
11935 CPPFLAGS=$ac_save_CPPFLAGS
11936 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11937 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11940 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11941 case "x$with_cms" in
11942 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11943 xno) ;;
11944 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11945 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11946 esac
11949 if test "x$with_freetype" != "xno"
11950 then
11951 if ${FREETYPE_CFLAGS:+false} :; then :
11952 if ${PKG_CONFIG+:} false; then :
11953 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11956 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11957 if ${FREETYPE_LIBS:+false} :; then :
11958 if ${PKG_CONFIG+:} false; then :
11959 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11962 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11963 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11964 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11965 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11966 ac_save_CPPFLAGS=$CPPFLAGS
11967 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11968 for ac_header in ft2build.h
11969 do :
11970 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11971 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11972 cat >>confdefs.h <<_ACEOF
11973 #define HAVE_FT2BUILD_H 1
11974 _ACEOF
11978 done
11980 if test "$ac_cv_header_ft2build_h" = "yes"
11981 then
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11983 $as_echo_n "checking for -lfreetype... " >&6; }
11984 if ${ac_cv_lib_soname_freetype+:} false; then :
11985 $as_echo_n "(cached) " >&6
11986 else
11987 ac_check_soname_save_LIBS=$LIBS
11988 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11990 /* end confdefs.h. */
11992 /* Override any GCC internal prototype to avoid an error.
11993 Use char because int might match the return type of a GCC
11994 builtin and then its argument prototype would still apply. */
11995 #ifdef __cplusplus
11996 extern "C"
11997 #endif
11998 char FT_Init_FreeType ();
12000 main ()
12002 return FT_Init_FreeType ();
12004 return 0;
12006 _ACEOF
12007 if ac_fn_c_try_link "$LINENO"; then :
12008 case "$LIBEXT" in
12009 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12010 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'` ;;
12011 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12012 if ${ac_cv_lib_soname_freetype:+false} :; then :
12013 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12014 fi ;;
12015 esac
12017 rm -f core conftest.err conftest.$ac_objext \
12018 conftest$ac_exeext conftest.$ac_ext
12019 LIBS=$ac_check_soname_save_LIBS
12021 if ${ac_cv_lib_soname_freetype:+false} :; then :
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12023 $as_echo "not found" >&6; }
12024 FREETYPE_LIBS=""
12025 else
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12027 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12029 cat >>confdefs.h <<_ACEOF
12030 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12031 _ACEOF
12034 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12036 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12037 #include FT_MODULE_H
12039 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12041 cat >>confdefs.h <<_ACEOF
12042 #define HAVE_FT_TRUETYPEENGINETYPE 1
12043 _ACEOF
12049 else
12050 FREETYPE_CFLAGS=""
12051 FREETYPE_LIBS=""
12053 CPPFLAGS=$ac_save_CPPFLAGS
12054 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12055 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12058 if test "x$ac_cv_lib_soname_freetype" = x; then :
12059 case "x$with_freetype" in
12060 xno) ;;
12061 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12062 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12063 esac
12065 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12068 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12069 if ${ac_cv_c_ppdev+:} false; then :
12070 $as_echo_n "(cached) " >&6
12071 else
12072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12073 /* end confdefs.h. */
12074 #ifdef HAVE_SYS_IOCTL_H
12075 # include <sys/ioctl.h>
12076 #endif
12077 #include <linux/ppdev.h>
12079 main ()
12081 ioctl (1,PPCLAIM,0)
12083 return 0;
12085 _ACEOF
12086 if ac_fn_c_try_compile "$LINENO"; then :
12087 ac_cv_c_ppdev="yes"
12088 else
12089 ac_cv_c_ppdev="no"
12091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12094 $as_echo "$ac_cv_c_ppdev" >&6; }
12095 if test "$ac_cv_c_ppdev" = "yes"
12096 then
12098 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12102 ac_wine_check_funcs_save_LIBS="$LIBS"
12103 LIBS="$LIBS $PTHREAD_LIBS"
12104 for ac_func in \
12105 pthread_attr_get_np \
12106 pthread_getattr_np \
12107 pthread_getthreadid_np \
12108 pthread_get_stackaddr_np \
12109 pthread_get_stacksize_np
12110 do :
12111 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12112 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12113 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12114 cat >>confdefs.h <<_ACEOF
12115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12116 _ACEOF
12119 done
12121 LIBS="$ac_wine_check_funcs_save_LIBS"
12123 if test "$ac_cv_header_zlib_h" = "yes"
12124 then
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12126 $as_echo_n "checking for inflate in -lz... " >&6; }
12127 if ${ac_cv_lib_z_inflate+:} false; then :
12128 $as_echo_n "(cached) " >&6
12129 else
12130 ac_check_lib_save_LIBS=$LIBS
12131 LIBS="-lz $LIBS"
12132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12133 /* end confdefs.h. */
12135 /* Override any GCC internal prototype to avoid an error.
12136 Use char because int might match the return type of a GCC
12137 builtin and then its argument prototype would still apply. */
12138 #ifdef __cplusplus
12139 extern "C"
12140 #endif
12141 char inflate ();
12143 main ()
12145 return inflate ();
12147 return 0;
12149 _ACEOF
12150 if ac_fn_c_try_link "$LINENO"; then :
12151 ac_cv_lib_z_inflate=yes
12152 else
12153 ac_cv_lib_z_inflate=no
12155 rm -f core conftest.err conftest.$ac_objext \
12156 conftest$ac_exeext conftest.$ac_ext
12157 LIBS=$ac_check_lib_save_LIBS
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12160 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12161 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12163 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12165 Z_LIBS="-lz"
12170 if test "x$Z_LIBS" = "x"; then :
12171 case "x$with_zlib" in
12172 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12173 xno) ;;
12174 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12175 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12176 esac
12179 if test "x$enable_tools" != xno
12180 then
12181 if test "$ac_cv_header_gettext_po_h" = "yes"
12182 then
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12184 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12185 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12186 $as_echo_n "(cached) " >&6
12187 else
12188 ac_check_lib_save_LIBS=$LIBS
12189 LIBS="-lgettextpo $LIBS"
12190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12191 /* end confdefs.h. */
12193 /* Override any GCC internal prototype to avoid an error.
12194 Use char because int might match the return type of a GCC
12195 builtin and then its argument prototype would still apply. */
12196 #ifdef __cplusplus
12197 extern "C"
12198 #endif
12199 char po_message_msgctxt ();
12201 main ()
12203 return po_message_msgctxt ();
12205 return 0;
12207 _ACEOF
12208 if ac_fn_c_try_link "$LINENO"; then :
12209 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12210 else
12211 ac_cv_lib_gettextpo_po_message_msgctxt=no
12213 rm -f core conftest.err conftest.$ac_objext \
12214 conftest$ac_exeext conftest.$ac_ext
12215 LIBS=$ac_check_lib_save_LIBS
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12218 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12219 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12221 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12223 GETTEXTPO_LIBS="-lgettextpo"
12228 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12229 case "x$with_gettextpo" in
12230 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12231 xno) ;;
12232 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12233 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12234 esac
12238 if test "x$with_gstreamer" != "xno"
12239 then
12240 if ${GSTREAMER_CFLAGS:+false} :; then :
12241 if ${PKG_CONFIG+:} false; then :
12242 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12246 if ${GSTREAMER_LIBS:+false} :; then :
12247 if ${PKG_CONFIG+:} false; then :
12248 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12253 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12254 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12255 ac_save_CPPFLAGS=$CPPFLAGS
12256 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12257 ac_gst_incl=""
12258 for i in $GSTREAMER_CFLAGS
12260 case "$i" in
12261 -I*) ac_gst_incl="$ac_gst_incl $i";;
12262 esac
12263 done
12264 GSTREAMER_CFLAGS=$ac_gst_incl
12265 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12266 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12267 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12268 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12269 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12271 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12273 /* end confdefs.h. */
12274 #include <gst/app/gstappsink.h>
12276 main ()
12278 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12280 return 0;
12282 _ACEOF
12283 if ac_fn_c_try_compile "$LINENO"; then :
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12285 $as_echo "yes" >&6; }
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12287 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12288 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12289 $as_echo_n "(cached) " >&6
12290 else
12291 ac_check_lib_save_LIBS=$LIBS
12292 LIBS="-lgstreamer-0.10 $LIBS"
12293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12294 /* end confdefs.h. */
12296 /* Override any GCC internal prototype to avoid an error.
12297 Use char because int might match the return type of a GCC
12298 builtin and then its argument prototype would still apply. */
12299 #ifdef __cplusplus
12300 extern "C"
12301 #endif
12302 char gst_pad_get_caps_reffed ();
12304 main ()
12306 return gst_pad_get_caps_reffed ();
12308 return 0;
12310 _ACEOF
12311 if ac_fn_c_try_link "$LINENO"; then :
12312 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12313 else
12314 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12316 rm -f core conftest.err conftest.$ac_objext \
12317 conftest$ac_exeext conftest.$ac_ext
12318 LIBS=$ac_check_lib_save_LIBS
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12321 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12322 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12324 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12325 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12326 $as_echo_n "(cached) " >&6
12327 else
12328 ac_check_lib_save_LIBS=$LIBS
12329 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12331 /* end confdefs.h. */
12333 /* Override any GCC internal prototype to avoid an error.
12334 Use char because int might match the return type of a GCC
12335 builtin and then its argument prototype would still apply. */
12336 #ifdef __cplusplus
12337 extern "C"
12338 #endif
12339 char gst_app_buffer_new ();
12341 main ()
12343 return gst_app_buffer_new ();
12345 return 0;
12347 _ACEOF
12348 if ac_fn_c_try_link "$LINENO"; then :
12349 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12350 else
12351 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12353 rm -f core conftest.err conftest.$ac_objext \
12354 conftest$ac_exeext conftest.$ac_ext
12355 LIBS=$ac_check_lib_save_LIBS
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12358 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12359 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12365 else
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12367 $as_echo "no" >&6; }
12369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12373 else
12374 GSTREAMER_CFLAGS=""
12378 CPPFLAGS=$ac_save_CPPFLAGS
12379 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12380 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12383 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12384 case "x$with_gstreamer" in
12385 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12386 xno) ;;
12387 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12388 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12389 esac
12391 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12393 ALSA_LIBS=""
12395 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12396 then
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12398 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12399 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12400 $as_echo_n "(cached) " >&6
12401 else
12402 ac_check_lib_save_LIBS=$LIBS
12403 LIBS="-lasound $LIBS"
12404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12405 /* end confdefs.h. */
12407 /* Override any GCC internal prototype to avoid an error.
12408 Use char because int might match the return type of a GCC
12409 builtin and then its argument prototype would still apply. */
12410 #ifdef __cplusplus
12411 extern "C"
12412 #endif
12413 char snd_pcm_hw_params_get_access_mask ();
12415 main ()
12417 return snd_pcm_hw_params_get_access_mask ();
12419 return 0;
12421 _ACEOF
12422 if ac_fn_c_try_link "$LINENO"; then :
12423 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12424 else
12425 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12427 rm -f core conftest.err conftest.$ac_objext \
12428 conftest$ac_exeext conftest.$ac_ext
12429 LIBS=$ac_check_lib_save_LIBS
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12432 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12433 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12435 /* end confdefs.h. */
12436 #ifdef HAVE_ALSA_ASOUNDLIB_H
12437 #include <alsa/asoundlib.h>
12438 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12439 #include <sys/asoundlib.h>
12440 #endif
12442 main ()
12444 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12446 return 0;
12448 _ACEOF
12449 if ac_fn_c_try_compile "$LINENO"; then :
12450 ALSA_LIBS="-lasound"
12452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12457 if test "x$with_oss" != xno
12458 then
12459 ac_save_CPPFLAGS="$CPPFLAGS"
12460 if test -f /etc/oss.conf
12461 then
12462 . /etc/oss.conf
12464 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12465 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12466 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12467 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12468 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12470 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12472 cat >>confdefs.h <<_ACEOF
12473 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12474 _ACEOF
12476 OSS4_CFLAGS="$ac_oss_incl"
12483 CPPFLAGS="$ac_save_CPPFLAGS"
12484 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12485 then
12486 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12490 if test "x$with_capi" != "xno"
12491 then
12492 if ${CAPI20_CFLAGS:+false} :; then :
12493 if ${PKG_CONFIG+:} false; then :
12494 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12498 if ${CAPI20_LIBS:+false} :; then :
12499 if ${PKG_CONFIG+:} false; then :
12500 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12505 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12506 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12507 ac_save_CPPFLAGS=$CPPFLAGS
12508 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12509 for ac_header in capi20.h linux/capi.h
12510 do :
12511 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12512 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12514 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12515 cat >>confdefs.h <<_ACEOF
12516 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12517 _ACEOF
12521 done
12523 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12524 then
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12526 $as_echo_n "checking for -lcapi20... " >&6; }
12527 if ${ac_cv_lib_soname_capi20+:} false; then :
12528 $as_echo_n "(cached) " >&6
12529 else
12530 ac_check_soname_save_LIBS=$LIBS
12531 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12533 /* end confdefs.h. */
12535 /* Override any GCC internal prototype to avoid an error.
12536 Use char because int might match the return type of a GCC
12537 builtin and then its argument prototype would still apply. */
12538 #ifdef __cplusplus
12539 extern "C"
12540 #endif
12541 char capi20_register ();
12543 main ()
12545 return capi20_register ();
12547 return 0;
12549 _ACEOF
12550 if ac_fn_c_try_link "$LINENO"; then :
12551 case "$LIBEXT" in
12552 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12553 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'` ;;
12554 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12555 if ${ac_cv_lib_soname_capi20:+false} :; then :
12556 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12557 fi ;;
12558 esac
12560 rm -f core conftest.err conftest.$ac_objext \
12561 conftest$ac_exeext conftest.$ac_ext
12562 LIBS=$ac_check_soname_save_LIBS
12564 if ${ac_cv_lib_soname_capi20:+false} :; then :
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12566 $as_echo "not found" >&6; }
12568 else
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12570 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12572 cat >>confdefs.h <<_ACEOF
12573 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12574 _ACEOF
12579 CPPFLAGS=$ac_save_CPPFLAGS
12580 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12581 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12584 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12585 case "x$with_capi" in
12586 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12587 xno) ;;
12588 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12589 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12590 esac
12593 CUPS_CFLAGS=""
12595 if test "x$with_cups" != "xno"
12596 then
12597 ac_save_CPPFLAGS="$CPPFLAGS"
12598 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12599 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12600 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12601 for ac_header in cups/cups.h
12602 do :
12603 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12604 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12605 cat >>confdefs.h <<_ACEOF
12606 #define HAVE_CUPS_CUPS_H 1
12607 _ACEOF
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12609 $as_echo_n "checking for -lcups... " >&6; }
12610 if ${ac_cv_lib_soname_cups+:} false; then :
12611 $as_echo_n "(cached) " >&6
12612 else
12613 ac_check_soname_save_LIBS=$LIBS
12614 LIBS="-lcups $ac_cups_libs $LIBS"
12615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12616 /* end confdefs.h. */
12618 /* Override any GCC internal prototype to avoid an error.
12619 Use char because int might match the return type of a GCC
12620 builtin and then its argument prototype would still apply. */
12621 #ifdef __cplusplus
12622 extern "C"
12623 #endif
12624 char cupsGetDefault ();
12626 main ()
12628 return cupsGetDefault ();
12630 return 0;
12632 _ACEOF
12633 if ac_fn_c_try_link "$LINENO"; then :
12634 case "$LIBEXT" in
12635 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12636 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'` ;;
12637 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12638 if ${ac_cv_lib_soname_cups:+false} :; then :
12639 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12640 fi ;;
12641 esac
12643 rm -f core conftest.err conftest.$ac_objext \
12644 conftest$ac_exeext conftest.$ac_ext
12645 LIBS=$ac_check_soname_save_LIBS
12647 if ${ac_cv_lib_soname_cups:+false} :; then :
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12649 $as_echo "not found" >&6; }
12651 else
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12653 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12655 cat >>confdefs.h <<_ACEOF
12656 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12657 _ACEOF
12659 CUPS_CFLAGS="$ac_cups_cflags"
12663 done
12665 CPPFLAGS="$ac_save_CPPFLAGS"
12667 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12668 case "x$with_cups" in
12669 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12670 xno) ;;
12671 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12672 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12673 esac
12676 if test "x$with_fontconfig" != "xno"
12677 then
12678 if ${FONTCONFIG_CFLAGS:+false} :; then :
12679 if ${PKG_CONFIG+:} false; then :
12680 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12683 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12684 if ${FONTCONFIG_LIBS:+false} :; then :
12685 if ${PKG_CONFIG+:} false; then :
12686 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12689 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12691 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12692 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12693 ac_save_CPPFLAGS=$CPPFLAGS
12694 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12695 for ac_header in fontconfig/fontconfig.h
12696 do :
12697 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12698 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12699 cat >>confdefs.h <<_ACEOF
12700 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12701 _ACEOF
12705 done
12707 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12708 then
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12710 $as_echo_n "checking for -lfontconfig... " >&6; }
12711 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12712 $as_echo_n "(cached) " >&6
12713 else
12714 ac_check_soname_save_LIBS=$LIBS
12715 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12717 /* end confdefs.h. */
12719 /* Override any GCC internal prototype to avoid an error.
12720 Use char because int might match the return type of a GCC
12721 builtin and then its argument prototype would still apply. */
12722 #ifdef __cplusplus
12723 extern "C"
12724 #endif
12725 char FcInit ();
12727 main ()
12729 return FcInit ();
12731 return 0;
12733 _ACEOF
12734 if ac_fn_c_try_link "$LINENO"; then :
12735 case "$LIBEXT" in
12736 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12737 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'` ;;
12738 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12739 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12740 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12741 fi ;;
12742 esac
12744 rm -f core conftest.err conftest.$ac_objext \
12745 conftest$ac_exeext conftest.$ac_ext
12746 LIBS=$ac_check_soname_save_LIBS
12748 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12750 $as_echo "not found" >&6; }
12751 FONTCONFIG_CFLAGS=""
12752 else
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12754 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12756 cat >>confdefs.h <<_ACEOF
12757 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12758 _ACEOF
12762 else
12763 FONTCONFIG_CFLAGS=""
12765 CPPFLAGS=$ac_save_CPPFLAGS
12766 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12767 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12770 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12771 case "x$with_fontconfig" in
12772 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12773 xno) ;;
12774 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12775 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12776 esac
12779 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12780 then
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12782 $as_echo_n "checking for -lgsm... " >&6; }
12783 if ${ac_cv_lib_soname_gsm+:} false; then :
12784 $as_echo_n "(cached) " >&6
12785 else
12786 ac_check_soname_save_LIBS=$LIBS
12787 LIBS="-lgsm $LIBS"
12788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12789 /* end confdefs.h. */
12791 /* Override any GCC internal prototype to avoid an error.
12792 Use char because int might match the return type of a GCC
12793 builtin and then its argument prototype would still apply. */
12794 #ifdef __cplusplus
12795 extern "C"
12796 #endif
12797 char gsm_create ();
12799 main ()
12801 return gsm_create ();
12803 return 0;
12805 _ACEOF
12806 if ac_fn_c_try_link "$LINENO"; then :
12807 case "$LIBEXT" in
12808 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12809 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'` ;;
12810 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12811 if ${ac_cv_lib_soname_gsm:+false} :; then :
12812 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12813 fi ;;
12814 esac
12816 rm -f core conftest.err conftest.$ac_objext \
12817 conftest$ac_exeext conftest.$ac_ext
12818 LIBS=$ac_check_soname_save_LIBS
12820 if ${ac_cv_lib_soname_gsm:+false} :; then :
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12822 $as_echo "not found" >&6; }
12824 else
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12826 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12828 cat >>confdefs.h <<_ACEOF
12829 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12830 _ACEOF
12835 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12836 case "x$with_gsm" in
12837 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12838 xno) ;;
12839 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12840 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12841 esac
12844 if test "x$with_jpeg" != "xno"
12845 then
12846 if ${JPEG_CFLAGS:+false} :; then :
12847 if ${PKG_CONFIG+:} false; then :
12848 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12852 if ${JPEG_LIBS:+false} :; then :
12853 if ${PKG_CONFIG+:} false; then :
12854 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12859 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12860 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12861 ac_save_CPPFLAGS=$CPPFLAGS
12862 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12863 for ac_header in jpeglib.h
12864 do :
12865 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12866 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12867 cat >>confdefs.h <<_ACEOF
12868 #define HAVE_JPEGLIB_H 1
12869 _ACEOF
12873 done
12875 if test "$ac_cv_header_jpeglib_h" = "yes"
12876 then
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12878 $as_echo_n "checking for -ljpeg... " >&6; }
12879 if ${ac_cv_lib_soname_jpeg+:} false; then :
12880 $as_echo_n "(cached) " >&6
12881 else
12882 ac_check_soname_save_LIBS=$LIBS
12883 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12885 /* end confdefs.h. */
12887 /* Override any GCC internal prototype to avoid an error.
12888 Use char because int might match the return type of a GCC
12889 builtin and then its argument prototype would still apply. */
12890 #ifdef __cplusplus
12891 extern "C"
12892 #endif
12893 char jpeg_start_decompress ();
12895 main ()
12897 return jpeg_start_decompress ();
12899 return 0;
12901 _ACEOF
12902 if ac_fn_c_try_link "$LINENO"; then :
12903 case "$LIBEXT" in
12904 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12905 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'` ;;
12906 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12907 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12908 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12909 fi ;;
12910 esac
12912 rm -f core conftest.err conftest.$ac_objext \
12913 conftest$ac_exeext conftest.$ac_ext
12914 LIBS=$ac_check_soname_save_LIBS
12916 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12918 $as_echo "not found" >&6; }
12919 JPEG_CFLAGS=""
12920 else
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12922 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12924 cat >>confdefs.h <<_ACEOF
12925 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12926 _ACEOF
12930 else
12931 JPEG_CFLAGS=""
12933 CPPFLAGS=$ac_save_CPPFLAGS
12934 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12935 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12938 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12939 case "x$with_jpeg" in
12940 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12941 xno) ;;
12942 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12943 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12944 esac
12947 if test "x$with_png" != "xno"
12948 then
12949 if ${PNG_CFLAGS:+false} :; then :
12950 if ${PKG_CONFIG+:} false; then :
12951 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12954 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12955 if ${PNG_LIBS:+false} :; then :
12956 if ${PKG_CONFIG+:} false; then :
12957 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12960 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12962 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12963 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12964 ac_save_CPPFLAGS=$CPPFLAGS
12965 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12966 for ac_header in png.h
12967 do :
12968 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12969 if test "x$ac_cv_header_png_h" = xyes; then :
12970 cat >>confdefs.h <<_ACEOF
12971 #define HAVE_PNG_H 1
12972 _ACEOF
12976 done
12978 if test "$ac_cv_header_png_h" = "yes"
12979 then
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12981 $as_echo_n "checking for -lpng... " >&6; }
12982 if ${ac_cv_lib_soname_png+:} false; then :
12983 $as_echo_n "(cached) " >&6
12984 else
12985 ac_check_soname_save_LIBS=$LIBS
12986 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12988 /* end confdefs.h. */
12990 /* Override any GCC internal prototype to avoid an error.
12991 Use char because int might match the return type of a GCC
12992 builtin and then its argument prototype would still apply. */
12993 #ifdef __cplusplus
12994 extern "C"
12995 #endif
12996 char png_create_read_struct ();
12998 main ()
13000 return png_create_read_struct ();
13002 return 0;
13004 _ACEOF
13005 if ac_fn_c_try_link "$LINENO"; then :
13006 case "$LIBEXT" in
13007 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13008 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'` ;;
13009 *) 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'`
13010 if ${ac_cv_lib_soname_png:+false} :; then :
13011 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13012 fi ;;
13013 esac
13015 rm -f core conftest.err conftest.$ac_objext \
13016 conftest$ac_exeext conftest.$ac_ext
13017 LIBS=$ac_check_soname_save_LIBS
13019 if ${ac_cv_lib_soname_png:+false} :; then :
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13021 $as_echo "not found" >&6; }
13022 PNG_CFLAGS=""
13023 else
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13025 $as_echo "$ac_cv_lib_soname_png" >&6; }
13027 cat >>confdefs.h <<_ACEOF
13028 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13029 _ACEOF
13031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13032 /* end confdefs.h. */
13033 #include <png.h>
13035 main ()
13037 typeof(png_set_expand_gray_1_2_4_to_8) *p
13039 return 0;
13041 _ACEOF
13042 if ac_fn_c_try_compile "$LINENO"; then :
13044 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13049 else
13050 PNG_CFLAGS=""
13052 CPPFLAGS=$ac_save_CPPFLAGS
13053 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13054 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13057 if test "x$ac_cv_lib_soname_png" = "x"; then :
13058 case "x$with_png" in
13059 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13060 xno) ;;
13061 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13062 This is an error since --with-png was requested." "$LINENO" 5 ;;
13063 esac
13066 if test "x$with_tiff" != "xno"
13067 then
13068 if ${TIFF_CFLAGS:+false} :; then :
13069 if ${PKG_CONFIG+:} false; then :
13070 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13074 if ${TIFF_LIBS:+false} :; then :
13075 if ${PKG_CONFIG+:} false; then :
13076 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13081 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13082 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13083 ac_save_CPPFLAGS=$CPPFLAGS
13084 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13085 for ac_header in tiffio.h
13086 do :
13087 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13088 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13089 cat >>confdefs.h <<_ACEOF
13090 #define HAVE_TIFFIO_H 1
13091 _ACEOF
13095 done
13097 if test "$ac_cv_header_tiffio_h" = "yes"
13098 then
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13100 $as_echo_n "checking for -ltiff... " >&6; }
13101 if ${ac_cv_lib_soname_tiff+:} false; then :
13102 $as_echo_n "(cached) " >&6
13103 else
13104 ac_check_soname_save_LIBS=$LIBS
13105 LIBS="-ltiff $TIFF_LIBS $LIBS"
13106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13107 /* end confdefs.h. */
13109 /* Override any GCC internal prototype to avoid an error.
13110 Use char because int might match the return type of a GCC
13111 builtin and then its argument prototype would still apply. */
13112 #ifdef __cplusplus
13113 extern "C"
13114 #endif
13115 char TIFFClientOpen ();
13117 main ()
13119 return TIFFClientOpen ();
13121 return 0;
13123 _ACEOF
13124 if ac_fn_c_try_link "$LINENO"; then :
13125 case "$LIBEXT" in
13126 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13127 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'` ;;
13128 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13129 if ${ac_cv_lib_soname_tiff:+false} :; then :
13130 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13131 fi ;;
13132 esac
13134 rm -f core conftest.err conftest.$ac_objext \
13135 conftest$ac_exeext conftest.$ac_ext
13136 LIBS=$ac_check_soname_save_LIBS
13138 if ${ac_cv_lib_soname_tiff:+false} :; then :
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13140 $as_echo "not found" >&6; }
13142 else
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13144 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13146 cat >>confdefs.h <<_ACEOF
13147 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13148 _ACEOF
13153 CPPFLAGS=$ac_save_CPPFLAGS
13154 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13155 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13158 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13159 case "x$with_tiff" in
13160 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13161 xno) ;;
13162 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13163 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13164 esac
13167 if test "x$with_mpg123" != "xno"
13168 then
13169 if ${MPG123_CFLAGS:+false} :; then :
13170 if ${PKG_CONFIG+:} false; then :
13171 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13175 if ${MPG123_LIBS:+false} :; then :
13176 if ${PKG_CONFIG+:} false; then :
13177 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13181 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13182 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13183 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13184 ac_save_CPPFLAGS=$CPPFLAGS
13185 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13186 for ac_header in mpg123.h
13187 do :
13188 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13189 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13190 cat >>confdefs.h <<_ACEOF
13191 #define HAVE_MPG123_H 1
13192 _ACEOF
13196 done
13198 if test "$ac_cv_header_mpg123_h" = "yes"
13199 then
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13201 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13202 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13203 $as_echo_n "(cached) " >&6
13204 else
13205 ac_check_lib_save_LIBS=$LIBS
13206 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13208 /* end confdefs.h. */
13210 /* Override any GCC internal prototype to avoid an error.
13211 Use char because int might match the return type of a GCC
13212 builtin and then its argument prototype would still apply. */
13213 #ifdef __cplusplus
13214 extern "C"
13215 #endif
13216 char mpg123_feed ();
13218 main ()
13220 return mpg123_feed ();
13222 return 0;
13224 _ACEOF
13225 if ac_fn_c_try_link "$LINENO"; then :
13226 ac_cv_lib_mpg123_mpg123_feed=yes
13227 else
13228 ac_cv_lib_mpg123_mpg123_feed=no
13230 rm -f core conftest.err conftest.$ac_objext \
13231 conftest$ac_exeext conftest.$ac_ext
13232 LIBS=$ac_check_lib_save_LIBS
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13235 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13236 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13238 else
13239 MPG123_LIBS=""
13242 else
13243 MPG123_CFLAGS=""
13244 MPG123_LIBS=""
13246 CPPFLAGS=$ac_save_CPPFLAGS
13247 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13248 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13251 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13252 case "x$with_mpg123" in
13253 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13254 xno) ;;
13255 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13256 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13257 esac
13259 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}
13261 if test "$ac_cv_header_AL_al_h" = "yes"
13262 then
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13264 $as_echo_n "checking for -lopenal... " >&6; }
13265 if ${ac_cv_lib_soname_openal+:} false; then :
13266 $as_echo_n "(cached) " >&6
13267 else
13268 ac_check_soname_save_LIBS=$LIBS
13269 LIBS="-lopenal $LIBS"
13270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13271 /* end confdefs.h. */
13273 /* Override any GCC internal prototype to avoid an error.
13274 Use char because int might match the return type of a GCC
13275 builtin and then its argument prototype would still apply. */
13276 #ifdef __cplusplus
13277 extern "C"
13278 #endif
13279 char alGetSource3i ();
13281 main ()
13283 return alGetSource3i ();
13285 return 0;
13287 _ACEOF
13288 if ac_fn_c_try_link "$LINENO"; then :
13289 case "$LIBEXT" in
13290 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13291 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'` ;;
13292 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13293 if ${ac_cv_lib_soname_openal:+false} :; then :
13294 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13295 fi ;;
13296 esac
13298 rm -f core conftest.err conftest.$ac_objext \
13299 conftest$ac_exeext conftest.$ac_ext
13300 LIBS=$ac_check_soname_save_LIBS
13302 if ${ac_cv_lib_soname_openal:+false} :; then :
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13304 $as_echo "not found" >&6; }
13306 else
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13308 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13310 cat >>confdefs.h <<_ACEOF
13311 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13312 _ACEOF
13314 OPENAL_LIBS="-lopenal"
13316 ac_cv_lib_openal=yes
13318 cat >>confdefs.h <<_ACEOF
13319 #define HAVE_OPENAL 1
13320 _ACEOF
13324 if test "x$ac_cv_lib_openal" != xyes; then :
13325 case "x$with_openal" in
13326 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13327 xno) ;;
13328 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13329 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13330 esac
13332 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13334 if test "$ac_cv_header_kstat_h" = "yes"
13335 then
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13337 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13338 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13339 $as_echo_n "(cached) " >&6
13340 else
13341 ac_check_lib_save_LIBS=$LIBS
13342 LIBS="-lkstat $LIBS"
13343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13344 /* end confdefs.h. */
13346 /* Override any GCC internal prototype to avoid an error.
13347 Use char because int might match the return type of a GCC
13348 builtin and then its argument prototype would still apply. */
13349 #ifdef __cplusplus
13350 extern "C"
13351 #endif
13352 char kstat_open ();
13354 main ()
13356 return kstat_open ();
13358 return 0;
13360 _ACEOF
13361 if ac_fn_c_try_link "$LINENO"; then :
13362 ac_cv_lib_kstat_kstat_open=yes
13363 else
13364 ac_cv_lib_kstat_kstat_open=no
13366 rm -f core conftest.err conftest.$ac_objext \
13367 conftest$ac_exeext conftest.$ac_ext
13368 LIBS=$ac_check_lib_save_LIBS
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13371 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13372 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13374 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13376 KSTAT_LIBS="-lkstat"
13382 if test "$ac_cv_header_libprocstat_h" = "yes"
13383 then
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13385 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13386 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13387 $as_echo_n "(cached) " >&6
13388 else
13389 ac_check_lib_save_LIBS=$LIBS
13390 LIBS="-lprocstat $LIBS"
13391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13392 /* end confdefs.h. */
13394 /* Override any GCC internal prototype to avoid an error.
13395 Use char because int might match the return type of a GCC
13396 builtin and then its argument prototype would still apply. */
13397 #ifdef __cplusplus
13398 extern "C"
13399 #endif
13400 char procstat_open_sysctl ();
13402 main ()
13404 return procstat_open_sysctl ();
13406 return 0;
13408 _ACEOF
13409 if ac_fn_c_try_link "$LINENO"; then :
13410 ac_cv_lib_procstat_procstat_open_sysctl=yes
13411 else
13412 ac_cv_lib_procstat_procstat_open_sysctl=no
13414 rm -f core conftest.err conftest.$ac_objext \
13415 conftest$ac_exeext conftest.$ac_ext
13416 LIBS=$ac_check_lib_save_LIBS
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13419 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13420 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13422 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13424 PROCSTAT_LIBS="-lprocstat"
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13431 $as_echo_n "checking for -lodbc... " >&6; }
13432 if ${ac_cv_lib_soname_odbc+:} false; then :
13433 $as_echo_n "(cached) " >&6
13434 else
13435 ac_check_soname_save_LIBS=$LIBS
13436 LIBS="-lodbc $LIBS"
13437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13438 /* end confdefs.h. */
13440 /* Override any GCC internal prototype to avoid an error.
13441 Use char because int might match the return type of a GCC
13442 builtin and then its argument prototype would still apply. */
13443 #ifdef __cplusplus
13444 extern "C"
13445 #endif
13446 char SQLConnect ();
13448 main ()
13450 return SQLConnect ();
13452 return 0;
13454 _ACEOF
13455 if ac_fn_c_try_link "$LINENO"; then :
13456 case "$LIBEXT" in
13457 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13458 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'` ;;
13459 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13460 if ${ac_cv_lib_soname_odbc:+false} :; then :
13461 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13462 fi ;;
13463 esac
13465 rm -f core conftest.err conftest.$ac_objext \
13466 conftest$ac_exeext conftest.$ac_ext
13467 LIBS=$ac_check_soname_save_LIBS
13469 if ${ac_cv_lib_soname_odbc:+false} :; then :
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13471 $as_echo "not found" >&6; }
13472 cat >>confdefs.h <<_ACEOF
13473 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13474 _ACEOF
13476 else
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13478 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13480 cat >>confdefs.h <<_ACEOF
13481 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13482 _ACEOF
13487 if test "x$with_netapi" != "xno"
13488 then
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13490 $as_echo_n "checking for -lnetapi... " >&6; }
13491 if ${ac_cv_lib_soname_netapi+:} false; then :
13492 $as_echo_n "(cached) " >&6
13493 else
13494 ac_check_soname_save_LIBS=$LIBS
13495 LIBS="-lnetapi $LIBS"
13496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13497 /* end confdefs.h. */
13499 /* Override any GCC internal prototype to avoid an error.
13500 Use char because int might match the return type of a GCC
13501 builtin and then its argument prototype would still apply. */
13502 #ifdef __cplusplus
13503 extern "C"
13504 #endif
13505 char libnetapi_init ();
13507 main ()
13509 return libnetapi_init ();
13511 return 0;
13513 _ACEOF
13514 if ac_fn_c_try_link "$LINENO"; then :
13515 case "$LIBEXT" in
13516 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13517 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'` ;;
13518 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13519 if ${ac_cv_lib_soname_netapi:+false} :; then :
13520 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13521 fi ;;
13522 esac
13524 rm -f core conftest.err conftest.$ac_objext \
13525 conftest$ac_exeext conftest.$ac_ext
13526 LIBS=$ac_check_soname_save_LIBS
13528 if ${ac_cv_lib_soname_netapi:+false} :; then :
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13530 $as_echo "not found" >&6; }
13531 cat >>confdefs.h <<_ACEOF
13532 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13533 _ACEOF
13535 else
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13537 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13539 cat >>confdefs.h <<_ACEOF
13540 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13541 _ACEOF
13547 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13548 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13549 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13550 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13552 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13553 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13554 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13555 then
13556 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13560 EXTRACFLAGS=""
13562 if test "x${GCC}" = "xyes"
13563 then
13564 EXTRACFLAGS="-Wall -pipe"
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13567 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13568 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13569 $as_echo_n "(cached) " >&6
13570 else
13571 if test "$cross_compiling" = yes; then :
13572 ac_cv_c_gcc_strength_bug="yes"
13573 else
13574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13575 /* end confdefs.h. */
13576 int L[4] = {0,1,2,3};
13578 main ()
13580 static int Array[3];
13581 unsigned int B = 3;
13582 int i;
13583 for(i=0; i<B; i++) Array[i] = i - 3;
13584 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13585 L[i] = 4;
13586 return (Array[1] != -2 || L[2] != 3)
13588 return 0;
13590 _ACEOF
13591 if ac_fn_c_try_run "$LINENO"; then :
13592 ac_cv_c_gcc_strength_bug="no"
13593 else
13594 ac_cv_c_gcc_strength_bug="yes"
13596 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13597 conftest.$ac_objext conftest.beam conftest.$ac_ext
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13602 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13603 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13604 then
13605 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13609 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13610 if ${ac_cv_cflags__fno_builtin+:} false; then :
13611 $as_echo_n "(cached) " >&6
13612 else
13613 ac_wine_try_cflags_saved=$CFLAGS
13614 CFLAGS="$CFLAGS -fno-builtin"
13615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13616 /* end confdefs.h. */
13617 int main(int argc, char **argv) { return 0; }
13618 _ACEOF
13619 if ac_fn_c_try_link "$LINENO"; then :
13620 ac_cv_cflags__fno_builtin=yes
13621 else
13622 ac_cv_cflags__fno_builtin=no
13624 rm -f core conftest.err conftest.$ac_objext \
13625 conftest$ac_exeext conftest.$ac_ext
13626 CFLAGS=$ac_wine_try_cflags_saved
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13629 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13630 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13631 BUILTINFLAG="-fno-builtin"
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13635 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13636 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13637 $as_echo_n "(cached) " >&6
13638 else
13639 ac_wine_try_cflags_saved=$CFLAGS
13640 CFLAGS="$CFLAGS -fno-strict-aliasing"
13641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13642 /* end confdefs.h. */
13643 int main(int argc, char **argv) { return 0; }
13644 _ACEOF
13645 if ac_fn_c_try_link "$LINENO"; then :
13646 ac_cv_cflags__fno_strict_aliasing=yes
13647 else
13648 ac_cv_cflags__fno_strict_aliasing=no
13650 rm -f core conftest.err conftest.$ac_objext \
13651 conftest$ac_exeext conftest.$ac_ext
13652 CFLAGS=$ac_wine_try_cflags_saved
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13655 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13656 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13657 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13659 saved_CFLAGS=$CFLAGS
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13661 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13662 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13663 $as_echo_n "(cached) " >&6
13664 else
13665 ac_wine_try_cflags_saved=$CFLAGS
13666 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13668 /* end confdefs.h. */
13669 int main(int argc, char **argv) { return 0; }
13670 _ACEOF
13671 if ac_fn_c_try_link "$LINENO"; then :
13672 ac_cv_cflags__Werror_unknown_warning_option=yes
13673 else
13674 ac_cv_cflags__Werror_unknown_warning_option=no
13676 rm -f core conftest.err conftest.$ac_objext \
13677 conftest$ac_exeext conftest.$ac_ext
13678 CFLAGS=$ac_wine_try_cflags_saved
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13681 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13682 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13683 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13686 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13687 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13688 $as_echo_n "(cached) " >&6
13689 else
13690 ac_wine_try_cflags_saved=$CFLAGS
13691 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13693 /* end confdefs.h. */
13694 int main(int argc, char **argv) { return 0; }
13695 _ACEOF
13696 if ac_fn_c_try_link "$LINENO"; then :
13697 ac_cv_cflags__Wdeclaration_after_statement=yes
13698 else
13699 ac_cv_cflags__Wdeclaration_after_statement=no
13701 rm -f core conftest.err conftest.$ac_objext \
13702 conftest$ac_exeext conftest.$ac_ext
13703 CFLAGS=$ac_wine_try_cflags_saved
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13706 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13707 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13708 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13711 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13712 if ${ac_cv_cflags__Wempty_body+:} false; then :
13713 $as_echo_n "(cached) " >&6
13714 else
13715 ac_wine_try_cflags_saved=$CFLAGS
13716 CFLAGS="$CFLAGS -Wempty-body"
13717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13718 /* end confdefs.h. */
13719 int main(int argc, char **argv) { return 0; }
13720 _ACEOF
13721 if ac_fn_c_try_link "$LINENO"; then :
13722 ac_cv_cflags__Wempty_body=yes
13723 else
13724 ac_cv_cflags__Wempty_body=no
13726 rm -f core conftest.err conftest.$ac_objext \
13727 conftest$ac_exeext conftest.$ac_ext
13728 CFLAGS=$ac_wine_try_cflags_saved
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13731 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13732 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13733 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13736 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13737 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13738 $as_echo_n "(cached) " >&6
13739 else
13740 ac_wine_try_cflags_saved=$CFLAGS
13741 CFLAGS="$CFLAGS -Wignored-qualifiers"
13742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13743 /* end confdefs.h. */
13744 int main(int argc, char **argv) { return 0; }
13745 _ACEOF
13746 if ac_fn_c_try_link "$LINENO"; then :
13747 ac_cv_cflags__Wignored_qualifiers=yes
13748 else
13749 ac_cv_cflags__Wignored_qualifiers=no
13751 rm -f core conftest.err conftest.$ac_objext \
13752 conftest$ac_exeext conftest.$ac_ext
13753 CFLAGS=$ac_wine_try_cflags_saved
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13756 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13757 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13758 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13761 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13762 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13763 $as_echo_n "(cached) " >&6
13764 else
13765 ac_wine_try_cflags_saved=$CFLAGS
13766 CFLAGS="$CFLAGS -Wstrict-prototypes"
13767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13768 /* end confdefs.h. */
13769 int main(int argc, char **argv) { return 0; }
13770 _ACEOF
13771 if ac_fn_c_try_link "$LINENO"; then :
13772 ac_cv_cflags__Wstrict_prototypes=yes
13773 else
13774 ac_cv_cflags__Wstrict_prototypes=no
13776 rm -f core conftest.err conftest.$ac_objext \
13777 conftest$ac_exeext conftest.$ac_ext
13778 CFLAGS=$ac_wine_try_cflags_saved
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13781 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13782 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13783 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13786 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13787 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13788 $as_echo_n "(cached) " >&6
13789 else
13790 ac_wine_try_cflags_saved=$CFLAGS
13791 CFLAGS="$CFLAGS -Wtype-limits"
13792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13793 /* end confdefs.h. */
13794 int main(int argc, char **argv) { return 0; }
13795 _ACEOF
13796 if ac_fn_c_try_link "$LINENO"; then :
13797 ac_cv_cflags__Wtype_limits=yes
13798 else
13799 ac_cv_cflags__Wtype_limits=no
13801 rm -f core conftest.err conftest.$ac_objext \
13802 conftest$ac_exeext conftest.$ac_ext
13803 CFLAGS=$ac_wine_try_cflags_saved
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13806 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13807 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13808 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13811 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13812 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13813 $as_echo_n "(cached) " >&6
13814 else
13815 ac_wine_try_cflags_saved=$CFLAGS
13816 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13818 /* end confdefs.h. */
13819 int main(int argc, char **argv) { return 0; }
13820 _ACEOF
13821 if ac_fn_c_try_link "$LINENO"; then :
13822 ac_cv_cflags__Wunused_but_set_parameter=yes
13823 else
13824 ac_cv_cflags__Wunused_but_set_parameter=no
13826 rm -f core conftest.err conftest.$ac_objext \
13827 conftest$ac_exeext conftest.$ac_ext
13828 CFLAGS=$ac_wine_try_cflags_saved
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13831 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13832 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13833 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13836 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13837 if ${ac_cv_cflags__Wvla+:} false; then :
13838 $as_echo_n "(cached) " >&6
13839 else
13840 ac_wine_try_cflags_saved=$CFLAGS
13841 CFLAGS="$CFLAGS -Wvla"
13842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13843 /* end confdefs.h. */
13844 int main(int argc, char **argv) { return 0; }
13845 _ACEOF
13846 if ac_fn_c_try_link "$LINENO"; then :
13847 ac_cv_cflags__Wvla=yes
13848 else
13849 ac_cv_cflags__Wvla=no
13851 rm -f core conftest.err conftest.$ac_objext \
13852 conftest$ac_exeext conftest.$ac_ext
13853 CFLAGS=$ac_wine_try_cflags_saved
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13856 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13857 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13858 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13861 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13862 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13863 $as_echo_n "(cached) " >&6
13864 else
13865 ac_wine_try_cflags_saved=$CFLAGS
13866 CFLAGS="$CFLAGS -Wwrite-strings"
13867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13868 /* end confdefs.h. */
13869 int main(int argc, char **argv) { return 0; }
13870 _ACEOF
13871 if ac_fn_c_try_link "$LINENO"; then :
13872 ac_cv_cflags__Wwrite_strings=yes
13873 else
13874 ac_cv_cflags__Wwrite_strings=no
13876 rm -f core conftest.err conftest.$ac_objext \
13877 conftest$ac_exeext conftest.$ac_ext
13878 CFLAGS=$ac_wine_try_cflags_saved
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13881 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13882 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13883 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13887 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13888 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13889 $as_echo_n "(cached) " >&6
13890 else
13891 ac_wine_try_cflags_saved=$CFLAGS
13892 CFLAGS="$CFLAGS -Wpointer-arith"
13893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13894 /* end confdefs.h. */
13895 int main(int argc, char **argv) { return 0; }
13896 _ACEOF
13897 if ac_fn_c_try_link "$LINENO"; then :
13898 ac_cv_cflags__Wpointer_arith=yes
13899 else
13900 ac_cv_cflags__Wpointer_arith=no
13902 rm -f core conftest.err conftest.$ac_objext \
13903 conftest$ac_exeext conftest.$ac_ext
13904 CFLAGS=$ac_wine_try_cflags_saved
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13907 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13908 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13909 saved_string_h_CFLAGS=$CFLAGS
13910 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13912 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13913 if ${ac_cv_c_string_h_warnings+:} false; then :
13914 $as_echo_n "(cached) " >&6
13915 else
13916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13917 /* end confdefs.h. */
13918 #include <string.h>
13920 main ()
13924 return 0;
13926 _ACEOF
13927 if ac_fn_c_try_compile "$LINENO"; then :
13928 ac_cv_c_string_h_warnings=no
13929 else
13930 ac_cv_c_string_h_warnings=yes
13932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13935 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13936 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13937 CFLAGS=$saved_string_h_CFLAGS
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13941 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13942 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13943 $as_echo_n "(cached) " >&6
13944 else
13945 ac_wine_try_cflags_saved=$CFLAGS
13946 CFLAGS="$CFLAGS -Wlogical-op"
13947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13948 /* end confdefs.h. */
13949 int main(int argc, char **argv) { return 0; }
13950 _ACEOF
13951 if ac_fn_c_try_link "$LINENO"; then :
13952 ac_cv_cflags__Wlogical_op=yes
13953 else
13954 ac_cv_cflags__Wlogical_op=no
13956 rm -f core conftest.err conftest.$ac_objext \
13957 conftest$ac_exeext conftest.$ac_ext
13958 CFLAGS=$ac_wine_try_cflags_saved
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13961 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13962 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13963 saved_string_h_CFLAGS=$CFLAGS
13964 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13966 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13967 if ${ac_cv_c_logicalop_noisy+:} false; then :
13968 $as_echo_n "(cached) " >&6
13969 else
13970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13971 /* end confdefs.h. */
13972 #include <string.h>
13973 char*f(const char *h,char n) {return strchr(h,n);}
13975 main ()
13979 return 0;
13981 _ACEOF
13982 if ac_fn_c_try_compile "$LINENO"; then :
13983 ac_cv_c_logicalop_noisy=no
13984 else
13985 ac_cv_c_logicalop_noisy=yes
13987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13990 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13991 CFLAGS=$saved_string_h_CFLAGS
13992 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13995 CFLAGS=$saved_CFLAGS
13997 for ac_flag in $CFLAGS; do
13998 case $ac_flag in
13999 -g) case $host_os in
14000 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14001 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14002 if ${ac_cv_cflags__gstabsp+:} false; then :
14003 $as_echo_n "(cached) " >&6
14004 else
14005 ac_wine_try_cflags_saved=$CFLAGS
14006 CFLAGS="$CFLAGS -gstabs+"
14007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14008 /* end confdefs.h. */
14009 int main(int argc, char **argv) { return 0; }
14010 _ACEOF
14011 if ac_fn_c_try_link "$LINENO"; then :
14012 ac_cv_cflags__gstabsp=yes
14013 else
14014 ac_cv_cflags__gstabsp=no
14016 rm -f core conftest.err conftest.$ac_objext \
14017 conftest$ac_exeext conftest.$ac_ext
14018 CFLAGS=$ac_wine_try_cflags_saved
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14021 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14022 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14023 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14024 fi ;;
14025 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14026 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14027 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14028 $as_echo_n "(cached) " >&6
14029 else
14030 ac_wine_try_cflags_saved=$CFLAGS
14031 CFLAGS="$CFLAGS -gdwarf-2"
14032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14033 /* end confdefs.h. */
14034 int main(int argc, char **argv) { return 0; }
14035 _ACEOF
14036 if ac_fn_c_try_link "$LINENO"; then :
14037 ac_cv_cflags__gdwarf_2=yes
14038 else
14039 ac_cv_cflags__gdwarf_2=no
14041 rm -f core conftest.err conftest.$ac_objext \
14042 conftest$ac_exeext conftest.$ac_ext
14043 CFLAGS=$ac_wine_try_cflags_saved
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14046 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14047 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14048 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14051 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14052 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14053 $as_echo_n "(cached) " >&6
14054 else
14055 ac_wine_try_cflags_saved=$CFLAGS
14056 CFLAGS="$CFLAGS -gstrict-dwarf"
14057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14058 /* end confdefs.h. */
14059 int main(int argc, char **argv) { return 0; }
14060 _ACEOF
14061 if ac_fn_c_try_link "$LINENO"; then :
14062 ac_cv_cflags__gstrict_dwarf=yes
14063 else
14064 ac_cv_cflags__gstrict_dwarf=no
14066 rm -f core conftest.err conftest.$ac_objext \
14067 conftest$ac_exeext conftest.$ac_ext
14068 CFLAGS=$ac_wine_try_cflags_saved
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14071 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14072 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14073 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14074 fi ;;
14075 esac ;;
14076 esac
14077 done
14079 case $host_cpu in
14080 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14081 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14082 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14083 $as_echo_n "(cached) " >&6
14084 else
14085 ac_wine_try_cflags_saved=$CFLAGS
14086 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14088 /* end confdefs.h. */
14089 int main(int argc, char **argv) { return 0; }
14090 _ACEOF
14091 if ac_fn_c_try_link "$LINENO"; then :
14092 ac_cv_cflags__fno_omit_frame_pointer=yes
14093 else
14094 ac_cv_cflags__fno_omit_frame_pointer=no
14096 rm -f core conftest.err conftest.$ac_objext \
14097 conftest$ac_exeext conftest.$ac_ext
14098 CFLAGS=$ac_wine_try_cflags_saved
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14101 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14102 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14103 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14104 fi ;;
14105 esac
14107 case $host in
14108 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14109 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14110 if ${ac_cv_cflags__Wno_format+:} false; then :
14111 $as_echo_n "(cached) " >&6
14112 else
14113 ac_wine_try_cflags_saved=$CFLAGS
14114 CFLAGS="$CFLAGS -Wno-format"
14115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14116 /* end confdefs.h. */
14117 int main(int argc, char **argv) { return 0; }
14118 _ACEOF
14119 if ac_fn_c_try_link "$LINENO"; then :
14120 ac_cv_cflags__Wno_format=yes
14121 else
14122 ac_cv_cflags__Wno_format=no
14124 rm -f core conftest.err conftest.$ac_objext \
14125 conftest$ac_exeext conftest.$ac_ext
14126 CFLAGS=$ac_wine_try_cflags_saved
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14129 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14130 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14131 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14132 fi ;;
14133 esac
14135 if test "x$enable_maintainer_mode" = "xyes"
14136 then
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14138 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14139 if ${ac_cv_cflags__Werror+:} false; then :
14140 $as_echo_n "(cached) " >&6
14141 else
14142 ac_wine_try_cflags_saved=$CFLAGS
14143 CFLAGS="$CFLAGS -Werror"
14144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14145 /* end confdefs.h. */
14146 int main(int argc, char **argv) { return 0; }
14147 _ACEOF
14148 if ac_fn_c_try_link "$LINENO"; then :
14149 ac_cv_cflags__Werror=yes
14150 else
14151 ac_cv_cflags__Werror=no
14153 rm -f core conftest.err conftest.$ac_objext \
14154 conftest$ac_exeext conftest.$ac_ext
14155 CFLAGS=$ac_wine_try_cflags_saved
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14158 $as_echo "$ac_cv_cflags__Werror" >&6; }
14159 if test "x$ac_cv_cflags__Werror" = xyes; then :
14160 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14164 saved_CFLAGS="$CFLAGS"
14165 CFLAGS="$CFLAGS -Werror"
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14167 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14168 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14169 $as_echo_n "(cached) " >&6
14170 else
14171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14172 /* end confdefs.h. */
14173 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14175 main ()
14179 return 0;
14181 _ACEOF
14182 if ac_fn_c_try_compile "$LINENO"; then :
14183 ac_cv_have_ms_hook_prologue="yes"
14184 else
14185 ac_cv_have_ms_hook_prologue="no"
14187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14190 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14191 CFLAGS="$saved_CFLAGS"
14192 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14193 then
14195 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14197 else
14198 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14205 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14206 if ${ac_cv_c_fortify_enabled+:} false; then :
14207 $as_echo_n "(cached) " >&6
14208 else
14209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14210 /* end confdefs.h. */
14211 #include <string.h>
14213 main ()
14215 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14216 #error Fortify enabled
14217 #endif
14219 return 0;
14221 _ACEOF
14222 if ac_fn_c_try_compile "$LINENO"; then :
14223 ac_cv_c_fortify_enabled=no
14224 else
14225 ac_cv_c_fortify_enabled=yes
14227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14230 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14231 if test "$ac_cv_c_fortify_enabled" = yes
14232 then
14233 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14238 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14239 if ${ac_cv_c_extern_prefix+:} false; then :
14240 $as_echo_n "(cached) " >&6
14241 else
14242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14243 /* end confdefs.h. */
14244 extern int ac_test;
14246 main ()
14248 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14250 return 0;
14252 _ACEOF
14253 if ac_fn_c_try_link "$LINENO"; then :
14254 ac_cv_c_extern_prefix="yes"
14255 else
14256 ac_cv_c_extern_prefix="no"
14258 rm -f core conftest.err conftest.$ac_objext \
14259 conftest$ac_exeext conftest.$ac_ext
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14262 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14264 case $host_cpu in
14265 *i[3456789]86*)
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14267 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14268 if ${ac_cv_c_stdcall_suffix+:} false; then :
14269 $as_echo_n "(cached) " >&6
14270 else
14271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14272 /* end confdefs.h. */
14273 #ifndef _MSC_VER
14274 #define __stdcall __attribute__((__stdcall__))
14275 #endif
14276 int __stdcall ac_test(int i) { return i; }
14278 main ()
14280 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14282 return 0;
14284 _ACEOF
14285 if ac_fn_c_try_link "$LINENO"; then :
14286 ac_cv_c_stdcall_suffix="yes"
14287 else
14288 ac_cv_c_stdcall_suffix="no"
14290 rm -f core conftest.err conftest.$ac_objext \
14291 conftest$ac_exeext conftest.$ac_ext
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14294 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14295 *) ac_cv_c_stdcall_suffix="no" ;;
14296 esac
14299 if test "$ac_cv_c_extern_prefix" = "yes"
14300 then
14301 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14303 asm_name_prefix="_"
14304 else
14305 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14307 asm_name_prefix=""
14311 if test "$ac_cv_c_stdcall_suffix" = "yes"
14312 then
14313 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14315 else
14316 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14322 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14323 if ${ac_cv_asm_func_def+:} false; then :
14324 $as_echo_n "(cached) " >&6
14325 else
14326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14327 /* end confdefs.h. */
14330 main ()
14332 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14334 return 0;
14336 _ACEOF
14337 if ac_fn_c_try_link "$LINENO"; then :
14338 ac_cv_asm_func_def=".def"
14339 else
14340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14341 /* end confdefs.h. */
14344 main ()
14346 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14348 return 0;
14350 _ACEOF
14351 if ac_fn_c_try_link "$LINENO"; then :
14352 ac_cv_asm_func_def=".type @function"
14353 else
14354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14355 /* end confdefs.h. */
14358 main ()
14360 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14362 return 0;
14364 _ACEOF
14365 if ac_fn_c_try_link "$LINENO"; then :
14366 ac_cv_asm_func_def=".type 2"
14367 else
14368 ac_cv_asm_func_def="unknown"
14370 rm -f core conftest.err conftest.$ac_objext \
14371 conftest$ac_exeext conftest.$ac_ext
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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14380 $as_echo "$ac_cv_asm_func_def" >&6; }
14383 case "$ac_cv_asm_func_def" in
14384 ".def")
14385 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14387 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14388 ".type @function")
14389 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14391 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14392 ".type 2")
14393 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14395 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14397 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14399 asm_func_header="" ;;
14400 esac
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14403 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14404 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14405 $as_echo_n "(cached) " >&6
14406 else
14407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14409 asm(".text\n\t.long 0");
14411 main ()
14415 return 0;
14417 _ACEOF
14418 if ac_fn_c_try_compile "$LINENO"; then :
14419 ac_cv_c_asm_outside_funcs="yes"
14420 else
14421 ac_cv_c_asm_outside_funcs="no"
14423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14426 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14429 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14430 if ${ac_cv_c_dot_previous+:} false; then :
14431 $as_echo_n "(cached) " >&6
14432 else
14433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14434 /* end confdefs.h. */
14437 main ()
14439 asm(".text\nac_test:\t.long 0\n\t.previous");
14441 return 0;
14443 _ACEOF
14444 if ac_fn_c_try_link "$LINENO"; then :
14445 ac_cv_c_dot_previous="yes"
14446 else
14447 ac_cv_c_dot_previous="no"
14449 rm -f core conftest.err conftest.$ac_objext \
14450 conftest$ac_exeext conftest.$ac_ext
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14453 $as_echo "$ac_cv_c_dot_previous" >&6; }
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14456 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14457 if ${ac_cv_c_cfi_support+:} false; then :
14458 $as_echo_n "(cached) " >&6
14459 else
14460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14461 /* end confdefs.h. */
14462 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14464 main ()
14468 return 0;
14470 _ACEOF
14471 if ac_fn_c_try_compile "$LINENO"; then :
14472 ac_cv_c_cfi_support="yes"
14473 else
14474 ac_cv_c_cfi_support="no"
14476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14479 $as_echo "$ac_cv_c_cfi_support" >&6; }
14481 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14482 asm_func_trailer=""
14483 if test "$ac_cv_c_dot_previous" = "yes"
14484 then
14485 asm_func_trailer="\\n\\t.previous"
14487 if test "$ac_cv_c_cfi_support" = "yes"
14488 then
14489 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14490 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14492 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14494 UNWINDFLAGS=-fasynchronous-unwind-tables
14496 else
14497 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14501 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14504 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14505 then
14506 cat >>confdefs.h <<_ACEOF
14507 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14508 _ACEOF
14510 else
14511 cat >>confdefs.h <<_ACEOF
14512 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14513 _ACEOF
14517 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14520 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14524 case $build_os in
14525 cygwin*|mingw32*) TOOLSEXT=".exe"
14527 esac
14529 case $host_os in
14530 linux*)
14531 case $host_cpu in
14532 *i[3456789]86*|x86_64*)
14533 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14534 loader_programs="$loader_programs $wine_binary-preloader"
14535 as_fn_append LOADER_RULES "
14536 $wine_binary-preloader: preloader.o
14537 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14539 install install-lib:: $wine_binary-preloader
14540 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14542 uninstall::
14543 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14545 preloader_EXTRADEFS = $BUILTINFLAG
14546 " ;;
14547 esac
14549 esac
14550 as_fn_append LOADER_RULES "
14551 PROGRAMS = $loader_programs
14555 ac_save_CFLAGS="$CFLAGS"
14556 CFLAGS="$CFLAGS $BUILTINFLAG"
14557 for ac_func in \
14558 __res_get_state \
14559 __res_getservers \
14560 _finite \
14561 _isnan \
14562 _pclose \
14563 _popen \
14564 _snprintf \
14565 _spawnvp \
14566 _strdup \
14567 _stricmp \
14568 _strnicmp \
14569 _strtoi64 \
14570 _strtoui64 \
14571 _vsnprintf \
14572 asctime_r \
14573 chsize \
14574 dlopen \
14575 epoll_create \
14576 ffs \
14577 fnmatch \
14578 fork \
14579 fpclass \
14580 fstatfs \
14581 fstatvfs \
14582 ftruncate \
14583 futimens \
14584 futimes \
14585 futimesat \
14586 getattrlist \
14587 getdirentries \
14588 getopt_long_only \
14589 getpwuid \
14590 gettimeofday \
14591 getuid \
14592 if_nameindex \
14593 kqueue \
14594 lstat \
14595 memmove \
14596 mmap \
14597 pclose \
14598 pipe2 \
14599 poll \
14600 popen \
14601 port_create \
14602 prctl \
14603 pread \
14604 proc_pidinfo \
14605 pwrite \
14606 readdir \
14607 readlink \
14608 sched_yield \
14609 select \
14610 setproctitle \
14611 setrlimit \
14612 settimeofday \
14613 sigaltstack \
14614 sigprocmask \
14615 snprintf \
14616 statfs \
14617 statvfs \
14618 strcasecmp \
14619 strdup \
14620 strerror \
14621 strncasecmp \
14622 strtold \
14623 strtoll \
14624 strtoull \
14625 symlink \
14626 tcdrain \
14627 thr_kill2 \
14628 timegm \
14629 usleep \
14630 vsnprintf
14632 do :
14633 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14634 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14635 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14636 cat >>confdefs.h <<_ACEOF
14637 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14638 _ACEOF
14641 done
14643 CFLAGS="$ac_save_CFLAGS"
14645 if test "$ac_cv_func_dlopen" = no
14646 then
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14648 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14649 if ${ac_cv_lib_dl_dlopen+:} false; then :
14650 $as_echo_n "(cached) " >&6
14651 else
14652 ac_check_lib_save_LIBS=$LIBS
14653 LIBS="-ldl $LIBS"
14654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14655 /* end confdefs.h. */
14657 /* Override any GCC internal prototype to avoid an error.
14658 Use char because int might match the return type of a GCC
14659 builtin and then its argument prototype would still apply. */
14660 #ifdef __cplusplus
14661 extern "C"
14662 #endif
14663 char dlopen ();
14665 main ()
14667 return dlopen ();
14669 return 0;
14671 _ACEOF
14672 if ac_fn_c_try_link "$LINENO"; then :
14673 ac_cv_lib_dl_dlopen=yes
14674 else
14675 ac_cv_lib_dl_dlopen=no
14677 rm -f core conftest.err conftest.$ac_objext \
14678 conftest$ac_exeext conftest.$ac_ext
14679 LIBS=$ac_check_lib_save_LIBS
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14682 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14683 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14684 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14685 DL_LIBS="-ldl"
14690 ac_wine_check_funcs_save_LIBS="$LIBS"
14691 LIBS="$LIBS $DL_LIBS"
14692 for ac_func in dladdr
14693 do :
14694 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14695 if test "x$ac_cv_func_dladdr" = xyes; then :
14696 cat >>confdefs.h <<_ACEOF
14697 #define HAVE_DLADDR 1
14698 _ACEOF
14701 done
14703 LIBS="$ac_wine_check_funcs_save_LIBS"
14705 if test "$ac_cv_func_poll" = no
14706 then
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14708 $as_echo_n "checking for poll in -lpoll... " >&6; }
14709 if ${ac_cv_lib_poll_poll+:} false; then :
14710 $as_echo_n "(cached) " >&6
14711 else
14712 ac_check_lib_save_LIBS=$LIBS
14713 LIBS="-lpoll $LIBS"
14714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14715 /* end confdefs.h. */
14717 /* Override any GCC internal prototype to avoid an error.
14718 Use char because int might match the return type of a GCC
14719 builtin and then its argument prototype would still apply. */
14720 #ifdef __cplusplus
14721 extern "C"
14722 #endif
14723 char poll ();
14725 main ()
14727 return poll ();
14729 return 0;
14731 _ACEOF
14732 if ac_fn_c_try_link "$LINENO"; then :
14733 ac_cv_lib_poll_poll=yes
14734 else
14735 ac_cv_lib_poll_poll=no
14737 rm -f core conftest.err conftest.$ac_objext \
14738 conftest$ac_exeext conftest.$ac_ext
14739 LIBS=$ac_check_lib_save_LIBS
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14742 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14743 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14744 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14745 POLL_LIBS="-lpoll"
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14752 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14753 if ${ac_cv_search_gethostbyname+:} false; then :
14754 $as_echo_n "(cached) " >&6
14755 else
14756 ac_func_search_save_LIBS=$LIBS
14757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14758 /* end confdefs.h. */
14760 /* Override any GCC internal prototype to avoid an error.
14761 Use char because int might match the return type of a GCC
14762 builtin and then its argument prototype would still apply. */
14763 #ifdef __cplusplus
14764 extern "C"
14765 #endif
14766 char gethostbyname ();
14768 main ()
14770 return gethostbyname ();
14772 return 0;
14774 _ACEOF
14775 for ac_lib in '' nsl; do
14776 if test -z "$ac_lib"; then
14777 ac_res="none required"
14778 else
14779 ac_res=-l$ac_lib
14780 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14782 if ac_fn_c_try_link "$LINENO"; then :
14783 ac_cv_search_gethostbyname=$ac_res
14785 rm -f core conftest.err conftest.$ac_objext \
14786 conftest$ac_exeext
14787 if ${ac_cv_search_gethostbyname+:} false; then :
14788 break
14790 done
14791 if ${ac_cv_search_gethostbyname+:} false; then :
14793 else
14794 ac_cv_search_gethostbyname=no
14796 rm conftest.$ac_ext
14797 LIBS=$ac_func_search_save_LIBS
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14800 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14801 ac_res=$ac_cv_search_gethostbyname
14802 if test "$ac_res" != no; then :
14803 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14809 $as_echo_n "checking for library containing connect... " >&6; }
14810 if ${ac_cv_search_connect+:} false; then :
14811 $as_echo_n "(cached) " >&6
14812 else
14813 ac_func_search_save_LIBS=$LIBS
14814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14815 /* end confdefs.h. */
14817 /* Override any GCC internal prototype to avoid an error.
14818 Use char because int might match the return type of a GCC
14819 builtin and then its argument prototype would still apply. */
14820 #ifdef __cplusplus
14821 extern "C"
14822 #endif
14823 char connect ();
14825 main ()
14827 return connect ();
14829 return 0;
14831 _ACEOF
14832 for ac_lib in '' socket; do
14833 if test -z "$ac_lib"; then
14834 ac_res="none required"
14835 else
14836 ac_res=-l$ac_lib
14837 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14839 if ac_fn_c_try_link "$LINENO"; then :
14840 ac_cv_search_connect=$ac_res
14842 rm -f core conftest.err conftest.$ac_objext \
14843 conftest$ac_exeext
14844 if ${ac_cv_search_connect+:} false; then :
14845 break
14847 done
14848 if ${ac_cv_search_connect+:} false; then :
14850 else
14851 ac_cv_search_connect=no
14853 rm conftest.$ac_ext
14854 LIBS=$ac_func_search_save_LIBS
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14857 $as_echo "$ac_cv_search_connect" >&6; }
14858 ac_res=$ac_cv_search_connect
14859 if test "$ac_res" != no; then :
14860 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14866 $as_echo_n "checking for library containing inet_aton... " >&6; }
14867 if ${ac_cv_search_inet_aton+:} false; then :
14868 $as_echo_n "(cached) " >&6
14869 else
14870 ac_func_search_save_LIBS=$LIBS
14871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14872 /* end confdefs.h. */
14874 /* Override any GCC internal prototype to avoid an error.
14875 Use char because int might match the return type of a GCC
14876 builtin and then its argument prototype would still apply. */
14877 #ifdef __cplusplus
14878 extern "C"
14879 #endif
14880 char inet_aton ();
14882 main ()
14884 return inet_aton ();
14886 return 0;
14888 _ACEOF
14889 for ac_lib in '' resolv; do
14890 if test -z "$ac_lib"; then
14891 ac_res="none required"
14892 else
14893 ac_res=-l$ac_lib
14894 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14896 if ac_fn_c_try_link "$LINENO"; then :
14897 ac_cv_search_inet_aton=$ac_res
14899 rm -f core conftest.err conftest.$ac_objext \
14900 conftest$ac_exeext
14901 if ${ac_cv_search_inet_aton+:} false; then :
14902 break
14904 done
14905 if ${ac_cv_search_inet_aton+:} false; then :
14907 else
14908 ac_cv_search_inet_aton=no
14910 rm conftest.$ac_ext
14911 LIBS=$ac_func_search_save_LIBS
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14914 $as_echo "$ac_cv_search_inet_aton" >&6; }
14915 ac_res=$ac_cv_search_inet_aton
14916 if test "$ac_res" != no; then :
14917 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14922 for ac_func in \
14923 getaddrinfo \
14924 getnameinfo \
14925 getnetbyname \
14926 getprotobyname \
14927 getprotobynumber \
14928 getservbyport \
14929 inet_addr \
14930 inet_network \
14931 inet_ntop \
14932 inet_pton \
14933 sendmsg \
14934 socketpair \
14936 do :
14937 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14938 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14939 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14940 cat >>confdefs.h <<_ACEOF
14941 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14942 _ACEOF
14945 done
14948 ac_save_LIBS=$LIBS
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14950 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14951 if ${ac_cv_search_clock_gettime+:} false; then :
14952 $as_echo_n "(cached) " >&6
14953 else
14954 ac_func_search_save_LIBS=$LIBS
14955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h. */
14958 /* Override any GCC internal prototype to avoid an error.
14959 Use char because int might match the return type of a GCC
14960 builtin and then its argument prototype would still apply. */
14961 #ifdef __cplusplus
14962 extern "C"
14963 #endif
14964 char clock_gettime ();
14966 main ()
14968 return clock_gettime ();
14970 return 0;
14972 _ACEOF
14973 for ac_lib in '' rt; do
14974 if test -z "$ac_lib"; then
14975 ac_res="none required"
14976 else
14977 ac_res=-l$ac_lib
14978 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14980 if ac_fn_c_try_link "$LINENO"; then :
14981 ac_cv_search_clock_gettime=$ac_res
14983 rm -f core conftest.err conftest.$ac_objext \
14984 conftest$ac_exeext
14985 if ${ac_cv_search_clock_gettime+:} false; then :
14986 break
14988 done
14989 if ${ac_cv_search_clock_gettime+:} false; then :
14991 else
14992 ac_cv_search_clock_gettime=no
14994 rm conftest.$ac_ext
14995 LIBS=$ac_func_search_save_LIBS
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14998 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14999 ac_res=$ac_cv_search_clock_gettime
15000 if test "$ac_res" != no; then :
15001 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15003 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15005 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15009 LIBS=$ac_save_LIBS
15011 LDAP_LIBS=""
15013 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15014 then
15015 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15017 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15019 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15020 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15021 $as_echo_n "(cached) " >&6
15022 else
15023 ac_check_lib_save_LIBS=$LIBS
15024 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15026 /* end confdefs.h. */
15028 /* Override any GCC internal prototype to avoid an error.
15029 Use char because int might match the return type of a GCC
15030 builtin and then its argument prototype would still apply. */
15031 #ifdef __cplusplus
15032 extern "C"
15033 #endif
15034 char ldap_initialize ();
15036 main ()
15038 return ldap_initialize ();
15040 return 0;
15042 _ACEOF
15043 if ac_fn_c_try_link "$LINENO"; then :
15044 ac_cv_lib_ldap_r_ldap_initialize=yes
15045 else
15046 ac_cv_lib_ldap_r_ldap_initialize=no
15048 rm -f core conftest.err conftest.$ac_objext \
15049 conftest$ac_exeext conftest.$ac_ext
15050 LIBS=$ac_check_lib_save_LIBS
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15053 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15054 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15056 $as_echo_n "checking for ber_init in -llber... " >&6; }
15057 if ${ac_cv_lib_lber_ber_init+:} false; then :
15058 $as_echo_n "(cached) " >&6
15059 else
15060 ac_check_lib_save_LIBS=$LIBS
15061 LIBS="-llber $PTHREAD_LIBS $LIBS"
15062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15063 /* end confdefs.h. */
15065 /* Override any GCC internal prototype to avoid an error.
15066 Use char because int might match the return type of a GCC
15067 builtin and then its argument prototype would still apply. */
15068 #ifdef __cplusplus
15069 extern "C"
15070 #endif
15071 char ber_init ();
15073 main ()
15075 return ber_init ();
15077 return 0;
15079 _ACEOF
15080 if ac_fn_c_try_link "$LINENO"; then :
15081 ac_cv_lib_lber_ber_init=yes
15082 else
15083 ac_cv_lib_lber_ber_init=no
15085 rm -f core conftest.err conftest.$ac_objext \
15086 conftest$ac_exeext conftest.$ac_ext
15087 LIBS=$ac_check_lib_save_LIBS
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15090 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15091 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15093 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15095 LDAP_LIBS="-lldap_r -llber"
15102 ac_wine_check_funcs_save_LIBS="$LIBS"
15103 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15104 for ac_func in \
15105 ldap_count_references \
15106 ldap_first_reference \
15107 ldap_next_reference \
15108 ldap_parse_reference \
15109 ldap_parse_sort_control \
15110 ldap_parse_sortresponse_control \
15111 ldap_parse_vlv_control \
15112 ldap_parse_vlvresponse_control
15113 do :
15114 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15115 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15116 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15117 cat >>confdefs.h <<_ACEOF
15118 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15119 _ACEOF
15122 done
15124 LIBS="$ac_wine_check_funcs_save_LIBS"
15126 if test "x$LDAP_LIBS" = "x"; then :
15127 case "x$with_ldap" in
15128 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15129 xno) ;;
15130 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15131 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15132 esac
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15136 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15137 if ${wine_cv_one_arg_mkdir+:} false; then :
15138 $as_echo_n "(cached) " >&6
15139 else
15140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15141 /* end confdefs.h. */
15142 #include <sys/stat.h>
15144 main ()
15146 mkdir("foo");
15148 return 0;
15150 _ACEOF
15151 if ac_fn_c_try_compile "$LINENO"; then :
15152 wine_cv_one_arg_mkdir=yes
15153 else
15154 wine_cv_one_arg_mkdir=no
15156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15159 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15160 if test "$wine_cv_one_arg_mkdir" = "yes"
15161 then
15163 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15168 $as_echo_n "checking for sched_setaffinity... " >&6; }
15169 if ${wine_cv_have_sched_setaffinity+:} false; then :
15170 $as_echo_n "(cached) " >&6
15171 else
15172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15173 /* end confdefs.h. */
15174 #define _GNU_SOURCE
15175 #include <sched.h>
15177 main ()
15179 sched_setaffinity(0, 0, 0);
15181 return 0;
15183 _ACEOF
15184 if ac_fn_c_try_link "$LINENO"; then :
15185 wine_cv_have_sched_setaffinity=yes
15186 else
15187 wine_cv_have_sched_setaffinity=no
15189 rm -f core conftest.err conftest.$ac_objext \
15190 conftest$ac_exeext conftest.$ac_ext
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15193 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15194 if test "$wine_cv_have_sched_setaffinity" = "yes"
15195 then
15197 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15202 $as_echo_n "checking for fallocate... " >&6; }
15203 if ${wine_cv_have_fallocate+:} false; then :
15204 $as_echo_n "(cached) " >&6
15205 else
15206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15207 /* end confdefs.h. */
15208 #define _GNU_SOURCE
15209 #include <fcntl.h>
15211 main ()
15213 fallocate(-1, 0, 0, 0);
15215 return 0;
15217 _ACEOF
15218 if ac_fn_c_try_link "$LINENO"; then :
15219 wine_cv_have_fallocate=yes
15220 else
15221 wine_cv_have_fallocate=no
15223 rm -f core conftest.err conftest.$ac_objext \
15224 conftest$ac_exeext conftest.$ac_ext
15226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15227 $as_echo "$wine_cv_have_fallocate" >&6; }
15228 if test "$wine_cv_have_fallocate" = "yes"
15229 then
15231 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15237 $as_echo_n "checking for inline... " >&6; }
15238 if ${ac_cv_c_inline+:} false; then :
15239 $as_echo_n "(cached) " >&6
15240 else
15241 ac_cv_c_inline=no
15242 for ac_kw in inline __inline__ __inline; do
15243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15244 /* end confdefs.h. */
15245 #ifndef __cplusplus
15246 typedef int foo_t;
15247 static $ac_kw foo_t static_foo () {return 0; }
15248 $ac_kw foo_t foo () {return 0; }
15249 #endif
15251 _ACEOF
15252 if ac_fn_c_try_compile "$LINENO"; then :
15253 ac_cv_c_inline=$ac_kw
15255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15256 test "$ac_cv_c_inline" != no && break
15257 done
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15261 $as_echo "$ac_cv_c_inline" >&6; }
15263 case $ac_cv_c_inline in
15264 inline | yes) ;;
15266 case $ac_cv_c_inline in
15267 no) ac_val=;;
15268 *) ac_val=$ac_cv_c_inline;;
15269 esac
15270 cat >>confdefs.h <<_ACEOF
15271 #ifndef __cplusplus
15272 #define inline $ac_val
15273 #endif
15274 _ACEOF
15276 esac
15278 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15279 if test "x$ac_cv_type_mode_t" = xyes; then :
15281 cat >>confdefs.h <<_ACEOF
15282 #define HAVE_MODE_T 1
15283 _ACEOF
15287 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15288 if test "x$ac_cv_type_off_t" = xyes; then :
15290 cat >>confdefs.h <<_ACEOF
15291 #define HAVE_OFF_T 1
15292 _ACEOF
15296 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15297 if test "x$ac_cv_type_pid_t" = xyes; then :
15299 cat >>confdefs.h <<_ACEOF
15300 #define HAVE_PID_T 1
15301 _ACEOF
15305 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15306 if test "x$ac_cv_type_size_t" = xyes; then :
15308 cat >>confdefs.h <<_ACEOF
15309 #define HAVE_SIZE_T 1
15310 _ACEOF
15314 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15315 if test "x$ac_cv_type_ssize_t" = xyes; then :
15317 cat >>confdefs.h <<_ACEOF
15318 #define HAVE_SSIZE_T 1
15319 _ACEOF
15323 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15324 if test "x$ac_cv_type_long_long" = xyes; then :
15326 cat >>confdefs.h <<_ACEOF
15327 #define HAVE_LONG_LONG 1
15328 _ACEOF
15332 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15333 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15335 cat >>confdefs.h <<_ACEOF
15336 #define HAVE_FSBLKCNT_T 1
15337 _ACEOF
15341 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15342 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15344 cat >>confdefs.h <<_ACEOF
15345 #define HAVE_FSFILCNT_T 1
15346 _ACEOF
15351 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15352 #include <signal.h>
15354 if test "x$ac_cv_type_sigset_t" = xyes; then :
15356 cat >>confdefs.h <<_ACEOF
15357 #define HAVE_SIGSET_T 1
15358 _ACEOF
15363 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15365 if test "x$ac_cv_type_request_sense" = xyes; then :
15367 cat >>confdefs.h <<_ACEOF
15368 #define HAVE_REQUEST_SENSE 1
15369 _ACEOF
15375 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15376 #ifdef HAVE_SYS_SOCKET_H
15377 #include <sys/socket.h>
15378 #endif
15379 #ifdef HAVE_SYS_SOCKETVAR_H
15380 #include <sys/socketvar.h>
15381 #endif
15382 #ifdef HAVE_NET_ROUTE_H
15383 #include <net/route.h>
15384 #endif
15385 #ifdef HAVE_NETINET_IN_H
15386 #include <netinet/in.h>
15387 #endif
15388 #ifdef HAVE_NETINET_IN_SYSTM_H
15389 #include <netinet/in_systm.h>
15390 #endif
15391 #ifdef HAVE_NETINET_IP_H
15392 #include <netinet/ip.h>
15393 #endif
15394 #ifdef HAVE_NETINET_IN_PCB_H
15395 #include <netinet/in_pcb.h>
15396 #endif
15398 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15400 cat >>confdefs.h <<_ACEOF
15401 #define HAVE_STRUCT_XINPGEN 1
15402 _ACEOF
15408 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15409 #include <link.h>
15410 #endif
15411 #ifdef HAVE_SYS_LINK_H
15412 #include <sys/link.h>
15413 #endif
15415 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15417 cat >>confdefs.h <<_ACEOF
15418 #define HAVE_STRUCT_R_DEBUG 1
15419 _ACEOF
15423 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15424 #include <link.h>
15425 #endif
15426 #ifdef HAVE_SYS_LINK_H
15427 #include <sys/link.h>
15428 #endif
15430 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15432 cat >>confdefs.h <<_ACEOF
15433 #define HAVE_STRUCT_LINK_MAP 1
15434 _ACEOF
15440 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15441 #include <linux/input.h>
15442 #endif
15444 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15446 cat >>confdefs.h <<_ACEOF
15447 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15448 _ACEOF
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15455 $as_echo_n "checking for sigaddset... " >&6; }
15456 if ${wine_cv_have_sigaddset+:} false; then :
15457 $as_echo_n "(cached) " >&6
15458 else
15459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15460 /* end confdefs.h. */
15461 #include <signal.h>
15463 main ()
15465 sigset_t set; sigaddset(&set,SIGTERM);
15467 return 0;
15469 _ACEOF
15470 if ac_fn_c_try_link "$LINENO"; then :
15471 wine_cv_have_sigaddset=yes
15472 else
15473 wine_cv_have_sigaddset=no
15475 rm -f core conftest.err conftest.$ac_objext \
15476 conftest$ac_exeext conftest.$ac_ext
15478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15479 $as_echo "$wine_cv_have_sigaddset" >&6; }
15480 if test "$wine_cv_have_sigaddset" = "yes"
15481 then
15483 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15489 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15490 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15491 $as_echo_n "(cached) " >&6
15492 else
15493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15494 /* end confdefs.h. */
15495 #include <netdb.h>
15497 main ()
15500 char *name=0;
15501 struct hostent he;
15502 struct hostent *result;
15503 char *buf=0;
15504 int bufsize=0;
15505 int errnr;
15506 char *addr=0;
15507 int addrlen=0;
15508 int addrtype=0;
15509 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15510 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15513 return 0;
15515 _ACEOF
15516 if ac_fn_c_try_link "$LINENO"; then :
15517 wine_cv_linux_gethostbyname_r_6=yes
15518 else
15519 wine_cv_linux_gethostbyname_r_6=no
15522 rm -f core conftest.err conftest.$ac_objext \
15523 conftest$ac_exeext conftest.$ac_ext
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15527 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15528 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15529 then
15531 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15535 if test "$ac_cv_header_linux_joystick_h" = "yes"
15536 then
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15538 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15539 if ${wine_cv_linux_joystick_22_api+:} false; then :
15540 $as_echo_n "(cached) " >&6
15541 else
15542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15543 /* end confdefs.h. */
15545 #include <sys/ioctl.h>
15546 #include <sys/types.h>
15547 #include <linux/joystick.h>
15549 struct js_event blub;
15550 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15551 #error "no 2.2 header"
15552 #endif
15555 main ()
15557 /*empty*/
15559 return 0;
15561 _ACEOF
15562 if ac_fn_c_try_compile "$LINENO"; then :
15563 wine_cv_linux_joystick_22_api=yes
15564 else
15565 wine_cv_linux_joystick_22_api=no
15567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15571 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15572 if test "$wine_cv_linux_joystick_22_api" = "yes"
15573 then
15575 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15581 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15582 #ifdef HAVE_SYS_PARAM_H
15583 # include <sys/param.h>
15584 #endif
15585 #ifdef HAVE_SYS_MOUNT_H
15586 # include <sys/mount.h>
15587 #endif
15588 #ifdef HAVE_SYS_VFS_H
15589 # include <sys/vfs.h>
15590 #endif
15591 #ifdef HAVE_SYS_STATFS_H
15592 # include <sys/statfs.h>
15593 #endif
15595 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15597 cat >>confdefs.h <<_ACEOF
15598 #define HAVE_STRUCT_STATFS_F_BFREE 1
15599 _ACEOF
15603 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15604 #ifdef HAVE_SYS_PARAM_H
15605 # include <sys/param.h>
15606 #endif
15607 #ifdef HAVE_SYS_MOUNT_H
15608 # include <sys/mount.h>
15609 #endif
15610 #ifdef HAVE_SYS_VFS_H
15611 # include <sys/vfs.h>
15612 #endif
15613 #ifdef HAVE_SYS_STATFS_H
15614 # include <sys/statfs.h>
15615 #endif
15617 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15619 cat >>confdefs.h <<_ACEOF
15620 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15621 _ACEOF
15625 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15626 #ifdef HAVE_SYS_PARAM_H
15627 # include <sys/param.h>
15628 #endif
15629 #ifdef HAVE_SYS_MOUNT_H
15630 # include <sys/mount.h>
15631 #endif
15632 #ifdef HAVE_SYS_VFS_H
15633 # include <sys/vfs.h>
15634 #endif
15635 #ifdef HAVE_SYS_STATFS_H
15636 # include <sys/statfs.h>
15637 #endif
15639 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15641 cat >>confdefs.h <<_ACEOF
15642 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15643 _ACEOF
15647 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15648 #ifdef HAVE_SYS_PARAM_H
15649 # include <sys/param.h>
15650 #endif
15651 #ifdef HAVE_SYS_MOUNT_H
15652 # include <sys/mount.h>
15653 #endif
15654 #ifdef HAVE_SYS_VFS_H
15655 # include <sys/vfs.h>
15656 #endif
15657 #ifdef HAVE_SYS_STATFS_H
15658 # include <sys/statfs.h>
15659 #endif
15661 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15663 cat >>confdefs.h <<_ACEOF
15664 #define HAVE_STRUCT_STATFS_F_FFREE 1
15665 _ACEOF
15669 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15670 #ifdef HAVE_SYS_PARAM_H
15671 # include <sys/param.h>
15672 #endif
15673 #ifdef HAVE_SYS_MOUNT_H
15674 # include <sys/mount.h>
15675 #endif
15676 #ifdef HAVE_SYS_VFS_H
15677 # include <sys/vfs.h>
15678 #endif
15679 #ifdef HAVE_SYS_STATFS_H
15680 # include <sys/statfs.h>
15681 #endif
15683 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15685 cat >>confdefs.h <<_ACEOF
15686 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15687 _ACEOF
15691 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15692 #ifdef HAVE_SYS_PARAM_H
15693 # include <sys/param.h>
15694 #endif
15695 #ifdef HAVE_SYS_MOUNT_H
15696 # include <sys/mount.h>
15697 #endif
15698 #ifdef HAVE_SYS_VFS_H
15699 # include <sys/vfs.h>
15700 #endif
15701 #ifdef HAVE_SYS_STATFS_H
15702 # include <sys/statfs.h>
15703 #endif
15705 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15707 cat >>confdefs.h <<_ACEOF
15708 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15709 _ACEOF
15715 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15716 #include <sys/statvfs.h>
15717 #endif
15719 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15721 cat >>confdefs.h <<_ACEOF
15722 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15723 _ACEOF
15729 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15730 #include <dirent.h>
15731 #endif
15733 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15735 cat >>confdefs.h <<_ACEOF
15736 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15737 _ACEOF
15743 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15744 #ifdef HAVE_SYS_SOCKET_H
15745 # include <sys/socket.h>
15746 #endif
15747 #ifdef HAVE_SYS_UN_H
15748 # include <sys/un.h>
15749 #endif
15751 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15753 cat >>confdefs.h <<_ACEOF
15754 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15755 _ACEOF
15759 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15760 #ifdef HAVE_SYS_SOCKET_H
15761 # include <sys/socket.h>
15762 #endif
15763 #ifdef HAVE_SYS_UN_H
15764 # include <sys/un.h>
15765 #endif
15767 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15769 cat >>confdefs.h <<_ACEOF
15770 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15771 _ACEOF
15775 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15776 #ifdef HAVE_SYS_SOCKET_H
15777 # include <sys/socket.h>
15778 #endif
15779 #ifdef HAVE_SYS_UN_H
15780 # include <sys/un.h>
15781 #endif
15783 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15785 cat >>confdefs.h <<_ACEOF
15786 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15787 _ACEOF
15793 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15794 #ifdef HAVE_SCSI_SG_H
15795 #include <scsi/sg.h>
15796 #endif
15798 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15800 cat >>confdefs.h <<_ACEOF
15801 #define HAVE_SCSIREQ_T_CMD 1
15802 _ACEOF
15806 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>
15807 #ifdef HAVE_SCSI_SG_H
15808 #include <scsi/sg.h>
15809 #endif
15811 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15813 cat >>confdefs.h <<_ACEOF
15814 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15815 _ACEOF
15821 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15823 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15825 cat >>confdefs.h <<_ACEOF
15826 #define HAVE_SIGINFO_T_SI_FD 1
15827 _ACEOF
15833 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15834 #ifdef HAVE_SYS_MTIO_H
15835 #include <sys/mtio.h>
15836 #endif
15838 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15840 cat >>confdefs.h <<_ACEOF
15841 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15842 _ACEOF
15846 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15847 #ifdef HAVE_SYS_MTIO_H
15848 #include <sys/mtio.h>
15849 #endif
15851 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15853 cat >>confdefs.h <<_ACEOF
15854 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15855 _ACEOF
15859 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15860 #ifdef HAVE_SYS_MTIO_H
15861 #include <sys/mtio.h>
15862 #endif
15864 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15866 cat >>confdefs.h <<_ACEOF
15867 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15868 _ACEOF
15874 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15875 #include <getopt.h>
15876 #endif
15878 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15880 cat >>confdefs.h <<_ACEOF
15881 #define HAVE_STRUCT_OPTION_NAME 1
15882 _ACEOF
15888 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15889 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15891 cat >>confdefs.h <<_ACEOF
15892 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15893 _ACEOF
15897 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15898 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15900 cat >>confdefs.h <<_ACEOF
15901 #define HAVE_STRUCT_STAT_ST_MTIM 1
15902 _ACEOF
15906 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15907 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15909 cat >>confdefs.h <<_ACEOF
15910 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15911 _ACEOF
15915 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15916 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15918 cat >>confdefs.h <<_ACEOF
15919 #define HAVE_STRUCT_STAT_ST_CTIM 1
15920 _ACEOF
15924 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15925 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15927 cat >>confdefs.h <<_ACEOF
15928 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15929 _ACEOF
15933 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15934 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15936 cat >>confdefs.h <<_ACEOF
15937 #define HAVE_STRUCT_STAT_ST_ATIM 1
15938 _ACEOF
15942 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15943 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15945 cat >>confdefs.h <<_ACEOF
15946 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15947 _ACEOF
15951 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15952 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15954 cat >>confdefs.h <<_ACEOF
15955 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15956 _ACEOF
15960 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15961 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15963 cat >>confdefs.h <<_ACEOF
15964 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15965 _ACEOF
15969 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15970 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15972 cat >>confdefs.h <<_ACEOF
15973 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15974 _ACEOF
15978 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15979 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15981 cat >>confdefs.h <<_ACEOF
15982 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15983 _ACEOF
15987 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15988 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15990 cat >>confdefs.h <<_ACEOF
15991 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15992 _ACEOF
15998 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
15999 #include <sys/types.h>
16000 #endif
16001 #ifdef HAVE_NETINET_IN_H
16002 #include <netinet/in.h>
16003 #endif
16005 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16007 cat >>confdefs.h <<_ACEOF
16008 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16009 _ACEOF
16015 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16016 #include <resolv.h>
16017 #endif
16019 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16021 cat >>confdefs.h <<_ACEOF
16022 #define HAVE_STRUCT___RES_STATE 1
16023 _ACEOF
16029 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
16030 #include <resolv.h>
16031 #endif
16033 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16035 cat >>confdefs.h <<_ACEOF
16036 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16037 _ACEOF
16043 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16044 #include <sys/types.h>
16045 #endif
16046 #ifdef HAVE_NETINET_IN_H
16047 # include <netinet/in.h>
16048 #endif
16049 #ifdef HAVE_ARPA_NAMESER_H
16050 # include <arpa/nameser.h>
16051 #endif
16053 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16055 cat >>confdefs.h <<_ACEOF
16056 #define HAVE_NS_MSG__MSG_PTR 1
16057 _ACEOF
16063 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16064 #include <sys/types.h>
16065 #endif
16066 #ifdef HAVE_NETINET_IP_H
16067 #include <netinet/ip.h>
16068 #endif
16069 #ifdef HAVE_NETINET_IP_ICMP_H
16070 #include <netinet/ip_icmp.h>
16071 #endif
16072 #ifdef HAVE_NETINET_ICMP_VAR_H
16073 #include <netinet/icmp_var.h>
16074 #endif
16076 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16078 cat >>confdefs.h <<_ACEOF
16079 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16080 _ACEOF
16086 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16087 #include <sys/types.h>
16088 #endif
16089 #ifdef HAVE_ALIAS_H
16090 #include <alias.h>
16091 #endif
16092 #ifdef HAVE_SYS_SOCKET_H
16093 #include <sys/socket.h>
16094 #endif
16095 #ifdef HAVE_SYS_SOCKETVAR_H
16096 #include <sys/socketvar.h>
16097 #endif
16098 #ifdef HAVE_SYS_TIMEOUT_H
16099 #include <sys/timeout.h>
16100 #endif
16101 #ifdef HAVE_NETINET_IN_H
16102 #include <netinet/in.h>
16103 #endif
16104 #ifdef HAVE_NETINET_IN_SYSTM_H
16105 #include <netinet/in_systm.h>
16106 #endif
16107 #ifdef HAVE_NETINET_IP_H
16108 #include <netinet/ip.h>
16109 #endif
16110 #ifdef HAVE_NETINET_IP_VAR_H
16111 #include <netinet/ip_var.h>
16112 #endif
16113 #ifdef HAVE_NETINET_IP_ICMP_H
16114 #include <netinet/ip_icmp.h>
16115 #endif
16116 #ifdef HAVE_NETINET_ICMP_VAR_H
16117 #include <netinet/icmp_var.h>
16118 #endif
16120 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16122 cat >>confdefs.h <<_ACEOF
16123 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16124 _ACEOF
16130 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16131 #include <sys/types.h>
16132 #endif
16133 #ifdef HAVE_SYS_SOCKETVAR_H
16134 #include <sys/socketvar.h>
16135 #endif
16136 #ifdef HAVE_NETINET_IN_H
16137 #include <netinet/in.h>
16138 #endif
16139 #ifdef HAVE_NETINET_IP_VAR_H
16140 #include <netinet/ip_var.h>
16141 #endif
16143 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16145 cat >>confdefs.h <<_ACEOF
16146 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16147 _ACEOF
16153 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
16154 #include <netinet/ip_var.h>
16155 #endif
16157 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16159 cat >>confdefs.h <<_ACEOF
16160 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16161 _ACEOF
16167 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16168 #include <sys/types.h>
16169 #endif
16170 #ifdef HAVE_SYS_SOCKETVAR_H
16171 #include <sys/socketvar.h>
16172 #endif
16173 #ifdef HAVE_NETINET_IN_H
16174 #include <netinet/in.h>
16175 #endif
16176 #ifdef HAVE_NETINET_TCP_H
16177 #include <netinet/tcp.h>
16178 #endif
16179 #ifdef HAVE_NETINET_TCP_VAR_H
16180 #include <netinet/tcp_var.h>
16181 #endif
16183 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16185 cat >>confdefs.h <<_ACEOF
16186 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16187 _ACEOF
16193 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
16194 #include <netinet/tcp_var.h>
16195 #endif
16197 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16199 cat >>confdefs.h <<_ACEOF
16200 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16201 _ACEOF
16207 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16208 #include <sys/types.h>
16209 #endif
16210 #ifdef HAVE_NETINET_IN_H
16211 #include <netinet/in.h>
16212 #endif
16213 #ifdef HAVE_NETINET_IP_VAR_H
16214 #include <netinet/ip_var.h>
16215 #endif
16216 #ifdef HAVE_NETINET_UDP_H
16217 #include <netinet/udp.h>
16218 #endif
16219 #ifdef HAVE_NETINET_UDP_VAR_H
16220 #include <netinet/udp_var.h>
16221 #endif
16223 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16225 cat >>confdefs.h <<_ACEOF
16226 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16227 _ACEOF
16233 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16234 #include <sys/types.h>
16235 #endif
16236 #ifdef HAVE_NET_IF_H
16237 # include <net/if.h>
16238 #endif
16240 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16242 cat >>confdefs.h <<_ACEOF
16243 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16244 _ACEOF
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16251 $as_echo_n "checking for timezone variable... " >&6; }
16252 if ${ac_cv_have_timezone+:} false; then :
16253 $as_echo_n "(cached) " >&6
16254 else
16255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16256 /* end confdefs.h. */
16257 #include <time.h>
16259 main ()
16261 timezone = 1
16263 return 0;
16265 _ACEOF
16266 if ac_fn_c_try_link "$LINENO"; then :
16267 ac_cv_have_timezone="yes"
16268 else
16269 ac_cv_have_timezone="no"
16271 rm -f core conftest.err conftest.$ac_objext \
16272 conftest$ac_exeext conftest.$ac_ext
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16275 $as_echo "$ac_cv_have_timezone" >&6; }
16276 if test "$ac_cv_have_timezone" = "yes"
16277 then
16279 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16283 $as_echo_n "checking for daylight variable... " >&6; }
16284 if ${ac_cv_have_daylight+:} false; then :
16285 $as_echo_n "(cached) " >&6
16286 else
16287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16288 /* end confdefs.h. */
16289 #include <time.h>
16291 main ()
16293 daylight = 1
16295 return 0;
16297 _ACEOF
16298 if ac_fn_c_try_link "$LINENO"; then :
16299 ac_cv_have_daylight="yes"
16300 else
16301 ac_cv_have_daylight="no"
16303 rm -f core conftest.err conftest.$ac_objext \
16304 conftest$ac_exeext conftest.$ac_ext
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16307 $as_echo "$ac_cv_have_daylight" >&6; }
16308 if test "$ac_cv_have_daylight" = "yes"
16309 then
16311 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16315 ac_save_LIBS="$LIBS"
16316 LIBS="$LIBS -lm"
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16318 $as_echo_n "checking for isfinite... " >&6; }
16319 if ${ac_cv_have_isfinite+:} false; then :
16320 $as_echo_n "(cached) " >&6
16321 else
16322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16323 /* end confdefs.h. */
16324 #define _GNU_SOURCE
16325 #include <math.h>
16327 main ()
16329 float f = 0.0; return isfinite(f)
16331 return 0;
16333 _ACEOF
16334 if ac_fn_c_try_link "$LINENO"; then :
16335 ac_cv_have_isfinite="yes"
16336 else
16337 ac_cv_have_isfinite="no"
16339 rm -f core conftest.err conftest.$ac_objext \
16340 conftest$ac_exeext conftest.$ac_ext
16342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16343 $as_echo "$ac_cv_have_isfinite" >&6; }
16344 if test "$ac_cv_have_isfinite" = "yes"
16345 then
16347 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16352 $as_echo_n "checking for isinf... " >&6; }
16353 if ${ac_cv_have_isinf+:} false; then :
16354 $as_echo_n "(cached) " >&6
16355 else
16356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16357 /* end confdefs.h. */
16358 #include <math.h>
16360 main ()
16362 float f = 0.0; return isinf(f)
16364 return 0;
16366 _ACEOF
16367 if ac_fn_c_try_link "$LINENO"; then :
16368 ac_cv_have_isinf="yes"
16369 else
16370 ac_cv_have_isinf="no"
16372 rm -f core conftest.err conftest.$ac_objext \
16373 conftest$ac_exeext conftest.$ac_ext
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16376 $as_echo "$ac_cv_have_isinf" >&6; }
16377 if test "$ac_cv_have_isinf" = "yes"
16378 then
16380 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16385 $as_echo_n "checking for isnan... " >&6; }
16386 if ${ac_cv_have_isnan+:} false; then :
16387 $as_echo_n "(cached) " >&6
16388 else
16389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16390 /* end confdefs.h. */
16391 #include <math.h>
16393 main ()
16395 float f = 0.0; return isnan(f)
16397 return 0;
16399 _ACEOF
16400 if ac_fn_c_try_link "$LINENO"; then :
16401 ac_cv_have_isnan="yes"
16402 else
16403 ac_cv_have_isnan="no"
16405 rm -f core conftest.err conftest.$ac_objext \
16406 conftest$ac_exeext conftest.$ac_ext
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16409 $as_echo "$ac_cv_have_isnan" >&6; }
16410 if test "$ac_cv_have_isnan" = "yes"
16411 then
16413 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16417 for ac_func in \
16418 cbrt \
16419 cbrtf \
16420 exp2 \
16421 exp2f \
16422 llrint \
16423 llrintf \
16424 llround \
16425 llroundf \
16426 log2 \
16427 log2f \
16428 lrint \
16429 lrintf \
16430 lround \
16431 lroundf \
16432 rint \
16433 rintf \
16434 round \
16435 roundf \
16436 trunc \
16437 truncf
16439 do :
16440 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16441 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16442 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16443 cat >>confdefs.h <<_ACEOF
16444 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16445 _ACEOF
16448 done
16450 LIBS="$ac_save_LIBS"
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16453 $as_echo_n "checking for __builtin_clz... " >&6; }
16454 if ${ac_cv_have___builtin_clz+:} false; then :
16455 $as_echo_n "(cached) " >&6
16456 else
16457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */
16461 main ()
16463 return __builtin_clz(1)
16465 return 0;
16467 _ACEOF
16468 if ac_fn_c_try_link "$LINENO"; then :
16469 ac_cv_have___builtin_clz="yes"
16470 else
16471 ac_cv_have___builtin_clz="no"
16473 rm -f core conftest.err conftest.$ac_objext \
16474 conftest$ac_exeext conftest.$ac_ext
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16477 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16478 if test "$ac_cv_have___builtin_clz" = "yes"
16479 then
16481 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16486 case $host_cpu in
16487 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16488 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16489 if ${ac_cv_cpp_def___i386__+:} false; then :
16490 $as_echo_n "(cached) " >&6
16491 else
16492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16493 /* end confdefs.h. */
16494 #ifndef __i386__
16496 #endif
16497 _ACEOF
16498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16499 $EGREP "yes" >/dev/null 2>&1; then :
16500 ac_cv_cpp_def___i386__=yes
16501 else
16502 ac_cv_cpp_def___i386__=no
16504 rm -f conftest*
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16508 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16509 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16510 CFLAGS="$CFLAGS -D__i386__"
16511 LINTFLAGS="$LINTFLAGS -D__i386__"
16512 fi ;;
16513 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16514 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16515 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16516 $as_echo_n "(cached) " >&6
16517 else
16518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16519 /* end confdefs.h. */
16520 #ifndef __x86_64__
16522 #endif
16523 _ACEOF
16524 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16525 $EGREP "yes" >/dev/null 2>&1; then :
16526 ac_cv_cpp_def___x86_64__=yes
16527 else
16528 ac_cv_cpp_def___x86_64__=no
16530 rm -f conftest*
16533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16534 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16535 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16536 CFLAGS="$CFLAGS -D__x86_64__"
16537 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16538 fi ;;
16539 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16540 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16541 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16542 $as_echo_n "(cached) " >&6
16543 else
16544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16545 /* end confdefs.h. */
16546 #ifndef __sparc64__
16548 #endif
16549 _ACEOF
16550 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16551 $EGREP "yes" >/dev/null 2>&1; then :
16552 ac_cv_cpp_def___sparc64__=yes
16553 else
16554 ac_cv_cpp_def___sparc64__=no
16556 rm -f conftest*
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16560 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16561 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16562 CFLAGS="$CFLAGS -D__sparc64__"
16563 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16564 fi ;;
16565 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16566 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16567 if ${ac_cv_cpp_def___sparc__+:} false; then :
16568 $as_echo_n "(cached) " >&6
16569 else
16570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16571 /* end confdefs.h. */
16572 #ifndef __sparc__
16574 #endif
16575 _ACEOF
16576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16577 $EGREP "yes" >/dev/null 2>&1; then :
16578 ac_cv_cpp_def___sparc__=yes
16579 else
16580 ac_cv_cpp_def___sparc__=no
16582 rm -f conftest*
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16586 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16587 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16588 CFLAGS="$CFLAGS -D__sparc__"
16589 LINTFLAGS="$LINTFLAGS -D__sparc__"
16590 fi ;;
16591 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16592 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16593 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16594 $as_echo_n "(cached) " >&6
16595 else
16596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16597 /* end confdefs.h. */
16598 #ifndef __powerpc64__
16600 #endif
16601 _ACEOF
16602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16603 $EGREP "yes" >/dev/null 2>&1; then :
16604 ac_cv_cpp_def___powerpc64__=yes
16605 else
16606 ac_cv_cpp_def___powerpc64__=no
16608 rm -f conftest*
16611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16612 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16613 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16614 CFLAGS="$CFLAGS -D__powerpc64__"
16615 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16616 fi ;;
16617 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16618 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16619 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16620 $as_echo_n "(cached) " >&6
16621 else
16622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16623 /* end confdefs.h. */
16624 #ifndef __powerpc__
16626 #endif
16627 _ACEOF
16628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16629 $EGREP "yes" >/dev/null 2>&1; then :
16630 ac_cv_cpp_def___powerpc__=yes
16631 else
16632 ac_cv_cpp_def___powerpc__=no
16634 rm -f conftest*
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16638 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16639 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16640 CFLAGS="$CFLAGS -D__powerpc__"
16641 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16642 fi ;;
16643 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16644 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16645 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16646 $as_echo_n "(cached) " >&6
16647 else
16648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16649 /* end confdefs.h. */
16650 #ifndef __aarch64__
16652 #endif
16653 _ACEOF
16654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16655 $EGREP "yes" >/dev/null 2>&1; then :
16656 ac_cv_cpp_def___aarch64__=yes
16657 else
16658 ac_cv_cpp_def___aarch64__=no
16660 rm -f conftest*
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16664 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16665 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16666 CFLAGS="$CFLAGS -D__aarch64__"
16667 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16668 fi ;;
16669 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16670 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16671 if ${ac_cv_cpp_def___arm__+:} false; then :
16672 $as_echo_n "(cached) " >&6
16673 else
16674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16675 /* end confdefs.h. */
16676 #ifndef __arm__
16678 #endif
16679 _ACEOF
16680 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16681 $EGREP "yes" >/dev/null 2>&1; then :
16682 ac_cv_cpp_def___arm__=yes
16683 else
16684 ac_cv_cpp_def___arm__=no
16686 rm -f conftest*
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16690 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16691 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16692 CFLAGS="$CFLAGS -D__arm__"
16693 LINTFLAGS="$LINTFLAGS -D__arm__"
16694 fi ;;
16695 esac
16697 case $host_vendor in
16698 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16699 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16700 if ${ac_cv_cpp_def___sun__+:} false; then :
16701 $as_echo_n "(cached) " >&6
16702 else
16703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16704 /* end confdefs.h. */
16705 #ifndef __sun__
16707 #endif
16708 _ACEOF
16709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16710 $EGREP "yes" >/dev/null 2>&1; then :
16711 ac_cv_cpp_def___sun__=yes
16712 else
16713 ac_cv_cpp_def___sun__=no
16715 rm -f conftest*
16718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16719 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16720 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16721 CFLAGS="$CFLAGS -D__sun__"
16722 LINTFLAGS="$LINTFLAGS -D__sun__"
16723 fi ;;
16724 esac
16730 ac_config_commands="$ac_config_commands include/stamp-h"
16732 $as_echo_n "creating Makefile rules..." >&6
16734 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16735 SOCKET_LIBS = $SOCKET_LIBS
16736 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16737 IOKIT_LIBS = $IOKIT_LIBS
16738 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16739 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16740 CORESERVICES_LIBS = $CORESERVICES_LIBS
16741 APPKIT_LIBS = $APPKIT_LIBS
16742 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16743 SECURITY_LIBS = $SECURITY_LIBS
16744 COREAUDIO_LIBS = $COREAUDIO_LIBS
16745 OPENAL_LIBS = $OPENAL_LIBS
16746 OPENCL_LIBS = $OPENCL_LIBS
16747 QUICKTIME_LIBS = $QUICKTIME_LIBS
16748 CARBON_LIBS = $CARBON_LIBS
16749 PTHREAD_LIBS = $PTHREAD_LIBS
16750 X_CFLAGS = $X_CFLAGS
16751 X_PRE_LIBS = $X_PRE_LIBS
16752 X_LIBS = $X_LIBS
16753 X_EXTRA_LIBS = $X_EXTRA_LIBS
16754 XML2_CFLAGS = $XML2_CFLAGS
16755 XML2_LIBS = $XML2_LIBS
16756 XSLT_CFLAGS = $XSLT_CFLAGS
16757 XSLT_LIBS = $XSLT_LIBS
16758 DBUS_CFLAGS = $DBUS_CFLAGS
16759 DBUS_LIBS = $DBUS_LIBS
16760 HAL_CFLAGS = $HAL_CFLAGS
16761 HAL_LIBS = $HAL_LIBS
16762 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16763 GNUTLS_LIBS = $GNUTLS_LIBS
16764 SANE_CFLAGS = $SANE_CFLAGS
16765 SANE_LIBS = $SANE_LIBS
16766 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16767 GPHOTO2_LIBS = $GPHOTO2_LIBS
16768 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16769 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16770 RESOLV_LIBS = $RESOLV_LIBS
16771 LCMS2_CFLAGS = $LCMS2_CFLAGS
16772 LCMS2_LIBS = $LCMS2_LIBS
16773 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16774 FREETYPE_LIBS = $FREETYPE_LIBS
16775 Z_LIBS = $Z_LIBS
16776 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16777 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16778 GSTREAMER_LIBS = $GSTREAMER_LIBS
16779 ALSA_LIBS = $ALSA_LIBS
16780 OSS4_CFLAGS = $OSS4_CFLAGS
16781 CAPI20_CFLAGS = $CAPI20_CFLAGS
16782 CAPI20_LIBS = $CAPI20_LIBS
16783 CUPS_CFLAGS = $CUPS_CFLAGS
16784 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16785 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16786 JPEG_CFLAGS = $JPEG_CFLAGS
16787 JPEG_LIBS = $JPEG_LIBS
16788 PNG_CFLAGS = $PNG_CFLAGS
16789 PNG_LIBS = $PNG_LIBS
16790 TIFF_CFLAGS = $TIFF_CFLAGS
16791 TIFF_LIBS = $TIFF_LIBS
16792 MPG123_CFLAGS = $MPG123_CFLAGS
16793 MPG123_LIBS = $MPG123_LIBS
16794 KSTAT_LIBS = $KSTAT_LIBS
16795 PROCSTAT_LIBS = $PROCSTAT_LIBS
16796 DL_LIBS = $DL_LIBS
16797 POLL_LIBS = $POLL_LIBS
16798 RT_LIBS = $RT_LIBS
16799 LDAP_LIBS = $LDAP_LIBS
16804 wine_fn_append_rule "
16805 # Rules automatically generated by configure
16807 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16809 .INIT: Makefile
16810 .MAKEFILEDEPS:
16811 all: Makefile
16812 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16813 @./config.status Make.tmp Makefile"
16815 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16816 .gitignore: config.status
16817 @./config.status .gitignore"
16819 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16820 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16822 if test "x$enable_fonts" != xno; then
16823 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16824 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16825 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16826 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16827 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16829 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16830 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16831 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16832 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16833 ac_config_links="$ac_config_links wine:tools/winewrapper"
16834 wine_fn_config_symlink wine
16835 if test "x$enable_win64" != xno; then
16836 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16837 wine_fn_config_symlink wine64
16840 wine_fn_config_dll acledit enable_acledit
16841 wine_fn_config_dll aclui enable_aclui implib
16842 wine_fn_config_dll activeds enable_activeds implib
16843 wine_fn_config_dll actxprxy enable_actxprxy clean
16844 wine_fn_config_lib adsiid
16845 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16846 wine_fn_config_test dlls/advapi32/tests advapi32_test
16847 wine_fn_config_dll advpack enable_advpack implib
16848 wine_fn_config_test dlls/advpack/tests advpack_test
16849 wine_fn_config_dll amstream enable_amstream clean
16850 wine_fn_config_test dlls/amstream/tests amstream_test
16851 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16852 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16853 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16854 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16855 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16856 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16857 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16858 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16859 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16860 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16861 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16862 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16863 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16864 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16865 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16866 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16867 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16868 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16869 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16870 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16871 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
16872 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16873 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16874 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16875 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16876 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16877 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16878 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16879 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
16880 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16881 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16882 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16883 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16884 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16885 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16886 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16887 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16888 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
16889 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16890 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16891 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16892 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16893 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16894 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
16895 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
16896 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16897 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
16898 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16899 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16900 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16901 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16902 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16903 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16904 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16905 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16906 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16907 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16908 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16909 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16910 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16911 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16912 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16913 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16914 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16915 wine_fn_config_dll apphelp enable_apphelp
16916 wine_fn_config_test dlls/apphelp/tests apphelp_test
16917 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16918 wine_fn_config_dll atl enable_atl clean,implib
16919 wine_fn_config_test dlls/atl/tests atl_test
16920 wine_fn_config_dll atl100 enable_atl100 clean,implib
16921 wine_fn_config_test dlls/atl100/tests atl100_test
16922 wine_fn_config_dll atl110 enable_atl110 clean
16923 wine_fn_config_dll atl80 enable_atl80 clean,implib
16924 wine_fn_config_test dlls/atl80/tests atl80_test
16925 wine_fn_config_dll atl90 enable_atl90 clean
16926 wine_fn_config_dll authz enable_authz
16927 wine_fn_config_dll avicap32 enable_avicap32 implib
16928 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16929 wine_fn_config_test dlls/avifil32/tests avifil32_test
16930 wine_fn_config_dll avifile.dll16 enable_win16
16931 wine_fn_config_dll avrt enable_avrt implib
16932 wine_fn_config_dll bcrypt enable_bcrypt
16933 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16934 wine_fn_config_dll browseui enable_browseui clean,po
16935 wine_fn_config_test dlls/browseui/tests browseui_test
16936 wine_fn_config_dll cabinet enable_cabinet implib
16937 wine_fn_config_test dlls/cabinet/tests cabinet_test
16938 wine_fn_config_dll capi2032 enable_capi2032 implib
16939 wine_fn_config_dll cards enable_cards implib
16940 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16941 wine_fn_config_dll clusapi enable_clusapi implib
16942 wine_fn_config_dll combase enable_combase
16943 wine_fn_config_dll comcat enable_comcat
16944 wine_fn_config_test dlls/comcat/tests comcat_test
16945 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16946 wine_fn_config_test dlls/comctl32/tests comctl32_test
16947 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16948 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16949 wine_fn_config_dll comm.drv16 enable_win16
16950 wine_fn_config_dll commdlg.dll16 enable_win16
16951 wine_fn_config_dll compobj.dll16 enable_win16
16952 wine_fn_config_dll compstui enable_compstui implib
16953 wine_fn_config_dll comsvcs enable_comsvcs implib
16954 wine_fn_config_dll credui enable_credui implib,po
16955 wine_fn_config_test dlls/credui/tests credui_test
16956 wine_fn_config_dll crtdll enable_crtdll implib
16957 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16958 wine_fn_config_test dlls/crypt32/tests crypt32_test
16959 wine_fn_config_dll cryptdlg enable_cryptdlg po
16960 wine_fn_config_dll cryptdll enable_cryptdll implib
16961 wine_fn_config_dll cryptext enable_cryptext
16962 wine_fn_config_dll cryptnet enable_cryptnet implib
16963 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16964 wine_fn_config_dll cryptui enable_cryptui implib,po
16965 wine_fn_config_test dlls/cryptui/tests cryptui_test
16966 wine_fn_config_dll ctapi32 enable_ctapi32
16967 wine_fn_config_dll ctl3d.dll16 enable_win16
16968 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16969 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16970 wine_fn_config_dll d2d1 enable_d2d1 implib
16971 wine_fn_config_test dlls/d2d1/tests d2d1_test
16972 wine_fn_config_dll d3d10 enable_d3d10 implib
16973 wine_fn_config_test dlls/d3d10/tests d3d10_test
16974 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16975 wine_fn_config_dll d3d10core enable_d3d10core implib
16976 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16977 wine_fn_config_dll d3d11 enable_d3d11
16978 wine_fn_config_dll d3d8 enable_d3d8 implib
16979 wine_fn_config_test dlls/d3d8/tests d3d8_test
16980 wine_fn_config_dll d3d9 enable_d3d9 implib
16981 wine_fn_config_test dlls/d3d9/tests d3d9_test
16982 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16983 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16984 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16985 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16986 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16987 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16988 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16989 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16990 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16991 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16992 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16993 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16994 wine_fn_config_dll d3dim enable_d3dim implib
16995 wine_fn_config_dll d3drm enable_d3drm implib
16996 wine_fn_config_test dlls/d3drm/tests d3drm_test
16997 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16998 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16999 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17000 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17001 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17002 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17003 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17004 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17005 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17006 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17007 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17008 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17009 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17010 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17011 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17012 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17013 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17014 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17015 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17016 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17017 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17018 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17019 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17020 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17021 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17022 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17023 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17024 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17025 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17026 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17027 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17028 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17029 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17030 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17031 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17032 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17033 wine_fn_config_dll dbgeng enable_dbgeng implib
17034 wine_fn_config_dll dbghelp enable_dbghelp implib
17035 wine_fn_config_dll dciman32 enable_dciman32 implib
17036 wine_fn_config_dll ddeml.dll16 enable_win16
17037 wine_fn_config_dll ddraw enable_ddraw clean,implib
17038 wine_fn_config_test dlls/ddraw/tests ddraw_test
17039 wine_fn_config_dll ddrawex enable_ddrawex clean
17040 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17041 wine_fn_config_dll devenum enable_devenum clean,po
17042 wine_fn_config_test dlls/devenum/tests devenum_test
17043 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17044 wine_fn_config_dll difxapi enable_difxapi
17045 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17046 wine_fn_config_test dlls/dinput/tests dinput_test
17047 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17048 wine_fn_config_test dlls/dinput8/tests dinput8_test
17049 wine_fn_config_dll dispdib.dll16 enable_win16
17050 wine_fn_config_dll dispex enable_dispex clean
17051 wine_fn_config_test dlls/dispex/tests dispex_test
17052 wine_fn_config_dll display.drv16 enable_win16
17053 wine_fn_config_dll dmband enable_dmband clean
17054 wine_fn_config_test dlls/dmband/tests dmband_test
17055 wine_fn_config_dll dmcompos enable_dmcompos clean
17056 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17057 wine_fn_config_dll dmime enable_dmime clean
17058 wine_fn_config_test dlls/dmime/tests dmime_test
17059 wine_fn_config_dll dmloader enable_dmloader clean
17060 wine_fn_config_test dlls/dmloader/tests dmloader_test
17061 wine_fn_config_dll dmscript enable_dmscript clean
17062 wine_fn_config_test dlls/dmscript/tests dmscript_test
17063 wine_fn_config_dll dmstyle enable_dmstyle clean
17064 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17065 wine_fn_config_dll dmsynth enable_dmsynth clean
17066 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17067 wine_fn_config_dll dmusic enable_dmusic clean
17068 wine_fn_config_test dlls/dmusic/tests dmusic_test
17069 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17070 wine_fn_config_dll dnsapi enable_dnsapi implib
17071 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17072 wine_fn_config_dll dplay enable_dplay implib
17073 wine_fn_config_dll dplayx enable_dplayx clean,implib
17074 wine_fn_config_test dlls/dplayx/tests dplayx_test
17075 wine_fn_config_dll dpnaddr enable_dpnaddr
17076 wine_fn_config_dll dpnet enable_dpnet clean,implib
17077 wine_fn_config_test dlls/dpnet/tests dpnet_test
17078 wine_fn_config_dll dpnhpast enable_dpnhpast
17079 wine_fn_config_dll dpnlobby enable_dpnlobby
17080 wine_fn_config_dll dpvoice enable_dpvoice clean
17081 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17082 wine_fn_config_dll dpwsockx enable_dpwsockx
17083 wine_fn_config_dll drmclien enable_drmclien
17084 wine_fn_config_dll dsound enable_dsound clean,implib
17085 wine_fn_config_test dlls/dsound/tests dsound_test
17086 wine_fn_config_dll dssenh enable_dssenh
17087 wine_fn_config_test dlls/dssenh/tests dssenh_test
17088 wine_fn_config_dll dswave enable_dswave clean
17089 wine_fn_config_test dlls/dswave/tests dswave_test
17090 wine_fn_config_dll dwmapi enable_dwmapi implib
17091 wine_fn_config_dll dwrite enable_dwrite implib
17092 wine_fn_config_test dlls/dwrite/tests dwrite_test
17093 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17094 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17095 wine_fn_config_lib dxerr8
17096 wine_fn_config_lib dxerr9
17097 wine_fn_config_dll dxgi enable_dxgi implib
17098 wine_fn_config_test dlls/dxgi/tests dxgi_test
17099 wine_fn_config_lib dxguid
17100 wine_fn_config_dll dxva2 enable_dxva2
17101 wine_fn_config_dll explorerframe enable_explorerframe clean
17102 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17103 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17104 wine_fn_config_dll faultrep enable_faultrep implib
17105 wine_fn_config_test dlls/faultrep/tests faultrep_test
17106 wine_fn_config_dll fltlib enable_fltlib
17107 wine_fn_config_dll fntcache enable_fntcache
17108 wine_fn_config_dll fontsub enable_fontsub
17109 wine_fn_config_dll fusion enable_fusion
17110 wine_fn_config_test dlls/fusion/tests fusion_test
17111 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17112 wine_fn_config_dll gameux enable_gameux clean
17113 wine_fn_config_test dlls/gameux/tests gameux_test
17114 wine_fn_config_dll gdi.exe16 enable_win16
17115 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17116 wine_fn_config_test dlls/gdi32/tests gdi32_test
17117 wine_fn_config_dll gdiplus enable_gdiplus implib
17118 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17119 wine_fn_config_dll glu32 enable_glu32 implib
17120 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17121 wine_fn_config_dll gpkcsp enable_gpkcsp
17122 wine_fn_config_dll hal enable_hal
17123 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17124 wine_fn_config_dll hid enable_hid implib
17125 wine_fn_config_dll hlink enable_hlink clean,implib
17126 wine_fn_config_test dlls/hlink/tests hlink_test
17127 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17128 wine_fn_config_dll httpapi enable_httpapi
17129 wine_fn_config_dll iccvid enable_iccvid po
17130 wine_fn_config_dll icmp enable_icmp
17131 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17132 wine_fn_config_test dlls/ieframe/tests ieframe_test
17133 wine_fn_config_dll ifsmgr.vxd enable_win16
17134 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17135 wine_fn_config_dll imagehlp enable_imagehlp implib
17136 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17137 wine_fn_config_dll imm.dll16 enable_win16
17138 wine_fn_config_dll imm32 enable_imm32 implib
17139 wine_fn_config_test dlls/imm32/tests imm32_test
17140 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17141 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17142 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17143 wine_fn_config_dll inetmib1 enable_inetmib1
17144 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17145 wine_fn_config_dll infosoft enable_infosoft clean
17146 wine_fn_config_test dlls/infosoft/tests infosoft_test
17147 wine_fn_config_dll initpki enable_initpki
17148 wine_fn_config_dll inkobj enable_inkobj
17149 wine_fn_config_dll inseng enable_inseng clean
17150 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17151 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17152 wine_fn_config_dll itircl enable_itircl
17153 wine_fn_config_dll itss enable_itss clean
17154 wine_fn_config_test dlls/itss/tests itss_test
17155 wine_fn_config_dll joy.cpl enable_joy_cpl po
17156 wine_fn_config_dll jscript enable_jscript clean,po
17157 wine_fn_config_test dlls/jscript/tests jscript_test
17158 wine_fn_config_dll jsproxy enable_jsproxy implib
17159 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17160 wine_fn_config_test dlls/kernel32/tests kernel32_test
17161 wine_fn_config_dll keyboard.drv16 enable_win16
17162 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17163 wine_fn_config_dll ksuser enable_ksuser
17164 wine_fn_config_dll ktmw32 enable_ktmw32
17165 wine_fn_config_dll loadperf enable_loadperf implib
17166 wine_fn_config_dll localspl enable_localspl po
17167 wine_fn_config_test dlls/localspl/tests localspl_test
17168 wine_fn_config_dll localui enable_localui po
17169 wine_fn_config_test dlls/localui/tests localui_test
17170 wine_fn_config_dll lz32 enable_lz32 implib
17171 wine_fn_config_test dlls/lz32/tests lz32_test
17172 wine_fn_config_dll lzexpand.dll16 enable_win16
17173 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17174 wine_fn_config_test dlls/mapi32/tests mapi32_test
17175 wine_fn_config_dll mapistub enable_mapistub
17176 wine_fn_config_dll mciavi32 enable_mciavi32
17177 wine_fn_config_dll mcicda enable_mcicda
17178 wine_fn_config_dll mciqtz32 enable_mciqtz32
17179 wine_fn_config_dll mciseq enable_mciseq
17180 wine_fn_config_dll mciwave enable_mciwave
17181 wine_fn_config_dll mfplat enable_mfplat
17182 wine_fn_config_dll mgmtapi enable_mgmtapi
17183 wine_fn_config_dll midimap enable_midimap
17184 wine_fn_config_dll mlang enable_mlang clean,implib
17185 wine_fn_config_test dlls/mlang/tests mlang_test
17186 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17187 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17188 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17189 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17190 wine_fn_config_dll mmdevldr.vxd enable_win16
17191 wine_fn_config_dll mmsystem.dll16 enable_win16
17192 wine_fn_config_dll monodebg.vxd enable_win16
17193 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17194 wine_fn_config_dll mouse.drv16 enable_win16
17195 wine_fn_config_dll mpr enable_mpr implib,po
17196 wine_fn_config_test dlls/mpr/tests mpr_test
17197 wine_fn_config_dll mprapi enable_mprapi implib
17198 wine_fn_config_dll msacm.dll16 enable_win16
17199 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17200 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17201 wine_fn_config_test dlls/msacm32/tests msacm32_test
17202 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17203 wine_fn_config_dll msasn1 enable_msasn1 implib
17204 wine_fn_config_dll mscat32 enable_mscat32
17205 wine_fn_config_dll mscms enable_mscms implib
17206 wine_fn_config_test dlls/mscms/tests mscms_test
17207 wine_fn_config_dll mscoree enable_mscoree clean
17208 wine_fn_config_test dlls/mscoree/tests mscoree_test
17209 wine_fn_config_dll msctf enable_msctf clean
17210 wine_fn_config_test dlls/msctf/tests msctf_test
17211 wine_fn_config_dll msdaps enable_msdaps clean
17212 wine_fn_config_dll msdmo enable_msdmo implib
17213 wine_fn_config_dll msftedit enable_msftedit
17214 wine_fn_config_dll msg711.acm enable_msg711_acm
17215 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17216 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17217 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17218 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17219 wine_fn_config_dll msi enable_msi clean,implib,po
17220 wine_fn_config_test dlls/msi/tests msi_test
17221 wine_fn_config_dll msident enable_msident clean
17222 wine_fn_config_dll msimg32 enable_msimg32 implib
17223 wine_fn_config_dll msimsg enable_msimsg
17224 wine_fn_config_dll msimtf enable_msimtf clean
17225 wine_fn_config_dll msisip enable_msisip
17226 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17227 wine_fn_config_dll msls31 enable_msls31
17228 wine_fn_config_dll msnet32 enable_msnet32
17229 wine_fn_config_dll mspatcha enable_mspatcha
17230 wine_fn_config_dll msrle32 enable_msrle32 po
17231 wine_fn_config_test dlls/msrle32/tests msrle32_test
17232 wine_fn_config_dll mssign32 enable_mssign32
17233 wine_fn_config_dll mssip32 enable_mssip32
17234 wine_fn_config_dll mstask enable_mstask clean
17235 wine_fn_config_test dlls/mstask/tests mstask_test
17236 wine_fn_config_dll msvcirt enable_msvcirt
17237 wine_fn_config_dll msvcm80 enable_msvcm80
17238 wine_fn_config_dll msvcm90 enable_msvcm90
17239 wine_fn_config_dll msvcp100 enable_msvcp100
17240 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17241 wine_fn_config_dll msvcp110 enable_msvcp110
17242 wine_fn_config_dll msvcp120 enable_msvcp120
17243 wine_fn_config_dll msvcp60 enable_msvcp60
17244 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17245 wine_fn_config_dll msvcp70 enable_msvcp70
17246 wine_fn_config_dll msvcp71 enable_msvcp71
17247 wine_fn_config_dll msvcp80 enable_msvcp80
17248 wine_fn_config_dll msvcp90 enable_msvcp90
17249 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17250 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17251 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17252 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17253 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17254 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17255 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17256 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17257 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17258 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17259 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17260 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17261 wine_fn_config_dll msvcrt enable_msvcrt implib
17262 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17263 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17264 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17265 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17266 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17267 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17268 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17269 wine_fn_config_dll msvidc32 enable_msvidc32 po
17270 wine_fn_config_dll msvideo.dll16 enable_win16
17271 wine_fn_config_dll mswsock enable_mswsock implib
17272 wine_fn_config_dll msxml enable_msxml clean
17273 wine_fn_config_dll msxml2 enable_msxml2 clean
17274 wine_fn_config_dll msxml3 enable_msxml3 clean
17275 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17276 wine_fn_config_dll msxml4 enable_msxml4 clean
17277 wine_fn_config_dll msxml6 enable_msxml6 clean
17278 wine_fn_config_dll nddeapi enable_nddeapi implib
17279 wine_fn_config_dll ndis.sys enable_ndis_sys
17280 wine_fn_config_dll netapi32 enable_netapi32 implib
17281 wine_fn_config_test dlls/netapi32/tests netapi32_test
17282 wine_fn_config_dll netcfgx enable_netcfgx clean
17283 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17284 wine_fn_config_dll netprofm enable_netprofm clean
17285 wine_fn_config_test dlls/netprofm/tests netprofm_test
17286 wine_fn_config_dll newdev enable_newdev implib
17287 wine_fn_config_dll normaliz enable_normaliz implib
17288 wine_fn_config_dll npmshtml enable_npmshtml
17289 wine_fn_config_dll npptools enable_npptools
17290 wine_fn_config_dll ntdll enable_ntdll implib
17291 wine_fn_config_test dlls/ntdll/tests ntdll_test
17292 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17293 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17294 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17295 wine_fn_config_dll ntprint enable_ntprint
17296 wine_fn_config_test dlls/ntprint/tests ntprint_test
17297 wine_fn_config_dll objsel enable_objsel clean
17298 wine_fn_config_dll odbc32 enable_odbc32 implib
17299 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17300 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17301 wine_fn_config_dll odbccu32 enable_odbccu32
17302 wine_fn_config_dll ole2.dll16 enable_win16
17303 wine_fn_config_dll ole2conv.dll16 enable_win16
17304 wine_fn_config_dll ole2disp.dll16 enable_win16
17305 wine_fn_config_dll ole2nls.dll16 enable_win16
17306 wine_fn_config_dll ole2prox.dll16 enable_win16
17307 wine_fn_config_dll ole2thk.dll16 enable_win16
17308 wine_fn_config_dll ole32 enable_ole32 clean,implib
17309 wine_fn_config_test dlls/ole32/tests ole32_test
17310 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17311 wine_fn_config_test dlls/oleacc/tests oleacc_test
17312 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17313 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17314 wine_fn_config_dll olecli.dll16 enable_win16
17315 wine_fn_config_dll olecli32 enable_olecli32 implib
17316 wine_fn_config_dll oledb32 enable_oledb32 clean
17317 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17318 wine_fn_config_dll oledlg enable_oledlg implib,po
17319 wine_fn_config_dll olepro32 enable_olepro32 implib
17320 wine_fn_config_dll olesvr.dll16 enable_win16
17321 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17322 wine_fn_config_dll olethk32 enable_olethk32
17323 wine_fn_config_dll openal32 enable_openal32
17324 wine_fn_config_dll opencl enable_opencl
17325 wine_fn_config_dll opengl32 enable_opengl32 implib
17326 wine_fn_config_test dlls/opengl32/tests opengl32_test
17327 wine_fn_config_dll packager enable_packager clean
17328 wine_fn_config_test dlls/packager/tests packager_test
17329 wine_fn_config_dll pdh enable_pdh implib
17330 wine_fn_config_test dlls/pdh/tests pdh_test
17331 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17332 wine_fn_config_dll pidgen enable_pidgen
17333 wine_fn_config_dll powrprof enable_powrprof implib
17334 wine_fn_config_dll printui enable_printui
17335 wine_fn_config_dll prntvpt enable_prntvpt
17336 wine_fn_config_dll propsys enable_propsys clean,implib
17337 wine_fn_config_test dlls/propsys/tests propsys_test
17338 wine_fn_config_dll psapi enable_psapi implib
17339 wine_fn_config_test dlls/psapi/tests psapi_test
17340 wine_fn_config_dll pstorec enable_pstorec clean
17341 wine_fn_config_dll qcap enable_qcap
17342 wine_fn_config_test dlls/qcap/tests qcap_test
17343 wine_fn_config_dll qedit enable_qedit clean
17344 wine_fn_config_test dlls/qedit/tests qedit_test
17345 wine_fn_config_dll qmgr enable_qmgr clean
17346 wine_fn_config_test dlls/qmgr/tests qmgr_test
17347 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17348 wine_fn_config_dll quartz enable_quartz clean,implib
17349 wine_fn_config_test dlls/quartz/tests quartz_test clean
17350 wine_fn_config_dll query enable_query
17351 wine_fn_config_dll rasapi16.dll16 enable_win16
17352 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17353 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17354 wine_fn_config_dll rasdlg enable_rasdlg implib
17355 wine_fn_config_dll regapi enable_regapi
17356 wine_fn_config_dll resutils enable_resutils implib
17357 wine_fn_config_dll riched20 enable_riched20 implib
17358 wine_fn_config_test dlls/riched20/tests riched20_test
17359 wine_fn_config_dll riched32 enable_riched32
17360 wine_fn_config_test dlls/riched32/tests riched32_test
17361 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17362 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17363 wine_fn_config_dll rsabase enable_rsabase
17364 wine_fn_config_dll rsaenh enable_rsaenh implib
17365 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17366 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17367 wine_fn_config_dll rtutils enable_rtutils implib
17368 wine_fn_config_dll samlib enable_samlib
17369 wine_fn_config_dll sane.ds enable_sane_ds po
17370 wine_fn_config_dll scarddlg enable_scarddlg
17371 wine_fn_config_dll sccbase enable_sccbase
17372 wine_fn_config_dll schannel enable_schannel
17373 wine_fn_config_test dlls/schannel/tests schannel_test
17374 wine_fn_config_dll schedsvc enable_schedsvc clean
17375 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17376 wine_fn_config_dll scrrun enable_scrrun clean
17377 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17378 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17379 wine_fn_config_dll secur32 enable_secur32 implib
17380 wine_fn_config_test dlls/secur32/tests secur32_test
17381 wine_fn_config_dll security enable_security
17382 wine_fn_config_dll sensapi enable_sensapi implib
17383 wine_fn_config_dll serialui enable_serialui implib,po
17384 wine_fn_config_test dlls/serialui/tests serialui_test
17385 wine_fn_config_dll setupapi enable_setupapi implib,po
17386 wine_fn_config_test dlls/setupapi/tests setupapi_test
17387 wine_fn_config_dll setupx.dll16 enable_win16
17388 wine_fn_config_dll sfc enable_sfc implib
17389 wine_fn_config_dll sfc_os enable_sfc_os implib
17390 wine_fn_config_dll shdoclc enable_shdoclc po
17391 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17392 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17393 wine_fn_config_dll shell.dll16 enable_win16
17394 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17395 wine_fn_config_test dlls/shell32/tests shell32_test
17396 wine_fn_config_dll shfolder enable_shfolder implib
17397 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17398 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17399 wine_fn_config_dll slbcsp enable_slbcsp
17400 wine_fn_config_dll slc enable_slc implib
17401 wine_fn_config_dll snmpapi enable_snmpapi implib
17402 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17403 wine_fn_config_dll softpub enable_softpub
17404 wine_fn_config_dll sound.drv16 enable_win16
17405 wine_fn_config_dll spoolss enable_spoolss implib
17406 wine_fn_config_test dlls/spoolss/tests spoolss_test
17407 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17408 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17409 wine_fn_config_dll sti enable_sti clean,implib
17410 wine_fn_config_test dlls/sti/tests sti_test
17411 wine_fn_config_dll storage.dll16 enable_win16
17412 wine_fn_config_dll stress.dll16 enable_win16
17413 wine_fn_config_lib strmbase
17414 wine_fn_config_lib strmiids
17415 wine_fn_config_dll svrapi enable_svrapi
17416 wine_fn_config_dll sxs enable_sxs implib
17417 wine_fn_config_test dlls/sxs/tests sxs_test
17418 wine_fn_config_dll system.drv16 enable_win16
17419 wine_fn_config_dll t2embed enable_t2embed
17420 wine_fn_config_dll tapi32 enable_tapi32 implib
17421 wine_fn_config_dll taskschd enable_taskschd clean
17422 wine_fn_config_test dlls/taskschd/tests taskschd_test
17423 wine_fn_config_dll toolhelp.dll16 enable_win16
17424 wine_fn_config_dll traffic enable_traffic
17425 wine_fn_config_dll twain.dll16 enable_win16
17426 wine_fn_config_dll twain_32 enable_twain_32
17427 wine_fn_config_test dlls/twain_32/tests twain_32_test
17428 wine_fn_config_dll typelib.dll16 enable_win16
17429 wine_fn_config_dll unicows enable_unicows implib
17430 wine_fn_config_dll updspapi enable_updspapi
17431 wine_fn_config_dll url enable_url implib
17432 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17433 wine_fn_config_test dlls/urlmon/tests urlmon_test
17434 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17435 wine_fn_config_dll user.exe16 enable_win16
17436 wine_fn_config_dll user32 enable_user32 clean,implib,po
17437 wine_fn_config_test dlls/user32/tests user32_test
17438 wine_fn_config_dll userenv enable_userenv implib
17439 wine_fn_config_test dlls/userenv/tests userenv_test
17440 wine_fn_config_dll usp10 enable_usp10 implib
17441 wine_fn_config_test dlls/usp10/tests usp10_test
17442 wine_fn_config_lib uuid
17443 wine_fn_config_dll uxtheme enable_uxtheme implib
17444 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17445 wine_fn_config_dll vbscript enable_vbscript clean
17446 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17447 wine_fn_config_dll vcomp enable_vcomp
17448 wine_fn_config_dll vcomp100 enable_vcomp100
17449 wine_fn_config_dll vcomp90 enable_vcomp90
17450 wine_fn_config_dll vdhcp.vxd enable_win16
17451 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17452 wine_fn_config_dll ver.dll16 enable_win16
17453 wine_fn_config_dll version enable_version implib
17454 wine_fn_config_test dlls/version/tests version_test
17455 wine_fn_config_dll vmm.vxd enable_win16
17456 wine_fn_config_dll vnbt.vxd enable_win16
17457 wine_fn_config_dll vnetbios.vxd enable_win16
17458 wine_fn_config_dll vssapi enable_vssapi
17459 wine_fn_config_dll vtdapi.vxd enable_win16
17460 wine_fn_config_dll vwin32.vxd enable_win16
17461 wine_fn_config_dll w32skrnl enable_win16
17462 wine_fn_config_dll w32sys.dll16 enable_win16
17463 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17464 wine_fn_config_dll wbemprox enable_wbemprox clean
17465 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17466 wine_fn_config_dll webservices enable_webservices implib
17467 wine_fn_config_dll wer enable_wer implib
17468 wine_fn_config_test dlls/wer/tests wer_test
17469 wine_fn_config_dll wevtapi enable_wevtapi
17470 wine_fn_config_dll wiaservc enable_wiaservc clean
17471 wine_fn_config_dll win32s16.dll16 enable_win16
17472 wine_fn_config_dll win87em.dll16 enable_win16
17473 wine_fn_config_dll winaspi.dll16 enable_win16
17474 wine_fn_config_dll windebug.dll16 enable_win16
17475 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17476 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17477 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17478 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17479 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17480 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17481 wine_fn_config_lib winecrt0
17482 wine_fn_config_dll wined3d enable_wined3d implib
17483 wine_fn_config_dll winegstreamer enable_winegstreamer
17484 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17485 wine_fn_config_dll winemac.drv enable_winemac_drv
17486 wine_fn_config_dll winemapi enable_winemapi
17487 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17488 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17489 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17490 wine_fn_config_dll wineps16.drv16 enable_win16
17491 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17492 wine_fn_config_dll winex11.drv enable_winex11_drv
17493 wine_fn_config_dll wing.dll16 enable_win16
17494 wine_fn_config_dll wing32 enable_wing32
17495 wine_fn_config_dll winhttp enable_winhttp clean,implib
17496 wine_fn_config_test dlls/winhttp/tests winhttp_test
17497 wine_fn_config_dll wininet enable_wininet implib,po
17498 wine_fn_config_test dlls/wininet/tests wininet_test
17499 wine_fn_config_dll winmm enable_winmm implib,po
17500 wine_fn_config_test dlls/winmm/tests winmm_test
17501 wine_fn_config_dll winnls.dll16 enable_win16
17502 wine_fn_config_dll winnls32 enable_winnls32 implib
17503 wine_fn_config_dll winscard enable_winscard implib
17504 wine_fn_config_dll winsock.dll16 enable_win16
17505 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17506 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17507 wine_fn_config_dll winsta enable_winsta
17508 wine_fn_config_dll wintab.dll16 enable_win16
17509 wine_fn_config_dll wintab32 enable_wintab32 implib
17510 wine_fn_config_test dlls/wintab32/tests wintab32_test
17511 wine_fn_config_dll wintrust enable_wintrust implib
17512 wine_fn_config_test dlls/wintrust/tests wintrust_test
17513 wine_fn_config_dll wlanapi enable_wlanapi
17514 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17515 wine_fn_config_test dlls/wldap32/tests wldap32_test
17516 wine_fn_config_dll wmi enable_wmi
17517 wine_fn_config_dll wmiutils enable_wmiutils clean
17518 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17519 wine_fn_config_dll wmp enable_wmp clean
17520 wine_fn_config_test dlls/wmp/tests wmp_test
17521 wine_fn_config_dll wmvcore enable_wmvcore
17522 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17523 wine_fn_config_dll wow32 enable_win16 implib
17524 wine_fn_config_dll wpcap enable_wpcap
17525 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17526 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17527 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17528 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17529 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17530 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17531 wine_fn_config_dll wsock32 enable_wsock32 implib
17532 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17533 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17534 wine_fn_config_dll wuapi enable_wuapi clean
17535 wine_fn_config_dll wuaueng enable_wuaueng
17536 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17537 wine_fn_config_dll xinput1_1 enable_xinput1_1
17538 wine_fn_config_dll xinput1_2 enable_xinput1_2
17539 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17540 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17541 wine_fn_config_dll xinput1_4 enable_xinput1_4
17542 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17543 wine_fn_config_dll xmllite enable_xmllite implib
17544 wine_fn_config_test dlls/xmllite/tests xmllite_test
17545 wine_fn_config_dll xolehlp enable_xolehlp
17546 wine_fn_config_dll xpsprint enable_xpsprint
17547 wine_fn_config_dll xpssvcs enable_xpssvcs
17548 wine_fn_config_makefile documentation enable_documentation clean
17549 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17550 wine_fn_config_makefile include enable_include clean,install-dev
17551 wine_fn_config_makefile libs/port enable_libs_port
17552 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17553 wine_fn_config_makefile libs/wpp enable_libs_wpp
17554 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17555 wine_fn_config_program arp enable_arp install
17556 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17557 wine_fn_config_program attrib enable_attrib install,po
17558 wine_fn_config_program cabarc enable_cabarc install
17559 wine_fn_config_program cacls enable_cacls install
17560 wine_fn_config_program clock enable_clock install,po
17561 wine_fn_config_program cmd enable_cmd install,po
17562 wine_fn_config_test programs/cmd/tests cmd.exe_test
17563 wine_fn_config_program conhost enable_conhost install
17564 wine_fn_config_program control enable_control install
17565 wine_fn_config_program cscript enable_cscript clean,install
17566 wine_fn_config_program dpnsvr enable_dpnsvr install
17567 wine_fn_config_program dxdiag enable_dxdiag install,po
17568 wine_fn_config_program eject enable_eject install
17569 wine_fn_config_program expand enable_expand install
17570 wine_fn_config_program explorer enable_explorer install,po
17571 wine_fn_config_program extrac32 enable_extrac32 install
17572 wine_fn_config_program findstr enable_findstr install
17573 wine_fn_config_program hh enable_hh install
17574 wine_fn_config_program hostname enable_hostname install,po
17575 wine_fn_config_program icinfo enable_icinfo install
17576 wine_fn_config_program iexplore enable_iexplore install
17577 wine_fn_config_program ipconfig enable_ipconfig install,po
17578 wine_fn_config_program lodctr enable_lodctr install
17579 wine_fn_config_program mofcomp enable_mofcomp install
17580 wine_fn_config_program mshta enable_mshta install
17581 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17582 wine_fn_config_program net enable_net install,po
17583 wine_fn_config_program netsh enable_netsh install
17584 wine_fn_config_program netstat enable_netstat install,po
17585 wine_fn_config_program ngen enable_ngen install
17586 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17587 wine_fn_config_program oleview enable_oleview install,po
17588 wine_fn_config_program ping enable_ping install
17589 wine_fn_config_program plugplay enable_plugplay install
17590 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17591 wine_fn_config_program progman enable_progman install,po
17592 wine_fn_config_program reg enable_reg install,po
17593 wine_fn_config_test programs/reg/tests reg.exe_test
17594 wine_fn_config_program regasm enable_regasm install
17595 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17596 wine_fn_config_test programs/regedit/tests regedit.exe_test
17597 wine_fn_config_program regsvcs enable_regsvcs install
17598 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17599 wine_fn_config_program rpcss enable_rpcss clean,install
17600 wine_fn_config_program rundll.exe16 enable_win16 install
17601 wine_fn_config_program rundll32 enable_rundll32 install
17602 wine_fn_config_program sc enable_sc install
17603 wine_fn_config_program schtasks enable_schtasks install
17604 wine_fn_config_program sdbinst enable_sdbinst install
17605 wine_fn_config_program secedit enable_secedit install
17606 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17607 wine_fn_config_program services enable_services clean,install
17608 wine_fn_config_test programs/services/tests services.exe_test
17609 wine_fn_config_program spoolsv enable_spoolsv install
17610 wine_fn_config_program start enable_start install,po
17611 wine_fn_config_program svchost enable_svchost install
17612 wine_fn_config_program systeminfo enable_systeminfo install
17613 wine_fn_config_program taskkill enable_taskkill install,po
17614 wine_fn_config_program tasklist enable_tasklist install
17615 wine_fn_config_program taskmgr enable_taskmgr install,po
17616 wine_fn_config_program termsv enable_termsv install
17617 wine_fn_config_program uninstaller enable_uninstaller install,po
17618 wine_fn_config_program unlodctr enable_unlodctr install
17619 wine_fn_config_program view enable_view install,po
17620 wine_fn_config_program wevtutil enable_wevtutil install
17621 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17622 wine_fn_config_program winebrowser enable_winebrowser install
17623 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17624 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17625 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17626 wine_fn_config_program winedevice enable_winedevice install
17627 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17628 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17629 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17630 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17631 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17632 wine_fn_config_program winetest enable_winetest clean
17633 wine_fn_config_program winevdm enable_win16 install
17634 wine_fn_config_program winhelp.exe16 enable_win16 install
17635 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17636 wine_fn_config_program winoldap.mod16 enable_win16 install
17637 wine_fn_config_program winver enable_winver install
17638 wine_fn_config_program wmic enable_wmic install,po
17639 wine_fn_config_program wordpad enable_wordpad install,po
17640 wine_fn_config_program write enable_write install,po
17641 wine_fn_config_program wscript enable_wscript clean,install
17642 wine_fn_config_test programs/wscript/tests wscript.exe_test
17643 wine_fn_config_program wusa enable_wusa install
17644 wine_fn_config_program xcopy enable_xcopy install,po
17645 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17646 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17647 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17648 wine_fn_config_tool tools/sfnt2fon clean
17649 wine_fn_config_tool tools/widl clean,install-dev,manpage
17650 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17651 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17652 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17653 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17654 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17656 LINGUAS="\
17657 ar \
17658 bg \
17659 ca \
17660 cs \
17661 da \
17662 de \
17663 el \
17664 en \
17665 en_US \
17666 eo \
17667 es \
17668 fa \
17669 fi \
17670 fr \
17671 he \
17672 hi \
17673 hr \
17674 hu \
17675 it \
17676 ja \
17677 ko \
17678 lt \
17679 ml \
17680 nb_NO \
17681 nl \
17682 or \
17683 pa \
17684 pl \
17685 pt_BR \
17686 pt_PT \
17687 rm \
17688 ro \
17689 ru \
17690 sk \
17691 sl \
17692 sr_RS@cyrillic \
17693 sr_RS@latin \
17694 sv \
17695 te \
17696 th \
17697 tr \
17698 uk \
17699 wa \
17700 zh_CN \
17701 zh_TW"
17706 wine_fn_ignore_file ".gitignore"
17707 wine_fn_ignore_file "Makefile"
17708 wine_fn_ignore_file "TAGS"
17709 wine_fn_ignore_file "tags"
17710 wine_fn_ignore_file "autom4te.cache"
17711 wine_fn_ignore_file "config.cache"
17712 wine_fn_ignore_file "config.log"
17713 wine_fn_ignore_file "config.status"
17714 wine_fn_ignore_file "configure.lineno"
17715 wine_fn_ignore_file "include/config.h"
17716 wine_fn_ignore_file "include/stamp-h"
17717 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17719 if test "x$enable_tools" != xno
17720 then
17721 wine_fn_ignore_file "tools/makedep$ac_exeext"
17722 ac_config_commands="$ac_config_commands tools/makedep"
17726 ac_config_commands="$ac_config_commands Makefile"
17729 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17733 if test "x$enable_maintainer_mode" = xyes
17734 then
17735 wine_fn_append_rule "configure: configure.ac aclocal.m4
17736 autoconf --warnings=all
17737 include/config.h.in: include/stamp-h.in
17738 include/stamp-h.in: configure.ac aclocal.m4
17739 autoheader --warnings=all
17740 @echo timestamp > \$@"
17743 if test "x$with_gettextpo" = xyes
17744 then
17745 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17746 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17747 \$(LINGUAS:%=po/%.po): po/wine.pot
17748 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17749 po/wine.pot: \$(ALL_POT_FILES)
17750 msgcat -o \$@ \$(ALL_POT_FILES)"
17753 if test "$MSGFMT" != false
17754 then
17755 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17756 clean::
17757 \$(RM) \$(LINGUAS:%=po/%.mo)"
17759 posrc="po"
17760 test "$srcdir" = . || posrc="$srcdir/po"
17761 for i in $LINGUAS
17763 wine_fn_ignore_file "po/$i.mo"
17764 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17765 \$(MSGFMT) -o \$@ $posrc/$i.po"
17766 done
17767 else
17768 LINGUAS=
17771 if test "x$enable_tools" != xno
17772 then
17773 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17774 @./config.status tools/makedep
17775 Makefile: tools/makedep$ac_exeext
17776 distclean:: clean
17777 \$(RM) tools/makedep$ac_exeext"
17778 else
17779 wine_fn_append_rule "\$(MAKEDEP):
17780 @echo \"You need to run make in $TOOLSDIR first\" && false"
17783 if test -n "$with_wine64"
17784 then
17785 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17786 fonts server tools:
17787 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17788 $with_wine64/loader/wine:
17789 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17790 $with_wine64/loader/wine-preloader:
17791 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17792 clean::
17793 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17794 else
17795 as_fn_append LOADER_RULES "
17796 install install-lib:: wine.inf install-man-pages
17797 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17798 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17800 uninstall::
17801 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17805 if test "$srcdir" = .
17806 then
17807 ac_config_commands="$ac_config_commands .gitignore"
17811 $as_echo " done" >&6
17812 cat >confcache <<\_ACEOF
17813 # This file is a shell script that caches the results of configure
17814 # tests run on this system so they can be shared between configure
17815 # scripts and configure runs, see configure's option --config-cache.
17816 # It is not useful on other systems. If it contains results you don't
17817 # want to keep, you may remove or edit it.
17819 # config.status only pays attention to the cache file if you give it
17820 # the --recheck option to rerun configure.
17822 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17823 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17824 # following values.
17826 _ACEOF
17828 # The following way of writing the cache mishandles newlines in values,
17829 # but we know of no workaround that is simple, portable, and efficient.
17830 # So, we kill variables containing newlines.
17831 # Ultrix sh set writes to stderr and can't be redirected directly,
17832 # and sets the high bit in the cache file unless we assign to the vars.
17834 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17835 eval ac_val=\$$ac_var
17836 case $ac_val in #(
17837 *${as_nl}*)
17838 case $ac_var in #(
17839 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17840 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17841 esac
17842 case $ac_var in #(
17843 _ | IFS | as_nl) ;; #(
17844 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17845 *) { eval $ac_var=; unset $ac_var;} ;;
17846 esac ;;
17847 esac
17848 done
17850 (set) 2>&1 |
17851 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17852 *${as_nl}ac_space=\ *)
17853 # `set' does not quote correctly, so add quotes: double-quote
17854 # substitution turns \\\\ into \\, and sed turns \\ into \.
17855 sed -n \
17856 "s/'/'\\\\''/g;
17857 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17858 ;; #(
17860 # `set' quotes correctly as required by POSIX, so do not add quotes.
17861 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17863 esac |
17864 sort
17866 sed '
17867 /^ac_cv_env_/b end
17868 t clear
17869 :clear
17870 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17871 t end
17872 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17873 :end' >>confcache
17874 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17875 if test -w "$cache_file"; then
17876 if test "x$cache_file" != "x/dev/null"; then
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17878 $as_echo "$as_me: updating cache $cache_file" >&6;}
17879 if test ! -f "$cache_file" || test -h "$cache_file"; then
17880 cat confcache >"$cache_file"
17881 else
17882 case $cache_file in #(
17883 */* | ?:*)
17884 mv -f confcache "$cache_file"$$ &&
17885 mv -f "$cache_file"$$ "$cache_file" ;; #(
17887 mv -f confcache "$cache_file" ;;
17888 esac
17891 else
17892 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17893 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17896 rm -f confcache
17898 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17899 # Let make expand exec_prefix.
17900 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17902 DEFS=-DHAVE_CONFIG_H
17904 ac_libobjs=
17905 ac_ltlibobjs=
17907 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17908 # 1. Remove the extension, and $U if already installed.
17909 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17910 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17911 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17912 # will be set to the directory where LIBOBJS objects are built.
17913 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17914 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17915 done
17916 LIBOBJS=$ac_libobjs
17918 LTLIBOBJS=$ac_ltlibobjs
17922 : "${CONFIG_STATUS=./config.status}"
17923 ac_write_fail=0
17924 ac_clean_files_save=$ac_clean_files
17925 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17926 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17927 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17928 as_write_fail=0
17929 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17930 #! $SHELL
17931 # Generated by $as_me.
17932 # Run this file to recreate the current configuration.
17933 # Compiler output produced by configure, useful for debugging
17934 # configure, is in config.log if it exists.
17936 debug=false
17937 ac_cs_recheck=false
17938 ac_cs_silent=false
17940 SHELL=\${CONFIG_SHELL-$SHELL}
17941 export SHELL
17942 _ASEOF
17943 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17944 ## -------------------- ##
17945 ## M4sh Initialization. ##
17946 ## -------------------- ##
17948 # Be more Bourne compatible
17949 DUALCASE=1; export DUALCASE # for MKS sh
17950 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17951 emulate sh
17952 NULLCMD=:
17953 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17954 # is contrary to our usage. Disable this feature.
17955 alias -g '${1+"$@"}'='"$@"'
17956 setopt NO_GLOB_SUBST
17957 else
17958 case `(set -o) 2>/dev/null` in #(
17959 *posix*) :
17960 set -o posix ;; #(
17961 *) :
17963 esac
17967 as_nl='
17969 export as_nl
17970 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17971 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17972 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17973 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17974 # Prefer a ksh shell builtin over an external printf program on Solaris,
17975 # but without wasting forks for bash or zsh.
17976 if test -z "$BASH_VERSION$ZSH_VERSION" \
17977 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17978 as_echo='print -r --'
17979 as_echo_n='print -rn --'
17980 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17981 as_echo='printf %s\n'
17982 as_echo_n='printf %s'
17983 else
17984 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17985 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17986 as_echo_n='/usr/ucb/echo -n'
17987 else
17988 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17989 as_echo_n_body='eval
17990 arg=$1;
17991 case $arg in #(
17992 *"$as_nl"*)
17993 expr "X$arg" : "X\\(.*\\)$as_nl";
17994 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17995 esac;
17996 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17998 export as_echo_n_body
17999 as_echo_n='sh -c $as_echo_n_body as_echo'
18001 export as_echo_body
18002 as_echo='sh -c $as_echo_body as_echo'
18005 # The user is always right.
18006 if test "${PATH_SEPARATOR+set}" != set; then
18007 PATH_SEPARATOR=:
18008 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18009 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18010 PATH_SEPARATOR=';'
18015 # IFS
18016 # We need space, tab and new line, in precisely that order. Quoting is
18017 # there to prevent editors from complaining about space-tab.
18018 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18019 # splitting by setting IFS to empty value.)
18020 IFS=" "" $as_nl"
18022 # Find who we are. Look in the path if we contain no directory separator.
18023 as_myself=
18024 case $0 in #((
18025 *[\\/]* ) as_myself=$0 ;;
18026 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18027 for as_dir in $PATH
18029 IFS=$as_save_IFS
18030 test -z "$as_dir" && as_dir=.
18031 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18032 done
18033 IFS=$as_save_IFS
18036 esac
18037 # We did not find ourselves, most probably we were run as `sh COMMAND'
18038 # in which case we are not to be found in the path.
18039 if test "x$as_myself" = x; then
18040 as_myself=$0
18042 if test ! -f "$as_myself"; then
18043 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18044 exit 1
18047 # Unset variables that we do not need and which cause bugs (e.g. in
18048 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18049 # suppresses any "Segmentation fault" message there. '((' could
18050 # trigger a bug in pdksh 5.2.14.
18051 for as_var in BASH_ENV ENV MAIL MAILPATH
18052 do eval test x\${$as_var+set} = xset \
18053 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18054 done
18055 PS1='$ '
18056 PS2='> '
18057 PS4='+ '
18059 # NLS nuisances.
18060 LC_ALL=C
18061 export LC_ALL
18062 LANGUAGE=C
18063 export LANGUAGE
18065 # CDPATH.
18066 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18069 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18070 # ----------------------------------------
18071 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18072 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18073 # script with STATUS, using 1 if that was 0.
18074 as_fn_error ()
18076 as_status=$1; test $as_status -eq 0 && as_status=1
18077 if test "$4"; then
18078 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18079 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18081 $as_echo "$as_me: error: $2" >&2
18082 as_fn_exit $as_status
18083 } # as_fn_error
18086 # as_fn_set_status STATUS
18087 # -----------------------
18088 # Set $? to STATUS, without forking.
18089 as_fn_set_status ()
18091 return $1
18092 } # as_fn_set_status
18094 # as_fn_exit STATUS
18095 # -----------------
18096 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18097 as_fn_exit ()
18099 set +e
18100 as_fn_set_status $1
18101 exit $1
18102 } # as_fn_exit
18104 # as_fn_unset VAR
18105 # ---------------
18106 # Portably unset VAR.
18107 as_fn_unset ()
18109 { eval $1=; unset $1;}
18111 as_unset=as_fn_unset
18112 # as_fn_append VAR VALUE
18113 # ----------------------
18114 # Append the text in VALUE to the end of the definition contained in VAR. Take
18115 # advantage of any shell optimizations that allow amortized linear growth over
18116 # repeated appends, instead of the typical quadratic growth present in naive
18117 # implementations.
18118 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18119 eval 'as_fn_append ()
18121 eval $1+=\$2
18123 else
18124 as_fn_append ()
18126 eval $1=\$$1\$2
18128 fi # as_fn_append
18130 # as_fn_arith ARG...
18131 # ------------------
18132 # Perform arithmetic evaluation on the ARGs, and store the result in the
18133 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18134 # must be portable across $(()) and expr.
18135 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18136 eval 'as_fn_arith ()
18138 as_val=$(( $* ))
18140 else
18141 as_fn_arith ()
18143 as_val=`expr "$@" || test $? -eq 1`
18145 fi # as_fn_arith
18148 if expr a : '\(a\)' >/dev/null 2>&1 &&
18149 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18150 as_expr=expr
18151 else
18152 as_expr=false
18155 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18156 as_basename=basename
18157 else
18158 as_basename=false
18161 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18162 as_dirname=dirname
18163 else
18164 as_dirname=false
18167 as_me=`$as_basename -- "$0" ||
18168 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18169 X"$0" : 'X\(//\)$' \| \
18170 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18171 $as_echo X/"$0" |
18172 sed '/^.*\/\([^/][^/]*\)\/*$/{
18173 s//\1/
18176 /^X\/\(\/\/\)$/{
18177 s//\1/
18180 /^X\/\(\/\).*/{
18181 s//\1/
18184 s/.*/./; q'`
18186 # Avoid depending upon Character Ranges.
18187 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18188 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18189 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18190 as_cr_digits='0123456789'
18191 as_cr_alnum=$as_cr_Letters$as_cr_digits
18193 ECHO_C= ECHO_N= ECHO_T=
18194 case `echo -n x` in #(((((
18195 -n*)
18196 case `echo 'xy\c'` in
18197 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18198 xy) ECHO_C='\c';;
18199 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18200 ECHO_T=' ';;
18201 esac;;
18203 ECHO_N='-n';;
18204 esac
18206 rm -f conf$$ conf$$.exe conf$$.file
18207 if test -d conf$$.dir; then
18208 rm -f conf$$.dir/conf$$.file
18209 else
18210 rm -f conf$$.dir
18211 mkdir conf$$.dir 2>/dev/null
18213 if (echo >conf$$.file) 2>/dev/null; then
18214 if ln -s conf$$.file conf$$ 2>/dev/null; then
18215 as_ln_s='ln -s'
18216 # ... but there are two gotchas:
18217 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18218 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18219 # In both cases, we have to default to `cp -pR'.
18220 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18221 as_ln_s='cp -pR'
18222 elif ln conf$$.file conf$$ 2>/dev/null; then
18223 as_ln_s=ln
18224 else
18225 as_ln_s='cp -pR'
18227 else
18228 as_ln_s='cp -pR'
18230 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18231 rmdir conf$$.dir 2>/dev/null
18234 # as_fn_mkdir_p
18235 # -------------
18236 # Create "$as_dir" as a directory, including parents if necessary.
18237 as_fn_mkdir_p ()
18240 case $as_dir in #(
18241 -*) as_dir=./$as_dir;;
18242 esac
18243 test -d "$as_dir" || eval $as_mkdir_p || {
18244 as_dirs=
18245 while :; do
18246 case $as_dir in #(
18247 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18248 *) as_qdir=$as_dir;;
18249 esac
18250 as_dirs="'$as_qdir' $as_dirs"
18251 as_dir=`$as_dirname -- "$as_dir" ||
18252 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18253 X"$as_dir" : 'X\(//\)[^/]' \| \
18254 X"$as_dir" : 'X\(//\)$' \| \
18255 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18256 $as_echo X"$as_dir" |
18257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18258 s//\1/
18261 /^X\(\/\/\)[^/].*/{
18262 s//\1/
18265 /^X\(\/\/\)$/{
18266 s//\1/
18269 /^X\(\/\).*/{
18270 s//\1/
18273 s/.*/./; q'`
18274 test -d "$as_dir" && break
18275 done
18276 test -z "$as_dirs" || eval "mkdir $as_dirs"
18277 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18280 } # as_fn_mkdir_p
18281 if mkdir -p . 2>/dev/null; then
18282 as_mkdir_p='mkdir -p "$as_dir"'
18283 else
18284 test -d ./-p && rmdir ./-p
18285 as_mkdir_p=false
18289 # as_fn_executable_p FILE
18290 # -----------------------
18291 # Test if FILE is an executable regular file.
18292 as_fn_executable_p ()
18294 test -f "$1" && test -x "$1"
18295 } # as_fn_executable_p
18296 as_test_x='test -x'
18297 as_executable_p=as_fn_executable_p
18299 # Sed expression to map a string onto a valid CPP name.
18300 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18302 # Sed expression to map a string onto a valid variable name.
18303 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18306 exec 6>&1
18307 ## ----------------------------------- ##
18308 ## Main body of $CONFIG_STATUS script. ##
18309 ## ----------------------------------- ##
18310 _ASEOF
18311 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18314 # Save the log message, to keep $0 and so on meaningful, and to
18315 # report actual input values of CONFIG_FILES etc. instead of their
18316 # values after options handling.
18317 ac_log="
18318 This file was extended by Wine $as_me 1.7.32, which was
18319 generated by GNU Autoconf 2.69. Invocation command line was
18321 CONFIG_FILES = $CONFIG_FILES
18322 CONFIG_HEADERS = $CONFIG_HEADERS
18323 CONFIG_LINKS = $CONFIG_LINKS
18324 CONFIG_COMMANDS = $CONFIG_COMMANDS
18325 $ $0 $@
18327 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18330 _ACEOF
18332 case $ac_config_files in *"
18333 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18334 esac
18336 case $ac_config_headers in *"
18337 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18338 esac
18341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18342 # Files that config.status was made for.
18343 config_files="$ac_config_files"
18344 config_headers="$ac_config_headers"
18345 config_links="$ac_config_links"
18346 config_commands="$ac_config_commands"
18348 _ACEOF
18350 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18351 ac_cs_usage="\
18352 \`$as_me' instantiates files and other configuration actions
18353 from templates according to the current configuration. Unless the files
18354 and actions are specified as TAGs, all are instantiated by default.
18356 Usage: $0 [OPTION]... [TAG]...
18358 -h, --help print this help, then exit
18359 -V, --version print version number and configuration settings, then exit
18360 --config print configuration, then exit
18361 -q, --quiet, --silent
18362 do not print progress messages
18363 -d, --debug don't remove temporary files
18364 --recheck update $as_me by reconfiguring in the same conditions
18365 --file=FILE[:TEMPLATE]
18366 instantiate the configuration file FILE
18367 --header=FILE[:TEMPLATE]
18368 instantiate the configuration header FILE
18370 Configuration files:
18371 $config_files
18373 Configuration headers:
18374 $config_headers
18376 Configuration links:
18377 $config_links
18379 Configuration commands:
18380 $config_commands
18382 Report bugs to <wine-devel@winehq.org>.
18383 Wine home page: <http://www.winehq.org>."
18385 _ACEOF
18386 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18387 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18388 ac_cs_version="\\
18389 Wine config.status 1.7.32
18390 configured by $0, generated by GNU Autoconf 2.69,
18391 with options \\"\$ac_cs_config\\"
18393 Copyright (C) 2012 Free Software Foundation, Inc.
18394 This config.status script is free software; the Free Software Foundation
18395 gives unlimited permission to copy, distribute and modify it."
18397 ac_pwd='$ac_pwd'
18398 srcdir='$srcdir'
18399 test -n "\$AWK" || AWK=awk
18400 _ACEOF
18402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18403 # The default lists apply if the user does not specify any file.
18404 ac_need_defaults=:
18405 while test $# != 0
18407 case $1 in
18408 --*=?*)
18409 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18410 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18411 ac_shift=:
18413 --*=)
18414 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18415 ac_optarg=
18416 ac_shift=:
18419 ac_option=$1
18420 ac_optarg=$2
18421 ac_shift=shift
18423 esac
18425 case $ac_option in
18426 # Handling of the options.
18427 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18428 ac_cs_recheck=: ;;
18429 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18430 $as_echo "$ac_cs_version"; exit ;;
18431 --config | --confi | --conf | --con | --co | --c )
18432 $as_echo "$ac_cs_config"; exit ;;
18433 --debug | --debu | --deb | --de | --d | -d )
18434 debug=: ;;
18435 --file | --fil | --fi | --f )
18436 $ac_shift
18437 case $ac_optarg in
18438 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18439 '') as_fn_error $? "missing file argument" ;;
18440 esac
18441 as_fn_append CONFIG_FILES " '$ac_optarg'"
18442 ac_need_defaults=false;;
18443 --header | --heade | --head | --hea )
18444 $ac_shift
18445 case $ac_optarg in
18446 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18447 esac
18448 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18449 ac_need_defaults=false;;
18450 --he | --h)
18451 # Conflict between --help and --header
18452 as_fn_error $? "ambiguous option: \`$1'
18453 Try \`$0 --help' for more information.";;
18454 --help | --hel | -h )
18455 $as_echo "$ac_cs_usage"; exit ;;
18456 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18457 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18458 ac_cs_silent=: ;;
18460 # This is an error.
18461 -*) as_fn_error $? "unrecognized option: \`$1'
18462 Try \`$0 --help' for more information." ;;
18464 *) as_fn_append ac_config_targets " $1"
18465 ac_need_defaults=false ;;
18467 esac
18468 shift
18469 done
18471 ac_configure_extra_args=
18473 if $ac_cs_silent; then
18474 exec 6>/dev/null
18475 ac_configure_extra_args="$ac_configure_extra_args --silent"
18478 _ACEOF
18479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18480 if \$ac_cs_recheck; then
18481 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18482 shift
18483 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18484 CONFIG_SHELL='$SHELL'
18485 export CONFIG_SHELL
18486 exec "\$@"
18489 _ACEOF
18490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18491 exec 5>>config.log
18493 echo
18494 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18495 ## Running $as_me. ##
18496 _ASBOX
18497 $as_echo "$ac_log"
18498 } >&5
18500 _ACEOF
18501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18503 # INIT-COMMANDS
18505 wine_fn_output_makedep ()
18507 as_dir=tools; as_fn_mkdir_p
18508 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18510 wine_fn_output_makefile ()
18512 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18513 `cat $wine_rules_file`
18514 _WINE_EOF
18515 as_fn_error $? "could not create Makefile" "$LINENO" 5
18517 wine_fn_output_gitignore ()
18519 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18520 $GITIGNORE
18521 _WINE_EOF
18522 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18525 _ACEOF
18527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18529 # Handling of arguments.
18530 for ac_config_target in $ac_config_targets
18532 case $ac_config_target in
18533 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18534 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18535 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18536 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18537 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18538 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18539 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18540 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18541 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18542 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18543 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18544 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18545 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18546 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18548 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18549 esac
18550 done
18553 # If the user did not use the arguments to specify the items to instantiate,
18554 # then the envvar interface is used. Set only those that are not.
18555 # We use the long form for the default assignment because of an extremely
18556 # bizarre bug on SunOS 4.1.3.
18557 if $ac_need_defaults; then
18558 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18559 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18560 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18561 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18564 # Have a temporary directory for convenience. Make it in the build tree
18565 # simply because there is no reason against having it here, and in addition,
18566 # creating and moving files from /tmp can sometimes cause problems.
18567 # Hook for its removal unless debugging.
18568 # Note that there is a small window in which the directory will not be cleaned:
18569 # after its creation but before its name has been assigned to `$tmp'.
18570 $debug ||
18572 tmp= ac_tmp=
18573 trap 'exit_status=$?
18574 : "${ac_tmp:=$tmp}"
18575 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18577 trap 'as_fn_exit 1' 1 2 13 15
18579 # Create a (secure) tmp directory for tmp files.
18582 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18583 test -d "$tmp"
18584 } ||
18586 tmp=./conf$$-$RANDOM
18587 (umask 077 && mkdir "$tmp")
18588 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18589 ac_tmp=$tmp
18591 # Set up the scripts for CONFIG_FILES section.
18592 # No need to generate them if there are no CONFIG_FILES.
18593 # This happens for instance with `./config.status config.h'.
18594 if test -n "$CONFIG_FILES"; then
18597 ac_cr=`echo X | tr X '\015'`
18598 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18599 # But we know of no other shell where ac_cr would be empty at this
18600 # point, so we can use a bashism as a fallback.
18601 if test "x$ac_cr" = x; then
18602 eval ac_cr=\$\'\\r\'
18604 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18605 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18606 ac_cs_awk_cr='\\r'
18607 else
18608 ac_cs_awk_cr=$ac_cr
18611 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18612 _ACEOF
18616 echo "cat >conf$$subs.awk <<_ACEOF" &&
18617 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18618 echo "_ACEOF"
18619 } >conf$$subs.sh ||
18620 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18621 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18622 ac_delim='%!_!# '
18623 for ac_last_try in false false false false false :; do
18624 . ./conf$$subs.sh ||
18625 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18627 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18628 if test $ac_delim_n = $ac_delim_num; then
18629 break
18630 elif $ac_last_try; then
18631 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18632 else
18633 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18635 done
18636 rm -f conf$$subs.sh
18638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18639 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18640 _ACEOF
18641 sed -n '
18643 s/^/S["/; s/!.*/"]=/
18646 s/^[^!]*!//
18647 :repl
18648 t repl
18649 s/'"$ac_delim"'$//
18650 t delim
18653 s/\(.\{148\}\)..*/\1/
18654 t more1
18655 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18658 b repl
18659 :more1
18660 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18663 s/.\{148\}//
18664 t nl
18665 :delim
18667 s/\(.\{148\}\)..*/\1/
18668 t more2
18669 s/["\\]/\\&/g; s/^/"/; s/$/"/
18672 :more2
18673 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18676 s/.\{148\}//
18677 t delim
18678 ' <conf$$subs.awk | sed '
18679 /^[^""]/{
18681 s/\n//
18683 ' >>$CONFIG_STATUS || ac_write_fail=1
18684 rm -f conf$$subs.awk
18685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18686 _ACAWK
18687 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18688 for (key in S) S_is_set[key] = 1
18689 FS = "\a"
18693 line = $ 0
18694 nfields = split(line, field, "@")
18695 substed = 0
18696 len = length(field[1])
18697 for (i = 2; i < nfields; i++) {
18698 key = field[i]
18699 keylen = length(key)
18700 if (S_is_set[key]) {
18701 value = S[key]
18702 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18703 len += length(value) + length(field[++i])
18704 substed = 1
18705 } else
18706 len += 1 + keylen
18709 print line
18712 _ACAWK
18713 _ACEOF
18714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18715 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18716 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18717 else
18719 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18720 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18721 _ACEOF
18723 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18724 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18725 # trailing colons and then remove the whole line if VPATH becomes empty
18726 # (actually we leave an empty line to preserve line numbers).
18727 if test "x$srcdir" = x.; then
18728 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18730 s///
18731 s/^/:/
18732 s/[ ]*$/:/
18733 s/:\$(srcdir):/:/g
18734 s/:\${srcdir}:/:/g
18735 s/:@srcdir@:/:/g
18736 s/^:*//
18737 s/:*$//
18739 s/\(=[ ]*\).*/\1/
18741 s/\n//
18742 s/^[^=]*=[ ]*$//
18746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18747 fi # test -n "$CONFIG_FILES"
18749 # Set up the scripts for CONFIG_HEADERS section.
18750 # No need to generate them if there are no CONFIG_HEADERS.
18751 # This happens for instance with `./config.status Makefile'.
18752 if test -n "$CONFIG_HEADERS"; then
18753 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18754 BEGIN {
18755 _ACEOF
18757 # Transform confdefs.h into an awk script `defines.awk', embedded as
18758 # here-document in config.status, that substitutes the proper values into
18759 # config.h.in to produce config.h.
18761 # Create a delimiter string that does not exist in confdefs.h, to ease
18762 # handling of long lines.
18763 ac_delim='%!_!# '
18764 for ac_last_try in false false :; do
18765 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18766 if test -z "$ac_tt"; then
18767 break
18768 elif $ac_last_try; then
18769 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18770 else
18771 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18773 done
18775 # For the awk script, D is an array of macro values keyed by name,
18776 # likewise P contains macro parameters if any. Preserve backslash
18777 # newline sequences.
18779 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18780 sed -n '
18781 s/.\{148\}/&'"$ac_delim"'/g
18782 t rset
18783 :rset
18784 s/^[ ]*#[ ]*define[ ][ ]*/ /
18785 t def
18787 :def
18788 s/\\$//
18789 t bsnl
18790 s/["\\]/\\&/g
18791 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18792 D["\1"]=" \3"/p
18793 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18795 :bsnl
18796 s/["\\]/\\&/g
18797 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18798 D["\1"]=" \3\\\\\\n"\\/p
18799 t cont
18800 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18801 t cont
18803 :cont
18805 s/.\{148\}/&'"$ac_delim"'/g
18806 t clear
18807 :clear
18808 s/\\$//
18809 t bsnlc
18810 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18812 :bsnlc
18813 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18814 b cont
18815 ' <confdefs.h | sed '
18816 s/'"$ac_delim"'/"\\\
18817 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18820 for (key in D) D_is_set[key] = 1
18821 FS = "\a"
18823 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18824 line = \$ 0
18825 split(line, arg, " ")
18826 if (arg[1] == "#") {
18827 defundef = arg[2]
18828 mac1 = arg[3]
18829 } else {
18830 defundef = substr(arg[1], 2)
18831 mac1 = arg[2]
18833 split(mac1, mac2, "(") #)
18834 macro = mac2[1]
18835 prefix = substr(line, 1, index(line, defundef) - 1)
18836 if (D_is_set[macro]) {
18837 # Preserve the white space surrounding the "#".
18838 print prefix "define", macro P[macro] D[macro]
18839 next
18840 } else {
18841 # Replace #undef with comments. This is necessary, for example,
18842 # in the case of _POSIX_SOURCE, which is predefined and required
18843 # on some systems where configure will not decide to define it.
18844 if (defundef == "undef") {
18845 print "/*", prefix defundef, macro, "*/"
18846 next
18850 { print }
18851 _ACAWK
18852 _ACEOF
18853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18854 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18855 fi # test -n "$CONFIG_HEADERS"
18858 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18859 shift
18860 for ac_tag
18862 case $ac_tag in
18863 :[FHLC]) ac_mode=$ac_tag; continue;;
18864 esac
18865 case $ac_mode$ac_tag in
18866 :[FHL]*:*);;
18867 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18868 :[FH]-) ac_tag=-:-;;
18869 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18870 esac
18871 ac_save_IFS=$IFS
18872 IFS=:
18873 set x $ac_tag
18874 IFS=$ac_save_IFS
18875 shift
18876 ac_file=$1
18877 shift
18879 case $ac_mode in
18880 :L) ac_source=$1;;
18881 :[FH])
18882 ac_file_inputs=
18883 for ac_f
18885 case $ac_f in
18886 -) ac_f="$ac_tmp/stdin";;
18887 *) # Look for the file first in the build tree, then in the source tree
18888 # (if the path is not absolute). The absolute path cannot be DOS-style,
18889 # because $ac_f cannot contain `:'.
18890 test -f "$ac_f" ||
18891 case $ac_f in
18892 [\\/$]*) false;;
18893 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18894 esac ||
18895 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18896 esac
18897 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18898 as_fn_append ac_file_inputs " '$ac_f'"
18899 done
18901 # Let's still pretend it is `configure' which instantiates (i.e., don't
18902 # use $as_me), people would be surprised to read:
18903 # /* config.h. Generated by config.status. */
18904 configure_input='Generated from '`
18905 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18906 `' by configure.'
18907 if test x"$ac_file" != x-; then
18908 configure_input="$ac_file. $configure_input"
18909 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18910 $as_echo "$as_me: creating $ac_file" >&6;}
18912 # Neutralize special characters interpreted by sed in replacement strings.
18913 case $configure_input in #(
18914 *\&* | *\|* | *\\* )
18915 ac_sed_conf_input=`$as_echo "$configure_input" |
18916 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18917 *) ac_sed_conf_input=$configure_input;;
18918 esac
18920 case $ac_tag in
18921 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18922 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18923 esac
18925 esac
18927 ac_dir=`$as_dirname -- "$ac_file" ||
18928 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18929 X"$ac_file" : 'X\(//\)[^/]' \| \
18930 X"$ac_file" : 'X\(//\)$' \| \
18931 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18932 $as_echo X"$ac_file" |
18933 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18934 s//\1/
18937 /^X\(\/\/\)[^/].*/{
18938 s//\1/
18941 /^X\(\/\/\)$/{
18942 s//\1/
18945 /^X\(\/\).*/{
18946 s//\1/
18949 s/.*/./; q'`
18950 as_dir="$ac_dir"; as_fn_mkdir_p
18951 ac_builddir=.
18953 case "$ac_dir" in
18954 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18956 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18957 # A ".." for each directory in $ac_dir_suffix.
18958 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18959 case $ac_top_builddir_sub in
18960 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18961 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18962 esac ;;
18963 esac
18964 ac_abs_top_builddir=$ac_pwd
18965 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18966 # for backward compatibility:
18967 ac_top_builddir=$ac_top_build_prefix
18969 case $srcdir in
18970 .) # We are building in place.
18971 ac_srcdir=.
18972 ac_top_srcdir=$ac_top_builddir_sub
18973 ac_abs_top_srcdir=$ac_pwd ;;
18974 [\\/]* | ?:[\\/]* ) # Absolute name.
18975 ac_srcdir=$srcdir$ac_dir_suffix;
18976 ac_top_srcdir=$srcdir
18977 ac_abs_top_srcdir=$srcdir ;;
18978 *) # Relative name.
18979 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18980 ac_top_srcdir=$ac_top_build_prefix$srcdir
18981 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18982 esac
18983 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18986 case $ac_mode in
18989 # CONFIG_FILE
18992 _ACEOF
18994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18995 # If the template does not know about datarootdir, expand it.
18996 # FIXME: This hack should be removed a few years after 2.60.
18997 ac_datarootdir_hack=; ac_datarootdir_seen=
18998 ac_sed_dataroot='
18999 /datarootdir/ {
19003 /@datadir@/p
19004 /@docdir@/p
19005 /@infodir@/p
19006 /@localedir@/p
19007 /@mandir@/p'
19008 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19009 *datarootdir*) ac_datarootdir_seen=yes;;
19010 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19012 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19013 _ACEOF
19014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19015 ac_datarootdir_hack='
19016 s&@datadir@&$datadir&g
19017 s&@docdir@&$docdir&g
19018 s&@infodir@&$infodir&g
19019 s&@localedir@&$localedir&g
19020 s&@mandir@&$mandir&g
19021 s&\\\${datarootdir}&$datarootdir&g' ;;
19022 esac
19023 _ACEOF
19025 # Neutralize VPATH when `$srcdir' = `.'.
19026 # Shell code in configure.ac might set extrasub.
19027 # FIXME: do we really want to maintain this feature?
19028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19029 ac_sed_extra="$ac_vpsub
19030 $extrasub
19031 _ACEOF
19032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19034 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19035 s|@configure_input@|$ac_sed_conf_input|;t t
19036 s&@top_builddir@&$ac_top_builddir_sub&;t t
19037 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19038 s&@srcdir@&$ac_srcdir&;t t
19039 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19040 s&@top_srcdir@&$ac_top_srcdir&;t t
19041 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19042 s&@builddir@&$ac_builddir&;t t
19043 s&@abs_builddir@&$ac_abs_builddir&;t t
19044 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19045 $ac_datarootdir_hack
19047 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19048 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19050 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19051 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19052 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19053 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19055 which seems to be undefined. Please make sure it is defined" >&5
19056 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19057 which seems to be undefined. Please make sure it is defined" >&2;}
19059 rm -f "$ac_tmp/stdin"
19060 case $ac_file in
19061 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19062 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19063 esac \
19064 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19068 # CONFIG_HEADER
19070 if test x"$ac_file" != x-; then
19072 $as_echo "/* $configure_input */" \
19073 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19074 } >"$ac_tmp/config.h" \
19075 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19076 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19077 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19078 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19079 else
19080 rm -f "$ac_file"
19081 mv "$ac_tmp/config.h" "$ac_file" \
19082 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19084 else
19085 $as_echo "/* $configure_input */" \
19086 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19087 || as_fn_error $? "could not create -" "$LINENO" 5
19092 # CONFIG_LINK
19095 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19097 else
19098 # Prefer the file from the source tree if names are identical.
19099 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19100 ac_source=$srcdir/$ac_source
19103 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19104 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19106 if test ! -r "$ac_source"; then
19107 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19109 rm -f "$ac_file"
19111 # Try a relative symlink, then a hard link, then a copy.
19112 case $ac_source in
19113 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19114 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19115 esac
19116 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19117 ln "$ac_source" "$ac_file" 2>/dev/null ||
19118 cp -p "$ac_source" "$ac_file" ||
19119 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19122 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19123 $as_echo "$as_me: executing $ac_file commands" >&6;}
19125 esac
19128 case $ac_file$ac_mode in
19129 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19130 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19131 "Makefile":C) wine_fn_output_makefile Makefile ;;
19132 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19134 esac
19135 done # for ac_tag
19138 as_fn_exit 0
19139 _ACEOF
19140 ac_clean_files=$ac_clean_files_save
19142 test $ac_write_fail = 0 ||
19143 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19146 # configure is writing to config.log, and then calls config.status.
19147 # config.status does its own redirection, appending to config.log.
19148 # Unfortunately, on DOS this fails, as config.log is still kept open
19149 # by configure, so config.status won't be able to write to it; its
19150 # output is simply discarded. So we exec the FD to /dev/null,
19151 # effectively closing config.log, so it can be properly (re)opened and
19152 # appended to by config.status. When coming back to configure, we
19153 # need to make the FD available again.
19154 if test "$no_create" != yes; then
19155 ac_cs_success=:
19156 ac_config_status_args=
19157 test "$silent" = yes &&
19158 ac_config_status_args="$ac_config_status_args --quiet"
19159 exec 5>/dev/null
19160 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19161 exec 5>>config.log
19162 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19163 # would make configure fail if this is the last instruction.
19164 $ac_cs_success || as_fn_exit 1
19166 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19168 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19172 if test "$no_create" = "yes"
19173 then
19174 exit 0
19177 ac_save_IFS="$IFS"
19178 if test "x$wine_notices != "x; then
19179 echo >&6
19180 IFS="|"
19181 for msg in $wine_notices; do
19182 IFS="$ac_save_IFS"
19183 if ${msg:+false} :; then :
19185 else
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19187 $as_echo "$as_me: $msg" >&6;}
19189 done
19191 IFS="|"
19192 for msg in $wine_warnings; do
19193 IFS="$ac_save_IFS"
19194 if ${msg:+false} :; then :
19196 else
19197 echo >&2
19198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19199 $as_echo "$as_me: WARNING: $msg" >&2;}
19201 done
19202 IFS="$ac_save_IFS"
19204 $as_echo "
19205 $as_me: Finished. Do '${ac_make}' to compile Wine.
19206 " >&6