configure: Add enable options for all modules to the recognized option list.
[wine.git] / configure
blobcfaf21f81dd134815fe07d20589d007e2e2a18fa
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.3.
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.3'
584 PACKAGE_STRING='Wine 1.7.3'
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 PORCFLAGS
628 LINGUAS
629 ALL_TEST_RESOURCES
630 LDAPLIBS
631 LIBRT
632 LIBPOLL
633 LIBDL
634 EXTRA_BINARIES
635 MAIN_BINARY
636 TOOLSEXT
637 LDPATH
638 UNWINDFLAGS
639 BUILTINFLAG
640 EXTRACFLAGS
641 LIBPROCSTAT
642 LIBKSTAT
643 LIBOPENAL
644 MPG123_LIBS
645 MPG123_CFLAGS
646 TIFF_LIBS
647 TIFF_CFLAGS
648 PNG_LIBS
649 PNG_CFLAGS
650 JPEG_LIBS
651 JPEG_CFLAGS
652 FONTCONFIGINCL
653 CUPSINCL
654 CAPI20_LIBS
655 CAPI20_CFLAGS
656 OSS4INCL
657 ALSALIBS
658 GSTREAMER_LIBS
659 GSTREAMER_CFLAGS
660 LIBGETTEXTPO
661 ZLIB
662 FREETYPE_LIBS
663 FREETYPE_CFLAGS
664 LCMS2_LIBS
665 LCMS2_CFLAGS
666 RESOLVLIBS
667 GPHOTO2_PORT_LIBS
668 GPHOTO2_PORT_CFLAGS
669 GPHOTO2_LIBS
670 GPHOTO2_CFLAGS
671 SANE_LIBS
672 SANE_CFLAGS
673 GNUTLS_LIBS
674 GNUTLS_CFLAGS
675 HAL_LIBS
676 HAL_CFLAGS
677 DBUS_LIBS
678 DBUS_CFLAGS
679 XSLT_LIBS
680 XSLT_CFLAGS
681 XML2_LIBS
682 XML2_CFLAGS
683 X_EXTRA_LIBS
684 X_LIBS
685 X_PRE_LIBS
686 X_CFLAGS
687 XMKMF
688 LIBPTHREAD
689 CROSSTARGET
690 CROSSCC
691 CROSSTEST_DISABLE
692 PRELINK
693 CARBONLIB
694 QUICKTIMELIB
695 LIBOPENCL
696 FRAMEWORK_OPENAL
697 COREAUDIO
698 SECURITYLIB
699 DISKARBITRATIONLIB
700 LDEXECFLAGS
701 APPKITLIB
702 CORESERVICESLIB
703 APPLICATIONSERVICESLIB
704 FORCEFEEDBACKLIB
705 IOKITLIB
706 COREFOUNDATIONLIB
707 LIBWINE_RULES
708 SOCKETLIBS
709 DLLTOOL
710 READELF
712 LDRPATH_LOCAL
713 LDRPATH_INSTALL
714 IMPLIBEXT
715 DLLFLAGS
716 DLLPREFIX
717 DLLEXT
718 dlldir
720 OPENGL_LIBS
721 XLIB
722 MAINTAINER_MODE
723 PKG_CONFIG
724 MSGFMT
725 ICOTOOL
726 CONVERT
727 RSVG
728 FONTFORGE
729 LINTFLAGS
730 LINT
731 INSTALL_DATA
732 INSTALL_SCRIPT
733 INSTALL_PROGRAM
734 LDCONFIG
735 EGREP
736 GREP
737 LN_S
738 RANLIB
739 ARFLAGS
740 STRIP
741 ac_ct_AR
743 BISON
744 FLEX
745 TOOLSDIR
746 WOW64_DISABLE
747 TARGETFLAGS
748 CPPBIN
749 ac_ct_CXX
750 CXXFLAGS
752 OBJEXT
753 EXEEXT
754 ac_ct_CC
755 CPPFLAGS
756 LDFLAGS
757 CFLAGS
759 SET_MAKE
760 host_os
761 host_vendor
762 host_cpu
763 host
764 build_os
765 build_vendor
766 build_cpu
767 build
768 target_alias
769 host_alias
770 build_alias
771 LIBS
772 ECHO_T
773 ECHO_N
774 ECHO_C
775 DEFS
776 mandir
777 localedir
778 libdir
779 psdir
780 pdfdir
781 dvidir
782 htmldir
783 infodir
784 docdir
785 oldincludedir
786 includedir
787 localstatedir
788 sharedstatedir
789 sysconfdir
790 datadir
791 datarootdir
792 libexecdir
793 sbindir
794 bindir
795 program_transform_name
796 prefix
797 exec_prefix
798 PACKAGE_URL
799 PACKAGE_BUGREPORT
800 PACKAGE_STRING
801 PACKAGE_VERSION
802 PACKAGE_TARNAME
803 PACKAGE_NAME
804 PATH_SEPARATOR
805 SHELL'
806 ac_subst_files='MAKE_RULES
807 MAKE_TEST_RULES
808 MAKE_DLL_RULES
809 MAKE_IMPLIB_RULES
810 MAKE_PROG_RULES'
811 ac_user_opts='
812 enable_option_checking
813 enable_win16
814 enable_win64
815 enable_tests
816 enable_maintainer_mode
817 with_alsa
818 with_capi
819 with_cms
820 with_coreaudio
821 with_cups
822 with_curses
823 with_dbus
824 with_fontconfig
825 with_freetype
826 with_gettext
827 with_gettextpo
828 with_gphoto
829 with_glu
830 with_gnutls
831 with_gsm
832 with_gstreamer
833 with_hal
834 with_jpeg
835 with_ldap
836 with_mpg123
837 with_openal
838 with_opencl
839 with_opengl
840 with_osmesa
841 with_oss
842 with_png
843 with_pthread
844 with_sane
845 with_tiff
846 with_v4l
847 with_xcomposite
848 with_xcursor
849 with_xinerama
850 with_xinput
851 with_xinput2
852 with_xml
853 with_xrandr
854 with_xrender
855 with_xshape
856 with_xshm
857 with_xslt
858 with_xxf86vm
859 with_zlib
860 with_wine_tools
861 with_wine64
862 enable_largefile
863 with_x
864 enable_acledit
865 enable_aclui
866 enable_activeds
867 enable_actxprxy
868 enable_advapi32
869 enable_advpack
870 enable_amstream
871 enable_api_ms_win_core_localregistry_l1_1_0
872 enable_api_ms_win_core_processthreads_l1_1_0
873 enable_api_ms_win_core_winrt_error_l1_1_0
874 enable_api_ms_win_core_winrt_string_l1_1_0
875 enable_api_ms_win_downlevel_advapi32_l1_1_0
876 enable_api_ms_win_downlevel_advapi32_l2_1_0
877 enable_api_ms_win_downlevel_normaliz_l1_1_0
878 enable_api_ms_win_downlevel_ole32_l1_1_0
879 enable_api_ms_win_downlevel_shell32_l1_1_0
880 enable_api_ms_win_downlevel_shlwapi_l1_1_0
881 enable_api_ms_win_downlevel_shlwapi_l2_1_0
882 enable_api_ms_win_downlevel_user32_l1_1_0
883 enable_api_ms_win_downlevel_version_l1_1_0
884 enable_api_ms_win_security_base_l1_1_0
885 enable_apphelp
886 enable_appwiz_cpl
887 enable_atl
888 enable_atl100
889 enable_atl110
890 enable_atl80
891 enable_authz
892 enable_avicap32
893 enable_avifil32
894 enable_avrt
895 enable_bcrypt
896 enable_browseui
897 enable_cabinet
898 enable_capi2032
899 enable_cards
900 enable_cfgmgr32
901 enable_clusapi
902 enable_comcat
903 enable_comctl32
904 enable_comdlg32
905 enable_compstui
906 enable_comsvcs
907 enable_credui
908 enable_crtdll
909 enable_crypt32
910 enable_cryptdlg
911 enable_cryptdll
912 enable_cryptnet
913 enable_cryptui
914 enable_ctapi32
915 enable_ctl3d32
916 enable_d3d10
917 enable_d3d10core
918 enable_d3d11
919 enable_d3d8
920 enable_d3d9
921 enable_d3dcompiler_33
922 enable_d3dcompiler_34
923 enable_d3dcompiler_35
924 enable_d3dcompiler_36
925 enable_d3dcompiler_37
926 enable_d3dcompiler_38
927 enable_d3dcompiler_39
928 enable_d3dcompiler_40
929 enable_d3dcompiler_41
930 enable_d3dcompiler_42
931 enable_d3dcompiler_43
932 enable_d3dim
933 enable_d3drm
934 enable_d3dx10_33
935 enable_d3dx10_34
936 enable_d3dx10_35
937 enable_d3dx10_36
938 enable_d3dx10_37
939 enable_d3dx10_38
940 enable_d3dx10_39
941 enable_d3dx10_40
942 enable_d3dx10_41
943 enable_d3dx10_42
944 enable_d3dx10_43
945 enable_d3dx11_42
946 enable_d3dx11_43
947 enable_d3dx9_24
948 enable_d3dx9_25
949 enable_d3dx9_26
950 enable_d3dx9_27
951 enable_d3dx9_28
952 enable_d3dx9_29
953 enable_d3dx9_30
954 enable_d3dx9_31
955 enable_d3dx9_32
956 enable_d3dx9_33
957 enable_d3dx9_34
958 enable_d3dx9_35
959 enable_d3dx9_36
960 enable_d3dx9_37
961 enable_d3dx9_38
962 enable_d3dx9_39
963 enable_d3dx9_40
964 enable_d3dx9_41
965 enable_d3dx9_42
966 enable_d3dx9_43
967 enable_d3dxof
968 enable_dbgeng
969 enable_dbghelp
970 enable_dciman32
971 enable_ddraw
972 enable_ddrawex
973 enable_devenum
974 enable_dhcpcsvc
975 enable_difxapi
976 enable_dinput
977 enable_dinput8
978 enable_dispex
979 enable_dmband
980 enable_dmcompos
981 enable_dmime
982 enable_dmloader
983 enable_dmscript
984 enable_dmstyle
985 enable_dmsynth
986 enable_dmusic
987 enable_dmusic32
988 enable_dnsapi
989 enable_dplay
990 enable_dplayx
991 enable_dpnaddr
992 enable_dpnet
993 enable_dpnhpast
994 enable_dpnlobby
995 enable_dpwsockx
996 enable_drmclien
997 enable_dsound
998 enable_dssenh
999 enable_dswave
1000 enable_dwmapi
1001 enable_dwrite
1002 enable_dxdiagn
1003 enable_dxgi
1004 enable_explorerframe
1005 enable_faultrep
1006 enable_fltlib
1007 enable_fusion
1008 enable_fwpuclnt
1009 enable_gameux
1010 enable_gdi32
1011 enable_gdiplus
1012 enable_glu32
1013 enable_gphoto2_ds
1014 enable_gpkcsp
1015 enable_hal
1016 enable_hhctrl_ocx
1017 enable_hid
1018 enable_hlink
1019 enable_hnetcfg
1020 enable_httpapi
1021 enable_iccvid
1022 enable_icmp
1023 enable_ieframe
1024 enable_imaadp32_acm
1025 enable_imagehlp
1026 enable_imm32
1027 enable_inetcomm
1028 enable_inetcpl_cpl
1029 enable_inetmib1
1030 enable_infosoft
1031 enable_initpki
1032 enable_inkobj
1033 enable_inseng
1034 enable_iphlpapi
1035 enable_itircl
1036 enable_itss
1037 enable_joy_cpl
1038 enable_jscript
1039 enable_kernel32
1040 enable_ktmw32
1041 enable_loadperf
1042 enable_localspl
1043 enable_localui
1044 enable_lz32
1045 enable_mapi32
1046 enable_mapistub
1047 enable_mciavi32
1048 enable_mcicda
1049 enable_mciqtz32
1050 enable_mciseq
1051 enable_mciwave
1052 enable_mgmtapi
1053 enable_midimap
1054 enable_mlang
1055 enable_mmcndmgr
1056 enable_mmdevapi
1057 enable_mountmgr_sys
1058 enable_mpr
1059 enable_mprapi
1060 enable_msacm32_drv
1061 enable_msacm32
1062 enable_msadp32_acm
1063 enable_mscat32
1064 enable_mscms
1065 enable_mscoree
1066 enable_msctf
1067 enable_msdaps
1068 enable_msdmo
1069 enable_msftedit
1070 enable_msg711_acm
1071 enable_msgsm32_acm
1072 enable_mshtml_tlb
1073 enable_mshtml
1074 enable_msi
1075 enable_msident
1076 enable_msimg32
1077 enable_msimsg
1078 enable_msimtf
1079 enable_msisip
1080 enable_msisys_ocx
1081 enable_msls31
1082 enable_msnet32
1083 enable_mspatcha
1084 enable_msrle32
1085 enable_mssign32
1086 enable_mssip32
1087 enable_mstask
1088 enable_msvcirt
1089 enable_msvcm80
1090 enable_msvcm90
1091 enable_msvcp100
1092 enable_msvcp110
1093 enable_msvcp60
1094 enable_msvcp70
1095 enable_msvcp71
1096 enable_msvcp80
1097 enable_msvcp90
1098 enable_msvcr100
1099 enable_msvcr110
1100 enable_msvcr70
1101 enable_msvcr71
1102 enable_msvcr80
1103 enable_msvcr90
1104 enable_msvcrt
1105 enable_msvcrt20
1106 enable_msvcrt40
1107 enable_msvcrtd
1108 enable_msvfw32
1109 enable_msvidc32
1110 enable_mswsock
1111 enable_msxml
1112 enable_msxml2
1113 enable_msxml3
1114 enable_msxml4
1115 enable_msxml6
1116 enable_nddeapi
1117 enable_netapi32
1118 enable_netcfgx
1119 enable_newdev
1120 enable_normaliz
1121 enable_npmshtml
1122 enable_ntdll
1123 enable_ntdsapi
1124 enable_ntoskrnl_exe
1125 enable_ntprint
1126 enable_objsel
1127 enable_odbc32
1128 enable_odbccp32
1129 enable_odbccu32
1130 enable_ole32
1131 enable_oleacc
1132 enable_oleaut32
1133 enable_olecli32
1134 enable_oledb32
1135 enable_oledlg
1136 enable_olepro32
1137 enable_olesvr32
1138 enable_olethk32
1139 enable_openal32
1140 enable_opencl
1141 enable_opengl32
1142 enable_pdh
1143 enable_photometadatahandler
1144 enable_pidgen
1145 enable_powrprof
1146 enable_printui
1147 enable_propsys
1148 enable_psapi
1149 enable_pstorec
1150 enable_qcap
1151 enable_qedit
1152 enable_qmgr
1153 enable_qmgrprxy
1154 enable_quartz
1155 enable_query
1156 enable_rasapi32
1157 enable_rasdlg
1158 enable_regapi
1159 enable_resutils
1160 enable_riched20
1161 enable_riched32
1162 enable_rpcrt4
1163 enable_rsabase
1164 enable_rsaenh
1165 enable_rstrtmgr
1166 enable_rtutils
1167 enable_samlib
1168 enable_sane_ds
1169 enable_scarddlg
1170 enable_sccbase
1171 enable_schannel
1172 enable_scrrun
1173 enable_scsiport_sys
1174 enable_secur32
1175 enable_security
1176 enable_sensapi
1177 enable_serialui
1178 enable_setupapi
1179 enable_sfc
1180 enable_sfc_os
1181 enable_shdoclc
1182 enable_shdocvw
1183 enable_shell32
1184 enable_shfolder
1185 enable_shlwapi
1186 enable_slbcsp
1187 enable_slc
1188 enable_snmpapi
1189 enable_softpub
1190 enable_spoolss
1191 enable_stdole2_tlb
1192 enable_stdole32_tlb
1193 enable_sti
1194 enable_svrapi
1195 enable_sxs
1196 enable_t2embed
1197 enable_tapi32
1198 enable_traffic
1199 enable_twain_32
1200 enable_unicows
1201 enable_updspapi
1202 enable_url
1203 enable_urlmon
1204 enable_usbd_sys
1205 enable_user32
1206 enable_userenv
1207 enable_usp10
1208 enable_uxtheme
1209 enable_vbscript
1210 enable_vcomp
1211 enable_vcomp100
1212 enable_vcomp90
1213 enable_vdmdbg
1214 enable_version
1215 enable_wbemdisp
1216 enable_wbemprox
1217 enable_webservices
1218 enable_wer
1219 enable_wevtapi
1220 enable_wiaservc
1221 enable_windowscodecs
1222 enable_windowscodecsext
1223 enable_winealsa_drv
1224 enable_winecoreaudio_drv
1225 enable_wined3d
1226 enable_winegstreamer
1227 enable_winejoystick_drv
1228 enable_winemac_drv
1229 enable_winemapi
1230 enable_winemp3_acm
1231 enable_wineoss_drv
1232 enable_wineps_drv
1233 enable_wineqtdecoder
1234 enable_winex11_drv
1235 enable_wing32
1236 enable_winhttp
1237 enable_wininet
1238 enable_winmm
1239 enable_winnls32
1240 enable_winscard
1241 enable_winspool_drv
1242 enable_winsta
1243 enable_wintab32
1244 enable_wintrust
1245 enable_wlanapi
1246 enable_wldap32
1247 enable_wmi
1248 enable_wmiutils
1249 enable_wmvcore
1250 enable_wnaspi32
1251 enable_ws2_32
1252 enable_wshom_ocx
1253 enable_wsnmp32
1254 enable_wsock32
1255 enable_wtsapi32
1256 enable_wuapi
1257 enable_wuaueng
1258 enable_xapofx1_1
1259 enable_xinput1_1
1260 enable_xinput1_2
1261 enable_xinput1_3
1262 enable_xinput1_4
1263 enable_xinput9_1_0
1264 enable_xmllite
1265 enable_xolehlp
1266 enable_xpsprint
1267 enable_xpssvcs
1268 enable_documentation
1269 enable_fonts
1270 enable_include
1271 enable_libs_port
1272 enable_libs_wine
1273 enable_libs_wpp
1274 enable_loader
1275 enable_aspnet_regiis
1276 enable_attrib
1277 enable_cabarc
1278 enable_cacls
1279 enable_clock
1280 enable_cmd
1281 enable_conhost
1282 enable_control
1283 enable_cscript
1284 enable_dxdiag
1285 enable_eject
1286 enable_expand
1287 enable_explorer
1288 enable_extrac32
1289 enable_findstr
1290 enable_hh
1291 enable_hostname
1292 enable_icinfo
1293 enable_iexplore
1294 enable_ipconfig
1295 enable_lodctr
1296 enable_mofcomp
1297 enable_mshta
1298 enable_msiexec
1299 enable_net
1300 enable_netsh
1301 enable_netstat
1302 enable_ngen
1303 enable_notepad
1304 enable_oleview
1305 enable_ping
1306 enable_plugplay
1307 enable_presentationfontcache
1308 enable_progman
1309 enable_reg
1310 enable_regasm
1311 enable_regedit
1312 enable_regsvcs
1313 enable_regsvr32
1314 enable_rpcss
1315 enable_rundll32
1316 enable_sc
1317 enable_schtasks
1318 enable_secedit
1319 enable_servicemodelreg
1320 enable_services
1321 enable_spoolsv
1322 enable_start
1323 enable_svchost
1324 enable_taskkill
1325 enable_tasklist
1326 enable_taskmgr
1327 enable_termsv
1328 enable_uninstaller
1329 enable_unlodctr
1330 enable_view
1331 enable_wineboot
1332 enable_winebrowser
1333 enable_winecfg
1334 enable_wineconsole
1335 enable_winedbg
1336 enable_winedevice
1337 enable_winefile
1338 enable_winemenubuilder
1339 enable_winemine
1340 enable_winemsibuilder
1341 enable_winepath
1342 enable_winetest
1343 enable_winhlp32
1344 enable_winver
1345 enable_wmic
1346 enable_wordpad
1347 enable_write
1348 enable_wscript
1349 enable_wusa
1350 enable_xcopy
1351 enable_server
1352 enable_tools
1354 ac_precious_vars='build_alias
1355 host_alias
1356 target_alias
1358 CFLAGS
1359 LDFLAGS
1360 LIBS
1361 CPPFLAGS
1363 CXXFLAGS
1366 XMKMF
1367 XML2_CFLAGS
1368 XML2_LIBS
1369 XSLT_CFLAGS
1370 XSLT_LIBS
1371 DBUS_CFLAGS
1372 DBUS_LIBS
1373 HAL_CFLAGS
1374 HAL_LIBS
1375 GNUTLS_CFLAGS
1376 GNUTLS_LIBS
1377 SANE_CFLAGS
1378 SANE_LIBS
1379 GPHOTO2_CFLAGS
1380 GPHOTO2_LIBS
1381 GPHOTO2_PORT_CFLAGS
1382 GPHOTO2_PORT_LIBS
1383 LCMS2_CFLAGS
1384 LCMS2_LIBS
1385 FREETYPE_CFLAGS
1386 FREETYPE_LIBS
1387 GSTREAMER_CFLAGS
1388 GSTREAMER_LIBS
1389 CAPI20_CFLAGS
1390 CAPI20_LIBS
1391 JPEG_CFLAGS
1392 JPEG_LIBS
1393 PNG_CFLAGS
1394 PNG_LIBS
1395 TIFF_CFLAGS
1396 TIFF_LIBS
1397 MPG123_CFLAGS
1398 MPG123_LIBS'
1401 # Initialize some variables set by options.
1402 ac_init_help=
1403 ac_init_version=false
1404 ac_unrecognized_opts=
1405 ac_unrecognized_sep=
1406 # The variables have the same names as the options, with
1407 # dashes changed to underlines.
1408 cache_file=/dev/null
1409 exec_prefix=NONE
1410 no_create=
1411 no_recursion=
1412 prefix=NONE
1413 program_prefix=NONE
1414 program_suffix=NONE
1415 program_transform_name=s,x,x,
1416 silent=
1417 site=
1418 srcdir=
1419 verbose=
1420 x_includes=NONE
1421 x_libraries=NONE
1423 # Installation directory options.
1424 # These are left unexpanded so users can "make install exec_prefix=/foo"
1425 # and all the variables that are supposed to be based on exec_prefix
1426 # by default will actually change.
1427 # Use braces instead of parens because sh, perl, etc. also accept them.
1428 # (The list follows the same order as the GNU Coding Standards.)
1429 bindir='${exec_prefix}/bin'
1430 sbindir='${exec_prefix}/sbin'
1431 libexecdir='${exec_prefix}/libexec'
1432 datarootdir='${prefix}/share'
1433 datadir='${datarootdir}'
1434 sysconfdir='${prefix}/etc'
1435 sharedstatedir='${prefix}/com'
1436 localstatedir='${prefix}/var'
1437 includedir='${prefix}/include'
1438 oldincludedir='/usr/include'
1439 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1440 infodir='${datarootdir}/info'
1441 htmldir='${docdir}'
1442 dvidir='${docdir}'
1443 pdfdir='${docdir}'
1444 psdir='${docdir}'
1445 libdir='${exec_prefix}/lib'
1446 localedir='${datarootdir}/locale'
1447 mandir='${datarootdir}/man'
1449 ac_prev=
1450 ac_dashdash=
1451 for ac_option
1453 # If the previous option needs an argument, assign it.
1454 if test -n "$ac_prev"; then
1455 eval $ac_prev=\$ac_option
1456 ac_prev=
1457 continue
1460 case $ac_option in
1461 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1462 *=) ac_optarg= ;;
1463 *) ac_optarg=yes ;;
1464 esac
1466 # Accept the important Cygnus configure options, so we can diagnose typos.
1468 case $ac_dashdash$ac_option in
1470 ac_dashdash=yes ;;
1472 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1473 ac_prev=bindir ;;
1474 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1475 bindir=$ac_optarg ;;
1477 -build | --build | --buil | --bui | --bu)
1478 ac_prev=build_alias ;;
1479 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1480 build_alias=$ac_optarg ;;
1482 -cache-file | --cache-file | --cache-fil | --cache-fi \
1483 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1484 ac_prev=cache_file ;;
1485 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1486 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1487 cache_file=$ac_optarg ;;
1489 --config-cache | -C)
1490 cache_file=config.cache ;;
1492 -datadir | --datadir | --datadi | --datad)
1493 ac_prev=datadir ;;
1494 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1495 datadir=$ac_optarg ;;
1497 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1498 | --dataroo | --dataro | --datar)
1499 ac_prev=datarootdir ;;
1500 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1501 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1502 datarootdir=$ac_optarg ;;
1504 -disable-* | --disable-*)
1505 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1506 # Reject names that are not valid shell variable names.
1507 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1508 as_fn_error $? "invalid feature name: $ac_useropt"
1509 ac_useropt_orig=$ac_useropt
1510 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1511 case $ac_user_opts in
1513 "enable_$ac_useropt"
1514 "*) ;;
1515 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1516 ac_unrecognized_sep=', ';;
1517 esac
1518 eval enable_$ac_useropt=no ;;
1520 -docdir | --docdir | --docdi | --doc | --do)
1521 ac_prev=docdir ;;
1522 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1523 docdir=$ac_optarg ;;
1525 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1526 ac_prev=dvidir ;;
1527 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1528 dvidir=$ac_optarg ;;
1530 -enable-* | --enable-*)
1531 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1532 # Reject names that are not valid shell variable names.
1533 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1534 as_fn_error $? "invalid feature name: $ac_useropt"
1535 ac_useropt_orig=$ac_useropt
1536 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1537 case $ac_user_opts in
1539 "enable_$ac_useropt"
1540 "*) ;;
1541 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1542 ac_unrecognized_sep=', ';;
1543 esac
1544 eval enable_$ac_useropt=\$ac_optarg ;;
1546 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1547 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1548 | --exec | --exe | --ex)
1549 ac_prev=exec_prefix ;;
1550 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1551 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1552 | --exec=* | --exe=* | --ex=*)
1553 exec_prefix=$ac_optarg ;;
1555 -gas | --gas | --ga | --g)
1556 # Obsolete; use --with-gas.
1557 with_gas=yes ;;
1559 -help | --help | --hel | --he | -h)
1560 ac_init_help=long ;;
1561 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1562 ac_init_help=recursive ;;
1563 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1564 ac_init_help=short ;;
1566 -host | --host | --hos | --ho)
1567 ac_prev=host_alias ;;
1568 -host=* | --host=* | --hos=* | --ho=*)
1569 host_alias=$ac_optarg ;;
1571 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1572 ac_prev=htmldir ;;
1573 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1574 | --ht=*)
1575 htmldir=$ac_optarg ;;
1577 -includedir | --includedir | --includedi | --included | --include \
1578 | --includ | --inclu | --incl | --inc)
1579 ac_prev=includedir ;;
1580 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1581 | --includ=* | --inclu=* | --incl=* | --inc=*)
1582 includedir=$ac_optarg ;;
1584 -infodir | --infodir | --infodi | --infod | --info | --inf)
1585 ac_prev=infodir ;;
1586 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1587 infodir=$ac_optarg ;;
1589 -libdir | --libdir | --libdi | --libd)
1590 ac_prev=libdir ;;
1591 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1592 libdir=$ac_optarg ;;
1594 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1595 | --libexe | --libex | --libe)
1596 ac_prev=libexecdir ;;
1597 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1598 | --libexe=* | --libex=* | --libe=*)
1599 libexecdir=$ac_optarg ;;
1601 -localedir | --localedir | --localedi | --localed | --locale)
1602 ac_prev=localedir ;;
1603 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1604 localedir=$ac_optarg ;;
1606 -localstatedir | --localstatedir | --localstatedi | --localstated \
1607 | --localstate | --localstat | --localsta | --localst | --locals)
1608 ac_prev=localstatedir ;;
1609 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1610 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1611 localstatedir=$ac_optarg ;;
1613 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1614 ac_prev=mandir ;;
1615 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1616 mandir=$ac_optarg ;;
1618 -nfp | --nfp | --nf)
1619 # Obsolete; use --without-fp.
1620 with_fp=no ;;
1622 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1623 | --no-cr | --no-c | -n)
1624 no_create=yes ;;
1626 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1627 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1628 no_recursion=yes ;;
1630 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1631 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1632 | --oldin | --oldi | --old | --ol | --o)
1633 ac_prev=oldincludedir ;;
1634 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1635 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1636 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1637 oldincludedir=$ac_optarg ;;
1639 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1640 ac_prev=prefix ;;
1641 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1642 prefix=$ac_optarg ;;
1644 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1645 | --program-pre | --program-pr | --program-p)
1646 ac_prev=program_prefix ;;
1647 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1648 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1649 program_prefix=$ac_optarg ;;
1651 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1652 | --program-suf | --program-su | --program-s)
1653 ac_prev=program_suffix ;;
1654 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1655 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1656 program_suffix=$ac_optarg ;;
1658 -program-transform-name | --program-transform-name \
1659 | --program-transform-nam | --program-transform-na \
1660 | --program-transform-n | --program-transform- \
1661 | --program-transform | --program-transfor \
1662 | --program-transfo | --program-transf \
1663 | --program-trans | --program-tran \
1664 | --progr-tra | --program-tr | --program-t)
1665 ac_prev=program_transform_name ;;
1666 -program-transform-name=* | --program-transform-name=* \
1667 | --program-transform-nam=* | --program-transform-na=* \
1668 | --program-transform-n=* | --program-transform-=* \
1669 | --program-transform=* | --program-transfor=* \
1670 | --program-transfo=* | --program-transf=* \
1671 | --program-trans=* | --program-tran=* \
1672 | --progr-tra=* | --program-tr=* | --program-t=*)
1673 program_transform_name=$ac_optarg ;;
1675 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1676 ac_prev=pdfdir ;;
1677 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1678 pdfdir=$ac_optarg ;;
1680 -psdir | --psdir | --psdi | --psd | --ps)
1681 ac_prev=psdir ;;
1682 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1683 psdir=$ac_optarg ;;
1685 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1686 | -silent | --silent | --silen | --sile | --sil)
1687 silent=yes ;;
1689 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1690 ac_prev=sbindir ;;
1691 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1692 | --sbi=* | --sb=*)
1693 sbindir=$ac_optarg ;;
1695 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1696 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1697 | --sharedst | --shareds | --shared | --share | --shar \
1698 | --sha | --sh)
1699 ac_prev=sharedstatedir ;;
1700 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1701 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1702 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1703 | --sha=* | --sh=*)
1704 sharedstatedir=$ac_optarg ;;
1706 -site | --site | --sit)
1707 ac_prev=site ;;
1708 -site=* | --site=* | --sit=*)
1709 site=$ac_optarg ;;
1711 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1712 ac_prev=srcdir ;;
1713 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1714 srcdir=$ac_optarg ;;
1716 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1717 | --syscon | --sysco | --sysc | --sys | --sy)
1718 ac_prev=sysconfdir ;;
1719 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1720 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1721 sysconfdir=$ac_optarg ;;
1723 -target | --target | --targe | --targ | --tar | --ta | --t)
1724 ac_prev=target_alias ;;
1725 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1726 target_alias=$ac_optarg ;;
1728 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1729 verbose=yes ;;
1731 -version | --version | --versio | --versi | --vers | -V)
1732 ac_init_version=: ;;
1734 -with-* | --with-*)
1735 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1736 # Reject names that are not valid shell variable names.
1737 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1738 as_fn_error $? "invalid package name: $ac_useropt"
1739 ac_useropt_orig=$ac_useropt
1740 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1741 case $ac_user_opts in
1743 "with_$ac_useropt"
1744 "*) ;;
1745 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1746 ac_unrecognized_sep=', ';;
1747 esac
1748 eval with_$ac_useropt=\$ac_optarg ;;
1750 -without-* | --without-*)
1751 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1752 # Reject names that are not valid shell variable names.
1753 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1754 as_fn_error $? "invalid package name: $ac_useropt"
1755 ac_useropt_orig=$ac_useropt
1756 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1757 case $ac_user_opts in
1759 "with_$ac_useropt"
1760 "*) ;;
1761 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1762 ac_unrecognized_sep=', ';;
1763 esac
1764 eval with_$ac_useropt=no ;;
1766 --x)
1767 # Obsolete; use --with-x.
1768 with_x=yes ;;
1770 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1771 | --x-incl | --x-inc | --x-in | --x-i)
1772 ac_prev=x_includes ;;
1773 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1774 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1775 x_includes=$ac_optarg ;;
1777 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1778 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1779 ac_prev=x_libraries ;;
1780 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1781 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1782 x_libraries=$ac_optarg ;;
1784 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1785 Try \`$0 --help' for more information"
1788 *=*)
1789 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1790 # Reject names that are not valid shell variable names.
1791 case $ac_envvar in #(
1792 '' | [0-9]* | *[!_$as_cr_alnum]* )
1793 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1794 esac
1795 eval $ac_envvar=\$ac_optarg
1796 export $ac_envvar ;;
1799 # FIXME: should be removed in autoconf 3.0.
1800 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1801 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1802 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1803 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1806 esac
1807 done
1809 if test -n "$ac_prev"; then
1810 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1811 as_fn_error $? "missing argument to $ac_option"
1814 if test -n "$ac_unrecognized_opts"; then
1815 case $enable_option_checking in
1816 no) ;;
1817 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1818 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1819 esac
1822 # Check all directory arguments for consistency.
1823 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1824 datadir sysconfdir sharedstatedir localstatedir includedir \
1825 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1826 libdir localedir mandir
1828 eval ac_val=\$$ac_var
1829 # Remove trailing slashes.
1830 case $ac_val in
1831 */ )
1832 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1833 eval $ac_var=\$ac_val;;
1834 esac
1835 # Be sure to have absolute directory names.
1836 case $ac_val in
1837 [\\/$]* | ?:[\\/]* ) continue;;
1838 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1839 esac
1840 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1841 done
1843 # There might be people who depend on the old broken behavior: `$host'
1844 # used to hold the argument of --host etc.
1845 # FIXME: To remove some day.
1846 build=$build_alias
1847 host=$host_alias
1848 target=$target_alias
1850 # FIXME: To remove some day.
1851 if test "x$host_alias" != x; then
1852 if test "x$build_alias" = x; then
1853 cross_compiling=maybe
1854 elif test "x$build_alias" != "x$host_alias"; then
1855 cross_compiling=yes
1859 ac_tool_prefix=
1860 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1862 test "$silent" = yes && exec 6>/dev/null
1865 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1866 ac_ls_di=`ls -di .` &&
1867 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1868 as_fn_error $? "working directory cannot be determined"
1869 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1870 as_fn_error $? "pwd does not report name of working directory"
1873 # Find the source files, if location was not specified.
1874 if test -z "$srcdir"; then
1875 ac_srcdir_defaulted=yes
1876 # Try the directory containing this script, then the parent directory.
1877 ac_confdir=`$as_dirname -- "$as_myself" ||
1878 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1879 X"$as_myself" : 'X\(//\)[^/]' \| \
1880 X"$as_myself" : 'X\(//\)$' \| \
1881 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1882 $as_echo X"$as_myself" |
1883 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1884 s//\1/
1887 /^X\(\/\/\)[^/].*/{
1888 s//\1/
1891 /^X\(\/\/\)$/{
1892 s//\1/
1895 /^X\(\/\).*/{
1896 s//\1/
1899 s/.*/./; q'`
1900 srcdir=$ac_confdir
1901 if test ! -r "$srcdir/$ac_unique_file"; then
1902 srcdir=..
1904 else
1905 ac_srcdir_defaulted=no
1907 if test ! -r "$srcdir/$ac_unique_file"; then
1908 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1909 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1911 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1912 ac_abs_confdir=`(
1913 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1914 pwd)`
1915 # When building in place, set srcdir=.
1916 if test "$ac_abs_confdir" = "$ac_pwd"; then
1917 srcdir=.
1919 # Remove unnecessary trailing slashes from srcdir.
1920 # Double slashes in file names in object file debugging info
1921 # mess up M-x gdb in Emacs.
1922 case $srcdir in
1923 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1924 esac
1925 for ac_var in $ac_precious_vars; do
1926 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1927 eval ac_env_${ac_var}_value=\$${ac_var}
1928 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1929 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1930 done
1933 # Report the --help message.
1935 if test "$ac_init_help" = "long"; then
1936 # Omit some internal or obsolete options to make the list less imposing.
1937 # This message is too long to be a string in the A/UX 3.1 sh.
1938 cat <<_ACEOF
1939 \`configure' configures Wine 1.7.3 to adapt to many kinds of systems.
1941 Usage: $0 [OPTION]... [VAR=VALUE]...
1943 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1944 VAR=VALUE. See below for descriptions of some of the useful variables.
1946 Defaults for the options are specified in brackets.
1948 Configuration:
1949 -h, --help display this help and exit
1950 --help=short display options specific to this package
1951 --help=recursive display the short help of all the included packages
1952 -V, --version display version information and exit
1953 -q, --quiet, --silent do not print \`checking ...' messages
1954 --cache-file=FILE cache test results in FILE [disabled]
1955 -C, --config-cache alias for \`--cache-file=config.cache'
1956 -n, --no-create do not create output files
1957 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1959 Installation directories:
1960 --prefix=PREFIX install architecture-independent files in PREFIX
1961 [$ac_default_prefix]
1962 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1963 [PREFIX]
1965 By default, \`make install' will install all the files in
1966 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1967 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1968 for instance \`--prefix=\$HOME'.
1970 For better control, use the options below.
1972 Fine tuning of the installation directories:
1973 --bindir=DIR user executables [EPREFIX/bin]
1974 --sbindir=DIR system admin executables [EPREFIX/sbin]
1975 --libexecdir=DIR program executables [EPREFIX/libexec]
1976 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1977 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1978 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1979 --libdir=DIR object code libraries [EPREFIX/lib]
1980 --includedir=DIR C header files [PREFIX/include]
1981 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1982 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1983 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1984 --infodir=DIR info documentation [DATAROOTDIR/info]
1985 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1986 --mandir=DIR man documentation [DATAROOTDIR/man]
1987 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1988 --htmldir=DIR html documentation [DOCDIR]
1989 --dvidir=DIR dvi documentation [DOCDIR]
1990 --pdfdir=DIR pdf documentation [DOCDIR]
1991 --psdir=DIR ps documentation [DOCDIR]
1992 _ACEOF
1994 cat <<\_ACEOF
1996 X features:
1997 --x-includes=DIR X include files are in DIR
1998 --x-libraries=DIR X library files are in DIR
2000 System types:
2001 --build=BUILD configure for building on BUILD [guessed]
2002 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2003 _ACEOF
2006 if test -n "$ac_init_help"; then
2007 case $ac_init_help in
2008 short | recursive ) echo "Configuration of Wine 1.7.3:";;
2009 esac
2010 cat <<\_ACEOF
2012 Optional Features:
2013 --disable-option-checking ignore unrecognized --enable/--with options
2014 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2015 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2016 --disable-win16 do not include Win16 support
2017 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2018 binaries)
2019 --disable-tests do not build the regression tests
2020 --enable-maintainer-mode
2021 enable maintainer-specific build rules
2022 --disable-largefile omit support for large files
2024 Optional Packages:
2025 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2026 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2027 --without-alsa do not use the Alsa sound support
2028 --without-capi do not use CAPI (ISDN support)
2029 --without-cms do not use CMS (color management support)
2030 --without-coreaudio do not use the CoreAudio sound support
2031 --without-cups do not use CUPS
2032 --without-curses do not use (n)curses
2033 --without-dbus do not use DBus (dynamic device support)
2034 --without-fontconfig do not use fontconfig
2035 --without-freetype do not use the FreeType library
2036 --without-gettext do not use gettext
2037 --with-gettextpo use the GetTextPO library to rebuild po files
2038 --without-gphoto do not use gphoto (Digital Camera support)
2039 --without-glu do not use the GLU library
2040 --without-gnutls do not use GnuTLS (schannel support)
2041 --without-gsm do not use libgsm (GSM 06.10 codec support)
2042 --without-gstreamer do not use GStreamer (codecs support)
2043 --without-hal do not use HAL (dynamic device support)
2044 --without-jpeg do not use JPEG
2045 --without-ldap do not use LDAP
2046 --without-mpg123 do not use the mpg123 library
2047 --without-openal do not use OpenAL
2048 --without-opencl do not use OpenCL
2049 --without-opengl do not use OpenGL
2050 --without-osmesa do not use the OSMesa library
2051 --without-oss do not use the OSS sound support
2052 --without-png do not use PNG
2053 --without-pthread do not use the pthread library
2054 --without-sane do not use SANE (scanner support)
2055 --without-tiff do not use TIFF
2056 --without-v4l do not use v4l1 (v4l support)
2057 --without-xcomposite do not use the Xcomposite extension
2058 --without-xcursor do not use the Xcursor extension
2059 --without-xinerama do not use Xinerama (multi-monitor support)
2060 --without-xinput do not use the Xinput extension
2061 --without-xinput2 do not use the Xinput 2 extension
2062 --without-xml do not use XML
2063 --without-xrandr do not use Xrandr (resolution changes)
2064 --without-xrender do not use the Xrender extension
2065 --without-xshape do not use the Xshape extension
2066 --without-xshm do not use XShm (shared memory extension)
2067 --without-xslt do not use XSLT
2068 --without-xxf86vm do not use XFree video mode extension
2069 --without-zlib do not use Zlib (data compression)
2070 --with-wine-tools=DIR use Wine tools from directory DIR
2071 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2072 --with-x use the X Window System
2074 Some influential environment variables:
2075 CC C compiler command
2076 CFLAGS C compiler flags
2077 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2078 nonstandard directory <lib dir>
2079 LIBS libraries to pass to the linker, e.g. -l<library>
2080 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2081 you have headers in a nonstandard directory <include dir>
2082 CXX C++ compiler command
2083 CXXFLAGS C++ compiler flags
2084 CPP C preprocessor
2085 XMKMF Path to xmkmf, Makefile generator for X Window System
2086 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2087 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2088 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2089 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2090 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2091 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2092 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2093 HAL_LIBS Linker flags for hal, overriding pkg-config
2094 GNUTLS_CFLAGS
2095 C compiler flags for gnutls, overriding pkg-config
2096 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2097 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2098 SANE_LIBS Linker flags for libsane, overriding pkg-config
2099 GPHOTO2_CFLAGS
2100 C compiler flags for libgphoto2, overriding pkg-config
2101 GPHOTO2_LIBS
2102 Linker flags for libgphoto2, overriding pkg-config
2103 GPHOTO2_PORT_CFLAGS
2104 C compiler flags for libgphoto2_port, overriding pkg-config
2105 GPHOTO2_PORT_LIBS
2106 Linker flags for libgphoto2_port, overriding pkg-config
2107 LCMS2_CFLAGS
2108 C compiler flags for lcms2, overriding pkg-config
2109 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2110 FREETYPE_CFLAGS
2111 C compiler flags for freetype2, overriding pkg-config
2112 FREETYPE_LIBS
2113 Linker flags for freetype2, overriding pkg-config
2114 GSTREAMER_CFLAGS
2115 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2116 GSTREAMER_LIBS
2117 Linker flags for gstreamer-app-0.10, overriding pkg-config
2118 CAPI20_CFLAGS
2119 C compiler flags for capi20, overriding pkg-config
2120 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2121 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2122 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2123 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2124 PNG_LIBS Linker flags for libpng, overriding pkg-config
2125 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2126 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2127 MPG123_CFLAGS
2128 C compiler flags for libmpg123, overriding pkg-config
2129 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2131 Use these variables to override the choices made by `configure' or to help
2132 it to find libraries and programs with nonstandard names/locations.
2134 Report bugs to <wine-devel@winehq.org>.
2135 Wine home page: <http://www.winehq.org>.
2136 _ACEOF
2137 ac_status=$?
2140 if test "$ac_init_help" = "recursive"; then
2141 # If there are subdirs, report their specific --help.
2142 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2143 test -d "$ac_dir" ||
2144 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2145 continue
2146 ac_builddir=.
2148 case "$ac_dir" in
2149 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2151 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2152 # A ".." for each directory in $ac_dir_suffix.
2153 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2154 case $ac_top_builddir_sub in
2155 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2156 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2157 esac ;;
2158 esac
2159 ac_abs_top_builddir=$ac_pwd
2160 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2161 # for backward compatibility:
2162 ac_top_builddir=$ac_top_build_prefix
2164 case $srcdir in
2165 .) # We are building in place.
2166 ac_srcdir=.
2167 ac_top_srcdir=$ac_top_builddir_sub
2168 ac_abs_top_srcdir=$ac_pwd ;;
2169 [\\/]* | ?:[\\/]* ) # Absolute name.
2170 ac_srcdir=$srcdir$ac_dir_suffix;
2171 ac_top_srcdir=$srcdir
2172 ac_abs_top_srcdir=$srcdir ;;
2173 *) # Relative name.
2174 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2175 ac_top_srcdir=$ac_top_build_prefix$srcdir
2176 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2177 esac
2178 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2180 cd "$ac_dir" || { ac_status=$?; continue; }
2181 # Check for guested configure.
2182 if test -f "$ac_srcdir/configure.gnu"; then
2183 echo &&
2184 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2185 elif test -f "$ac_srcdir/configure"; then
2186 echo &&
2187 $SHELL "$ac_srcdir/configure" --help=recursive
2188 else
2189 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2190 fi || ac_status=$?
2191 cd "$ac_pwd" || { ac_status=$?; break; }
2192 done
2195 test -n "$ac_init_help" && exit $ac_status
2196 if $ac_init_version; then
2197 cat <<\_ACEOF
2198 Wine configure 1.7.3
2199 generated by GNU Autoconf 2.69
2201 Copyright (C) 2012 Free Software Foundation, Inc.
2202 This configure script is free software; the Free Software Foundation
2203 gives unlimited permission to copy, distribute and modify it.
2204 _ACEOF
2205 exit
2208 ## ------------------------ ##
2209 ## Autoconf initialization. ##
2210 ## ------------------------ ##
2212 # ac_fn_c_try_compile LINENO
2213 # --------------------------
2214 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2215 ac_fn_c_try_compile ()
2217 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2218 rm -f conftest.$ac_objext
2219 if { { ac_try="$ac_compile"
2220 case "(($ac_try" in
2221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2222 *) ac_try_echo=$ac_try;;
2223 esac
2224 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2225 $as_echo "$ac_try_echo"; } >&5
2226 (eval "$ac_compile") 2>conftest.err
2227 ac_status=$?
2228 if test -s conftest.err; then
2229 grep -v '^ *+' conftest.err >conftest.er1
2230 cat conftest.er1 >&5
2231 mv -f conftest.er1 conftest.err
2233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2234 test $ac_status = 0; } && {
2235 test -z "$ac_c_werror_flag" ||
2236 test ! -s conftest.err
2237 } && test -s conftest.$ac_objext; then :
2238 ac_retval=0
2239 else
2240 $as_echo "$as_me: failed program was:" >&5
2241 sed 's/^/| /' conftest.$ac_ext >&5
2243 ac_retval=1
2245 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2246 as_fn_set_status $ac_retval
2248 } # ac_fn_c_try_compile
2250 # ac_fn_cxx_try_compile LINENO
2251 # ----------------------------
2252 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2253 ac_fn_cxx_try_compile ()
2255 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2256 rm -f conftest.$ac_objext
2257 if { { ac_try="$ac_compile"
2258 case "(($ac_try" in
2259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2260 *) ac_try_echo=$ac_try;;
2261 esac
2262 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2263 $as_echo "$ac_try_echo"; } >&5
2264 (eval "$ac_compile") 2>conftest.err
2265 ac_status=$?
2266 if test -s conftest.err; then
2267 grep -v '^ *+' conftest.err >conftest.er1
2268 cat conftest.er1 >&5
2269 mv -f conftest.er1 conftest.err
2271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2272 test $ac_status = 0; } && {
2273 test -z "$ac_cxx_werror_flag" ||
2274 test ! -s conftest.err
2275 } && test -s conftest.$ac_objext; then :
2276 ac_retval=0
2277 else
2278 $as_echo "$as_me: failed program was:" >&5
2279 sed 's/^/| /' conftest.$ac_ext >&5
2281 ac_retval=1
2283 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2284 as_fn_set_status $ac_retval
2286 } # ac_fn_cxx_try_compile
2288 # ac_fn_c_try_link LINENO
2289 # -----------------------
2290 # Try to link conftest.$ac_ext, and return whether this succeeded.
2291 ac_fn_c_try_link ()
2293 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2294 rm -f conftest.$ac_objext conftest$ac_exeext
2295 if { { ac_try="$ac_link"
2296 case "(($ac_try" in
2297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2298 *) ac_try_echo=$ac_try;;
2299 esac
2300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2301 $as_echo "$ac_try_echo"; } >&5
2302 (eval "$ac_link") 2>conftest.err
2303 ac_status=$?
2304 if test -s conftest.err; then
2305 grep -v '^ *+' conftest.err >conftest.er1
2306 cat conftest.er1 >&5
2307 mv -f conftest.er1 conftest.err
2309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2310 test $ac_status = 0; } && {
2311 test -z "$ac_c_werror_flag" ||
2312 test ! -s conftest.err
2313 } && test -s conftest$ac_exeext && {
2314 test "$cross_compiling" = yes ||
2315 test -x conftest$ac_exeext
2316 }; then :
2317 ac_retval=0
2318 else
2319 $as_echo "$as_me: failed program was:" >&5
2320 sed 's/^/| /' conftest.$ac_ext >&5
2322 ac_retval=1
2324 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2325 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2326 # interfere with the next link command; also delete a directory that is
2327 # left behind by Apple's compiler. We do this before executing the actions.
2328 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2329 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2330 as_fn_set_status $ac_retval
2332 } # ac_fn_c_try_link
2334 # ac_fn_c_try_cpp LINENO
2335 # ----------------------
2336 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2337 ac_fn_c_try_cpp ()
2339 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2340 if { { ac_try="$ac_cpp conftest.$ac_ext"
2341 case "(($ac_try" in
2342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2343 *) ac_try_echo=$ac_try;;
2344 esac
2345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2346 $as_echo "$ac_try_echo"; } >&5
2347 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2348 ac_status=$?
2349 if test -s conftest.err; then
2350 grep -v '^ *+' conftest.err >conftest.er1
2351 cat conftest.er1 >&5
2352 mv -f conftest.er1 conftest.err
2354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2355 test $ac_status = 0; } > conftest.i && {
2356 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2357 test ! -s conftest.err
2358 }; then :
2359 ac_retval=0
2360 else
2361 $as_echo "$as_me: failed program was:" >&5
2362 sed 's/^/| /' conftest.$ac_ext >&5
2364 ac_retval=1
2366 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2367 as_fn_set_status $ac_retval
2369 } # ac_fn_c_try_cpp
2371 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2372 # -------------------------------------------------------
2373 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2374 # the include files in INCLUDES and setting the cache variable VAR
2375 # accordingly.
2376 ac_fn_c_check_header_mongrel ()
2378 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2379 if eval \${$3+:} false; then :
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2381 $as_echo_n "checking for $2... " >&6; }
2382 if eval \${$3+:} false; then :
2383 $as_echo_n "(cached) " >&6
2385 eval ac_res=\$$3
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2387 $as_echo "$ac_res" >&6; }
2388 else
2389 # Is the header compilable?
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2391 $as_echo_n "checking $2 usability... " >&6; }
2392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2393 /* end confdefs.h. */
2395 #include <$2>
2396 _ACEOF
2397 if ac_fn_c_try_compile "$LINENO"; then :
2398 ac_header_compiler=yes
2399 else
2400 ac_header_compiler=no
2402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2404 $as_echo "$ac_header_compiler" >&6; }
2406 # Is the header present?
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2408 $as_echo_n "checking $2 presence... " >&6; }
2409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2410 /* end confdefs.h. */
2411 #include <$2>
2412 _ACEOF
2413 if ac_fn_c_try_cpp "$LINENO"; then :
2414 ac_header_preproc=yes
2415 else
2416 ac_header_preproc=no
2418 rm -f conftest.err conftest.i conftest.$ac_ext
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2420 $as_echo "$ac_header_preproc" >&6; }
2422 # So? What about this header?
2423 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2424 yes:no: )
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2426 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2428 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2430 no:yes:* )
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2432 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2434 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2436 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2438 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2440 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2441 ( $as_echo "## ------------------------------------ ##
2442 ## Report this to wine-devel@winehq.org ##
2443 ## ------------------------------------ ##"
2444 ) | sed "s/^/$as_me: WARNING: /" >&2
2446 esac
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2448 $as_echo_n "checking for $2... " >&6; }
2449 if eval \${$3+:} false; then :
2450 $as_echo_n "(cached) " >&6
2451 else
2452 eval "$3=\$ac_header_compiler"
2454 eval ac_res=\$$3
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2456 $as_echo "$ac_res" >&6; }
2458 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2460 } # ac_fn_c_check_header_mongrel
2462 # ac_fn_c_try_run LINENO
2463 # ----------------------
2464 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2465 # that executables *can* be run.
2466 ac_fn_c_try_run ()
2468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2469 if { { ac_try="$ac_link"
2470 case "(($ac_try" in
2471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2472 *) ac_try_echo=$ac_try;;
2473 esac
2474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2475 $as_echo "$ac_try_echo"; } >&5
2476 (eval "$ac_link") 2>&5
2477 ac_status=$?
2478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2479 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2480 { { case "(($ac_try" in
2481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2482 *) ac_try_echo=$ac_try;;
2483 esac
2484 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2485 $as_echo "$ac_try_echo"; } >&5
2486 (eval "$ac_try") 2>&5
2487 ac_status=$?
2488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2489 test $ac_status = 0; }; }; then :
2490 ac_retval=0
2491 else
2492 $as_echo "$as_me: program exited with status $ac_status" >&5
2493 $as_echo "$as_me: failed program was:" >&5
2494 sed 's/^/| /' conftest.$ac_ext >&5
2496 ac_retval=$ac_status
2498 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2499 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2500 as_fn_set_status $ac_retval
2502 } # ac_fn_c_try_run
2504 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2505 # -------------------------------------------------------
2506 # Tests whether HEADER exists and can be compiled using the include files in
2507 # INCLUDES, setting the cache variable VAR accordingly.
2508 ac_fn_c_check_header_compile ()
2510 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2512 $as_echo_n "checking for $2... " >&6; }
2513 if eval \${$3+:} false; then :
2514 $as_echo_n "(cached) " >&6
2515 else
2516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2517 /* end confdefs.h. */
2519 #include <$2>
2520 _ACEOF
2521 if ac_fn_c_try_compile "$LINENO"; then :
2522 eval "$3=yes"
2523 else
2524 eval "$3=no"
2526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2528 eval ac_res=\$$3
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2530 $as_echo "$ac_res" >&6; }
2531 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2533 } # ac_fn_c_check_header_compile
2535 # ac_fn_c_check_func LINENO FUNC VAR
2536 # ----------------------------------
2537 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2538 ac_fn_c_check_func ()
2540 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2542 $as_echo_n "checking for $2... " >&6; }
2543 if eval \${$3+:} false; then :
2544 $as_echo_n "(cached) " >&6
2545 else
2546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2547 /* end confdefs.h. */
2548 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2550 #define $2 innocuous_$2
2552 /* System header to define __stub macros and hopefully few prototypes,
2553 which can conflict with char $2 (); below.
2554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2555 <limits.h> exists even on freestanding compilers. */
2557 #ifdef __STDC__
2558 # include <limits.h>
2559 #else
2560 # include <assert.h>
2561 #endif
2563 #undef $2
2565 /* Override any GCC internal prototype to avoid an error.
2566 Use char because int might match the return type of a GCC
2567 builtin and then its argument prototype would still apply. */
2568 #ifdef __cplusplus
2569 extern "C"
2570 #endif
2571 char $2 ();
2572 /* The GNU C library defines this for functions which it implements
2573 to always fail with ENOSYS. Some functions are actually named
2574 something starting with __ and the normal name is an alias. */
2575 #if defined __stub_$2 || defined __stub___$2
2576 choke me
2577 #endif
2580 main ()
2582 return $2 ();
2584 return 0;
2586 _ACEOF
2587 if ac_fn_c_try_link "$LINENO"; then :
2588 eval "$3=yes"
2589 else
2590 eval "$3=no"
2592 rm -f core conftest.err conftest.$ac_objext \
2593 conftest$ac_exeext conftest.$ac_ext
2595 eval ac_res=\$$3
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2597 $as_echo "$ac_res" >&6; }
2598 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2600 } # ac_fn_c_check_func
2602 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2603 # ----------------------------------------------------
2604 # Tries to find if the field MEMBER exists in type AGGR, after including
2605 # INCLUDES, setting cache variable VAR accordingly.
2606 ac_fn_c_check_member ()
2608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2610 $as_echo_n "checking for $2.$3... " >&6; }
2611 if eval \${$4+:} false; then :
2612 $as_echo_n "(cached) " >&6
2613 else
2614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2615 /* end confdefs.h. */
2618 main ()
2620 static $2 ac_aggr;
2621 if (ac_aggr.$3)
2622 return 0;
2624 return 0;
2626 _ACEOF
2627 if ac_fn_c_try_compile "$LINENO"; then :
2628 eval "$4=yes"
2629 else
2630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2631 /* end confdefs.h. */
2634 main ()
2636 static $2 ac_aggr;
2637 if (sizeof ac_aggr.$3)
2638 return 0;
2640 return 0;
2642 _ACEOF
2643 if ac_fn_c_try_compile "$LINENO"; then :
2644 eval "$4=yes"
2645 else
2646 eval "$4=no"
2648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2652 eval ac_res=\$$4
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2654 $as_echo "$ac_res" >&6; }
2655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2657 } # ac_fn_c_check_member
2659 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2660 # -------------------------------------------
2661 # Tests whether TYPE exists after having included INCLUDES, setting cache
2662 # variable VAR accordingly.
2663 ac_fn_c_check_type ()
2665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2667 $as_echo_n "checking for $2... " >&6; }
2668 if eval \${$3+:} false; then :
2669 $as_echo_n "(cached) " >&6
2670 else
2671 eval "$3=no"
2672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2673 /* end confdefs.h. */
2676 main ()
2678 if (sizeof ($2))
2679 return 0;
2681 return 0;
2683 _ACEOF
2684 if ac_fn_c_try_compile "$LINENO"; then :
2685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2686 /* end confdefs.h. */
2689 main ()
2691 if (sizeof (($2)))
2692 return 0;
2694 return 0;
2696 _ACEOF
2697 if ac_fn_c_try_compile "$LINENO"; then :
2699 else
2700 eval "$3=yes"
2702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2706 eval ac_res=\$$3
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2708 $as_echo "$ac_res" >&6; }
2709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2711 } # ac_fn_c_check_type
2712 cat >config.log <<_ACEOF
2713 This file contains any messages produced by compilers while
2714 running configure, to aid debugging if configure makes a mistake.
2716 It was created by Wine $as_me 1.7.3, which was
2717 generated by GNU Autoconf 2.69. Invocation command line was
2719 $ $0 $@
2721 _ACEOF
2722 exec 5>>config.log
2724 cat <<_ASUNAME
2725 ## --------- ##
2726 ## Platform. ##
2727 ## --------- ##
2729 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2730 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2731 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2732 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2733 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2735 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2736 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2738 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2739 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2740 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2741 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2742 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2743 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2744 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2746 _ASUNAME
2748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749 for as_dir in $PATH
2751 IFS=$as_save_IFS
2752 test -z "$as_dir" && as_dir=.
2753 $as_echo "PATH: $as_dir"
2754 done
2755 IFS=$as_save_IFS
2757 } >&5
2759 cat >&5 <<_ACEOF
2762 ## ----------- ##
2763 ## Core tests. ##
2764 ## ----------- ##
2766 _ACEOF
2769 # Keep a trace of the command line.
2770 # Strip out --no-create and --no-recursion so they do not pile up.
2771 # Strip out --silent because we don't want to record it for future runs.
2772 # Also quote any args containing shell meta-characters.
2773 # Make two passes to allow for proper duplicate-argument suppression.
2774 ac_configure_args=
2775 ac_configure_args0=
2776 ac_configure_args1=
2777 ac_must_keep_next=false
2778 for ac_pass in 1 2
2780 for ac_arg
2782 case $ac_arg in
2783 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2784 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2785 | -silent | --silent | --silen | --sile | --sil)
2786 continue ;;
2787 *\'*)
2788 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2789 esac
2790 case $ac_pass in
2791 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2793 as_fn_append ac_configure_args1 " '$ac_arg'"
2794 if test $ac_must_keep_next = true; then
2795 ac_must_keep_next=false # Got value, back to normal.
2796 else
2797 case $ac_arg in
2798 *=* | --config-cache | -C | -disable-* | --disable-* \
2799 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2800 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2801 | -with-* | --with-* | -without-* | --without-* | --x)
2802 case "$ac_configure_args0 " in
2803 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2804 esac
2806 -* ) ac_must_keep_next=true ;;
2807 esac
2809 as_fn_append ac_configure_args " '$ac_arg'"
2811 esac
2812 done
2813 done
2814 { ac_configure_args0=; unset ac_configure_args0;}
2815 { ac_configure_args1=; unset ac_configure_args1;}
2817 # When interrupted or exit'd, cleanup temporary files, and complete
2818 # config.log. We remove comments because anyway the quotes in there
2819 # would cause problems or look ugly.
2820 # WARNING: Use '\'' to represent an apostrophe within the trap.
2821 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2822 trap 'exit_status=$?
2823 # Save into config.log some information that might help in debugging.
2825 echo
2827 $as_echo "## ---------------- ##
2828 ## Cache variables. ##
2829 ## ---------------- ##"
2830 echo
2831 # The following way of writing the cache mishandles newlines in values,
2833 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2834 eval ac_val=\$$ac_var
2835 case $ac_val in #(
2836 *${as_nl}*)
2837 case $ac_var in #(
2838 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2839 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2840 esac
2841 case $ac_var in #(
2842 _ | IFS | as_nl) ;; #(
2843 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2844 *) { eval $ac_var=; unset $ac_var;} ;;
2845 esac ;;
2846 esac
2847 done
2848 (set) 2>&1 |
2849 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2850 *${as_nl}ac_space=\ *)
2851 sed -n \
2852 "s/'\''/'\''\\\\'\'''\''/g;
2853 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2854 ;; #(
2856 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2858 esac |
2859 sort
2861 echo
2863 $as_echo "## ----------------- ##
2864 ## Output variables. ##
2865 ## ----------------- ##"
2866 echo
2867 for ac_var in $ac_subst_vars
2869 eval ac_val=\$$ac_var
2870 case $ac_val in
2871 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2872 esac
2873 $as_echo "$ac_var='\''$ac_val'\''"
2874 done | sort
2875 echo
2877 if test -n "$ac_subst_files"; then
2878 $as_echo "## ------------------- ##
2879 ## File substitutions. ##
2880 ## ------------------- ##"
2881 echo
2882 for ac_var in $ac_subst_files
2884 eval ac_val=\$$ac_var
2885 case $ac_val in
2886 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2887 esac
2888 $as_echo "$ac_var='\''$ac_val'\''"
2889 done | sort
2890 echo
2893 if test -s confdefs.h; then
2894 $as_echo "## ----------- ##
2895 ## confdefs.h. ##
2896 ## ----------- ##"
2897 echo
2898 cat confdefs.h
2899 echo
2901 test "$ac_signal" != 0 &&
2902 $as_echo "$as_me: caught signal $ac_signal"
2903 $as_echo "$as_me: exit $exit_status"
2904 } >&5
2905 rm -f core *.core core.conftest.* &&
2906 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2907 exit $exit_status
2909 for ac_signal in 1 2 13 15; do
2910 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2911 done
2912 ac_signal=0
2914 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2915 rm -f -r conftest* confdefs.h
2917 $as_echo "/* confdefs.h */" > confdefs.h
2919 # Predefined preprocessor variables.
2921 cat >>confdefs.h <<_ACEOF
2922 #define PACKAGE_NAME "$PACKAGE_NAME"
2923 _ACEOF
2925 cat >>confdefs.h <<_ACEOF
2926 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2927 _ACEOF
2929 cat >>confdefs.h <<_ACEOF
2930 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2931 _ACEOF
2933 cat >>confdefs.h <<_ACEOF
2934 #define PACKAGE_STRING "$PACKAGE_STRING"
2935 _ACEOF
2937 cat >>confdefs.h <<_ACEOF
2938 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2939 _ACEOF
2941 cat >>confdefs.h <<_ACEOF
2942 #define PACKAGE_URL "$PACKAGE_URL"
2943 _ACEOF
2946 # Let the site file select an alternate cache file if it wants to.
2947 # Prefer an explicitly selected file to automatically selected ones.
2948 ac_site_file1=NONE
2949 ac_site_file2=NONE
2950 if test -n "$CONFIG_SITE"; then
2951 # We do not want a PATH search for config.site.
2952 case $CONFIG_SITE in #((
2953 -*) ac_site_file1=./$CONFIG_SITE;;
2954 */*) ac_site_file1=$CONFIG_SITE;;
2955 *) ac_site_file1=./$CONFIG_SITE;;
2956 esac
2957 elif test "x$prefix" != xNONE; then
2958 ac_site_file1=$prefix/share/config.site
2959 ac_site_file2=$prefix/etc/config.site
2960 else
2961 ac_site_file1=$ac_default_prefix/share/config.site
2962 ac_site_file2=$ac_default_prefix/etc/config.site
2964 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2966 test "x$ac_site_file" = xNONE && continue
2967 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2969 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2970 sed 's/^/| /' "$ac_site_file" >&5
2971 . "$ac_site_file" \
2972 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2974 as_fn_error $? "failed to load site script $ac_site_file
2975 See \`config.log' for more details" "$LINENO" 5; }
2977 done
2979 if test -r "$cache_file"; then
2980 # Some versions of bash will fail to source /dev/null (special files
2981 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2982 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2984 $as_echo "$as_me: loading cache $cache_file" >&6;}
2985 case $cache_file in
2986 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2987 *) . "./$cache_file";;
2988 esac
2990 else
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2992 $as_echo "$as_me: creating cache $cache_file" >&6;}
2993 >$cache_file
2996 # Check that the precious variables saved in the cache have kept the same
2997 # value.
2998 ac_cache_corrupted=false
2999 for ac_var in $ac_precious_vars; do
3000 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3001 eval ac_new_set=\$ac_env_${ac_var}_set
3002 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3003 eval ac_new_val=\$ac_env_${ac_var}_value
3004 case $ac_old_set,$ac_new_set in
3005 set,)
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3007 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3008 ac_cache_corrupted=: ;;
3009 ,set)
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3011 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3012 ac_cache_corrupted=: ;;
3013 ,);;
3015 if test "x$ac_old_val" != "x$ac_new_val"; then
3016 # differences in whitespace do not lead to failure.
3017 ac_old_val_w=`echo x $ac_old_val`
3018 ac_new_val_w=`echo x $ac_new_val`
3019 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3021 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3022 ac_cache_corrupted=:
3023 else
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3025 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3026 eval $ac_var=\$ac_old_val
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3029 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3031 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3032 fi;;
3033 esac
3034 # Pass precious variables to config.status.
3035 if test "$ac_new_set" = set; then
3036 case $ac_new_val in
3037 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3038 *) ac_arg=$ac_var=$ac_new_val ;;
3039 esac
3040 case " $ac_configure_args " in
3041 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3042 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3043 esac
3045 done
3046 if $ac_cache_corrupted; then
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_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3050 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3051 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3053 ## -------------------- ##
3054 ## Main body of script. ##
3055 ## -------------------- ##
3057 ac_ext=c
3058 ac_cpp='$CPP $CPPFLAGS'
3059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3065 ac_config_headers="$ac_config_headers include/config.h"
3067 ac_aux_dir=
3068 for ac_dir in tools "$srcdir"/tools; do
3069 if test -f "$ac_dir/install-sh"; then
3070 ac_aux_dir=$ac_dir
3071 ac_install_sh="$ac_aux_dir/install-sh -c"
3072 break
3073 elif test -f "$ac_dir/install.sh"; then
3074 ac_aux_dir=$ac_dir
3075 ac_install_sh="$ac_aux_dir/install.sh -c"
3076 break
3077 elif test -f "$ac_dir/shtool"; then
3078 ac_aux_dir=$ac_dir
3079 ac_install_sh="$ac_aux_dir/shtool install -c"
3080 break
3082 done
3083 if test -z "$ac_aux_dir"; then
3084 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3087 # These three variables are undocumented and unsupported,
3088 # and are intended to be withdrawn in a future Autoconf release.
3089 # They can cause serious problems if a builder's source tree is in a directory
3090 # whose full name contains unusual characters.
3091 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3092 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3093 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3099 # Check whether --enable-win16 was given.
3100 if test "${enable_win16+set}" = set; then :
3101 enableval=$enable_win16;
3104 # Check whether --enable-win64 was given.
3105 if test "${enable_win64+set}" = set; then :
3106 enableval=$enable_win64;
3109 # Check whether --enable-tests was given.
3110 if test "${enable_tests+set}" = set; then :
3111 enableval=$enable_tests;
3114 # Check whether --enable-maintainer-mode was given.
3115 if test "${enable_maintainer_mode+set}" = set; then :
3116 enableval=$enable_maintainer_mode;
3121 # Check whether --with-alsa was given.
3122 if test "${with_alsa+set}" = set; then :
3123 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3127 # Check whether --with-capi was given.
3128 if test "${with_capi+set}" = set; then :
3129 withval=$with_capi;
3133 # Check whether --with-cms was given.
3134 if test "${with_cms+set}" = set; then :
3135 withval=$with_cms;
3139 # Check whether --with-coreaudio was given.
3140 if test "${with_coreaudio+set}" = set; then :
3141 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3145 # Check whether --with-cups was given.
3146 if test "${with_cups+set}" = set; then :
3147 withval=$with_cups;
3151 # Check whether --with-curses was given.
3152 if test "${with_curses+set}" = set; then :
3153 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3157 # Check whether --with-dbus was given.
3158 if test "${with_dbus+set}" = set; then :
3159 withval=$with_dbus;
3163 # Check whether --with-fontconfig was given.
3164 if test "${with_fontconfig+set}" = set; then :
3165 withval=$with_fontconfig;
3169 # Check whether --with-freetype was given.
3170 if test "${with_freetype+set}" = set; then :
3171 withval=$with_freetype;
3175 # Check whether --with-gettext was given.
3176 if test "${with_gettext+set}" = set; then :
3177 withval=$with_gettext;
3181 # Check whether --with-gettextpo was given.
3182 if test "${with_gettextpo+set}" = set; then :
3183 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3187 # Check whether --with-gphoto was given.
3188 if test "${with_gphoto+set}" = set; then :
3189 withval=$with_gphoto;
3193 # Check whether --with-glu was given.
3194 if test "${with_glu+set}" = set; then :
3195 withval=$with_glu;
3199 # Check whether --with-gnutls was given.
3200 if test "${with_gnutls+set}" = set; then :
3201 withval=$with_gnutls;
3205 # Check whether --with-gsm was given.
3206 if test "${with_gsm+set}" = set; then :
3207 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3211 # Check whether --with-gstreamer was given.
3212 if test "${with_gstreamer+set}" = set; then :
3213 withval=$with_gstreamer;
3217 # Check whether --with-hal was given.
3218 if test "${with_hal+set}" = set; then :
3219 withval=$with_hal;
3223 # Check whether --with-jpeg was given.
3224 if test "${with_jpeg+set}" = set; then :
3225 withval=$with_jpeg;
3229 # Check whether --with-ldap was given.
3230 if test "${with_ldap+set}" = set; then :
3231 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3235 # Check whether --with-mpg123 was given.
3236 if test "${with_mpg123+set}" = set; then :
3237 withval=$with_mpg123;
3241 # Check whether --with-openal was given.
3242 if test "${with_openal+set}" = set; then :
3243 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3247 # Check whether --with-opencl was given.
3248 if test "${with_opencl+set}" = set; then :
3249 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3253 # Check whether --with-opengl was given.
3254 if test "${with_opengl+set}" = set; then :
3255 withval=$with_opengl;
3259 # Check whether --with-osmesa was given.
3260 if test "${with_osmesa+set}" = set; then :
3261 withval=$with_osmesa;
3265 # Check whether --with-oss was given.
3266 if test "${with_oss+set}" = set; then :
3267 withval=$with_oss;
3271 # Check whether --with-png was given.
3272 if test "${with_png+set}" = set; then :
3273 withval=$with_png;
3277 # Check whether --with-pthread was given.
3278 if test "${with_pthread+set}" = set; then :
3279 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3283 # Check whether --with-sane was given.
3284 if test "${with_sane+set}" = set; then :
3285 withval=$with_sane;
3289 # Check whether --with-tiff was given.
3290 if test "${with_tiff+set}" = set; then :
3291 withval=$with_tiff;
3295 # Check whether --with-v4l was given.
3296 if test "${with_v4l+set}" = set; then :
3297 withval=$with_v4l;
3301 # Check whether --with-xcomposite was given.
3302 if test "${with_xcomposite+set}" = set; then :
3303 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3307 # Check whether --with-xcursor was given.
3308 if test "${with_xcursor+set}" = set; then :
3309 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3313 # Check whether --with-xinerama was given.
3314 if test "${with_xinerama+set}" = set; then :
3315 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3319 # Check whether --with-xinput was given.
3320 if test "${with_xinput+set}" = set; then :
3321 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3325 # Check whether --with-xinput2 was given.
3326 if test "${with_xinput2+set}" = set; then :
3327 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3331 # Check whether --with-xml was given.
3332 if test "${with_xml+set}" = set; then :
3333 withval=$with_xml;
3337 # Check whether --with-xrandr was given.
3338 if test "${with_xrandr+set}" = set; then :
3339 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3343 # Check whether --with-xrender was given.
3344 if test "${with_xrender+set}" = set; then :
3345 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3349 # Check whether --with-xshape was given.
3350 if test "${with_xshape+set}" = set; then :
3351 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3355 # Check whether --with-xshm was given.
3356 if test "${with_xshm+set}" = set; then :
3357 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3361 # Check whether --with-xslt was given.
3362 if test "${with_xslt+set}" = set; then :
3363 withval=$with_xslt;
3367 # Check whether --with-xxf86vm was given.
3368 if test "${with_xxf86vm+set}" = set; then :
3369 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
3373 # Check whether --with-zlib was given.
3374 if test "${with_zlib+set}" = set; then :
3375 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3380 # Check whether --with-wine-tools was given.
3381 if test "${with_wine_tools+set}" = set; then :
3382 withval=$with_wine_tools;
3386 # Check whether --with-wine64 was given.
3387 if test "${with_wine64+set}" = set; then :
3388 withval=$with_wine64;
3392 # Make sure we can run config.sub.
3393 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3394 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3397 $as_echo_n "checking build system type... " >&6; }
3398 if ${ac_cv_build+:} false; then :
3399 $as_echo_n "(cached) " >&6
3400 else
3401 ac_build_alias=$build_alias
3402 test "x$ac_build_alias" = x &&
3403 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3404 test "x$ac_build_alias" = x &&
3405 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3406 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3407 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3411 $as_echo "$ac_cv_build" >&6; }
3412 case $ac_cv_build in
3413 *-*-*) ;;
3414 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3415 esac
3416 build=$ac_cv_build
3417 ac_save_IFS=$IFS; IFS='-'
3418 set x $ac_cv_build
3419 shift
3420 build_cpu=$1
3421 build_vendor=$2
3422 shift; shift
3423 # Remember, the first character of IFS is used to create $*,
3424 # except with old shells:
3425 build_os=$*
3426 IFS=$ac_save_IFS
3427 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3431 $as_echo_n "checking host system type... " >&6; }
3432 if ${ac_cv_host+:} false; then :
3433 $as_echo_n "(cached) " >&6
3434 else
3435 if test "x$host_alias" = x; then
3436 ac_cv_host=$ac_cv_build
3437 else
3438 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3439 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3444 $as_echo "$ac_cv_host" >&6; }
3445 case $ac_cv_host in
3446 *-*-*) ;;
3447 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3448 esac
3449 host=$ac_cv_host
3450 ac_save_IFS=$IFS; IFS='-'
3451 set x $ac_cv_host
3452 shift
3453 host_cpu=$1
3454 host_vendor=$2
3455 shift; shift
3456 # Remember, the first character of IFS is used to create $*,
3457 # except with old shells:
3458 host_os=$*
3459 IFS=$ac_save_IFS
3460 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3464 case "$srcdir" in
3465 .) ;;
3466 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3467 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3468 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3469 fi ;;
3470 esac
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3474 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3475 set x ${MAKE-make}
3476 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3477 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3478 $as_echo_n "(cached) " >&6
3479 else
3480 cat >conftest.make <<\_ACEOF
3481 SHELL = /bin/sh
3482 all:
3483 @echo '@@@%%%=$(MAKE)=@@@%%%'
3484 _ACEOF
3485 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3486 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3487 *@@@%%%=?*=@@@%%%*)
3488 eval ac_cv_prog_make_${ac_make}_set=yes;;
3490 eval ac_cv_prog_make_${ac_make}_set=no;;
3491 esac
3492 rm -f conftest.make
3494 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3496 $as_echo "yes" >&6; }
3497 SET_MAKE=
3498 else
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3500 $as_echo "no" >&6; }
3501 SET_MAKE="MAKE=${MAKE-make}"
3504 ac_ext=c
3505 ac_cpp='$CPP $CPPFLAGS'
3506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3509 if test -n "$ac_tool_prefix"; then
3510 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3511 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3513 $as_echo_n "checking for $ac_word... " >&6; }
3514 if ${ac_cv_prog_CC+:} false; then :
3515 $as_echo_n "(cached) " >&6
3516 else
3517 if test -n "$CC"; then
3518 ac_cv_prog_CC="$CC" # Let the user override the test.
3519 else
3520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3521 for as_dir in $PATH
3523 IFS=$as_save_IFS
3524 test -z "$as_dir" && as_dir=.
3525 for ac_exec_ext in '' $ac_executable_extensions; do
3526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3527 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3529 break 2
3531 done
3532 done
3533 IFS=$as_save_IFS
3537 CC=$ac_cv_prog_CC
3538 if test -n "$CC"; then
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3540 $as_echo "$CC" >&6; }
3541 else
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3543 $as_echo "no" >&6; }
3548 if test -z "$ac_cv_prog_CC"; then
3549 ac_ct_CC=$CC
3550 # Extract the first word of "gcc", so it can be a program name with args.
3551 set dummy gcc; ac_word=$2
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3553 $as_echo_n "checking for $ac_word... " >&6; }
3554 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3555 $as_echo_n "(cached) " >&6
3556 else
3557 if test -n "$ac_ct_CC"; then
3558 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3559 else
3560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3561 for as_dir in $PATH
3563 IFS=$as_save_IFS
3564 test -z "$as_dir" && as_dir=.
3565 for ac_exec_ext in '' $ac_executable_extensions; do
3566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3567 ac_cv_prog_ac_ct_CC="gcc"
3568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3569 break 2
3571 done
3572 done
3573 IFS=$as_save_IFS
3577 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3578 if test -n "$ac_ct_CC"; then
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3580 $as_echo "$ac_ct_CC" >&6; }
3581 else
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3583 $as_echo "no" >&6; }
3586 if test "x$ac_ct_CC" = x; then
3587 CC=""
3588 else
3589 case $cross_compiling:$ac_tool_warned in
3590 yes:)
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3592 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3593 ac_tool_warned=yes ;;
3594 esac
3595 CC=$ac_ct_CC
3597 else
3598 CC="$ac_cv_prog_CC"
3601 if test -z "$CC"; then
3602 if test -n "$ac_tool_prefix"; then
3603 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3604 set dummy ${ac_tool_prefix}cc; ac_word=$2
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3606 $as_echo_n "checking for $ac_word... " >&6; }
3607 if ${ac_cv_prog_CC+:} false; then :
3608 $as_echo_n "(cached) " >&6
3609 else
3610 if test -n "$CC"; then
3611 ac_cv_prog_CC="$CC" # Let the user override the test.
3612 else
3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3614 for as_dir in $PATH
3616 IFS=$as_save_IFS
3617 test -z "$as_dir" && as_dir=.
3618 for ac_exec_ext in '' $ac_executable_extensions; do
3619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3620 ac_cv_prog_CC="${ac_tool_prefix}cc"
3621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3622 break 2
3624 done
3625 done
3626 IFS=$as_save_IFS
3630 CC=$ac_cv_prog_CC
3631 if test -n "$CC"; then
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3633 $as_echo "$CC" >&6; }
3634 else
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3636 $as_echo "no" >&6; }
3642 if test -z "$CC"; then
3643 # Extract the first word of "cc", so it can be a program name with args.
3644 set dummy cc; ac_word=$2
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3646 $as_echo_n "checking for $ac_word... " >&6; }
3647 if ${ac_cv_prog_CC+:} false; then :
3648 $as_echo_n "(cached) " >&6
3649 else
3650 if test -n "$CC"; then
3651 ac_cv_prog_CC="$CC" # Let the user override the test.
3652 else
3653 ac_prog_rejected=no
3654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3655 for as_dir in $PATH
3657 IFS=$as_save_IFS
3658 test -z "$as_dir" && as_dir=.
3659 for ac_exec_ext in '' $ac_executable_extensions; do
3660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3661 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3662 ac_prog_rejected=yes
3663 continue
3665 ac_cv_prog_CC="cc"
3666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3667 break 2
3669 done
3670 done
3671 IFS=$as_save_IFS
3673 if test $ac_prog_rejected = yes; then
3674 # We found a bogon in the path, so make sure we never use it.
3675 set dummy $ac_cv_prog_CC
3676 shift
3677 if test $# != 0; then
3678 # We chose a different compiler from the bogus one.
3679 # However, it has the same basename, so the bogon will be chosen
3680 # first if we set CC to just the basename; use the full file name.
3681 shift
3682 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3687 CC=$ac_cv_prog_CC
3688 if test -n "$CC"; then
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3690 $as_echo "$CC" >&6; }
3691 else
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3693 $as_echo "no" >&6; }
3698 if test -z "$CC"; then
3699 if test -n "$ac_tool_prefix"; then
3700 for ac_prog in cl.exe
3702 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3703 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3705 $as_echo_n "checking for $ac_word... " >&6; }
3706 if ${ac_cv_prog_CC+:} false; then :
3707 $as_echo_n "(cached) " >&6
3708 else
3709 if test -n "$CC"; then
3710 ac_cv_prog_CC="$CC" # Let the user override the test.
3711 else
3712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3713 for as_dir in $PATH
3715 IFS=$as_save_IFS
3716 test -z "$as_dir" && as_dir=.
3717 for ac_exec_ext in '' $ac_executable_extensions; do
3718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3719 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 break 2
3723 done
3724 done
3725 IFS=$as_save_IFS
3729 CC=$ac_cv_prog_CC
3730 if test -n "$CC"; then
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3732 $as_echo "$CC" >&6; }
3733 else
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3735 $as_echo "no" >&6; }
3739 test -n "$CC" && break
3740 done
3742 if test -z "$CC"; then
3743 ac_ct_CC=$CC
3744 for ac_prog in cl.exe
3746 # Extract the first word of "$ac_prog", so it can be a program name with args.
3747 set dummy $ac_prog; ac_word=$2
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3749 $as_echo_n "checking for $ac_word... " >&6; }
3750 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3751 $as_echo_n "(cached) " >&6
3752 else
3753 if test -n "$ac_ct_CC"; then
3754 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3755 else
3756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3757 for as_dir in $PATH
3759 IFS=$as_save_IFS
3760 test -z "$as_dir" && as_dir=.
3761 for ac_exec_ext in '' $ac_executable_extensions; do
3762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3763 ac_cv_prog_ac_ct_CC="$ac_prog"
3764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3765 break 2
3767 done
3768 done
3769 IFS=$as_save_IFS
3773 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3774 if test -n "$ac_ct_CC"; then
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3776 $as_echo "$ac_ct_CC" >&6; }
3777 else
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3779 $as_echo "no" >&6; }
3783 test -n "$ac_ct_CC" && break
3784 done
3786 if test "x$ac_ct_CC" = x; then
3787 CC=""
3788 else
3789 case $cross_compiling:$ac_tool_warned in
3790 yes:)
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3793 ac_tool_warned=yes ;;
3794 esac
3795 CC=$ac_ct_CC
3802 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3804 as_fn_error $? "no acceptable C compiler found in \$PATH
3805 See \`config.log' for more details" "$LINENO" 5; }
3807 # Provide some information about the compiler.
3808 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3809 set X $ac_compile
3810 ac_compiler=$2
3811 for ac_option in --version -v -V -qversion; do
3812 { { ac_try="$ac_compiler $ac_option >&5"
3813 case "(($ac_try" in
3814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3815 *) ac_try_echo=$ac_try;;
3816 esac
3817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3818 $as_echo "$ac_try_echo"; } >&5
3819 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3820 ac_status=$?
3821 if test -s conftest.err; then
3822 sed '10a\
3823 ... rest of stderr output deleted ...
3824 10q' conftest.err >conftest.er1
3825 cat conftest.er1 >&5
3827 rm -f conftest.er1 conftest.err
3828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3829 test $ac_status = 0; }
3830 done
3832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3833 /* end confdefs.h. */
3836 main ()
3840 return 0;
3842 _ACEOF
3843 ac_clean_files_save=$ac_clean_files
3844 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3845 # Try to create an executable without -o first, disregard a.out.
3846 # It will help us diagnose broken compilers, and finding out an intuition
3847 # of exeext.
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3849 $as_echo_n "checking whether the C compiler works... " >&6; }
3850 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3852 # The possible output files:
3853 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3855 ac_rmfiles=
3856 for ac_file in $ac_files
3858 case $ac_file in
3859 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3860 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3861 esac
3862 done
3863 rm -f $ac_rmfiles
3865 if { { ac_try="$ac_link_default"
3866 case "(($ac_try" in
3867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3868 *) ac_try_echo=$ac_try;;
3869 esac
3870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3871 $as_echo "$ac_try_echo"; } >&5
3872 (eval "$ac_link_default") 2>&5
3873 ac_status=$?
3874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3875 test $ac_status = 0; }; then :
3876 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3877 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3878 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3879 # so that the user can short-circuit this test for compilers unknown to
3880 # Autoconf.
3881 for ac_file in $ac_files ''
3883 test -f "$ac_file" || continue
3884 case $ac_file in
3885 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3887 [ab].out )
3888 # We found the default executable, but exeext='' is most
3889 # certainly right.
3890 break;;
3891 *.* )
3892 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3893 then :; else
3894 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3896 # We set ac_cv_exeext here because the later test for it is not
3897 # safe: cross compilers may not add the suffix if given an `-o'
3898 # argument, so we may need to know it at that point already.
3899 # Even if this section looks crufty: it has the advantage of
3900 # actually working.
3901 break;;
3903 break;;
3904 esac
3905 done
3906 test "$ac_cv_exeext" = no && ac_cv_exeext=
3908 else
3909 ac_file=''
3911 if test -z "$ac_file"; then :
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3913 $as_echo "no" >&6; }
3914 $as_echo "$as_me: failed program was:" >&5
3915 sed 's/^/| /' conftest.$ac_ext >&5
3917 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3918 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3919 as_fn_error 77 "C compiler cannot create executables
3920 See \`config.log' for more details" "$LINENO" 5; }
3921 else
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3923 $as_echo "yes" >&6; }
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3926 $as_echo_n "checking for C compiler default output file name... " >&6; }
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3928 $as_echo "$ac_file" >&6; }
3929 ac_exeext=$ac_cv_exeext
3931 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3932 ac_clean_files=$ac_clean_files_save
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3934 $as_echo_n "checking for suffix of executables... " >&6; }
3935 if { { ac_try="$ac_link"
3936 case "(($ac_try" in
3937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3938 *) ac_try_echo=$ac_try;;
3939 esac
3940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3941 $as_echo "$ac_try_echo"; } >&5
3942 (eval "$ac_link") 2>&5
3943 ac_status=$?
3944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3945 test $ac_status = 0; }; then :
3946 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3947 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3948 # work properly (i.e., refer to `conftest.exe'), while it won't with
3949 # `rm'.
3950 for ac_file in conftest.exe conftest conftest.*; do
3951 test -f "$ac_file" || continue
3952 case $ac_file in
3953 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3954 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3955 break;;
3956 * ) break;;
3957 esac
3958 done
3959 else
3960 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3962 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3963 See \`config.log' for more details" "$LINENO" 5; }
3965 rm -f conftest conftest$ac_cv_exeext
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3967 $as_echo "$ac_cv_exeext" >&6; }
3969 rm -f conftest.$ac_ext
3970 EXEEXT=$ac_cv_exeext
3971 ac_exeext=$EXEEXT
3972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3973 /* end confdefs.h. */
3974 #include <stdio.h>
3976 main ()
3978 FILE *f = fopen ("conftest.out", "w");
3979 return ferror (f) || fclose (f) != 0;
3982 return 0;
3984 _ACEOF
3985 ac_clean_files="$ac_clean_files conftest.out"
3986 # Check that the compiler produces executables we can run. If not, either
3987 # the compiler is broken, or we cross compile.
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3989 $as_echo_n "checking whether we are cross compiling... " >&6; }
3990 if test "$cross_compiling" != yes; then
3991 { { ac_try="$ac_link"
3992 case "(($ac_try" in
3993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3994 *) ac_try_echo=$ac_try;;
3995 esac
3996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3997 $as_echo "$ac_try_echo"; } >&5
3998 (eval "$ac_link") 2>&5
3999 ac_status=$?
4000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4001 test $ac_status = 0; }
4002 if { ac_try='./conftest$ac_cv_exeext'
4003 { { case "(($ac_try" in
4004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4005 *) ac_try_echo=$ac_try;;
4006 esac
4007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4008 $as_echo "$ac_try_echo"; } >&5
4009 (eval "$ac_try") 2>&5
4010 ac_status=$?
4011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4012 test $ac_status = 0; }; }; then
4013 cross_compiling=no
4014 else
4015 if test "$cross_compiling" = maybe; then
4016 cross_compiling=yes
4017 else
4018 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4020 as_fn_error $? "cannot run C compiled programs.
4021 If you meant to cross compile, use \`--host'.
4022 See \`config.log' for more details" "$LINENO" 5; }
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4027 $as_echo "$cross_compiling" >&6; }
4029 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4030 ac_clean_files=$ac_clean_files_save
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4032 $as_echo_n "checking for suffix of object files... " >&6; }
4033 if ${ac_cv_objext+:} false; then :
4034 $as_echo_n "(cached) " >&6
4035 else
4036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4037 /* end confdefs.h. */
4040 main ()
4044 return 0;
4046 _ACEOF
4047 rm -f conftest.o conftest.obj
4048 if { { ac_try="$ac_compile"
4049 case "(($ac_try" in
4050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4051 *) ac_try_echo=$ac_try;;
4052 esac
4053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4054 $as_echo "$ac_try_echo"; } >&5
4055 (eval "$ac_compile") 2>&5
4056 ac_status=$?
4057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4058 test $ac_status = 0; }; then :
4059 for ac_file in conftest.o conftest.obj conftest.*; do
4060 test -f "$ac_file" || continue;
4061 case $ac_file in
4062 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4063 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4064 break;;
4065 esac
4066 done
4067 else
4068 $as_echo "$as_me: failed program was:" >&5
4069 sed 's/^/| /' conftest.$ac_ext >&5
4071 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4072 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4073 as_fn_error $? "cannot compute suffix of object files: cannot compile
4074 See \`config.log' for more details" "$LINENO" 5; }
4076 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4079 $as_echo "$ac_cv_objext" >&6; }
4080 OBJEXT=$ac_cv_objext
4081 ac_objext=$OBJEXT
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4083 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4084 if ${ac_cv_c_compiler_gnu+:} false; then :
4085 $as_echo_n "(cached) " >&6
4086 else
4087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4091 main ()
4093 #ifndef __GNUC__
4094 choke me
4095 #endif
4098 return 0;
4100 _ACEOF
4101 if ac_fn_c_try_compile "$LINENO"; then :
4102 ac_compiler_gnu=yes
4103 else
4104 ac_compiler_gnu=no
4106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4107 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4111 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4112 if test $ac_compiler_gnu = yes; then
4113 GCC=yes
4114 else
4115 GCC=
4117 ac_test_CFLAGS=${CFLAGS+set}
4118 ac_save_CFLAGS=$CFLAGS
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4120 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4121 if ${ac_cv_prog_cc_g+:} false; then :
4122 $as_echo_n "(cached) " >&6
4123 else
4124 ac_save_c_werror_flag=$ac_c_werror_flag
4125 ac_c_werror_flag=yes
4126 ac_cv_prog_cc_g=no
4127 CFLAGS="-g"
4128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h. */
4132 main ()
4136 return 0;
4138 _ACEOF
4139 if ac_fn_c_try_compile "$LINENO"; then :
4140 ac_cv_prog_cc_g=yes
4141 else
4142 CFLAGS=""
4143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4144 /* end confdefs.h. */
4147 main ()
4151 return 0;
4153 _ACEOF
4154 if ac_fn_c_try_compile "$LINENO"; then :
4156 else
4157 ac_c_werror_flag=$ac_save_c_werror_flag
4158 CFLAGS="-g"
4159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4160 /* end confdefs.h. */
4163 main ()
4167 return 0;
4169 _ACEOF
4170 if ac_fn_c_try_compile "$LINENO"; then :
4171 ac_cv_prog_cc_g=yes
4173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4178 ac_c_werror_flag=$ac_save_c_werror_flag
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4181 $as_echo "$ac_cv_prog_cc_g" >&6; }
4182 if test "$ac_test_CFLAGS" = set; then
4183 CFLAGS=$ac_save_CFLAGS
4184 elif test $ac_cv_prog_cc_g = yes; then
4185 if test "$GCC" = yes; then
4186 CFLAGS="-g -O2"
4187 else
4188 CFLAGS="-g"
4190 else
4191 if test "$GCC" = yes; then
4192 CFLAGS="-O2"
4193 else
4194 CFLAGS=
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4198 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4199 if ${ac_cv_prog_cc_c89+:} false; then :
4200 $as_echo_n "(cached) " >&6
4201 else
4202 ac_cv_prog_cc_c89=no
4203 ac_save_CC=$CC
4204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4205 /* end confdefs.h. */
4206 #include <stdarg.h>
4207 #include <stdio.h>
4208 struct stat;
4209 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4210 struct buf { int x; };
4211 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4212 static char *e (p, i)
4213 char **p;
4214 int i;
4216 return p[i];
4218 static char *f (char * (*g) (char **, int), char **p, ...)
4220 char *s;
4221 va_list v;
4222 va_start (v,p);
4223 s = g (p, va_arg (v,int));
4224 va_end (v);
4225 return s;
4228 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4229 function prototypes and stuff, but not '\xHH' hex character constants.
4230 These don't provoke an error unfortunately, instead are silently treated
4231 as 'x'. The following induces an error, until -std is added to get
4232 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4233 array size at least. It's necessary to write '\x00'==0 to get something
4234 that's true only with -std. */
4235 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4237 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4238 inside strings and character constants. */
4239 #define FOO(x) 'x'
4240 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4242 int test (int i, double x);
4243 struct s1 {int (*f) (int a);};
4244 struct s2 {int (*f) (double a);};
4245 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4246 int argc;
4247 char **argv;
4249 main ()
4251 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4253 return 0;
4255 _ACEOF
4256 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4257 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4259 CC="$ac_save_CC $ac_arg"
4260 if ac_fn_c_try_compile "$LINENO"; then :
4261 ac_cv_prog_cc_c89=$ac_arg
4263 rm -f core conftest.err conftest.$ac_objext
4264 test "x$ac_cv_prog_cc_c89" != "xno" && break
4265 done
4266 rm -f conftest.$ac_ext
4267 CC=$ac_save_CC
4270 # AC_CACHE_VAL
4271 case "x$ac_cv_prog_cc_c89" in
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4274 $as_echo "none needed" >&6; } ;;
4275 xno)
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4277 $as_echo "unsupported" >&6; } ;;
4279 CC="$CC $ac_cv_prog_cc_c89"
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4281 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4282 esac
4283 if test "x$ac_cv_prog_cc_c89" != xno; then :
4287 ac_ext=c
4288 ac_cpp='$CPP $CPPFLAGS'
4289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4293 ac_ext=cpp
4294 ac_cpp='$CXXCPP $CPPFLAGS'
4295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4298 if test -z "$CXX"; then
4299 if test -n "$CCC"; then
4300 CXX=$CCC
4301 else
4302 if test -n "$ac_tool_prefix"; then
4303 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4305 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4306 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4308 $as_echo_n "checking for $ac_word... " >&6; }
4309 if ${ac_cv_prog_CXX+:} false; then :
4310 $as_echo_n "(cached) " >&6
4311 else
4312 if test -n "$CXX"; then
4313 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4314 else
4315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4316 for as_dir in $PATH
4318 IFS=$as_save_IFS
4319 test -z "$as_dir" && as_dir=.
4320 for ac_exec_ext in '' $ac_executable_extensions; do
4321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4322 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4324 break 2
4326 done
4327 done
4328 IFS=$as_save_IFS
4332 CXX=$ac_cv_prog_CXX
4333 if test -n "$CXX"; then
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4335 $as_echo "$CXX" >&6; }
4336 else
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4338 $as_echo "no" >&6; }
4342 test -n "$CXX" && break
4343 done
4345 if test -z "$CXX"; then
4346 ac_ct_CXX=$CXX
4347 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4349 # Extract the first word of "$ac_prog", so it can be a program name with args.
4350 set dummy $ac_prog; ac_word=$2
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4352 $as_echo_n "checking for $ac_word... " >&6; }
4353 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4354 $as_echo_n "(cached) " >&6
4355 else
4356 if test -n "$ac_ct_CXX"; then
4357 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4358 else
4359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4360 for as_dir in $PATH
4362 IFS=$as_save_IFS
4363 test -z "$as_dir" && as_dir=.
4364 for ac_exec_ext in '' $ac_executable_extensions; do
4365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4366 ac_cv_prog_ac_ct_CXX="$ac_prog"
4367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4368 break 2
4370 done
4371 done
4372 IFS=$as_save_IFS
4376 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4377 if test -n "$ac_ct_CXX"; then
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4379 $as_echo "$ac_ct_CXX" >&6; }
4380 else
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4382 $as_echo "no" >&6; }
4386 test -n "$ac_ct_CXX" && break
4387 done
4389 if test "x$ac_ct_CXX" = x; then
4390 CXX="g++"
4391 else
4392 case $cross_compiling:$ac_tool_warned in
4393 yes:)
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4396 ac_tool_warned=yes ;;
4397 esac
4398 CXX=$ac_ct_CXX
4404 # Provide some information about the compiler.
4405 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4406 set X $ac_compile
4407 ac_compiler=$2
4408 for ac_option in --version -v -V -qversion; do
4409 { { ac_try="$ac_compiler $ac_option >&5"
4410 case "(($ac_try" in
4411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4412 *) ac_try_echo=$ac_try;;
4413 esac
4414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4415 $as_echo "$ac_try_echo"; } >&5
4416 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4417 ac_status=$?
4418 if test -s conftest.err; then
4419 sed '10a\
4420 ... rest of stderr output deleted ...
4421 10q' conftest.err >conftest.er1
4422 cat conftest.er1 >&5
4424 rm -f conftest.er1 conftest.err
4425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4426 test $ac_status = 0; }
4427 done
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4430 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4431 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4432 $as_echo_n "(cached) " >&6
4433 else
4434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4435 /* end confdefs.h. */
4438 main ()
4440 #ifndef __GNUC__
4441 choke me
4442 #endif
4445 return 0;
4447 _ACEOF
4448 if ac_fn_cxx_try_compile "$LINENO"; then :
4449 ac_compiler_gnu=yes
4450 else
4451 ac_compiler_gnu=no
4453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4454 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4458 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4459 if test $ac_compiler_gnu = yes; then
4460 GXX=yes
4461 else
4462 GXX=
4464 ac_test_CXXFLAGS=${CXXFLAGS+set}
4465 ac_save_CXXFLAGS=$CXXFLAGS
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4467 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4468 if ${ac_cv_prog_cxx_g+:} false; then :
4469 $as_echo_n "(cached) " >&6
4470 else
4471 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4472 ac_cxx_werror_flag=yes
4473 ac_cv_prog_cxx_g=no
4474 CXXFLAGS="-g"
4475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4476 /* end confdefs.h. */
4479 main ()
4483 return 0;
4485 _ACEOF
4486 if ac_fn_cxx_try_compile "$LINENO"; then :
4487 ac_cv_prog_cxx_g=yes
4488 else
4489 CXXFLAGS=""
4490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4491 /* end confdefs.h. */
4494 main ()
4498 return 0;
4500 _ACEOF
4501 if ac_fn_cxx_try_compile "$LINENO"; then :
4503 else
4504 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4505 CXXFLAGS="-g"
4506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4507 /* end confdefs.h. */
4510 main ()
4514 return 0;
4516 _ACEOF
4517 if ac_fn_cxx_try_compile "$LINENO"; then :
4518 ac_cv_prog_cxx_g=yes
4520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4525 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4528 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4529 if test "$ac_test_CXXFLAGS" = set; then
4530 CXXFLAGS=$ac_save_CXXFLAGS
4531 elif test $ac_cv_prog_cxx_g = yes; then
4532 if test "$GXX" = yes; then
4533 CXXFLAGS="-g -O2"
4534 else
4535 CXXFLAGS="-g"
4537 else
4538 if test "$GXX" = yes; then
4539 CXXFLAGS="-O2"
4540 else
4541 CXXFLAGS=
4544 ac_ext=c
4545 ac_cpp='$CPP $CPPFLAGS'
4546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4550 if test -n "$ac_tool_prefix"; then
4551 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4552 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4554 $as_echo_n "checking for $ac_word... " >&6; }
4555 if ${ac_cv_prog_CPPBIN+:} false; then :
4556 $as_echo_n "(cached) " >&6
4557 else
4558 if test -n "$CPPBIN"; then
4559 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4560 else
4561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4562 for as_dir in $PATH
4564 IFS=$as_save_IFS
4565 test -z "$as_dir" && as_dir=.
4566 for ac_exec_ext in '' $ac_executable_extensions; do
4567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4568 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4570 break 2
4572 done
4573 done
4574 IFS=$as_save_IFS
4578 CPPBIN=$ac_cv_prog_CPPBIN
4579 if test -n "$CPPBIN"; then
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4581 $as_echo "$CPPBIN" >&6; }
4582 else
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4584 $as_echo "no" >&6; }
4589 if test -z "$ac_cv_prog_CPPBIN"; then
4590 ac_ct_CPPBIN=$CPPBIN
4591 # Extract the first word of "cpp", so it can be a program name with args.
4592 set dummy cpp; ac_word=$2
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4594 $as_echo_n "checking for $ac_word... " >&6; }
4595 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4596 $as_echo_n "(cached) " >&6
4597 else
4598 if test -n "$ac_ct_CPPBIN"; then
4599 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4600 else
4601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4602 for as_dir in $PATH
4604 IFS=$as_save_IFS
4605 test -z "$as_dir" && as_dir=.
4606 for ac_exec_ext in '' $ac_executable_extensions; do
4607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4608 ac_cv_prog_ac_ct_CPPBIN="cpp"
4609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4610 break 2
4612 done
4613 done
4614 IFS=$as_save_IFS
4618 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4619 if test -n "$ac_ct_CPPBIN"; then
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4621 $as_echo "$ac_ct_CPPBIN" >&6; }
4622 else
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4624 $as_echo "no" >&6; }
4627 if test "x$ac_ct_CPPBIN" = x; then
4628 CPPBIN="cpp"
4629 else
4630 case $cross_compiling:$ac_tool_warned in
4631 yes:)
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4634 ac_tool_warned=yes ;;
4635 esac
4636 CPPBIN=$ac_ct_CPPBIN
4638 else
4639 CPPBIN="$ac_cv_prog_CPPBIN"
4643 cat >>confdefs.h <<_ACEOF
4644 #define EXEEXT "$ac_exeext"
4645 _ACEOF
4648 case $host in
4649 *-darwin*)
4650 if test "x$enable_win64" = "xyes"
4651 then
4652 CC="$CC -m64"
4653 CXX="$CXX -m64"
4654 host_cpu="x86_64"
4655 notice_platform="64-bit "
4656 TARGETFLAGS="-m64"
4658 else
4659 CC="$CC -m32"
4660 CXX="$CXX -m32"
4661 host_cpu="i386"
4662 notice_platform="32-bit "
4663 TARGETFLAGS="-m32"
4665 enable_win16=${enable_win16:-yes}
4667 with_fontconfig=${with_fontconfig:-no}
4669 x86_64*)
4670 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4671 then
4672 CC="$CC -m32"
4673 CXX="$CXX -m32"
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4675 $as_echo_n "checking whether $CC works... " >&6; }
4677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4678 /* end confdefs.h. */
4681 main ()
4685 return 0;
4687 _ACEOF
4688 if ac_fn_c_try_link "$LINENO"; then :
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4690 $as_echo "yes" >&6; }
4691 else
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4693 $as_echo "no" >&6; }
4694 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4696 rm -f core conftest.err conftest.$ac_objext \
4697 conftest$ac_exeext conftest.$ac_ext
4698 host_cpu="i386"
4699 notice_platform="32-bit "
4700 TARGETFLAGS="-m32"
4702 enable_win16=${enable_win16:-yes}
4703 else
4704 if test "x${GCC}" = "xyes"
4705 then
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4707 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4709 /* end confdefs.h. */
4710 #include <stdarg.h>
4712 main ()
4714 void func(__builtin_ms_va_list *args);
4716 return 0;
4718 _ACEOF
4719 if ac_fn_c_try_compile "$LINENO"; then :
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4721 $as_echo "yes" >&6; }
4722 else
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4724 $as_echo "no" >&6; }
4725 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4729 TARGETFLAGS="-m64"
4733 arm*)
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4735 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4737 /* end confdefs.h. */
4738 int ac_test(int i) { return i; }
4740 main ()
4742 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4744 return 0;
4746 _ACEOF
4747 if ac_fn_c_try_link "$LINENO"; then :
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4749 $as_echo "yes" >&6; }
4750 else
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4752 $as_echo "no" >&6; }
4753 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4755 rm -f core conftest.err conftest.$ac_objext \
4756 conftest$ac_exeext conftest.$ac_ext
4757 CFLAGS="$CFLAGS -marm"
4759 *-mingw32*|*-cygwin*)
4760 enable_win16=${enable_win16:-no}
4761 CFLAGS="$CFLAGS -D_WIN32"
4763 i[3456789]86*)
4764 enable_win16=${enable_win16:-yes}
4766 esac
4768 enable_win16=${enable_win16:-no}
4769 enable_win64=${enable_win64:-no}
4771 enable_winetest=${enable_winetest:-$enable_tests}
4773 if test -n "$with_wine64"
4774 then
4775 if test "x$enable_win64" = "xyes"
4776 then
4777 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4778 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4780 WOW64_DISABLE=\#
4782 enable_fonts=${enable_fonts:-no}
4783 enable_server=${enable_server:-no}
4784 elif test "x$enable_win64" = "xyes"
4785 then
4786 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4790 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4791 if ${wine_cv_toolsdir+:} false; then :
4792 $as_echo_n "(cached) " >&6
4793 else
4794 wine_cv_toolsdir="$with_wine_tools"
4795 if test -z "$with_wine_tools"; then
4796 if test "$cross_compiling" = "yes"; then
4797 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4798 elif test -n "$with_wine64"; then
4799 wine_cv_toolsdir="$with_wine64"
4802 if test -z "$wine_cv_toolsdir"; then
4803 wine_cv_toolsdir="\$(top_builddir)"
4804 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4805 case "$wine_cv_toolsdir" in
4806 /*) ;;
4807 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4808 esac
4809 enable_tools=${enable_tools:-no}
4810 else
4811 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4815 $as_echo "$wine_cv_toolsdir" >&6; }
4816 TOOLSDIR=$wine_cv_toolsdir
4818 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4819 then
4820 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4824 for ac_prog in flex
4826 # Extract the first word of "$ac_prog", so it can be a program name with args.
4827 set dummy $ac_prog; ac_word=$2
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4829 $as_echo_n "checking for $ac_word... " >&6; }
4830 if ${ac_cv_prog_FLEX+:} false; then :
4831 $as_echo_n "(cached) " >&6
4832 else
4833 if test -n "$FLEX"; then
4834 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4835 else
4836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4837 for as_dir in $PATH
4839 IFS=$as_save_IFS
4840 test -z "$as_dir" && as_dir=.
4841 for ac_exec_ext in '' $ac_executable_extensions; do
4842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4843 ac_cv_prog_FLEX="$ac_prog"
4844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4845 break 2
4847 done
4848 done
4849 IFS=$as_save_IFS
4853 FLEX=$ac_cv_prog_FLEX
4854 if test -n "$FLEX"; then
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4856 $as_echo "$FLEX" >&6; }
4857 else
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4859 $as_echo "no" >&6; }
4863 test -n "$FLEX" && break
4864 done
4865 test -n "$FLEX" || FLEX="none"
4867 if test "$FLEX" = "none"
4868 then
4869 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4872 $as_echo_n "checking whether flex is recent enough... " >&6; }
4873 cat >conftest.l <<EOF
4874 %top{
4875 #include "prediluvian.h"
4879 if $FLEX -t conftest.l >/dev/null 2>&5
4880 then
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4882 $as_echo "yes" >&6; }
4883 else
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4885 $as_echo "no" >&6; }
4886 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4889 for ac_prog in bison
4891 # Extract the first word of "$ac_prog", so it can be a program name with args.
4892 set dummy $ac_prog; ac_word=$2
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4894 $as_echo_n "checking for $ac_word... " >&6; }
4895 if ${ac_cv_prog_BISON+:} false; then :
4896 $as_echo_n "(cached) " >&6
4897 else
4898 if test -n "$BISON"; then
4899 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4900 else
4901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4902 for as_dir in $PATH
4904 IFS=$as_save_IFS
4905 test -z "$as_dir" && as_dir=.
4906 for ac_exec_ext in '' $ac_executable_extensions; do
4907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4908 ac_cv_prog_BISON="$ac_prog"
4909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4910 break 2
4912 done
4913 done
4914 IFS=$as_save_IFS
4918 BISON=$ac_cv_prog_BISON
4919 if test -n "$BISON"; then
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4921 $as_echo "$BISON" >&6; }
4922 else
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4924 $as_echo "no" >&6; }
4928 test -n "$BISON" && break
4929 done
4930 test -n "$BISON" || BISON="none"
4932 if test "$BISON" = "none"
4933 then
4934 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4937 if test -n "$ac_tool_prefix"; then
4938 for ac_prog in ar gar
4940 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4941 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4943 $as_echo_n "checking for $ac_word... " >&6; }
4944 if ${ac_cv_prog_AR+:} false; then :
4945 $as_echo_n "(cached) " >&6
4946 else
4947 if test -n "$AR"; then
4948 ac_cv_prog_AR="$AR" # Let the user override the test.
4949 else
4950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4951 for as_dir in $PATH
4953 IFS=$as_save_IFS
4954 test -z "$as_dir" && as_dir=.
4955 for ac_exec_ext in '' $ac_executable_extensions; do
4956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4957 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4959 break 2
4961 done
4962 done
4963 IFS=$as_save_IFS
4967 AR=$ac_cv_prog_AR
4968 if test -n "$AR"; then
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4970 $as_echo "$AR" >&6; }
4971 else
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4973 $as_echo "no" >&6; }
4977 test -n "$AR" && break
4978 done
4980 if test -z "$AR"; then
4981 ac_ct_AR=$AR
4982 for ac_prog in ar gar
4984 # Extract the first word of "$ac_prog", so it can be a program name with args.
4985 set dummy $ac_prog; ac_word=$2
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4987 $as_echo_n "checking for $ac_word... " >&6; }
4988 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4989 $as_echo_n "(cached) " >&6
4990 else
4991 if test -n "$ac_ct_AR"; then
4992 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4993 else
4994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4995 for as_dir in $PATH
4997 IFS=$as_save_IFS
4998 test -z "$as_dir" && as_dir=.
4999 for ac_exec_ext in '' $ac_executable_extensions; do
5000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5001 ac_cv_prog_ac_ct_AR="$ac_prog"
5002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5003 break 2
5005 done
5006 done
5007 IFS=$as_save_IFS
5011 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5012 if test -n "$ac_ct_AR"; then
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5014 $as_echo "$ac_ct_AR" >&6; }
5015 else
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5017 $as_echo "no" >&6; }
5021 test -n "$ac_ct_AR" && break
5022 done
5024 if test "x$ac_ct_AR" = x; then
5025 AR="ar"
5026 else
5027 case $cross_compiling:$ac_tool_warned in
5028 yes:)
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5031 ac_tool_warned=yes ;;
5032 esac
5033 AR=$ac_ct_AR
5037 if test -n "$ac_tool_prefix"; then
5038 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5039 set dummy ${ac_tool_prefix}strip; ac_word=$2
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5041 $as_echo_n "checking for $ac_word... " >&6; }
5042 if ${ac_cv_prog_STRIP+:} false; then :
5043 $as_echo_n "(cached) " >&6
5044 else
5045 if test -n "$STRIP"; then
5046 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5047 else
5048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5049 for as_dir in $PATH
5051 IFS=$as_save_IFS
5052 test -z "$as_dir" && as_dir=.
5053 for ac_exec_ext in '' $ac_executable_extensions; do
5054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5055 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5057 break 2
5059 done
5060 done
5061 IFS=$as_save_IFS
5065 STRIP=$ac_cv_prog_STRIP
5066 if test -n "$STRIP"; then
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5068 $as_echo "$STRIP" >&6; }
5069 else
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5071 $as_echo "no" >&6; }
5076 if test -z "$ac_cv_prog_STRIP"; then
5077 ac_ct_STRIP=$STRIP
5078 # Extract the first word of "strip", so it can be a program name with args.
5079 set dummy strip; ac_word=$2
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5081 $as_echo_n "checking for $ac_word... " >&6; }
5082 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5083 $as_echo_n "(cached) " >&6
5084 else
5085 if test -n "$ac_ct_STRIP"; then
5086 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5087 else
5088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089 for as_dir in $PATH
5091 IFS=$as_save_IFS
5092 test -z "$as_dir" && as_dir=.
5093 for ac_exec_ext in '' $ac_executable_extensions; do
5094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5095 ac_cv_prog_ac_ct_STRIP="strip"
5096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5097 break 2
5099 done
5100 done
5101 IFS=$as_save_IFS
5105 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5106 if test -n "$ac_ct_STRIP"; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5108 $as_echo "$ac_ct_STRIP" >&6; }
5109 else
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5111 $as_echo "no" >&6; }
5114 if test "x$ac_ct_STRIP" = x; then
5115 STRIP="strip"
5116 else
5117 case $cross_compiling:$ac_tool_warned in
5118 yes:)
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5121 ac_tool_warned=yes ;;
5122 esac
5123 STRIP=$ac_ct_STRIP
5125 else
5126 STRIP="$ac_cv_prog_STRIP"
5129 ARFLAGS=rc
5131 if test -n "$ac_tool_prefix"; then
5132 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5133 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5135 $as_echo_n "checking for $ac_word... " >&6; }
5136 if ${ac_cv_prog_RANLIB+:} false; then :
5137 $as_echo_n "(cached) " >&6
5138 else
5139 if test -n "$RANLIB"; then
5140 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5141 else
5142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5143 for as_dir in $PATH
5145 IFS=$as_save_IFS
5146 test -z "$as_dir" && as_dir=.
5147 for ac_exec_ext in '' $ac_executable_extensions; do
5148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5149 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151 break 2
5153 done
5154 done
5155 IFS=$as_save_IFS
5159 RANLIB=$ac_cv_prog_RANLIB
5160 if test -n "$RANLIB"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5162 $as_echo "$RANLIB" >&6; }
5163 else
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 $as_echo "no" >&6; }
5170 if test -z "$ac_cv_prog_RANLIB"; then
5171 ac_ct_RANLIB=$RANLIB
5172 # Extract the first word of "ranlib", so it can be a program name with args.
5173 set dummy ranlib; ac_word=$2
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5175 $as_echo_n "checking for $ac_word... " >&6; }
5176 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5177 $as_echo_n "(cached) " >&6
5178 else
5179 if test -n "$ac_ct_RANLIB"; then
5180 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5181 else
5182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5183 for as_dir in $PATH
5185 IFS=$as_save_IFS
5186 test -z "$as_dir" && as_dir=.
5187 for ac_exec_ext in '' $ac_executable_extensions; do
5188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5189 ac_cv_prog_ac_ct_RANLIB="ranlib"
5190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 break 2
5193 done
5194 done
5195 IFS=$as_save_IFS
5199 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5200 if test -n "$ac_ct_RANLIB"; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5202 $as_echo "$ac_ct_RANLIB" >&6; }
5203 else
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5208 if test "x$ac_ct_RANLIB" = x; then
5209 RANLIB=":"
5210 else
5211 case $cross_compiling:$ac_tool_warned in
5212 yes:)
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5215 ac_tool_warned=yes ;;
5216 esac
5217 RANLIB=$ac_ct_RANLIB
5219 else
5220 RANLIB="$ac_cv_prog_RANLIB"
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5224 $as_echo_n "checking whether ln -s works... " >&6; }
5225 LN_S=$as_ln_s
5226 if test "$LN_S" = "ln -s"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5228 $as_echo "yes" >&6; }
5229 else
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5231 $as_echo "no, using $LN_S" >&6; }
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5235 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5236 if ${ac_cv_path_GREP+:} false; then :
5237 $as_echo_n "(cached) " >&6
5238 else
5239 if test -z "$GREP"; then
5240 ac_path_GREP_found=false
5241 # Loop through the user's path and test for each of PROGNAME-LIST
5242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5243 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5245 IFS=$as_save_IFS
5246 test -z "$as_dir" && as_dir=.
5247 for ac_prog in grep ggrep; do
5248 for ac_exec_ext in '' $ac_executable_extensions; do
5249 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5250 as_fn_executable_p "$ac_path_GREP" || continue
5251 # Check for GNU ac_path_GREP and select it if it is found.
5252 # Check for GNU $ac_path_GREP
5253 case `"$ac_path_GREP" --version 2>&1` in
5254 *GNU*)
5255 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5257 ac_count=0
5258 $as_echo_n 0123456789 >"conftest.in"
5259 while :
5261 cat "conftest.in" "conftest.in" >"conftest.tmp"
5262 mv "conftest.tmp" "conftest.in"
5263 cp "conftest.in" "conftest.nl"
5264 $as_echo 'GREP' >> "conftest.nl"
5265 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5266 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5267 as_fn_arith $ac_count + 1 && ac_count=$as_val
5268 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5269 # Best one so far, save it but keep looking for a better one
5270 ac_cv_path_GREP="$ac_path_GREP"
5271 ac_path_GREP_max=$ac_count
5273 # 10*(2^10) chars as input seems more than enough
5274 test $ac_count -gt 10 && break
5275 done
5276 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5277 esac
5279 $ac_path_GREP_found && break 3
5280 done
5281 done
5282 done
5283 IFS=$as_save_IFS
5284 if test -z "$ac_cv_path_GREP"; then
5285 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5287 else
5288 ac_cv_path_GREP=$GREP
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5293 $as_echo "$ac_cv_path_GREP" >&6; }
5294 GREP="$ac_cv_path_GREP"
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5298 $as_echo_n "checking for egrep... " >&6; }
5299 if ${ac_cv_path_EGREP+:} false; then :
5300 $as_echo_n "(cached) " >&6
5301 else
5302 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5303 then ac_cv_path_EGREP="$GREP -E"
5304 else
5305 if test -z "$EGREP"; then
5306 ac_path_EGREP_found=false
5307 # Loop through the user's path and test for each of PROGNAME-LIST
5308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5309 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5311 IFS=$as_save_IFS
5312 test -z "$as_dir" && as_dir=.
5313 for ac_prog in egrep; do
5314 for ac_exec_ext in '' $ac_executable_extensions; do
5315 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5316 as_fn_executable_p "$ac_path_EGREP" || continue
5317 # Check for GNU ac_path_EGREP and select it if it is found.
5318 # Check for GNU $ac_path_EGREP
5319 case `"$ac_path_EGREP" --version 2>&1` in
5320 *GNU*)
5321 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5323 ac_count=0
5324 $as_echo_n 0123456789 >"conftest.in"
5325 while :
5327 cat "conftest.in" "conftest.in" >"conftest.tmp"
5328 mv "conftest.tmp" "conftest.in"
5329 cp "conftest.in" "conftest.nl"
5330 $as_echo 'EGREP' >> "conftest.nl"
5331 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5332 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5333 as_fn_arith $ac_count + 1 && ac_count=$as_val
5334 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5335 # Best one so far, save it but keep looking for a better one
5336 ac_cv_path_EGREP="$ac_path_EGREP"
5337 ac_path_EGREP_max=$ac_count
5339 # 10*(2^10) chars as input seems more than enough
5340 test $ac_count -gt 10 && break
5341 done
5342 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5343 esac
5345 $ac_path_EGREP_found && break 3
5346 done
5347 done
5348 done
5349 IFS=$as_save_IFS
5350 if test -z "$ac_cv_path_EGREP"; then
5351 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5353 else
5354 ac_cv_path_EGREP=$EGREP
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5360 $as_echo "$ac_cv_path_EGREP" >&6; }
5361 EGREP="$ac_cv_path_EGREP"
5364 # Extract the first word of "ldconfig", so it can be a program name with args.
5365 set dummy ldconfig; ac_word=$2
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5367 $as_echo_n "checking for $ac_word... " >&6; }
5368 if ${ac_cv_path_LDCONFIG+:} false; then :
5369 $as_echo_n "(cached) " >&6
5370 else
5371 case $LDCONFIG in
5372 [\\/]* | ?:[\\/]*)
5373 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5377 for as_dir in /sbin /usr/sbin $PATH
5379 IFS=$as_save_IFS
5380 test -z "$as_dir" && as_dir=.
5381 for ac_exec_ext in '' $ac_executable_extensions; do
5382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5383 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5385 break 2
5387 done
5388 done
5389 IFS=$as_save_IFS
5391 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5393 esac
5395 LDCONFIG=$ac_cv_path_LDCONFIG
5396 if test -n "$LDCONFIG"; then
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5398 $as_echo "$LDCONFIG" >&6; }
5399 else
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5401 $as_echo "no" >&6; }
5406 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM="env STRIPPROG=\"\$(STRIP)\" \$(top_srcdir)/tools/install-sh"
5407 # Find a good install program. We prefer a C program (faster),
5408 # so one script is as good as another. But avoid the broken or
5409 # incompatible versions:
5410 # SysV /etc/install, /usr/sbin/install
5411 # SunOS /usr/etc/install
5412 # IRIX /sbin/install
5413 # AIX /bin/install
5414 # AmigaOS /C/install, which installs bootblocks on floppy discs
5415 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5416 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5417 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5418 # OS/2's system install, which has a completely different semantic
5419 # ./install, which can be erroneously created by make from ./install.sh.
5420 # Reject install programs that cannot install multiple files.
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5422 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5423 if test -z "$INSTALL"; then
5424 if ${ac_cv_path_install+:} false; then :
5425 $as_echo_n "(cached) " >&6
5426 else
5427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5428 for as_dir in $PATH
5430 IFS=$as_save_IFS
5431 test -z "$as_dir" && as_dir=.
5432 # Account for people who put trailing slashes in PATH elements.
5433 case $as_dir/ in #((
5434 ./ | .// | /[cC]/* | \
5435 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5436 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
5437 /usr/ucb/* ) ;;
5439 # OSF1 and SCO ODT 3.0 have their own names for install.
5440 # Don't use installbsd from OSF since it installs stuff as root
5441 # by default.
5442 for ac_prog in ginstall scoinst install; do
5443 for ac_exec_ext in '' $ac_executable_extensions; do
5444 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5445 if test $ac_prog = install &&
5446 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5447 # AIX install. It has an incompatible calling convention.
5449 elif test $ac_prog = install &&
5450 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5451 # program-specific install script used by HP pwplus--don't use.
5453 else
5454 rm -rf conftest.one conftest.two conftest.dir
5455 echo one > conftest.one
5456 echo two > conftest.two
5457 mkdir conftest.dir
5458 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5459 test -s conftest.one && test -s conftest.two &&
5460 test -s conftest.dir/conftest.one &&
5461 test -s conftest.dir/conftest.two
5462 then
5463 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5464 break 3
5468 done
5469 done
5471 esac
5473 done
5474 IFS=$as_save_IFS
5476 rm -rf conftest.one conftest.two conftest.dir
5479 if test "${ac_cv_path_install+set}" = set; then
5480 INSTALL=$ac_cv_path_install
5481 else
5482 # As a last resort, use the slow shell script. Don't cache a
5483 # value for INSTALL within a source directory, because that will
5484 # break other packages using the cache if that directory is
5485 # removed, or if the value is a relative name.
5486 INSTALL=$ac_install_sh
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5490 $as_echo "$INSTALL" >&6; }
5492 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5493 # It thinks the first close brace ends the variable substitution.
5494 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5496 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5498 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5500 case "$INSTALL" in
5501 [\\/$]* | ?:[\\/]* ) ;;
5502 *) INSTALL="\\\$(top_srcdir)/$INSTALL" ;;
5503 esac
5505 for ac_prog in lclint lint
5507 # Extract the first word of "$ac_prog", so it can be a program name with args.
5508 set dummy $ac_prog; ac_word=$2
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5510 $as_echo_n "checking for $ac_word... " >&6; }
5511 if ${ac_cv_prog_LINT+:} false; then :
5512 $as_echo_n "(cached) " >&6
5513 else
5514 if test -n "$LINT"; then
5515 ac_cv_prog_LINT="$LINT" # Let the user override the test.
5516 else
5517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5518 for as_dir in $PATH
5520 IFS=$as_save_IFS
5521 test -z "$as_dir" && as_dir=.
5522 for ac_exec_ext in '' $ac_executable_extensions; do
5523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5524 ac_cv_prog_LINT="$ac_prog"
5525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5526 break 2
5528 done
5529 done
5530 IFS=$as_save_IFS
5534 LINT=$ac_cv_prog_LINT
5535 if test -n "$LINT"; then
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
5537 $as_echo "$LINT" >&6; }
5538 else
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5540 $as_echo "no" >&6; }
5544 test -n "$LINT" && break
5545 done
5547 if test "$LINT" = "lint"
5548 then
5549 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5553 for ac_prog in fontforge
5555 # Extract the first word of "$ac_prog", so it can be a program name with args.
5556 set dummy $ac_prog; ac_word=$2
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5558 $as_echo_n "checking for $ac_word... " >&6; }
5559 if ${ac_cv_prog_FONTFORGE+:} false; then :
5560 $as_echo_n "(cached) " >&6
5561 else
5562 if test -n "$FONTFORGE"; then
5563 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5564 else
5565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5566 for as_dir in $PATH
5568 IFS=$as_save_IFS
5569 test -z "$as_dir" && as_dir=.
5570 for ac_exec_ext in '' $ac_executable_extensions; do
5571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5572 ac_cv_prog_FONTFORGE="$ac_prog"
5573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5574 break 2
5576 done
5577 done
5578 IFS=$as_save_IFS
5582 FONTFORGE=$ac_cv_prog_FONTFORGE
5583 if test -n "$FONTFORGE"; then
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5585 $as_echo "$FONTFORGE" >&6; }
5586 else
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5588 $as_echo "no" >&6; }
5592 test -n "$FONTFORGE" && break
5593 done
5594 test -n "$FONTFORGE" || FONTFORGE="false"
5596 for ac_prog in rsvg
5598 # Extract the first word of "$ac_prog", so it can be a program name with args.
5599 set dummy $ac_prog; ac_word=$2
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5601 $as_echo_n "checking for $ac_word... " >&6; }
5602 if ${ac_cv_prog_RSVG+:} false; then :
5603 $as_echo_n "(cached) " >&6
5604 else
5605 if test -n "$RSVG"; then
5606 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5607 else
5608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5609 for as_dir in $PATH
5611 IFS=$as_save_IFS
5612 test -z "$as_dir" && as_dir=.
5613 for ac_exec_ext in '' $ac_executable_extensions; do
5614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5615 ac_cv_prog_RSVG="$ac_prog"
5616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5617 break 2
5619 done
5620 done
5621 IFS=$as_save_IFS
5625 RSVG=$ac_cv_prog_RSVG
5626 if test -n "$RSVG"; then
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5628 $as_echo "$RSVG" >&6; }
5629 else
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5631 $as_echo "no" >&6; }
5635 test -n "$RSVG" && break
5636 done
5637 test -n "$RSVG" || RSVG="false"
5639 for ac_prog in convert
5641 # Extract the first word of "$ac_prog", so it can be a program name with args.
5642 set dummy $ac_prog; ac_word=$2
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5644 $as_echo_n "checking for $ac_word... " >&6; }
5645 if ${ac_cv_prog_CONVERT+:} false; then :
5646 $as_echo_n "(cached) " >&6
5647 else
5648 if test -n "$CONVERT"; then
5649 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5650 else
5651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5652 for as_dir in $PATH
5654 IFS=$as_save_IFS
5655 test -z "$as_dir" && as_dir=.
5656 for ac_exec_ext in '' $ac_executable_extensions; do
5657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5658 ac_cv_prog_CONVERT="$ac_prog"
5659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5660 break 2
5662 done
5663 done
5664 IFS=$as_save_IFS
5668 CONVERT=$ac_cv_prog_CONVERT
5669 if test -n "$CONVERT"; then
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5671 $as_echo "$CONVERT" >&6; }
5672 else
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5674 $as_echo "no" >&6; }
5678 test -n "$CONVERT" && break
5679 done
5680 test -n "$CONVERT" || CONVERT="false"
5682 for ac_prog in icotool
5684 # Extract the first word of "$ac_prog", so it can be a program name with args.
5685 set dummy $ac_prog; ac_word=$2
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5687 $as_echo_n "checking for $ac_word... " >&6; }
5688 if ${ac_cv_prog_ICOTOOL+:} false; then :
5689 $as_echo_n "(cached) " >&6
5690 else
5691 if test -n "$ICOTOOL"; then
5692 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5693 else
5694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5695 for as_dir in $PATH
5697 IFS=$as_save_IFS
5698 test -z "$as_dir" && as_dir=.
5699 for ac_exec_ext in '' $ac_executable_extensions; do
5700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5701 ac_cv_prog_ICOTOOL="$ac_prog"
5702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5703 break 2
5705 done
5706 done
5707 IFS=$as_save_IFS
5711 ICOTOOL=$ac_cv_prog_ICOTOOL
5712 if test -n "$ICOTOOL"; then
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5714 $as_echo "$ICOTOOL" >&6; }
5715 else
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5717 $as_echo "no" >&6; }
5721 test -n "$ICOTOOL" && break
5722 done
5723 test -n "$ICOTOOL" || ICOTOOL="false"
5725 for ac_prog in msgfmt
5727 # Extract the first word of "$ac_prog", so it can be a program name with args.
5728 set dummy $ac_prog; ac_word=$2
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5730 $as_echo_n "checking for $ac_word... " >&6; }
5731 if ${ac_cv_prog_MSGFMT+:} false; then :
5732 $as_echo_n "(cached) " >&6
5733 else
5734 if test -n "$MSGFMT"; then
5735 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5736 else
5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5738 for as_dir in $PATH
5740 IFS=$as_save_IFS
5741 test -z "$as_dir" && as_dir=.
5742 for ac_exec_ext in '' $ac_executable_extensions; do
5743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5744 ac_cv_prog_MSGFMT="$ac_prog"
5745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5746 break 2
5748 done
5749 done
5750 IFS=$as_save_IFS
5754 MSGFMT=$ac_cv_prog_MSGFMT
5755 if test -n "$MSGFMT"; then
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5757 $as_echo "$MSGFMT" >&6; }
5758 else
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5760 $as_echo "no" >&6; }
5764 test -n "$MSGFMT" && break
5765 done
5766 test -n "$MSGFMT" || MSGFMT="false"
5768 if test -n "$ac_tool_prefix"; then
5769 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5770 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5772 $as_echo_n "checking for $ac_word... " >&6; }
5773 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5774 $as_echo_n "(cached) " >&6
5775 else
5776 if test -n "$PKG_CONFIG"; then
5777 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5778 else
5779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5780 for as_dir in $PATH
5782 IFS=$as_save_IFS
5783 test -z "$as_dir" && as_dir=.
5784 for ac_exec_ext in '' $ac_executable_extensions; do
5785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5786 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5788 break 2
5790 done
5791 done
5792 IFS=$as_save_IFS
5796 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5797 if test -n "$PKG_CONFIG"; then
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5799 $as_echo "$PKG_CONFIG" >&6; }
5800 else
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802 $as_echo "no" >&6; }
5807 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5808 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
5809 elif test "$cross_compiling" != yes; then
5810 unset ac_cv_prog_PKG_CONFIG
5811 # Extract the first word of "pkg-config", so it can be a program name with args.
5812 set dummy pkg-config; ac_word=$2
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5814 $as_echo_n "checking for $ac_word... " >&6; }
5815 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5816 $as_echo_n "(cached) " >&6
5817 else
5818 if test -n "$PKG_CONFIG"; then
5819 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5820 else
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5822 for as_dir in $PATH
5824 IFS=$as_save_IFS
5825 test -z "$as_dir" && as_dir=.
5826 for ac_exec_ext in '' $ac_executable_extensions; do
5827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5828 ac_cv_prog_PKG_CONFIG="pkg-config"
5829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5830 break 2
5832 done
5833 done
5834 IFS=$as_save_IFS
5838 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5839 if test -n "$PKG_CONFIG"; then
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5841 $as_echo "$PKG_CONFIG" >&6; }
5842 else
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5844 $as_echo "no" >&6; }
5850 if test "x$enable_maintainer_mode" != "xyes"
5851 then
5852 MAINTAINER_MODE=\#
5854 else
5855 if test "$FONTFORGE" = "false"; then as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5856 if test "$RSVG" = "false"; then as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5858 if test "$CONVERT" = false
5859 then
5860 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5861 else
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5863 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5864 convert_version=`convert --version | head -n1`
5865 if test "x$convert_version" != "x"
5866 then
5867 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5868 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5869 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5870 then
5871 CONVERT=false
5874 if test "$CONVERT" = false
5875 then
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5877 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5878 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5879 else
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5881 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5885 if test "$ICOTOOL" = false
5886 then
5887 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5888 else
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5890 $as_echo_n "checking for recent enough icotool... " >&6; }
5891 icotool_version=`icotool --version | head -n1`
5892 if test "x$icotool_version" != "x"
5893 then
5894 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5895 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5896 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5897 then
5898 ICOTOOL=false
5899 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5902 if test "$ICOTOOL" = false
5903 then
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5905 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5906 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5907 else
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5909 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5913 with_gettext=yes
5914 with_gettextpo=yes
5915 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5918 test "x$with_gettext" != xno || MSGFMT=false
5919 if test "$MSGFMT" != "false"
5920 then
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5922 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5923 cat >conftest.po <<EOF
5924 # comment
5925 msgctxt "ctxt"
5926 msgid "id"
5927 msgstr "str"
5929 if $MSGFMT -o /dev/null conftest.po 2>&5
5930 then
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5932 $as_echo "yes" >&6; }
5933 else
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5935 $as_echo "no" >&6; }
5936 MSGFMT=false
5939 if test "$MSGFMT" = false; then :
5940 case "x$with_gettext" in
5941 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5942 xno) ;;
5943 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5944 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5945 esac
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5950 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5951 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5952 $as_echo_n "(cached) " >&6
5953 else
5954 ac_check_lib_save_LIBS=$LIBS
5955 LIBS="-li386 $LIBS"
5956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5957 /* end confdefs.h. */
5959 /* Override any GCC internal prototype to avoid an error.
5960 Use char because int might match the return type of a GCC
5961 builtin and then its argument prototype would still apply. */
5962 #ifdef __cplusplus
5963 extern "C"
5964 #endif
5965 char i386_set_ldt ();
5967 main ()
5969 return i386_set_ldt ();
5971 return 0;
5973 _ACEOF
5974 if ac_fn_c_try_link "$LINENO"; then :
5975 ac_cv_lib_i386_i386_set_ldt=yes
5976 else
5977 ac_cv_lib_i386_i386_set_ldt=no
5979 rm -f core conftest.err conftest.$ac_objext \
5980 conftest$ac_exeext conftest.$ac_ext
5981 LIBS=$ac_check_lib_save_LIBS
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5984 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5985 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5986 cat >>confdefs.h <<_ACEOF
5987 #define HAVE_LIBI386 1
5988 _ACEOF
5990 LIBS="-li386 $LIBS"
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5995 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5996 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5997 $as_echo_n "(cached) " >&6
5998 else
5999 ac_check_lib_save_LIBS=$LIBS
6000 LIBS="-lossaudio $LIBS"
6001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6002 /* end confdefs.h. */
6004 /* Override any GCC internal prototype to avoid an error.
6005 Use char because int might match the return type of a GCC
6006 builtin and then its argument prototype would still apply. */
6007 #ifdef __cplusplus
6008 extern "C"
6009 #endif
6010 char _oss_ioctl ();
6012 main ()
6014 return _oss_ioctl ();
6016 return 0;
6018 _ACEOF
6019 if ac_fn_c_try_link "$LINENO"; then :
6020 ac_cv_lib_ossaudio__oss_ioctl=yes
6021 else
6022 ac_cv_lib_ossaudio__oss_ioctl=no
6024 rm -f core conftest.err conftest.$ac_objext \
6025 conftest$ac_exeext conftest.$ac_ext
6026 LIBS=$ac_check_lib_save_LIBS
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6029 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6030 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6031 cat >>confdefs.h <<_ACEOF
6032 #define HAVE_LIBOSSAUDIO 1
6033 _ACEOF
6035 LIBS="-lossaudio $LIBS"
6040 XLIB=""
6042 OPENGL_LIBS=""
6046 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h=no
6048 # Check whether --enable-largefile was given.
6049 if test "${enable_largefile+set}" = set; then :
6050 enableval=$enable_largefile;
6053 if test "$enable_largefile" != no; then
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6056 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6057 if ${ac_cv_sys_largefile_CC+:} false; then :
6058 $as_echo_n "(cached) " >&6
6059 else
6060 ac_cv_sys_largefile_CC=no
6061 if test "$GCC" != yes; then
6062 ac_save_CC=$CC
6063 while :; do
6064 # IRIX 6.2 and later do not support large files by default,
6065 # so use the C compiler's -n32 option if that helps.
6066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6067 /* end confdefs.h. */
6068 #include <sys/types.h>
6069 /* Check that off_t can represent 2**63 - 1 correctly.
6070 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6071 since some C++ compilers masquerading as C compilers
6072 incorrectly reject 9223372036854775807. */
6073 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6074 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6075 && LARGE_OFF_T % 2147483647 == 1)
6076 ? 1 : -1];
6078 main ()
6082 return 0;
6084 _ACEOF
6085 if ac_fn_c_try_compile "$LINENO"; then :
6086 break
6088 rm -f core conftest.err conftest.$ac_objext
6089 CC="$CC -n32"
6090 if ac_fn_c_try_compile "$LINENO"; then :
6091 ac_cv_sys_largefile_CC=' -n32'; break
6093 rm -f core conftest.err conftest.$ac_objext
6094 break
6095 done
6096 CC=$ac_save_CC
6097 rm -f conftest.$ac_ext
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6101 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6102 if test "$ac_cv_sys_largefile_CC" != no; then
6103 CC=$CC$ac_cv_sys_largefile_CC
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6107 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6108 if ${ac_cv_sys_file_offset_bits+:} false; then :
6109 $as_echo_n "(cached) " >&6
6110 else
6111 while :; do
6112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6113 /* end confdefs.h. */
6114 #include <sys/types.h>
6115 /* Check that off_t can represent 2**63 - 1 correctly.
6116 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6117 since some C++ compilers masquerading as C compilers
6118 incorrectly reject 9223372036854775807. */
6119 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6120 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6121 && LARGE_OFF_T % 2147483647 == 1)
6122 ? 1 : -1];
6124 main ()
6128 return 0;
6130 _ACEOF
6131 if ac_fn_c_try_compile "$LINENO"; then :
6132 ac_cv_sys_file_offset_bits=no; break
6134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6136 /* end confdefs.h. */
6137 #define _FILE_OFFSET_BITS 64
6138 #include <sys/types.h>
6139 /* Check that off_t can represent 2**63 - 1 correctly.
6140 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6141 since some C++ compilers masquerading as C compilers
6142 incorrectly reject 9223372036854775807. */
6143 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6144 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6145 && LARGE_OFF_T % 2147483647 == 1)
6146 ? 1 : -1];
6148 main ()
6152 return 0;
6154 _ACEOF
6155 if ac_fn_c_try_compile "$LINENO"; then :
6156 ac_cv_sys_file_offset_bits=64; break
6158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6159 ac_cv_sys_file_offset_bits=unknown
6160 break
6161 done
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6164 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6165 case $ac_cv_sys_file_offset_bits in #(
6166 no | unknown) ;;
6168 cat >>confdefs.h <<_ACEOF
6169 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6170 _ACEOF
6172 esac
6173 rm -rf conftest*
6174 if test $ac_cv_sys_file_offset_bits = unknown; then
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6176 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6177 if ${ac_cv_sys_large_files+:} false; then :
6178 $as_echo_n "(cached) " >&6
6179 else
6180 while :; do
6181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6182 /* end confdefs.h. */
6183 #include <sys/types.h>
6184 /* Check that off_t can represent 2**63 - 1 correctly.
6185 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6186 since some C++ compilers masquerading as C compilers
6187 incorrectly reject 9223372036854775807. */
6188 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6189 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6190 && LARGE_OFF_T % 2147483647 == 1)
6191 ? 1 : -1];
6193 main ()
6197 return 0;
6199 _ACEOF
6200 if ac_fn_c_try_compile "$LINENO"; then :
6201 ac_cv_sys_large_files=no; break
6203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6205 /* end confdefs.h. */
6206 #define _LARGE_FILES 1
6207 #include <sys/types.h>
6208 /* Check that off_t can represent 2**63 - 1 correctly.
6209 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6210 since some C++ compilers masquerading as C compilers
6211 incorrectly reject 9223372036854775807. */
6212 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6213 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6214 && LARGE_OFF_T % 2147483647 == 1)
6215 ? 1 : -1];
6217 main ()
6221 return 0;
6223 _ACEOF
6224 if ac_fn_c_try_compile "$LINENO"; then :
6225 ac_cv_sys_large_files=1; break
6227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6228 ac_cv_sys_large_files=unknown
6229 break
6230 done
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6233 $as_echo "$ac_cv_sys_large_files" >&6; }
6234 case $ac_cv_sys_large_files in #(
6235 no | unknown) ;;
6237 cat >>confdefs.h <<_ACEOF
6238 #define _LARGE_FILES $ac_cv_sys_large_files
6239 _ACEOF
6241 esac
6242 rm -rf conftest*
6249 ac_ext=c
6250 ac_cpp='$CPP $CPPFLAGS'
6251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6255 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6256 # On Suns, sometimes $CPP names a directory.
6257 if test -n "$CPP" && test -d "$CPP"; then
6258 CPP=
6260 if test -z "$CPP"; then
6261 if ${ac_cv_prog_CPP+:} false; then :
6262 $as_echo_n "(cached) " >&6
6263 else
6264 # Double quotes because CPP needs to be expanded
6265 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6267 ac_preproc_ok=false
6268 for ac_c_preproc_warn_flag in '' yes
6270 # Use a header file that comes with gcc, so configuring glibc
6271 # with a fresh cross-compiler works.
6272 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6273 # <limits.h> exists even on freestanding compilers.
6274 # On the NeXT, cc -E runs the code through the compiler's parser,
6275 # not just through cpp. "Syntax error" is here to catch this case.
6276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6277 /* end confdefs.h. */
6278 #ifdef __STDC__
6279 # include <limits.h>
6280 #else
6281 # include <assert.h>
6282 #endif
6283 Syntax error
6284 _ACEOF
6285 if ac_fn_c_try_cpp "$LINENO"; then :
6287 else
6288 # Broken: fails on valid input.
6289 continue
6291 rm -f conftest.err conftest.i conftest.$ac_ext
6293 # OK, works on sane cases. Now check whether nonexistent headers
6294 # can be detected and how.
6295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6296 /* end confdefs.h. */
6297 #include <ac_nonexistent.h>
6298 _ACEOF
6299 if ac_fn_c_try_cpp "$LINENO"; then :
6300 # Broken: success on invalid input.
6301 continue
6302 else
6303 # Passes both tests.
6304 ac_preproc_ok=:
6305 break
6307 rm -f conftest.err conftest.i conftest.$ac_ext
6309 done
6310 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6311 rm -f conftest.i conftest.err conftest.$ac_ext
6312 if $ac_preproc_ok; then :
6313 break
6316 done
6317 ac_cv_prog_CPP=$CPP
6320 CPP=$ac_cv_prog_CPP
6321 else
6322 ac_cv_prog_CPP=$CPP
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6325 $as_echo "$CPP" >&6; }
6326 ac_preproc_ok=false
6327 for ac_c_preproc_warn_flag in '' yes
6329 # Use a header file that comes with gcc, so configuring glibc
6330 # with a fresh cross-compiler works.
6331 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6332 # <limits.h> exists even on freestanding compilers.
6333 # On the NeXT, cc -E runs the code through the compiler's parser,
6334 # not just through cpp. "Syntax error" is here to catch this case.
6335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6336 /* end confdefs.h. */
6337 #ifdef __STDC__
6338 # include <limits.h>
6339 #else
6340 # include <assert.h>
6341 #endif
6342 Syntax error
6343 _ACEOF
6344 if ac_fn_c_try_cpp "$LINENO"; then :
6346 else
6347 # Broken: fails on valid input.
6348 continue
6350 rm -f conftest.err conftest.i conftest.$ac_ext
6352 # OK, works on sane cases. Now check whether nonexistent headers
6353 # can be detected and how.
6354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6355 /* end confdefs.h. */
6356 #include <ac_nonexistent.h>
6357 _ACEOF
6358 if ac_fn_c_try_cpp "$LINENO"; then :
6359 # Broken: success on invalid input.
6360 continue
6361 else
6362 # Passes both tests.
6363 ac_preproc_ok=:
6364 break
6366 rm -f conftest.err conftest.i conftest.$ac_ext
6368 done
6369 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6370 rm -f conftest.i conftest.err conftest.$ac_ext
6371 if $ac_preproc_ok; then :
6373 else
6374 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6376 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6377 See \`config.log' for more details" "$LINENO" 5; }
6380 ac_ext=c
6381 ac_cpp='$CPP $CPPFLAGS'
6382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6388 $as_echo_n "checking for ANSI C header files... " >&6; }
6389 if ${ac_cv_header_stdc+:} false; then :
6390 $as_echo_n "(cached) " >&6
6391 else
6392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6393 /* end confdefs.h. */
6394 #include <stdlib.h>
6395 #include <stdarg.h>
6396 #include <string.h>
6397 #include <float.h>
6400 main ()
6404 return 0;
6406 _ACEOF
6407 if ac_fn_c_try_compile "$LINENO"; then :
6408 ac_cv_header_stdc=yes
6409 else
6410 ac_cv_header_stdc=no
6412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6414 if test $ac_cv_header_stdc = yes; then
6415 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6417 /* end confdefs.h. */
6418 #include <string.h>
6420 _ACEOF
6421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6422 $EGREP "memchr" >/dev/null 2>&1; then :
6424 else
6425 ac_cv_header_stdc=no
6427 rm -f conftest*
6431 if test $ac_cv_header_stdc = yes; then
6432 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6434 /* end confdefs.h. */
6435 #include <stdlib.h>
6437 _ACEOF
6438 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6439 $EGREP "free" >/dev/null 2>&1; then :
6441 else
6442 ac_cv_header_stdc=no
6444 rm -f conftest*
6448 if test $ac_cv_header_stdc = yes; then
6449 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6450 if test "$cross_compiling" = yes; then :
6452 else
6453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6454 /* end confdefs.h. */
6455 #include <ctype.h>
6456 #include <stdlib.h>
6457 #if ((' ' & 0x0FF) == 0x020)
6458 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6459 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6460 #else
6461 # define ISLOWER(c) \
6462 (('a' <= (c) && (c) <= 'i') \
6463 || ('j' <= (c) && (c) <= 'r') \
6464 || ('s' <= (c) && (c) <= 'z'))
6465 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6466 #endif
6468 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6470 main ()
6472 int i;
6473 for (i = 0; i < 256; i++)
6474 if (XOR (islower (i), ISLOWER (i))
6475 || toupper (i) != TOUPPER (i))
6476 return 2;
6477 return 0;
6479 _ACEOF
6480 if ac_fn_c_try_run "$LINENO"; then :
6482 else
6483 ac_cv_header_stdc=no
6485 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6486 conftest.$ac_objext conftest.beam conftest.$ac_ext
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6492 $as_echo "$ac_cv_header_stdc" >&6; }
6493 if test $ac_cv_header_stdc = yes; then
6495 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6499 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6500 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6501 inttypes.h stdint.h unistd.h
6502 do :
6503 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6504 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6506 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6507 cat >>confdefs.h <<_ACEOF
6508 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6509 _ACEOF
6513 done
6516 for ac_header in \
6517 AL/al.h \
6518 ApplicationServices/ApplicationServices.h \
6519 AudioToolbox/AudioConverter.h \
6520 AudioUnit/AudioUnit.h \
6521 AudioUnit/AudioComponent.h \
6522 CL/cl.h \
6523 Carbon/Carbon.h \
6524 CoreAudio/CoreAudio.h \
6525 CoreServices/CoreServices.h \
6526 DiskArbitration/DiskArbitration.h \
6527 IOKit/IOKitLib.h \
6528 IOKit/hid/IOHIDLib.h \
6529 OpenAL/al.h \
6530 OpenCL/opencl.h \
6531 QuickTime/ImageCompression.h \
6532 Security/Security.h \
6533 alias.h \
6534 alsa/asoundlib.h \
6535 arpa/inet.h \
6536 arpa/nameser.h \
6537 asm/types.h \
6538 asm/user.h \
6539 curses.h \
6540 direct.h \
6541 dirent.h \
6542 dlfcn.h \
6543 elf.h \
6544 float.h \
6545 fnmatch.h \
6546 fontconfig/fontconfig.h \
6547 getopt.h \
6548 gettext-po.h \
6549 grp.h \
6550 gsm.h \
6551 gsm/gsm.h \
6552 ieeefp.h \
6553 inet/mib2.h \
6554 io.h \
6555 kstat.h \
6556 lber.h \
6557 ldap.h \
6558 libproc.h \
6559 link.h \
6560 linux/cdrom.h \
6561 linux/compiler.h \
6562 linux/filter.h \
6563 linux/hdreg.h \
6564 linux/input.h \
6565 linux/ioctl.h \
6566 linux/joystick.h \
6567 linux/major.h \
6568 linux/param.h \
6569 linux/serial.h \
6570 linux/types.h \
6571 linux/ucdrom.h \
6572 lwp.h \
6573 mach-o/nlist.h \
6574 mach-o/loader.h \
6575 mach/mach.h \
6576 mach/machine.h \
6577 machine/cpu.h \
6578 machine/limits.h \
6579 machine/sysarch.h \
6580 mntent.h \
6581 ncurses.h \
6582 netdb.h \
6583 netinet/in.h \
6584 netinet/in_systm.h \
6585 netinet/tcp.h \
6586 netinet/tcp_fsm.h \
6587 poll.h \
6588 port.h \
6589 process.h \
6590 pthread.h \
6591 pwd.h \
6592 sched.h \
6593 scsi/scsi.h \
6594 scsi/scsi_ioctl.h \
6595 scsi/sg.h \
6596 stdbool.h \
6597 stdint.h \
6598 stropts.h \
6599 sys/asoundlib.h \
6600 sys/attr.h \
6601 sys/cdio.h \
6602 sys/elf32.h \
6603 sys/epoll.h \
6604 sys/event.h \
6605 sys/exec_elf.h \
6606 sys/filio.h \
6607 sys/inotify.h \
6608 sys/ioctl.h \
6609 sys/ipc.h \
6610 sys/limits.h \
6611 sys/link.h \
6612 sys/mman.h \
6613 sys/modem.h \
6614 sys/msg.h \
6615 sys/mtio.h \
6616 sys/param.h \
6617 sys/poll.h \
6618 sys/prctl.h \
6619 sys/protosw.h \
6620 sys/ptrace.h \
6621 sys/queue.h \
6622 sys/resource.h \
6623 sys/scsiio.h \
6624 sys/shm.h \
6625 sys/signal.h \
6626 sys/socket.h \
6627 sys/socketvar.h \
6628 sys/sockio.h \
6629 sys/statvfs.h \
6630 sys/strtio.h \
6631 sys/syscall.h \
6632 sys/tihdr.h \
6633 sys/time.h \
6634 sys/timeout.h \
6635 sys/times.h \
6636 sys/uio.h \
6637 sys/user.h \
6638 sys/utsname.h \
6639 sys/vm86.h \
6640 sys/wait.h \
6641 syscall.h \
6642 termios.h \
6643 unistd.h \
6644 utime.h \
6645 valgrind/memcheck.h \
6646 valgrind/valgrind.h \
6647 zlib.h
6649 do :
6650 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6651 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6652 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6653 cat >>confdefs.h <<_ACEOF
6654 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6655 _ACEOF
6659 done
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6662 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6663 if ${ac_cv_header_stat_broken+:} false; then :
6664 $as_echo_n "(cached) " >&6
6665 else
6666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6667 /* end confdefs.h. */
6668 #include <sys/types.h>
6669 #include <sys/stat.h>
6671 #if defined S_ISBLK && defined S_IFDIR
6672 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6673 #endif
6675 #if defined S_ISBLK && defined S_IFCHR
6676 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6677 #endif
6679 #if defined S_ISLNK && defined S_IFREG
6680 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6681 #endif
6683 #if defined S_ISSOCK && defined S_IFREG
6684 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6685 #endif
6687 _ACEOF
6688 if ac_fn_c_try_compile "$LINENO"; then :
6689 ac_cv_header_stat_broken=no
6690 else
6691 ac_cv_header_stat_broken=yes
6693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6696 $as_echo "$ac_cv_header_stat_broken" >&6; }
6697 if test $ac_cv_header_stat_broken = yes; then
6699 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6705 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6706 do :
6707 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6708 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6709 #ifdef HAVE_SYS_PARAM_H
6710 # include <sys/param.h>
6711 #endif
6713 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6714 cat >>confdefs.h <<_ACEOF
6715 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6716 _ACEOF
6720 done
6723 for ac_header in \
6724 netinet/ip.h \
6725 net/if.h \
6726 net/if_arp.h \
6727 net/if_dl.h \
6728 net/if_types.h \
6729 net/route.h \
6730 netinet/if_ether.h \
6731 netinet/if_inarp.h \
6732 netinet/in_pcb.h \
6733 netinet/ip_icmp.h \
6734 netinet/ip_var.h \
6735 netinet/udp.h \
6736 netipx/ipx.h \
6737 sys/un.h \
6739 do :
6740 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6741 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6742 #ifdef HAVE_SYS_SOCKET_H
6743 # include <sys/socket.h>
6744 #endif
6745 #ifdef HAVE_SYS_SOCKETVAR_H
6746 # include <sys/socketvar.h>
6747 #endif
6748 #ifdef HAVE_NET_ROUTE_H
6749 # include <net/route.h>
6750 #endif
6751 #ifdef HAVE_NETINET_IN_H
6752 # include <netinet/in.h>
6753 #endif
6754 #ifdef HAVE_NETINET_IN_SYSTM_H
6755 # include <netinet/in_systm.h>
6756 #endif
6757 #ifdef HAVE_NET_IF_H
6758 # include <net/if.h>
6759 #endif
6760 #ifdef HAVE_NETINET_IP_H
6761 # include <netinet/ip.h>
6762 #endif
6764 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6765 cat >>confdefs.h <<_ACEOF
6766 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6767 _ACEOF
6771 done
6774 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6775 do :
6776 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6777 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6778 #ifdef HAVE_ALIAS_H
6779 # include <alias.h>
6780 #endif
6781 #ifdef HAVE_SYS_SOCKET_H
6782 # include <sys/socket.h>
6783 #endif
6784 #ifdef HAVE_SYS_SOCKETVAR_H
6785 # include <sys/socketvar.h>
6786 #endif
6787 #ifdef HAVE_SYS_TIMEOUT_H
6788 # include <sys/timeout.h>
6789 #endif
6790 #ifdef HAVE_NETINET_IN_H
6791 # include <netinet/in.h>
6792 #endif
6793 #ifdef HAVE_NETINET_IN_SYSTM_H
6794 # include <netinet/in_systm.h>
6795 #endif
6796 #ifdef HAVE_NETINET_IP_H
6797 # include <netinet/ip.h>
6798 #endif
6799 #ifdef HAVE_NETINET_IP_VAR_H
6800 # include <netinet/ip_var.h>
6801 #endif
6802 #ifdef HAVE_NETINET_IP_ICMP_H
6803 # include <netinet/ip_icmp.h>
6804 #endif
6805 #ifdef HAVE_NETINET_UDP_H
6806 # include <netinet/udp.h>
6807 #endif
6808 #ifdef HAVE_NETINET_TCP_H
6809 # include <netinet/tcp.h>
6810 #endif
6811 #ifdef HAVE_NETINET_TCP_TIMER_H
6812 #include <netinet/tcp_timer.h>
6813 #endif
6815 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6816 cat >>confdefs.h <<_ACEOF
6817 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6818 _ACEOF
6822 done
6825 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6826 do :
6827 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6828 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6829 #ifdef HAVE_ASM_TYPES_H
6830 # include <asm/types.h>
6831 #endif
6832 #ifdef HAVE_SYS_SOCKET_H
6833 # include <sys/socket.h>
6834 #endif
6835 #ifdef HAVE_LINUX_TYPES_H
6836 # include <linux/types.h>
6837 #endif
6839 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6840 cat >>confdefs.h <<_ACEOF
6841 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6842 _ACEOF
6846 done
6849 for ac_header in mach-o/dyld_images.h
6850 do :
6851 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6852 # include <stdbool.h>
6853 #endif
6854 #ifdef HAVE_STDINT_H
6855 # include <stdint.h>
6856 #endif
6858 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6859 cat >>confdefs.h <<_ACEOF
6860 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6861 _ACEOF
6865 done
6868 for ac_header in resolv.h
6869 do :
6870 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6871 #ifdef HAVE_SYS_SOCKET_H
6872 # include <sys/socket.h>
6873 #endif
6874 #ifdef HAVE_NETINET_IN_H
6875 # include <netinet/in.h>
6876 #endif
6877 #ifdef HAVE_ARPA_NAMESER_H
6878 # include <arpa/nameser.h>
6879 #endif
6881 if test "x$ac_cv_header_resolv_h" = xyes; then :
6882 cat >>confdefs.h <<_ACEOF
6883 #define HAVE_RESOLV_H 1
6884 _ACEOF
6888 done
6891 for ac_header in ifaddrs.h
6892 do :
6893 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6895 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6896 cat >>confdefs.h <<_ACEOF
6897 #define HAVE_IFADDRS_H 1
6898 _ACEOF
6902 done
6905 for ac_header in ucontext.h
6906 do :
6907 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6909 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6910 cat >>confdefs.h <<_ACEOF
6911 #define HAVE_UCONTEXT_H 1
6912 _ACEOF
6916 done
6919 for ac_header in sys/thr.h
6920 do :
6921 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6922 #ifdef HAVE_UCONTEXT_H
6923 #include <ucontext.h>
6924 #endif
6926 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6927 cat >>confdefs.h <<_ACEOF
6928 #define HAVE_SYS_THR_H 1
6929 _ACEOF
6933 done
6936 for ac_header in pthread_np.h
6937 do :
6938 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6939 #include <pthread.h>
6940 #endif
6942 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6943 cat >>confdefs.h <<_ACEOF
6944 #define HAVE_PTHREAD_NP_H 1
6945 _ACEOF
6949 done
6952 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6953 do :
6954 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6955 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6956 #include <sys/time.h>
6957 #endif
6958 #include <sys/types.h>
6959 #ifdef HAVE_ASM_TYPES_H
6960 #include <asm/types.h>
6961 #endif
6963 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6964 cat >>confdefs.h <<_ACEOF
6965 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6966 _ACEOF
6970 done
6973 for ac_header in libprocstat.h
6974 do :
6975 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6976 #include <sys/param.h>
6977 #endif
6978 #ifdef HAVE_SYS_QUEUE_H
6979 #include <sys/queue.h>
6980 #endif
6981 #ifdef HAVE_SYS_SOCKET_H
6982 #include <sys/socket.h>
6983 #endif
6985 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6986 cat >>confdefs.h <<_ACEOF
6987 #define HAVE_LIBPROCSTAT_H 1
6988 _ACEOF
6992 done
6996 dlldir="\${libdir}/wine"
6998 DLLEXT=""
7000 DLLPREFIX=""
7002 DLLFLAGS="-D_REENTRANT"
7004 IMPLIBEXT="def"
7006 LDRPATH_INSTALL=""
7008 LDRPATH_LOCAL=""
7010 LIBEXT="so"
7011 STATIC_IMPLIBEXT="def.a"
7012 # Extract the first word of "ldd", so it can be a program name with args.
7013 set dummy ldd; ac_word=$2
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7015 $as_echo_n "checking for $ac_word... " >&6; }
7016 if ${ac_cv_path_LDD+:} false; then :
7017 $as_echo_n "(cached) " >&6
7018 else
7019 case $LDD in
7020 [\\/]* | ?:[\\/]*)
7021 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7025 as_dummy="/sbin:/usr/sbin:$PATH"
7026 for as_dir in $as_dummy
7028 IFS=$as_save_IFS
7029 test -z "$as_dir" && as_dir=.
7030 for ac_exec_ext in '' $ac_executable_extensions; do
7031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7032 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7034 break 2
7036 done
7037 done
7038 IFS=$as_save_IFS
7040 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7042 esac
7044 LDD=$ac_cv_path_LDD
7045 if test -n "$LDD"; then
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7047 $as_echo "$LDD" >&6; }
7048 else
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7050 $as_echo "no" >&6; }
7054 if test -n "$ac_tool_prefix"; then
7055 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7056 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7058 $as_echo_n "checking for $ac_word... " >&6; }
7059 if ${ac_cv_prog_READELF+:} false; then :
7060 $as_echo_n "(cached) " >&6
7061 else
7062 if test -n "$READELF"; then
7063 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7064 else
7065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7066 for as_dir in $PATH
7068 IFS=$as_save_IFS
7069 test -z "$as_dir" && as_dir=.
7070 for ac_exec_ext in '' $ac_executable_extensions; do
7071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7072 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7074 break 2
7076 done
7077 done
7078 IFS=$as_save_IFS
7082 READELF=$ac_cv_prog_READELF
7083 if test -n "$READELF"; then
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7085 $as_echo "$READELF" >&6; }
7086 else
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7088 $as_echo "no" >&6; }
7093 if test -z "$ac_cv_prog_READELF"; then
7094 ac_ct_READELF=$READELF
7095 # Extract the first word of "readelf", so it can be a program name with args.
7096 set dummy readelf; ac_word=$2
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7098 $as_echo_n "checking for $ac_word... " >&6; }
7099 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7100 $as_echo_n "(cached) " >&6
7101 else
7102 if test -n "$ac_ct_READELF"; then
7103 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7104 else
7105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7106 for as_dir in $PATH
7108 IFS=$as_save_IFS
7109 test -z "$as_dir" && as_dir=.
7110 for ac_exec_ext in '' $ac_executable_extensions; do
7111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7112 ac_cv_prog_ac_ct_READELF="readelf"
7113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7114 break 2
7116 done
7117 done
7118 IFS=$as_save_IFS
7122 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7123 if test -n "$ac_ct_READELF"; then
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7125 $as_echo "$ac_ct_READELF" >&6; }
7126 else
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7128 $as_echo "no" >&6; }
7131 if test "x$ac_ct_READELF" = x; then
7132 READELF="true"
7133 else
7134 case $cross_compiling:$ac_tool_warned in
7135 yes:)
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7137 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7138 ac_tool_warned=yes ;;
7139 esac
7140 READELF=$ac_ct_READELF
7142 else
7143 READELF="$ac_cv_prog_READELF"
7147 case $host_os in
7148 cygwin*|mingw32*)
7149 if test -n "$ac_tool_prefix"; then
7150 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7151 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7153 $as_echo_n "checking for $ac_word... " >&6; }
7154 if ${ac_cv_prog_DLLTOOL+:} false; then :
7155 $as_echo_n "(cached) " >&6
7156 else
7157 if test -n "$DLLTOOL"; then
7158 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7159 else
7160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7161 for as_dir in $PATH
7163 IFS=$as_save_IFS
7164 test -z "$as_dir" && as_dir=.
7165 for ac_exec_ext in '' $ac_executable_extensions; do
7166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7167 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7169 break 2
7171 done
7172 done
7173 IFS=$as_save_IFS
7177 DLLTOOL=$ac_cv_prog_DLLTOOL
7178 if test -n "$DLLTOOL"; then
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7180 $as_echo "$DLLTOOL" >&6; }
7181 else
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7183 $as_echo "no" >&6; }
7188 if test -z "$ac_cv_prog_DLLTOOL"; then
7189 ac_ct_DLLTOOL=$DLLTOOL
7190 # Extract the first word of "dlltool", so it can be a program name with args.
7191 set dummy dlltool; ac_word=$2
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7193 $as_echo_n "checking for $ac_word... " >&6; }
7194 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7195 $as_echo_n "(cached) " >&6
7196 else
7197 if test -n "$ac_ct_DLLTOOL"; then
7198 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7199 else
7200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7201 for as_dir in $PATH
7203 IFS=$as_save_IFS
7204 test -z "$as_dir" && as_dir=.
7205 for ac_exec_ext in '' $ac_executable_extensions; do
7206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7207 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7209 break 2
7211 done
7212 done
7213 IFS=$as_save_IFS
7217 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7218 if test -n "$ac_ct_DLLTOOL"; then
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7220 $as_echo "$ac_ct_DLLTOOL" >&6; }
7221 else
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7223 $as_echo "no" >&6; }
7226 if test "x$ac_ct_DLLTOOL" = x; then
7227 DLLTOOL="false"
7228 else
7229 case $cross_compiling:$ac_tool_warned in
7230 yes:)
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7233 ac_tool_warned=yes ;;
7234 esac
7235 DLLTOOL=$ac_ct_DLLTOOL
7237 else
7238 DLLTOOL="$ac_cv_prog_DLLTOOL"
7241 LIBEXT="dll"
7242 IMPLIBEXT="a"
7243 STATIC_IMPLIBEXT="a"
7244 enable_iphlpapi=${enable_iphlpapi:-no}
7245 enable_kernel32=${enable_kernel32:-no}
7246 enable_msvcrt=${enable_msvcrt:-no}
7247 enable_ntdll=${enable_ntdll:-no}
7248 enable_ws2_32=${enable_ws2_32:-no}
7249 enable_loader=${enable_loader:-no}
7250 enable_server=${enable_server:-no}
7251 with_x=${with_x:-no}
7252 with_pthread=${with_pthread:-no}
7254 crtlibs=""
7255 case $host_os in
7256 mingw32*)
7257 crtlibs="-lmsvcrt"
7258 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7260 esac
7262 LIBWINE_RULES="
7263 all: libwine.dll libwine.a
7265 libwine.a: wine.def
7266 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7268 libwine.dll: \$(OBJS) wine.def Makefile.in
7269 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7271 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
7272 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7274 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
7275 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7277 uninstall::
7278 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7280 clean::
7281 \$(RM) libwine.dll version.c
7286 darwin*|macosx*)
7287 DLLEXT=".so"
7288 LIBEXT="dylib"
7289 DLLFLAGS="$DLLFLAGS -fPIC"
7290 LIBWINE_LDFLAGS="-multiply_defined suppress"
7291 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7292 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7293 COREFOUNDATIONLIB="-framework CoreFoundation"
7295 IOKITLIB="-framework IOKit -framework CoreFoundation"
7297 FORCEFEEDBACKLIB="-framework ForceFeedback -framework CoreFoundation"
7299 APPLICATIONSERVICESLIB="-framework ApplicationServices"
7301 CORESERVICESLIB="-framework CoreServices"
7303 APPKITLIB="-framework AppKit"
7305 case $host_os in
7306 darwin11*)
7307 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7310 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7312 esac
7313 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7314 then
7315 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
7318 if test "$ac_cv_header_Security_Security_h" = "yes"
7319 then
7320 SECURITYLIB="-framework Security -framework CoreFoundation"
7322 ac_save_LIBS="$LIBS"
7323 LIBS="$LIBS $SECURITYLIB"
7324 for ac_func in SSLCopyPeerCertificates
7325 do :
7326 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7327 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7328 cat >>confdefs.h <<_ACEOF
7329 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7330 _ACEOF
7333 done
7335 LIBS="$ac_save_LIBS"
7336 with_gnutls=${with_gnutls:-no}
7338 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7339 then
7340 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7341 then
7342 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7344 else
7345 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7348 ac_save_LIBS="$LIBS"
7349 LIBS="$LIBS $COREAUDIO"
7350 for ac_func in AUGraphAddNode
7351 do :
7352 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7353 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7354 cat >>confdefs.h <<_ACEOF
7355 #define HAVE_AUGRAPHADDNODE 1
7356 _ACEOF
7359 done
7361 LIBS="$ac_save_LIBS"
7363 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7364 then
7365 FRAMEWORK_OPENAL="-framework OpenAL"
7368 cat >>confdefs.h <<_ACEOF
7369 #define HAVE_OPENAL 1
7370 _ACEOF
7372 ac_cv_lib_openal=yes
7374 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7375 then
7376 LIBOPENCL="-framework OpenCL"
7378 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7380 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7381 then
7382 ac_save_LIBS="$LIBS"
7383 LIBS="$LIBS $IOKITLIB"
7384 for ac_func in IOHIDManagerCreate
7385 do :
7386 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7387 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7388 cat >>confdefs.h <<_ACEOF
7389 #define HAVE_IOHIDMANAGERCREATE 1
7390 _ACEOF
7393 done
7395 LIBS="$ac_save_LIBS"
7397 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7398 then
7399 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7401 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7402 else
7403 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7405 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7406 then
7407 CARBONLIB="-framework Carbon"
7411 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7412 then
7413 ac_save_LIBS="$LIBS"
7414 LIBS="$LIBS $APPLICATIONSERVICESLIB"
7415 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7416 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7417 enable_winemac_drv=${enable_winemac_drv:-yes}
7420 LIBS="$ac_save_LIBS"
7423 if test "x$enable_win16" = "xyes"
7424 then
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7426 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7427 if test "$cross_compiling" = yes; then :
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7429 $as_echo "cross-compiling, assuming yes" >&6; }
7430 else
7431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7432 /* end confdefs.h. */
7433 asm(".text\n"
7434 "bad:\tnop;nop\n"
7435 "good:\tnop;nop\n\t"
7436 ".globl _testfunc\n"
7437 "_testfunc:\tcallw good");
7438 extern void testfunc();
7440 main ()
7442 unsigned short *p = (unsigned short *)testfunc;
7443 return p[0] != 0xe866 || p[1] != 0xfffa
7445 return 0;
7447 _ACEOF
7448 if ac_fn_c_try_run "$LINENO"; then :
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7450 $as_echo "yes" >&6; }
7451 else
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7453 $as_echo "no" >&6; }
7454 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
7456 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7457 conftest.$ac_objext conftest.beam conftest.$ac_ext
7462 LIBWINE_RULES="
7463 all: libwine.dylib
7465 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
7466 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7468 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
7469 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
7471 libwine.dylib: libwine.\$(SOVERSION).dylib
7472 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
7474 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
7475 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
7476 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7478 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7479 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
7481 uninstall::
7482 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7484 clean::
7485 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
7490 linux-android*)
7491 DLLFLAGS="$DLLFLAGS -fPIC"
7492 DLLEXT=".so"
7493 DLLPREFIX="lib"
7494 dlldir="\${libdir}"
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7496 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7497 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7498 $as_echo_n "(cached) " >&6
7499 else
7500 ac_wine_try_cflags_saved=$CFLAGS
7501 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7503 /* end confdefs.h. */
7504 int main(int argc, char **argv) { return 0; }
7505 _ACEOF
7506 if ac_fn_c_try_link "$LINENO"; then :
7507 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7508 else
7509 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7511 rm -f core conftest.err conftest.$ac_objext \
7512 conftest$ac_exeext conftest.$ac_ext
7513 CFLAGS=$ac_wine_try_cflags_saved
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7516 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7517 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7518 LDEXECFLAGS="-Wl,--export-dynamic"
7521 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7523 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7524 if eval \${$as_ac_var+:} false; then :
7525 $as_echo_n "(cached) " >&6
7526 else
7527 ac_wine_try_cflags_saved=$CFLAGS
7528 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7530 /* end confdefs.h. */
7531 int main(int argc, char **argv) { return 0; }
7532 _ACEOF
7533 if ac_fn_c_try_link "$LINENO"; then :
7534 eval "$as_ac_var=yes"
7535 else
7536 eval "$as_ac_var=no"
7538 rm -f core conftest.err conftest.$ac_objext \
7539 conftest$ac_exeext conftest.$ac_ext
7540 CFLAGS=$ac_wine_try_cflags_saved
7542 eval ac_res=\$$as_ac_var
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7544 $as_echo "$ac_res" >&6; }
7545 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7546 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7547 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7548 else
7549 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7551 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7552 if eval \${$as_ac_var+:} false; then :
7553 $as_echo_n "(cached) " >&6
7554 else
7555 ac_wine_try_cflags_saved=$CFLAGS
7556 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7558 /* end confdefs.h. */
7559 int main(int argc, char **argv) { return 0; }
7560 _ACEOF
7561 if ac_fn_c_try_link "$LINENO"; then :
7562 eval "$as_ac_var=yes"
7563 else
7564 eval "$as_ac_var=no"
7566 rm -f core conftest.err conftest.$ac_objext \
7567 conftest$ac_exeext conftest.$ac_ext
7568 CFLAGS=$ac_wine_try_cflags_saved
7570 eval ac_res=\$$as_ac_var
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7572 $as_echo "$ac_res" >&6; }
7573 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7574 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7575 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7580 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7581 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7582 $as_echo_n "(cached) " >&6
7583 else
7584 ac_wine_try_cflags_saved=$CFLAGS
7585 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7587 /* end confdefs.h. */
7588 int main(int argc, char **argv) { return 0; }
7589 _ACEOF
7590 if ac_fn_c_try_link "$LINENO"; then :
7591 ac_cv_cflags__Wl___enable_new_dtags=yes
7592 else
7593 ac_cv_cflags__Wl___enable_new_dtags=no
7595 rm -f core conftest.err conftest.$ac_objext \
7596 conftest$ac_exeext conftest.$ac_ext
7597 CFLAGS=$ac_wine_try_cflags_saved
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7600 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7601 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7602 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7605 case $host_cpu in
7606 *i[3456789]86* | x86_64)
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7608 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7609 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7610 $as_echo_n "(cached) " >&6
7611 else
7612 ac_wine_try_cflags_saved=$CFLAGS
7613 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7615 /* end confdefs.h. */
7616 int main(int argc, char **argv) { return 0; }
7617 _ACEOF
7618 if ac_fn_c_try_link "$LINENO"; then :
7619 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7620 else
7621 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7623 rm -f core conftest.err conftest.$ac_objext \
7624 conftest$ac_exeext conftest.$ac_ext
7625 CFLAGS=$ac_wine_try_cflags_saved
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7628 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7629 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7630 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7633 esac
7635 LIBWINE_RULES="
7636 all: libwine.so
7638 libwine.so: \$(OBJS) Makefile.in
7639 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7641 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7642 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7644 uninstall::
7645 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7647 clean::
7648 \$(RM) libwine.so version.c
7654 DLLFLAGS="$DLLFLAGS -fPIC"
7655 DLLEXT=".so"
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7657 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7658 if ${ac_cv_c_dll_gnuelf+:} false; then :
7659 $as_echo_n "(cached) " >&6
7660 else
7661 ac_wine_try_cflags_saved=$CFLAGS
7662 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7664 /* end confdefs.h. */
7665 void myfunc() {}
7666 _ACEOF
7667 if ac_fn_c_try_link "$LINENO"; then :
7668 ac_cv_c_dll_gnuelf="yes"
7669 else
7670 ac_cv_c_dll_gnuelf="no"
7672 rm -f core conftest.err conftest.$ac_objext \
7673 conftest$ac_exeext conftest.$ac_ext
7674 CFLAGS=$ac_wine_try_cflags_saved
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7677 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7678 if test "$ac_cv_c_dll_gnuelf" = "yes"
7679 then
7680 LDSHARED="\$(CC) -shared"
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7682 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7683 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
7684 $as_echo_n "(cached) " >&6
7685 else
7686 ac_wine_try_cflags_saved=$CFLAGS
7687 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7689 /* end confdefs.h. */
7690 int main(int argc, char **argv) { return 0; }
7691 _ACEOF
7692 if ac_fn_c_try_link "$LINENO"; then :
7693 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
7694 else
7695 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
7697 rm -f core conftest.err conftest.$ac_objext \
7698 conftest$ac_exeext conftest.$ac_ext
7699 CFLAGS=$ac_wine_try_cflags_saved
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7702 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7703 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7704 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7705 else
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7707 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7708 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
7709 $as_echo_n "(cached) " >&6
7710 else
7711 ac_wine_try_cflags_saved=$CFLAGS
7712 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7714 /* end confdefs.h. */
7715 int main(int argc, char **argv) { return 0; }
7716 _ACEOF
7717 if ac_fn_c_try_link "$LINENO"; then :
7718 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
7719 else
7720 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
7722 rm -f core conftest.err conftest.$ac_objext \
7723 conftest$ac_exeext conftest.$ac_ext
7724 CFLAGS=$ac_wine_try_cflags_saved
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7727 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7728 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7729 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7733 echo '{ global: *; };' >conftest.map
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7735 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7736 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
7737 $as_echo_n "(cached) " >&6
7738 else
7739 ac_wine_try_cflags_saved=$CFLAGS
7740 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7742 /* end confdefs.h. */
7743 int main(int argc, char **argv) { return 0; }
7744 _ACEOF
7745 if ac_fn_c_try_link "$LINENO"; then :
7746 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
7747 else
7748 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
7750 rm -f core conftest.err conftest.$ac_objext \
7751 conftest$ac_exeext conftest.$ac_ext
7752 CFLAGS=$ac_wine_try_cflags_saved
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7755 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7756 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7757 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7759 rm -f conftest.map
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7762 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7763 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7764 $as_echo_n "(cached) " >&6
7765 else
7766 ac_wine_try_cflags_saved=$CFLAGS
7767 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7769 /* end confdefs.h. */
7770 int main(int argc, char **argv) { return 0; }
7771 _ACEOF
7772 if ac_fn_c_try_link "$LINENO"; then :
7773 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7774 else
7775 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7777 rm -f core conftest.err conftest.$ac_objext \
7778 conftest$ac_exeext conftest.$ac_ext
7779 CFLAGS=$ac_wine_try_cflags_saved
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7782 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7783 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7784 LDEXECFLAGS="-Wl,--export-dynamic"
7788 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7790 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7791 if eval \${$as_ac_var+:} false; then :
7792 $as_echo_n "(cached) " >&6
7793 else
7794 ac_wine_try_cflags_saved=$CFLAGS
7795 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7797 /* end confdefs.h. */
7798 int main(int argc, char **argv) { return 0; }
7799 _ACEOF
7800 if ac_fn_c_try_link "$LINENO"; then :
7801 eval "$as_ac_var=yes"
7802 else
7803 eval "$as_ac_var=no"
7805 rm -f core conftest.err conftest.$ac_objext \
7806 conftest$ac_exeext conftest.$ac_ext
7807 CFLAGS=$ac_wine_try_cflags_saved
7809 eval ac_res=\$$as_ac_var
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7811 $as_echo "$ac_res" >&6; }
7812 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7813 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7814 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7815 else
7816 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7818 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7819 if eval \${$as_ac_var+:} false; then :
7820 $as_echo_n "(cached) " >&6
7821 else
7822 ac_wine_try_cflags_saved=$CFLAGS
7823 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7825 /* end confdefs.h. */
7826 int main(int argc, char **argv) { return 0; }
7827 _ACEOF
7828 if ac_fn_c_try_link "$LINENO"; then :
7829 eval "$as_ac_var=yes"
7830 else
7831 eval "$as_ac_var=no"
7833 rm -f core conftest.err conftest.$ac_objext \
7834 conftest$ac_exeext conftest.$ac_ext
7835 CFLAGS=$ac_wine_try_cflags_saved
7837 eval ac_res=\$$as_ac_var
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7839 $as_echo "$ac_res" >&6; }
7840 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7841 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7842 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7847 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7848 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7849 $as_echo_n "(cached) " >&6
7850 else
7851 ac_wine_try_cflags_saved=$CFLAGS
7852 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7854 /* end confdefs.h. */
7855 int main(int argc, char **argv) { return 0; }
7856 _ACEOF
7857 if ac_fn_c_try_link "$LINENO"; then :
7858 ac_cv_cflags__Wl___enable_new_dtags=yes
7859 else
7860 ac_cv_cflags__Wl___enable_new_dtags=no
7862 rm -f core conftest.err conftest.$ac_objext \
7863 conftest$ac_exeext conftest.$ac_ext
7864 CFLAGS=$ac_wine_try_cflags_saved
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7867 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7868 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7869 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7872 case $host_cpu in
7873 *i[3456789]86* | x86_64)
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7875 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7876 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7877 $as_echo_n "(cached) " >&6
7878 else
7879 ac_wine_try_cflags_saved=$CFLAGS
7880 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7882 /* end confdefs.h. */
7883 int main(int argc, char **argv) { return 0; }
7884 _ACEOF
7885 if ac_fn_c_try_link "$LINENO"; then :
7886 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7887 else
7888 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7890 rm -f core conftest.err conftest.$ac_objext \
7891 conftest$ac_exeext conftest.$ac_ext
7892 CFLAGS=$ac_wine_try_cflags_saved
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7895 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7896 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7897 case $host_os in
7898 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7899 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7900 esac
7903 # Extract the first word of "prelink", so it can be a program name with args.
7904 set dummy prelink; ac_word=$2
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7906 $as_echo_n "checking for $ac_word... " >&6; }
7907 if ${ac_cv_path_PRELINK+:} false; then :
7908 $as_echo_n "(cached) " >&6
7909 else
7910 case $PRELINK in
7911 [\\/]* | ?:[\\/]*)
7912 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
7915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7916 for as_dir in /sbin /usr/sbin $PATH
7918 IFS=$as_save_IFS
7919 test -z "$as_dir" && as_dir=.
7920 for ac_exec_ext in '' $ac_executable_extensions; do
7921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7922 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
7923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7924 break 2
7926 done
7927 done
7928 IFS=$as_save_IFS
7930 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
7932 esac
7934 PRELINK=$ac_cv_path_PRELINK
7935 if test -n "$PRELINK"; then
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7937 $as_echo "$PRELINK" >&6; }
7938 else
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7940 $as_echo "no" >&6; }
7944 if test "x$PRELINK" = xfalse
7945 then
7946 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
7949 esac
7951 else
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7953 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7954 if ${ac_cv_c_dll_unixware+:} false; then :
7955 $as_echo_n "(cached) " >&6
7956 else
7957 ac_wine_try_cflags_saved=$CFLAGS
7958 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7960 /* end confdefs.h. */
7961 void myfunc() {}
7962 _ACEOF
7963 if ac_fn_c_try_link "$LINENO"; then :
7964 ac_cv_c_dll_unixware="yes"
7965 else
7966 ac_cv_c_dll_unixware="no"
7968 rm -f core conftest.err conftest.$ac_objext \
7969 conftest$ac_exeext conftest.$ac_ext
7970 CFLAGS=$ac_wine_try_cflags_saved
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7973 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7974 if test "$ac_cv_c_dll_unixware" = "yes"
7975 then
7976 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7979 LIBWINE_RULES="
7980 all: libwine.so
7982 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
7983 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7985 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
7986 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
7988 libwine.so: libwine.so.\$(SOVERSION)
7989 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
7991 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
7992 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
7993 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7995 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7996 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
7998 uninstall::
7999 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8001 clean::
8002 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
8006 esac
8008 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8009 enable_winemac_drv=${enable_winemac_drv:-no}
8011 CROSSTEST_DISABLE=\#
8013 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8014 then
8015 case "$host_cpu" in
8016 i[3456789]86*)
8017 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
8018 mingw32-gcc" ;;
8019 x86_64)
8020 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 " ;;
8022 ac_prefix_list="" ;;
8023 esac
8024 for ac_prog in $ac_prefix_list
8026 # Extract the first word of "$ac_prog", so it can be a program name with args.
8027 set dummy $ac_prog; ac_word=$2
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8029 $as_echo_n "checking for $ac_word... " >&6; }
8030 if ${ac_cv_prog_CROSSCC+:} false; then :
8031 $as_echo_n "(cached) " >&6
8032 else
8033 if test -n "$CROSSCC"; then
8034 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8035 else
8036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8037 for as_dir in $PATH
8039 IFS=$as_save_IFS
8040 test -z "$as_dir" && as_dir=.
8041 for ac_exec_ext in '' $ac_executable_extensions; do
8042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8043 ac_cv_prog_CROSSCC="$ac_prog"
8044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8045 break 2
8047 done
8048 done
8049 IFS=$as_save_IFS
8053 CROSSCC=$ac_cv_prog_CROSSCC
8054 if test -n "$CROSSCC"; then
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8056 $as_echo "$CROSSCC" >&6; }
8057 else
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8059 $as_echo "no" >&6; }
8063 test -n "$CROSSCC" && break
8064 done
8065 test -n "$CROSSCC" || CROSSCC="false"
8067 if test "$CROSSCC" != "false"
8068 then
8069 ac_save_CC="$CC"
8070 CC="$CROSSCC"
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8072 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8074 /* end confdefs.h. */
8077 main ()
8081 return 0;
8083 _ACEOF
8084 if ac_fn_c_try_compile "$LINENO"; then :
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8086 $as_echo "yes" >&6; }
8087 set x $CROSSCC
8088 shift
8089 target=""
8090 while test $# -ge 1
8092 case "$1" in
8093 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
8094 esac
8095 shift
8096 done
8097 if test -n "$target"
8098 then
8099 CROSSTEST_DISABLE=""
8100 CROSSTARGET="$target"
8103 else
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8105 $as_echo "no" >&6; }
8107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8108 CC="$ac_save_CC"
8113 if test "$ac_cv_header_pthread_h" = "yes"
8114 then
8115 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8116 if test "x$ac_cv_func_pthread_create" = xyes; then :
8118 else
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8120 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8121 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8122 $as_echo_n "(cached) " >&6
8123 else
8124 ac_check_lib_save_LIBS=$LIBS
8125 LIBS="-lpthread $LIBS"
8126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8127 /* end confdefs.h. */
8129 /* Override any GCC internal prototype to avoid an error.
8130 Use char because int might match the return type of a GCC
8131 builtin and then its argument prototype would still apply. */
8132 #ifdef __cplusplus
8133 extern "C"
8134 #endif
8135 char pthread_create ();
8137 main ()
8139 return pthread_create ();
8141 return 0;
8143 _ACEOF
8144 if ac_fn_c_try_link "$LINENO"; then :
8145 ac_cv_lib_pthread_pthread_create=yes
8146 else
8147 ac_cv_lib_pthread_pthread_create=no
8149 rm -f core conftest.err conftest.$ac_objext \
8150 conftest$ac_exeext conftest.$ac_ext
8151 LIBS=$ac_check_lib_save_LIBS
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8154 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8155 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8156 LIBPTHREAD="-lpthread"
8163 if test "x$ac_cv_func_pthread_create" != xyes -a "x$LIBPTHREAD" = x; then :
8164 case "x$with_pthread" in
8165 xno) ;;
8166 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8167 Wine cannot support threads without libpthread.
8168 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8169 esac
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8174 $as_echo_n "checking for X... " >&6; }
8177 # Check whether --with-x was given.
8178 if test "${with_x+set}" = set; then :
8179 withval=$with_x;
8182 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8183 if test "x$with_x" = xno; then
8184 # The user explicitly disabled X.
8185 have_x=disabled
8186 else
8187 case $x_includes,$x_libraries in #(
8188 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8189 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8190 $as_echo_n "(cached) " >&6
8191 else
8192 # One or both of the vars are not set, and there is no cached value.
8193 ac_x_includes=no ac_x_libraries=no
8194 rm -f -r conftest.dir
8195 if mkdir conftest.dir; then
8196 cd conftest.dir
8197 cat >Imakefile <<'_ACEOF'
8198 incroot:
8199 @echo incroot='${INCROOT}'
8200 usrlibdir:
8201 @echo usrlibdir='${USRLIBDIR}'
8202 libdir:
8203 @echo libdir='${LIBDIR}'
8204 _ACEOF
8205 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8206 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8207 for ac_var in incroot usrlibdir libdir; do
8208 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8209 done
8210 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8211 for ac_extension in a so sl dylib la dll; do
8212 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8213 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8214 ac_im_usrlibdir=$ac_im_libdir; break
8216 done
8217 # Screen out bogus values from the imake configuration. They are
8218 # bogus both because they are the default anyway, and because
8219 # using them would break gcc on systems where it needs fixed includes.
8220 case $ac_im_incroot in
8221 /usr/include) ac_x_includes= ;;
8222 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8223 esac
8224 case $ac_im_usrlibdir in
8225 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8226 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8227 esac
8229 cd ..
8230 rm -f -r conftest.dir
8233 # Standard set of common directories for X headers.
8234 # Check X11 before X11Rn because it is often a symlink to the current release.
8235 ac_x_header_dirs='
8236 /usr/X11/include
8237 /usr/X11R7/include
8238 /usr/X11R6/include
8239 /usr/X11R5/include
8240 /usr/X11R4/include
8242 /usr/include/X11
8243 /usr/include/X11R7
8244 /usr/include/X11R6
8245 /usr/include/X11R5
8246 /usr/include/X11R4
8248 /usr/local/X11/include
8249 /usr/local/X11R7/include
8250 /usr/local/X11R6/include
8251 /usr/local/X11R5/include
8252 /usr/local/X11R4/include
8254 /usr/local/include/X11
8255 /usr/local/include/X11R7
8256 /usr/local/include/X11R6
8257 /usr/local/include/X11R5
8258 /usr/local/include/X11R4
8260 /usr/X386/include
8261 /usr/x386/include
8262 /usr/XFree86/include/X11
8264 /usr/include
8265 /usr/local/include
8266 /usr/unsupported/include
8267 /usr/athena/include
8268 /usr/local/x11r5/include
8269 /usr/lpp/Xamples/include
8271 /usr/openwin/include
8272 /usr/openwin/share/include'
8274 if test "$ac_x_includes" = no; then
8275 # Guess where to find include files, by looking for Xlib.h.
8276 # First, try using that file with no special directory specified.
8277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8278 /* end confdefs.h. */
8279 #include <X11/Xlib.h>
8280 _ACEOF
8281 if ac_fn_c_try_cpp "$LINENO"; then :
8282 # We can compile using X headers with no special include directory.
8283 ac_x_includes=
8284 else
8285 for ac_dir in $ac_x_header_dirs; do
8286 if test -r "$ac_dir/X11/Xlib.h"; then
8287 ac_x_includes=$ac_dir
8288 break
8290 done
8292 rm -f conftest.err conftest.i conftest.$ac_ext
8293 fi # $ac_x_includes = no
8295 if test "$ac_x_libraries" = no; then
8296 # Check for the libraries.
8297 # See if we find them without any special options.
8298 # Don't add to $LIBS permanently.
8299 ac_save_LIBS=$LIBS
8300 LIBS="-lX11 $LIBS"
8301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8302 /* end confdefs.h. */
8303 #include <X11/Xlib.h>
8305 main ()
8307 XrmInitialize ()
8309 return 0;
8311 _ACEOF
8312 if ac_fn_c_try_link "$LINENO"; then :
8313 LIBS=$ac_save_LIBS
8314 # We can link X programs with no special library path.
8315 ac_x_libraries=
8316 else
8317 LIBS=$ac_save_LIBS
8318 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8320 # Don't even attempt the hair of trying to link an X program!
8321 for ac_extension in a so sl dylib la dll; do
8322 if test -r "$ac_dir/libX11.$ac_extension"; then
8323 ac_x_libraries=$ac_dir
8324 break 2
8326 done
8327 done
8329 rm -f core conftest.err conftest.$ac_objext \
8330 conftest$ac_exeext conftest.$ac_ext
8331 fi # $ac_x_libraries = no
8333 case $ac_x_includes,$ac_x_libraries in #(
8334 no,* | *,no | *\'*)
8335 # Didn't find X, or a directory has "'" in its name.
8336 ac_cv_have_x="have_x=no";; #(
8338 # Record where we found X for the cache.
8339 ac_cv_have_x="have_x=yes\
8340 ac_x_includes='$ac_x_includes'\
8341 ac_x_libraries='$ac_x_libraries'"
8342 esac
8344 ;; #(
8345 *) have_x=yes;;
8346 esac
8347 eval "$ac_cv_have_x"
8348 fi # $with_x != no
8350 if test "$have_x" != yes; then
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8352 $as_echo "$have_x" >&6; }
8353 no_x=yes
8354 else
8355 # If each of the values was on the command line, it overrides each guess.
8356 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8357 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8358 # Update the cache value to reflect the command line values.
8359 ac_cv_have_x="have_x=yes\
8360 ac_x_includes='$x_includes'\
8361 ac_x_libraries='$x_libraries'"
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8363 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8366 if test "$no_x" = yes; then
8367 # Not all programs may use this symbol, but it does not hurt to define it.
8369 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8371 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8372 else
8373 if test -n "$x_includes"; then
8374 X_CFLAGS="$X_CFLAGS -I$x_includes"
8377 # It would also be nice to do this for all -L options, not just this one.
8378 if test -n "$x_libraries"; then
8379 X_LIBS="$X_LIBS -L$x_libraries"
8380 # For Solaris; some versions of Sun CC require a space after -R and
8381 # others require no space. Words are not sufficient . . . .
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8383 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8384 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8385 ac_xsave_c_werror_flag=$ac_c_werror_flag
8386 ac_c_werror_flag=yes
8387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8388 /* end confdefs.h. */
8391 main ()
8395 return 0;
8397 _ACEOF
8398 if ac_fn_c_try_link "$LINENO"; then :
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8400 $as_echo "no" >&6; }
8401 X_LIBS="$X_LIBS -R$x_libraries"
8402 else
8403 LIBS="$ac_xsave_LIBS -R $x_libraries"
8404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8405 /* end confdefs.h. */
8408 main ()
8412 return 0;
8414 _ACEOF
8415 if ac_fn_c_try_link "$LINENO"; then :
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8417 $as_echo "yes" >&6; }
8418 X_LIBS="$X_LIBS -R $x_libraries"
8419 else
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8421 $as_echo "neither works" >&6; }
8423 rm -f core conftest.err conftest.$ac_objext \
8424 conftest$ac_exeext conftest.$ac_ext
8426 rm -f core conftest.err conftest.$ac_objext \
8427 conftest$ac_exeext conftest.$ac_ext
8428 ac_c_werror_flag=$ac_xsave_c_werror_flag
8429 LIBS=$ac_xsave_LIBS
8432 # Check for system-dependent libraries X programs must link with.
8433 # Do this before checking for the system-independent R6 libraries
8434 # (-lICE), since we may need -lsocket or whatever for X linking.
8436 if test "$ISC" = yes; then
8437 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8438 else
8439 # Martyn Johnson says this is needed for Ultrix, if the X
8440 # libraries were built with DECnet support. And Karl Berry says
8441 # the Alpha needs dnet_stub (dnet does not exist).
8442 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8444 /* end confdefs.h. */
8446 /* Override any GCC internal prototype to avoid an error.
8447 Use char because int might match the return type of a GCC
8448 builtin and then its argument prototype would still apply. */
8449 #ifdef __cplusplus
8450 extern "C"
8451 #endif
8452 char XOpenDisplay ();
8454 main ()
8456 return XOpenDisplay ();
8458 return 0;
8460 _ACEOF
8461 if ac_fn_c_try_link "$LINENO"; then :
8463 else
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8465 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8466 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8467 $as_echo_n "(cached) " >&6
8468 else
8469 ac_check_lib_save_LIBS=$LIBS
8470 LIBS="-ldnet $LIBS"
8471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8472 /* end confdefs.h. */
8474 /* Override any GCC internal prototype to avoid an error.
8475 Use char because int might match the return type of a GCC
8476 builtin and then its argument prototype would still apply. */
8477 #ifdef __cplusplus
8478 extern "C"
8479 #endif
8480 char dnet_ntoa ();
8482 main ()
8484 return dnet_ntoa ();
8486 return 0;
8488 _ACEOF
8489 if ac_fn_c_try_link "$LINENO"; then :
8490 ac_cv_lib_dnet_dnet_ntoa=yes
8491 else
8492 ac_cv_lib_dnet_dnet_ntoa=no
8494 rm -f core conftest.err conftest.$ac_objext \
8495 conftest$ac_exeext conftest.$ac_ext
8496 LIBS=$ac_check_lib_save_LIBS
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8499 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8500 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8501 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8504 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8506 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8507 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8508 $as_echo_n "(cached) " >&6
8509 else
8510 ac_check_lib_save_LIBS=$LIBS
8511 LIBS="-ldnet_stub $LIBS"
8512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8513 /* end confdefs.h. */
8515 /* Override any GCC internal prototype to avoid an error.
8516 Use char because int might match the return type of a GCC
8517 builtin and then its argument prototype would still apply. */
8518 #ifdef __cplusplus
8519 extern "C"
8520 #endif
8521 char dnet_ntoa ();
8523 main ()
8525 return dnet_ntoa ();
8527 return 0;
8529 _ACEOF
8530 if ac_fn_c_try_link "$LINENO"; then :
8531 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8532 else
8533 ac_cv_lib_dnet_stub_dnet_ntoa=no
8535 rm -f core conftest.err conftest.$ac_objext \
8536 conftest$ac_exeext conftest.$ac_ext
8537 LIBS=$ac_check_lib_save_LIBS
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8540 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8541 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8542 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8547 rm -f core conftest.err conftest.$ac_objext \
8548 conftest$ac_exeext conftest.$ac_ext
8549 LIBS="$ac_xsave_LIBS"
8551 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8552 # to get the SysV transport functions.
8553 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8554 # needs -lnsl.
8555 # The nsl library prevents programs from opening the X display
8556 # on Irix 5.2, according to T.E. Dickey.
8557 # The functions gethostbyname, getservbyname, and inet_addr are
8558 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8559 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8560 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8564 if test $ac_cv_func_gethostbyname = no; then
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8566 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8567 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8568 $as_echo_n "(cached) " >&6
8569 else
8570 ac_check_lib_save_LIBS=$LIBS
8571 LIBS="-lnsl $LIBS"
8572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8573 /* end confdefs.h. */
8575 /* Override any GCC internal prototype to avoid an error.
8576 Use char because int might match the return type of a GCC
8577 builtin and then its argument prototype would still apply. */
8578 #ifdef __cplusplus
8579 extern "C"
8580 #endif
8581 char gethostbyname ();
8583 main ()
8585 return gethostbyname ();
8587 return 0;
8589 _ACEOF
8590 if ac_fn_c_try_link "$LINENO"; then :
8591 ac_cv_lib_nsl_gethostbyname=yes
8592 else
8593 ac_cv_lib_nsl_gethostbyname=no
8595 rm -f core conftest.err conftest.$ac_objext \
8596 conftest$ac_exeext conftest.$ac_ext
8597 LIBS=$ac_check_lib_save_LIBS
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8600 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8601 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
8602 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
8605 if test $ac_cv_lib_nsl_gethostbyname = no; then
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8607 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8608 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
8609 $as_echo_n "(cached) " >&6
8610 else
8611 ac_check_lib_save_LIBS=$LIBS
8612 LIBS="-lbsd $LIBS"
8613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8614 /* end confdefs.h. */
8616 /* Override any GCC internal prototype to avoid an error.
8617 Use char because int might match the return type of a GCC
8618 builtin and then its argument prototype would still apply. */
8619 #ifdef __cplusplus
8620 extern "C"
8621 #endif
8622 char gethostbyname ();
8624 main ()
8626 return gethostbyname ();
8628 return 0;
8630 _ACEOF
8631 if ac_fn_c_try_link "$LINENO"; then :
8632 ac_cv_lib_bsd_gethostbyname=yes
8633 else
8634 ac_cv_lib_bsd_gethostbyname=no
8636 rm -f core conftest.err conftest.$ac_objext \
8637 conftest$ac_exeext conftest.$ac_ext
8638 LIBS=$ac_check_lib_save_LIBS
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8641 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8642 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
8643 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
8649 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8650 # socket/setsockopt and other routines are undefined under SCO ODT
8651 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8652 # on later versions), says Simon Leinen: it contains gethostby*
8653 # variants that don't use the name server (or something). -lsocket
8654 # must be given before -lnsl if both are needed. We assume that
8655 # if connect needs -lnsl, so does gethostbyname.
8656 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
8657 if test "x$ac_cv_func_connect" = xyes; then :
8661 if test $ac_cv_func_connect = no; then
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8663 $as_echo_n "checking for connect in -lsocket... " >&6; }
8664 if ${ac_cv_lib_socket_connect+:} false; then :
8665 $as_echo_n "(cached) " >&6
8666 else
8667 ac_check_lib_save_LIBS=$LIBS
8668 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
8669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8670 /* end confdefs.h. */
8672 /* Override any GCC internal prototype to avoid an error.
8673 Use char because int might match the return type of a GCC
8674 builtin and then its argument prototype would still apply. */
8675 #ifdef __cplusplus
8676 extern "C"
8677 #endif
8678 char connect ();
8680 main ()
8682 return connect ();
8684 return 0;
8686 _ACEOF
8687 if ac_fn_c_try_link "$LINENO"; then :
8688 ac_cv_lib_socket_connect=yes
8689 else
8690 ac_cv_lib_socket_connect=no
8692 rm -f core conftest.err conftest.$ac_objext \
8693 conftest$ac_exeext conftest.$ac_ext
8694 LIBS=$ac_check_lib_save_LIBS
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8697 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8698 if test "x$ac_cv_lib_socket_connect" = xyes; then :
8699 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
8704 # Guillermo Gomez says -lposix is necessary on A/UX.
8705 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
8706 if test "x$ac_cv_func_remove" = xyes; then :
8710 if test $ac_cv_func_remove = no; then
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8712 $as_echo_n "checking for remove in -lposix... " >&6; }
8713 if ${ac_cv_lib_posix_remove+:} false; then :
8714 $as_echo_n "(cached) " >&6
8715 else
8716 ac_check_lib_save_LIBS=$LIBS
8717 LIBS="-lposix $LIBS"
8718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8719 /* end confdefs.h. */
8721 /* Override any GCC internal prototype to avoid an error.
8722 Use char because int might match the return type of a GCC
8723 builtin and then its argument prototype would still apply. */
8724 #ifdef __cplusplus
8725 extern "C"
8726 #endif
8727 char remove ();
8729 main ()
8731 return remove ();
8733 return 0;
8735 _ACEOF
8736 if ac_fn_c_try_link "$LINENO"; then :
8737 ac_cv_lib_posix_remove=yes
8738 else
8739 ac_cv_lib_posix_remove=no
8741 rm -f core conftest.err conftest.$ac_objext \
8742 conftest$ac_exeext conftest.$ac_ext
8743 LIBS=$ac_check_lib_save_LIBS
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8746 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8747 if test "x$ac_cv_lib_posix_remove" = xyes; then :
8748 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
8753 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8754 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
8755 if test "x$ac_cv_func_shmat" = xyes; then :
8759 if test $ac_cv_func_shmat = no; then
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8761 $as_echo_n "checking for shmat in -lipc... " >&6; }
8762 if ${ac_cv_lib_ipc_shmat+:} false; then :
8763 $as_echo_n "(cached) " >&6
8764 else
8765 ac_check_lib_save_LIBS=$LIBS
8766 LIBS="-lipc $LIBS"
8767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8768 /* end confdefs.h. */
8770 /* Override any GCC internal prototype to avoid an error.
8771 Use char because int might match the return type of a GCC
8772 builtin and then its argument prototype would still apply. */
8773 #ifdef __cplusplus
8774 extern "C"
8775 #endif
8776 char shmat ();
8778 main ()
8780 return shmat ();
8782 return 0;
8784 _ACEOF
8785 if ac_fn_c_try_link "$LINENO"; then :
8786 ac_cv_lib_ipc_shmat=yes
8787 else
8788 ac_cv_lib_ipc_shmat=no
8790 rm -f core conftest.err conftest.$ac_objext \
8791 conftest$ac_exeext conftest.$ac_ext
8792 LIBS=$ac_check_lib_save_LIBS
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8795 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8796 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
8797 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
8803 # Check for libraries that X11R6 Xt/Xaw programs need.
8804 ac_save_LDFLAGS=$LDFLAGS
8805 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
8806 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8807 # check for ICE first), but we must link in the order -lSM -lICE or
8808 # we get undefined symbols. So assume we have SM if we have ICE.
8809 # These have to be linked with before -lX11, unlike the other
8810 # libraries we check for below, so use a different variable.
8811 # John Interrante, Karl Berry
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8813 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8814 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
8815 $as_echo_n "(cached) " >&6
8816 else
8817 ac_check_lib_save_LIBS=$LIBS
8818 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
8819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8820 /* end confdefs.h. */
8822 /* Override any GCC internal prototype to avoid an error.
8823 Use char because int might match the return type of a GCC
8824 builtin and then its argument prototype would still apply. */
8825 #ifdef __cplusplus
8826 extern "C"
8827 #endif
8828 char IceConnectionNumber ();
8830 main ()
8832 return IceConnectionNumber ();
8834 return 0;
8836 _ACEOF
8837 if ac_fn_c_try_link "$LINENO"; then :
8838 ac_cv_lib_ICE_IceConnectionNumber=yes
8839 else
8840 ac_cv_lib_ICE_IceConnectionNumber=no
8842 rm -f core conftest.err conftest.$ac_objext \
8843 conftest$ac_exeext conftest.$ac_ext
8844 LIBS=$ac_check_lib_save_LIBS
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8847 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8848 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
8849 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
8852 LDFLAGS=$ac_save_LDFLAGS
8857 if test "$have_x" = "yes"
8858 then
8859 XLIB="-lX11"
8860 ac_save_CPPFLAGS="$CPPFLAGS"
8861 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8864 $as_echo_n "checking for -lX11... " >&6; }
8865 if ${ac_cv_lib_soname_X11+:} false; then :
8866 $as_echo_n "(cached) " >&6
8867 else
8868 ac_check_soname_save_LIBS=$LIBS
8869 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8871 /* end confdefs.h. */
8873 /* Override any GCC internal prototype to avoid an error.
8874 Use char because int might match the return type of a GCC
8875 builtin and then its argument prototype would still apply. */
8876 #ifdef __cplusplus
8877 extern "C"
8878 #endif
8879 char XCreateWindow ();
8881 main ()
8883 return XCreateWindow ();
8885 return 0;
8887 _ACEOF
8888 if ac_fn_c_try_link "$LINENO"; then :
8889 case "$LIBEXT" in
8890 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8891 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'` ;;
8892 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8893 if test "x$ac_cv_lib_soname_X11" = x; then :
8894 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8895 fi ;;
8896 esac
8898 rm -f core conftest.err conftest.$ac_objext \
8899 conftest$ac_exeext conftest.$ac_ext
8900 LIBS=$ac_check_soname_save_LIBS
8902 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8904 $as_echo "not found" >&6; }
8906 else
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8908 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8910 cat >>confdefs.h <<_ACEOF
8911 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8912 _ACEOF
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8917 $as_echo_n "checking for -lXext... " >&6; }
8918 if ${ac_cv_lib_soname_Xext+:} false; then :
8919 $as_echo_n "(cached) " >&6
8920 else
8921 ac_check_soname_save_LIBS=$LIBS
8922 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8924 /* end confdefs.h. */
8926 /* Override any GCC internal prototype to avoid an error.
8927 Use char because int might match the return type of a GCC
8928 builtin and then its argument prototype would still apply. */
8929 #ifdef __cplusplus
8930 extern "C"
8931 #endif
8932 char XextCreateExtension ();
8934 main ()
8936 return XextCreateExtension ();
8938 return 0;
8940 _ACEOF
8941 if ac_fn_c_try_link "$LINENO"; then :
8942 case "$LIBEXT" in
8943 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8944 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'` ;;
8945 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8946 if test "x$ac_cv_lib_soname_Xext" = x; then :
8947 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8948 fi ;;
8949 esac
8951 rm -f core conftest.err conftest.$ac_objext \
8952 conftest$ac_exeext conftest.$ac_ext
8953 LIBS=$ac_check_soname_save_LIBS
8955 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8957 $as_echo "not found" >&6; }
8959 else
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8961 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8963 cat >>confdefs.h <<_ACEOF
8964 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8965 _ACEOF
8967 XLIB="-lXext $XLIB"
8970 for ac_header in X11/Xlib.h \
8971 X11/XKBlib.h \
8972 X11/Xutil.h \
8973 X11/Xcursor/Xcursor.h \
8974 X11/extensions/shape.h \
8975 X11/extensions/XInput.h \
8976 X11/extensions/XInput2.h \
8977 X11/extensions/XShm.h \
8978 X11/extensions/Xcomposite.h \
8979 X11/extensions/Xinerama.h \
8980 X11/extensions/Xrandr.h \
8981 X11/extensions/Xrender.h \
8982 X11/extensions/xf86vmode.h \
8983 X11/extensions/xf86vmproto.h
8984 do :
8985 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8986 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8987 # include <X11/Xlib.h>
8988 #endif
8989 #ifdef HAVE_X11_XUTIL_H
8990 # include <X11/Xutil.h>
8991 #endif
8993 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8994 cat >>confdefs.h <<_ACEOF
8995 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8996 _ACEOF
9000 done
9003 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9004 then
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9006 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9007 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9008 $as_echo_n "(cached) " >&6
9009 else
9010 ac_check_lib_save_LIBS=$LIBS
9011 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9013 /* end confdefs.h. */
9015 /* Override any GCC internal prototype to avoid an error.
9016 Use char because int might match the return type of a GCC
9017 builtin and then its argument prototype would still apply. */
9018 #ifdef __cplusplus
9019 extern "C"
9020 #endif
9021 char XkbQueryExtension ();
9023 main ()
9025 return XkbQueryExtension ();
9027 return 0;
9029 _ACEOF
9030 if ac_fn_c_try_link "$LINENO"; then :
9031 ac_cv_lib_X11_XkbQueryExtension=yes
9032 else
9033 ac_cv_lib_X11_XkbQueryExtension=no
9035 rm -f core conftest.err conftest.$ac_objext \
9036 conftest$ac_exeext conftest.$ac_ext
9037 LIBS=$ac_check_lib_save_LIBS
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9040 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9041 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9043 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9049 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9050 then
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9052 $as_echo_n "checking for -lXcursor... " >&6; }
9053 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9054 $as_echo_n "(cached) " >&6
9055 else
9056 ac_check_soname_save_LIBS=$LIBS
9057 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9059 /* end confdefs.h. */
9061 /* Override any GCC internal prototype to avoid an error.
9062 Use char because int might match the return type of a GCC
9063 builtin and then its argument prototype would still apply. */
9064 #ifdef __cplusplus
9065 extern "C"
9066 #endif
9067 char XcursorImageLoadCursor ();
9069 main ()
9071 return XcursorImageLoadCursor ();
9073 return 0;
9075 _ACEOF
9076 if ac_fn_c_try_link "$LINENO"; then :
9077 case "$LIBEXT" in
9078 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9079 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'` ;;
9080 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9081 if test "x$ac_cv_lib_soname_Xcursor" = x; then :
9082 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9083 fi ;;
9084 esac
9086 rm -f core conftest.err conftest.$ac_objext \
9087 conftest$ac_exeext conftest.$ac_ext
9088 LIBS=$ac_check_soname_save_LIBS
9090 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9092 $as_echo "not found" >&6; }
9094 else
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9096 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9098 cat >>confdefs.h <<_ACEOF
9099 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9100 _ACEOF
9105 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9106 case "x$with_xcursor" in
9107 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9108 xno) ;;
9109 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9110 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9111 esac
9114 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9115 then
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9117 $as_echo_n "checking for -lXi... " >&6; }
9118 if ${ac_cv_lib_soname_Xi+:} false; then :
9119 $as_echo_n "(cached) " >&6
9120 else
9121 ac_check_soname_save_LIBS=$LIBS
9122 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9124 /* end confdefs.h. */
9126 /* Override any GCC internal prototype to avoid an error.
9127 Use char because int might match the return type of a GCC
9128 builtin and then its argument prototype would still apply. */
9129 #ifdef __cplusplus
9130 extern "C"
9131 #endif
9132 char XOpenDevice ();
9134 main ()
9136 return XOpenDevice ();
9138 return 0;
9140 _ACEOF
9141 if ac_fn_c_try_link "$LINENO"; then :
9142 case "$LIBEXT" in
9143 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9144 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'` ;;
9145 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9146 if test "x$ac_cv_lib_soname_Xi" = x; then :
9147 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9148 fi ;;
9149 esac
9151 rm -f core conftest.err conftest.$ac_objext \
9152 conftest$ac_exeext conftest.$ac_ext
9153 LIBS=$ac_check_soname_save_LIBS
9155 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9157 $as_echo "not found" >&6; }
9159 else
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9161 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9163 cat >>confdefs.h <<_ACEOF
9164 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9165 _ACEOF
9170 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9171 case "x$with_xinput" in
9172 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9173 xno) ;;
9174 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9175 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9176 esac
9179 if test "x$ac_cv_lib_soname_Xi" != x
9180 then
9181 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9182 case "x$with_xinput2" in
9183 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9184 xno) ;;
9185 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9186 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9187 esac
9191 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9192 then
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9194 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9195 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9196 $as_echo_n "(cached) " >&6
9197 else
9198 ac_check_lib_save_LIBS=$LIBS
9199 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9201 /* end confdefs.h. */
9203 /* Override any GCC internal prototype to avoid an error.
9204 Use char because int might match the return type of a GCC
9205 builtin and then its argument prototype would still apply. */
9206 #ifdef __cplusplus
9207 extern "C"
9208 #endif
9209 char XShmQueryExtension ();
9211 main ()
9213 return XShmQueryExtension ();
9215 return 0;
9217 _ACEOF
9218 if ac_fn_c_try_link "$LINENO"; then :
9219 ac_cv_lib_Xext_XShmQueryExtension=yes
9220 else
9221 ac_cv_lib_Xext_XShmQueryExtension=no
9223 rm -f core conftest.err conftest.$ac_objext \
9224 conftest$ac_exeext conftest.$ac_ext
9225 LIBS=$ac_check_lib_save_LIBS
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9228 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9229 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9231 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9236 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9237 case "x$with_xshm" in
9238 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9239 xno) ;;
9240 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9241 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9242 esac
9245 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9246 then
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9248 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9249 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9250 $as_echo_n "(cached) " >&6
9251 else
9252 ac_check_lib_save_LIBS=$LIBS
9253 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9255 /* end confdefs.h. */
9257 /* Override any GCC internal prototype to avoid an error.
9258 Use char because int might match the return type of a GCC
9259 builtin and then its argument prototype would still apply. */
9260 #ifdef __cplusplus
9261 extern "C"
9262 #endif
9263 char XShapeQueryExtension ();
9265 main ()
9267 return XShapeQueryExtension ();
9269 return 0;
9271 _ACEOF
9272 if ac_fn_c_try_link "$LINENO"; then :
9273 ac_cv_lib_Xext_XShapeQueryExtension=yes
9274 else
9275 ac_cv_lib_Xext_XShapeQueryExtension=no
9277 rm -f core conftest.err conftest.$ac_objext \
9278 conftest$ac_exeext conftest.$ac_ext
9279 LIBS=$ac_check_lib_save_LIBS
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9282 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9283 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9285 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9290 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9291 case "x$with_xshape" in
9292 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9293 xno) ;;
9294 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9295 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9296 esac
9299 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9300 then
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9302 $as_echo_n "checking for -lXxf86vm... " >&6; }
9303 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9304 $as_echo_n "(cached) " >&6
9305 else
9306 ac_check_soname_save_LIBS=$LIBS
9307 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9309 /* end confdefs.h. */
9311 /* Override any GCC internal prototype to avoid an error.
9312 Use char because int might match the return type of a GCC
9313 builtin and then its argument prototype would still apply. */
9314 #ifdef __cplusplus
9315 extern "C"
9316 #endif
9317 char XF86VidModeQueryExtension ();
9319 main ()
9321 return XF86VidModeQueryExtension ();
9323 return 0;
9325 _ACEOF
9326 if ac_fn_c_try_link "$LINENO"; then :
9327 case "$LIBEXT" in
9328 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9329 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'` ;;
9330 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9331 if test "x$ac_cv_lib_soname_Xxf86vm" = x; then :
9332 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9333 fi ;;
9334 esac
9336 rm -f core conftest.err conftest.$ac_objext \
9337 conftest$ac_exeext conftest.$ac_ext
9338 LIBS=$ac_check_soname_save_LIBS
9340 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9342 $as_echo "not found" >&6; }
9344 else
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9346 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9348 cat >>confdefs.h <<_ACEOF
9349 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9350 _ACEOF
9355 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9356 case "x$with_xxf86vm" in
9357 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9358 xno) ;;
9359 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9360 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9361 esac
9364 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
9365 then
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9367 $as_echo_n "checking for -lXrender... " >&6; }
9368 if ${ac_cv_lib_soname_Xrender+:} false; then :
9369 $as_echo_n "(cached) " >&6
9370 else
9371 ac_check_soname_save_LIBS=$LIBS
9372 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9374 /* end confdefs.h. */
9376 /* Override any GCC internal prototype to avoid an error.
9377 Use char because int might match the return type of a GCC
9378 builtin and then its argument prototype would still apply. */
9379 #ifdef __cplusplus
9380 extern "C"
9381 #endif
9382 char XRenderQueryExtension ();
9384 main ()
9386 return XRenderQueryExtension ();
9388 return 0;
9390 _ACEOF
9391 if ac_fn_c_try_link "$LINENO"; then :
9392 case "$LIBEXT" in
9393 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9394 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'` ;;
9395 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9396 if test "x$ac_cv_lib_soname_Xrender" = x; then :
9397 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9398 fi ;;
9399 esac
9401 rm -f core conftest.err conftest.$ac_objext \
9402 conftest$ac_exeext conftest.$ac_ext
9403 LIBS=$ac_check_soname_save_LIBS
9405 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9407 $as_echo "not found" >&6; }
9409 else
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9411 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9413 cat >>confdefs.h <<_ACEOF
9414 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9415 _ACEOF
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9418 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9419 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9420 $as_echo_n "(cached) " >&6
9421 else
9422 ac_check_lib_save_LIBS=$LIBS
9423 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9425 /* end confdefs.h. */
9427 /* Override any GCC internal prototype to avoid an error.
9428 Use char because int might match the return type of a GCC
9429 builtin and then its argument prototype would still apply. */
9430 #ifdef __cplusplus
9431 extern "C"
9432 #endif
9433 char XRenderSetPictureTransform ();
9435 main ()
9437 return XRenderSetPictureTransform ();
9439 return 0;
9441 _ACEOF
9442 if ac_fn_c_try_link "$LINENO"; then :
9443 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9444 else
9445 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9447 rm -f core conftest.err conftest.$ac_objext \
9448 conftest$ac_exeext conftest.$ac_ext
9449 LIBS=$ac_check_lib_save_LIBS
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9452 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9453 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9455 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9460 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9461 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9462 $as_echo_n "(cached) " >&6
9463 else
9464 ac_check_lib_save_LIBS=$LIBS
9465 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9467 /* end confdefs.h. */
9469 /* Override any GCC internal prototype to avoid an error.
9470 Use char because int might match the return type of a GCC
9471 builtin and then its argument prototype would still apply. */
9472 #ifdef __cplusplus
9473 extern "C"
9474 #endif
9475 char XRenderCreateLinearGradient ();
9477 main ()
9479 return XRenderCreateLinearGradient ();
9481 return 0;
9483 _ACEOF
9484 if ac_fn_c_try_link "$LINENO"; then :
9485 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9486 else
9487 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9489 rm -f core conftest.err conftest.$ac_objext \
9490 conftest$ac_exeext conftest.$ac_ext
9491 LIBS=$ac_check_lib_save_LIBS
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9494 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9495 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9497 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9504 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9505 case "x$with_xrender" in
9506 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9507 xno) ;;
9508 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9509 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9510 esac
9513 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9514 then
9515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9516 /* end confdefs.h. */
9517 #include <X11/Xlib.h>
9518 #include <X11/extensions/Xrandr.h>
9520 main ()
9522 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9524 return 0;
9526 _ACEOF
9527 if ac_fn_c_try_compile "$LINENO"; then :
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9529 $as_echo_n "checking for -lXrandr... " >&6; }
9530 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9531 $as_echo_n "(cached) " >&6
9532 else
9533 ac_check_soname_save_LIBS=$LIBS
9534 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9536 /* end confdefs.h. */
9538 /* Override any GCC internal prototype to avoid an error.
9539 Use char because int might match the return type of a GCC
9540 builtin and then its argument prototype would still apply. */
9541 #ifdef __cplusplus
9542 extern "C"
9543 #endif
9544 char XRRQueryExtension ();
9546 main ()
9548 return XRRQueryExtension ();
9550 return 0;
9552 _ACEOF
9553 if ac_fn_c_try_link "$LINENO"; then :
9554 case "$LIBEXT" in
9555 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9556 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'` ;;
9557 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9558 if test "x$ac_cv_lib_soname_Xrandr" = x; then :
9559 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9560 fi ;;
9561 esac
9563 rm -f core conftest.err conftest.$ac_objext \
9564 conftest$ac_exeext conftest.$ac_ext
9565 LIBS=$ac_check_soname_save_LIBS
9567 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9569 $as_echo "not found" >&6; }
9571 else
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9573 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9575 cat >>confdefs.h <<_ACEOF
9576 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9577 _ACEOF
9579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9580 /* end confdefs.h. */
9581 #include <X11/Xlib.h>
9582 #include <X11/extensions/Xrandr.h>
9584 main ()
9586 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9588 return 0;
9590 _ACEOF
9591 if ac_fn_c_try_compile "$LINENO"; then :
9593 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9601 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9602 case "x$with_xrandr" in
9603 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9604 xno) ;;
9605 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9606 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9607 esac
9610 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9611 then
9612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9613 /* end confdefs.h. */
9614 #include <X11/Xlib.h>
9615 #include <X11/extensions/Xinerama.h>
9617 main ()
9619 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9621 return 0;
9623 _ACEOF
9624 if ac_fn_c_try_compile "$LINENO"; then :
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9626 $as_echo_n "checking for -lXinerama... " >&6; }
9627 if ${ac_cv_lib_soname_Xinerama+:} false; then :
9628 $as_echo_n "(cached) " >&6
9629 else
9630 ac_check_soname_save_LIBS=$LIBS
9631 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9633 /* end confdefs.h. */
9635 /* Override any GCC internal prototype to avoid an error.
9636 Use char because int might match the return type of a GCC
9637 builtin and then its argument prototype would still apply. */
9638 #ifdef __cplusplus
9639 extern "C"
9640 #endif
9641 char XineramaQueryScreens ();
9643 main ()
9645 return XineramaQueryScreens ();
9647 return 0;
9649 _ACEOF
9650 if ac_fn_c_try_link "$LINENO"; then :
9651 case "$LIBEXT" in
9652 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9653 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'` ;;
9654 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9655 if test "x$ac_cv_lib_soname_Xinerama" = x; then :
9656 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9657 fi ;;
9658 esac
9660 rm -f core conftest.err conftest.$ac_objext \
9661 conftest$ac_exeext conftest.$ac_ext
9662 LIBS=$ac_check_soname_save_LIBS
9664 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9666 $as_echo "not found" >&6; }
9668 else
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9670 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9672 cat >>confdefs.h <<_ACEOF
9673 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9674 _ACEOF
9679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9681 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9682 case "x$with_xinerama" in
9683 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9684 xno) ;;
9685 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9686 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9687 esac
9690 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9691 then
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9693 $as_echo_n "checking for -lXcomposite... " >&6; }
9694 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
9695 $as_echo_n "(cached) " >&6
9696 else
9697 ac_check_soname_save_LIBS=$LIBS
9698 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9700 /* end confdefs.h. */
9702 /* Override any GCC internal prototype to avoid an error.
9703 Use char because int might match the return type of a GCC
9704 builtin and then its argument prototype would still apply. */
9705 #ifdef __cplusplus
9706 extern "C"
9707 #endif
9708 char XCompositeRedirectWindow ();
9710 main ()
9712 return XCompositeRedirectWindow ();
9714 return 0;
9716 _ACEOF
9717 if ac_fn_c_try_link "$LINENO"; then :
9718 case "$LIBEXT" in
9719 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9720 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'` ;;
9721 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9722 if test "x$ac_cv_lib_soname_Xcomposite" = x; then :
9723 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9724 fi ;;
9725 esac
9727 rm -f core conftest.err conftest.$ac_objext \
9728 conftest$ac_exeext conftest.$ac_ext
9729 LIBS=$ac_check_soname_save_LIBS
9731 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9733 $as_echo "not found" >&6; }
9735 else
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9737 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9739 cat >>confdefs.h <<_ACEOF
9740 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9741 _ACEOF
9746 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9747 case "x$with_xcomposite" in
9748 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9749 xno) ;;
9750 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9751 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9752 esac
9755 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9756 #include <X11/Xlib.h>
9757 #endif
9759 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
9761 cat >>confdefs.h <<_ACEOF
9762 #define HAVE_XICCALLBACK_CALLBACK 1
9763 _ACEOF
9767 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9768 #include <X11/Xlib.h>
9769 #endif
9771 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
9773 cat >>confdefs.h <<_ACEOF
9774 #define HAVE_XEVENT_XCOOKIE 1
9775 _ACEOF
9782 opengl_msg=""
9783 if test "x$with_opengl" != "xno"
9784 then
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9786 $as_echo_n "checking for -lGL... " >&6; }
9787 if ${ac_cv_lib_soname_GL+:} false; then :
9788 $as_echo_n "(cached) " >&6
9789 else
9790 ac_check_soname_save_LIBS=$LIBS
9791 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9793 /* end confdefs.h. */
9795 /* Override any GCC internal prototype to avoid an error.
9796 Use char because int might match the return type of a GCC
9797 builtin and then its argument prototype would still apply. */
9798 #ifdef __cplusplus
9799 extern "C"
9800 #endif
9801 char glXCreateContext ();
9803 main ()
9805 return glXCreateContext ();
9807 return 0;
9809 _ACEOF
9810 if ac_fn_c_try_link "$LINENO"; then :
9811 case "$LIBEXT" in
9812 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9813 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'` ;;
9814 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9815 if test "x$ac_cv_lib_soname_GL" = x; then :
9816 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9817 fi ;;
9818 esac
9820 rm -f core conftest.err conftest.$ac_objext \
9821 conftest$ac_exeext conftest.$ac_ext
9822 LIBS=$ac_check_soname_save_LIBS
9824 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9826 $as_echo "not found" >&6; }
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9828 $as_echo_n "checking for -lGL... " >&6; }
9829 if ${ac_cv_lib_soname_GL+:} false; then :
9830 $as_echo_n "(cached) " >&6
9831 else
9832 ac_check_soname_save_LIBS=$LIBS
9833 LIBS="-lGL $X_LIBS $XLIB -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"
9834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9835 /* end confdefs.h. */
9837 /* Override any GCC internal prototype to avoid an error.
9838 Use char because int might match the return type of a GCC
9839 builtin and then its argument prototype would still apply. */
9840 #ifdef __cplusplus
9841 extern "C"
9842 #endif
9843 char glXCreateContext ();
9845 main ()
9847 return glXCreateContext ();
9849 return 0;
9851 _ACEOF
9852 if ac_fn_c_try_link "$LINENO"; then :
9853 case "$LIBEXT" in
9854 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9855 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'` ;;
9856 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9857 if test "x$ac_cv_lib_soname_GL" = x; then :
9858 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9859 fi ;;
9860 esac
9862 rm -f core conftest.err conftest.$ac_objext \
9863 conftest$ac_exeext conftest.$ac_ext
9864 LIBS=$ac_check_soname_save_LIBS
9866 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9868 $as_echo "not found" >&6; }
9869 if test -f /usr/X11R6/lib/libGL.a
9870 then
9871 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
9872 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9873 else
9874 opengl_msg="No OpenGL library found on this system."
9876 else
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9878 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9880 cat >>confdefs.h <<_ACEOF
9881 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9882 _ACEOF
9884 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"
9886 else
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9888 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9890 cat >>confdefs.h <<_ACEOF
9891 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9892 _ACEOF
9894 OPENGL_LIBS="-lGL"
9896 if test "x$with_glu" != "xno"
9897 then
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9899 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9900 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
9901 $as_echo_n "(cached) " >&6
9902 else
9903 ac_check_lib_save_LIBS=$LIBS
9904 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9906 /* end confdefs.h. */
9908 /* Override any GCC internal prototype to avoid an error.
9909 Use char because int might match the return type of a GCC
9910 builtin and then its argument prototype would still apply. */
9911 #ifdef __cplusplus
9912 extern "C"
9913 #endif
9914 char gluLookAt ();
9916 main ()
9918 return gluLookAt ();
9920 return 0;
9922 _ACEOF
9923 if ac_fn_c_try_link "$LINENO"; then :
9924 ac_cv_lib_GLU_gluLookAt=yes
9925 else
9926 ac_cv_lib_GLU_gluLookAt=no
9928 rm -f core conftest.err conftest.$ac_objext \
9929 conftest$ac_exeext conftest.$ac_ext
9930 LIBS=$ac_check_lib_save_LIBS
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9933 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9934 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
9938 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
9939 case "x$with_glu" in
9940 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9941 xno) ;;
9942 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
9943 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9944 esac
9948 if test "x$with_osmesa" != "xno"
9949 then
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9951 $as_echo_n "checking for -lOSMesa... " >&6; }
9952 if ${ac_cv_lib_soname_OSMesa+:} false; then :
9953 $as_echo_n "(cached) " >&6
9954 else
9955 ac_check_soname_save_LIBS=$LIBS
9956 LIBS="-lOSMesa $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9958 /* end confdefs.h. */
9960 /* Override any GCC internal prototype to avoid an error.
9961 Use char because int might match the return type of a GCC
9962 builtin and then its argument prototype would still apply. */
9963 #ifdef __cplusplus
9964 extern "C"
9965 #endif
9966 char glAccum ();
9968 main ()
9970 return glAccum ();
9972 return 0;
9974 _ACEOF
9975 if ac_fn_c_try_link "$LINENO"; then :
9976 case "$LIBEXT" in
9977 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9978 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'` ;;
9979 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9980 if test "x$ac_cv_lib_soname_OSMesa" = x; then :
9981 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9982 fi ;;
9983 esac
9985 rm -f core conftest.err conftest.$ac_objext \
9986 conftest$ac_exeext conftest.$ac_ext
9987 LIBS=$ac_check_soname_save_LIBS
9989 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9991 $as_echo "not found" >&6; }
9993 else
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9995 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9997 cat >>confdefs.h <<_ACEOF
9998 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9999 _ACEOF
10003 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10004 case "x$with_osmesa" in
10005 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10006 xno) ;;
10007 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10008 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10009 esac
10013 if test -n "$opengl_msg"; then :
10014 case "x$with_opengl" in
10015 x) as_fn_append wine_warnings "|$opengl_msg
10016 OpenGL and Direct3D won't be supported." ;;
10017 xno) ;;
10018 *) as_fn_error $? "$opengl_msg
10019 OpenGL and Direct3D won't be supported.
10020 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10021 esac
10024 CPPFLAGS="$ac_save_CPPFLAGS"
10025 else
10026 XLIB=""
10027 X_CFLAGS=""
10028 X_LIBS=""
10029 enable_winex11_drv=${enable_winex11_drv:-no}
10031 if test "x$XLIB" = "x"; then :
10032 case "x$with_x" in
10033 xno) ;;
10034 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10035 without X support, which probably isn't what you want. You will need
10036 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10037 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10038 esac
10041 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10043 if test "$ac_cv_header_CL_cl_h" = "yes"
10044 then
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10046 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10047 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10048 $as_echo_n "(cached) " >&6
10049 else
10050 ac_check_lib_save_LIBS=$LIBS
10051 LIBS="-lOpenCL $LIBS"
10052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10053 /* end confdefs.h. */
10055 /* Override any GCC internal prototype to avoid an error.
10056 Use char because int might match the return type of a GCC
10057 builtin and then its argument prototype would still apply. */
10058 #ifdef __cplusplus
10059 extern "C"
10060 #endif
10061 char clGetPlatformInfo ();
10063 main ()
10065 return clGetPlatformInfo ();
10067 return 0;
10069 _ACEOF
10070 if ac_fn_c_try_link "$LINENO"; then :
10071 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10072 else
10073 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10075 rm -f core conftest.err conftest.$ac_objext \
10076 conftest$ac_exeext conftest.$ac_ext
10077 LIBS=$ac_check_lib_save_LIBS
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10080 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10081 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10082 LIBOPENCL="-lOpenCL"
10087 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10088 case "x$with_opencl" in
10089 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10090 xno) ;;
10091 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10092 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10093 esac
10095 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10098 if test "x$with_xml" != "xno"
10099 then
10100 if test -n "$XML2_CFLAGS"; then :
10102 elif test -n "$PKG_CONFIG"; then :
10103 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10105 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10106 if test -n "$XML2_LIBS"; then :
10108 elif test -n "$PKG_CONFIG"; then :
10109 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10111 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10112 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10113 ac_save_CPPFLAGS=$CPPFLAGS
10114 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10115 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10116 do :
10117 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10118 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10119 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10120 cat >>confdefs.h <<_ACEOF
10121 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10122 _ACEOF
10126 done
10128 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"
10129 then
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10131 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10132 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10133 $as_echo_n "(cached) " >&6
10134 else
10135 ac_check_lib_save_LIBS=$LIBS
10136 LIBS="-lxml2 $XML2_LIBS $LIBS"
10137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10138 /* end confdefs.h. */
10140 /* Override any GCC internal prototype to avoid an error.
10141 Use char because int might match the return type of a GCC
10142 builtin and then its argument prototype would still apply. */
10143 #ifdef __cplusplus
10144 extern "C"
10145 #endif
10146 char xmlParseMemory ();
10148 main ()
10150 return xmlParseMemory ();
10152 return 0;
10154 _ACEOF
10155 if ac_fn_c_try_link "$LINENO"; then :
10156 ac_cv_lib_xml2_xmlParseMemory=yes
10157 else
10158 ac_cv_lib_xml2_xmlParseMemory=no
10160 rm -f core conftest.err conftest.$ac_objext \
10161 conftest$ac_exeext conftest.$ac_ext
10162 LIBS=$ac_check_lib_save_LIBS
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10165 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10166 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10168 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10170 else
10171 XML2_LIBS=""
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10175 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10176 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10177 $as_echo_n "(cached) " >&6
10178 else
10179 ac_check_lib_save_LIBS=$LIBS
10180 LIBS="-lxml2 $XML2_LIBS $LIBS"
10181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10182 /* end confdefs.h. */
10184 /* Override any GCC internal prototype to avoid an error.
10185 Use char because int might match the return type of a GCC
10186 builtin and then its argument prototype would still apply. */
10187 #ifdef __cplusplus
10188 extern "C"
10189 #endif
10190 char xmlReadMemory ();
10192 main ()
10194 return xmlReadMemory ();
10196 return 0;
10198 _ACEOF
10199 if ac_fn_c_try_link "$LINENO"; then :
10200 ac_cv_lib_xml2_xmlReadMemory=yes
10201 else
10202 ac_cv_lib_xml2_xmlReadMemory=no
10204 rm -f core conftest.err conftest.$ac_objext \
10205 conftest$ac_exeext conftest.$ac_ext
10206 LIBS=$ac_check_lib_save_LIBS
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10209 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10210 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10212 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10217 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10218 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10219 $as_echo_n "(cached) " >&6
10220 else
10221 ac_check_lib_save_LIBS=$LIBS
10222 LIBS="-lxml2 $XML2_LIBS $LIBS"
10223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10224 /* end confdefs.h. */
10226 /* Override any GCC internal prototype to avoid an error.
10227 Use char because int might match the return type of a GCC
10228 builtin and then its argument prototype would still apply. */
10229 #ifdef __cplusplus
10230 extern "C"
10231 #endif
10232 char xmlNewDocPI ();
10234 main ()
10236 return xmlNewDocPI ();
10238 return 0;
10240 _ACEOF
10241 if ac_fn_c_try_link "$LINENO"; then :
10242 ac_cv_lib_xml2_xmlNewDocPI=yes
10243 else
10244 ac_cv_lib_xml2_xmlNewDocPI=no
10246 rm -f core conftest.err conftest.$ac_objext \
10247 conftest$ac_exeext conftest.$ac_ext
10248 LIBS=$ac_check_lib_save_LIBS
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10251 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10252 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10254 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10259 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10260 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10261 $as_echo_n "(cached) " >&6
10262 else
10263 ac_check_lib_save_LIBS=$LIBS
10264 LIBS="-lxml2 $XML2_LIBS $LIBS"
10265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10266 /* end confdefs.h. */
10268 /* Override any GCC internal prototype to avoid an error.
10269 Use char because int might match the return type of a GCC
10270 builtin and then its argument prototype would still apply. */
10271 #ifdef __cplusplus
10272 extern "C"
10273 #endif
10274 char xmlSchemaSetParserStructuredErrors ();
10276 main ()
10278 return xmlSchemaSetParserStructuredErrors ();
10280 return 0;
10282 _ACEOF
10283 if ac_fn_c_try_link "$LINENO"; then :
10284 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10285 else
10286 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10288 rm -f core conftest.err conftest.$ac_objext \
10289 conftest$ac_exeext conftest.$ac_ext
10290 LIBS=$ac_check_lib_save_LIBS
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10293 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10294 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10296 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10301 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10302 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10303 $as_echo_n "(cached) " >&6
10304 else
10305 ac_check_lib_save_LIBS=$LIBS
10306 LIBS="-lxml2 $XML2_LIBS $LIBS"
10307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10308 /* end confdefs.h. */
10310 /* Override any GCC internal prototype to avoid an error.
10311 Use char because int might match the return type of a GCC
10312 builtin and then its argument prototype would still apply. */
10313 #ifdef __cplusplus
10314 extern "C"
10315 #endif
10316 char xmlSchemaSetValidStructuredErrors ();
10318 main ()
10320 return xmlSchemaSetValidStructuredErrors ();
10322 return 0;
10324 _ACEOF
10325 if ac_fn_c_try_link "$LINENO"; then :
10326 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10327 else
10328 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10330 rm -f core conftest.err conftest.$ac_objext \
10331 conftest$ac_exeext conftest.$ac_ext
10332 LIBS=$ac_check_lib_save_LIBS
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10335 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10336 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10338 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10343 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10344 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10345 $as_echo_n "(cached) " >&6
10346 else
10347 ac_check_lib_save_LIBS=$LIBS
10348 LIBS="-lxml2 $XML2_LIBS $LIBS"
10349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10350 /* end confdefs.h. */
10352 /* Override any GCC internal prototype to avoid an error.
10353 Use char because int might match the return type of a GCC
10354 builtin and then its argument prototype would still apply. */
10355 #ifdef __cplusplus
10356 extern "C"
10357 #endif
10358 char xmlFirstElementChild ();
10360 main ()
10362 return xmlFirstElementChild ();
10364 return 0;
10366 _ACEOF
10367 if ac_fn_c_try_link "$LINENO"; then :
10368 ac_cv_lib_xml2_xmlFirstElementChild=yes
10369 else
10370 ac_cv_lib_xml2_xmlFirstElementChild=no
10372 rm -f core conftest.err conftest.$ac_objext \
10373 conftest$ac_exeext conftest.$ac_ext
10374 LIBS=$ac_check_lib_save_LIBS
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10377 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10378 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10380 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10384 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10386 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10388 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10392 else
10393 XML2_CFLAGS=""
10394 XML2_LIBS=""
10396 CPPFLAGS=$ac_save_CPPFLAGS
10397 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10398 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10401 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10402 case "x$with_xml" in
10403 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10404 xno) ;;
10405 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10406 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10407 esac
10410 if test "x$with_xslt" != "xno"
10411 then
10412 if test -n "$XSLT_CFLAGS"; then :
10414 elif test -n "$PKG_CONFIG"; then :
10415 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10417 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10418 if test -n "$XSLT_LIBS"; then :
10420 elif test -n "$PKG_CONFIG"; then :
10421 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10423 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10424 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10425 ac_save_CPPFLAGS=$CPPFLAGS
10426 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10427 for ac_header in libxslt/pattern.h libxslt/transform.h
10428 do :
10429 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10430 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10431 # include <libxslt/pattern.h>
10432 #endif
10434 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10435 cat >>confdefs.h <<_ACEOF
10436 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10437 _ACEOF
10441 done
10443 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10444 then
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10446 $as_echo_n "checking for -lxslt... " >&6; }
10447 if ${ac_cv_lib_soname_xslt+:} false; then :
10448 $as_echo_n "(cached) " >&6
10449 else
10450 ac_check_soname_save_LIBS=$LIBS
10451 LIBS="-lxslt $XSLT_LIBS $LIBS"
10452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10453 /* end confdefs.h. */
10455 /* Override any GCC internal prototype to avoid an error.
10456 Use char because int might match the return type of a GCC
10457 builtin and then its argument prototype would still apply. */
10458 #ifdef __cplusplus
10459 extern "C"
10460 #endif
10461 char xsltCompilePattern ();
10463 main ()
10465 return xsltCompilePattern ();
10467 return 0;
10469 _ACEOF
10470 if ac_fn_c_try_link "$LINENO"; then :
10471 case "$LIBEXT" in
10472 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10473 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'` ;;
10474 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10475 if test "x$ac_cv_lib_soname_xslt" = x; then :
10476 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10477 fi ;;
10478 esac
10480 rm -f core conftest.err conftest.$ac_objext \
10481 conftest$ac_exeext conftest.$ac_ext
10482 LIBS=$ac_check_soname_save_LIBS
10484 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10486 $as_echo "not found" >&6; }
10488 else
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10490 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10492 cat >>confdefs.h <<_ACEOF
10493 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10494 _ACEOF
10498 else
10499 XSLT_CFLAGS=""
10501 CPPFLAGS=$ac_save_CPPFLAGS
10502 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10503 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10506 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10507 case "x$with_xslt" in
10508 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10509 xno) ;;
10510 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10511 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10512 esac
10515 if test "x$with_dbus" != "xno"
10516 then
10517 if test -n "$DBUS_CFLAGS"; then :
10519 elif test -n "$PKG_CONFIG"; then :
10520 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10523 if test -n "$DBUS_LIBS"; then :
10525 elif test -n "$PKG_CONFIG"; then :
10526 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10530 ac_save_CPPFLAGS=$CPPFLAGS
10531 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10532 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10533 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10535 $as_echo_n "checking for -ldbus-1... " >&6; }
10536 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10537 $as_echo_n "(cached) " >&6
10538 else
10539 ac_check_soname_save_LIBS=$LIBS
10540 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10542 /* end confdefs.h. */
10544 /* Override any GCC internal prototype to avoid an error.
10545 Use char because int might match the return type of a GCC
10546 builtin and then its argument prototype would still apply. */
10547 #ifdef __cplusplus
10548 extern "C"
10549 #endif
10550 char dbus_connection_close ();
10552 main ()
10554 return dbus_connection_close ();
10556 return 0;
10558 _ACEOF
10559 if ac_fn_c_try_link "$LINENO"; then :
10560 case "$LIBEXT" in
10561 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10562 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'` ;;
10563 *) 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'`
10564 if test "x$ac_cv_lib_soname_dbus_1" = x; then :
10565 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10566 fi ;;
10567 esac
10569 rm -f core conftest.err conftest.$ac_objext \
10570 conftest$ac_exeext conftest.$ac_ext
10571 LIBS=$ac_check_soname_save_LIBS
10573 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10575 $as_echo "not found" >&6; }
10576 DBUS_CFLAGS=""
10577 else
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10579 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10581 cat >>confdefs.h <<_ACEOF
10582 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10583 _ACEOF
10587 else
10588 DBUS_CFLAGS=""
10592 CPPFLAGS=$ac_save_CPPFLAGS
10593 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10594 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10597 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10598 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10599 case "x$with_dbus" in
10600 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10601 xno) ;;
10602 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
10603 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10604 esac
10607 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10608 then
10609 if test -n "$HAL_CFLAGS"; then :
10611 elif test -n "$PKG_CONFIG"; then :
10612 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
10615 if test -n "$HAL_LIBS"; then :
10617 elif test -n "$PKG_CONFIG"; then :
10618 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
10621 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
10622 ac_save_CPPFLAGS=$CPPFLAGS
10623 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
10624 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10625 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10627 $as_echo_n "checking for -lhal... " >&6; }
10628 if ${ac_cv_lib_soname_hal+:} false; then :
10629 $as_echo_n "(cached) " >&6
10630 else
10631 ac_check_soname_save_LIBS=$LIBS
10632 LIBS="-lhal $HAL_LIBS $LIBS"
10633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10634 /* end confdefs.h. */
10636 /* Override any GCC internal prototype to avoid an error.
10637 Use char because int might match the return type of a GCC
10638 builtin and then its argument prototype would still apply. */
10639 #ifdef __cplusplus
10640 extern "C"
10641 #endif
10642 char libhal_ctx_new ();
10644 main ()
10646 return libhal_ctx_new ();
10648 return 0;
10650 _ACEOF
10651 if ac_fn_c_try_link "$LINENO"; then :
10652 case "$LIBEXT" in
10653 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10654 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'` ;;
10655 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10656 if test "x$ac_cv_lib_soname_hal" = x; then :
10657 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10658 fi ;;
10659 esac
10661 rm -f core conftest.err conftest.$ac_objext \
10662 conftest$ac_exeext conftest.$ac_ext
10663 LIBS=$ac_check_soname_save_LIBS
10665 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10667 $as_echo "not found" >&6; }
10668 HAL_CFLAGS=""
10669 else
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10671 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10673 cat >>confdefs.h <<_ACEOF
10674 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10675 _ACEOF
10679 else
10680 HAL_CFLAGS=""
10684 CPPFLAGS=$ac_save_CPPFLAGS
10685 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10686 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10688 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10689 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10690 case "x$with_hal" in
10691 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10692 xno) ;;
10693 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
10694 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10695 esac
10699 if test "x$with_gnutls" != "xno"
10700 then
10701 if test -n "$GNUTLS_CFLAGS"; then :
10703 elif test -n "$PKG_CONFIG"; then :
10704 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10707 if test -n "$GNUTLS_LIBS"; then :
10709 elif test -n "$PKG_CONFIG"; then :
10710 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10714 ac_save_CPPFLAGS=$CPPFLAGS
10715 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
10716 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10717 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
10718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10719 /* end confdefs.h. */
10720 #include <gnutls/gnutls.h>
10721 #include <gnutls/crypto.h>
10723 main ()
10725 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10727 return 0;
10729 _ACEOF
10730 if ac_fn_c_try_compile "$LINENO"; then :
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10732 $as_echo_n "checking for -lgnutls... " >&6; }
10733 if ${ac_cv_lib_soname_gnutls+:} false; then :
10734 $as_echo_n "(cached) " >&6
10735 else
10736 ac_check_soname_save_LIBS=$LIBS
10737 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
10738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10739 /* end confdefs.h. */
10741 /* Override any GCC internal prototype to avoid an error.
10742 Use char because int might match the return type of a GCC
10743 builtin and then its argument prototype would still apply. */
10744 #ifdef __cplusplus
10745 extern "C"
10746 #endif
10747 char gnutls_global_init ();
10749 main ()
10751 return gnutls_global_init ();
10753 return 0;
10755 _ACEOF
10756 if ac_fn_c_try_link "$LINENO"; then :
10757 case "$LIBEXT" in
10758 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10759 dylib) ac_cv_lib_soname_gnutls=`otool -L conftest$ac_exeext | grep "libgnutls\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10760 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10761 if test "x$ac_cv_lib_soname_gnutls" = x; then :
10762 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10763 fi ;;
10764 esac
10766 rm -f core conftest.err conftest.$ac_objext \
10767 conftest$ac_exeext conftest.$ac_ext
10768 LIBS=$ac_check_soname_save_LIBS
10770 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10772 $as_echo "not found" >&6; }
10773 GNUTLS_CFLAGS=""
10774 else
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10776 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10778 cat >>confdefs.h <<_ACEOF
10779 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10780 _ACEOF
10785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10786 else
10787 GNUTLS_CFLAGS=""
10791 CPPFLAGS=$ac_save_CPPFLAGS
10792 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10793 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10796 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10797 case "x$with_gnutls" in
10798 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10799 xno) ;;
10800 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
10801 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10802 esac
10805 CURSESLIBS=""
10806 if test "$ac_cv_header_ncurses_h" = "yes"
10807 then
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10809 $as_echo_n "checking for -lncurses... " >&6; }
10810 if ${ac_cv_lib_soname_ncurses+:} false; then :
10811 $as_echo_n "(cached) " >&6
10812 else
10813 ac_check_soname_save_LIBS=$LIBS
10814 LIBS="-lncurses $LIBS"
10815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10816 /* end confdefs.h. */
10818 /* Override any GCC internal prototype to avoid an error.
10819 Use char because int might match the return type of a GCC
10820 builtin and then its argument prototype would still apply. */
10821 #ifdef __cplusplus
10822 extern "C"
10823 #endif
10824 char waddch ();
10826 main ()
10828 return waddch ();
10830 return 0;
10832 _ACEOF
10833 if ac_fn_c_try_link "$LINENO"; then :
10834 case "$LIBEXT" in
10835 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10836 dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10837 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10838 if test "x$ac_cv_lib_soname_ncurses" = x; then :
10839 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10840 fi ;;
10841 esac
10843 rm -f core conftest.err conftest.$ac_objext \
10844 conftest$ac_exeext conftest.$ac_ext
10845 LIBS=$ac_check_soname_save_LIBS
10847 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10849 $as_echo "not found" >&6; }
10851 else
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10853 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10855 cat >>confdefs.h <<_ACEOF
10856 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10857 _ACEOF
10859 CURSESLIBS="-lncurses"
10861 elif test "$ac_cv_header_curses_h" = "yes"
10862 then
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10864 $as_echo_n "checking for -lcurses... " >&6; }
10865 if ${ac_cv_lib_soname_curses+:} false; then :
10866 $as_echo_n "(cached) " >&6
10867 else
10868 ac_check_soname_save_LIBS=$LIBS
10869 LIBS="-lcurses $LIBS"
10870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10871 /* end confdefs.h. */
10873 /* Override any GCC internal prototype to avoid an error.
10874 Use char because int might match the return type of a GCC
10875 builtin and then its argument prototype would still apply. */
10876 #ifdef __cplusplus
10877 extern "C"
10878 #endif
10879 char waddch ();
10881 main ()
10883 return waddch ();
10885 return 0;
10887 _ACEOF
10888 if ac_fn_c_try_link "$LINENO"; then :
10889 case "$LIBEXT" in
10890 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10891 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'` ;;
10892 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10893 if test "x$ac_cv_lib_soname_curses" = x; then :
10894 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10895 fi ;;
10896 esac
10898 rm -f core conftest.err conftest.$ac_objext \
10899 conftest$ac_exeext conftest.$ac_ext
10900 LIBS=$ac_check_soname_save_LIBS
10902 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10904 $as_echo "not found" >&6; }
10906 else
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10908 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10910 cat >>confdefs.h <<_ACEOF
10911 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10912 _ACEOF
10914 CURSESLIBS="-lcurses"
10917 ac_save_LIBS="$LIBS"
10918 LIBS="$LIBS $CURSESLIBS"
10919 for ac_func in mousemask
10920 do :
10921 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
10922 if test "x$ac_cv_func_mousemask" = xyes; then :
10923 cat >>confdefs.h <<_ACEOF
10924 #define HAVE_MOUSEMASK 1
10925 _ACEOF
10928 done
10930 LIBS="$ac_save_LIBS"
10931 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10932 case "x$with_curses" in
10933 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10934 xno) ;;
10935 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10936 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10937 esac
10940 if test "x$with_sane" != "xno"
10941 then
10942 if test -n "$SANE_CFLAGS"; then :
10944 elif test -n "$PKG_CONFIG"; then :
10945 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10947 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10948 if test -n "$SANE_LIBS"; then :
10950 elif test -n "$PKG_CONFIG"; then :
10951 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
10953 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10955 ac_save_CPPFLAGS=$CPPFLAGS
10956 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
10957 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10958 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10960 $as_echo_n "checking for -lsane... " >&6; }
10961 if ${ac_cv_lib_soname_sane+:} false; then :
10962 $as_echo_n "(cached) " >&6
10963 else
10964 ac_check_soname_save_LIBS=$LIBS
10965 LIBS="-lsane $SANE_LIBS $LIBS"
10966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10967 /* end confdefs.h. */
10969 /* Override any GCC internal prototype to avoid an error.
10970 Use char because int might match the return type of a GCC
10971 builtin and then its argument prototype would still apply. */
10972 #ifdef __cplusplus
10973 extern "C"
10974 #endif
10975 char sane_init ();
10977 main ()
10979 return sane_init ();
10981 return 0;
10983 _ACEOF
10984 if ac_fn_c_try_link "$LINENO"; then :
10985 case "$LIBEXT" in
10986 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10987 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'` ;;
10988 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10989 if test "x$ac_cv_lib_soname_sane" = x; then :
10990 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10991 fi ;;
10992 esac
10994 rm -f core conftest.err conftest.$ac_objext \
10995 conftest$ac_exeext conftest.$ac_ext
10996 LIBS=$ac_check_soname_save_LIBS
10998 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11000 $as_echo "not found" >&6; }
11001 SANE_CFLAGS=""
11002 else
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11004 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11006 cat >>confdefs.h <<_ACEOF
11007 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11008 _ACEOF
11012 else
11013 SANE_CFLAGS=""
11017 CPPFLAGS=$ac_save_CPPFLAGS
11018 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11019 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11022 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11023 case "x$with_sane" in
11024 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11025 xno) ;;
11026 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11027 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11028 esac
11031 if test "x$with_v4l" != "xno"
11032 then
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11034 $as_echo_n "checking for -lv4l1... " >&6; }
11035 if ${ac_cv_lib_soname_v4l1+:} false; then :
11036 $as_echo_n "(cached) " >&6
11037 else
11038 ac_check_soname_save_LIBS=$LIBS
11039 LIBS="-lv4l1 $LIBS"
11040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11041 /* end confdefs.h. */
11043 /* Override any GCC internal prototype to avoid an error.
11044 Use char because int might match the return type of a GCC
11045 builtin and then its argument prototype would still apply. */
11046 #ifdef __cplusplus
11047 extern "C"
11048 #endif
11049 char v4l1_open ();
11051 main ()
11053 return v4l1_open ();
11055 return 0;
11057 _ACEOF
11058 if ac_fn_c_try_link "$LINENO"; then :
11059 case "$LIBEXT" in
11060 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11061 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'` ;;
11062 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11063 if test "x$ac_cv_lib_soname_v4l1" = x; then :
11064 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11065 fi ;;
11066 esac
11068 rm -f core conftest.err conftest.$ac_objext \
11069 conftest$ac_exeext conftest.$ac_ext
11070 LIBS=$ac_check_soname_save_LIBS
11072 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11074 $as_echo "not found" >&6; }
11076 else
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11078 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11080 cat >>confdefs.h <<_ACEOF
11081 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11082 _ACEOF
11087 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11088 case "x$with_v4l" in
11089 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11090 xno) ;;
11091 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11092 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11093 esac
11096 if test "x$with_gphoto" != "xno"
11097 then
11098 if test -n "$GPHOTO2_CFLAGS"; then :
11100 elif test -n "$PKG_CONFIG"; then :
11101 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11103 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11104 if test -n "$GPHOTO2_LIBS"; then :
11106 elif test -n "$PKG_CONFIG"; then :
11107 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11109 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11110 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11111 ac_save_CPPFLAGS=$CPPFLAGS
11112 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11113 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11114 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11116 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11117 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11118 $as_echo_n "(cached) " >&6
11119 else
11120 ac_check_lib_save_LIBS=$LIBS
11121 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11125 /* Override any GCC internal prototype to avoid an error.
11126 Use char because int might match the return type of a GCC
11127 builtin and then its argument prototype would still apply. */
11128 #ifdef __cplusplus
11129 extern "C"
11130 #endif
11131 char gp_camera_new ();
11133 main ()
11135 return gp_camera_new ();
11137 return 0;
11139 _ACEOF
11140 if ac_fn_c_try_link "$LINENO"; then :
11141 ac_cv_lib_gphoto2_gp_camera_new=yes
11142 else
11143 ac_cv_lib_gphoto2_gp_camera_new=no
11145 rm -f core conftest.err conftest.$ac_objext \
11146 conftest$ac_exeext conftest.$ac_ext
11147 LIBS=$ac_check_lib_save_LIBS
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11150 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11151 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11153 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11155 else
11156 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11159 else
11160 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11164 CPPFLAGS=$ac_save_CPPFLAGS
11165 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11166 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11168 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
11170 elif test -n "$PKG_CONFIG"; then :
11171 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11173 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11174 if test -n "$GPHOTO2_PORT_LIBS"; then :
11176 elif test -n "$PKG_CONFIG"; then :
11177 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11179 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11180 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11181 ac_save_CPPFLAGS=$CPPFLAGS
11182 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11183 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11184 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11186 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11187 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11188 $as_echo_n "(cached) " >&6
11189 else
11190 ac_check_lib_save_LIBS=$LIBS
11191 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11193 /* end confdefs.h. */
11195 /* Override any GCC internal prototype to avoid an error.
11196 Use char because int might match the return type of a GCC
11197 builtin and then its argument prototype would still apply. */
11198 #ifdef __cplusplus
11199 extern "C"
11200 #endif
11201 char gp_port_info_list_new ();
11203 main ()
11205 return gp_port_info_list_new ();
11207 return 0;
11209 _ACEOF
11210 if ac_fn_c_try_link "$LINENO"; then :
11211 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11212 else
11213 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11215 rm -f core conftest.err conftest.$ac_objext \
11216 conftest$ac_exeext conftest.$ac_ext
11217 LIBS=$ac_check_lib_save_LIBS
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11220 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11221 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11223 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11225 else
11226 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11229 else
11230 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11234 CPPFLAGS=$ac_save_CPPFLAGS
11235 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11236 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11239 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11240 case "x$with_gphoto" in
11241 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11242 xno) ;;
11243 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11244 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11245 esac
11247 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11248 case "x$with_gphoto" in
11249 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11250 xno) ;;
11251 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11252 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11253 esac
11257 if test "$ac_cv_header_resolv_h" = "yes"
11258 then
11259 ac_save_LIBS="$LIBS"
11260 for lib in '' -lresolv
11262 LIBS="$lib $ac_save_LIBS"
11263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11264 /* end confdefs.h. */
11265 #ifdef HAVE_NETINET_IN_H
11266 #include <netinet/in.h>
11267 #endif
11268 #include <resolv.h>
11270 main ()
11272 res_query("foo",ns_c_in,0,0,0);
11274 return 0;
11276 _ACEOF
11277 if ac_fn_c_try_link "$LINENO"; then :
11279 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11281 RESOLVLIBS="$lib"
11284 rm -f core conftest.err conftest.$ac_objext \
11285 conftest$ac_exeext conftest.$ac_ext
11286 if test "${RESOLVLIBS+set}" = set; then
11287 break
11289 done
11290 LIBS="$ac_save_LIBS"
11293 if test "x$with_lcms2" != "xno"
11294 then
11295 if test -n "$LCMS2_CFLAGS"; then :
11297 elif test -n "$PKG_CONFIG"; then :
11298 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11301 if test -n "$LCMS2_LIBS"; then :
11303 elif test -n "$PKG_CONFIG"; then :
11304 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11307 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11308 ac_save_CPPFLAGS=$CPPFLAGS
11309 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11310 for ac_header in lcms2.h
11311 do :
11312 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11313 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11314 cat >>confdefs.h <<_ACEOF
11315 #define HAVE_LCMS2_H 1
11316 _ACEOF
11320 done
11322 if test "$ac_cv_header_lcms2_h" = "yes"
11323 then
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11325 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11326 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11327 $as_echo_n "(cached) " >&6
11328 else
11329 ac_check_lib_save_LIBS=$LIBS
11330 LIBS="-llcms2 $LIBS"
11331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11332 /* end confdefs.h. */
11334 /* Override any GCC internal prototype to avoid an error.
11335 Use char because int might match the return type of a GCC
11336 builtin and then its argument prototype would still apply. */
11337 #ifdef __cplusplus
11338 extern "C"
11339 #endif
11340 char cmsOpenProfileFromFile ();
11342 main ()
11344 return cmsOpenProfileFromFile ();
11346 return 0;
11348 _ACEOF
11349 if ac_fn_c_try_link "$LINENO"; then :
11350 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11351 else
11352 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11354 rm -f core conftest.err conftest.$ac_objext \
11355 conftest$ac_exeext conftest.$ac_ext
11356 LIBS=$ac_check_lib_save_LIBS
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11359 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11360 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11362 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11364 else
11365 LCMS2_LIBS=""
11368 else
11369 LCMS2_CFLAGS=""
11370 LCMS2_LIBS=""
11372 CPPFLAGS=$ac_save_CPPFLAGS
11373 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11374 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11377 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11378 case "x$with_cms" in
11379 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11380 xno) ;;
11381 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11382 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11383 esac
11386 if test "x$with_freetype" != "xno"
11387 then
11388 if test -n "$FREETYPE_CFLAGS"; then :
11390 elif test -n "$PKG_CONFIG"; then :
11391 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11393 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11394 if test -n "$FREETYPE_LIBS"; then :
11396 elif test -n "$PKG_CONFIG"; then :
11397 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11399 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11400 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11401 ac_save_CPPFLAGS=$CPPFLAGS
11402 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11404 $as_echo_n "checking for -lfreetype... " >&6; }
11405 if ${ac_cv_lib_soname_freetype+:} false; then :
11406 $as_echo_n "(cached) " >&6
11407 else
11408 ac_check_soname_save_LIBS=$LIBS
11409 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11411 /* end confdefs.h. */
11413 /* Override any GCC internal prototype to avoid an error.
11414 Use char because int might match the return type of a GCC
11415 builtin and then its argument prototype would still apply. */
11416 #ifdef __cplusplus
11417 extern "C"
11418 #endif
11419 char FT_Init_FreeType ();
11421 main ()
11423 return FT_Init_FreeType ();
11425 return 0;
11427 _ACEOF
11428 if ac_fn_c_try_link "$LINENO"; then :
11429 case "$LIBEXT" in
11430 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11431 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'` ;;
11432 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11433 if test "x$ac_cv_lib_soname_freetype" = x; then :
11434 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11435 fi ;;
11436 esac
11438 rm -f core conftest.err conftest.$ac_objext \
11439 conftest$ac_exeext conftest.$ac_ext
11440 LIBS=$ac_check_soname_save_LIBS
11442 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11444 $as_echo "not found" >&6; }
11445 ft_lib=no
11446 else
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11448 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11450 cat >>confdefs.h <<_ACEOF
11451 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11452 _ACEOF
11454 ft_lib=yes
11456 if test "$ft_lib" = "yes"
11457 then
11458 for ac_header in ft2build.h \
11459 freetype/freetype.h \
11460 freetype/ftglyph.h \
11461 freetype/fttypes.h \
11462 freetype/tttables.h \
11463 freetype/ftsnames.h \
11464 freetype/ttnameid.h \
11465 freetype/ftoutln.h \
11466 freetype/ftwinfnt.h \
11467 freetype/ftmodapi.h \
11468 freetype/ftlcdfil.h
11469 do :
11470 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11471 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
11472 # include <ft2build.h>
11473 #endif
11475 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11476 cat >>confdefs.h <<_ACEOF
11477 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11478 _ACEOF
11482 done
11484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11485 /* end confdefs.h. */
11486 #include <ft2build.h>
11487 #include <freetype/fttrigon.h>
11488 _ACEOF
11489 if ac_fn_c_try_cpp "$LINENO"; then :
11491 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
11493 wine_cv_fttrigon=yes
11494 else
11495 wine_cv_fttrigon=no
11497 rm -f conftest.err conftest.i conftest.$ac_ext
11498 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
11500 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11502 cat >>confdefs.h <<_ACEOF
11503 #define HAVE_FT_TRUETYPEENGINETYPE 1
11504 _ACEOF
11509 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11510 then
11512 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11514 else
11515 FREETYPE_LIBS=""
11517 else
11518 FREETYPE_LIBS=""
11520 CPPFLAGS=$ac_save_CPPFLAGS
11521 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11522 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11525 if test "x$ac_cv_header_freetype_freetype_h" != xyes -o "x$wine_cv_fttrigon" != xyes; then :
11526 case "x$with_freetype" in
11527 xno) ;;
11528 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11529 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11530 esac
11532 test "x$ac_cv_header_freetype_freetype_h" = xyes -a "x$wine_cv_fttrigon" = xyes || enable_fonts=${enable_fonts:-no}
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11535 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11536 if ${ac_cv_c_ppdev+:} false; then :
11537 $as_echo_n "(cached) " >&6
11538 else
11539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11540 /* end confdefs.h. */
11541 #ifdef HAVE_SYS_IOCTL_H
11542 # include <sys/ioctl.h>
11543 #endif
11544 #include <linux/ppdev.h>
11546 main ()
11548 ioctl (1,PPCLAIM,0)
11550 return 0;
11552 _ACEOF
11553 if ac_fn_c_try_compile "$LINENO"; then :
11554 ac_cv_c_ppdev="yes"
11555 else
11556 ac_cv_c_ppdev="no"
11558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11561 $as_echo "$ac_cv_c_ppdev" >&6; }
11562 if test "$ac_cv_c_ppdev" = "yes"
11563 then
11565 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11569 ac_wine_check_funcs_save_LIBS="$LIBS"
11570 LIBS="$LIBS $LIBPTHREAD"
11571 for ac_func in \
11572 pthread_attr_get_np \
11573 pthread_getattr_np \
11574 pthread_getthreadid_np \
11575 pthread_get_stackaddr_np \
11576 pthread_get_stacksize_np
11577 do :
11578 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11579 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11580 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11581 cat >>confdefs.h <<_ACEOF
11582 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11583 _ACEOF
11586 done
11588 LIBS="$ac_wine_check_funcs_save_LIBS"
11590 if test "$ac_cv_header_zlib_h" = "yes"
11591 then
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11593 $as_echo_n "checking for inflate in -lz... " >&6; }
11594 if ${ac_cv_lib_z_inflate+:} false; then :
11595 $as_echo_n "(cached) " >&6
11596 else
11597 ac_check_lib_save_LIBS=$LIBS
11598 LIBS="-lz $LIBS"
11599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11600 /* end confdefs.h. */
11602 /* Override any GCC internal prototype to avoid an error.
11603 Use char because int might match the return type of a GCC
11604 builtin and then its argument prototype would still apply. */
11605 #ifdef __cplusplus
11606 extern "C"
11607 #endif
11608 char inflate ();
11610 main ()
11612 return inflate ();
11614 return 0;
11616 _ACEOF
11617 if ac_fn_c_try_link "$LINENO"; then :
11618 ac_cv_lib_z_inflate=yes
11619 else
11620 ac_cv_lib_z_inflate=no
11622 rm -f core conftest.err conftest.$ac_objext \
11623 conftest$ac_exeext conftest.$ac_ext
11624 LIBS=$ac_check_lib_save_LIBS
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11627 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11628 if test "x$ac_cv_lib_z_inflate" = xyes; then :
11630 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11632 ZLIB="-lz"
11637 if test "x$ZLIB" = "x"; then :
11638 case "x$with_zlib" in
11639 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11640 xno) ;;
11641 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
11642 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11643 esac
11646 if test "x$enable_tools" != xno
11647 then
11648 if test "$ac_cv_header_gettext_po_h" = "yes"
11649 then
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11651 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11652 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
11653 $as_echo_n "(cached) " >&6
11654 else
11655 ac_check_lib_save_LIBS=$LIBS
11656 LIBS="-lgettextpo $LIBS"
11657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11658 /* end confdefs.h. */
11660 /* Override any GCC internal prototype to avoid an error.
11661 Use char because int might match the return type of a GCC
11662 builtin and then its argument prototype would still apply. */
11663 #ifdef __cplusplus
11664 extern "C"
11665 #endif
11666 char po_message_msgctxt ();
11668 main ()
11670 return po_message_msgctxt ();
11672 return 0;
11674 _ACEOF
11675 if ac_fn_c_try_link "$LINENO"; then :
11676 ac_cv_lib_gettextpo_po_message_msgctxt=yes
11677 else
11678 ac_cv_lib_gettextpo_po_message_msgctxt=no
11680 rm -f core conftest.err conftest.$ac_objext \
11681 conftest$ac_exeext conftest.$ac_ext
11682 LIBS=$ac_check_lib_save_LIBS
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11685 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11686 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
11688 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11690 LIBGETTEXTPO="-lgettextpo"
11695 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
11696 case "x$with_gettextpo" in
11697 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11698 xno) ;;
11699 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11700 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11701 esac
11705 if test "x$with_gstreamer" != "xno"
11706 then
11707 if test -n "$GSTREAMER_CFLAGS"; then :
11709 elif test -n "$PKG_CONFIG"; then :
11710 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11713 if test -n "$GSTREAMER_LIBS"; then :
11715 elif test -n "$PKG_CONFIG"; then :
11716 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11720 ac_save_CPPFLAGS=$CPPFLAGS
11721 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
11722 ac_gst_incl=""
11723 for i in $GSTREAMER_CFLAGS
11725 case "$i" in
11726 -I*) ac_gst_incl="$ac_gst_incl $i";;
11727 esac
11728 done
11729 GSTREAMER_CFLAGS=$ac_gst_incl
11730 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11731 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11732 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
11733 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11734 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11736 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11738 /* end confdefs.h. */
11739 #include <gst/app/gstappsink.h>
11741 main ()
11743 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11745 return 0;
11747 _ACEOF
11748 if ac_fn_c_try_compile "$LINENO"; then :
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11750 $as_echo "yes" >&6; }
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11752 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11753 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
11754 $as_echo_n "(cached) " >&6
11755 else
11756 ac_check_lib_save_LIBS=$LIBS
11757 LIBS="-lgstreamer-0.10 $LIBS"
11758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11759 /* end confdefs.h. */
11761 /* Override any GCC internal prototype to avoid an error.
11762 Use char because int might match the return type of a GCC
11763 builtin and then its argument prototype would still apply. */
11764 #ifdef __cplusplus
11765 extern "C"
11766 #endif
11767 char gst_pad_get_caps_reffed ();
11769 main ()
11771 return gst_pad_get_caps_reffed ();
11773 return 0;
11775 _ACEOF
11776 if ac_fn_c_try_link "$LINENO"; then :
11777 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
11778 else
11779 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
11781 rm -f core conftest.err conftest.$ac_objext \
11782 conftest$ac_exeext conftest.$ac_ext
11783 LIBS=$ac_check_lib_save_LIBS
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11786 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11787 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11789 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11790 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
11791 $as_echo_n "(cached) " >&6
11792 else
11793 ac_check_lib_save_LIBS=$LIBS
11794 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11796 /* end confdefs.h. */
11798 /* Override any GCC internal prototype to avoid an error.
11799 Use char because int might match the return type of a GCC
11800 builtin and then its argument prototype would still apply. */
11801 #ifdef __cplusplus
11802 extern "C"
11803 #endif
11804 char gst_app_buffer_new ();
11806 main ()
11808 return gst_app_buffer_new ();
11810 return 0;
11812 _ACEOF
11813 if ac_fn_c_try_link "$LINENO"; then :
11814 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
11815 else
11816 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
11818 rm -f core conftest.err conftest.$ac_objext \
11819 conftest$ac_exeext conftest.$ac_ext
11820 LIBS=$ac_check_lib_save_LIBS
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11823 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11824 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
11830 else
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11832 $as_echo "no" >&6; }
11834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11838 else
11839 GSTREAMER_CFLAGS=""
11843 CPPFLAGS=$ac_save_CPPFLAGS
11844 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11845 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11848 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
11849 case "x$with_gstreamer" in
11850 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11851 xno) ;;
11852 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11853 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11854 esac
11856 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
11858 ALSALIBS=""
11860 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11861 then
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11863 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11864 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
11865 $as_echo_n "(cached) " >&6
11866 else
11867 ac_check_lib_save_LIBS=$LIBS
11868 LIBS="-lasound $LIBS"
11869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11870 /* end confdefs.h. */
11872 /* Override any GCC internal prototype to avoid an error.
11873 Use char because int might match the return type of a GCC
11874 builtin and then its argument prototype would still apply. */
11875 #ifdef __cplusplus
11876 extern "C"
11877 #endif
11878 char snd_pcm_hw_params_get_access_mask ();
11880 main ()
11882 return snd_pcm_hw_params_get_access_mask ();
11884 return 0;
11886 _ACEOF
11887 if ac_fn_c_try_link "$LINENO"; then :
11888 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
11889 else
11890 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
11892 rm -f core conftest.err conftest.$ac_objext \
11893 conftest$ac_exeext conftest.$ac_ext
11894 LIBS=$ac_check_lib_save_LIBS
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11897 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11898 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
11899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h. */
11901 #ifdef HAVE_ALSA_ASOUNDLIB_H
11902 #include <alsa/asoundlib.h>
11903 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11904 #include <sys/asoundlib.h>
11905 #endif
11907 main ()
11909 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11911 return 0;
11913 _ACEOF
11914 if ac_fn_c_try_compile "$LINENO"; then :
11915 ALSALIBS="-lasound"
11917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11922 if test "x$with_oss" != xno
11923 then
11924 ac_save_CPPFLAGS="$CPPFLAGS"
11925 if test -f /etc/oss.conf
11926 then
11927 . /etc/oss.conf
11929 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11930 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
11931 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11932 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
11933 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11935 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
11937 cat >>confdefs.h <<_ACEOF
11938 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11939 _ACEOF
11941 OSS4INCL="$ac_oss_incl"
11948 CPPFLAGS="$ac_save_CPPFLAGS"
11949 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11950 then
11951 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11955 if test "x$with_capi" != "xno"
11956 then
11957 if test -n "$CAPI20_CFLAGS"; then :
11959 elif test -n "$PKG_CONFIG"; then :
11960 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
11963 if test -n "$CAPI20_LIBS"; then :
11965 elif test -n "$PKG_CONFIG"; then :
11966 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
11970 ac_save_CPPFLAGS=$CPPFLAGS
11971 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
11972 for ac_header in capi20.h linux/capi.h
11973 do :
11974 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11975 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
11977 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11978 cat >>confdefs.h <<_ACEOF
11979 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11980 _ACEOF
11984 done
11986 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11987 then
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11989 $as_echo_n "checking for -lcapi20... " >&6; }
11990 if ${ac_cv_lib_soname_capi20+:} false; then :
11991 $as_echo_n "(cached) " >&6
11992 else
11993 ac_check_soname_save_LIBS=$LIBS
11994 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
11995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11996 /* end confdefs.h. */
11998 /* Override any GCC internal prototype to avoid an error.
11999 Use char because int might match the return type of a GCC
12000 builtin and then its argument prototype would still apply. */
12001 #ifdef __cplusplus
12002 extern "C"
12003 #endif
12004 char capi20_register ();
12006 main ()
12008 return capi20_register ();
12010 return 0;
12012 _ACEOF
12013 if ac_fn_c_try_link "$LINENO"; then :
12014 case "$LIBEXT" in
12015 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12016 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'` ;;
12017 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12018 if test "x$ac_cv_lib_soname_capi20" = x; then :
12019 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12020 fi ;;
12021 esac
12023 rm -f core conftest.err conftest.$ac_objext \
12024 conftest$ac_exeext conftest.$ac_ext
12025 LIBS=$ac_check_soname_save_LIBS
12027 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12029 $as_echo "not found" >&6; }
12031 else
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12033 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12035 cat >>confdefs.h <<_ACEOF
12036 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12037 _ACEOF
12042 CPPFLAGS=$ac_save_CPPFLAGS
12043 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12044 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12047 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12048 case "x$with_capi" in
12049 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12050 xno) ;;
12051 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12052 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12053 esac
12056 CUPSINCL=""
12058 if test "x$with_cups" != "xno"
12059 then
12060 ac_save_CPPFLAGS="$CPPFLAGS"
12061 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12062 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12063 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12064 for ac_header in cups/cups.h
12065 do :
12066 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12067 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12068 cat >>confdefs.h <<_ACEOF
12069 #define HAVE_CUPS_CUPS_H 1
12070 _ACEOF
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12072 $as_echo_n "checking for -lcups... " >&6; }
12073 if ${ac_cv_lib_soname_cups+:} false; then :
12074 $as_echo_n "(cached) " >&6
12075 else
12076 ac_check_soname_save_LIBS=$LIBS
12077 LIBS="-lcups $ac_cups_libs $LIBS"
12078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h. */
12081 /* Override any GCC internal prototype to avoid an error.
12082 Use char because int might match the return type of a GCC
12083 builtin and then its argument prototype would still apply. */
12084 #ifdef __cplusplus
12085 extern "C"
12086 #endif
12087 char cupsGetDefault ();
12089 main ()
12091 return cupsGetDefault ();
12093 return 0;
12095 _ACEOF
12096 if ac_fn_c_try_link "$LINENO"; then :
12097 case "$LIBEXT" in
12098 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12099 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'` ;;
12100 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12101 if test "x$ac_cv_lib_soname_cups" = x; then :
12102 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12103 fi ;;
12104 esac
12106 rm -f core conftest.err conftest.$ac_objext \
12107 conftest$ac_exeext conftest.$ac_ext
12108 LIBS=$ac_check_soname_save_LIBS
12110 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12112 $as_echo "not found" >&6; }
12114 else
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12116 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12118 cat >>confdefs.h <<_ACEOF
12119 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12120 _ACEOF
12122 CUPSINCL="$ac_cups_cflags"
12126 done
12128 CPPFLAGS="$ac_save_CPPFLAGS"
12130 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12131 case "x$with_cups" in
12132 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12133 xno) ;;
12134 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12135 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12136 esac
12139 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12140 then
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12142 $as_echo_n "checking for -lfontconfig... " >&6; }
12143 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12144 $as_echo_n "(cached) " >&6
12145 else
12146 ac_check_soname_save_LIBS=$LIBS
12147 LIBS="-lfontconfig $LIBS"
12148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12149 /* end confdefs.h. */
12151 /* Override any GCC internal prototype to avoid an error.
12152 Use char because int might match the return type of a GCC
12153 builtin and then its argument prototype would still apply. */
12154 #ifdef __cplusplus
12155 extern "C"
12156 #endif
12157 char FcInit ();
12159 main ()
12161 return FcInit ();
12163 return 0;
12165 _ACEOF
12166 if ac_fn_c_try_link "$LINENO"; then :
12167 case "$LIBEXT" in
12168 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12169 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'` ;;
12170 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12171 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
12172 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12173 fi ;;
12174 esac
12176 rm -f core conftest.err conftest.$ac_objext \
12177 conftest$ac_exeext conftest.$ac_ext
12178 LIBS=$ac_check_soname_save_LIBS
12180 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12182 $as_echo "not found" >&6; }
12184 else
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12186 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12188 cat >>confdefs.h <<_ACEOF
12189 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12190 _ACEOF
12194 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
12195 then
12196 ac_save_CPPFLAGS="$CPPFLAGS"
12197 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
12198 $as_unset ac_cv_header_fontconfig_fontconfig_h
12199 for ac_header in fontconfig/fontconfig.h
12200 do :
12201 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12202 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12203 cat >>confdefs.h <<_ACEOF
12204 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12205 _ACEOF
12209 done
12211 CPPFLAGS="$ac_save_CPPFLAGS"
12212 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12213 then
12214 FONTCONFIGINCL="$X_CFLAGS"
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12217 $as_echo_n "checking for -lfontconfig... " >&6; }
12218 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12219 $as_echo_n "(cached) " >&6
12220 else
12221 ac_check_soname_save_LIBS=$LIBS
12222 LIBS="-lfontconfig $X_LIBS $LIBS"
12223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12224 /* end confdefs.h. */
12226 /* Override any GCC internal prototype to avoid an error.
12227 Use char because int might match the return type of a GCC
12228 builtin and then its argument prototype would still apply. */
12229 #ifdef __cplusplus
12230 extern "C"
12231 #endif
12232 char FcInit ();
12234 main ()
12236 return FcInit ();
12238 return 0;
12240 _ACEOF
12241 if ac_fn_c_try_link "$LINENO"; then :
12242 case "$LIBEXT" in
12243 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12244 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'` ;;
12245 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12246 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
12247 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12248 fi ;;
12249 esac
12251 rm -f core conftest.err conftest.$ac_objext \
12252 conftest$ac_exeext conftest.$ac_ext
12253 LIBS=$ac_check_soname_save_LIBS
12255 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12257 $as_echo "not found" >&6; }
12259 else
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12261 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12263 cat >>confdefs.h <<_ACEOF
12264 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12265 _ACEOF
12271 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12272 case "x$with_fontconfig" in
12273 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12274 xno) ;;
12275 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12276 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12277 esac
12280 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12281 then
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12283 $as_echo_n "checking for -lgsm... " >&6; }
12284 if ${ac_cv_lib_soname_gsm+:} false; then :
12285 $as_echo_n "(cached) " >&6
12286 else
12287 ac_check_soname_save_LIBS=$LIBS
12288 LIBS="-lgsm $LIBS"
12289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12290 /* end confdefs.h. */
12292 /* Override any GCC internal prototype to avoid an error.
12293 Use char because int might match the return type of a GCC
12294 builtin and then its argument prototype would still apply. */
12295 #ifdef __cplusplus
12296 extern "C"
12297 #endif
12298 char gsm_create ();
12300 main ()
12302 return gsm_create ();
12304 return 0;
12306 _ACEOF
12307 if ac_fn_c_try_link "$LINENO"; then :
12308 case "$LIBEXT" in
12309 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12310 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'` ;;
12311 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12312 if test "x$ac_cv_lib_soname_gsm" = x; then :
12313 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12314 fi ;;
12315 esac
12317 rm -f core conftest.err conftest.$ac_objext \
12318 conftest$ac_exeext conftest.$ac_ext
12319 LIBS=$ac_check_soname_save_LIBS
12321 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12323 $as_echo "not found" >&6; }
12325 else
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12327 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12329 cat >>confdefs.h <<_ACEOF
12330 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12331 _ACEOF
12336 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12337 case "x$with_gsm" in
12338 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12339 xno) ;;
12340 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12341 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12342 esac
12345 if test "x$with_jpeg" != "xno"
12346 then
12347 if test -n "$JPEG_CFLAGS"; then :
12349 elif test -n "$PKG_CONFIG"; then :
12350 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12353 if test -n "$JPEG_LIBS"; then :
12355 elif test -n "$PKG_CONFIG"; then :
12356 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12360 ac_save_CPPFLAGS=$CPPFLAGS
12361 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12362 for ac_header in jpeglib.h
12363 do :
12364 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12365 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12366 cat >>confdefs.h <<_ACEOF
12367 #define HAVE_JPEGLIB_H 1
12368 _ACEOF
12372 done
12374 if test "$ac_cv_header_jpeglib_h" = "yes"
12375 then
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12377 $as_echo_n "checking for -ljpeg... " >&6; }
12378 if ${ac_cv_lib_soname_jpeg+:} false; then :
12379 $as_echo_n "(cached) " >&6
12380 else
12381 ac_check_soname_save_LIBS=$LIBS
12382 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12384 /* end confdefs.h. */
12386 /* Override any GCC internal prototype to avoid an error.
12387 Use char because int might match the return type of a GCC
12388 builtin and then its argument prototype would still apply. */
12389 #ifdef __cplusplus
12390 extern "C"
12391 #endif
12392 char jpeg_start_decompress ();
12394 main ()
12396 return jpeg_start_decompress ();
12398 return 0;
12400 _ACEOF
12401 if ac_fn_c_try_link "$LINENO"; then :
12402 case "$LIBEXT" in
12403 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12404 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'` ;;
12405 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12406 if test "x$ac_cv_lib_soname_jpeg" = x; then :
12407 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12408 fi ;;
12409 esac
12411 rm -f core conftest.err conftest.$ac_objext \
12412 conftest$ac_exeext conftest.$ac_ext
12413 LIBS=$ac_check_soname_save_LIBS
12415 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12417 $as_echo "not found" >&6; }
12418 JPEG_CFLAGS=""
12419 else
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12421 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12423 cat >>confdefs.h <<_ACEOF
12424 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12425 _ACEOF
12429 else
12430 JPEG_CFLAGS=""
12432 CPPFLAGS=$ac_save_CPPFLAGS
12433 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12434 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12437 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12438 case "x$with_jpeg" in
12439 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12440 xno) ;;
12441 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12442 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12443 esac
12446 if test "x$with_png" != "xno"
12447 then
12448 if test -n "$PNG_CFLAGS"; then :
12450 elif test -n "$PKG_CONFIG"; then :
12451 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12453 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12454 if test -n "$PNG_LIBS"; then :
12456 elif test -n "$PKG_CONFIG"; then :
12457 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12459 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12461 ac_save_CPPFLAGS=$CPPFLAGS
12462 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12463 for ac_header in png.h
12464 do :
12465 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12466 if test "x$ac_cv_header_png_h" = xyes; then :
12467 cat >>confdefs.h <<_ACEOF
12468 #define HAVE_PNG_H 1
12469 _ACEOF
12473 done
12475 if test "$ac_cv_header_png_h" = "yes"
12476 then
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12478 $as_echo_n "checking for -lpng... " >&6; }
12479 if ${ac_cv_lib_soname_png+:} false; then :
12480 $as_echo_n "(cached) " >&6
12481 else
12482 ac_check_soname_save_LIBS=$LIBS
12483 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12485 /* end confdefs.h. */
12487 /* Override any GCC internal prototype to avoid an error.
12488 Use char because int might match the return type of a GCC
12489 builtin and then its argument prototype would still apply. */
12490 #ifdef __cplusplus
12491 extern "C"
12492 #endif
12493 char png_create_read_struct ();
12495 main ()
12497 return png_create_read_struct ();
12499 return 0;
12501 _ACEOF
12502 if ac_fn_c_try_link "$LINENO"; then :
12503 case "$LIBEXT" in
12504 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12505 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'` ;;
12506 *) 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'`
12507 if test "x$ac_cv_lib_soname_png" = x; then :
12508 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12509 fi ;;
12510 esac
12512 rm -f core conftest.err conftest.$ac_objext \
12513 conftest$ac_exeext conftest.$ac_ext
12514 LIBS=$ac_check_soname_save_LIBS
12516 if test "x$ac_cv_lib_soname_png" = "x"; then :
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12518 $as_echo "not found" >&6; }
12519 PNG_CFLAGS=""
12520 else
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12522 $as_echo "$ac_cv_lib_soname_png" >&6; }
12524 cat >>confdefs.h <<_ACEOF
12525 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12526 _ACEOF
12528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12529 /* end confdefs.h. */
12530 #include <png.h>
12532 main ()
12534 typeof(png_set_expand_gray_1_2_4_to_8) *p
12536 return 0;
12538 _ACEOF
12539 if ac_fn_c_try_compile "$LINENO"; then :
12541 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12546 else
12547 PNG_CFLAGS=""
12549 CPPFLAGS=$ac_save_CPPFLAGS
12550 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12551 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12554 if test "x$ac_cv_lib_soname_png" = "x"; then :
12555 case "x$with_png" in
12556 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12557 xno) ;;
12558 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12559 This is an error since --with-png was requested." "$LINENO" 5 ;;
12560 esac
12563 if test "x$with_tiff" != "xno"
12564 then
12565 if test -n "$TIFF_CFLAGS"; then :
12567 elif test -n "$PKG_CONFIG"; then :
12568 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12571 if test -n "$TIFF_LIBS"; then :
12573 elif test -n "$PKG_CONFIG"; then :
12574 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12578 ac_save_CPPFLAGS=$CPPFLAGS
12579 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12580 for ac_header in tiffio.h
12581 do :
12582 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12583 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12584 cat >>confdefs.h <<_ACEOF
12585 #define HAVE_TIFFIO_H 1
12586 _ACEOF
12590 done
12592 if test "$ac_cv_header_tiffio_h" = "yes"
12593 then
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12595 $as_echo_n "checking for -ltiff... " >&6; }
12596 if ${ac_cv_lib_soname_tiff+:} false; then :
12597 $as_echo_n "(cached) " >&6
12598 else
12599 ac_check_soname_save_LIBS=$LIBS
12600 LIBS="-ltiff $TIFF_LIBS $LIBS"
12601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12602 /* end confdefs.h. */
12604 /* Override any GCC internal prototype to avoid an error.
12605 Use char because int might match the return type of a GCC
12606 builtin and then its argument prototype would still apply. */
12607 #ifdef __cplusplus
12608 extern "C"
12609 #endif
12610 char TIFFClientOpen ();
12612 main ()
12614 return TIFFClientOpen ();
12616 return 0;
12618 _ACEOF
12619 if ac_fn_c_try_link "$LINENO"; then :
12620 case "$LIBEXT" in
12621 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12622 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'` ;;
12623 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12624 if test "x$ac_cv_lib_soname_tiff" = x; then :
12625 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12626 fi ;;
12627 esac
12629 rm -f core conftest.err conftest.$ac_objext \
12630 conftest$ac_exeext conftest.$ac_ext
12631 LIBS=$ac_check_soname_save_LIBS
12633 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12635 $as_echo "not found" >&6; }
12637 else
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12639 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12641 cat >>confdefs.h <<_ACEOF
12642 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12643 _ACEOF
12648 CPPFLAGS=$ac_save_CPPFLAGS
12649 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12650 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12653 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12654 case "x$with_tiff" in
12655 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12656 xno) ;;
12657 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
12658 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12659 esac
12662 if test "x$with_mpg123" != "xno"
12663 then
12664 if test -n "$MPG123_CFLAGS"; then :
12666 elif test -n "$PKG_CONFIG"; then :
12667 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
12670 if test -n "$MPG123_LIBS"; then :
12672 elif test -n "$PKG_CONFIG"; then :
12673 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
12676 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
12677 ac_save_CPPFLAGS=$CPPFLAGS
12678 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
12679 for ac_header in mpg123.h
12680 do :
12681 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
12682 if test "x$ac_cv_header_mpg123_h" = xyes; then :
12683 cat >>confdefs.h <<_ACEOF
12684 #define HAVE_MPG123_H 1
12685 _ACEOF
12689 done
12691 if test "$ac_cv_header_mpg123_h" = "yes"
12692 then
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12694 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12695 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
12696 $as_echo_n "(cached) " >&6
12697 else
12698 ac_check_lib_save_LIBS=$LIBS
12699 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
12700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12701 /* end confdefs.h. */
12703 /* Override any GCC internal prototype to avoid an error.
12704 Use char because int might match the return type of a GCC
12705 builtin and then its argument prototype would still apply. */
12706 #ifdef __cplusplus
12707 extern "C"
12708 #endif
12709 char mpg123_feed ();
12711 main ()
12713 return mpg123_feed ();
12715 return 0;
12717 _ACEOF
12718 if ac_fn_c_try_link "$LINENO"; then :
12719 ac_cv_lib_mpg123_mpg123_feed=yes
12720 else
12721 ac_cv_lib_mpg123_mpg123_feed=no
12723 rm -f core conftest.err conftest.$ac_objext \
12724 conftest$ac_exeext conftest.$ac_ext
12725 LIBS=$ac_check_lib_save_LIBS
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12728 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12729 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
12731 else
12732 MPG123_LIBS=""
12735 else
12736 MPG123_CFLAGS=""
12737 MPG123_LIBS=""
12739 CPPFLAGS=$ac_save_CPPFLAGS
12740 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12741 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12744 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
12745 case "x$with_mpg123" in
12746 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12747 xno) ;;
12748 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12749 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12750 esac
12752 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}
12754 if test "$ac_cv_header_AL_al_h" = "yes"
12755 then
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12757 $as_echo_n "checking for -lopenal... " >&6; }
12758 if ${ac_cv_lib_soname_openal+:} false; then :
12759 $as_echo_n "(cached) " >&6
12760 else
12761 ac_check_soname_save_LIBS=$LIBS
12762 LIBS="-lopenal $LIBS"
12763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12764 /* end confdefs.h. */
12766 /* Override any GCC internal prototype to avoid an error.
12767 Use char because int might match the return type of a GCC
12768 builtin and then its argument prototype would still apply. */
12769 #ifdef __cplusplus
12770 extern "C"
12771 #endif
12772 char alGetSource3i ();
12774 main ()
12776 return alGetSource3i ();
12778 return 0;
12780 _ACEOF
12781 if ac_fn_c_try_link "$LINENO"; then :
12782 case "$LIBEXT" in
12783 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12784 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'` ;;
12785 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12786 if test "x$ac_cv_lib_soname_openal" = x; then :
12787 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12788 fi ;;
12789 esac
12791 rm -f core conftest.err conftest.$ac_objext \
12792 conftest$ac_exeext conftest.$ac_ext
12793 LIBS=$ac_check_soname_save_LIBS
12795 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12797 $as_echo "not found" >&6; }
12799 else
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12801 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12803 cat >>confdefs.h <<_ACEOF
12804 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12805 _ACEOF
12807 LIBOPENAL="-lopenal"
12809 ac_cv_lib_openal=yes
12811 cat >>confdefs.h <<_ACEOF
12812 #define HAVE_OPENAL 1
12813 _ACEOF
12817 if test "x$ac_cv_lib_openal" != xyes; then :
12818 case "x$with_openal" in
12819 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12820 xno) ;;
12821 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12822 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12823 esac
12825 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
12827 if test "$ac_cv_header_kstat_h" = "yes"
12828 then
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12830 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12831 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
12832 $as_echo_n "(cached) " >&6
12833 else
12834 ac_check_lib_save_LIBS=$LIBS
12835 LIBS="-lkstat $LIBS"
12836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12837 /* end confdefs.h. */
12839 /* Override any GCC internal prototype to avoid an error.
12840 Use char because int might match the return type of a GCC
12841 builtin and then its argument prototype would still apply. */
12842 #ifdef __cplusplus
12843 extern "C"
12844 #endif
12845 char kstat_open ();
12847 main ()
12849 return kstat_open ();
12851 return 0;
12853 _ACEOF
12854 if ac_fn_c_try_link "$LINENO"; then :
12855 ac_cv_lib_kstat_kstat_open=yes
12856 else
12857 ac_cv_lib_kstat_kstat_open=no
12859 rm -f core conftest.err conftest.$ac_objext \
12860 conftest$ac_exeext conftest.$ac_ext
12861 LIBS=$ac_check_lib_save_LIBS
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12864 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12865 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
12867 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12869 LIBKSTAT="-lkstat"
12875 if test "$ac_cv_header_libprocstat_h" = "yes"
12876 then
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
12878 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
12879 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
12880 $as_echo_n "(cached) " >&6
12881 else
12882 ac_check_lib_save_LIBS=$LIBS
12883 LIBS="-lprocstat $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 procstat_open_sysctl ();
12895 main ()
12897 return procstat_open_sysctl ();
12899 return 0;
12901 _ACEOF
12902 if ac_fn_c_try_link "$LINENO"; then :
12903 ac_cv_lib_procstat_procstat_open_sysctl=yes
12904 else
12905 ac_cv_lib_procstat_procstat_open_sysctl=no
12907 rm -f core conftest.err conftest.$ac_objext \
12908 conftest$ac_exeext conftest.$ac_ext
12909 LIBS=$ac_check_lib_save_LIBS
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
12912 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
12913 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
12915 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
12917 LIBPROCSTAT="-lprocstat"
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12924 $as_echo_n "checking for -lodbc... " >&6; }
12925 if ${ac_cv_lib_soname_odbc+:} false; then :
12926 $as_echo_n "(cached) " >&6
12927 else
12928 ac_check_soname_save_LIBS=$LIBS
12929 LIBS="-lodbc $LIBS"
12930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12931 /* end confdefs.h. */
12933 /* Override any GCC internal prototype to avoid an error.
12934 Use char because int might match the return type of a GCC
12935 builtin and then its argument prototype would still apply. */
12936 #ifdef __cplusplus
12937 extern "C"
12938 #endif
12939 char SQLConnect ();
12941 main ()
12943 return SQLConnect ();
12945 return 0;
12947 _ACEOF
12948 if ac_fn_c_try_link "$LINENO"; then :
12949 case "$LIBEXT" in
12950 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12951 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'` ;;
12952 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12953 if test "x$ac_cv_lib_soname_odbc" = x; then :
12954 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12955 fi ;;
12956 esac
12958 rm -f core conftest.err conftest.$ac_objext \
12959 conftest$ac_exeext conftest.$ac_ext
12960 LIBS=$ac_check_soname_save_LIBS
12962 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12964 $as_echo "not found" >&6; }
12965 cat >>confdefs.h <<_ACEOF
12966 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12967 _ACEOF
12969 else
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12971 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12973 cat >>confdefs.h <<_ACEOF
12974 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12975 _ACEOF
12980 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12981 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
12982 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12983 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
12985 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12986 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
12987 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12988 then
12989 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
12993 EXTRACFLAGS=""
12995 if test "x${GCC}" = "xyes"
12996 then
12997 EXTRACFLAGS="-Wall -pipe"
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13000 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13001 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13002 $as_echo_n "(cached) " >&6
13003 else
13004 if test "$cross_compiling" = yes; then :
13005 ac_cv_c_gcc_strength_bug="yes"
13006 else
13007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13008 /* end confdefs.h. */
13009 int L[4] = {0,1,2,3};
13011 main ()
13013 static int Array[3];
13014 unsigned int B = 3;
13015 int i;
13016 for(i=0; i<B; i++) Array[i] = i - 3;
13017 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13018 L[i] = 4;
13019 return (Array[1] != -2 || L[2] != 3)
13021 return 0;
13023 _ACEOF
13024 if ac_fn_c_try_run "$LINENO"; then :
13025 ac_cv_c_gcc_strength_bug="no"
13026 else
13027 ac_cv_c_gcc_strength_bug="yes"
13029 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13030 conftest.$ac_objext conftest.beam conftest.$ac_ext
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13035 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13036 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13037 then
13038 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13042 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13043 if ${ac_cv_cflags__fno_builtin+:} false; then :
13044 $as_echo_n "(cached) " >&6
13045 else
13046 ac_wine_try_cflags_saved=$CFLAGS
13047 CFLAGS="$CFLAGS -fno-builtin"
13048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13049 /* end confdefs.h. */
13050 int main(int argc, char **argv) { return 0; }
13051 _ACEOF
13052 if ac_fn_c_try_link "$LINENO"; then :
13053 ac_cv_cflags__fno_builtin=yes
13054 else
13055 ac_cv_cflags__fno_builtin=no
13057 rm -f core conftest.err conftest.$ac_objext \
13058 conftest$ac_exeext conftest.$ac_ext
13059 CFLAGS=$ac_wine_try_cflags_saved
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13062 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13063 if test $ac_cv_cflags__fno_builtin = yes; then :
13064 BUILTINFLAG="-fno-builtin"
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13068 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13069 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13070 $as_echo_n "(cached) " >&6
13071 else
13072 ac_wine_try_cflags_saved=$CFLAGS
13073 CFLAGS="$CFLAGS -fno-strict-aliasing"
13074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13075 /* end confdefs.h. */
13076 int main(int argc, char **argv) { return 0; }
13077 _ACEOF
13078 if ac_fn_c_try_link "$LINENO"; then :
13079 ac_cv_cflags__fno_strict_aliasing=yes
13080 else
13081 ac_cv_cflags__fno_strict_aliasing=no
13083 rm -f core conftest.err conftest.$ac_objext \
13084 conftest$ac_exeext conftest.$ac_ext
13085 CFLAGS=$ac_wine_try_cflags_saved
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13088 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13089 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
13090 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13092 saved_CFLAGS=$CFLAGS
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13094 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13095 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13096 $as_echo_n "(cached) " >&6
13097 else
13098 ac_wine_try_cflags_saved=$CFLAGS
13099 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13101 /* end confdefs.h. */
13102 int main(int argc, char **argv) { return 0; }
13103 _ACEOF
13104 if ac_fn_c_try_link "$LINENO"; then :
13105 ac_cv_cflags__Werror_unknown_warning_option=yes
13106 else
13107 ac_cv_cflags__Werror_unknown_warning_option=no
13109 rm -f core conftest.err conftest.$ac_objext \
13110 conftest$ac_exeext conftest.$ac_ext
13111 CFLAGS=$ac_wine_try_cflags_saved
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13114 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13115 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
13116 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13119 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13120 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13121 $as_echo_n "(cached) " >&6
13122 else
13123 ac_wine_try_cflags_saved=$CFLAGS
13124 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13126 /* end confdefs.h. */
13127 int main(int argc, char **argv) { return 0; }
13128 _ACEOF
13129 if ac_fn_c_try_link "$LINENO"; then :
13130 ac_cv_cflags__Wdeclaration_after_statement=yes
13131 else
13132 ac_cv_cflags__Wdeclaration_after_statement=no
13134 rm -f core conftest.err conftest.$ac_objext \
13135 conftest$ac_exeext conftest.$ac_ext
13136 CFLAGS=$ac_wine_try_cflags_saved
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13139 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13140 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
13141 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13144 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13145 if ${ac_cv_cflags__Wempty_body+:} false; then :
13146 $as_echo_n "(cached) " >&6
13147 else
13148 ac_wine_try_cflags_saved=$CFLAGS
13149 CFLAGS="$CFLAGS -Wempty-body"
13150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13151 /* end confdefs.h. */
13152 int main(int argc, char **argv) { return 0; }
13153 _ACEOF
13154 if ac_fn_c_try_link "$LINENO"; then :
13155 ac_cv_cflags__Wempty_body=yes
13156 else
13157 ac_cv_cflags__Wempty_body=no
13159 rm -f core conftest.err conftest.$ac_objext \
13160 conftest$ac_exeext conftest.$ac_ext
13161 CFLAGS=$ac_wine_try_cflags_saved
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13164 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13165 if test $ac_cv_cflags__Wempty_body = yes; then :
13166 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13169 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13170 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13171 $as_echo_n "(cached) " >&6
13172 else
13173 ac_wine_try_cflags_saved=$CFLAGS
13174 CFLAGS="$CFLAGS -Wignored-qualifiers"
13175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13176 /* end confdefs.h. */
13177 int main(int argc, char **argv) { return 0; }
13178 _ACEOF
13179 if ac_fn_c_try_link "$LINENO"; then :
13180 ac_cv_cflags__Wignored_qualifiers=yes
13181 else
13182 ac_cv_cflags__Wignored_qualifiers=no
13184 rm -f core conftest.err conftest.$ac_objext \
13185 conftest$ac_exeext conftest.$ac_ext
13186 CFLAGS=$ac_wine_try_cflags_saved
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13189 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13190 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
13191 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13194 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13195 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13196 $as_echo_n "(cached) " >&6
13197 else
13198 ac_wine_try_cflags_saved=$CFLAGS
13199 CFLAGS="$CFLAGS -Wstrict-prototypes"
13200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13201 /* end confdefs.h. */
13202 int main(int argc, char **argv) { return 0; }
13203 _ACEOF
13204 if ac_fn_c_try_link "$LINENO"; then :
13205 ac_cv_cflags__Wstrict_prototypes=yes
13206 else
13207 ac_cv_cflags__Wstrict_prototypes=no
13209 rm -f core conftest.err conftest.$ac_objext \
13210 conftest$ac_exeext conftest.$ac_ext
13211 CFLAGS=$ac_wine_try_cflags_saved
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13214 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13215 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
13216 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13219 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13220 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13221 $as_echo_n "(cached) " >&6
13222 else
13223 ac_wine_try_cflags_saved=$CFLAGS
13224 CFLAGS="$CFLAGS -Wtype-limits"
13225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13226 /* end confdefs.h. */
13227 int main(int argc, char **argv) { return 0; }
13228 _ACEOF
13229 if ac_fn_c_try_link "$LINENO"; then :
13230 ac_cv_cflags__Wtype_limits=yes
13231 else
13232 ac_cv_cflags__Wtype_limits=no
13234 rm -f core conftest.err conftest.$ac_objext \
13235 conftest$ac_exeext conftest.$ac_ext
13236 CFLAGS=$ac_wine_try_cflags_saved
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13239 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13240 if test $ac_cv_cflags__Wtype_limits = yes; then :
13241 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13244 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13245 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13246 $as_echo_n "(cached) " >&6
13247 else
13248 ac_wine_try_cflags_saved=$CFLAGS
13249 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13251 /* end confdefs.h. */
13252 int main(int argc, char **argv) { return 0; }
13253 _ACEOF
13254 if ac_fn_c_try_link "$LINENO"; then :
13255 ac_cv_cflags__Wunused_but_set_parameter=yes
13256 else
13257 ac_cv_cflags__Wunused_but_set_parameter=no
13259 rm -f core conftest.err conftest.$ac_objext \
13260 conftest$ac_exeext conftest.$ac_ext
13261 CFLAGS=$ac_wine_try_cflags_saved
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13264 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13265 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
13266 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13269 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13270 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13271 $as_echo_n "(cached) " >&6
13272 else
13273 ac_wine_try_cflags_saved=$CFLAGS
13274 CFLAGS="$CFLAGS -Wwrite-strings"
13275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13276 /* end confdefs.h. */
13277 int main(int argc, char **argv) { return 0; }
13278 _ACEOF
13279 if ac_fn_c_try_link "$LINENO"; then :
13280 ac_cv_cflags__Wwrite_strings=yes
13281 else
13282 ac_cv_cflags__Wwrite_strings=no
13284 rm -f core conftest.err conftest.$ac_objext \
13285 conftest$ac_exeext conftest.$ac_ext
13286 CFLAGS=$ac_wine_try_cflags_saved
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13289 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13290 if test $ac_cv_cflags__Wwrite_strings = yes; then :
13291 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13295 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13296 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13297 $as_echo_n "(cached) " >&6
13298 else
13299 ac_wine_try_cflags_saved=$CFLAGS
13300 CFLAGS="$CFLAGS -Wpointer-arith"
13301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13302 /* end confdefs.h. */
13303 int main(int argc, char **argv) { return 0; }
13304 _ACEOF
13305 if ac_fn_c_try_link "$LINENO"; then :
13306 ac_cv_cflags__Wpointer_arith=yes
13307 else
13308 ac_cv_cflags__Wpointer_arith=no
13310 rm -f core conftest.err conftest.$ac_objext \
13311 conftest$ac_exeext conftest.$ac_ext
13312 CFLAGS=$ac_wine_try_cflags_saved
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13315 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13316 if test $ac_cv_cflags__Wpointer_arith = yes; then :
13317 saved_string_h_CFLAGS=$CFLAGS
13318 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13320 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13321 if ${ac_cv_c_string_h_warnings+:} false; then :
13322 $as_echo_n "(cached) " >&6
13323 else
13324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13325 /* end confdefs.h. */
13326 #include <string.h>
13328 main ()
13332 return 0;
13334 _ACEOF
13335 if ac_fn_c_try_compile "$LINENO"; then :
13336 ac_cv_c_string_h_warnings=no
13337 else
13338 ac_cv_c_string_h_warnings=yes
13340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13343 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13344 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13345 CFLAGS=$saved_string_h_CFLAGS
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13349 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13350 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13351 $as_echo_n "(cached) " >&6
13352 else
13353 ac_wine_try_cflags_saved=$CFLAGS
13354 CFLAGS="$CFLAGS -Wlogical-op"
13355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13356 /* end confdefs.h. */
13357 int main(int argc, char **argv) { return 0; }
13358 _ACEOF
13359 if ac_fn_c_try_link "$LINENO"; then :
13360 ac_cv_cflags__Wlogical_op=yes
13361 else
13362 ac_cv_cflags__Wlogical_op=no
13364 rm -f core conftest.err conftest.$ac_objext \
13365 conftest$ac_exeext conftest.$ac_ext
13366 CFLAGS=$ac_wine_try_cflags_saved
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13369 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13370 if test $ac_cv_cflags__Wlogical_op = yes; then :
13371 saved_string_h_CFLAGS=$CFLAGS
13372 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13374 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13375 if ${ac_cv_c_logicalop_noisy+:} false; then :
13376 $as_echo_n "(cached) " >&6
13377 else
13378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13379 /* end confdefs.h. */
13380 #include <string.h>
13381 char*f(const char *h,char n) {return strchr(h,n);}
13383 main ()
13387 return 0;
13389 _ACEOF
13390 if ac_fn_c_try_compile "$LINENO"; then :
13391 ac_cv_c_logicalop_noisy=no
13392 else
13393 ac_cv_c_logicalop_noisy=yes
13395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13398 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13399 CFLAGS=$saved_string_h_CFLAGS
13400 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13403 CFLAGS=$saved_CFLAGS
13405 for ac_flag in $CFLAGS; do
13406 case $ac_flag in
13407 -g) case $host_os in
13408 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13409 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13410 if ${ac_cv_cflags__gstabsp+:} false; then :
13411 $as_echo_n "(cached) " >&6
13412 else
13413 ac_wine_try_cflags_saved=$CFLAGS
13414 CFLAGS="$CFLAGS -gstabs+"
13415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13416 /* end confdefs.h. */
13417 int main(int argc, char **argv) { return 0; }
13418 _ACEOF
13419 if ac_fn_c_try_link "$LINENO"; then :
13420 ac_cv_cflags__gstabsp=yes
13421 else
13422 ac_cv_cflags__gstabsp=no
13424 rm -f core conftest.err conftest.$ac_objext \
13425 conftest$ac_exeext conftest.$ac_ext
13426 CFLAGS=$ac_wine_try_cflags_saved
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13429 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13430 if test $ac_cv_cflags__gstabsp = yes; then :
13431 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13432 fi ;;
13433 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13434 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13435 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13436 $as_echo_n "(cached) " >&6
13437 else
13438 ac_wine_try_cflags_saved=$CFLAGS
13439 CFLAGS="$CFLAGS -gdwarf-2"
13440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13441 /* end confdefs.h. */
13442 int main(int argc, char **argv) { return 0; }
13443 _ACEOF
13444 if ac_fn_c_try_link "$LINENO"; then :
13445 ac_cv_cflags__gdwarf_2=yes
13446 else
13447 ac_cv_cflags__gdwarf_2=no
13449 rm -f core conftest.err conftest.$ac_objext \
13450 conftest$ac_exeext conftest.$ac_ext
13451 CFLAGS=$ac_wine_try_cflags_saved
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13454 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13455 if test $ac_cv_cflags__gdwarf_2 = yes; then :
13456 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13459 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13460 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
13461 $as_echo_n "(cached) " >&6
13462 else
13463 ac_wine_try_cflags_saved=$CFLAGS
13464 CFLAGS="$CFLAGS -gstrict-dwarf"
13465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13466 /* end confdefs.h. */
13467 int main(int argc, char **argv) { return 0; }
13468 _ACEOF
13469 if ac_fn_c_try_link "$LINENO"; then :
13470 ac_cv_cflags__gstrict_dwarf=yes
13471 else
13472 ac_cv_cflags__gstrict_dwarf=no
13474 rm -f core conftest.err conftest.$ac_objext \
13475 conftest$ac_exeext conftest.$ac_ext
13476 CFLAGS=$ac_wine_try_cflags_saved
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13479 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13480 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
13481 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
13482 fi ;;
13483 esac ;;
13484 esac
13485 done
13487 case $host_cpu in
13488 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13489 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13490 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13491 $as_echo_n "(cached) " >&6
13492 else
13493 ac_wine_try_cflags_saved=$CFLAGS
13494 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13496 /* end confdefs.h. */
13497 int main(int argc, char **argv) { return 0; }
13498 _ACEOF
13499 if ac_fn_c_try_link "$LINENO"; then :
13500 ac_cv_cflags__fno_omit_frame_pointer=yes
13501 else
13502 ac_cv_cflags__fno_omit_frame_pointer=no
13504 rm -f core conftest.err conftest.$ac_objext \
13505 conftest$ac_exeext conftest.$ac_ext
13506 CFLAGS=$ac_wine_try_cflags_saved
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13509 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13510 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
13511 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13512 fi ;;
13513 esac
13515 case $host in
13516 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13517 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13518 if ${ac_cv_cflags__Wno_format+:} false; then :
13519 $as_echo_n "(cached) " >&6
13520 else
13521 ac_wine_try_cflags_saved=$CFLAGS
13522 CFLAGS="$CFLAGS -Wno-format"
13523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13524 /* end confdefs.h. */
13525 int main(int argc, char **argv) { return 0; }
13526 _ACEOF
13527 if ac_fn_c_try_link "$LINENO"; then :
13528 ac_cv_cflags__Wno_format=yes
13529 else
13530 ac_cv_cflags__Wno_format=no
13532 rm -f core conftest.err conftest.$ac_objext \
13533 conftest$ac_exeext conftest.$ac_ext
13534 CFLAGS=$ac_wine_try_cflags_saved
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13537 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13538 if test $ac_cv_cflags__Wno_format = yes; then :
13539 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
13540 fi ;;
13541 esac
13543 if test "x$enable_maintainer_mode" = "xyes"
13544 then
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13546 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13547 if ${ac_cv_cflags__Werror+:} false; then :
13548 $as_echo_n "(cached) " >&6
13549 else
13550 ac_wine_try_cflags_saved=$CFLAGS
13551 CFLAGS="$CFLAGS -Werror"
13552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13553 /* end confdefs.h. */
13554 int main(int argc, char **argv) { return 0; }
13555 _ACEOF
13556 if ac_fn_c_try_link "$LINENO"; then :
13557 ac_cv_cflags__Werror=yes
13558 else
13559 ac_cv_cflags__Werror=no
13561 rm -f core conftest.err conftest.$ac_objext \
13562 conftest$ac_exeext conftest.$ac_ext
13563 CFLAGS=$ac_wine_try_cflags_saved
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13566 $as_echo "$ac_cv_cflags__Werror" >&6; }
13567 if test $ac_cv_cflags__Werror = yes; then :
13568 EXTRACFLAGS="$EXTRACFLAGS -Werror"
13572 saved_CFLAGS="$CFLAGS"
13573 CFLAGS="$CFLAGS -Werror"
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13575 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13576 if ${ac_cv_have_ms_hook_prologue+:} false; then :
13577 $as_echo_n "(cached) " >&6
13578 else
13579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13580 /* end confdefs.h. */
13581 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
13583 main ()
13587 return 0;
13589 _ACEOF
13590 if ac_fn_c_try_compile "$LINENO"; then :
13591 ac_cv_have_ms_hook_prologue="yes"
13592 else
13593 ac_cv_have_ms_hook_prologue="no"
13595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
13598 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
13599 CFLAGS="$saved_CFLAGS"
13600 if test "$ac_cv_have_ms_hook_prologue" = "yes"
13601 then
13603 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13605 else
13606 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
13613 $as_echo_n "checking for the need to disable Fortify... " >&6; }
13614 if ${ac_cv_c_fortify_enabled+:} false; then :
13615 $as_echo_n "(cached) " >&6
13616 else
13617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13618 /* end confdefs.h. */
13619 #include <string.h>
13621 main ()
13623 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
13624 #error Fortify enabled
13625 #endif
13627 return 0;
13629 _ACEOF
13630 if ac_fn_c_try_compile "$LINENO"; then :
13631 ac_cv_c_fortify_enabled=no
13632 else
13633 ac_cv_c_fortify_enabled=yes
13635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
13638 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
13639 if test "$ac_cv_c_fortify_enabled" = yes
13640 then
13641 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
13646 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
13647 if ${ac_cv_c_extern_prefix+:} false; then :
13648 $as_echo_n "(cached) " >&6
13649 else
13650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13651 /* end confdefs.h. */
13652 extern int ac_test;
13654 main ()
13656 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
13658 return 0;
13660 _ACEOF
13661 if ac_fn_c_try_link "$LINENO"; then :
13662 ac_cv_c_extern_prefix="yes"
13663 else
13664 ac_cv_c_extern_prefix="no"
13666 rm -f core conftest.err conftest.$ac_objext \
13667 conftest$ac_exeext conftest.$ac_ext
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
13670 $as_echo "$ac_cv_c_extern_prefix" >&6; }
13672 case $host_cpu in
13673 *i[3456789]86*)
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
13675 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
13676 if ${ac_cv_c_stdcall_suffix+:} false; then :
13677 $as_echo_n "(cached) " >&6
13678 else
13679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13680 /* end confdefs.h. */
13681 #ifndef _MSC_VER
13682 #define __stdcall __attribute__((__stdcall__))
13683 #endif
13684 int __stdcall ac_test(int i) { return i; }
13686 main ()
13688 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
13690 return 0;
13692 _ACEOF
13693 if ac_fn_c_try_link "$LINENO"; then :
13694 ac_cv_c_stdcall_suffix="yes"
13695 else
13696 ac_cv_c_stdcall_suffix="no"
13698 rm -f core conftest.err conftest.$ac_objext \
13699 conftest$ac_exeext conftest.$ac_ext
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
13702 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
13703 *) ac_cv_c_stdcall_suffix="no" ;;
13704 esac
13707 if test "$ac_cv_c_extern_prefix" = "yes"
13708 then
13709 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13711 asm_name_prefix="_"
13712 else
13713 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13715 asm_name_prefix=""
13719 if test "$ac_cv_c_stdcall_suffix" = "yes"
13720 then
13721 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13723 else
13724 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13730 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13731 if ${ac_cv_asm_func_def+:} false; then :
13732 $as_echo_n "(cached) " >&6
13733 else
13734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13735 /* end confdefs.h. */
13738 main ()
13740 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13742 return 0;
13744 _ACEOF
13745 if ac_fn_c_try_link "$LINENO"; then :
13746 ac_cv_asm_func_def=".def"
13747 else
13748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h. */
13752 main ()
13754 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13756 return 0;
13758 _ACEOF
13759 if ac_fn_c_try_link "$LINENO"; then :
13760 ac_cv_asm_func_def=".type @function"
13761 else
13762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13763 /* end confdefs.h. */
13766 main ()
13768 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13770 return 0;
13772 _ACEOF
13773 if ac_fn_c_try_link "$LINENO"; then :
13774 ac_cv_asm_func_def=".type 2"
13775 else
13776 ac_cv_asm_func_def="unknown"
13778 rm -f core conftest.err conftest.$ac_objext \
13779 conftest$ac_exeext conftest.$ac_ext
13781 rm -f core conftest.err conftest.$ac_objext \
13782 conftest$ac_exeext conftest.$ac_ext
13784 rm -f core conftest.err conftest.$ac_objext \
13785 conftest$ac_exeext conftest.$ac_ext
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13788 $as_echo "$ac_cv_asm_func_def" >&6; }
13791 case "$ac_cv_asm_func_def" in
13792 ".def")
13793 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13795 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13796 ".type @function")
13797 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13799 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
13800 ".type 2")
13801 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13803 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
13805 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13807 asm_func_header="" ;;
13808 esac
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13811 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13812 if ${ac_cv_c_asm_outside_funcs+:} false; then :
13813 $as_echo_n "(cached) " >&6
13814 else
13815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13816 /* end confdefs.h. */
13817 asm(".text\n\t.long 0");
13819 main ()
13823 return 0;
13825 _ACEOF
13826 if ac_fn_c_try_compile "$LINENO"; then :
13827 ac_cv_c_asm_outside_funcs="yes"
13828 else
13829 ac_cv_c_asm_outside_funcs="no"
13831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13834 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13837 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13838 if ${ac_cv_c_dot_previous+:} false; then :
13839 $as_echo_n "(cached) " >&6
13840 else
13841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13842 /* end confdefs.h. */
13845 main ()
13847 asm(".text\nac_test:\t.long 0\n\t.previous");
13849 return 0;
13851 _ACEOF
13852 if ac_fn_c_try_link "$LINENO"; then :
13853 ac_cv_c_dot_previous="yes"
13854 else
13855 ac_cv_c_dot_previous="no"
13857 rm -f core conftest.err conftest.$ac_objext \
13858 conftest$ac_exeext conftest.$ac_ext
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13861 $as_echo "$ac_cv_c_dot_previous" >&6; }
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13864 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13865 if ${ac_cv_c_cfi_support+:} false; then :
13866 $as_echo_n "(cached) " >&6
13867 else
13868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13870 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13872 main ()
13876 return 0;
13878 _ACEOF
13879 if ac_fn_c_try_compile "$LINENO"; then :
13880 ac_cv_c_cfi_support="yes"
13881 else
13882 ac_cv_c_cfi_support="no"
13884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13887 $as_echo "$ac_cv_c_cfi_support" >&6; }
13889 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13890 asm_func_trailer=""
13891 if test "$ac_cv_c_dot_previous" = "yes"
13892 then
13893 asm_func_trailer="\\n\\t.previous"
13895 if test "$ac_cv_c_cfi_support" = "yes"
13896 then
13897 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
13898 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
13900 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13902 UNWINDFLAGS=-fasynchronous-unwind-tables
13904 else
13905 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13909 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
13912 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13913 then
13914 cat >>confdefs.h <<_ACEOF
13915 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13916 _ACEOF
13918 else
13919 cat >>confdefs.h <<_ACEOF
13920 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13921 _ACEOF
13925 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13928 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13932 LDPATH=""
13934 case $build_os in
13935 cygwin*|mingw32*)
13936 TOOLSEXT=".exe"
13938 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
13940 darwin*|macosx*)
13943 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
13945 esac
13947 MAIN_BINARY="wine"
13949 test "x$enable_win64" != "xyes" || MAIN_BINARY="wine64"
13951 case $host_os in
13952 linux*)
13953 case $host_cpu in
13954 *i[3456789]86*) EXTRA_BINARIES="wine-preloader"
13956 x86_64*) EXTRA_BINARIES="wine64-preloader"
13958 esac
13960 esac
13963 ac_save_CFLAGS="$CFLAGS"
13964 CFLAGS="$CFLAGS $BUILTINFLAG"
13965 for ac_func in \
13966 __res_get_state \
13967 __res_getservers \
13968 _finite \
13969 _isnan \
13970 _pclose \
13971 _popen \
13972 _snprintf \
13973 _spawnvp \
13974 _strdup \
13975 _stricmp \
13976 _strnicmp \
13977 _strtoi64 \
13978 _strtoui64 \
13979 _vsnprintf \
13980 asctime_r \
13981 chsize \
13982 dlopen \
13983 epoll_create \
13984 ffs \
13985 finite \
13986 fnmatch \
13987 fork \
13988 fpclass \
13989 fstatfs \
13990 fstatvfs \
13991 ftruncate \
13992 futimens \
13993 futimes \
13994 futimesat \
13995 getattrlist \
13996 getdirentries \
13997 getopt_long_only \
13998 getpwuid \
13999 gettimeofday \
14000 getuid \
14001 if_nameindex \
14002 kqueue \
14003 lstat \
14004 memmove \
14005 mmap \
14006 pclose \
14007 pipe2 \
14008 poll \
14009 popen \
14010 port_create \
14011 prctl \
14012 pread \
14013 proc_pidinfo \
14014 pwrite \
14015 readdir \
14016 readlink \
14017 sched_yield \
14018 select \
14019 setproctitle \
14020 setrlimit \
14021 settimeofday \
14022 sigaltstack \
14023 sigprocmask \
14024 snprintf \
14025 statfs \
14026 statvfs \
14027 strcasecmp \
14028 strdup \
14029 strerror \
14030 strncasecmp \
14031 strtold \
14032 strtoll \
14033 strtoull \
14034 symlink \
14035 tcdrain \
14036 thr_kill2 \
14037 timegm \
14038 usleep \
14039 vsnprintf
14041 do :
14042 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14043 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14044 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14045 cat >>confdefs.h <<_ACEOF
14046 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14047 _ACEOF
14050 done
14052 CFLAGS="$ac_save_CFLAGS"
14054 if test "$ac_cv_func_dlopen" = no
14055 then
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14057 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14058 if ${ac_cv_lib_dl_dlopen+:} false; then :
14059 $as_echo_n "(cached) " >&6
14060 else
14061 ac_check_lib_save_LIBS=$LIBS
14062 LIBS="-ldl $LIBS"
14063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14064 /* end confdefs.h. */
14066 /* Override any GCC internal prototype to avoid an error.
14067 Use char because int might match the return type of a GCC
14068 builtin and then its argument prototype would still apply. */
14069 #ifdef __cplusplus
14070 extern "C"
14071 #endif
14072 char dlopen ();
14074 main ()
14076 return dlopen ();
14078 return 0;
14080 _ACEOF
14081 if ac_fn_c_try_link "$LINENO"; then :
14082 ac_cv_lib_dl_dlopen=yes
14083 else
14084 ac_cv_lib_dl_dlopen=no
14086 rm -f core conftest.err conftest.$ac_objext \
14087 conftest$ac_exeext conftest.$ac_ext
14088 LIBS=$ac_check_lib_save_LIBS
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14091 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14092 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14093 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14094 LIBDL="-ldl"
14099 ac_wine_check_funcs_save_LIBS="$LIBS"
14100 LIBS="$LIBS $LIBDL"
14101 for ac_func in dladdr
14102 do :
14103 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14104 if test "x$ac_cv_func_dladdr" = xyes; then :
14105 cat >>confdefs.h <<_ACEOF
14106 #define HAVE_DLADDR 1
14107 _ACEOF
14110 done
14112 LIBS="$ac_wine_check_funcs_save_LIBS"
14114 if test "$ac_cv_func_poll" = no
14115 then
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14117 $as_echo_n "checking for poll in -lpoll... " >&6; }
14118 if ${ac_cv_lib_poll_poll+:} false; then :
14119 $as_echo_n "(cached) " >&6
14120 else
14121 ac_check_lib_save_LIBS=$LIBS
14122 LIBS="-lpoll $LIBS"
14123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14124 /* end confdefs.h. */
14126 /* Override any GCC internal prototype to avoid an error.
14127 Use char because int might match the return type of a GCC
14128 builtin and then its argument prototype would still apply. */
14129 #ifdef __cplusplus
14130 extern "C"
14131 #endif
14132 char poll ();
14134 main ()
14136 return poll ();
14138 return 0;
14140 _ACEOF
14141 if ac_fn_c_try_link "$LINENO"; then :
14142 ac_cv_lib_poll_poll=yes
14143 else
14144 ac_cv_lib_poll_poll=no
14146 rm -f core conftest.err conftest.$ac_objext \
14147 conftest$ac_exeext conftest.$ac_ext
14148 LIBS=$ac_check_lib_save_LIBS
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14151 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14152 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14153 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14154 LIBPOLL="-lpoll"
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14161 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14162 if ${ac_cv_search_gethostbyname+:} false; then :
14163 $as_echo_n "(cached) " >&6
14164 else
14165 ac_func_search_save_LIBS=$LIBS
14166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14167 /* end confdefs.h. */
14169 /* Override any GCC internal prototype to avoid an error.
14170 Use char because int might match the return type of a GCC
14171 builtin and then its argument prototype would still apply. */
14172 #ifdef __cplusplus
14173 extern "C"
14174 #endif
14175 char gethostbyname ();
14177 main ()
14179 return gethostbyname ();
14181 return 0;
14183 _ACEOF
14184 for ac_lib in '' nsl; do
14185 if test -z "$ac_lib"; then
14186 ac_res="none required"
14187 else
14188 ac_res=-l$ac_lib
14189 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14191 if ac_fn_c_try_link "$LINENO"; then :
14192 ac_cv_search_gethostbyname=$ac_res
14194 rm -f core conftest.err conftest.$ac_objext \
14195 conftest$ac_exeext
14196 if ${ac_cv_search_gethostbyname+:} false; then :
14197 break
14199 done
14200 if ${ac_cv_search_gethostbyname+:} false; then :
14202 else
14203 ac_cv_search_gethostbyname=no
14205 rm conftest.$ac_ext
14206 LIBS=$ac_func_search_save_LIBS
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14209 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14210 ac_res=$ac_cv_search_gethostbyname
14211 if test "$ac_res" != no; then :
14212 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14218 $as_echo_n "checking for library containing connect... " >&6; }
14219 if ${ac_cv_search_connect+:} false; then :
14220 $as_echo_n "(cached) " >&6
14221 else
14222 ac_func_search_save_LIBS=$LIBS
14223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14224 /* end confdefs.h. */
14226 /* Override any GCC internal prototype to avoid an error.
14227 Use char because int might match the return type of a GCC
14228 builtin and then its argument prototype would still apply. */
14229 #ifdef __cplusplus
14230 extern "C"
14231 #endif
14232 char connect ();
14234 main ()
14236 return connect ();
14238 return 0;
14240 _ACEOF
14241 for ac_lib in '' socket; do
14242 if test -z "$ac_lib"; then
14243 ac_res="none required"
14244 else
14245 ac_res=-l$ac_lib
14246 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14248 if ac_fn_c_try_link "$LINENO"; then :
14249 ac_cv_search_connect=$ac_res
14251 rm -f core conftest.err conftest.$ac_objext \
14252 conftest$ac_exeext
14253 if ${ac_cv_search_connect+:} false; then :
14254 break
14256 done
14257 if ${ac_cv_search_connect+:} false; then :
14259 else
14260 ac_cv_search_connect=no
14262 rm conftest.$ac_ext
14263 LIBS=$ac_func_search_save_LIBS
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14266 $as_echo "$ac_cv_search_connect" >&6; }
14267 ac_res=$ac_cv_search_connect
14268 if test "$ac_res" != no; then :
14269 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14275 $as_echo_n "checking for library containing inet_aton... " >&6; }
14276 if ${ac_cv_search_inet_aton+:} false; then :
14277 $as_echo_n "(cached) " >&6
14278 else
14279 ac_func_search_save_LIBS=$LIBS
14280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14281 /* end confdefs.h. */
14283 /* Override any GCC internal prototype to avoid an error.
14284 Use char because int might match the return type of a GCC
14285 builtin and then its argument prototype would still apply. */
14286 #ifdef __cplusplus
14287 extern "C"
14288 #endif
14289 char inet_aton ();
14291 main ()
14293 return inet_aton ();
14295 return 0;
14297 _ACEOF
14298 for ac_lib in '' resolv; do
14299 if test -z "$ac_lib"; then
14300 ac_res="none required"
14301 else
14302 ac_res=-l$ac_lib
14303 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14305 if ac_fn_c_try_link "$LINENO"; then :
14306 ac_cv_search_inet_aton=$ac_res
14308 rm -f core conftest.err conftest.$ac_objext \
14309 conftest$ac_exeext
14310 if ${ac_cv_search_inet_aton+:} false; then :
14311 break
14313 done
14314 if ${ac_cv_search_inet_aton+:} false; then :
14316 else
14317 ac_cv_search_inet_aton=no
14319 rm conftest.$ac_ext
14320 LIBS=$ac_func_search_save_LIBS
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14323 $as_echo "$ac_cv_search_inet_aton" >&6; }
14324 ac_res=$ac_cv_search_inet_aton
14325 if test "$ac_res" != no; then :
14326 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14331 for ac_func in \
14332 getaddrinfo \
14333 getnameinfo \
14334 getnetbyname \
14335 getprotobyname \
14336 getprotobynumber \
14337 getservbyport \
14338 inet_network \
14339 inet_ntop \
14340 inet_pton \
14341 sendmsg \
14342 socketpair \
14344 do :
14345 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14346 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14347 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14348 cat >>confdefs.h <<_ACEOF
14349 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14350 _ACEOF
14353 done
14356 ac_save_LIBS=$LIBS
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14358 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14359 if ${ac_cv_search_clock_gettime+:} false; then :
14360 $as_echo_n "(cached) " >&6
14361 else
14362 ac_func_search_save_LIBS=$LIBS
14363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14364 /* end confdefs.h. */
14366 /* Override any GCC internal prototype to avoid an error.
14367 Use char because int might match the return type of a GCC
14368 builtin and then its argument prototype would still apply. */
14369 #ifdef __cplusplus
14370 extern "C"
14371 #endif
14372 char clock_gettime ();
14374 main ()
14376 return clock_gettime ();
14378 return 0;
14380 _ACEOF
14381 for ac_lib in '' rt; do
14382 if test -z "$ac_lib"; then
14383 ac_res="none required"
14384 else
14385 ac_res=-l$ac_lib
14386 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14388 if ac_fn_c_try_link "$LINENO"; then :
14389 ac_cv_search_clock_gettime=$ac_res
14391 rm -f core conftest.err conftest.$ac_objext \
14392 conftest$ac_exeext
14393 if ${ac_cv_search_clock_gettime+:} false; then :
14394 break
14396 done
14397 if ${ac_cv_search_clock_gettime+:} false; then :
14399 else
14400 ac_cv_search_clock_gettime=no
14402 rm conftest.$ac_ext
14403 LIBS=$ac_func_search_save_LIBS
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14406 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14407 ac_res=$ac_cv_search_clock_gettime
14408 if test "$ac_res" != no; then :
14409 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14411 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14413 test "$ac_res" = "none required" || LIBRT="$ac_res"
14417 LIBS=$ac_save_LIBS
14419 LDAPLIBS=""
14421 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14422 then
14423 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14425 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14427 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14428 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14429 $as_echo_n "(cached) " >&6
14430 else
14431 ac_check_lib_save_LIBS=$LIBS
14432 LIBS="-lldap_r $LIBPTHREAD $LIBS"
14433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14434 /* end confdefs.h. */
14436 /* Override any GCC internal prototype to avoid an error.
14437 Use char because int might match the return type of a GCC
14438 builtin and then its argument prototype would still apply. */
14439 #ifdef __cplusplus
14440 extern "C"
14441 #endif
14442 char ldap_initialize ();
14444 main ()
14446 return ldap_initialize ();
14448 return 0;
14450 _ACEOF
14451 if ac_fn_c_try_link "$LINENO"; then :
14452 ac_cv_lib_ldap_r_ldap_initialize=yes
14453 else
14454 ac_cv_lib_ldap_r_ldap_initialize=no
14456 rm -f core conftest.err conftest.$ac_objext \
14457 conftest$ac_exeext conftest.$ac_ext
14458 LIBS=$ac_check_lib_save_LIBS
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14461 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14462 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14464 $as_echo_n "checking for ber_init in -llber... " >&6; }
14465 if ${ac_cv_lib_lber_ber_init+:} false; then :
14466 $as_echo_n "(cached) " >&6
14467 else
14468 ac_check_lib_save_LIBS=$LIBS
14469 LIBS="-llber $LIBPTHREAD $LIBS"
14470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14471 /* end confdefs.h. */
14473 /* Override any GCC internal prototype to avoid an error.
14474 Use char because int might match the return type of a GCC
14475 builtin and then its argument prototype would still apply. */
14476 #ifdef __cplusplus
14477 extern "C"
14478 #endif
14479 char ber_init ();
14481 main ()
14483 return ber_init ();
14485 return 0;
14487 _ACEOF
14488 if ac_fn_c_try_link "$LINENO"; then :
14489 ac_cv_lib_lber_ber_init=yes
14490 else
14491 ac_cv_lib_lber_ber_init=no
14493 rm -f core conftest.err conftest.$ac_objext \
14494 conftest$ac_exeext conftest.$ac_ext
14495 LIBS=$ac_check_lib_save_LIBS
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14498 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14499 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14501 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14503 LDAPLIBS="-lldap_r -llber"
14510 ac_wine_check_funcs_save_LIBS="$LIBS"
14511 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
14512 for ac_func in \
14513 ldap_count_references \
14514 ldap_first_reference \
14515 ldap_next_reference \
14516 ldap_parse_reference \
14517 ldap_parse_sort_control \
14518 ldap_parse_sortresponse_control \
14519 ldap_parse_vlv_control \
14520 ldap_parse_vlvresponse_control
14521 do :
14522 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14523 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14524 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14525 cat >>confdefs.h <<_ACEOF
14526 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14527 _ACEOF
14530 done
14532 LIBS="$ac_wine_check_funcs_save_LIBS"
14534 if test "x$LDAPLIBS" = "x"; then :
14535 case "x$with_ldap" in
14536 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14537 xno) ;;
14538 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14539 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14540 esac
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14544 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14545 if ${wine_cv_one_arg_mkdir+:} false; then :
14546 $as_echo_n "(cached) " >&6
14547 else
14548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14550 #include <sys/stat.h>
14552 main ()
14554 mkdir("foo");
14556 return 0;
14558 _ACEOF
14559 if ac_fn_c_try_compile "$LINENO"; then :
14560 wine_cv_one_arg_mkdir=yes
14561 else
14562 wine_cv_one_arg_mkdir=no
14564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14567 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14568 if test "$wine_cv_one_arg_mkdir" = "yes"
14569 then
14571 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14576 $as_echo_n "checking for sched_setaffinity... " >&6; }
14577 if ${wine_cv_have_sched_setaffinity+:} false; then :
14578 $as_echo_n "(cached) " >&6
14579 else
14580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14581 /* end confdefs.h. */
14582 #define _GNU_SOURCE
14583 #include <sched.h>
14585 main ()
14587 sched_setaffinity(0, 0, 0);
14589 return 0;
14591 _ACEOF
14592 if ac_fn_c_try_link "$LINENO"; then :
14593 wine_cv_have_sched_setaffinity=yes
14594 else
14595 wine_cv_have_sched_setaffinity=no
14597 rm -f core conftest.err conftest.$ac_objext \
14598 conftest$ac_exeext conftest.$ac_ext
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
14601 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
14602 if test "$wine_cv_have_sched_setaffinity" = "yes"
14603 then
14605 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14610 $as_echo_n "checking for fallocate... " >&6; }
14611 if ${wine_cv_have_fallocate+:} false; then :
14612 $as_echo_n "(cached) " >&6
14613 else
14614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14615 /* end confdefs.h. */
14616 #define _GNU_SOURCE
14617 #include <fcntl.h>
14619 main ()
14621 fallocate(-1, 0, 0, 0);
14623 return 0;
14625 _ACEOF
14626 if ac_fn_c_try_link "$LINENO"; then :
14627 wine_cv_have_fallocate=yes
14628 else
14629 wine_cv_have_fallocate=no
14631 rm -f core conftest.err conftest.$ac_objext \
14632 conftest$ac_exeext conftest.$ac_ext
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
14635 $as_echo "$wine_cv_have_fallocate" >&6; }
14636 if test "$wine_cv_have_fallocate" = "yes"
14637 then
14639 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14645 $as_echo_n "checking for inline... " >&6; }
14646 if ${ac_cv_c_inline+:} false; then :
14647 $as_echo_n "(cached) " >&6
14648 else
14649 ac_cv_c_inline=no
14650 for ac_kw in inline __inline__ __inline; do
14651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14652 /* end confdefs.h. */
14653 #ifndef __cplusplus
14654 typedef int foo_t;
14655 static $ac_kw foo_t static_foo () {return 0; }
14656 $ac_kw foo_t foo () {return 0; }
14657 #endif
14659 _ACEOF
14660 if ac_fn_c_try_compile "$LINENO"; then :
14661 ac_cv_c_inline=$ac_kw
14663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14664 test "$ac_cv_c_inline" != no && break
14665 done
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14669 $as_echo "$ac_cv_c_inline" >&6; }
14671 case $ac_cv_c_inline in
14672 inline | yes) ;;
14674 case $ac_cv_c_inline in
14675 no) ac_val=;;
14676 *) ac_val=$ac_cv_c_inline;;
14677 esac
14678 cat >>confdefs.h <<_ACEOF
14679 #ifndef __cplusplus
14680 #define inline $ac_val
14681 #endif
14682 _ACEOF
14684 esac
14686 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
14687 if test "x$ac_cv_type_mode_t" = xyes; then :
14689 cat >>confdefs.h <<_ACEOF
14690 #define HAVE_MODE_T 1
14691 _ACEOF
14695 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14696 if test "x$ac_cv_type_off_t" = xyes; then :
14698 cat >>confdefs.h <<_ACEOF
14699 #define HAVE_OFF_T 1
14700 _ACEOF
14704 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14705 if test "x$ac_cv_type_pid_t" = xyes; then :
14707 cat >>confdefs.h <<_ACEOF
14708 #define HAVE_PID_T 1
14709 _ACEOF
14713 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14714 if test "x$ac_cv_type_size_t" = xyes; then :
14716 cat >>confdefs.h <<_ACEOF
14717 #define HAVE_SIZE_T 1
14718 _ACEOF
14722 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14723 if test "x$ac_cv_type_ssize_t" = xyes; then :
14725 cat >>confdefs.h <<_ACEOF
14726 #define HAVE_SSIZE_T 1
14727 _ACEOF
14731 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14732 if test "x$ac_cv_type_long_long" = xyes; then :
14734 cat >>confdefs.h <<_ACEOF
14735 #define HAVE_LONG_LONG 1
14736 _ACEOF
14740 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14741 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
14743 cat >>confdefs.h <<_ACEOF
14744 #define HAVE_FSBLKCNT_T 1
14745 _ACEOF
14749 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14750 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
14752 cat >>confdefs.h <<_ACEOF
14753 #define HAVE_FSFILCNT_T 1
14754 _ACEOF
14759 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14760 #include <signal.h>
14762 if test "x$ac_cv_type_sigset_t" = xyes; then :
14764 cat >>confdefs.h <<_ACEOF
14765 #define HAVE_SIGSET_T 1
14766 _ACEOF
14771 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14773 if test "x$ac_cv_type_request_sense" = xyes; then :
14775 cat >>confdefs.h <<_ACEOF
14776 #define HAVE_REQUEST_SENSE 1
14777 _ACEOF
14783 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14784 #ifdef HAVE_SYS_SOCKET_H
14785 #include <sys/socket.h>
14786 #endif
14787 #ifdef HAVE_SYS_SOCKETVAR_H
14788 #include <sys/socketvar.h>
14789 #endif
14790 #ifdef HAVE_NET_ROUTE_H
14791 #include <net/route.h>
14792 #endif
14793 #ifdef HAVE_NETINET_IN_H
14794 #include <netinet/in.h>
14795 #endif
14796 #ifdef HAVE_NETINET_IN_SYSTM_H
14797 #include <netinet/in_systm.h>
14798 #endif
14799 #ifdef HAVE_NETINET_IP_H
14800 #include <netinet/ip.h>
14801 #endif
14802 #ifdef HAVE_NETINET_IN_PCB_H
14803 #include <netinet/in_pcb.h>
14804 #endif
14806 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
14808 cat >>confdefs.h <<_ACEOF
14809 #define HAVE_STRUCT_XINPGEN 1
14810 _ACEOF
14816 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
14817 #include <link.h>
14818 #endif
14819 #ifdef HAVE_SYS_LINK_H
14820 #include <sys/link.h>
14821 #endif
14823 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
14825 cat >>confdefs.h <<_ACEOF
14826 #define HAVE_STRUCT_R_DEBUG 1
14827 _ACEOF
14831 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
14832 #include <link.h>
14833 #endif
14834 #ifdef HAVE_SYS_LINK_H
14835 #include <sys/link.h>
14836 #endif
14838 if test "x$ac_cv_type_struct_link_map" = xyes; then :
14840 cat >>confdefs.h <<_ACEOF
14841 #define HAVE_STRUCT_LINK_MAP 1
14842 _ACEOF
14848 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14849 #include <linux/input.h>
14850 #endif
14852 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
14854 cat >>confdefs.h <<_ACEOF
14855 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14856 _ACEOF
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14863 $as_echo_n "checking for sigaddset... " >&6; }
14864 if ${wine_cv_have_sigaddset+:} false; then :
14865 $as_echo_n "(cached) " >&6
14866 else
14867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14868 /* end confdefs.h. */
14869 #include <signal.h>
14871 main ()
14873 sigset_t set; sigaddset(&set,SIGTERM);
14875 return 0;
14877 _ACEOF
14878 if ac_fn_c_try_link "$LINENO"; then :
14879 wine_cv_have_sigaddset=yes
14880 else
14881 wine_cv_have_sigaddset=no
14883 rm -f core conftest.err conftest.$ac_objext \
14884 conftest$ac_exeext conftest.$ac_ext
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14887 $as_echo "$wine_cv_have_sigaddset" >&6; }
14888 if test "$wine_cv_have_sigaddset" = "yes"
14889 then
14891 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14897 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14898 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
14899 $as_echo_n "(cached) " >&6
14900 else
14901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14902 /* end confdefs.h. */
14903 #include <netdb.h>
14905 main ()
14908 char *name=0;
14909 struct hostent he;
14910 struct hostent *result;
14911 char *buf=0;
14912 int bufsize=0;
14913 int errnr;
14914 char *addr=0;
14915 int addrlen=0;
14916 int addrtype=0;
14917 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14918 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14921 return 0;
14923 _ACEOF
14924 if ac_fn_c_try_link "$LINENO"; then :
14925 wine_cv_linux_gethostbyname_r_6=yes
14926 else
14927 wine_cv_linux_gethostbyname_r_6=no
14930 rm -f core conftest.err conftest.$ac_objext \
14931 conftest$ac_exeext conftest.$ac_ext
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14935 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14936 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14937 then
14939 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14943 if test "$ac_cv_header_linux_joystick_h" = "yes"
14944 then
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14946 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14947 if ${wine_cv_linux_joystick_22_api+:} false; then :
14948 $as_echo_n "(cached) " >&6
14949 else
14950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14951 /* end confdefs.h. */
14953 #include <sys/ioctl.h>
14954 #include <sys/types.h>
14955 #include <linux/joystick.h>
14957 struct js_event blub;
14958 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14959 #error "no 2.2 header"
14960 #endif
14963 main ()
14965 /*empty*/
14967 return 0;
14969 _ACEOF
14970 if ac_fn_c_try_compile "$LINENO"; then :
14971 wine_cv_linux_joystick_22_api=yes
14972 else
14973 wine_cv_linux_joystick_22_api=no
14975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14979 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14980 if test "$wine_cv_linux_joystick_22_api" = "yes"
14981 then
14983 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14989 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14990 #ifdef HAVE_SYS_PARAM_H
14991 # include <sys/param.h>
14992 #endif
14993 #ifdef HAVE_SYS_MOUNT_H
14994 # include <sys/mount.h>
14995 #endif
14996 #ifdef HAVE_SYS_VFS_H
14997 # include <sys/vfs.h>
14998 #endif
14999 #ifdef HAVE_SYS_STATFS_H
15000 # include <sys/statfs.h>
15001 #endif
15003 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15005 cat >>confdefs.h <<_ACEOF
15006 #define HAVE_STRUCT_STATFS_F_BFREE 1
15007 _ACEOF
15011 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15012 #ifdef HAVE_SYS_PARAM_H
15013 # include <sys/param.h>
15014 #endif
15015 #ifdef HAVE_SYS_MOUNT_H
15016 # include <sys/mount.h>
15017 #endif
15018 #ifdef HAVE_SYS_VFS_H
15019 # include <sys/vfs.h>
15020 #endif
15021 #ifdef HAVE_SYS_STATFS_H
15022 # include <sys/statfs.h>
15023 #endif
15025 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15027 cat >>confdefs.h <<_ACEOF
15028 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15029 _ACEOF
15033 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15034 #ifdef HAVE_SYS_PARAM_H
15035 # include <sys/param.h>
15036 #endif
15037 #ifdef HAVE_SYS_MOUNT_H
15038 # include <sys/mount.h>
15039 #endif
15040 #ifdef HAVE_SYS_VFS_H
15041 # include <sys/vfs.h>
15042 #endif
15043 #ifdef HAVE_SYS_STATFS_H
15044 # include <sys/statfs.h>
15045 #endif
15047 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15049 cat >>confdefs.h <<_ACEOF
15050 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15051 _ACEOF
15055 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15056 #ifdef HAVE_SYS_PARAM_H
15057 # include <sys/param.h>
15058 #endif
15059 #ifdef HAVE_SYS_MOUNT_H
15060 # include <sys/mount.h>
15061 #endif
15062 #ifdef HAVE_SYS_VFS_H
15063 # include <sys/vfs.h>
15064 #endif
15065 #ifdef HAVE_SYS_STATFS_H
15066 # include <sys/statfs.h>
15067 #endif
15069 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15071 cat >>confdefs.h <<_ACEOF
15072 #define HAVE_STRUCT_STATFS_F_FFREE 1
15073 _ACEOF
15077 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15078 #ifdef HAVE_SYS_PARAM_H
15079 # include <sys/param.h>
15080 #endif
15081 #ifdef HAVE_SYS_MOUNT_H
15082 # include <sys/mount.h>
15083 #endif
15084 #ifdef HAVE_SYS_VFS_H
15085 # include <sys/vfs.h>
15086 #endif
15087 #ifdef HAVE_SYS_STATFS_H
15088 # include <sys/statfs.h>
15089 #endif
15091 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15093 cat >>confdefs.h <<_ACEOF
15094 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15095 _ACEOF
15099 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15100 #ifdef HAVE_SYS_PARAM_H
15101 # include <sys/param.h>
15102 #endif
15103 #ifdef HAVE_SYS_MOUNT_H
15104 # include <sys/mount.h>
15105 #endif
15106 #ifdef HAVE_SYS_VFS_H
15107 # include <sys/vfs.h>
15108 #endif
15109 #ifdef HAVE_SYS_STATFS_H
15110 # include <sys/statfs.h>
15111 #endif
15113 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15115 cat >>confdefs.h <<_ACEOF
15116 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15117 _ACEOF
15123 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15124 #include <sys/statvfs.h>
15125 #endif
15127 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15129 cat >>confdefs.h <<_ACEOF
15130 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15131 _ACEOF
15137 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15138 #include <dirent.h>
15139 #endif
15141 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15143 cat >>confdefs.h <<_ACEOF
15144 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15145 _ACEOF
15151 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15152 #ifdef HAVE_SYS_SOCKET_H
15153 # include <sys/socket.h>
15154 #endif
15155 #ifdef HAVE_SYS_UN_H
15156 # include <sys/un.h>
15157 #endif
15159 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15161 cat >>confdefs.h <<_ACEOF
15162 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15163 _ACEOF
15167 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15168 #ifdef HAVE_SYS_SOCKET_H
15169 # include <sys/socket.h>
15170 #endif
15171 #ifdef HAVE_SYS_UN_H
15172 # include <sys/un.h>
15173 #endif
15175 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15177 cat >>confdefs.h <<_ACEOF
15178 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15179 _ACEOF
15183 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15184 #ifdef HAVE_SYS_SOCKET_H
15185 # include <sys/socket.h>
15186 #endif
15187 #ifdef HAVE_SYS_UN_H
15188 # include <sys/un.h>
15189 #endif
15191 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15193 cat >>confdefs.h <<_ACEOF
15194 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15195 _ACEOF
15201 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15202 #ifdef HAVE_SCSI_SG_H
15203 #include <scsi/sg.h>
15204 #endif
15206 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15208 cat >>confdefs.h <<_ACEOF
15209 #define HAVE_SCSIREQ_T_CMD 1
15210 _ACEOF
15214 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>
15215 #ifdef HAVE_SCSI_SG_H
15216 #include <scsi/sg.h>
15217 #endif
15219 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15221 cat >>confdefs.h <<_ACEOF
15222 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15223 _ACEOF
15229 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15231 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15233 cat >>confdefs.h <<_ACEOF
15234 #define HAVE_SIGINFO_T_SI_FD 1
15235 _ACEOF
15241 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15242 #ifdef HAVE_SYS_MTIO_H
15243 #include <sys/mtio.h>
15244 #endif
15246 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15248 cat >>confdefs.h <<_ACEOF
15249 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15250 _ACEOF
15254 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15255 #ifdef HAVE_SYS_MTIO_H
15256 #include <sys/mtio.h>
15257 #endif
15259 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15261 cat >>confdefs.h <<_ACEOF
15262 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15263 _ACEOF
15267 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15268 #ifdef HAVE_SYS_MTIO_H
15269 #include <sys/mtio.h>
15270 #endif
15272 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15274 cat >>confdefs.h <<_ACEOF
15275 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15276 _ACEOF
15282 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15283 #include <getopt.h>
15284 #endif
15286 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15288 cat >>confdefs.h <<_ACEOF
15289 #define HAVE_STRUCT_OPTION_NAME 1
15290 _ACEOF
15296 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15297 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15299 cat >>confdefs.h <<_ACEOF
15300 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15301 _ACEOF
15305 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15306 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15308 cat >>confdefs.h <<_ACEOF
15309 #define HAVE_STRUCT_STAT_ST_MTIM 1
15310 _ACEOF
15314 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15315 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15317 cat >>confdefs.h <<_ACEOF
15318 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15319 _ACEOF
15323 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15324 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15326 cat >>confdefs.h <<_ACEOF
15327 #define HAVE_STRUCT_STAT_ST_CTIM 1
15328 _ACEOF
15332 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15333 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15335 cat >>confdefs.h <<_ACEOF
15336 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15337 _ACEOF
15341 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15342 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15344 cat >>confdefs.h <<_ACEOF
15345 #define HAVE_STRUCT_STAT_ST_ATIM 1
15346 _ACEOF
15350 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15351 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15353 cat >>confdefs.h <<_ACEOF
15354 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15355 _ACEOF
15359 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15360 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15362 cat >>confdefs.h <<_ACEOF
15363 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15364 _ACEOF
15368 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15369 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15371 cat >>confdefs.h <<_ACEOF
15372 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15373 _ACEOF
15377 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15378 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15380 cat >>confdefs.h <<_ACEOF
15381 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15382 _ACEOF
15386 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15387 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15389 cat >>confdefs.h <<_ACEOF
15390 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15391 _ACEOF
15395 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15396 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15398 cat >>confdefs.h <<_ACEOF
15399 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15400 _ACEOF
15406 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
15407 #include <sys/types.h>
15408 #endif
15409 #ifdef HAVE_NETINET_IN_H
15410 #include <netinet/in.h>
15411 #endif
15413 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15415 cat >>confdefs.h <<_ACEOF
15416 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15417 _ACEOF
15423 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15424 #include <resolv.h>
15425 #endif
15427 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15429 cat >>confdefs.h <<_ACEOF
15430 #define HAVE_STRUCT___RES_STATE 1
15431 _ACEOF
15437 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
15438 #include <resolv.h>
15439 #endif
15441 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15443 cat >>confdefs.h <<_ACEOF
15444 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15445 _ACEOF
15451 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15452 #include <sys/types.h>
15453 #endif
15454 #ifdef HAVE_NETINET_IN_H
15455 # include <netinet/in.h>
15456 #endif
15457 #ifdef HAVE_ARPA_NAMESER_H
15458 # include <arpa/nameser.h>
15459 #endif
15461 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
15463 cat >>confdefs.h <<_ACEOF
15464 #define HAVE_NS_MSG__MSG_PTR 1
15465 _ACEOF
15471 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15472 #include <sys/types.h>
15473 #endif
15474 #ifdef HAVE_NETINET_IP_H
15475 #include <netinet/ip.h>
15476 #endif
15477 #ifdef HAVE_NETINET_IP_ICMP_H
15478 #include <netinet/ip_icmp.h>
15479 #endif
15480 #ifdef HAVE_NETINET_ICMP_VAR_H
15481 #include <netinet/icmp_var.h>
15482 #endif
15484 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
15486 cat >>confdefs.h <<_ACEOF
15487 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15488 _ACEOF
15494 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15495 #include <sys/types.h>
15496 #endif
15497 #ifdef HAVE_ALIAS_H
15498 #include <alias.h>
15499 #endif
15500 #ifdef HAVE_SYS_SOCKET_H
15501 #include <sys/socket.h>
15502 #endif
15503 #ifdef HAVE_SYS_SOCKETVAR_H
15504 #include <sys/socketvar.h>
15505 #endif
15506 #ifdef HAVE_SYS_TIMEOUT_H
15507 #include <sys/timeout.h>
15508 #endif
15509 #ifdef HAVE_NETINET_IN_H
15510 #include <netinet/in.h>
15511 #endif
15512 #ifdef HAVE_NETINET_IN_SYSTM_H
15513 #include <netinet/in_systm.h>
15514 #endif
15515 #ifdef HAVE_NETINET_IP_H
15516 #include <netinet/ip.h>
15517 #endif
15518 #ifdef HAVE_NETINET_IP_VAR_H
15519 #include <netinet/ip_var.h>
15520 #endif
15521 #ifdef HAVE_NETINET_IP_ICMP_H
15522 #include <netinet/ip_icmp.h>
15523 #endif
15524 #ifdef HAVE_NETINET_ICMP_VAR_H
15525 #include <netinet/icmp_var.h>
15526 #endif
15528 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
15530 cat >>confdefs.h <<_ACEOF
15531 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15532 _ACEOF
15538 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15539 #include <sys/types.h>
15540 #endif
15541 #ifdef HAVE_SYS_SOCKETVAR_H
15542 #include <sys/socketvar.h>
15543 #endif
15544 #ifdef HAVE_NETINET_IN_H
15545 #include <netinet/in.h>
15546 #endif
15547 #ifdef HAVE_NETINET_IP_VAR_H
15548 #include <netinet/ip_var.h>
15549 #endif
15551 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
15553 cat >>confdefs.h <<_ACEOF
15554 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15555 _ACEOF
15561 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
15562 #include <netinet/ip_var.h>
15563 #endif
15565 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
15567 cat >>confdefs.h <<_ACEOF
15568 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15569 _ACEOF
15575 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15576 #include <sys/types.h>
15577 #endif
15578 #ifdef HAVE_SYS_SOCKETVAR_H
15579 #include <sys/socketvar.h>
15580 #endif
15581 #ifdef HAVE_NETINET_IN_H
15582 #include <netinet/in.h>
15583 #endif
15584 #ifdef HAVE_NETINET_TCP_H
15585 #include <netinet/tcp.h>
15586 #endif
15587 #ifdef HAVE_NETINET_TCP_VAR_H
15588 #include <netinet/tcp_var.h>
15589 #endif
15591 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
15593 cat >>confdefs.h <<_ACEOF
15594 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
15595 _ACEOF
15601 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
15602 #include <netinet/tcp_var.h>
15603 #endif
15605 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
15607 cat >>confdefs.h <<_ACEOF
15608 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
15609 _ACEOF
15615 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
15616 #include <sys/types.h>
15617 #endif
15618 #ifdef HAVE_NETINET_IN_H
15619 #include <netinet/in.h>
15620 #endif
15621 #ifdef HAVE_NETINET_IP_VAR_H
15622 #include <netinet/ip_var.h>
15623 #endif
15624 #ifdef HAVE_NETINET_UDP_H
15625 #include <netinet/udp.h>
15626 #endif
15627 #ifdef HAVE_NETINET_UDP_VAR_H
15628 #include <netinet/udp_var.h>
15629 #endif
15631 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
15633 cat >>confdefs.h <<_ACEOF
15634 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
15635 _ACEOF
15641 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
15642 #include <sys/types.h>
15643 #endif
15644 #ifdef HAVE_NET_IF_H
15645 # include <net/if.h>
15646 #endif
15648 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
15650 cat >>confdefs.h <<_ACEOF
15651 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
15652 _ACEOF
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
15659 $as_echo_n "checking for timezone variable... " >&6; }
15660 if ${ac_cv_have_timezone+:} false; then :
15661 $as_echo_n "(cached) " >&6
15662 else
15663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15664 /* end confdefs.h. */
15665 #include <time.h>
15667 main ()
15669 timezone = 1
15671 return 0;
15673 _ACEOF
15674 if ac_fn_c_try_link "$LINENO"; then :
15675 ac_cv_have_timezone="yes"
15676 else
15677 ac_cv_have_timezone="no"
15679 rm -f core conftest.err conftest.$ac_objext \
15680 conftest$ac_exeext conftest.$ac_ext
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
15683 $as_echo "$ac_cv_have_timezone" >&6; }
15684 if test "$ac_cv_have_timezone" = "yes"
15685 then
15687 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
15690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
15691 $as_echo_n "checking for daylight variable... " >&6; }
15692 if ${ac_cv_have_daylight+:} false; then :
15693 $as_echo_n "(cached) " >&6
15694 else
15695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15696 /* end confdefs.h. */
15697 #include <time.h>
15699 main ()
15701 daylight = 1
15703 return 0;
15705 _ACEOF
15706 if ac_fn_c_try_link "$LINENO"; then :
15707 ac_cv_have_daylight="yes"
15708 else
15709 ac_cv_have_daylight="no"
15711 rm -f core conftest.err conftest.$ac_objext \
15712 conftest$ac_exeext conftest.$ac_ext
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
15715 $as_echo "$ac_cv_have_daylight" >&6; }
15716 if test "$ac_cv_have_daylight" = "yes"
15717 then
15719 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
15723 ac_save_LIBS="$LIBS"
15724 LIBS="$LIBS -lm"
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
15726 $as_echo_n "checking for isinf... " >&6; }
15727 if ${ac_cv_have_isinf+:} false; then :
15728 $as_echo_n "(cached) " >&6
15729 else
15730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15731 /* end confdefs.h. */
15732 #include <math.h>
15734 main ()
15736 float f = 0.0; return isinf(f)
15738 return 0;
15740 _ACEOF
15741 if ac_fn_c_try_link "$LINENO"; then :
15742 ac_cv_have_isinf="yes"
15743 else
15744 ac_cv_have_isinf="no"
15746 rm -f core conftest.err conftest.$ac_objext \
15747 conftest$ac_exeext conftest.$ac_ext
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
15750 $as_echo "$ac_cv_have_isinf" >&6; }
15751 if test "$ac_cv_have_isinf" = "yes"
15752 then
15754 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
15759 $as_echo_n "checking for isnan... " >&6; }
15760 if ${ac_cv_have_isnan+:} false; then :
15761 $as_echo_n "(cached) " >&6
15762 else
15763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15764 /* end confdefs.h. */
15765 #include <math.h>
15767 main ()
15769 float f = 0.0; return isnan(f)
15771 return 0;
15773 _ACEOF
15774 if ac_fn_c_try_link "$LINENO"; then :
15775 ac_cv_have_isnan="yes"
15776 else
15777 ac_cv_have_isnan="no"
15779 rm -f core conftest.err conftest.$ac_objext \
15780 conftest$ac_exeext conftest.$ac_ext
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15783 $as_echo "$ac_cv_have_isnan" >&6; }
15784 if test "$ac_cv_have_isnan" = "yes"
15785 then
15787 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15790 LIBS="$ac_save_LIBS"
15793 case $host_cpu in
15794 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15795 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15796 if ${ac_cv_cpp_def___i386__+:} false; then :
15797 $as_echo_n "(cached) " >&6
15798 else
15799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15800 /* end confdefs.h. */
15801 #ifndef __i386__
15803 #endif
15804 _ACEOF
15805 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15806 $EGREP "yes" >/dev/null 2>&1; then :
15807 ac_cv_cpp_def___i386__=yes
15808 else
15809 ac_cv_cpp_def___i386__=no
15811 rm -f conftest*
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15815 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15816 if test $ac_cv_cpp_def___i386__ = yes; then :
15817 CFLAGS="$CFLAGS -D__i386__"
15818 LINTFLAGS="$LINTFLAGS -D__i386__"
15819 fi ;;
15820 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15821 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15822 if ${ac_cv_cpp_def___x86_64__+:} false; then :
15823 $as_echo_n "(cached) " >&6
15824 else
15825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15826 /* end confdefs.h. */
15827 #ifndef __x86_64__
15829 #endif
15830 _ACEOF
15831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15832 $EGREP "yes" >/dev/null 2>&1; then :
15833 ac_cv_cpp_def___x86_64__=yes
15834 else
15835 ac_cv_cpp_def___x86_64__=no
15837 rm -f conftest*
15840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15841 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15842 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15843 CFLAGS="$CFLAGS -D__x86_64__"
15844 LINTFLAGS="$LINTFLAGS -D__x86_64__"
15845 fi ;;
15846 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15847 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15848 if ${ac_cv_cpp_def___sparc64__+:} false; then :
15849 $as_echo_n "(cached) " >&6
15850 else
15851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15852 /* end confdefs.h. */
15853 #ifndef __sparc64__
15855 #endif
15856 _ACEOF
15857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15858 $EGREP "yes" >/dev/null 2>&1; then :
15859 ac_cv_cpp_def___sparc64__=yes
15860 else
15861 ac_cv_cpp_def___sparc64__=no
15863 rm -f conftest*
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15867 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15868 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15869 CFLAGS="$CFLAGS -D__sparc64__"
15870 LINTFLAGS="$LINTFLAGS -D__sparc64__"
15871 fi ;;
15872 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15873 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15874 if ${ac_cv_cpp_def___sparc__+:} false; then :
15875 $as_echo_n "(cached) " >&6
15876 else
15877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15878 /* end confdefs.h. */
15879 #ifndef __sparc__
15881 #endif
15882 _ACEOF
15883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15884 $EGREP "yes" >/dev/null 2>&1; then :
15885 ac_cv_cpp_def___sparc__=yes
15886 else
15887 ac_cv_cpp_def___sparc__=no
15889 rm -f conftest*
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15893 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15894 if test $ac_cv_cpp_def___sparc__ = yes; then :
15895 CFLAGS="$CFLAGS -D__sparc__"
15896 LINTFLAGS="$LINTFLAGS -D__sparc__"
15897 fi ;;
15898 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15899 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15900 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
15901 $as_echo_n "(cached) " >&6
15902 else
15903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15904 /* end confdefs.h. */
15905 #ifndef __powerpc64__
15907 #endif
15908 _ACEOF
15909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15910 $EGREP "yes" >/dev/null 2>&1; then :
15911 ac_cv_cpp_def___powerpc64__=yes
15912 else
15913 ac_cv_cpp_def___powerpc64__=no
15915 rm -f conftest*
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15919 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15920 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15921 CFLAGS="$CFLAGS -D__powerpc64__"
15922 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
15923 fi ;;
15924 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15925 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15926 if ${ac_cv_cpp_def___powerpc__+:} false; then :
15927 $as_echo_n "(cached) " >&6
15928 else
15929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15930 /* end confdefs.h. */
15931 #ifndef __powerpc__
15933 #endif
15934 _ACEOF
15935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15936 $EGREP "yes" >/dev/null 2>&1; then :
15937 ac_cv_cpp_def___powerpc__=yes
15938 else
15939 ac_cv_cpp_def___powerpc__=no
15941 rm -f conftest*
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15945 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15946 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15947 CFLAGS="$CFLAGS -D__powerpc__"
15948 LINTFLAGS="$LINTFLAGS -D__powerpc__"
15949 fi ;;
15950 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15951 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15952 if ${ac_cv_cpp_def___aarch64__+:} false; then :
15953 $as_echo_n "(cached) " >&6
15954 else
15955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15956 /* end confdefs.h. */
15957 #ifndef __aarch64__
15959 #endif
15960 _ACEOF
15961 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15962 $EGREP "yes" >/dev/null 2>&1; then :
15963 ac_cv_cpp_def___aarch64__=yes
15964 else
15965 ac_cv_cpp_def___aarch64__=no
15967 rm -f conftest*
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15971 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15972 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15973 CFLAGS="$CFLAGS -D__aarch64__"
15974 LINTFLAGS="$LINTFLAGS -D__aarch64__"
15975 fi ;;
15976 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15977 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15978 if ${ac_cv_cpp_def___arm__+:} false; then :
15979 $as_echo_n "(cached) " >&6
15980 else
15981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15982 /* end confdefs.h. */
15983 #ifndef __arm__
15985 #endif
15986 _ACEOF
15987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15988 $EGREP "yes" >/dev/null 2>&1; then :
15989 ac_cv_cpp_def___arm__=yes
15990 else
15991 ac_cv_cpp_def___arm__=no
15993 rm -f conftest*
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
15997 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
15998 if test $ac_cv_cpp_def___arm__ = yes; then :
15999 CFLAGS="$CFLAGS -D__arm__"
16000 LINTFLAGS="$LINTFLAGS -D__arm__"
16001 fi ;;
16002 esac
16004 case $host_vendor in
16005 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16006 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16007 if ${ac_cv_cpp_def___sun__+:} false; then :
16008 $as_echo_n "(cached) " >&6
16009 else
16010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16011 /* end confdefs.h. */
16012 #ifndef __sun__
16014 #endif
16015 _ACEOF
16016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16017 $EGREP "yes" >/dev/null 2>&1; then :
16018 ac_cv_cpp_def___sun__=yes
16019 else
16020 ac_cv_cpp_def___sun__=no
16022 rm -f conftest*
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16026 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16027 if test $ac_cv_cpp_def___sun__ = yes; then :
16028 CFLAGS="$CFLAGS -D__sun__"
16029 LINTFLAGS="$LINTFLAGS -D__sun__"
16030 fi ;;
16031 esac
16037 ac_config_commands="$ac_config_commands include/stamp-h"
16039 $as_echo_n "creating Makefile rules..." >&6
16041 wine_rules_file=conf$$rules.make
16042 rm -f $wine_rules_file
16043 ALL_POT_FILES=""
16044 ALL_TEST_RESOURCES=""
16047 wine_fn_append_file ()
16049 as_fn_append $1 " \\$as_nl $2"
16052 wine_fn_append_rule ()
16054 $as_echo "$1" >>$wine_rules_file
16057 wine_fn_has_flag ()
16059 expr ",$2," : ".*,$1,.*" >/dev/null
16062 wine_fn_all_dir_rules ()
16064 ac_dir=$1
16065 ac_alldeps=$2
16066 ac_makedep="\$(MAKEDEP)"
16067 ac_input=Make.vars.in:$ac_dir/Makefile.in
16068 if test $ac_dir != tools
16069 then
16070 ac_alldeps="$2 $ac_makedep"
16071 else
16072 ac_alldeps="$2 include/config.h"
16074 case $2 in
16075 *.in) ac_input=$ac_input:$2 ;;
16076 *) ac_makedep="$2 $ac_makedep" ;;
16077 esac
16079 wine_fn_append_rule \
16080 "$ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
16081 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
16082 depend: $ac_dir/__depend__
16083 .PHONY: $ac_dir/__depend__
16084 $ac_dir/__depend__: $ac_makedep dummy
16085 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
16088 wine_fn_pot_rules ()
16090 ac_dir=$1
16091 ac_flags=$2
16093 test "x$with_gettextpo" = xyes || return
16095 if wine_fn_has_flag mc $ac_flags
16096 then
16097 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
16098 wine_fn_append_rule \
16099 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
16100 @cd $ac_dir && \$(MAKE) msg.pot
16101 $ac_dir/msg.pot: tools/wmc include"
16103 if wine_fn_has_flag po $ac_flags
16104 then
16105 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
16106 wine_fn_append_rule \
16107 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
16108 @cd $ac_dir && \$(MAKE) rsrc.pot
16109 $ac_dir/rsrc.pot: tools/wrc include"
16113 wine_fn_config_all_make_rules ()
16115 ac_dir=$1
16116 ac_enable=$2
16117 ac_flags=$3
16118 ac_rules=$4
16119 if eval test \"x\$"$ac_enable"\" = x"no"; then :
16120 return 0
16123 wine_fn_all_dir_rules $ac_dir ${ac_rules:-Make.rules}
16124 wine_fn_append_rule \
16125 "all: $ac_dir
16126 .PHONY: $ac_dir
16127 $ac_dir: $ac_dir/Makefile dummy
16128 @cd $ac_dir && \$(MAKE)"
16130 wine_fn_has_flag install-lib $ac_flags || wine_fn_has_flag install-dev $ac_flags || return
16132 wine_fn_append_rule \
16133 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
16134 $ac_dir/__install__:: $ac_dir
16135 @cd $ac_dir && \$(MAKE) install
16136 $ac_dir/__uninstall__:: $ac_dir/Makefile
16137 @cd $ac_dir && \$(MAKE) uninstall
16138 install:: $ac_dir/__install__
16139 __uninstall__: $ac_dir/__uninstall__"
16141 if wine_fn_has_flag install-lib $ac_flags
16142 then
16143 wine_fn_append_rule \
16144 ".PHONY: $ac_dir/__install-lib__
16145 $ac_dir/__install-lib__:: $ac_dir
16146 @cd $ac_dir && \$(MAKE) install-lib
16147 install-lib:: $ac_dir/__install-lib__"
16150 if wine_fn_has_flag install-dev $ac_flags
16151 then
16152 wine_fn_append_rule \
16153 ".PHONY: $ac_dir/__install-dev
16154 $ac_dir/__install-dev__:: $ac_dir
16155 @cd $ac_dir && \$(MAKE) install-dev
16156 install-dev:: $ac_dir/__install-dev__"
16160 wine_fn_clean_rules ()
16162 ac_dir=$1
16163 ac_flags=$2
16164 shift; shift
16165 ac_clean=$@
16167 if wine_fn_has_flag clean $ac_flags
16168 then
16169 wine_fn_append_rule \
16170 "__clean__: $ac_dir/__clean__
16171 .PHONY: $ac_dir/__clean__
16172 $ac_dir/__clean__: $ac_dir/Makefile
16173 @cd $ac_dir && \$(MAKE) clean
16174 \$(RM) $ac_dir/Makefile"
16175 else
16176 wine_fn_append_rule \
16177 "clean::
16178 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16182 wine_fn_config_makefile ()
16184 ac_dir=$1
16185 ac_enable=$2
16186 ac_flags=$3
16188 wine_fn_config_all_make_rules $ac_dir $ac_enable $ac_flags
16189 wine_fn_clean_rules $ac_dir $ac_flags
16192 wine_fn_config_lib ()
16194 ac_name=$1
16195 ac_flags=$2
16196 ac_dir=dlls/$ac_name
16197 wine_fn_config_all_make_rules $ac_dir enable_$ac_name "$ac_flags" dlls/Makeimplib.rules
16198 wine_fn_clean_rules $ac_dir $ac_flags
16200 if wine_fn_has_flag install-dev $ac_flags
16201 then :
16202 else
16203 wine_fn_append_rule \
16204 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
16205 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
16206 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16207 $ac_dir/__uninstall__::
16208 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16209 install install-dev:: $ac_dir/__install__
16210 __uninstall__: $ac_dir/__uninstall__"
16213 wine_fn_append_rule \
16214 "__builddeps__: $ac_dir
16215 $ac_dir: tools/widl tools/winebuild tools/winegcc include"
16218 wine_fn_config_dll ()
16220 ac_name=$1
16221 ac_dir=dlls/$ac_name
16222 ac_enable=$2
16223 ac_flags=$3
16224 ac_implib=${4:-$ac_name}
16225 ac_file=$ac_dir/lib$ac_implib
16226 ac_dll=$ac_name
16227 ac_deps="tools/widl tools/winebuild tools/winegcc include"
16228 ac_implibflags=""
16230 case $ac_name in
16231 *16) ac_implibflags=" -m16" ;;
16232 *.*) ;;
16233 *) ac_dll=$ac_dll.dll ;;
16234 esac
16236 wine_fn_config_all_make_rules $ac_dir $ac_enable "$ac_flags" dlls/Makedll.rules
16238 ac_clean=
16239 wine_fn_has_flag implib $ac_flags && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
16240 wine_fn_has_flag mc $ac_flags && ac_clean="$ac_clean $ac_dir/msg.pot"
16241 wine_fn_has_flag po $ac_flags && ac_clean="$ac_clean $ac_dir/rsrc.pot"
16242 wine_fn_clean_rules $ac_dir "$ac_flags" $ac_clean
16244 if eval test \"x\$"$ac_enable"\" = x"no"; then :
16245 test "$ac_enable" != enable_win16 || return 0
16246 wine_fn_has_flag implib $ac_flags && wine_fn_all_dir_rules $ac_dir dlls/Makedll.rules
16247 else
16248 wine_fn_append_rule \
16249 "$ac_dir: __builddeps__
16250 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
16251 @cd $ac_dir && \$(MAKE) \$@"
16253 if wine_fn_has_flag install-lib $ac_flags
16254 then :
16255 else
16256 wine_fn_append_rule \
16257 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
16258 install install-lib:: $ac_dir/__install-lib__
16259 __uninstall__: $ac_dir/__uninstall__"
16260 if test -n "$DLLEXT"
16261 then
16262 wine_fn_append_rule \
16263 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16264 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
16265 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
16266 $ac_dir/__uninstall__::
16267 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
16268 else
16269 wine_fn_append_rule \
16270 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
16271 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
16272 $ac_dir/__uninstall__::
16273 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
16277 wine_fn_pot_rules $ac_dir $ac_flags
16280 if wine_fn_has_flag staticimplib $ac_flags
16281 then
16282 wine_fn_append_rule \
16283 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
16284 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
16285 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
16286 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
16287 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
16288 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
16289 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
16290 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16291 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16292 $ac_dir/__uninstall__::
16293 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16294 install install-dev:: $ac_dir/__install-dev__
16295 __uninstall__: $ac_dir/__uninstall__"
16297 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
16298 then
16299 wine_fn_append_rule \
16300 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
16301 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
16302 $ac_dir/__uninstall__::
16303 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
16306 if test "x$CROSSTEST_DISABLE" = x
16307 then
16308 wine_fn_append_rule \
16309 "__builddeps__: $ac_file.cross.a
16310 $ac_file.cross.a: $ac_dir/Makefile dummy
16311 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
16314 elif wine_fn_has_flag implib $ac_flags
16315 then
16316 wine_fn_append_rule \
16317 "__builddeps__: $ac_file.$IMPLIBEXT
16318 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16319 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16320 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16321 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16322 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
16323 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16324 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16325 $ac_dir/__uninstall__::
16326 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16327 install install-dev:: $ac_dir/__install-dev__
16328 __uninstall__: $ac_dir/__uninstall__"
16329 if test "x$CROSSTEST_DISABLE" = x
16330 then
16331 wine_fn_append_rule \
16332 "__builddeps__: $ac_file.cross.a
16333 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16334 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
16337 if test "$ac_name" != "$ac_implib"
16338 then
16339 wine_fn_append_rule \
16340 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
16341 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
16342 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
16343 clean::
16344 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
16345 if test "x$CROSSTEST_DISABLE" = x
16346 then
16347 wine_fn_append_rule \
16348 "__builddeps__: dlls/lib$ac_implib.cross.a
16349 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
16350 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
16356 wine_fn_config_program ()
16358 ac_name=$1
16359 ac_dir=programs/$ac_name
16360 ac_enable=$2
16361 ac_flags=$3
16362 ac_program=$ac_name
16364 case $ac_name in
16365 *.*) ;;
16366 *) ac_program=$ac_program.exe ;;
16367 esac
16369 wine_fn_config_all_make_rules $ac_dir $ac_enable "$ac_flags" programs/Makeprog.rules
16371 ac_clean=
16372 wine_fn_has_flag mc $ac_flags && ac_clean="$ac_clean $ac_dir/msg.pot"
16373 wine_fn_has_flag po $ac_flags && ac_clean="$ac_clean $ac_dir/rsrc.pot"
16374 wine_fn_has_flag manpage $ac_flags && ac_clean="$ac_clean $ac_dir/$ac_name.man"
16375 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
16376 wine_fn_clean_rules $ac_dir "$ac_flags" $ac_clean
16378 if eval test \"x\$"$ac_enable"\" = x"no"; then :
16380 else
16381 wine_fn_append_rule "$ac_dir: __builddeps__"
16383 wine_fn_pot_rules $ac_dir $ac_flags
16385 wine_fn_has_flag install $ac_flags || return
16386 wine_fn_append_rule \
16387 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
16388 install install-lib:: $ac_dir/__install__
16389 __uninstall__: $ac_dir/__uninstall__"
16391 if test -n "$DLLEXT"
16392 then
16393 wine_fn_append_rule \
16394 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16395 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
16396 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
16397 $ac_dir/__uninstall__::
16398 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
16400 if test "x$enable_tools" != xno && wine_fn_has_flag installbin $ac_flags
16401 then
16402 wine_fn_append_rule \
16403 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
16404 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
16405 $ac_dir/__uninstall__::
16406 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
16408 else
16409 wine_fn_append_rule \
16410 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
16411 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
16412 $ac_dir/__uninstall__::
16413 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
16416 if test "x$enable_tools" != xno && wine_fn_has_flag manpage $ac_flags
16417 then
16418 wine_fn_append_rule \
16419 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
16420 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
16421 $ac_dir/__uninstall__::
16422 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
16427 wine_fn_config_test ()
16429 ac_dir=$1
16430 ac_name=$2
16431 ac_flags=$3
16433 ac_clean=
16434 test "x$CROSSTEST_DISABLE" = x && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
16435 test -n "$DLLEXT" || ac_clean=$ac_dir/${ac_name}.exe
16436 ac_clean="$ac_clean $ac_dir/*.ok $ac_dir/testlist.c"
16438 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
16439 wine_fn_all_dir_rules $ac_dir Maketest.rules
16440 wine_fn_clean_rules $ac_dir "$ac_flags" $ac_clean
16442 if test "x$enable_tests" = xno; then :
16444 else
16445 wine_fn_append_rule \
16446 "all: $ac_dir
16447 .PHONY: $ac_dir
16448 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
16449 @cd $ac_dir && \$(MAKE)
16450 programs/winetest: $ac_dir
16451 check test: $ac_dir/__test__
16452 .PHONY: $ac_dir/__test__
16453 $ac_dir/__test__: dummy
16454 @cd $ac_dir && \$(MAKE) test
16455 testclean::
16456 \$(RM) $ac_dir/*.ok"
16458 if test "x$CROSSTEST_DISABLE" = x
16459 then
16460 wine_fn_append_rule \
16461 "crosstest: $ac_dir/__crosstest__
16462 .PHONY: $ac_dir/__crosstest__
16463 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
16464 @cd $ac_dir && \$(MAKE) crosstest"
16469 wine_fn_config_tool ()
16471 ac_dir=$1
16472 ac_flags=$2
16473 if test "x$enable_tools" = xno; then :
16474 return 0
16477 wine_fn_config_all_make_rules $ac_dir enable_tools $ac_flags
16478 wine_fn_clean_rules $ac_dir $ac_flags
16480 wine_fn_append_rule "__tooldeps__: $ac_dir"
16481 wine_fn_append_rule "$ac_dir: libs/port"
16482 case $ac_dir in
16483 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
16484 esac
16487 wine_fn_config_makerules ()
16489 ac_rules=$1
16490 ac_deps=$2
16491 wine_fn_append_rule \
16492 "$ac_rules: $ac_rules.in $ac_deps config.status
16493 @./config.status $ac_rules
16494 distclean::
16495 \$(RM) $ac_rules"
16498 wine_fn_config_symlink ()
16500 ac_linkdir=
16501 if test "x$1" = "x-d"
16502 then
16503 ac_linkdir=$2
16504 shift; shift
16506 ac_links=$@
16507 wine_fn_append_rule \
16508 "$ac_links:
16509 @./config.status \$@
16510 distclean::
16511 \$(RM) $ac_links"
16512 test -n "$ac_linkdir" || return
16513 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/__depend__: $ac_links"
16516 if test "x$CROSSTEST_DISABLE" != x
16517 then
16518 wine_fn_append_rule \
16519 "crosstest:
16520 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16522 wine_fn_append_rule "
16523 # Rules automatically generated by configure
16525 .INIT: Makefile
16526 .MAKEFILEDEPS:
16527 all: Makefile
16528 Makefile: Makefile.in Make.vars.in Make.rules config.status
16529 @./config.status Make.tmp Makefile"
16531 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
16532 wine_fn_config_symlink -d dlls/shell32 dlls/shell32/AUTHORS
16533 ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
16534 test "$srcdir" = "." || wine_fn_config_symlink dlls/wineps.drv/generic.ppd
16535 if test "x$enable_fonts" != xno; then
16536 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16537 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16538 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16539 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16540 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16542 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16543 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16544 if test "x$enable_tools" != xno; then
16545 ac_config_links="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
16546 test "$srcdir" = "." || wine_fn_config_symlink tools/l_intl.nls
16548 ac_config_links="$ac_config_links wine:tools/winewrapper"
16549 wine_fn_config_symlink wine
16550 if test "x$enable_win64" != xno; then
16551 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16552 wine_fn_config_symlink wine64
16555 ac_config_commands="$ac_config_commands dlls/gdi32/dibdrv"
16556 wine_fn_append_rule \
16557 "clean::
16558 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/dibdrv/%)"
16559 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
16560 wine_fn_append_rule \
16561 "clean::
16562 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/enhmfdrv/%)"
16563 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
16564 wine_fn_append_rule \
16565 "clean::
16566 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/mfdrv/%)"
16567 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
16568 wine_fn_append_rule \
16569 "clean::
16570 \$(RM) \$(CLEAN_FILES:%=dlls/kernel32/nls/%)"
16571 ac_config_commands="$ac_config_commands dlls/user32/resources"
16572 wine_fn_append_rule \
16573 "clean::
16574 \$(RM) \$(CLEAN_FILES:%=dlls/user32/resources/%)"
16575 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
16576 wine_fn_append_rule \
16577 "clean::
16578 \$(RM) \$(CLEAN_FILES:%=dlls/wineps.drv/data/%)"
16579 ac_config_commands="$ac_config_commands include/wine"
16580 wine_fn_append_rule \
16581 "clean::
16582 \$(RM) \$(CLEAN_FILES:%=include/wine/%)"
16584 wine_fn_config_makerules Make.rules
16585 MAKE_RULES=Make.rules
16586 ac_config_files="$ac_config_files Make.rules"
16588 wine_fn_config_makerules Maketest.rules Make.rules
16589 MAKE_TEST_RULES=Maketest.rules
16590 ac_config_files="$ac_config_files Maketest.rules"
16592 wine_fn_config_makerules dlls/Makedll.rules Make.rules
16593 MAKE_DLL_RULES=dlls/Makedll.rules
16594 ac_config_files="$ac_config_files dlls/Makedll.rules"
16596 wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
16597 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
16598 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
16600 wine_fn_config_makerules programs/Makeprog.rules Make.rules
16601 MAKE_PROG_RULES=programs/Makeprog.rules
16602 ac_config_files="$ac_config_files programs/Makeprog.rules"
16605 wine_fn_config_dll acledit enable_acledit
16606 wine_fn_config_dll aclui enable_aclui implib
16607 wine_fn_config_dll activeds enable_activeds implib
16608 wine_fn_config_dll actxprxy enable_actxprxy clean
16609 wine_fn_config_lib adsiid
16610 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16611 wine_fn_config_test dlls/advapi32/tests advapi32_test
16612 wine_fn_config_dll advpack enable_advpack implib
16613 wine_fn_config_test dlls/advpack/tests advpack_test
16614 wine_fn_config_dll amstream enable_amstream clean
16615 wine_fn_config_test dlls/amstream/tests amstream_test
16616 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16617 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16618 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16619 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16620 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16621 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16622 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16623 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16624 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16625 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16626 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16627 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16628 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16629 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16630 wine_fn_config_dll apphelp enable_apphelp
16631 wine_fn_config_test dlls/apphelp/tests apphelp_test
16632 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16633 wine_fn_config_dll atl enable_atl clean,implib
16634 wine_fn_config_test dlls/atl/tests atl_test
16635 wine_fn_config_dll atl100 enable_atl100 implib
16636 wine_fn_config_test dlls/atl100/tests atl100_test
16637 wine_fn_config_dll atl110 enable_atl110
16638 wine_fn_config_dll atl80 enable_atl80 implib
16639 wine_fn_config_test dlls/atl80/tests atl80_test
16640 wine_fn_config_dll authz enable_authz
16641 wine_fn_config_dll avicap32 enable_avicap32 implib
16642 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16643 wine_fn_config_test dlls/avifil32/tests avifil32_test
16644 wine_fn_config_dll avifile.dll16 enable_win16
16645 wine_fn_config_dll avrt enable_avrt implib
16646 wine_fn_config_dll bcrypt enable_bcrypt
16647 wine_fn_config_dll browseui enable_browseui clean,po
16648 wine_fn_config_test dlls/browseui/tests browseui_test
16649 wine_fn_config_dll cabinet enable_cabinet implib
16650 wine_fn_config_test dlls/cabinet/tests cabinet_test
16651 wine_fn_config_dll capi2032 enable_capi2032 implib
16652 wine_fn_config_dll cards enable_cards implib
16653 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16654 wine_fn_config_dll clusapi enable_clusapi implib
16655 wine_fn_config_dll comcat enable_comcat
16656 wine_fn_config_test dlls/comcat/tests comcat_test
16657 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16658 wine_fn_config_test dlls/comctl32/tests comctl32_test
16659 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16660 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16661 wine_fn_config_dll comm.drv16 enable_win16
16662 wine_fn_config_dll commdlg.dll16 enable_win16
16663 wine_fn_config_dll compobj.dll16 enable_win16
16664 wine_fn_config_dll compstui enable_compstui implib
16665 wine_fn_config_dll comsvcs enable_comsvcs implib
16666 wine_fn_config_dll credui enable_credui implib,po
16667 wine_fn_config_test dlls/credui/tests credui_test
16668 wine_fn_config_dll crtdll enable_crtdll implib
16669 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16670 wine_fn_config_test dlls/crypt32/tests crypt32_test
16671 wine_fn_config_dll cryptdlg enable_cryptdlg po
16672 wine_fn_config_dll cryptdll enable_cryptdll implib
16673 wine_fn_config_dll cryptnet enable_cryptnet implib
16674 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16675 wine_fn_config_dll cryptui enable_cryptui implib,po
16676 wine_fn_config_test dlls/cryptui/tests cryptui_test
16677 wine_fn_config_dll ctapi32 enable_ctapi32
16678 wine_fn_config_dll ctl3d.dll16 enable_win16
16679 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16680 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16681 wine_fn_config_dll d3d10 enable_d3d10 implib
16682 wine_fn_config_test dlls/d3d10/tests d3d10_test
16683 wine_fn_config_dll d3d10core enable_d3d10core implib
16684 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16685 wine_fn_config_dll d3d11 enable_d3d11
16686 wine_fn_config_dll d3d8 enable_d3d8 implib
16687 wine_fn_config_test dlls/d3d8/tests d3d8_test
16688 wine_fn_config_dll d3d9 enable_d3d9 implib
16689 wine_fn_config_test dlls/d3d9/tests d3d9_test
16690 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16691 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16692 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16693 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16694 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16695 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16696 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16697 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16698 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16699 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16700 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16701 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16702 wine_fn_config_dll d3dim enable_d3dim implib
16703 wine_fn_config_dll d3drm enable_d3drm implib
16704 wine_fn_config_test dlls/d3drm/tests d3drm_test
16705 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16706 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16707 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16708 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16709 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16710 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16711 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16712 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16713 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16714 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16715 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16716 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16717 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16718 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16719 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16720 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16721 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16722 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16723 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16724 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16725 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16726 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16727 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16728 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16729 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16730 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16731 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16732 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16733 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16734 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16735 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16736 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16737 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16738 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16739 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16740 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16741 wine_fn_config_dll dbgeng enable_dbgeng implib
16742 wine_fn_config_dll dbghelp enable_dbghelp implib
16743 wine_fn_config_dll dciman32 enable_dciman32 implib
16744 wine_fn_config_dll ddeml.dll16 enable_win16
16745 wine_fn_config_dll ddraw enable_ddraw clean,implib
16746 wine_fn_config_test dlls/ddraw/tests ddraw_test
16747 wine_fn_config_dll ddrawex enable_ddrawex clean
16748 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16749 wine_fn_config_dll devenum enable_devenum clean,po
16750 wine_fn_config_test dlls/devenum/tests devenum_test
16751 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16752 wine_fn_config_dll difxapi enable_difxapi
16753 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16754 wine_fn_config_test dlls/dinput/tests dinput_test
16755 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16756 wine_fn_config_test dlls/dinput8/tests dinput8_test
16757 wine_fn_config_dll dispdib.dll16 enable_win16
16758 wine_fn_config_dll dispex enable_dispex clean
16759 wine_fn_config_test dlls/dispex/tests dispex_test
16760 wine_fn_config_dll display.drv16 enable_win16
16761 wine_fn_config_dll dmband enable_dmband clean
16762 wine_fn_config_test dlls/dmband/tests dmband_test
16763 wine_fn_config_dll dmcompos enable_dmcompos clean
16764 wine_fn_config_dll dmime enable_dmime clean
16765 wine_fn_config_test dlls/dmime/tests dmime_test
16766 wine_fn_config_dll dmloader enable_dmloader clean
16767 wine_fn_config_test dlls/dmloader/tests dmloader_test
16768 wine_fn_config_dll dmscript enable_dmscript clean
16769 wine_fn_config_dll dmstyle enable_dmstyle clean
16770 wine_fn_config_dll dmsynth enable_dmsynth clean
16771 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16772 wine_fn_config_dll dmusic enable_dmusic clean
16773 wine_fn_config_test dlls/dmusic/tests dmusic_test
16774 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16775 wine_fn_config_dll dnsapi enable_dnsapi implib
16776 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16777 wine_fn_config_dll dplay enable_dplay implib
16778 wine_fn_config_dll dplayx enable_dplayx clean,implib
16779 wine_fn_config_test dlls/dplayx/tests dplayx_test
16780 wine_fn_config_dll dpnaddr enable_dpnaddr
16781 wine_fn_config_dll dpnet enable_dpnet clean,implib
16782 wine_fn_config_test dlls/dpnet/tests dpnet_test
16783 wine_fn_config_dll dpnhpast enable_dpnhpast
16784 wine_fn_config_dll dpnlobby enable_dpnlobby
16785 wine_fn_config_dll dpwsockx enable_dpwsockx
16786 wine_fn_config_dll drmclien enable_drmclien
16787 wine_fn_config_dll dsound enable_dsound clean,implib
16788 wine_fn_config_test dlls/dsound/tests dsound_test
16789 wine_fn_config_dll dssenh enable_dssenh
16790 wine_fn_config_test dlls/dssenh/tests dssenh_test
16791 wine_fn_config_dll dswave enable_dswave clean
16792 wine_fn_config_dll dwmapi enable_dwmapi implib
16793 wine_fn_config_dll dwrite enable_dwrite implib
16794 wine_fn_config_test dlls/dwrite/tests dwrite_test
16795 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16796 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16797 wine_fn_config_lib dxerr8
16798 wine_fn_config_lib dxerr9
16799 wine_fn_config_dll dxgi enable_dxgi implib
16800 wine_fn_config_test dlls/dxgi/tests dxgi_test
16801 wine_fn_config_lib dxguid
16802 wine_fn_config_dll explorerframe enable_explorerframe clean
16803 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16804 wine_fn_config_dll faultrep enable_faultrep implib
16805 wine_fn_config_test dlls/faultrep/tests faultrep_test
16806 wine_fn_config_dll fltlib enable_fltlib
16807 wine_fn_config_dll fusion enable_fusion
16808 wine_fn_config_test dlls/fusion/tests fusion_test
16809 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16810 wine_fn_config_dll gameux enable_gameux clean
16811 wine_fn_config_test dlls/gameux/tests gameux_test
16812 wine_fn_config_dll gdi.exe16 enable_win16
16813 wine_fn_config_dll gdi32 enable_gdi32 implib,po
16814 wine_fn_config_test dlls/gdi32/tests gdi32_test
16815 wine_fn_config_dll gdiplus enable_gdiplus implib
16816 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16817 wine_fn_config_dll glu32 enable_glu32 implib
16818 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16819 wine_fn_config_dll gpkcsp enable_gpkcsp
16820 wine_fn_config_dll hal enable_hal
16821 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16822 wine_fn_config_dll hid enable_hid implib
16823 wine_fn_config_dll hlink enable_hlink clean,implib
16824 wine_fn_config_test dlls/hlink/tests hlink_test
16825 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16826 wine_fn_config_dll httpapi enable_httpapi
16827 wine_fn_config_dll iccvid enable_iccvid po
16828 wine_fn_config_dll icmp enable_icmp
16829 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16830 wine_fn_config_test dlls/ieframe/tests ieframe_test
16831 wine_fn_config_dll ifsmgr.vxd enable_win16
16832 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16833 wine_fn_config_dll imagehlp enable_imagehlp implib
16834 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16835 wine_fn_config_dll imm.dll16 enable_win16
16836 wine_fn_config_dll imm32 enable_imm32 implib
16837 wine_fn_config_test dlls/imm32/tests imm32_test
16838 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16839 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16840 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16841 wine_fn_config_dll inetmib1 enable_inetmib1
16842 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16843 wine_fn_config_dll infosoft enable_infosoft clean
16844 wine_fn_config_test dlls/infosoft/tests infosoft_test
16845 wine_fn_config_dll initpki enable_initpki
16846 wine_fn_config_dll inkobj enable_inkobj
16847 wine_fn_config_dll inseng enable_inseng clean
16848 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16849 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16850 wine_fn_config_dll itircl enable_itircl
16851 wine_fn_config_dll itss enable_itss clean
16852 wine_fn_config_test dlls/itss/tests itss_test
16853 wine_fn_config_dll joy.cpl enable_joy_cpl po
16854 wine_fn_config_dll jscript enable_jscript clean,po
16855 wine_fn_config_test dlls/jscript/tests jscript_test
16856 wine_fn_config_dll kernel32 enable_kernel32 implib,mc
16857 wine_fn_config_test dlls/kernel32/tests kernel32_test
16858 wine_fn_config_dll keyboard.drv16 enable_win16
16859 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16860 wine_fn_config_dll ktmw32 enable_ktmw32
16861 wine_fn_config_dll loadperf enable_loadperf implib
16862 wine_fn_config_dll localspl enable_localspl po
16863 wine_fn_config_test dlls/localspl/tests localspl_test
16864 wine_fn_config_dll localui enable_localui po
16865 wine_fn_config_test dlls/localui/tests localui_test
16866 wine_fn_config_dll lz32 enable_lz32 implib
16867 wine_fn_config_test dlls/lz32/tests lz32_test
16868 wine_fn_config_dll lzexpand.dll16 enable_win16
16869 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16870 wine_fn_config_test dlls/mapi32/tests mapi32_test
16871 wine_fn_config_dll mapistub enable_mapistub
16872 wine_fn_config_dll mciavi32 enable_mciavi32
16873 wine_fn_config_dll mcicda enable_mcicda
16874 wine_fn_config_dll mciqtz32 enable_mciqtz32
16875 wine_fn_config_dll mciseq enable_mciseq
16876 wine_fn_config_dll mciwave enable_mciwave
16877 wine_fn_config_dll mgmtapi enable_mgmtapi
16878 wine_fn_config_dll midimap enable_midimap
16879 wine_fn_config_dll mlang enable_mlang clean,implib
16880 wine_fn_config_test dlls/mlang/tests mlang_test
16881 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16882 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16883 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16884 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16885 wine_fn_config_dll mmdevldr.vxd enable_win16
16886 wine_fn_config_dll mmsystem.dll16 enable_win16
16887 wine_fn_config_dll monodebg.vxd enable_win16
16888 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16889 wine_fn_config_dll mouse.drv16 enable_win16
16890 wine_fn_config_dll mpr enable_mpr implib,po
16891 wine_fn_config_test dlls/mpr/tests mpr_test
16892 wine_fn_config_dll mprapi enable_mprapi implib
16893 wine_fn_config_dll msacm.dll16 enable_win16
16894 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16895 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16896 wine_fn_config_test dlls/msacm32/tests msacm32_test
16897 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16898 wine_fn_config_dll mscat32 enable_mscat32
16899 wine_fn_config_dll mscms enable_mscms implib
16900 wine_fn_config_test dlls/mscms/tests mscms_test
16901 wine_fn_config_dll mscoree enable_mscoree clean
16902 wine_fn_config_test dlls/mscoree/tests mscoree_test
16903 wine_fn_config_dll msctf enable_msctf clean
16904 wine_fn_config_test dlls/msctf/tests msctf_test
16905 wine_fn_config_dll msdaps enable_msdaps clean
16906 wine_fn_config_dll msdmo enable_msdmo implib
16907 wine_fn_config_dll msftedit enable_msftedit
16908 wine_fn_config_dll msg711.acm enable_msg711_acm
16909 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16910 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16911 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
16912 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
16913 wine_fn_config_dll msi enable_msi clean,implib,po
16914 wine_fn_config_test dlls/msi/tests msi_test
16915 wine_fn_config_dll msident enable_msident clean
16916 wine_fn_config_dll msimg32 enable_msimg32 implib
16917 wine_fn_config_dll msimsg enable_msimsg
16918 wine_fn_config_dll msimtf enable_msimtf clean
16919 wine_fn_config_dll msisip enable_msisip
16920 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16921 wine_fn_config_dll msls31 enable_msls31
16922 wine_fn_config_dll msnet32 enable_msnet32
16923 wine_fn_config_dll mspatcha enable_mspatcha
16924 wine_fn_config_dll msrle32 enable_msrle32 po
16925 wine_fn_config_dll mssign32 enable_mssign32
16926 wine_fn_config_dll mssip32 enable_mssip32
16927 wine_fn_config_dll mstask enable_mstask clean
16928 wine_fn_config_test dlls/mstask/tests mstask_test
16929 wine_fn_config_dll msvcirt enable_msvcirt
16930 wine_fn_config_dll msvcm80 enable_msvcm80
16931 wine_fn_config_dll msvcm90 enable_msvcm90
16932 wine_fn_config_dll msvcp100 enable_msvcp100
16933 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
16934 wine_fn_config_dll msvcp110 enable_msvcp110
16935 wine_fn_config_dll msvcp60 enable_msvcp60
16936 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
16937 wine_fn_config_dll msvcp70 enable_msvcp70
16938 wine_fn_config_dll msvcp71 enable_msvcp71
16939 wine_fn_config_dll msvcp80 enable_msvcp80
16940 wine_fn_config_dll msvcp90 enable_msvcp90
16941 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
16942 wine_fn_config_dll msvcr100 enable_msvcr100
16943 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
16944 wine_fn_config_dll msvcr110 enable_msvcr110
16945 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16946 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16947 wine_fn_config_dll msvcr80 enable_msvcr80
16948 wine_fn_config_dll msvcr90 enable_msvcr90
16949 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
16950 wine_fn_config_dll msvcrt enable_msvcrt implib
16951 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
16952 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16953 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16954 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16955 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
16956 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
16957 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
16958 wine_fn_config_dll msvidc32 enable_msvidc32 po
16959 wine_fn_config_dll msvideo.dll16 enable_win16
16960 wine_fn_config_dll mswsock enable_mswsock implib
16961 wine_fn_config_dll msxml enable_msxml clean
16962 wine_fn_config_dll msxml2 enable_msxml2 clean
16963 wine_fn_config_dll msxml3 enable_msxml3 clean
16964 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
16965 wine_fn_config_dll msxml4 enable_msxml4 clean
16966 wine_fn_config_dll msxml6 enable_msxml6 clean
16967 wine_fn_config_dll nddeapi enable_nddeapi implib
16968 wine_fn_config_dll netapi32 enable_netapi32 implib
16969 wine_fn_config_test dlls/netapi32/tests netapi32_test
16970 wine_fn_config_dll netcfgx enable_netcfgx
16971 wine_fn_config_dll newdev enable_newdev implib
16972 wine_fn_config_dll normaliz enable_normaliz implib
16973 wine_fn_config_dll npmshtml enable_npmshtml
16974 wine_fn_config_dll ntdll enable_ntdll implib
16975 wine_fn_config_test dlls/ntdll/tests ntdll_test
16976 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16977 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
16978 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16979 wine_fn_config_dll ntprint enable_ntprint
16980 wine_fn_config_test dlls/ntprint/tests ntprint_test
16981 wine_fn_config_dll objsel enable_objsel clean
16982 wine_fn_config_dll odbc32 enable_odbc32 implib
16983 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16984 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
16985 wine_fn_config_dll odbccu32 enable_odbccu32
16986 wine_fn_config_dll ole2.dll16 enable_win16
16987 wine_fn_config_dll ole2conv.dll16 enable_win16
16988 wine_fn_config_dll ole2disp.dll16 enable_win16
16989 wine_fn_config_dll ole2nls.dll16 enable_win16
16990 wine_fn_config_dll ole2prox.dll16 enable_win16
16991 wine_fn_config_dll ole2thk.dll16 enable_win16
16992 wine_fn_config_dll ole32 enable_ole32 clean,implib
16993 wine_fn_config_test dlls/ole32/tests ole32_test
16994 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
16995 wine_fn_config_test dlls/oleacc/tests oleacc_test
16996 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
16997 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
16998 wine_fn_config_dll olecli.dll16 enable_win16
16999 wine_fn_config_dll olecli32 enable_olecli32 implib
17000 wine_fn_config_dll oledb32 enable_oledb32 clean
17001 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17002 wine_fn_config_dll oledlg enable_oledlg implib,po
17003 wine_fn_config_dll olepro32 enable_olepro32 implib
17004 wine_fn_config_dll olesvr.dll16 enable_win16
17005 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17006 wine_fn_config_dll olethk32 enable_olethk32
17007 wine_fn_config_dll openal32 enable_openal32
17008 wine_fn_config_dll opencl enable_opencl
17009 wine_fn_config_dll opengl32 enable_opengl32 implib
17010 wine_fn_config_test dlls/opengl32/tests opengl32_test
17011 wine_fn_config_dll pdh enable_pdh implib
17012 wine_fn_config_test dlls/pdh/tests pdh_test
17013 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17014 wine_fn_config_dll pidgen enable_pidgen
17015 wine_fn_config_dll powrprof enable_powrprof implib
17016 wine_fn_config_dll printui enable_printui
17017 wine_fn_config_dll propsys enable_propsys clean,implib
17018 wine_fn_config_test dlls/propsys/tests propsys_test
17019 wine_fn_config_dll psapi enable_psapi implib
17020 wine_fn_config_test dlls/psapi/tests psapi_test
17021 wine_fn_config_dll pstorec enable_pstorec clean
17022 wine_fn_config_dll qcap enable_qcap
17023 wine_fn_config_test dlls/qcap/tests qcap_test
17024 wine_fn_config_dll qedit enable_qedit clean
17025 wine_fn_config_test dlls/qedit/tests qedit_test
17026 wine_fn_config_dll qmgr enable_qmgr clean
17027 wine_fn_config_test dlls/qmgr/tests qmgr_test
17028 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17029 wine_fn_config_dll quartz enable_quartz clean,implib
17030 wine_fn_config_test dlls/quartz/tests quartz_test clean
17031 wine_fn_config_dll query enable_query
17032 wine_fn_config_dll rasapi16.dll16 enable_win16
17033 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17034 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17035 wine_fn_config_dll rasdlg enable_rasdlg implib
17036 wine_fn_config_dll regapi enable_regapi
17037 wine_fn_config_dll resutils enable_resutils implib
17038 wine_fn_config_dll riched20 enable_riched20 implib
17039 wine_fn_config_test dlls/riched20/tests riched20_test
17040 wine_fn_config_dll riched32 enable_riched32
17041 wine_fn_config_test dlls/riched32/tests riched32_test
17042 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17043 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17044 wine_fn_config_dll rsabase enable_rsabase
17045 wine_fn_config_dll rsaenh enable_rsaenh implib
17046 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17047 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17048 wine_fn_config_dll rtutils enable_rtutils implib
17049 wine_fn_config_dll samlib enable_samlib
17050 wine_fn_config_dll sane.ds enable_sane_ds po
17051 wine_fn_config_dll scarddlg enable_scarddlg
17052 wine_fn_config_dll sccbase enable_sccbase
17053 wine_fn_config_dll schannel enable_schannel
17054 wine_fn_config_test dlls/schannel/tests schannel_test
17055 wine_fn_config_dll scrrun enable_scrrun clean
17056 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17057 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17058 wine_fn_config_dll secur32 enable_secur32 implib
17059 wine_fn_config_test dlls/secur32/tests secur32_test
17060 wine_fn_config_dll security enable_security
17061 wine_fn_config_dll sensapi enable_sensapi implib
17062 wine_fn_config_dll serialui enable_serialui implib,po
17063 wine_fn_config_test dlls/serialui/tests serialui_test
17064 wine_fn_config_dll setupapi enable_setupapi implib,po
17065 wine_fn_config_test dlls/setupapi/tests setupapi_test
17066 wine_fn_config_dll setupx.dll16 enable_win16
17067 wine_fn_config_dll sfc enable_sfc implib
17068 wine_fn_config_dll sfc_os enable_sfc_os implib
17069 wine_fn_config_dll shdoclc enable_shdoclc po
17070 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17071 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17072 wine_fn_config_dll shell.dll16 enable_win16
17073 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17074 wine_fn_config_test dlls/shell32/tests shell32_test
17075 wine_fn_config_dll shfolder enable_shfolder implib
17076 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17077 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17078 wine_fn_config_dll slbcsp enable_slbcsp
17079 wine_fn_config_dll slc enable_slc implib
17080 wine_fn_config_dll snmpapi enable_snmpapi implib
17081 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17082 wine_fn_config_dll softpub enable_softpub
17083 wine_fn_config_dll sound.drv16 enable_win16
17084 wine_fn_config_dll spoolss enable_spoolss implib
17085 wine_fn_config_test dlls/spoolss/tests spoolss_test
17086 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17087 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17088 wine_fn_config_dll sti enable_sti clean,implib
17089 wine_fn_config_test dlls/sti/tests sti_test
17090 wine_fn_config_dll storage.dll16 enable_win16
17091 wine_fn_config_dll stress.dll16 enable_win16
17092 wine_fn_config_lib strmbase
17093 wine_fn_config_lib strmiids
17094 wine_fn_config_dll svrapi enable_svrapi
17095 wine_fn_config_dll sxs enable_sxs implib
17096 wine_fn_config_test dlls/sxs/tests sxs_test
17097 wine_fn_config_dll system.drv16 enable_win16
17098 wine_fn_config_dll t2embed enable_t2embed
17099 wine_fn_config_dll tapi32 enable_tapi32 implib
17100 wine_fn_config_dll toolhelp.dll16 enable_win16
17101 wine_fn_config_dll traffic enable_traffic
17102 wine_fn_config_dll twain.dll16 enable_win16
17103 wine_fn_config_dll twain_32 enable_twain_32
17104 wine_fn_config_test dlls/twain_32/tests twain_32_test
17105 wine_fn_config_dll typelib.dll16 enable_win16
17106 wine_fn_config_dll unicows enable_unicows implib
17107 wine_fn_config_dll updspapi enable_updspapi
17108 wine_fn_config_dll url enable_url implib
17109 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17110 wine_fn_config_test dlls/urlmon/tests urlmon_test
17111 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17112 wine_fn_config_dll user.exe16 enable_win16
17113 wine_fn_config_dll user32 enable_user32 implib,po
17114 wine_fn_config_test dlls/user32/tests user32_test
17115 wine_fn_config_dll userenv enable_userenv implib
17116 wine_fn_config_test dlls/userenv/tests userenv_test
17117 wine_fn_config_dll usp10 enable_usp10 implib
17118 wine_fn_config_test dlls/usp10/tests usp10_test
17119 wine_fn_config_lib uuid
17120 wine_fn_config_dll uxtheme enable_uxtheme implib
17121 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17122 wine_fn_config_dll vbscript enable_vbscript clean
17123 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17124 wine_fn_config_dll vcomp enable_vcomp
17125 wine_fn_config_dll vcomp100 enable_vcomp100
17126 wine_fn_config_dll vcomp90 enable_vcomp90
17127 wine_fn_config_dll vdhcp.vxd enable_win16
17128 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17129 wine_fn_config_dll ver.dll16 enable_win16
17130 wine_fn_config_dll version enable_version implib
17131 wine_fn_config_test dlls/version/tests version_test
17132 wine_fn_config_dll vmm.vxd enable_win16
17133 wine_fn_config_dll vnbt.vxd enable_win16
17134 wine_fn_config_dll vnetbios.vxd enable_win16
17135 wine_fn_config_dll vtdapi.vxd enable_win16
17136 wine_fn_config_dll vwin32.vxd enable_win16
17137 wine_fn_config_dll w32skrnl enable_win16
17138 wine_fn_config_dll w32sys.dll16 enable_win16
17139 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17140 wine_fn_config_dll wbemprox enable_wbemprox clean
17141 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17142 wine_fn_config_dll webservices enable_webservices implib
17143 wine_fn_config_dll wer enable_wer implib
17144 wine_fn_config_test dlls/wer/tests wer_test
17145 wine_fn_config_dll wevtapi enable_wevtapi
17146 wine_fn_config_dll wiaservc enable_wiaservc clean
17147 wine_fn_config_dll win32s16.dll16 enable_win16
17148 wine_fn_config_dll win87em.dll16 enable_win16
17149 wine_fn_config_dll winaspi.dll16 enable_win16
17150 wine_fn_config_dll windebug.dll16 enable_win16
17151 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17152 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17153 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17154 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17155 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17156 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17157 wine_fn_config_lib winecrt0
17158 wine_fn_config_dll wined3d enable_wined3d implib
17159 wine_fn_config_dll winegstreamer enable_winegstreamer
17160 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17161 wine_fn_config_dll winemac.drv enable_winemac_drv
17162 wine_fn_config_dll winemapi enable_winemapi
17163 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17164 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17165 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib,po
17166 wine_fn_config_dll wineps16.drv16 enable_win16
17167 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17168 wine_fn_config_dll winex11.drv enable_winex11_drv
17169 wine_fn_config_dll wing.dll16 enable_win16
17170 wine_fn_config_dll wing32 enable_wing32
17171 wine_fn_config_dll winhttp enable_winhttp clean,implib
17172 wine_fn_config_test dlls/winhttp/tests winhttp_test
17173 wine_fn_config_dll wininet enable_wininet implib,po
17174 wine_fn_config_test dlls/wininet/tests wininet_test
17175 wine_fn_config_dll winmm enable_winmm implib,po
17176 wine_fn_config_test dlls/winmm/tests winmm_test
17177 wine_fn_config_dll winnls.dll16 enable_win16
17178 wine_fn_config_dll winnls32 enable_winnls32 implib
17179 wine_fn_config_dll winscard enable_winscard implib
17180 wine_fn_config_dll winsock.dll16 enable_win16
17181 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17182 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17183 wine_fn_config_dll winsta enable_winsta
17184 wine_fn_config_dll wintab.dll16 enable_win16
17185 wine_fn_config_dll wintab32 enable_wintab32 implib
17186 wine_fn_config_test dlls/wintab32/tests wintab32_test
17187 wine_fn_config_dll wintrust enable_wintrust implib
17188 wine_fn_config_test dlls/wintrust/tests wintrust_test
17189 wine_fn_config_dll wlanapi enable_wlanapi
17190 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17191 wine_fn_config_test dlls/wldap32/tests wldap32_test
17192 wine_fn_config_dll wmi enable_wmi
17193 wine_fn_config_dll wmiutils enable_wmiutils clean
17194 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17195 wine_fn_config_dll wmvcore enable_wmvcore
17196 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17197 wine_fn_config_dll wow32 enable_win16 implib
17198 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17199 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17200 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17201 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17202 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17203 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17204 wine_fn_config_dll wsock32 enable_wsock32 implib
17205 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17206 wine_fn_config_dll wuapi enable_wuapi clean
17207 wine_fn_config_dll wuaueng enable_wuaueng
17208 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17209 wine_fn_config_dll xinput1_1 enable_xinput1_1
17210 wine_fn_config_dll xinput1_2 enable_xinput1_2
17211 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17212 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17213 wine_fn_config_dll xinput1_4 enable_xinput1_4
17214 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17215 wine_fn_config_dll xmllite enable_xmllite
17216 wine_fn_config_test dlls/xmllite/tests xmllite_test
17217 wine_fn_config_dll xolehlp enable_xolehlp
17218 wine_fn_config_dll xpsprint enable_xpsprint
17219 wine_fn_config_dll xpssvcs enable_xpssvcs
17220 wine_fn_config_makefile documentation enable_documentation clean
17221 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17222 wine_fn_config_makefile include enable_include clean,install-dev
17223 wine_fn_config_makefile libs/port enable_libs_port
17224 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17225 wine_fn_config_makefile libs/wpp enable_libs_wpp
17226 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17227 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17228 wine_fn_config_program attrib enable_attrib install,po
17229 wine_fn_config_program cabarc enable_cabarc install
17230 wine_fn_config_program cacls enable_cacls install
17231 wine_fn_config_program clock enable_clock install,po
17232 wine_fn_config_program cmd enable_cmd install,po
17233 wine_fn_config_test programs/cmd/tests cmd.exe_test
17234 wine_fn_config_program conhost enable_conhost install
17235 wine_fn_config_program control enable_control install
17236 wine_fn_config_program cscript enable_cscript install
17237 wine_fn_config_program dxdiag enable_dxdiag install,po
17238 wine_fn_config_program eject enable_eject install
17239 wine_fn_config_program expand enable_expand install
17240 wine_fn_config_program explorer enable_explorer install,po
17241 wine_fn_config_program extrac32 enable_extrac32 install
17242 wine_fn_config_program findstr enable_findstr install
17243 wine_fn_config_program hh enable_hh install
17244 wine_fn_config_program hostname enable_hostname install,po
17245 wine_fn_config_program icinfo enable_icinfo install
17246 wine_fn_config_program iexplore enable_iexplore install
17247 wine_fn_config_program ipconfig enable_ipconfig install,po
17248 wine_fn_config_program lodctr enable_lodctr install
17249 wine_fn_config_program mofcomp enable_mofcomp install
17250 wine_fn_config_program mshta enable_mshta install
17251 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17252 wine_fn_config_program net enable_net install,po
17253 wine_fn_config_program netsh enable_netsh install
17254 wine_fn_config_program netstat enable_netstat install,po
17255 wine_fn_config_program ngen enable_ngen install
17256 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17257 wine_fn_config_program oleview enable_oleview install,po
17258 wine_fn_config_program ping enable_ping install
17259 wine_fn_config_program plugplay enable_plugplay install
17260 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17261 wine_fn_config_program progman enable_progman install,po
17262 wine_fn_config_program reg enable_reg install,po
17263 wine_fn_config_program regasm enable_regasm install
17264 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17265 wine_fn_config_test programs/regedit/tests regedit.exe_test
17266 wine_fn_config_program regsvcs enable_regsvcs install
17267 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
17268 wine_fn_config_program rpcss enable_rpcss clean,install
17269 wine_fn_config_program rundll.exe16 enable_win16 install
17270 wine_fn_config_program rundll32 enable_rundll32 install
17271 wine_fn_config_program sc enable_sc install
17272 wine_fn_config_program schtasks enable_schtasks install
17273 wine_fn_config_program secedit enable_secedit install
17274 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17275 wine_fn_config_program services enable_services clean,install
17276 wine_fn_config_test programs/services/tests services.exe_test
17277 wine_fn_config_program spoolsv enable_spoolsv install
17278 wine_fn_config_program start enable_start install,po
17279 wine_fn_config_program svchost enable_svchost install
17280 wine_fn_config_program taskkill enable_taskkill install,po
17281 wine_fn_config_program tasklist enable_tasklist install
17282 wine_fn_config_program taskmgr enable_taskmgr install,po
17283 wine_fn_config_program termsv enable_termsv install
17284 wine_fn_config_program uninstaller enable_uninstaller install,po
17285 wine_fn_config_program unlodctr enable_unlodctr install
17286 wine_fn_config_program view enable_view install,po
17287 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17288 wine_fn_config_program winebrowser enable_winebrowser install
17289 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17290 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17291 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17292 wine_fn_config_program winedevice enable_winedevice install
17293 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17294 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17295 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17296 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17297 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17298 wine_fn_config_program winetest enable_winetest clean
17299 wine_fn_config_program winevdm enable_win16 install
17300 wine_fn_config_program winhelp.exe16 enable_win16 install
17301 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17302 wine_fn_config_program winoldap.mod16 enable_win16 install
17303 wine_fn_config_program winver enable_winver install
17304 wine_fn_config_program wmic enable_wmic install,po
17305 wine_fn_config_program wordpad enable_wordpad install,po
17306 wine_fn_config_program write enable_write install,po
17307 wine_fn_config_program wscript enable_wscript clean,install
17308 wine_fn_config_test programs/wscript/tests wscript.exe_test
17309 wine_fn_config_program wusa enable_wusa install
17310 wine_fn_config_program xcopy enable_xcopy install,po
17311 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17312 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17313 wine_fn_config_tool tools/widl clean,install-dev,manpage
17314 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17315 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17316 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17317 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17318 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17320 LINGUAS="\
17321 ar \
17322 bg \
17323 ca \
17324 cs \
17325 da \
17326 de \
17327 el \
17328 en \
17329 en_US \
17330 eo \
17331 es \
17332 fa \
17333 fi \
17334 fr \
17335 he \
17336 hi \
17337 hr \
17338 hu \
17339 it \
17340 ja \
17341 ko \
17342 lt \
17343 ml \
17344 nb_NO \
17345 nl \
17346 or \
17347 pa \
17348 pl \
17349 pt_BR \
17350 pt_PT \
17351 rm \
17352 ro \
17353 ru \
17354 sk \
17355 sl \
17356 sr_RS@cyrillic \
17357 sr_RS@latin \
17358 sv \
17359 te \
17360 th \
17361 tr \
17362 uk \
17363 wa \
17364 zh_CN \
17365 zh_TW"
17369 ac_config_commands="$ac_config_commands Makefile"
17372 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17376 if test "x$enable_maintainer_mode" = xyes
17377 then
17378 wine_fn_append_rule "\$(srcdir)/configure: configure.ac aclocal.m4
17379 cd \$(srcdir) && autoconf --warnings=all
17380 \$(srcdir)/include/config.h.in: include/stamp-h.in
17381 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
17382 cd \$(srcdir) && autoheader --warnings=all
17383 @echo timestamp > \$@"
17386 if test "x$with_gettextpo" = xyes
17387 then
17388 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17389 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17390 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
17391 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17392 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
17393 msgcat -o \$@ \$(ALL_POT_FILES)"
17396 if test "$MSGFMT" != false
17397 then
17398 PORCFLAGS="--po-dir=\$(top_builddir)/po"
17400 wine_fn_append_rule "__builddeps__: \$(ALL_MO_FILES)"
17401 else
17402 LINGUAS=
17405 if test "x$enable_tools" != xno
17406 then
17407 wine_fn_append_rule "\$(MAKEDEP): tools/Makefile
17408 clean:: __clean__
17409 \$(RM) tools/makedep\$(EXEEXT)"
17412 if test -n "$with_wine64"
17413 then
17414 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17415 fonts server tools:
17416 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17417 $with_wine64/loader/wine:
17418 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17419 $with_wine64/loader/wine-preloader:
17420 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17421 clean::
17422 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17425 $as_echo " done" >&6
17426 cat >confcache <<\_ACEOF
17427 # This file is a shell script that caches the results of configure
17428 # tests run on this system so they can be shared between configure
17429 # scripts and configure runs, see configure's option --config-cache.
17430 # It is not useful on other systems. If it contains results you don't
17431 # want to keep, you may remove or edit it.
17433 # config.status only pays attention to the cache file if you give it
17434 # the --recheck option to rerun configure.
17436 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17437 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17438 # following values.
17440 _ACEOF
17442 # The following way of writing the cache mishandles newlines in values,
17443 # but we know of no workaround that is simple, portable, and efficient.
17444 # So, we kill variables containing newlines.
17445 # Ultrix sh set writes to stderr and can't be redirected directly,
17446 # and sets the high bit in the cache file unless we assign to the vars.
17448 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17449 eval ac_val=\$$ac_var
17450 case $ac_val in #(
17451 *${as_nl}*)
17452 case $ac_var in #(
17453 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17454 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17455 esac
17456 case $ac_var in #(
17457 _ | IFS | as_nl) ;; #(
17458 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17459 *) { eval $ac_var=; unset $ac_var;} ;;
17460 esac ;;
17461 esac
17462 done
17464 (set) 2>&1 |
17465 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17466 *${as_nl}ac_space=\ *)
17467 # `set' does not quote correctly, so add quotes: double-quote
17468 # substitution turns \\\\ into \\, and sed turns \\ into \.
17469 sed -n \
17470 "s/'/'\\\\''/g;
17471 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17472 ;; #(
17474 # `set' quotes correctly as required by POSIX, so do not add quotes.
17475 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17477 esac |
17478 sort
17480 sed '
17481 /^ac_cv_env_/b end
17482 t clear
17483 :clear
17484 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17485 t end
17486 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17487 :end' >>confcache
17488 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17489 if test -w "$cache_file"; then
17490 if test "x$cache_file" != "x/dev/null"; then
17491 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17492 $as_echo "$as_me: updating cache $cache_file" >&6;}
17493 if test ! -f "$cache_file" || test -h "$cache_file"; then
17494 cat confcache >"$cache_file"
17495 else
17496 case $cache_file in #(
17497 */* | ?:*)
17498 mv -f confcache "$cache_file"$$ &&
17499 mv -f "$cache_file"$$ "$cache_file" ;; #(
17501 mv -f confcache "$cache_file" ;;
17502 esac
17505 else
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17507 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17510 rm -f confcache
17512 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17513 # Let make expand exec_prefix.
17514 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17516 DEFS=-DHAVE_CONFIG_H
17518 ac_libobjs=
17519 ac_ltlibobjs=
17521 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17522 # 1. Remove the extension, and $U if already installed.
17523 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17524 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17525 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17526 # will be set to the directory where LIBOBJS objects are built.
17527 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17528 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17529 done
17530 LIBOBJS=$ac_libobjs
17532 LTLIBOBJS=$ac_ltlibobjs
17536 : "${CONFIG_STATUS=./config.status}"
17537 ac_write_fail=0
17538 ac_clean_files_save=$ac_clean_files
17539 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17540 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17541 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17542 as_write_fail=0
17543 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17544 #! $SHELL
17545 # Generated by $as_me.
17546 # Run this file to recreate the current configuration.
17547 # Compiler output produced by configure, useful for debugging
17548 # configure, is in config.log if it exists.
17550 debug=false
17551 ac_cs_recheck=false
17552 ac_cs_silent=false
17554 SHELL=\${CONFIG_SHELL-$SHELL}
17555 export SHELL
17556 _ASEOF
17557 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17558 ## -------------------- ##
17559 ## M4sh Initialization. ##
17560 ## -------------------- ##
17562 # Be more Bourne compatible
17563 DUALCASE=1; export DUALCASE # for MKS sh
17564 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17565 emulate sh
17566 NULLCMD=:
17567 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17568 # is contrary to our usage. Disable this feature.
17569 alias -g '${1+"$@"}'='"$@"'
17570 setopt NO_GLOB_SUBST
17571 else
17572 case `(set -o) 2>/dev/null` in #(
17573 *posix*) :
17574 set -o posix ;; #(
17575 *) :
17577 esac
17581 as_nl='
17583 export as_nl
17584 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17585 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17586 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17587 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17588 # Prefer a ksh shell builtin over an external printf program on Solaris,
17589 # but without wasting forks for bash or zsh.
17590 if test -z "$BASH_VERSION$ZSH_VERSION" \
17591 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17592 as_echo='print -r --'
17593 as_echo_n='print -rn --'
17594 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17595 as_echo='printf %s\n'
17596 as_echo_n='printf %s'
17597 else
17598 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17599 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17600 as_echo_n='/usr/ucb/echo -n'
17601 else
17602 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17603 as_echo_n_body='eval
17604 arg=$1;
17605 case $arg in #(
17606 *"$as_nl"*)
17607 expr "X$arg" : "X\\(.*\\)$as_nl";
17608 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17609 esac;
17610 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17612 export as_echo_n_body
17613 as_echo_n='sh -c $as_echo_n_body as_echo'
17615 export as_echo_body
17616 as_echo='sh -c $as_echo_body as_echo'
17619 # The user is always right.
17620 if test "${PATH_SEPARATOR+set}" != set; then
17621 PATH_SEPARATOR=:
17622 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17623 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17624 PATH_SEPARATOR=';'
17629 # IFS
17630 # We need space, tab and new line, in precisely that order. Quoting is
17631 # there to prevent editors from complaining about space-tab.
17632 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17633 # splitting by setting IFS to empty value.)
17634 IFS=" "" $as_nl"
17636 # Find who we are. Look in the path if we contain no directory separator.
17637 as_myself=
17638 case $0 in #((
17639 *[\\/]* ) as_myself=$0 ;;
17640 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17641 for as_dir in $PATH
17643 IFS=$as_save_IFS
17644 test -z "$as_dir" && as_dir=.
17645 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17646 done
17647 IFS=$as_save_IFS
17650 esac
17651 # We did not find ourselves, most probably we were run as `sh COMMAND'
17652 # in which case we are not to be found in the path.
17653 if test "x$as_myself" = x; then
17654 as_myself=$0
17656 if test ! -f "$as_myself"; then
17657 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17658 exit 1
17661 # Unset variables that we do not need and which cause bugs (e.g. in
17662 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17663 # suppresses any "Segmentation fault" message there. '((' could
17664 # trigger a bug in pdksh 5.2.14.
17665 for as_var in BASH_ENV ENV MAIL MAILPATH
17666 do eval test x\${$as_var+set} = xset \
17667 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17668 done
17669 PS1='$ '
17670 PS2='> '
17671 PS4='+ '
17673 # NLS nuisances.
17674 LC_ALL=C
17675 export LC_ALL
17676 LANGUAGE=C
17677 export LANGUAGE
17679 # CDPATH.
17680 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17683 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17684 # ----------------------------------------
17685 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17686 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17687 # script with STATUS, using 1 if that was 0.
17688 as_fn_error ()
17690 as_status=$1; test $as_status -eq 0 && as_status=1
17691 if test "$4"; then
17692 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17693 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17695 $as_echo "$as_me: error: $2" >&2
17696 as_fn_exit $as_status
17697 } # as_fn_error
17700 # as_fn_set_status STATUS
17701 # -----------------------
17702 # Set $? to STATUS, without forking.
17703 as_fn_set_status ()
17705 return $1
17706 } # as_fn_set_status
17708 # as_fn_exit STATUS
17709 # -----------------
17710 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17711 as_fn_exit ()
17713 set +e
17714 as_fn_set_status $1
17715 exit $1
17716 } # as_fn_exit
17718 # as_fn_unset VAR
17719 # ---------------
17720 # Portably unset VAR.
17721 as_fn_unset ()
17723 { eval $1=; unset $1;}
17725 as_unset=as_fn_unset
17726 # as_fn_append VAR VALUE
17727 # ----------------------
17728 # Append the text in VALUE to the end of the definition contained in VAR. Take
17729 # advantage of any shell optimizations that allow amortized linear growth over
17730 # repeated appends, instead of the typical quadratic growth present in naive
17731 # implementations.
17732 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17733 eval 'as_fn_append ()
17735 eval $1+=\$2
17737 else
17738 as_fn_append ()
17740 eval $1=\$$1\$2
17742 fi # as_fn_append
17744 # as_fn_arith ARG...
17745 # ------------------
17746 # Perform arithmetic evaluation on the ARGs, and store the result in the
17747 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17748 # must be portable across $(()) and expr.
17749 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17750 eval 'as_fn_arith ()
17752 as_val=$(( $* ))
17754 else
17755 as_fn_arith ()
17757 as_val=`expr "$@" || test $? -eq 1`
17759 fi # as_fn_arith
17762 if expr a : '\(a\)' >/dev/null 2>&1 &&
17763 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17764 as_expr=expr
17765 else
17766 as_expr=false
17769 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17770 as_basename=basename
17771 else
17772 as_basename=false
17775 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17776 as_dirname=dirname
17777 else
17778 as_dirname=false
17781 as_me=`$as_basename -- "$0" ||
17782 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17783 X"$0" : 'X\(//\)$' \| \
17784 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17785 $as_echo X/"$0" |
17786 sed '/^.*\/\([^/][^/]*\)\/*$/{
17787 s//\1/
17790 /^X\/\(\/\/\)$/{
17791 s//\1/
17794 /^X\/\(\/\).*/{
17795 s//\1/
17798 s/.*/./; q'`
17800 # Avoid depending upon Character Ranges.
17801 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17802 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17803 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17804 as_cr_digits='0123456789'
17805 as_cr_alnum=$as_cr_Letters$as_cr_digits
17807 ECHO_C= ECHO_N= ECHO_T=
17808 case `echo -n x` in #(((((
17809 -n*)
17810 case `echo 'xy\c'` in
17811 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17812 xy) ECHO_C='\c';;
17813 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17814 ECHO_T=' ';;
17815 esac;;
17817 ECHO_N='-n';;
17818 esac
17820 rm -f conf$$ conf$$.exe conf$$.file
17821 if test -d conf$$.dir; then
17822 rm -f conf$$.dir/conf$$.file
17823 else
17824 rm -f conf$$.dir
17825 mkdir conf$$.dir 2>/dev/null
17827 if (echo >conf$$.file) 2>/dev/null; then
17828 if ln -s conf$$.file conf$$ 2>/dev/null; then
17829 as_ln_s='ln -s'
17830 # ... but there are two gotchas:
17831 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17832 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17833 # In both cases, we have to default to `cp -pR'.
17834 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17835 as_ln_s='cp -pR'
17836 elif ln conf$$.file conf$$ 2>/dev/null; then
17837 as_ln_s=ln
17838 else
17839 as_ln_s='cp -pR'
17841 else
17842 as_ln_s='cp -pR'
17844 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17845 rmdir conf$$.dir 2>/dev/null
17848 # as_fn_mkdir_p
17849 # -------------
17850 # Create "$as_dir" as a directory, including parents if necessary.
17851 as_fn_mkdir_p ()
17854 case $as_dir in #(
17855 -*) as_dir=./$as_dir;;
17856 esac
17857 test -d "$as_dir" || eval $as_mkdir_p || {
17858 as_dirs=
17859 while :; do
17860 case $as_dir in #(
17861 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17862 *) as_qdir=$as_dir;;
17863 esac
17864 as_dirs="'$as_qdir' $as_dirs"
17865 as_dir=`$as_dirname -- "$as_dir" ||
17866 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17867 X"$as_dir" : 'X\(//\)[^/]' \| \
17868 X"$as_dir" : 'X\(//\)$' \| \
17869 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17870 $as_echo X"$as_dir" |
17871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17872 s//\1/
17875 /^X\(\/\/\)[^/].*/{
17876 s//\1/
17879 /^X\(\/\/\)$/{
17880 s//\1/
17883 /^X\(\/\).*/{
17884 s//\1/
17887 s/.*/./; q'`
17888 test -d "$as_dir" && break
17889 done
17890 test -z "$as_dirs" || eval "mkdir $as_dirs"
17891 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17894 } # as_fn_mkdir_p
17895 if mkdir -p . 2>/dev/null; then
17896 as_mkdir_p='mkdir -p "$as_dir"'
17897 else
17898 test -d ./-p && rmdir ./-p
17899 as_mkdir_p=false
17903 # as_fn_executable_p FILE
17904 # -----------------------
17905 # Test if FILE is an executable regular file.
17906 as_fn_executable_p ()
17908 test -f "$1" && test -x "$1"
17909 } # as_fn_executable_p
17910 as_test_x='test -x'
17911 as_executable_p=as_fn_executable_p
17913 # Sed expression to map a string onto a valid CPP name.
17914 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17916 # Sed expression to map a string onto a valid variable name.
17917 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17920 exec 6>&1
17921 ## ----------------------------------- ##
17922 ## Main body of $CONFIG_STATUS script. ##
17923 ## ----------------------------------- ##
17924 _ASEOF
17925 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17928 # Save the log message, to keep $0 and so on meaningful, and to
17929 # report actual input values of CONFIG_FILES etc. instead of their
17930 # values after options handling.
17931 ac_log="
17932 This file was extended by Wine $as_me 1.7.3, which was
17933 generated by GNU Autoconf 2.69. Invocation command line was
17935 CONFIG_FILES = $CONFIG_FILES
17936 CONFIG_HEADERS = $CONFIG_HEADERS
17937 CONFIG_LINKS = $CONFIG_LINKS
17938 CONFIG_COMMANDS = $CONFIG_COMMANDS
17939 $ $0 $@
17941 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17944 _ACEOF
17946 case $ac_config_files in *"
17947 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17948 esac
17950 case $ac_config_headers in *"
17951 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17952 esac
17955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17956 # Files that config.status was made for.
17957 config_files="$ac_config_files"
17958 config_headers="$ac_config_headers"
17959 config_links="$ac_config_links"
17960 config_commands="$ac_config_commands"
17962 _ACEOF
17964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17965 ac_cs_usage="\
17966 \`$as_me' instantiates files and other configuration actions
17967 from templates according to the current configuration. Unless the files
17968 and actions are specified as TAGs, all are instantiated by default.
17970 Usage: $0 [OPTION]... [TAG]...
17972 -h, --help print this help, then exit
17973 -V, --version print version number and configuration settings, then exit
17974 --config print configuration, then exit
17975 -q, --quiet, --silent
17976 do not print progress messages
17977 -d, --debug don't remove temporary files
17978 --recheck update $as_me by reconfiguring in the same conditions
17979 --file=FILE[:TEMPLATE]
17980 instantiate the configuration file FILE
17981 --header=FILE[:TEMPLATE]
17982 instantiate the configuration header FILE
17984 Configuration files:
17985 $config_files
17987 Configuration headers:
17988 $config_headers
17990 Configuration links:
17991 $config_links
17993 Configuration commands:
17994 $config_commands
17996 Report bugs to <wine-devel@winehq.org>.
17997 Wine home page: <http://www.winehq.org>."
17999 _ACEOF
18000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18001 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18002 ac_cs_version="\\
18003 Wine config.status 1.7.3
18004 configured by $0, generated by GNU Autoconf 2.69,
18005 with options \\"\$ac_cs_config\\"
18007 Copyright (C) 2012 Free Software Foundation, Inc.
18008 This config.status script is free software; the Free Software Foundation
18009 gives unlimited permission to copy, distribute and modify it."
18011 ac_pwd='$ac_pwd'
18012 srcdir='$srcdir'
18013 INSTALL='$INSTALL'
18014 test -n "\$AWK" || AWK=awk
18015 _ACEOF
18017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18018 # The default lists apply if the user does not specify any file.
18019 ac_need_defaults=:
18020 while test $# != 0
18022 case $1 in
18023 --*=?*)
18024 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18025 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18026 ac_shift=:
18028 --*=)
18029 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18030 ac_optarg=
18031 ac_shift=:
18034 ac_option=$1
18035 ac_optarg=$2
18036 ac_shift=shift
18038 esac
18040 case $ac_option in
18041 # Handling of the options.
18042 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18043 ac_cs_recheck=: ;;
18044 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18045 $as_echo "$ac_cs_version"; exit ;;
18046 --config | --confi | --conf | --con | --co | --c )
18047 $as_echo "$ac_cs_config"; exit ;;
18048 --debug | --debu | --deb | --de | --d | -d )
18049 debug=: ;;
18050 --file | --fil | --fi | --f )
18051 $ac_shift
18052 case $ac_optarg in
18053 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18054 '') as_fn_error $? "missing file argument" ;;
18055 esac
18056 as_fn_append CONFIG_FILES " '$ac_optarg'"
18057 ac_need_defaults=false;;
18058 --header | --heade | --head | --hea )
18059 $ac_shift
18060 case $ac_optarg in
18061 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18062 esac
18063 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18064 ac_need_defaults=false;;
18065 --he | --h)
18066 # Conflict between --help and --header
18067 as_fn_error $? "ambiguous option: \`$1'
18068 Try \`$0 --help' for more information.";;
18069 --help | --hel | -h )
18070 $as_echo "$ac_cs_usage"; exit ;;
18071 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18072 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18073 ac_cs_silent=: ;;
18075 # This is an error.
18076 -*) as_fn_error $? "unrecognized option: \`$1'
18077 Try \`$0 --help' for more information." ;;
18079 *) as_fn_append ac_config_targets " $1"
18080 ac_need_defaults=false ;;
18082 esac
18083 shift
18084 done
18086 ac_configure_extra_args=
18088 if $ac_cs_silent; then
18089 exec 6>/dev/null
18090 ac_configure_extra_args="$ac_configure_extra_args --silent"
18093 _ACEOF
18094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18095 if \$ac_cs_recheck; then
18096 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18097 shift
18098 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18099 CONFIG_SHELL='$SHELL'
18100 export CONFIG_SHELL
18101 exec "\$@"
18104 _ACEOF
18105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18106 exec 5>>config.log
18108 echo
18109 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18110 ## Running $as_me. ##
18111 _ASBOX
18112 $as_echo "$ac_log"
18113 } >&5
18115 _ACEOF
18116 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18118 # INIT-COMMANDS
18120 wine_fn_output_makefile ()
18122 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18123 `cat $wine_rules_file`
18124 _WINE_EOF
18125 as_fn_error $? "could not create Makefile" "$LINENO" 5
18128 _ACEOF
18130 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18132 # Handling of arguments.
18133 for ac_config_target in $ac_config_targets
18135 case $ac_config_target in
18136 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18137 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18138 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
18139 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
18140 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18141 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18142 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18143 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18144 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18145 "tools/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
18146 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18147 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18148 "dlls/gdi32/dibdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
18149 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
18150 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
18151 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
18152 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
18153 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
18154 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
18155 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
18156 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
18157 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
18158 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
18159 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
18160 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18161 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18163 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18164 esac
18165 done
18168 # If the user did not use the arguments to specify the items to instantiate,
18169 # then the envvar interface is used. Set only those that are not.
18170 # We use the long form for the default assignment because of an extremely
18171 # bizarre bug on SunOS 4.1.3.
18172 if $ac_need_defaults; then
18173 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18174 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18175 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18176 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18179 # Have a temporary directory for convenience. Make it in the build tree
18180 # simply because there is no reason against having it here, and in addition,
18181 # creating and moving files from /tmp can sometimes cause problems.
18182 # Hook for its removal unless debugging.
18183 # Note that there is a small window in which the directory will not be cleaned:
18184 # after its creation but before its name has been assigned to `$tmp'.
18185 $debug ||
18187 tmp= ac_tmp=
18188 trap 'exit_status=$?
18189 : "${ac_tmp:=$tmp}"
18190 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18192 trap 'as_fn_exit 1' 1 2 13 15
18194 # Create a (secure) tmp directory for tmp files.
18197 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18198 test -d "$tmp"
18199 } ||
18201 tmp=./conf$$-$RANDOM
18202 (umask 077 && mkdir "$tmp")
18203 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18204 ac_tmp=$tmp
18206 # Set up the scripts for CONFIG_FILES section.
18207 # No need to generate them if there are no CONFIG_FILES.
18208 # This happens for instance with `./config.status config.h'.
18209 if test -n "$CONFIG_FILES"; then
18211 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
18212 ac_cs_awk_getline=:
18213 ac_cs_awk_pipe_init=
18214 ac_cs_awk_read_file='
18215 while ((getline aline < (F[key])) > 0)
18216 print(aline)
18217 close(F[key])'
18218 ac_cs_awk_pipe_fini=
18219 else
18220 ac_cs_awk_getline=false
18221 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
18222 ac_cs_awk_read_file='
18223 print "|#_!!_#|"
18224 print "cat " F[key] " &&"
18225 '$ac_cs_awk_pipe_init
18226 # The final `:' finishes the AND list.
18227 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
18229 ac_cr=`echo X | tr X '\015'`
18230 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18231 # But we know of no other shell where ac_cr would be empty at this
18232 # point, so we can use a bashism as a fallback.
18233 if test "x$ac_cr" = x; then
18234 eval ac_cr=\$\'\\r\'
18236 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18237 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18238 ac_cs_awk_cr='\\r'
18239 else
18240 ac_cs_awk_cr=$ac_cr
18243 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18244 _ACEOF
18246 # Create commands to substitute file output variables.
18248 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18249 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
18250 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
18251 echo "_ACAWK" &&
18252 echo "_ACEOF"
18253 } >conf$$files.sh &&
18254 . ./conf$$files.sh ||
18255 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18256 rm -f conf$$files.sh
18259 echo "cat >conf$$subs.awk <<_ACEOF" &&
18260 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18261 echo "_ACEOF"
18262 } >conf$$subs.sh ||
18263 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18264 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18265 ac_delim='%!_!# '
18266 for ac_last_try in false false false false false :; do
18267 . ./conf$$subs.sh ||
18268 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18270 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18271 if test $ac_delim_n = $ac_delim_num; then
18272 break
18273 elif $ac_last_try; then
18274 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18275 else
18276 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18278 done
18279 rm -f conf$$subs.sh
18281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18282 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18283 _ACEOF
18284 sed -n '
18286 s/^/S["/; s/!.*/"]=/
18289 s/^[^!]*!//
18290 :repl
18291 t repl
18292 s/'"$ac_delim"'$//
18293 t delim
18296 s/\(.\{148\}\)..*/\1/
18297 t more1
18298 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18301 b repl
18302 :more1
18303 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18306 s/.\{148\}//
18307 t nl
18308 :delim
18310 s/\(.\{148\}\)..*/\1/
18311 t more2
18312 s/["\\]/\\&/g; s/^/"/; s/$/"/
18315 :more2
18316 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18319 s/.\{148\}//
18320 t delim
18321 ' <conf$$subs.awk | sed '
18322 /^[^""]/{
18324 s/\n//
18326 ' >>$CONFIG_STATUS || ac_write_fail=1
18327 rm -f conf$$subs.awk
18328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18329 _ACAWK
18330 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18331 for (key in S) S_is_set[key] = 1
18332 FS = "\a"
18333 \$ac_cs_awk_pipe_init
18336 line = $ 0
18337 nfields = split(line, field, "@")
18338 substed = 0
18339 len = length(field[1])
18340 for (i = 2; i < nfields; i++) {
18341 key = field[i]
18342 keylen = length(key)
18343 if (S_is_set[key]) {
18344 value = S[key]
18345 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18346 len += length(value) + length(field[++i])
18347 substed = 1
18348 } else
18349 len += 1 + keylen
18351 if (nfields == 3 && !substed) {
18352 key = field[2]
18353 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18354 \$ac_cs_awk_read_file
18355 next
18358 print line
18360 \$ac_cs_awk_pipe_fini
18361 _ACAWK
18362 _ACEOF
18363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18364 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18365 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18366 else
18368 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18369 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18370 _ACEOF
18372 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18373 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18374 # trailing colons and then remove the whole line if VPATH becomes empty
18375 # (actually we leave an empty line to preserve line numbers).
18376 if test "x$srcdir" = x.; then
18377 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18379 s///
18380 s/^/:/
18381 s/[ ]*$/:/
18382 s/:\$(srcdir):/:/g
18383 s/:\${srcdir}:/:/g
18384 s/:@srcdir@:/:/g
18385 s/^:*//
18386 s/:*$//
18388 s/\(=[ ]*\).*/\1/
18390 s/\n//
18391 s/^[^=]*=[ ]*$//
18395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18396 fi # test -n "$CONFIG_FILES"
18398 # Set up the scripts for CONFIG_HEADERS section.
18399 # No need to generate them if there are no CONFIG_HEADERS.
18400 # This happens for instance with `./config.status Makefile'.
18401 if test -n "$CONFIG_HEADERS"; then
18402 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18403 BEGIN {
18404 _ACEOF
18406 # Transform confdefs.h into an awk script `defines.awk', embedded as
18407 # here-document in config.status, that substitutes the proper values into
18408 # config.h.in to produce config.h.
18410 # Create a delimiter string that does not exist in confdefs.h, to ease
18411 # handling of long lines.
18412 ac_delim='%!_!# '
18413 for ac_last_try in false false :; do
18414 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18415 if test -z "$ac_tt"; then
18416 break
18417 elif $ac_last_try; then
18418 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18419 else
18420 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18422 done
18424 # For the awk script, D is an array of macro values keyed by name,
18425 # likewise P contains macro parameters if any. Preserve backslash
18426 # newline sequences.
18428 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18429 sed -n '
18430 s/.\{148\}/&'"$ac_delim"'/g
18431 t rset
18432 :rset
18433 s/^[ ]*#[ ]*define[ ][ ]*/ /
18434 t def
18436 :def
18437 s/\\$//
18438 t bsnl
18439 s/["\\]/\\&/g
18440 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18441 D["\1"]=" \3"/p
18442 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18444 :bsnl
18445 s/["\\]/\\&/g
18446 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18447 D["\1"]=" \3\\\\\\n"\\/p
18448 t cont
18449 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18450 t cont
18452 :cont
18454 s/.\{148\}/&'"$ac_delim"'/g
18455 t clear
18456 :clear
18457 s/\\$//
18458 t bsnlc
18459 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18461 :bsnlc
18462 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18463 b cont
18464 ' <confdefs.h | sed '
18465 s/'"$ac_delim"'/"\\\
18466 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18469 for (key in D) D_is_set[key] = 1
18470 FS = "\a"
18472 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18473 line = \$ 0
18474 split(line, arg, " ")
18475 if (arg[1] == "#") {
18476 defundef = arg[2]
18477 mac1 = arg[3]
18478 } else {
18479 defundef = substr(arg[1], 2)
18480 mac1 = arg[2]
18482 split(mac1, mac2, "(") #)
18483 macro = mac2[1]
18484 prefix = substr(line, 1, index(line, defundef) - 1)
18485 if (D_is_set[macro]) {
18486 # Preserve the white space surrounding the "#".
18487 print prefix "define", macro P[macro] D[macro]
18488 next
18489 } else {
18490 # Replace #undef with comments. This is necessary, for example,
18491 # in the case of _POSIX_SOURCE, which is predefined and required
18492 # on some systems where configure will not decide to define it.
18493 if (defundef == "undef") {
18494 print "/*", prefix defundef, macro, "*/"
18495 next
18499 { print }
18500 _ACAWK
18501 _ACEOF
18502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18503 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18504 fi # test -n "$CONFIG_HEADERS"
18507 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18508 shift
18509 for ac_tag
18511 case $ac_tag in
18512 :[FHLC]) ac_mode=$ac_tag; continue;;
18513 esac
18514 case $ac_mode$ac_tag in
18515 :[FHL]*:*);;
18516 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18517 :[FH]-) ac_tag=-:-;;
18518 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18519 esac
18520 ac_save_IFS=$IFS
18521 IFS=:
18522 set x $ac_tag
18523 IFS=$ac_save_IFS
18524 shift
18525 ac_file=$1
18526 shift
18528 case $ac_mode in
18529 :L) ac_source=$1;;
18530 :[FH])
18531 ac_file_inputs=
18532 for ac_f
18534 case $ac_f in
18535 -) ac_f="$ac_tmp/stdin";;
18536 *) # Look for the file first in the build tree, then in the source tree
18537 # (if the path is not absolute). The absolute path cannot be DOS-style,
18538 # because $ac_f cannot contain `:'.
18539 test -f "$ac_f" ||
18540 case $ac_f in
18541 [\\/$]*) false;;
18542 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18543 esac ||
18544 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18545 esac
18546 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18547 as_fn_append ac_file_inputs " '$ac_f'"
18548 done
18550 # Let's still pretend it is `configure' which instantiates (i.e., don't
18551 # use $as_me), people would be surprised to read:
18552 # /* config.h. Generated by config.status. */
18553 configure_input='Generated from '`
18554 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18555 `' by configure.'
18556 if test x"$ac_file" != x-; then
18557 configure_input="$ac_file. $configure_input"
18558 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18559 $as_echo "$as_me: creating $ac_file" >&6;}
18561 # Neutralize special characters interpreted by sed in replacement strings.
18562 case $configure_input in #(
18563 *\&* | *\|* | *\\* )
18564 ac_sed_conf_input=`$as_echo "$configure_input" |
18565 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18566 *) ac_sed_conf_input=$configure_input;;
18567 esac
18569 case $ac_tag in
18570 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18571 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18572 esac
18574 esac
18576 ac_dir=`$as_dirname -- "$ac_file" ||
18577 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18578 X"$ac_file" : 'X\(//\)[^/]' \| \
18579 X"$ac_file" : 'X\(//\)$' \| \
18580 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18581 $as_echo X"$ac_file" |
18582 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18583 s//\1/
18586 /^X\(\/\/\)[^/].*/{
18587 s//\1/
18590 /^X\(\/\/\)$/{
18591 s//\1/
18594 /^X\(\/\).*/{
18595 s//\1/
18598 s/.*/./; q'`
18599 as_dir="$ac_dir"; as_fn_mkdir_p
18600 ac_builddir=.
18602 case "$ac_dir" in
18603 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18605 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18606 # A ".." for each directory in $ac_dir_suffix.
18607 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18608 case $ac_top_builddir_sub in
18609 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18610 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18611 esac ;;
18612 esac
18613 ac_abs_top_builddir=$ac_pwd
18614 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18615 # for backward compatibility:
18616 ac_top_builddir=$ac_top_build_prefix
18618 case $srcdir in
18619 .) # We are building in place.
18620 ac_srcdir=.
18621 ac_top_srcdir=$ac_top_builddir_sub
18622 ac_abs_top_srcdir=$ac_pwd ;;
18623 [\\/]* | ?:[\\/]* ) # Absolute name.
18624 ac_srcdir=$srcdir$ac_dir_suffix;
18625 ac_top_srcdir=$srcdir
18626 ac_abs_top_srcdir=$srcdir ;;
18627 *) # Relative name.
18628 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18629 ac_top_srcdir=$ac_top_build_prefix$srcdir
18630 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18631 esac
18632 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18635 case $ac_mode in
18638 # CONFIG_FILE
18641 case $INSTALL in
18642 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18643 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18644 esac
18645 _ACEOF
18647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18648 # If the template does not know about datarootdir, expand it.
18649 # FIXME: This hack should be removed a few years after 2.60.
18650 ac_datarootdir_hack=; ac_datarootdir_seen=
18651 ac_sed_dataroot='
18652 /datarootdir/ {
18656 /@datadir@/p
18657 /@docdir@/p
18658 /@infodir@/p
18659 /@localedir@/p
18660 /@mandir@/p'
18661 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18662 *datarootdir*) ac_datarootdir_seen=yes;;
18663 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18665 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18666 _ACEOF
18667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18668 ac_datarootdir_hack='
18669 s&@datadir@&$datadir&g
18670 s&@docdir@&$docdir&g
18671 s&@infodir@&$infodir&g
18672 s&@localedir@&$localedir&g
18673 s&@mandir@&$mandir&g
18674 s&\\\${datarootdir}&$datarootdir&g' ;;
18675 esac
18676 _ACEOF
18678 # Neutralize VPATH when `$srcdir' = `.'.
18679 # Shell code in configure.ac might set extrasub.
18680 # FIXME: do we really want to maintain this feature?
18681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18682 ac_sed_extra="$ac_vpsub
18683 $extrasub
18684 _ACEOF
18685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18687 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18688 s|@configure_input@|$ac_sed_conf_input|;t t
18689 s&@top_builddir@&$ac_top_builddir_sub&;t t
18690 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18691 s&@srcdir@&$ac_srcdir&;t t
18692 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18693 s&@top_srcdir@&$ac_top_srcdir&;t t
18694 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18695 s&@builddir@&$ac_builddir&;t t
18696 s&@abs_builddir@&$ac_abs_builddir&;t t
18697 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18698 s&@INSTALL@&$ac_INSTALL&;t t
18699 $ac_datarootdir_hack
18701 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18702 if $ac_cs_awk_getline; then
18703 $AWK -f "$ac_tmp/subs.awk"
18704 else
18705 $AWK -f "$ac_tmp/subs.awk" | $SHELL
18706 fi \
18707 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18709 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18710 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18711 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18712 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18714 which seems to be undefined. Please make sure it is defined" >&5
18715 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18716 which seems to be undefined. Please make sure it is defined" >&2;}
18718 rm -f "$ac_tmp/stdin"
18719 case $ac_file in
18720 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18721 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18722 esac \
18723 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18727 # CONFIG_HEADER
18729 if test x"$ac_file" != x-; then
18731 $as_echo "/* $configure_input */" \
18732 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18733 } >"$ac_tmp/config.h" \
18734 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18735 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18737 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18738 else
18739 rm -f "$ac_file"
18740 mv "$ac_tmp/config.h" "$ac_file" \
18741 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18743 else
18744 $as_echo "/* $configure_input */" \
18745 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18746 || as_fn_error $? "could not create -" "$LINENO" 5
18751 # CONFIG_LINK
18754 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18756 else
18757 # Prefer the file from the source tree if names are identical.
18758 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18759 ac_source=$srcdir/$ac_source
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18763 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18765 if test ! -r "$ac_source"; then
18766 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18768 rm -f "$ac_file"
18770 # Try a relative symlink, then a hard link, then a copy.
18771 case $ac_source in
18772 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18773 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18774 esac
18775 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18776 ln "$ac_source" "$ac_file" 2>/dev/null ||
18777 cp -p "$ac_source" "$ac_file" ||
18778 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18781 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18782 $as_echo "$as_me: executing $ac_file commands" >&6;}
18784 esac
18787 case $ac_file$ac_mode in
18788 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18789 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
18790 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
18791 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
18792 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
18793 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
18794 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
18795 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
18796 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
18797 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
18798 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
18799 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
18800 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
18801 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
18802 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
18803 "Makefile":C) wine_fn_output_makefile Makefile ;;
18805 esac
18806 done # for ac_tag
18809 as_fn_exit 0
18810 _ACEOF
18811 ac_clean_files=$ac_clean_files_save
18813 test $ac_write_fail = 0 ||
18814 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18817 # configure is writing to config.log, and then calls config.status.
18818 # config.status does its own redirection, appending to config.log.
18819 # Unfortunately, on DOS this fails, as config.log is still kept open
18820 # by configure, so config.status won't be able to write to it; its
18821 # output is simply discarded. So we exec the FD to /dev/null,
18822 # effectively closing config.log, so it can be properly (re)opened and
18823 # appended to by config.status. When coming back to configure, we
18824 # need to make the FD available again.
18825 if test "$no_create" != yes; then
18826 ac_cs_success=:
18827 ac_config_status_args=
18828 test "$silent" = yes &&
18829 ac_config_status_args="$ac_config_status_args --quiet"
18830 exec 5>/dev/null
18831 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18832 exec 5>>config.log
18833 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18834 # would make configure fail if this is the last instruction.
18835 $ac_cs_success || as_fn_exit 1
18837 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18839 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18843 if test "$no_create" = "yes"
18844 then
18845 exit 0
18848 ac_save_IFS="$IFS"
18849 if test "x$wine_notices != "x; then
18850 echo >&6
18851 IFS="|"
18852 for msg in $wine_notices; do
18853 IFS="$ac_save_IFS"
18854 if test -n "$msg"; then
18855 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18856 $as_echo "$as_me: $msg" >&6;}
18858 done
18860 IFS="|"
18861 for msg in $wine_warnings; do
18862 IFS="$ac_save_IFS"
18863 if test -n "$msg"; then
18864 echo >&2
18865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18866 $as_echo "$as_me: WARNING: $msg" >&2;}
18868 done
18869 IFS="$ac_save_IFS"
18871 $as_echo "
18872 $as_me: Finished. Do '${ac_make}' to compile Wine.
18873 " >&6