ws2_32: Cope with invalid hints in getaddrinfo/GetAddrInfoW.
[wine.git] / configure
blob925ead33fd97d7a52e9f553347653e38d0c7b731
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.9.
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.9'
584 PACKAGE_STRING='Wine 1.7.9'
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 MAKE_TEST_RULES
630 MAKE_PROG_RULES
631 MAKE_DLL_RULES
632 MAKE_IMPLIB_RULES
633 LDAPLIBS
634 LIBRT
635 LIBPOLL
636 LIBDL
637 TOOLSEXT
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 CROSSCC
690 CROSSTARGET
691 PRELINK
692 CARBONLIB
693 QUICKTIMELIB
694 LIBOPENCL
695 FRAMEWORK_OPENAL
696 COREAUDIO
697 SECURITYLIB
698 DISKARBITRATIONLIB
699 APPKITLIB
700 CORESERVICESLIB
701 APPLICATIONSERVICESLIB
702 FORCEFEEDBACKLIB
703 IOKITLIB
704 COREFOUNDATIONLIB
705 LIBWINE_RULES
706 SOCKETLIBS
707 DLLTOOL
708 LOADER_RULES
709 ALL_TEST_RESOURCES
710 READELF
712 LDRPATH_LOCAL
713 LDRPATH_INSTALL
714 DLLFLAGS
715 DLLPREFIX
716 dlldir
718 OPENGL_LIBS
719 XLIB
720 ICOTOOL
721 CONVERT
722 RSVG
723 FONTFORGE
724 PKG_CONFIG
725 MSGFMT
726 INSTALL_DATA
727 INSTALL_SCRIPT
728 INSTALL_PROGRAM
729 INSTALL
730 LDCONFIG
731 MKDIR_P
732 EGREP
733 GREP
734 LN_S
735 RANLIB
736 ARFLAGS
737 STRIP
738 ac_ct_AR
740 BISON
741 FLEX
742 TOOLSDIR
743 TARGETFLAGS
744 CPPBIN
745 ac_ct_CXX
746 CXXFLAGS
748 OBJEXT
749 EXEEXT
750 ac_ct_CC
751 CPPFLAGS
752 LDFLAGS
753 CFLAGS
755 SET_MAKE
756 host_os
757 host_vendor
758 host_cpu
759 host
760 build_os
761 build_vendor
762 build_cpu
763 build
764 target_alias
765 host_alias
766 build_alias
767 LIBS
768 ECHO_T
769 ECHO_N
770 ECHO_C
771 DEFS
772 mandir
773 localedir
774 libdir
775 psdir
776 pdfdir
777 dvidir
778 htmldir
779 infodir
780 docdir
781 oldincludedir
782 includedir
783 localstatedir
784 sharedstatedir
785 sysconfdir
786 datadir
787 datarootdir
788 libexecdir
789 sbindir
790 bindir
791 program_transform_name
792 prefix
793 exec_prefix
794 PACKAGE_URL
795 PACKAGE_BUGREPORT
796 PACKAGE_STRING
797 PACKAGE_VERSION
798 PACKAGE_TARNAME
799 PACKAGE_NAME
800 PATH_SEPARATOR
801 SHELL'
802 ac_subst_files='MAKE_RULES'
803 ac_user_opts='
804 enable_option_checking
805 enable_win16
806 enable_win64
807 enable_tests
808 enable_maintainer_mode
809 with_alsa
810 with_capi
811 with_cms
812 with_coreaudio
813 with_cups
814 with_curses
815 with_dbus
816 with_fontconfig
817 with_freetype
818 with_gettext
819 with_gettextpo
820 with_gphoto
821 with_glu
822 with_gnutls
823 with_gsm
824 with_gstreamer
825 with_hal
826 with_jpeg
827 with_ldap
828 with_mpg123
829 with_netapi
830 with_openal
831 with_opencl
832 with_opengl
833 with_osmesa
834 with_oss
835 with_png
836 with_pthread
837 with_sane
838 with_tiff
839 with_v4l
840 with_xcomposite
841 with_xcursor
842 with_xinerama
843 with_xinput
844 with_xinput2
845 with_xml
846 with_xrandr
847 with_xrender
848 with_xshape
849 with_xshm
850 with_xslt
851 with_xxf86vm
852 with_zlib
853 with_wine_tools
854 with_wine64
855 enable_largefile
856 with_x
857 enable_acledit
858 enable_aclui
859 enable_activeds
860 enable_actxprxy
861 enable_advapi32
862 enable_advpack
863 enable_amstream
864 enable_api_ms_win_core_localregistry_l1_1_0
865 enable_api_ms_win_core_processthreads_l1_1_0
866 enable_api_ms_win_core_winrt_error_l1_1_0
867 enable_api_ms_win_core_winrt_string_l1_1_0
868 enable_api_ms_win_downlevel_advapi32_l1_1_0
869 enable_api_ms_win_downlevel_advapi32_l2_1_0
870 enable_api_ms_win_downlevel_normaliz_l1_1_0
871 enable_api_ms_win_downlevel_ole32_l1_1_0
872 enable_api_ms_win_downlevel_shell32_l1_1_0
873 enable_api_ms_win_downlevel_shlwapi_l1_1_0
874 enable_api_ms_win_downlevel_shlwapi_l2_1_0
875 enable_api_ms_win_downlevel_user32_l1_1_0
876 enable_api_ms_win_downlevel_version_l1_1_0
877 enable_api_ms_win_security_base_l1_1_0
878 enable_apphelp
879 enable_appwiz_cpl
880 enable_atl
881 enable_atl100
882 enable_atl110
883 enable_atl80
884 enable_atl90
885 enable_authz
886 enable_avicap32
887 enable_avifil32
888 enable_avrt
889 enable_bcrypt
890 enable_browseui
891 enable_cabinet
892 enable_capi2032
893 enable_cards
894 enable_cfgmgr32
895 enable_clusapi
896 enable_comcat
897 enable_comctl32
898 enable_comdlg32
899 enable_compstui
900 enable_comsvcs
901 enable_credui
902 enable_crtdll
903 enable_crypt32
904 enable_cryptdlg
905 enable_cryptdll
906 enable_cryptnet
907 enable_cryptui
908 enable_ctapi32
909 enable_ctl3d32
910 enable_d3d10
911 enable_d3d10core
912 enable_d3d11
913 enable_d3d8
914 enable_d3d9
915 enable_d3dcompiler_33
916 enable_d3dcompiler_34
917 enable_d3dcompiler_35
918 enable_d3dcompiler_36
919 enable_d3dcompiler_37
920 enable_d3dcompiler_38
921 enable_d3dcompiler_39
922 enable_d3dcompiler_40
923 enable_d3dcompiler_41
924 enable_d3dcompiler_42
925 enable_d3dcompiler_43
926 enable_d3dim
927 enable_d3drm
928 enable_d3dx10_33
929 enable_d3dx10_34
930 enable_d3dx10_35
931 enable_d3dx10_36
932 enable_d3dx10_37
933 enable_d3dx10_38
934 enable_d3dx10_39
935 enable_d3dx10_40
936 enable_d3dx10_41
937 enable_d3dx10_42
938 enable_d3dx10_43
939 enable_d3dx11_42
940 enable_d3dx11_43
941 enable_d3dx9_24
942 enable_d3dx9_25
943 enable_d3dx9_26
944 enable_d3dx9_27
945 enable_d3dx9_28
946 enable_d3dx9_29
947 enable_d3dx9_30
948 enable_d3dx9_31
949 enable_d3dx9_32
950 enable_d3dx9_33
951 enable_d3dx9_34
952 enable_d3dx9_35
953 enable_d3dx9_36
954 enable_d3dx9_37
955 enable_d3dx9_38
956 enable_d3dx9_39
957 enable_d3dx9_40
958 enable_d3dx9_41
959 enable_d3dx9_42
960 enable_d3dx9_43
961 enable_d3dxof
962 enable_dbgeng
963 enable_dbghelp
964 enable_dciman32
965 enable_ddraw
966 enable_ddrawex
967 enable_devenum
968 enable_dhcpcsvc
969 enable_difxapi
970 enable_dinput
971 enable_dinput8
972 enable_dispex
973 enable_dmband
974 enable_dmcompos
975 enable_dmime
976 enable_dmloader
977 enable_dmscript
978 enable_dmstyle
979 enable_dmsynth
980 enable_dmusic
981 enable_dmusic32
982 enable_dnsapi
983 enable_dplay
984 enable_dplayx
985 enable_dpnaddr
986 enable_dpnet
987 enable_dpnhpast
988 enable_dpnlobby
989 enable_dpwsockx
990 enable_drmclien
991 enable_dsound
992 enable_dssenh
993 enable_dswave
994 enable_dwmapi
995 enable_dwrite
996 enable_dxdiagn
997 enable_dxgi
998 enable_explorerframe
999 enable_faultrep
1000 enable_fltlib
1001 enable_fusion
1002 enable_fwpuclnt
1003 enable_gameux
1004 enable_gdi32
1005 enable_gdiplus
1006 enable_glu32
1007 enable_gphoto2_ds
1008 enable_gpkcsp
1009 enable_hal
1010 enable_hhctrl_ocx
1011 enable_hid
1012 enable_hlink
1013 enable_hnetcfg
1014 enable_httpapi
1015 enable_iccvid
1016 enable_icmp
1017 enable_ieframe
1018 enable_imaadp32_acm
1019 enable_imagehlp
1020 enable_imm32
1021 enable_inetcomm
1022 enable_inetcpl_cpl
1023 enable_inetmib1
1024 enable_infosoft
1025 enable_initpki
1026 enable_inkobj
1027 enable_inseng
1028 enable_iphlpapi
1029 enable_itircl
1030 enable_itss
1031 enable_joy_cpl
1032 enable_jscript
1033 enable_kernel32
1034 enable_ktmw32
1035 enable_loadperf
1036 enable_localspl
1037 enable_localui
1038 enable_lz32
1039 enable_mapi32
1040 enable_mapistub
1041 enable_mciavi32
1042 enable_mcicda
1043 enable_mciqtz32
1044 enable_mciseq
1045 enable_mciwave
1046 enable_mgmtapi
1047 enable_midimap
1048 enable_mlang
1049 enable_mmcndmgr
1050 enable_mmdevapi
1051 enable_mountmgr_sys
1052 enable_mpr
1053 enable_mprapi
1054 enable_msacm32_drv
1055 enable_msacm32
1056 enable_msadp32_acm
1057 enable_mscat32
1058 enable_mscms
1059 enable_mscoree
1060 enable_msctf
1061 enable_msdaps
1062 enable_msdmo
1063 enable_msftedit
1064 enable_msg711_acm
1065 enable_msgsm32_acm
1066 enable_mshtml_tlb
1067 enable_mshtml
1068 enable_msi
1069 enable_msident
1070 enable_msimg32
1071 enable_msimsg
1072 enable_msimtf
1073 enable_msisip
1074 enable_msisys_ocx
1075 enable_msls31
1076 enable_msnet32
1077 enable_mspatcha
1078 enable_msrle32
1079 enable_mssign32
1080 enable_mssip32
1081 enable_mstask
1082 enable_msvcirt
1083 enable_msvcm80
1084 enable_msvcm90
1085 enable_msvcp100
1086 enable_msvcp110
1087 enable_msvcp60
1088 enable_msvcp70
1089 enable_msvcp71
1090 enable_msvcp80
1091 enable_msvcp90
1092 enable_msvcr100
1093 enable_msvcr110
1094 enable_msvcr70
1095 enable_msvcr71
1096 enable_msvcr80
1097 enable_msvcr90
1098 enable_msvcrt
1099 enable_msvcrt20
1100 enable_msvcrt40
1101 enable_msvcrtd
1102 enable_msvfw32
1103 enable_msvidc32
1104 enable_mswsock
1105 enable_msxml
1106 enable_msxml2
1107 enable_msxml3
1108 enable_msxml4
1109 enable_msxml6
1110 enable_nddeapi
1111 enable_netapi32
1112 enable_netcfgx
1113 enable_newdev
1114 enable_normaliz
1115 enable_npmshtml
1116 enable_ntdll
1117 enable_ntdsapi
1118 enable_ntoskrnl_exe
1119 enable_ntprint
1120 enable_objsel
1121 enable_odbc32
1122 enable_odbccp32
1123 enable_odbccu32
1124 enable_ole32
1125 enable_oleacc
1126 enable_oleaut32
1127 enable_olecli32
1128 enable_oledb32
1129 enable_oledlg
1130 enable_olepro32
1131 enable_olesvr32
1132 enable_olethk32
1133 enable_openal32
1134 enable_opencl
1135 enable_opengl32
1136 enable_pdh
1137 enable_photometadatahandler
1138 enable_pidgen
1139 enable_powrprof
1140 enable_printui
1141 enable_propsys
1142 enable_psapi
1143 enable_pstorec
1144 enable_qcap
1145 enable_qedit
1146 enable_qmgr
1147 enable_qmgrprxy
1148 enable_quartz
1149 enable_query
1150 enable_rasapi32
1151 enable_rasdlg
1152 enable_regapi
1153 enable_resutils
1154 enable_riched20
1155 enable_riched32
1156 enable_rpcrt4
1157 enable_rsabase
1158 enable_rsaenh
1159 enable_rstrtmgr
1160 enable_rtutils
1161 enable_samlib
1162 enable_sane_ds
1163 enable_scarddlg
1164 enable_sccbase
1165 enable_schannel
1166 enable_scrrun
1167 enable_scsiport_sys
1168 enable_secur32
1169 enable_security
1170 enable_sensapi
1171 enable_serialui
1172 enable_setupapi
1173 enable_sfc
1174 enable_sfc_os
1175 enable_shdoclc
1176 enable_shdocvw
1177 enable_shell32
1178 enable_shfolder
1179 enable_shlwapi
1180 enable_slbcsp
1181 enable_slc
1182 enable_snmpapi
1183 enable_softpub
1184 enable_spoolss
1185 enable_stdole2_tlb
1186 enable_stdole32_tlb
1187 enable_sti
1188 enable_svrapi
1189 enable_sxs
1190 enable_t2embed
1191 enable_tapi32
1192 enable_taskschd
1193 enable_traffic
1194 enable_twain_32
1195 enable_unicows
1196 enable_updspapi
1197 enable_url
1198 enable_urlmon
1199 enable_usbd_sys
1200 enable_user32
1201 enable_userenv
1202 enable_usp10
1203 enable_uxtheme
1204 enable_vbscript
1205 enable_vcomp
1206 enable_vcomp100
1207 enable_vcomp90
1208 enable_vdmdbg
1209 enable_version
1210 enable_wbemdisp
1211 enable_wbemprox
1212 enable_webservices
1213 enable_wer
1214 enable_wevtapi
1215 enable_wiaservc
1216 enable_windowscodecs
1217 enable_windowscodecsext
1218 enable_winealsa_drv
1219 enable_winecoreaudio_drv
1220 enable_wined3d
1221 enable_winegstreamer
1222 enable_winejoystick_drv
1223 enable_winemac_drv
1224 enable_winemapi
1225 enable_winemp3_acm
1226 enable_wineoss_drv
1227 enable_wineps_drv
1228 enable_wineqtdecoder
1229 enable_winex11_drv
1230 enable_wing32
1231 enable_winhttp
1232 enable_wininet
1233 enable_winmm
1234 enable_winnls32
1235 enable_winscard
1236 enable_winspool_drv
1237 enable_winsta
1238 enable_wintab32
1239 enable_wintrust
1240 enable_wlanapi
1241 enable_wldap32
1242 enable_wmi
1243 enable_wmiutils
1244 enable_wmvcore
1245 enable_wnaspi32
1246 enable_ws2_32
1247 enable_wshom_ocx
1248 enable_wsnmp32
1249 enable_wsock32
1250 enable_wtsapi32
1251 enable_wuapi
1252 enable_wuaueng
1253 enable_xapofx1_1
1254 enable_xinput1_1
1255 enable_xinput1_2
1256 enable_xinput1_3
1257 enable_xinput1_4
1258 enable_xinput9_1_0
1259 enable_xmllite
1260 enable_xolehlp
1261 enable_xpsprint
1262 enable_xpssvcs
1263 enable_documentation
1264 enable_fonts
1265 enable_include
1266 enable_libs_port
1267 enable_libs_wine
1268 enable_libs_wpp
1269 enable_loader
1270 enable_arp
1271 enable_aspnet_regiis
1272 enable_attrib
1273 enable_cabarc
1274 enable_cacls
1275 enable_clock
1276 enable_cmd
1277 enable_conhost
1278 enable_control
1279 enable_cscript
1280 enable_dxdiag
1281 enable_eject
1282 enable_expand
1283 enable_explorer
1284 enable_extrac32
1285 enable_findstr
1286 enable_hh
1287 enable_hostname
1288 enable_icinfo
1289 enable_iexplore
1290 enable_ipconfig
1291 enable_lodctr
1292 enable_mofcomp
1293 enable_mshta
1294 enable_msiexec
1295 enable_net
1296 enable_netsh
1297 enable_netstat
1298 enable_ngen
1299 enable_notepad
1300 enable_oleview
1301 enable_ping
1302 enable_plugplay
1303 enable_presentationfontcache
1304 enable_progman
1305 enable_reg
1306 enable_regasm
1307 enable_regedit
1308 enable_regsvcs
1309 enable_regsvr32
1310 enable_rpcss
1311 enable_rundll32
1312 enable_sc
1313 enable_schtasks
1314 enable_secedit
1315 enable_servicemodelreg
1316 enable_services
1317 enable_spoolsv
1318 enable_start
1319 enable_svchost
1320 enable_taskkill
1321 enable_tasklist
1322 enable_taskmgr
1323 enable_termsv
1324 enable_uninstaller
1325 enable_unlodctr
1326 enable_view
1327 enable_wineboot
1328 enable_winebrowser
1329 enable_winecfg
1330 enable_wineconsole
1331 enable_winedbg
1332 enable_winedevice
1333 enable_winefile
1334 enable_winemenubuilder
1335 enable_winemine
1336 enable_winemsibuilder
1337 enable_winepath
1338 enable_winetest
1339 enable_winhlp32
1340 enable_winver
1341 enable_wmic
1342 enable_wordpad
1343 enable_write
1344 enable_wscript
1345 enable_wusa
1346 enable_xcopy
1347 enable_server
1348 enable_tools
1350 ac_precious_vars='build_alias
1351 host_alias
1352 target_alias
1354 CFLAGS
1355 LDFLAGS
1356 LIBS
1357 CPPFLAGS
1359 CXXFLAGS
1362 XMKMF
1363 XML2_CFLAGS
1364 XML2_LIBS
1365 XSLT_CFLAGS
1366 XSLT_LIBS
1367 DBUS_CFLAGS
1368 DBUS_LIBS
1369 HAL_CFLAGS
1370 HAL_LIBS
1371 GNUTLS_CFLAGS
1372 GNUTLS_LIBS
1373 SANE_CFLAGS
1374 SANE_LIBS
1375 GPHOTO2_CFLAGS
1376 GPHOTO2_LIBS
1377 GPHOTO2_PORT_CFLAGS
1378 GPHOTO2_PORT_LIBS
1379 LCMS2_CFLAGS
1380 LCMS2_LIBS
1381 FREETYPE_CFLAGS
1382 FREETYPE_LIBS
1383 GSTREAMER_CFLAGS
1384 GSTREAMER_LIBS
1385 CAPI20_CFLAGS
1386 CAPI20_LIBS
1387 JPEG_CFLAGS
1388 JPEG_LIBS
1389 PNG_CFLAGS
1390 PNG_LIBS
1391 TIFF_CFLAGS
1392 TIFF_LIBS
1393 MPG123_CFLAGS
1394 MPG123_LIBS'
1397 # Initialize some variables set by options.
1398 ac_init_help=
1399 ac_init_version=false
1400 ac_unrecognized_opts=
1401 ac_unrecognized_sep=
1402 # The variables have the same names as the options, with
1403 # dashes changed to underlines.
1404 cache_file=/dev/null
1405 exec_prefix=NONE
1406 no_create=
1407 no_recursion=
1408 prefix=NONE
1409 program_prefix=NONE
1410 program_suffix=NONE
1411 program_transform_name=s,x,x,
1412 silent=
1413 site=
1414 srcdir=
1415 verbose=
1416 x_includes=NONE
1417 x_libraries=NONE
1419 # Installation directory options.
1420 # These are left unexpanded so users can "make install exec_prefix=/foo"
1421 # and all the variables that are supposed to be based on exec_prefix
1422 # by default will actually change.
1423 # Use braces instead of parens because sh, perl, etc. also accept them.
1424 # (The list follows the same order as the GNU Coding Standards.)
1425 bindir='${exec_prefix}/bin'
1426 sbindir='${exec_prefix}/sbin'
1427 libexecdir='${exec_prefix}/libexec'
1428 datarootdir='${prefix}/share'
1429 datadir='${datarootdir}'
1430 sysconfdir='${prefix}/etc'
1431 sharedstatedir='${prefix}/com'
1432 localstatedir='${prefix}/var'
1433 includedir='${prefix}/include'
1434 oldincludedir='/usr/include'
1435 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1436 infodir='${datarootdir}/info'
1437 htmldir='${docdir}'
1438 dvidir='${docdir}'
1439 pdfdir='${docdir}'
1440 psdir='${docdir}'
1441 libdir='${exec_prefix}/lib'
1442 localedir='${datarootdir}/locale'
1443 mandir='${datarootdir}/man'
1445 ac_prev=
1446 ac_dashdash=
1447 for ac_option
1449 # If the previous option needs an argument, assign it.
1450 if test -n "$ac_prev"; then
1451 eval $ac_prev=\$ac_option
1452 ac_prev=
1453 continue
1456 case $ac_option in
1457 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1458 *=) ac_optarg= ;;
1459 *) ac_optarg=yes ;;
1460 esac
1462 # Accept the important Cygnus configure options, so we can diagnose typos.
1464 case $ac_dashdash$ac_option in
1466 ac_dashdash=yes ;;
1468 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1469 ac_prev=bindir ;;
1470 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1471 bindir=$ac_optarg ;;
1473 -build | --build | --buil | --bui | --bu)
1474 ac_prev=build_alias ;;
1475 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1476 build_alias=$ac_optarg ;;
1478 -cache-file | --cache-file | --cache-fil | --cache-fi \
1479 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1480 ac_prev=cache_file ;;
1481 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1482 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1483 cache_file=$ac_optarg ;;
1485 --config-cache | -C)
1486 cache_file=config.cache ;;
1488 -datadir | --datadir | --datadi | --datad)
1489 ac_prev=datadir ;;
1490 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1491 datadir=$ac_optarg ;;
1493 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1494 | --dataroo | --dataro | --datar)
1495 ac_prev=datarootdir ;;
1496 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1497 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1498 datarootdir=$ac_optarg ;;
1500 -disable-* | --disable-*)
1501 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1502 # Reject names that are not valid shell variable names.
1503 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1504 as_fn_error $? "invalid feature name: $ac_useropt"
1505 ac_useropt_orig=$ac_useropt
1506 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1507 case $ac_user_opts in
1509 "enable_$ac_useropt"
1510 "*) ;;
1511 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1512 ac_unrecognized_sep=', ';;
1513 esac
1514 eval enable_$ac_useropt=no ;;
1516 -docdir | --docdir | --docdi | --doc | --do)
1517 ac_prev=docdir ;;
1518 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1519 docdir=$ac_optarg ;;
1521 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1522 ac_prev=dvidir ;;
1523 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1524 dvidir=$ac_optarg ;;
1526 -enable-* | --enable-*)
1527 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1528 # Reject names that are not valid shell variable names.
1529 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1530 as_fn_error $? "invalid feature name: $ac_useropt"
1531 ac_useropt_orig=$ac_useropt
1532 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1533 case $ac_user_opts in
1535 "enable_$ac_useropt"
1536 "*) ;;
1537 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1538 ac_unrecognized_sep=', ';;
1539 esac
1540 eval enable_$ac_useropt=\$ac_optarg ;;
1542 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1543 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1544 | --exec | --exe | --ex)
1545 ac_prev=exec_prefix ;;
1546 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1547 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1548 | --exec=* | --exe=* | --ex=*)
1549 exec_prefix=$ac_optarg ;;
1551 -gas | --gas | --ga | --g)
1552 # Obsolete; use --with-gas.
1553 with_gas=yes ;;
1555 -help | --help | --hel | --he | -h)
1556 ac_init_help=long ;;
1557 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1558 ac_init_help=recursive ;;
1559 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1560 ac_init_help=short ;;
1562 -host | --host | --hos | --ho)
1563 ac_prev=host_alias ;;
1564 -host=* | --host=* | --hos=* | --ho=*)
1565 host_alias=$ac_optarg ;;
1567 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1568 ac_prev=htmldir ;;
1569 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1570 | --ht=*)
1571 htmldir=$ac_optarg ;;
1573 -includedir | --includedir | --includedi | --included | --include \
1574 | --includ | --inclu | --incl | --inc)
1575 ac_prev=includedir ;;
1576 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1577 | --includ=* | --inclu=* | --incl=* | --inc=*)
1578 includedir=$ac_optarg ;;
1580 -infodir | --infodir | --infodi | --infod | --info | --inf)
1581 ac_prev=infodir ;;
1582 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1583 infodir=$ac_optarg ;;
1585 -libdir | --libdir | --libdi | --libd)
1586 ac_prev=libdir ;;
1587 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1588 libdir=$ac_optarg ;;
1590 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1591 | --libexe | --libex | --libe)
1592 ac_prev=libexecdir ;;
1593 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1594 | --libexe=* | --libex=* | --libe=*)
1595 libexecdir=$ac_optarg ;;
1597 -localedir | --localedir | --localedi | --localed | --locale)
1598 ac_prev=localedir ;;
1599 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1600 localedir=$ac_optarg ;;
1602 -localstatedir | --localstatedir | --localstatedi | --localstated \
1603 | --localstate | --localstat | --localsta | --localst | --locals)
1604 ac_prev=localstatedir ;;
1605 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1606 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1607 localstatedir=$ac_optarg ;;
1609 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1610 ac_prev=mandir ;;
1611 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1612 mandir=$ac_optarg ;;
1614 -nfp | --nfp | --nf)
1615 # Obsolete; use --without-fp.
1616 with_fp=no ;;
1618 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1619 | --no-cr | --no-c | -n)
1620 no_create=yes ;;
1622 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1623 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1624 no_recursion=yes ;;
1626 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1627 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1628 | --oldin | --oldi | --old | --ol | --o)
1629 ac_prev=oldincludedir ;;
1630 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1631 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1632 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1633 oldincludedir=$ac_optarg ;;
1635 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1636 ac_prev=prefix ;;
1637 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1638 prefix=$ac_optarg ;;
1640 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1641 | --program-pre | --program-pr | --program-p)
1642 ac_prev=program_prefix ;;
1643 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1644 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1645 program_prefix=$ac_optarg ;;
1647 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1648 | --program-suf | --program-su | --program-s)
1649 ac_prev=program_suffix ;;
1650 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1651 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1652 program_suffix=$ac_optarg ;;
1654 -program-transform-name | --program-transform-name \
1655 | --program-transform-nam | --program-transform-na \
1656 | --program-transform-n | --program-transform- \
1657 | --program-transform | --program-transfor \
1658 | --program-transfo | --program-transf \
1659 | --program-trans | --program-tran \
1660 | --progr-tra | --program-tr | --program-t)
1661 ac_prev=program_transform_name ;;
1662 -program-transform-name=* | --program-transform-name=* \
1663 | --program-transform-nam=* | --program-transform-na=* \
1664 | --program-transform-n=* | --program-transform-=* \
1665 | --program-transform=* | --program-transfor=* \
1666 | --program-transfo=* | --program-transf=* \
1667 | --program-trans=* | --program-tran=* \
1668 | --progr-tra=* | --program-tr=* | --program-t=*)
1669 program_transform_name=$ac_optarg ;;
1671 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1672 ac_prev=pdfdir ;;
1673 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1674 pdfdir=$ac_optarg ;;
1676 -psdir | --psdir | --psdi | --psd | --ps)
1677 ac_prev=psdir ;;
1678 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1679 psdir=$ac_optarg ;;
1681 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1682 | -silent | --silent | --silen | --sile | --sil)
1683 silent=yes ;;
1685 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1686 ac_prev=sbindir ;;
1687 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1688 | --sbi=* | --sb=*)
1689 sbindir=$ac_optarg ;;
1691 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1692 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1693 | --sharedst | --shareds | --shared | --share | --shar \
1694 | --sha | --sh)
1695 ac_prev=sharedstatedir ;;
1696 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1697 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1698 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1699 | --sha=* | --sh=*)
1700 sharedstatedir=$ac_optarg ;;
1702 -site | --site | --sit)
1703 ac_prev=site ;;
1704 -site=* | --site=* | --sit=*)
1705 site=$ac_optarg ;;
1707 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1708 ac_prev=srcdir ;;
1709 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1710 srcdir=$ac_optarg ;;
1712 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1713 | --syscon | --sysco | --sysc | --sys | --sy)
1714 ac_prev=sysconfdir ;;
1715 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1716 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1717 sysconfdir=$ac_optarg ;;
1719 -target | --target | --targe | --targ | --tar | --ta | --t)
1720 ac_prev=target_alias ;;
1721 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1722 target_alias=$ac_optarg ;;
1724 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1725 verbose=yes ;;
1727 -version | --version | --versio | --versi | --vers | -V)
1728 ac_init_version=: ;;
1730 -with-* | --with-*)
1731 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1732 # Reject names that are not valid shell variable names.
1733 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1734 as_fn_error $? "invalid package name: $ac_useropt"
1735 ac_useropt_orig=$ac_useropt
1736 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1737 case $ac_user_opts in
1739 "with_$ac_useropt"
1740 "*) ;;
1741 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1742 ac_unrecognized_sep=', ';;
1743 esac
1744 eval with_$ac_useropt=\$ac_optarg ;;
1746 -without-* | --without-*)
1747 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1748 # Reject names that are not valid shell variable names.
1749 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1750 as_fn_error $? "invalid package name: $ac_useropt"
1751 ac_useropt_orig=$ac_useropt
1752 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1753 case $ac_user_opts in
1755 "with_$ac_useropt"
1756 "*) ;;
1757 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1758 ac_unrecognized_sep=', ';;
1759 esac
1760 eval with_$ac_useropt=no ;;
1762 --x)
1763 # Obsolete; use --with-x.
1764 with_x=yes ;;
1766 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1767 | --x-incl | --x-inc | --x-in | --x-i)
1768 ac_prev=x_includes ;;
1769 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1770 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1771 x_includes=$ac_optarg ;;
1773 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1774 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1775 ac_prev=x_libraries ;;
1776 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1777 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1778 x_libraries=$ac_optarg ;;
1780 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1781 Try \`$0 --help' for more information"
1784 *=*)
1785 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1786 # Reject names that are not valid shell variable names.
1787 case $ac_envvar in #(
1788 '' | [0-9]* | *[!_$as_cr_alnum]* )
1789 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1790 esac
1791 eval $ac_envvar=\$ac_optarg
1792 export $ac_envvar ;;
1795 # FIXME: should be removed in autoconf 3.0.
1796 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1797 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1798 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1799 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1802 esac
1803 done
1805 if test -n "$ac_prev"; then
1806 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1807 as_fn_error $? "missing argument to $ac_option"
1810 if test -n "$ac_unrecognized_opts"; then
1811 case $enable_option_checking in
1812 no) ;;
1813 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1814 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1815 esac
1818 # Check all directory arguments for consistency.
1819 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1820 datadir sysconfdir sharedstatedir localstatedir includedir \
1821 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1822 libdir localedir mandir
1824 eval ac_val=\$$ac_var
1825 # Remove trailing slashes.
1826 case $ac_val in
1827 */ )
1828 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1829 eval $ac_var=\$ac_val;;
1830 esac
1831 # Be sure to have absolute directory names.
1832 case $ac_val in
1833 [\\/$]* | ?:[\\/]* ) continue;;
1834 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1835 esac
1836 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1837 done
1839 # There might be people who depend on the old broken behavior: `$host'
1840 # used to hold the argument of --host etc.
1841 # FIXME: To remove some day.
1842 build=$build_alias
1843 host=$host_alias
1844 target=$target_alias
1846 # FIXME: To remove some day.
1847 if test "x$host_alias" != x; then
1848 if test "x$build_alias" = x; then
1849 cross_compiling=maybe
1850 elif test "x$build_alias" != "x$host_alias"; then
1851 cross_compiling=yes
1855 ac_tool_prefix=
1856 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1858 test "$silent" = yes && exec 6>/dev/null
1861 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1862 ac_ls_di=`ls -di .` &&
1863 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1864 as_fn_error $? "working directory cannot be determined"
1865 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1866 as_fn_error $? "pwd does not report name of working directory"
1869 # Find the source files, if location was not specified.
1870 if test -z "$srcdir"; then
1871 ac_srcdir_defaulted=yes
1872 # Try the directory containing this script, then the parent directory.
1873 ac_confdir=`$as_dirname -- "$as_myself" ||
1874 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1875 X"$as_myself" : 'X\(//\)[^/]' \| \
1876 X"$as_myself" : 'X\(//\)$' \| \
1877 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1878 $as_echo X"$as_myself" |
1879 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1880 s//\1/
1883 /^X\(\/\/\)[^/].*/{
1884 s//\1/
1887 /^X\(\/\/\)$/{
1888 s//\1/
1891 /^X\(\/\).*/{
1892 s//\1/
1895 s/.*/./; q'`
1896 srcdir=$ac_confdir
1897 if test ! -r "$srcdir/$ac_unique_file"; then
1898 srcdir=..
1900 else
1901 ac_srcdir_defaulted=no
1903 if test ! -r "$srcdir/$ac_unique_file"; then
1904 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1905 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1907 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1908 ac_abs_confdir=`(
1909 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1910 pwd)`
1911 # When building in place, set srcdir=.
1912 if test "$ac_abs_confdir" = "$ac_pwd"; then
1913 srcdir=.
1915 # Remove unnecessary trailing slashes from srcdir.
1916 # Double slashes in file names in object file debugging info
1917 # mess up M-x gdb in Emacs.
1918 case $srcdir in
1919 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1920 esac
1921 for ac_var in $ac_precious_vars; do
1922 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1923 eval ac_env_${ac_var}_value=\$${ac_var}
1924 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1925 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1926 done
1929 # Report the --help message.
1931 if test "$ac_init_help" = "long"; then
1932 # Omit some internal or obsolete options to make the list less imposing.
1933 # This message is too long to be a string in the A/UX 3.1 sh.
1934 cat <<_ACEOF
1935 \`configure' configures Wine 1.7.9 to adapt to many kinds of systems.
1937 Usage: $0 [OPTION]... [VAR=VALUE]...
1939 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1940 VAR=VALUE. See below for descriptions of some of the useful variables.
1942 Defaults for the options are specified in brackets.
1944 Configuration:
1945 -h, --help display this help and exit
1946 --help=short display options specific to this package
1947 --help=recursive display the short help of all the included packages
1948 -V, --version display version information and exit
1949 -q, --quiet, --silent do not print \`checking ...' messages
1950 --cache-file=FILE cache test results in FILE [disabled]
1951 -C, --config-cache alias for \`--cache-file=config.cache'
1952 -n, --no-create do not create output files
1953 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1955 Installation directories:
1956 --prefix=PREFIX install architecture-independent files in PREFIX
1957 [$ac_default_prefix]
1958 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1959 [PREFIX]
1961 By default, \`make install' will install all the files in
1962 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1963 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1964 for instance \`--prefix=\$HOME'.
1966 For better control, use the options below.
1968 Fine tuning of the installation directories:
1969 --bindir=DIR user executables [EPREFIX/bin]
1970 --sbindir=DIR system admin executables [EPREFIX/sbin]
1971 --libexecdir=DIR program executables [EPREFIX/libexec]
1972 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1973 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1974 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1975 --libdir=DIR object code libraries [EPREFIX/lib]
1976 --includedir=DIR C header files [PREFIX/include]
1977 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1978 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1979 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1980 --infodir=DIR info documentation [DATAROOTDIR/info]
1981 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1982 --mandir=DIR man documentation [DATAROOTDIR/man]
1983 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1984 --htmldir=DIR html documentation [DOCDIR]
1985 --dvidir=DIR dvi documentation [DOCDIR]
1986 --pdfdir=DIR pdf documentation [DOCDIR]
1987 --psdir=DIR ps documentation [DOCDIR]
1988 _ACEOF
1990 cat <<\_ACEOF
1992 X features:
1993 --x-includes=DIR X include files are in DIR
1994 --x-libraries=DIR X library files are in DIR
1996 System types:
1997 --build=BUILD configure for building on BUILD [guessed]
1998 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1999 _ACEOF
2002 if test -n "$ac_init_help"; then
2003 case $ac_init_help in
2004 short | recursive ) echo "Configuration of Wine 1.7.9:";;
2005 esac
2006 cat <<\_ACEOF
2008 Optional Features:
2009 --disable-option-checking ignore unrecognized --enable/--with options
2010 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2011 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2012 --disable-win16 do not include Win16 support
2013 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2014 binaries)
2015 --disable-tests do not build the regression tests
2016 --enable-maintainer-mode
2017 enable maintainer-specific build rules
2018 --disable-largefile omit support for large files
2020 Optional Packages:
2021 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2022 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2023 --without-alsa do not use the Alsa sound support
2024 --without-capi do not use CAPI (ISDN support)
2025 --without-cms do not use CMS (color management support)
2026 --without-coreaudio do not use the CoreAudio sound support
2027 --without-cups do not use CUPS
2028 --without-curses do not use (n)curses
2029 --without-dbus do not use DBus (dynamic device support)
2030 --without-fontconfig do not use fontconfig
2031 --without-freetype do not use the FreeType library
2032 --without-gettext do not use gettext
2033 --with-gettextpo use the GetTextPO library to rebuild po files
2034 --without-gphoto do not use gphoto (Digital Camera support)
2035 --without-glu do not use the GLU library
2036 --without-gnutls do not use GnuTLS (schannel support)
2037 --without-gsm do not use libgsm (GSM 06.10 codec support)
2038 --without-gstreamer do not use GStreamer (codecs support)
2039 --without-hal do not use HAL (dynamic device support)
2040 --without-jpeg do not use JPEG
2041 --without-ldap do not use LDAP
2042 --without-mpg123 do not use the mpg123 library
2043 --without-netapi do not use the Samba NetAPI library
2044 --without-openal do not use OpenAL
2045 --without-opencl do not use OpenCL
2046 --without-opengl do not use OpenGL
2047 --without-osmesa do not use the OSMesa library
2048 --without-oss do not use the OSS sound support
2049 --without-png do not use PNG
2050 --without-pthread do not use the pthread library
2051 --without-sane do not use SANE (scanner support)
2052 --without-tiff do not use TIFF
2053 --without-v4l do not use v4l1 (v4l support)
2054 --without-xcomposite do not use the Xcomposite extension
2055 --without-xcursor do not use the Xcursor extension
2056 --without-xinerama do not use Xinerama (multi-monitor support)
2057 --without-xinput do not use the Xinput extension
2058 --without-xinput2 do not use the Xinput 2 extension
2059 --without-xml do not use XML
2060 --without-xrandr do not use Xrandr (resolution changes)
2061 --without-xrender do not use the Xrender extension
2062 --without-xshape do not use the Xshape extension
2063 --without-xshm do not use XShm (shared memory extension)
2064 --without-xslt do not use XSLT
2065 --without-xxf86vm do not use XFree video mode extension
2066 --without-zlib do not use Zlib (data compression)
2067 --with-wine-tools=DIR use Wine tools from directory DIR
2068 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2069 --with-x use the X Window System
2071 Some influential environment variables:
2072 CC C compiler command
2073 CFLAGS C compiler flags
2074 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2075 nonstandard directory <lib dir>
2076 LIBS libraries to pass to the linker, e.g. -l<library>
2077 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2078 you have headers in a nonstandard directory <include dir>
2079 CXX C++ compiler command
2080 CXXFLAGS C++ compiler flags
2081 CPP C preprocessor
2082 XMKMF Path to xmkmf, Makefile generator for X Window System
2083 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2084 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2085 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2086 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2087 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2088 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2089 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2090 HAL_LIBS Linker flags for hal, overriding pkg-config
2091 GNUTLS_CFLAGS
2092 C compiler flags for gnutls, overriding pkg-config
2093 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2094 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2095 SANE_LIBS Linker flags for libsane, overriding pkg-config
2096 GPHOTO2_CFLAGS
2097 C compiler flags for libgphoto2, overriding pkg-config
2098 GPHOTO2_LIBS
2099 Linker flags for libgphoto2, overriding pkg-config
2100 GPHOTO2_PORT_CFLAGS
2101 C compiler flags for libgphoto2_port, overriding pkg-config
2102 GPHOTO2_PORT_LIBS
2103 Linker flags for libgphoto2_port, overriding pkg-config
2104 LCMS2_CFLAGS
2105 C compiler flags for lcms2, overriding pkg-config
2106 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2107 FREETYPE_CFLAGS
2108 C compiler flags for freetype2, overriding pkg-config
2109 FREETYPE_LIBS
2110 Linker flags for freetype2, overriding pkg-config
2111 GSTREAMER_CFLAGS
2112 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2113 GSTREAMER_LIBS
2114 Linker flags for gstreamer-app-0.10, overriding pkg-config
2115 CAPI20_CFLAGS
2116 C compiler flags for capi20, overriding pkg-config
2117 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2118 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2119 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2120 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2121 PNG_LIBS Linker flags for libpng, overriding pkg-config
2122 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2123 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2124 MPG123_CFLAGS
2125 C compiler flags for libmpg123, overriding pkg-config
2126 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2128 Use these variables to override the choices made by `configure' or to help
2129 it to find libraries and programs with nonstandard names/locations.
2131 Report bugs to <wine-devel@winehq.org>.
2132 Wine home page: <http://www.winehq.org>.
2133 _ACEOF
2134 ac_status=$?
2137 if test "$ac_init_help" = "recursive"; then
2138 # If there are subdirs, report their specific --help.
2139 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2140 test -d "$ac_dir" ||
2141 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2142 continue
2143 ac_builddir=.
2145 case "$ac_dir" in
2146 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2148 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2149 # A ".." for each directory in $ac_dir_suffix.
2150 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2151 case $ac_top_builddir_sub in
2152 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2153 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2154 esac ;;
2155 esac
2156 ac_abs_top_builddir=$ac_pwd
2157 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2158 # for backward compatibility:
2159 ac_top_builddir=$ac_top_build_prefix
2161 case $srcdir in
2162 .) # We are building in place.
2163 ac_srcdir=.
2164 ac_top_srcdir=$ac_top_builddir_sub
2165 ac_abs_top_srcdir=$ac_pwd ;;
2166 [\\/]* | ?:[\\/]* ) # Absolute name.
2167 ac_srcdir=$srcdir$ac_dir_suffix;
2168 ac_top_srcdir=$srcdir
2169 ac_abs_top_srcdir=$srcdir ;;
2170 *) # Relative name.
2171 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2172 ac_top_srcdir=$ac_top_build_prefix$srcdir
2173 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2174 esac
2175 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2177 cd "$ac_dir" || { ac_status=$?; continue; }
2178 # Check for guested configure.
2179 if test -f "$ac_srcdir/configure.gnu"; then
2180 echo &&
2181 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2182 elif test -f "$ac_srcdir/configure"; then
2183 echo &&
2184 $SHELL "$ac_srcdir/configure" --help=recursive
2185 else
2186 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2187 fi || ac_status=$?
2188 cd "$ac_pwd" || { ac_status=$?; break; }
2189 done
2192 test -n "$ac_init_help" && exit $ac_status
2193 if $ac_init_version; then
2194 cat <<\_ACEOF
2195 Wine configure 1.7.9
2196 generated by GNU Autoconf 2.69
2198 Copyright (C) 2012 Free Software Foundation, Inc.
2199 This configure script is free software; the Free Software Foundation
2200 gives unlimited permission to copy, distribute and modify it.
2201 _ACEOF
2202 exit
2205 ## ------------------------ ##
2206 ## Autoconf initialization. ##
2207 ## ------------------------ ##
2209 # ac_fn_c_try_compile LINENO
2210 # --------------------------
2211 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2212 ac_fn_c_try_compile ()
2214 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2215 rm -f conftest.$ac_objext
2216 if { { ac_try="$ac_compile"
2217 case "(($ac_try" in
2218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2219 *) ac_try_echo=$ac_try;;
2220 esac
2221 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2222 $as_echo "$ac_try_echo"; } >&5
2223 (eval "$ac_compile") 2>conftest.err
2224 ac_status=$?
2225 if test -s conftest.err; then
2226 grep -v '^ *+' conftest.err >conftest.er1
2227 cat conftest.er1 >&5
2228 mv -f conftest.er1 conftest.err
2230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2231 test $ac_status = 0; } && {
2232 test -z "$ac_c_werror_flag" ||
2233 test ! -s conftest.err
2234 } && test -s conftest.$ac_objext; then :
2235 ac_retval=0
2236 else
2237 $as_echo "$as_me: failed program was:" >&5
2238 sed 's/^/| /' conftest.$ac_ext >&5
2240 ac_retval=1
2242 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2243 as_fn_set_status $ac_retval
2245 } # ac_fn_c_try_compile
2247 # ac_fn_cxx_try_compile LINENO
2248 # ----------------------------
2249 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2250 ac_fn_cxx_try_compile ()
2252 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2253 rm -f conftest.$ac_objext
2254 if { { ac_try="$ac_compile"
2255 case "(($ac_try" in
2256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2257 *) ac_try_echo=$ac_try;;
2258 esac
2259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2260 $as_echo "$ac_try_echo"; } >&5
2261 (eval "$ac_compile") 2>conftest.err
2262 ac_status=$?
2263 if test -s conftest.err; then
2264 grep -v '^ *+' conftest.err >conftest.er1
2265 cat conftest.er1 >&5
2266 mv -f conftest.er1 conftest.err
2268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2269 test $ac_status = 0; } && {
2270 test -z "$ac_cxx_werror_flag" ||
2271 test ! -s conftest.err
2272 } && test -s conftest.$ac_objext; then :
2273 ac_retval=0
2274 else
2275 $as_echo "$as_me: failed program was:" >&5
2276 sed 's/^/| /' conftest.$ac_ext >&5
2278 ac_retval=1
2280 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2281 as_fn_set_status $ac_retval
2283 } # ac_fn_cxx_try_compile
2285 # ac_fn_c_try_link LINENO
2286 # -----------------------
2287 # Try to link conftest.$ac_ext, and return whether this succeeded.
2288 ac_fn_c_try_link ()
2290 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2291 rm -f conftest.$ac_objext conftest$ac_exeext
2292 if { { ac_try="$ac_link"
2293 case "(($ac_try" in
2294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2295 *) ac_try_echo=$ac_try;;
2296 esac
2297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2298 $as_echo "$ac_try_echo"; } >&5
2299 (eval "$ac_link") 2>conftest.err
2300 ac_status=$?
2301 if test -s conftest.err; then
2302 grep -v '^ *+' conftest.err >conftest.er1
2303 cat conftest.er1 >&5
2304 mv -f conftest.er1 conftest.err
2306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2307 test $ac_status = 0; } && {
2308 test -z "$ac_c_werror_flag" ||
2309 test ! -s conftest.err
2310 } && test -s conftest$ac_exeext && {
2311 test "$cross_compiling" = yes ||
2312 test -x conftest$ac_exeext
2313 }; then :
2314 ac_retval=0
2315 else
2316 $as_echo "$as_me: failed program was:" >&5
2317 sed 's/^/| /' conftest.$ac_ext >&5
2319 ac_retval=1
2321 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2322 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2323 # interfere with the next link command; also delete a directory that is
2324 # left behind by Apple's compiler. We do this before executing the actions.
2325 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2326 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2327 as_fn_set_status $ac_retval
2329 } # ac_fn_c_try_link
2331 # ac_fn_c_try_cpp LINENO
2332 # ----------------------
2333 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2334 ac_fn_c_try_cpp ()
2336 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2337 if { { ac_try="$ac_cpp conftest.$ac_ext"
2338 case "(($ac_try" in
2339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2340 *) ac_try_echo=$ac_try;;
2341 esac
2342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2343 $as_echo "$ac_try_echo"; } >&5
2344 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2345 ac_status=$?
2346 if test -s conftest.err; then
2347 grep -v '^ *+' conftest.err >conftest.er1
2348 cat conftest.er1 >&5
2349 mv -f conftest.er1 conftest.err
2351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2352 test $ac_status = 0; } > conftest.i && {
2353 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2354 test ! -s conftest.err
2355 }; then :
2356 ac_retval=0
2357 else
2358 $as_echo "$as_me: failed program was:" >&5
2359 sed 's/^/| /' conftest.$ac_ext >&5
2361 ac_retval=1
2363 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2364 as_fn_set_status $ac_retval
2366 } # ac_fn_c_try_cpp
2368 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2369 # -------------------------------------------------------
2370 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2371 # the include files in INCLUDES and setting the cache variable VAR
2372 # accordingly.
2373 ac_fn_c_check_header_mongrel ()
2375 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2376 if eval \${$3+:} false; then :
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2378 $as_echo_n "checking for $2... " >&6; }
2379 if eval \${$3+:} false; then :
2380 $as_echo_n "(cached) " >&6
2382 eval ac_res=\$$3
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2384 $as_echo "$ac_res" >&6; }
2385 else
2386 # Is the header compilable?
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2388 $as_echo_n "checking $2 usability... " >&6; }
2389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2390 /* end confdefs.h. */
2392 #include <$2>
2393 _ACEOF
2394 if ac_fn_c_try_compile "$LINENO"; then :
2395 ac_header_compiler=yes
2396 else
2397 ac_header_compiler=no
2399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2401 $as_echo "$ac_header_compiler" >&6; }
2403 # Is the header present?
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2405 $as_echo_n "checking $2 presence... " >&6; }
2406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2407 /* end confdefs.h. */
2408 #include <$2>
2409 _ACEOF
2410 if ac_fn_c_try_cpp "$LINENO"; then :
2411 ac_header_preproc=yes
2412 else
2413 ac_header_preproc=no
2415 rm -f conftest.err conftest.i conftest.$ac_ext
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2417 $as_echo "$ac_header_preproc" >&6; }
2419 # So? What about this header?
2420 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2421 yes:no: )
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2423 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2425 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2427 no:yes:* )
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2429 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2431 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2433 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2435 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2437 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2438 ( $as_echo "## ------------------------------------ ##
2439 ## Report this to wine-devel@winehq.org ##
2440 ## ------------------------------------ ##"
2441 ) | sed "s/^/$as_me: WARNING: /" >&2
2443 esac
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2445 $as_echo_n "checking for $2... " >&6; }
2446 if eval \${$3+:} false; then :
2447 $as_echo_n "(cached) " >&6
2448 else
2449 eval "$3=\$ac_header_compiler"
2451 eval ac_res=\$$3
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2453 $as_echo "$ac_res" >&6; }
2455 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2457 } # ac_fn_c_check_header_mongrel
2459 # ac_fn_c_try_run LINENO
2460 # ----------------------
2461 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2462 # that executables *can* be run.
2463 ac_fn_c_try_run ()
2465 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2466 if { { ac_try="$ac_link"
2467 case "(($ac_try" in
2468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2469 *) ac_try_echo=$ac_try;;
2470 esac
2471 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2472 $as_echo "$ac_try_echo"; } >&5
2473 (eval "$ac_link") 2>&5
2474 ac_status=$?
2475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2476 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2477 { { case "(($ac_try" in
2478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2479 *) ac_try_echo=$ac_try;;
2480 esac
2481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2482 $as_echo "$ac_try_echo"; } >&5
2483 (eval "$ac_try") 2>&5
2484 ac_status=$?
2485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2486 test $ac_status = 0; }; }; then :
2487 ac_retval=0
2488 else
2489 $as_echo "$as_me: program exited with status $ac_status" >&5
2490 $as_echo "$as_me: failed program was:" >&5
2491 sed 's/^/| /' conftest.$ac_ext >&5
2493 ac_retval=$ac_status
2495 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2496 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2497 as_fn_set_status $ac_retval
2499 } # ac_fn_c_try_run
2501 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2502 # -------------------------------------------------------
2503 # Tests whether HEADER exists and can be compiled using the include files in
2504 # INCLUDES, setting the cache variable VAR accordingly.
2505 ac_fn_c_check_header_compile ()
2507 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2509 $as_echo_n "checking for $2... " >&6; }
2510 if eval \${$3+:} false; then :
2511 $as_echo_n "(cached) " >&6
2512 else
2513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2514 /* end confdefs.h. */
2516 #include <$2>
2517 _ACEOF
2518 if ac_fn_c_try_compile "$LINENO"; then :
2519 eval "$3=yes"
2520 else
2521 eval "$3=no"
2523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2525 eval ac_res=\$$3
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2527 $as_echo "$ac_res" >&6; }
2528 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2530 } # ac_fn_c_check_header_compile
2532 # ac_fn_c_check_func LINENO FUNC VAR
2533 # ----------------------------------
2534 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2535 ac_fn_c_check_func ()
2537 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2539 $as_echo_n "checking for $2... " >&6; }
2540 if eval \${$3+:} false; then :
2541 $as_echo_n "(cached) " >&6
2542 else
2543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2544 /* end confdefs.h. */
2545 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2547 #define $2 innocuous_$2
2549 /* System header to define __stub macros and hopefully few prototypes,
2550 which can conflict with char $2 (); below.
2551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2552 <limits.h> exists even on freestanding compilers. */
2554 #ifdef __STDC__
2555 # include <limits.h>
2556 #else
2557 # include <assert.h>
2558 #endif
2560 #undef $2
2562 /* Override any GCC internal prototype to avoid an error.
2563 Use char because int might match the return type of a GCC
2564 builtin and then its argument prototype would still apply. */
2565 #ifdef __cplusplus
2566 extern "C"
2567 #endif
2568 char $2 ();
2569 /* The GNU C library defines this for functions which it implements
2570 to always fail with ENOSYS. Some functions are actually named
2571 something starting with __ and the normal name is an alias. */
2572 #if defined __stub_$2 || defined __stub___$2
2573 choke me
2574 #endif
2577 main ()
2579 return $2 ();
2581 return 0;
2583 _ACEOF
2584 if ac_fn_c_try_link "$LINENO"; then :
2585 eval "$3=yes"
2586 else
2587 eval "$3=no"
2589 rm -f core conftest.err conftest.$ac_objext \
2590 conftest$ac_exeext conftest.$ac_ext
2592 eval ac_res=\$$3
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2594 $as_echo "$ac_res" >&6; }
2595 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2597 } # ac_fn_c_check_func
2599 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2600 # ----------------------------------------------------
2601 # Tries to find if the field MEMBER exists in type AGGR, after including
2602 # INCLUDES, setting cache variable VAR accordingly.
2603 ac_fn_c_check_member ()
2605 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2607 $as_echo_n "checking for $2.$3... " >&6; }
2608 if eval \${$4+:} false; then :
2609 $as_echo_n "(cached) " >&6
2610 else
2611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2612 /* end confdefs.h. */
2615 main ()
2617 static $2 ac_aggr;
2618 if (ac_aggr.$3)
2619 return 0;
2621 return 0;
2623 _ACEOF
2624 if ac_fn_c_try_compile "$LINENO"; then :
2625 eval "$4=yes"
2626 else
2627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2628 /* end confdefs.h. */
2631 main ()
2633 static $2 ac_aggr;
2634 if (sizeof ac_aggr.$3)
2635 return 0;
2637 return 0;
2639 _ACEOF
2640 if ac_fn_c_try_compile "$LINENO"; then :
2641 eval "$4=yes"
2642 else
2643 eval "$4=no"
2645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2649 eval ac_res=\$$4
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2651 $as_echo "$ac_res" >&6; }
2652 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2654 } # ac_fn_c_check_member
2656 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2657 # -------------------------------------------
2658 # Tests whether TYPE exists after having included INCLUDES, setting cache
2659 # variable VAR accordingly.
2660 ac_fn_c_check_type ()
2662 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2664 $as_echo_n "checking for $2... " >&6; }
2665 if eval \${$3+:} false; then :
2666 $as_echo_n "(cached) " >&6
2667 else
2668 eval "$3=no"
2669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2670 /* end confdefs.h. */
2673 main ()
2675 if (sizeof ($2))
2676 return 0;
2678 return 0;
2680 _ACEOF
2681 if ac_fn_c_try_compile "$LINENO"; then :
2682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2683 /* end confdefs.h. */
2686 main ()
2688 if (sizeof (($2)))
2689 return 0;
2691 return 0;
2693 _ACEOF
2694 if ac_fn_c_try_compile "$LINENO"; then :
2696 else
2697 eval "$3=yes"
2699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2703 eval ac_res=\$$3
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2705 $as_echo "$ac_res" >&6; }
2706 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2708 } # ac_fn_c_check_type
2709 cat >config.log <<_ACEOF
2710 This file contains any messages produced by compilers while
2711 running configure, to aid debugging if configure makes a mistake.
2713 It was created by Wine $as_me 1.7.9, which was
2714 generated by GNU Autoconf 2.69. Invocation command line was
2716 $ $0 $@
2718 _ACEOF
2719 exec 5>>config.log
2721 cat <<_ASUNAME
2722 ## --------- ##
2723 ## Platform. ##
2724 ## --------- ##
2726 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2727 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2728 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2729 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2730 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2732 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2733 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2735 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2736 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2737 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2738 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2739 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2740 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2741 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2743 _ASUNAME
2745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2746 for as_dir in $PATH
2748 IFS=$as_save_IFS
2749 test -z "$as_dir" && as_dir=.
2750 $as_echo "PATH: $as_dir"
2751 done
2752 IFS=$as_save_IFS
2754 } >&5
2756 cat >&5 <<_ACEOF
2759 ## ----------- ##
2760 ## Core tests. ##
2761 ## ----------- ##
2763 _ACEOF
2766 # Keep a trace of the command line.
2767 # Strip out --no-create and --no-recursion so they do not pile up.
2768 # Strip out --silent because we don't want to record it for future runs.
2769 # Also quote any args containing shell meta-characters.
2770 # Make two passes to allow for proper duplicate-argument suppression.
2771 ac_configure_args=
2772 ac_configure_args0=
2773 ac_configure_args1=
2774 ac_must_keep_next=false
2775 for ac_pass in 1 2
2777 for ac_arg
2779 case $ac_arg in
2780 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2781 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2782 | -silent | --silent | --silen | --sile | --sil)
2783 continue ;;
2784 *\'*)
2785 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2786 esac
2787 case $ac_pass in
2788 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2790 as_fn_append ac_configure_args1 " '$ac_arg'"
2791 if test $ac_must_keep_next = true; then
2792 ac_must_keep_next=false # Got value, back to normal.
2793 else
2794 case $ac_arg in
2795 *=* | --config-cache | -C | -disable-* | --disable-* \
2796 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2797 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2798 | -with-* | --with-* | -without-* | --without-* | --x)
2799 case "$ac_configure_args0 " in
2800 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2801 esac
2803 -* ) ac_must_keep_next=true ;;
2804 esac
2806 as_fn_append ac_configure_args " '$ac_arg'"
2808 esac
2809 done
2810 done
2811 { ac_configure_args0=; unset ac_configure_args0;}
2812 { ac_configure_args1=; unset ac_configure_args1;}
2814 # When interrupted or exit'd, cleanup temporary files, and complete
2815 # config.log. We remove comments because anyway the quotes in there
2816 # would cause problems or look ugly.
2817 # WARNING: Use '\'' to represent an apostrophe within the trap.
2818 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2819 trap 'exit_status=$?
2820 # Save into config.log some information that might help in debugging.
2822 echo
2824 $as_echo "## ---------------- ##
2825 ## Cache variables. ##
2826 ## ---------------- ##"
2827 echo
2828 # The following way of writing the cache mishandles newlines in values,
2830 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2831 eval ac_val=\$$ac_var
2832 case $ac_val in #(
2833 *${as_nl}*)
2834 case $ac_var in #(
2835 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2836 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2837 esac
2838 case $ac_var in #(
2839 _ | IFS | as_nl) ;; #(
2840 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2841 *) { eval $ac_var=; unset $ac_var;} ;;
2842 esac ;;
2843 esac
2844 done
2845 (set) 2>&1 |
2846 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2847 *${as_nl}ac_space=\ *)
2848 sed -n \
2849 "s/'\''/'\''\\\\'\'''\''/g;
2850 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2851 ;; #(
2853 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2855 esac |
2856 sort
2858 echo
2860 $as_echo "## ----------------- ##
2861 ## Output variables. ##
2862 ## ----------------- ##"
2863 echo
2864 for ac_var in $ac_subst_vars
2866 eval ac_val=\$$ac_var
2867 case $ac_val in
2868 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2869 esac
2870 $as_echo "$ac_var='\''$ac_val'\''"
2871 done | sort
2872 echo
2874 if test -n "$ac_subst_files"; then
2875 $as_echo "## ------------------- ##
2876 ## File substitutions. ##
2877 ## ------------------- ##"
2878 echo
2879 for ac_var in $ac_subst_files
2881 eval ac_val=\$$ac_var
2882 case $ac_val in
2883 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2884 esac
2885 $as_echo "$ac_var='\''$ac_val'\''"
2886 done | sort
2887 echo
2890 if test -s confdefs.h; then
2891 $as_echo "## ----------- ##
2892 ## confdefs.h. ##
2893 ## ----------- ##"
2894 echo
2895 cat confdefs.h
2896 echo
2898 test "$ac_signal" != 0 &&
2899 $as_echo "$as_me: caught signal $ac_signal"
2900 $as_echo "$as_me: exit $exit_status"
2901 } >&5
2902 rm -f core *.core core.conftest.* &&
2903 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2904 exit $exit_status
2906 for ac_signal in 1 2 13 15; do
2907 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2908 done
2909 ac_signal=0
2911 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2912 rm -f -r conftest* confdefs.h
2914 $as_echo "/* confdefs.h */" > confdefs.h
2916 # Predefined preprocessor variables.
2918 cat >>confdefs.h <<_ACEOF
2919 #define PACKAGE_NAME "$PACKAGE_NAME"
2920 _ACEOF
2922 cat >>confdefs.h <<_ACEOF
2923 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2924 _ACEOF
2926 cat >>confdefs.h <<_ACEOF
2927 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2928 _ACEOF
2930 cat >>confdefs.h <<_ACEOF
2931 #define PACKAGE_STRING "$PACKAGE_STRING"
2932 _ACEOF
2934 cat >>confdefs.h <<_ACEOF
2935 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2936 _ACEOF
2938 cat >>confdefs.h <<_ACEOF
2939 #define PACKAGE_URL "$PACKAGE_URL"
2940 _ACEOF
2943 # Let the site file select an alternate cache file if it wants to.
2944 # Prefer an explicitly selected file to automatically selected ones.
2945 ac_site_file1=NONE
2946 ac_site_file2=NONE
2947 if test -n "$CONFIG_SITE"; then
2948 # We do not want a PATH search for config.site.
2949 case $CONFIG_SITE in #((
2950 -*) ac_site_file1=./$CONFIG_SITE;;
2951 */*) ac_site_file1=$CONFIG_SITE;;
2952 *) ac_site_file1=./$CONFIG_SITE;;
2953 esac
2954 elif test "x$prefix" != xNONE; then
2955 ac_site_file1=$prefix/share/config.site
2956 ac_site_file2=$prefix/etc/config.site
2957 else
2958 ac_site_file1=$ac_default_prefix/share/config.site
2959 ac_site_file2=$ac_default_prefix/etc/config.site
2961 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2963 test "x$ac_site_file" = xNONE && continue
2964 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2966 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2967 sed 's/^/| /' "$ac_site_file" >&5
2968 . "$ac_site_file" \
2969 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2971 as_fn_error $? "failed to load site script $ac_site_file
2972 See \`config.log' for more details" "$LINENO" 5; }
2974 done
2976 if test -r "$cache_file"; then
2977 # Some versions of bash will fail to source /dev/null (special files
2978 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2979 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2981 $as_echo "$as_me: loading cache $cache_file" >&6;}
2982 case $cache_file in
2983 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2984 *) . "./$cache_file";;
2985 esac
2987 else
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2989 $as_echo "$as_me: creating cache $cache_file" >&6;}
2990 >$cache_file
2993 # Check that the precious variables saved in the cache have kept the same
2994 # value.
2995 ac_cache_corrupted=false
2996 for ac_var in $ac_precious_vars; do
2997 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2998 eval ac_new_set=\$ac_env_${ac_var}_set
2999 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3000 eval ac_new_val=\$ac_env_${ac_var}_value
3001 case $ac_old_set,$ac_new_set in
3002 set,)
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3004 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3005 ac_cache_corrupted=: ;;
3006 ,set)
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3008 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3009 ac_cache_corrupted=: ;;
3010 ,);;
3012 if test "x$ac_old_val" != "x$ac_new_val"; then
3013 # differences in whitespace do not lead to failure.
3014 ac_old_val_w=`echo x $ac_old_val`
3015 ac_new_val_w=`echo x $ac_new_val`
3016 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3018 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3019 ac_cache_corrupted=:
3020 else
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3022 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3023 eval $ac_var=\$ac_old_val
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3026 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3028 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3029 fi;;
3030 esac
3031 # Pass precious variables to config.status.
3032 if test "$ac_new_set" = set; then
3033 case $ac_new_val in
3034 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3035 *) ac_arg=$ac_var=$ac_new_val ;;
3036 esac
3037 case " $ac_configure_args " in
3038 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3039 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3040 esac
3042 done
3043 if $ac_cache_corrupted; then
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3047 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3048 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3050 ## -------------------- ##
3051 ## Main body of script. ##
3052 ## -------------------- ##
3054 ac_ext=c
3055 ac_cpp='$CPP $CPPFLAGS'
3056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3062 ac_config_headers="$ac_config_headers include/config.h"
3064 ac_aux_dir=
3065 for ac_dir in tools "$srcdir"/tools; do
3066 if test -f "$ac_dir/install-sh"; then
3067 ac_aux_dir=$ac_dir
3068 ac_install_sh="$ac_aux_dir/install-sh -c"
3069 break
3070 elif test -f "$ac_dir/install.sh"; then
3071 ac_aux_dir=$ac_dir
3072 ac_install_sh="$ac_aux_dir/install.sh -c"
3073 break
3074 elif test -f "$ac_dir/shtool"; then
3075 ac_aux_dir=$ac_dir
3076 ac_install_sh="$ac_aux_dir/shtool install -c"
3077 break
3079 done
3080 if test -z "$ac_aux_dir"; then
3081 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3084 # These three variables are undocumented and unsupported,
3085 # and are intended to be withdrawn in a future Autoconf release.
3086 # They can cause serious problems if a builder's source tree is in a directory
3087 # whose full name contains unusual characters.
3088 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3089 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3090 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3096 # Check whether --enable-win16 was given.
3097 if test "${enable_win16+set}" = set; then :
3098 enableval=$enable_win16;
3101 # Check whether --enable-win64 was given.
3102 if test "${enable_win64+set}" = set; then :
3103 enableval=$enable_win64;
3106 # Check whether --enable-tests was given.
3107 if test "${enable_tests+set}" = set; then :
3108 enableval=$enable_tests;
3111 # Check whether --enable-maintainer-mode was given.
3112 if test "${enable_maintainer_mode+set}" = set; then :
3113 enableval=$enable_maintainer_mode;
3118 # Check whether --with-alsa was given.
3119 if test "${with_alsa+set}" = set; then :
3120 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3124 # Check whether --with-capi was given.
3125 if test "${with_capi+set}" = set; then :
3126 withval=$with_capi;
3130 # Check whether --with-cms was given.
3131 if test "${with_cms+set}" = set; then :
3132 withval=$with_cms;
3136 # Check whether --with-coreaudio was given.
3137 if test "${with_coreaudio+set}" = set; then :
3138 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3142 # Check whether --with-cups was given.
3143 if test "${with_cups+set}" = set; then :
3144 withval=$with_cups;
3148 # Check whether --with-curses was given.
3149 if test "${with_curses+set}" = set; then :
3150 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3154 # Check whether --with-dbus was given.
3155 if test "${with_dbus+set}" = set; then :
3156 withval=$with_dbus;
3160 # Check whether --with-fontconfig was given.
3161 if test "${with_fontconfig+set}" = set; then :
3162 withval=$with_fontconfig;
3166 # Check whether --with-freetype was given.
3167 if test "${with_freetype+set}" = set; then :
3168 withval=$with_freetype;
3172 # Check whether --with-gettext was given.
3173 if test "${with_gettext+set}" = set; then :
3174 withval=$with_gettext;
3178 # Check whether --with-gettextpo was given.
3179 if test "${with_gettextpo+set}" = set; then :
3180 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3184 # Check whether --with-gphoto was given.
3185 if test "${with_gphoto+set}" = set; then :
3186 withval=$with_gphoto;
3190 # Check whether --with-glu was given.
3191 if test "${with_glu+set}" = set; then :
3192 withval=$with_glu;
3196 # Check whether --with-gnutls was given.
3197 if test "${with_gnutls+set}" = set; then :
3198 withval=$with_gnutls;
3202 # Check whether --with-gsm was given.
3203 if test "${with_gsm+set}" = set; then :
3204 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3208 # Check whether --with-gstreamer was given.
3209 if test "${with_gstreamer+set}" = set; then :
3210 withval=$with_gstreamer;
3214 # Check whether --with-hal was given.
3215 if test "${with_hal+set}" = set; then :
3216 withval=$with_hal;
3220 # Check whether --with-jpeg was given.
3221 if test "${with_jpeg+set}" = set; then :
3222 withval=$with_jpeg;
3226 # Check whether --with-ldap was given.
3227 if test "${with_ldap+set}" = set; then :
3228 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3232 # Check whether --with-mpg123 was given.
3233 if test "${with_mpg123+set}" = set; then :
3234 withval=$with_mpg123;
3238 # Check whether --with-netapi was given.
3239 if test "${with_netapi+set}" = set; then :
3240 withval=$with_netapi;
3244 # Check whether --with-openal was given.
3245 if test "${with_openal+set}" = set; then :
3246 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3250 # Check whether --with-opencl was given.
3251 if test "${with_opencl+set}" = set; then :
3252 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3256 # Check whether --with-opengl was given.
3257 if test "${with_opengl+set}" = set; then :
3258 withval=$with_opengl;
3262 # Check whether --with-osmesa was given.
3263 if test "${with_osmesa+set}" = set; then :
3264 withval=$with_osmesa;
3268 # Check whether --with-oss was given.
3269 if test "${with_oss+set}" = set; then :
3270 withval=$with_oss;
3274 # Check whether --with-png was given.
3275 if test "${with_png+set}" = set; then :
3276 withval=$with_png;
3280 # Check whether --with-pthread was given.
3281 if test "${with_pthread+set}" = set; then :
3282 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3286 # Check whether --with-sane was given.
3287 if test "${with_sane+set}" = set; then :
3288 withval=$with_sane;
3292 # Check whether --with-tiff was given.
3293 if test "${with_tiff+set}" = set; then :
3294 withval=$with_tiff;
3298 # Check whether --with-v4l was given.
3299 if test "${with_v4l+set}" = set; then :
3300 withval=$with_v4l;
3304 # Check whether --with-xcomposite was given.
3305 if test "${with_xcomposite+set}" = set; then :
3306 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3310 # Check whether --with-xcursor was given.
3311 if test "${with_xcursor+set}" = set; then :
3312 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3316 # Check whether --with-xinerama was given.
3317 if test "${with_xinerama+set}" = set; then :
3318 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3322 # Check whether --with-xinput was given.
3323 if test "${with_xinput+set}" = set; then :
3324 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3328 # Check whether --with-xinput2 was given.
3329 if test "${with_xinput2+set}" = set; then :
3330 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3334 # Check whether --with-xml was given.
3335 if test "${with_xml+set}" = set; then :
3336 withval=$with_xml;
3340 # Check whether --with-xrandr was given.
3341 if test "${with_xrandr+set}" = set; then :
3342 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3346 # Check whether --with-xrender was given.
3347 if test "${with_xrender+set}" = set; then :
3348 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3352 # Check whether --with-xshape was given.
3353 if test "${with_xshape+set}" = set; then :
3354 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3358 # Check whether --with-xshm was given.
3359 if test "${with_xshm+set}" = set; then :
3360 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3364 # Check whether --with-xslt was given.
3365 if test "${with_xslt+set}" = set; then :
3366 withval=$with_xslt;
3370 # Check whether --with-xxf86vm was given.
3371 if test "${with_xxf86vm+set}" = set; then :
3372 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
3376 # Check whether --with-zlib was given.
3377 if test "${with_zlib+set}" = set; then :
3378 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3383 # Check whether --with-wine-tools was given.
3384 if test "${with_wine_tools+set}" = set; then :
3385 withval=$with_wine_tools;
3389 # Check whether --with-wine64 was given.
3390 if test "${with_wine64+set}" = set; then :
3391 withval=$with_wine64;
3395 # Make sure we can run config.sub.
3396 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3397 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3400 $as_echo_n "checking build system type... " >&6; }
3401 if ${ac_cv_build+:} false; then :
3402 $as_echo_n "(cached) " >&6
3403 else
3404 ac_build_alias=$build_alias
3405 test "x$ac_build_alias" = x &&
3406 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3407 test "x$ac_build_alias" = x &&
3408 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3409 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3410 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3414 $as_echo "$ac_cv_build" >&6; }
3415 case $ac_cv_build in
3416 *-*-*) ;;
3417 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3418 esac
3419 build=$ac_cv_build
3420 ac_save_IFS=$IFS; IFS='-'
3421 set x $ac_cv_build
3422 shift
3423 build_cpu=$1
3424 build_vendor=$2
3425 shift; shift
3426 # Remember, the first character of IFS is used to create $*,
3427 # except with old shells:
3428 build_os=$*
3429 IFS=$ac_save_IFS
3430 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3434 $as_echo_n "checking host system type... " >&6; }
3435 if ${ac_cv_host+:} false; then :
3436 $as_echo_n "(cached) " >&6
3437 else
3438 if test "x$host_alias" = x; then
3439 ac_cv_host=$ac_cv_build
3440 else
3441 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3442 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3447 $as_echo "$ac_cv_host" >&6; }
3448 case $ac_cv_host in
3449 *-*-*) ;;
3450 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3451 esac
3452 host=$ac_cv_host
3453 ac_save_IFS=$IFS; IFS='-'
3454 set x $ac_cv_host
3455 shift
3456 host_cpu=$1
3457 host_vendor=$2
3458 shift; shift
3459 # Remember, the first character of IFS is used to create $*,
3460 # except with old shells:
3461 host_os=$*
3462 IFS=$ac_save_IFS
3463 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3467 case "$srcdir" in
3468 .) ;;
3469 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3470 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3471 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3472 fi ;;
3473 esac
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3477 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3478 set x ${MAKE-make}
3479 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3480 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3481 $as_echo_n "(cached) " >&6
3482 else
3483 cat >conftest.make <<\_ACEOF
3484 SHELL = /bin/sh
3485 all:
3486 @echo '@@@%%%=$(MAKE)=@@@%%%'
3487 _ACEOF
3488 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3489 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3490 *@@@%%%=?*=@@@%%%*)
3491 eval ac_cv_prog_make_${ac_make}_set=yes;;
3493 eval ac_cv_prog_make_${ac_make}_set=no;;
3494 esac
3495 rm -f conftest.make
3497 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3499 $as_echo "yes" >&6; }
3500 SET_MAKE=
3501 else
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3503 $as_echo "no" >&6; }
3504 SET_MAKE="MAKE=${MAKE-make}"
3507 ac_ext=c
3508 ac_cpp='$CPP $CPPFLAGS'
3509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3512 if test -n "$ac_tool_prefix"; then
3513 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3514 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3516 $as_echo_n "checking for $ac_word... " >&6; }
3517 if ${ac_cv_prog_CC+:} false; then :
3518 $as_echo_n "(cached) " >&6
3519 else
3520 if test -n "$CC"; then
3521 ac_cv_prog_CC="$CC" # Let the user override the test.
3522 else
3523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3524 for as_dir in $PATH
3526 IFS=$as_save_IFS
3527 test -z "$as_dir" && as_dir=.
3528 for ac_exec_ext in '' $ac_executable_extensions; do
3529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3530 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3532 break 2
3534 done
3535 done
3536 IFS=$as_save_IFS
3540 CC=$ac_cv_prog_CC
3541 if test -n "$CC"; then
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3543 $as_echo "$CC" >&6; }
3544 else
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3546 $as_echo "no" >&6; }
3551 if test -z "$ac_cv_prog_CC"; then
3552 ac_ct_CC=$CC
3553 # Extract the first word of "gcc", so it can be a program name with args.
3554 set dummy gcc; ac_word=$2
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3556 $as_echo_n "checking for $ac_word... " >&6; }
3557 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3558 $as_echo_n "(cached) " >&6
3559 else
3560 if test -n "$ac_ct_CC"; then
3561 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3562 else
3563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3564 for as_dir in $PATH
3566 IFS=$as_save_IFS
3567 test -z "$as_dir" && as_dir=.
3568 for ac_exec_ext in '' $ac_executable_extensions; do
3569 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3570 ac_cv_prog_ac_ct_CC="gcc"
3571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3572 break 2
3574 done
3575 done
3576 IFS=$as_save_IFS
3580 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3581 if test -n "$ac_ct_CC"; then
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3583 $as_echo "$ac_ct_CC" >&6; }
3584 else
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3586 $as_echo "no" >&6; }
3589 if test "x$ac_ct_CC" = x; then
3590 CC=""
3591 else
3592 case $cross_compiling:$ac_tool_warned in
3593 yes:)
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3596 ac_tool_warned=yes ;;
3597 esac
3598 CC=$ac_ct_CC
3600 else
3601 CC="$ac_cv_prog_CC"
3604 if test -z "$CC"; then
3605 if test -n "$ac_tool_prefix"; then
3606 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3607 set dummy ${ac_tool_prefix}cc; ac_word=$2
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3609 $as_echo_n "checking for $ac_word... " >&6; }
3610 if ${ac_cv_prog_CC+:} false; then :
3611 $as_echo_n "(cached) " >&6
3612 else
3613 if test -n "$CC"; then
3614 ac_cv_prog_CC="$CC" # Let the user override the test.
3615 else
3616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3617 for as_dir in $PATH
3619 IFS=$as_save_IFS
3620 test -z "$as_dir" && as_dir=.
3621 for ac_exec_ext in '' $ac_executable_extensions; do
3622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3623 ac_cv_prog_CC="${ac_tool_prefix}cc"
3624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3625 break 2
3627 done
3628 done
3629 IFS=$as_save_IFS
3633 CC=$ac_cv_prog_CC
3634 if test -n "$CC"; then
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3636 $as_echo "$CC" >&6; }
3637 else
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3639 $as_echo "no" >&6; }
3645 if test -z "$CC"; then
3646 # Extract the first word of "cc", so it can be a program name with args.
3647 set dummy cc; ac_word=$2
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3649 $as_echo_n "checking for $ac_word... " >&6; }
3650 if ${ac_cv_prog_CC+:} false; then :
3651 $as_echo_n "(cached) " >&6
3652 else
3653 if test -n "$CC"; then
3654 ac_cv_prog_CC="$CC" # Let the user override the test.
3655 else
3656 ac_prog_rejected=no
3657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3658 for as_dir in $PATH
3660 IFS=$as_save_IFS
3661 test -z "$as_dir" && as_dir=.
3662 for ac_exec_ext in '' $ac_executable_extensions; do
3663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3664 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3665 ac_prog_rejected=yes
3666 continue
3668 ac_cv_prog_CC="cc"
3669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3670 break 2
3672 done
3673 done
3674 IFS=$as_save_IFS
3676 if test $ac_prog_rejected = yes; then
3677 # We found a bogon in the path, so make sure we never use it.
3678 set dummy $ac_cv_prog_CC
3679 shift
3680 if test $# != 0; then
3681 # We chose a different compiler from the bogus one.
3682 # However, it has the same basename, so the bogon will be chosen
3683 # first if we set CC to just the basename; use the full file name.
3684 shift
3685 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3690 CC=$ac_cv_prog_CC
3691 if test -n "$CC"; then
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3693 $as_echo "$CC" >&6; }
3694 else
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3696 $as_echo "no" >&6; }
3701 if test -z "$CC"; then
3702 if test -n "$ac_tool_prefix"; then
3703 for ac_prog in cl.exe
3705 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3706 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3708 $as_echo_n "checking for $ac_word... " >&6; }
3709 if ${ac_cv_prog_CC+:} false; then :
3710 $as_echo_n "(cached) " >&6
3711 else
3712 if test -n "$CC"; then
3713 ac_cv_prog_CC="$CC" # Let the user override the test.
3714 else
3715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3716 for as_dir in $PATH
3718 IFS=$as_save_IFS
3719 test -z "$as_dir" && as_dir=.
3720 for ac_exec_ext in '' $ac_executable_extensions; do
3721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3722 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3724 break 2
3726 done
3727 done
3728 IFS=$as_save_IFS
3732 CC=$ac_cv_prog_CC
3733 if test -n "$CC"; then
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3735 $as_echo "$CC" >&6; }
3736 else
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3738 $as_echo "no" >&6; }
3742 test -n "$CC" && break
3743 done
3745 if test -z "$CC"; then
3746 ac_ct_CC=$CC
3747 for ac_prog in cl.exe
3749 # Extract the first word of "$ac_prog", so it can be a program name with args.
3750 set dummy $ac_prog; ac_word=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3754 $as_echo_n "(cached) " >&6
3755 else
3756 if test -n "$ac_ct_CC"; then
3757 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3758 else
3759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 for as_dir in $PATH
3762 IFS=$as_save_IFS
3763 test -z "$as_dir" && as_dir=.
3764 for ac_exec_ext in '' $ac_executable_extensions; do
3765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3766 ac_cv_prog_ac_ct_CC="$ac_prog"
3767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768 break 2
3770 done
3771 done
3772 IFS=$as_save_IFS
3776 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3777 if test -n "$ac_ct_CC"; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3779 $as_echo "$ac_ct_CC" >&6; }
3780 else
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3786 test -n "$ac_ct_CC" && break
3787 done
3789 if test "x$ac_ct_CC" = x; then
3790 CC=""
3791 else
3792 case $cross_compiling:$ac_tool_warned in
3793 yes:)
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3796 ac_tool_warned=yes ;;
3797 esac
3798 CC=$ac_ct_CC
3805 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3807 as_fn_error $? "no acceptable C compiler found in \$PATH
3808 See \`config.log' for more details" "$LINENO" 5; }
3810 # Provide some information about the compiler.
3811 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3812 set X $ac_compile
3813 ac_compiler=$2
3814 for ac_option in --version -v -V -qversion; do
3815 { { ac_try="$ac_compiler $ac_option >&5"
3816 case "(($ac_try" in
3817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3818 *) ac_try_echo=$ac_try;;
3819 esac
3820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3821 $as_echo "$ac_try_echo"; } >&5
3822 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3823 ac_status=$?
3824 if test -s conftest.err; then
3825 sed '10a\
3826 ... rest of stderr output deleted ...
3827 10q' conftest.err >conftest.er1
3828 cat conftest.er1 >&5
3830 rm -f conftest.er1 conftest.err
3831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3832 test $ac_status = 0; }
3833 done
3835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3836 /* end confdefs.h. */
3839 main ()
3843 return 0;
3845 _ACEOF
3846 ac_clean_files_save=$ac_clean_files
3847 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3848 # Try to create an executable without -o first, disregard a.out.
3849 # It will help us diagnose broken compilers, and finding out an intuition
3850 # of exeext.
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3852 $as_echo_n "checking whether the C compiler works... " >&6; }
3853 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3855 # The possible output files:
3856 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3858 ac_rmfiles=
3859 for ac_file in $ac_files
3861 case $ac_file in
3862 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3863 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3864 esac
3865 done
3866 rm -f $ac_rmfiles
3868 if { { ac_try="$ac_link_default"
3869 case "(($ac_try" in
3870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3871 *) ac_try_echo=$ac_try;;
3872 esac
3873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3874 $as_echo "$ac_try_echo"; } >&5
3875 (eval "$ac_link_default") 2>&5
3876 ac_status=$?
3877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3878 test $ac_status = 0; }; then :
3879 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3880 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3881 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3882 # so that the user can short-circuit this test for compilers unknown to
3883 # Autoconf.
3884 for ac_file in $ac_files ''
3886 test -f "$ac_file" || continue
3887 case $ac_file in
3888 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3890 [ab].out )
3891 # We found the default executable, but exeext='' is most
3892 # certainly right.
3893 break;;
3894 *.* )
3895 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3896 then :; else
3897 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3899 # We set ac_cv_exeext here because the later test for it is not
3900 # safe: cross compilers may not add the suffix if given an `-o'
3901 # argument, so we may need to know it at that point already.
3902 # Even if this section looks crufty: it has the advantage of
3903 # actually working.
3904 break;;
3906 break;;
3907 esac
3908 done
3909 test "$ac_cv_exeext" = no && ac_cv_exeext=
3911 else
3912 ac_file=''
3914 if test -z "$ac_file"; then :
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3916 $as_echo "no" >&6; }
3917 $as_echo "$as_me: failed program was:" >&5
3918 sed 's/^/| /' conftest.$ac_ext >&5
3920 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3921 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3922 as_fn_error 77 "C compiler cannot create executables
3923 See \`config.log' for more details" "$LINENO" 5; }
3924 else
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3926 $as_echo "yes" >&6; }
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3929 $as_echo_n "checking for C compiler default output file name... " >&6; }
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3931 $as_echo "$ac_file" >&6; }
3932 ac_exeext=$ac_cv_exeext
3934 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3935 ac_clean_files=$ac_clean_files_save
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3937 $as_echo_n "checking for suffix of executables... " >&6; }
3938 if { { ac_try="$ac_link"
3939 case "(($ac_try" in
3940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3941 *) ac_try_echo=$ac_try;;
3942 esac
3943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3944 $as_echo "$ac_try_echo"; } >&5
3945 (eval "$ac_link") 2>&5
3946 ac_status=$?
3947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3948 test $ac_status = 0; }; then :
3949 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3950 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3951 # work properly (i.e., refer to `conftest.exe'), while it won't with
3952 # `rm'.
3953 for ac_file in conftest.exe conftest conftest.*; do
3954 test -f "$ac_file" || continue
3955 case $ac_file in
3956 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3957 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3958 break;;
3959 * ) break;;
3960 esac
3961 done
3962 else
3963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3965 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3966 See \`config.log' for more details" "$LINENO" 5; }
3968 rm -f conftest conftest$ac_cv_exeext
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3970 $as_echo "$ac_cv_exeext" >&6; }
3972 rm -f conftest.$ac_ext
3973 EXEEXT=$ac_cv_exeext
3974 ac_exeext=$EXEEXT
3975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3976 /* end confdefs.h. */
3977 #include <stdio.h>
3979 main ()
3981 FILE *f = fopen ("conftest.out", "w");
3982 return ferror (f) || fclose (f) != 0;
3985 return 0;
3987 _ACEOF
3988 ac_clean_files="$ac_clean_files conftest.out"
3989 # Check that the compiler produces executables we can run. If not, either
3990 # the compiler is broken, or we cross compile.
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3992 $as_echo_n "checking whether we are cross compiling... " >&6; }
3993 if test "$cross_compiling" != yes; then
3994 { { ac_try="$ac_link"
3995 case "(($ac_try" in
3996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3997 *) ac_try_echo=$ac_try;;
3998 esac
3999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4000 $as_echo "$ac_try_echo"; } >&5
4001 (eval "$ac_link") 2>&5
4002 ac_status=$?
4003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4004 test $ac_status = 0; }
4005 if { ac_try='./conftest$ac_cv_exeext'
4006 { { case "(($ac_try" in
4007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4008 *) ac_try_echo=$ac_try;;
4009 esac
4010 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4011 $as_echo "$ac_try_echo"; } >&5
4012 (eval "$ac_try") 2>&5
4013 ac_status=$?
4014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4015 test $ac_status = 0; }; }; then
4016 cross_compiling=no
4017 else
4018 if test "$cross_compiling" = maybe; then
4019 cross_compiling=yes
4020 else
4021 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4023 as_fn_error $? "cannot run C compiled programs.
4024 If you meant to cross compile, use \`--host'.
4025 See \`config.log' for more details" "$LINENO" 5; }
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4030 $as_echo "$cross_compiling" >&6; }
4032 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4033 ac_clean_files=$ac_clean_files_save
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4035 $as_echo_n "checking for suffix of object files... " >&6; }
4036 if ${ac_cv_objext+:} false; then :
4037 $as_echo_n "(cached) " >&6
4038 else
4039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4040 /* end confdefs.h. */
4043 main ()
4047 return 0;
4049 _ACEOF
4050 rm -f conftest.o conftest.obj
4051 if { { ac_try="$ac_compile"
4052 case "(($ac_try" in
4053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4054 *) ac_try_echo=$ac_try;;
4055 esac
4056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4057 $as_echo "$ac_try_echo"; } >&5
4058 (eval "$ac_compile") 2>&5
4059 ac_status=$?
4060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4061 test $ac_status = 0; }; then :
4062 for ac_file in conftest.o conftest.obj conftest.*; do
4063 test -f "$ac_file" || continue;
4064 case $ac_file in
4065 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4066 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4067 break;;
4068 esac
4069 done
4070 else
4071 $as_echo "$as_me: failed program was:" >&5
4072 sed 's/^/| /' conftest.$ac_ext >&5
4074 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4076 as_fn_error $? "cannot compute suffix of object files: cannot compile
4077 See \`config.log' for more details" "$LINENO" 5; }
4079 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4082 $as_echo "$ac_cv_objext" >&6; }
4083 OBJEXT=$ac_cv_objext
4084 ac_objext=$OBJEXT
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4086 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4087 if ${ac_cv_c_compiler_gnu+:} false; then :
4088 $as_echo_n "(cached) " >&6
4089 else
4090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4091 /* end confdefs.h. */
4094 main ()
4096 #ifndef __GNUC__
4097 choke me
4098 #endif
4101 return 0;
4103 _ACEOF
4104 if ac_fn_c_try_compile "$LINENO"; then :
4105 ac_compiler_gnu=yes
4106 else
4107 ac_compiler_gnu=no
4109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4110 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4114 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4115 if test $ac_compiler_gnu = yes; then
4116 GCC=yes
4117 else
4118 GCC=
4120 ac_test_CFLAGS=${CFLAGS+set}
4121 ac_save_CFLAGS=$CFLAGS
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4123 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4124 if ${ac_cv_prog_cc_g+:} false; then :
4125 $as_echo_n "(cached) " >&6
4126 else
4127 ac_save_c_werror_flag=$ac_c_werror_flag
4128 ac_c_werror_flag=yes
4129 ac_cv_prog_cc_g=no
4130 CFLAGS="-g"
4131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4132 /* end confdefs.h. */
4135 main ()
4139 return 0;
4141 _ACEOF
4142 if ac_fn_c_try_compile "$LINENO"; then :
4143 ac_cv_prog_cc_g=yes
4144 else
4145 CFLAGS=""
4146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4147 /* end confdefs.h. */
4150 main ()
4154 return 0;
4156 _ACEOF
4157 if ac_fn_c_try_compile "$LINENO"; then :
4159 else
4160 ac_c_werror_flag=$ac_save_c_werror_flag
4161 CFLAGS="-g"
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4166 main ()
4170 return 0;
4172 _ACEOF
4173 if ac_fn_c_try_compile "$LINENO"; then :
4174 ac_cv_prog_cc_g=yes
4176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4181 ac_c_werror_flag=$ac_save_c_werror_flag
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4184 $as_echo "$ac_cv_prog_cc_g" >&6; }
4185 if test "$ac_test_CFLAGS" = set; then
4186 CFLAGS=$ac_save_CFLAGS
4187 elif test $ac_cv_prog_cc_g = yes; then
4188 if test "$GCC" = yes; then
4189 CFLAGS="-g -O2"
4190 else
4191 CFLAGS="-g"
4193 else
4194 if test "$GCC" = yes; then
4195 CFLAGS="-O2"
4196 else
4197 CFLAGS=
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4201 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4202 if ${ac_cv_prog_cc_c89+:} false; then :
4203 $as_echo_n "(cached) " >&6
4204 else
4205 ac_cv_prog_cc_c89=no
4206 ac_save_CC=$CC
4207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4208 /* end confdefs.h. */
4209 #include <stdarg.h>
4210 #include <stdio.h>
4211 struct stat;
4212 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4213 struct buf { int x; };
4214 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4215 static char *e (p, i)
4216 char **p;
4217 int i;
4219 return p[i];
4221 static char *f (char * (*g) (char **, int), char **p, ...)
4223 char *s;
4224 va_list v;
4225 va_start (v,p);
4226 s = g (p, va_arg (v,int));
4227 va_end (v);
4228 return s;
4231 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4232 function prototypes and stuff, but not '\xHH' hex character constants.
4233 These don't provoke an error unfortunately, instead are silently treated
4234 as 'x'. The following induces an error, until -std is added to get
4235 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4236 array size at least. It's necessary to write '\x00'==0 to get something
4237 that's true only with -std. */
4238 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4240 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4241 inside strings and character constants. */
4242 #define FOO(x) 'x'
4243 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4245 int test (int i, double x);
4246 struct s1 {int (*f) (int a);};
4247 struct s2 {int (*f) (double a);};
4248 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4249 int argc;
4250 char **argv;
4252 main ()
4254 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4256 return 0;
4258 _ACEOF
4259 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4260 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4262 CC="$ac_save_CC $ac_arg"
4263 if ac_fn_c_try_compile "$LINENO"; then :
4264 ac_cv_prog_cc_c89=$ac_arg
4266 rm -f core conftest.err conftest.$ac_objext
4267 test "x$ac_cv_prog_cc_c89" != "xno" && break
4268 done
4269 rm -f conftest.$ac_ext
4270 CC=$ac_save_CC
4273 # AC_CACHE_VAL
4274 case "x$ac_cv_prog_cc_c89" in
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4277 $as_echo "none needed" >&6; } ;;
4278 xno)
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4280 $as_echo "unsupported" >&6; } ;;
4282 CC="$CC $ac_cv_prog_cc_c89"
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4284 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4285 esac
4286 if test "x$ac_cv_prog_cc_c89" != xno; then :
4290 ac_ext=c
4291 ac_cpp='$CPP $CPPFLAGS'
4292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4296 ac_ext=cpp
4297 ac_cpp='$CXXCPP $CPPFLAGS'
4298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4301 if test -z "$CXX"; then
4302 if test -n "$CCC"; then
4303 CXX=$CCC
4304 else
4305 if test -n "$ac_tool_prefix"; then
4306 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4308 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4309 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4311 $as_echo_n "checking for $ac_word... " >&6; }
4312 if ${ac_cv_prog_CXX+:} false; then :
4313 $as_echo_n "(cached) " >&6
4314 else
4315 if test -n "$CXX"; then
4316 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4317 else
4318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4319 for as_dir in $PATH
4321 IFS=$as_save_IFS
4322 test -z "$as_dir" && as_dir=.
4323 for ac_exec_ext in '' $ac_executable_extensions; do
4324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4325 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4327 break 2
4329 done
4330 done
4331 IFS=$as_save_IFS
4335 CXX=$ac_cv_prog_CXX
4336 if test -n "$CXX"; then
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4338 $as_echo "$CXX" >&6; }
4339 else
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4341 $as_echo "no" >&6; }
4345 test -n "$CXX" && break
4346 done
4348 if test -z "$CXX"; then
4349 ac_ct_CXX=$CXX
4350 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4352 # Extract the first word of "$ac_prog", so it can be a program name with args.
4353 set dummy $ac_prog; ac_word=$2
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4355 $as_echo_n "checking for $ac_word... " >&6; }
4356 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4357 $as_echo_n "(cached) " >&6
4358 else
4359 if test -n "$ac_ct_CXX"; then
4360 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4361 else
4362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4363 for as_dir in $PATH
4365 IFS=$as_save_IFS
4366 test -z "$as_dir" && as_dir=.
4367 for ac_exec_ext in '' $ac_executable_extensions; do
4368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4369 ac_cv_prog_ac_ct_CXX="$ac_prog"
4370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4371 break 2
4373 done
4374 done
4375 IFS=$as_save_IFS
4379 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4380 if test -n "$ac_ct_CXX"; then
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4382 $as_echo "$ac_ct_CXX" >&6; }
4383 else
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4385 $as_echo "no" >&6; }
4389 test -n "$ac_ct_CXX" && break
4390 done
4392 if test "x$ac_ct_CXX" = x; then
4393 CXX="g++"
4394 else
4395 case $cross_compiling:$ac_tool_warned in
4396 yes:)
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4399 ac_tool_warned=yes ;;
4400 esac
4401 CXX=$ac_ct_CXX
4407 # Provide some information about the compiler.
4408 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4409 set X $ac_compile
4410 ac_compiler=$2
4411 for ac_option in --version -v -V -qversion; do
4412 { { ac_try="$ac_compiler $ac_option >&5"
4413 case "(($ac_try" in
4414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4415 *) ac_try_echo=$ac_try;;
4416 esac
4417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4418 $as_echo "$ac_try_echo"; } >&5
4419 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4420 ac_status=$?
4421 if test -s conftest.err; then
4422 sed '10a\
4423 ... rest of stderr output deleted ...
4424 10q' conftest.err >conftest.er1
4425 cat conftest.er1 >&5
4427 rm -f conftest.er1 conftest.err
4428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4429 test $ac_status = 0; }
4430 done
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4433 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4434 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4435 $as_echo_n "(cached) " >&6
4436 else
4437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4438 /* end confdefs.h. */
4441 main ()
4443 #ifndef __GNUC__
4444 choke me
4445 #endif
4448 return 0;
4450 _ACEOF
4451 if ac_fn_cxx_try_compile "$LINENO"; then :
4452 ac_compiler_gnu=yes
4453 else
4454 ac_compiler_gnu=no
4456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4457 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4461 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4462 if test $ac_compiler_gnu = yes; then
4463 GXX=yes
4464 else
4465 GXX=
4467 ac_test_CXXFLAGS=${CXXFLAGS+set}
4468 ac_save_CXXFLAGS=$CXXFLAGS
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4470 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4471 if ${ac_cv_prog_cxx_g+:} false; then :
4472 $as_echo_n "(cached) " >&6
4473 else
4474 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4475 ac_cxx_werror_flag=yes
4476 ac_cv_prog_cxx_g=no
4477 CXXFLAGS="-g"
4478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4479 /* end confdefs.h. */
4482 main ()
4486 return 0;
4488 _ACEOF
4489 if ac_fn_cxx_try_compile "$LINENO"; then :
4490 ac_cv_prog_cxx_g=yes
4491 else
4492 CXXFLAGS=""
4493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4494 /* end confdefs.h. */
4497 main ()
4501 return 0;
4503 _ACEOF
4504 if ac_fn_cxx_try_compile "$LINENO"; then :
4506 else
4507 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4508 CXXFLAGS="-g"
4509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4510 /* end confdefs.h. */
4513 main ()
4517 return 0;
4519 _ACEOF
4520 if ac_fn_cxx_try_compile "$LINENO"; then :
4521 ac_cv_prog_cxx_g=yes
4523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4528 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4531 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4532 if test "$ac_test_CXXFLAGS" = set; then
4533 CXXFLAGS=$ac_save_CXXFLAGS
4534 elif test $ac_cv_prog_cxx_g = yes; then
4535 if test "$GXX" = yes; then
4536 CXXFLAGS="-g -O2"
4537 else
4538 CXXFLAGS="-g"
4540 else
4541 if test "$GXX" = yes; then
4542 CXXFLAGS="-O2"
4543 else
4544 CXXFLAGS=
4547 ac_ext=c
4548 ac_cpp='$CPP $CPPFLAGS'
4549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4553 if test -n "$ac_tool_prefix"; then
4554 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4555 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4557 $as_echo_n "checking for $ac_word... " >&6; }
4558 if ${ac_cv_prog_CPPBIN+:} false; then :
4559 $as_echo_n "(cached) " >&6
4560 else
4561 if test -n "$CPPBIN"; then
4562 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4563 else
4564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4565 for as_dir in $PATH
4567 IFS=$as_save_IFS
4568 test -z "$as_dir" && as_dir=.
4569 for ac_exec_ext in '' $ac_executable_extensions; do
4570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4571 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4573 break 2
4575 done
4576 done
4577 IFS=$as_save_IFS
4581 CPPBIN=$ac_cv_prog_CPPBIN
4582 if test -n "$CPPBIN"; then
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4584 $as_echo "$CPPBIN" >&6; }
4585 else
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4587 $as_echo "no" >&6; }
4592 if test -z "$ac_cv_prog_CPPBIN"; then
4593 ac_ct_CPPBIN=$CPPBIN
4594 # Extract the first word of "cpp", so it can be a program name with args.
4595 set dummy cpp; ac_word=$2
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4597 $as_echo_n "checking for $ac_word... " >&6; }
4598 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4599 $as_echo_n "(cached) " >&6
4600 else
4601 if test -n "$ac_ct_CPPBIN"; then
4602 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4603 else
4604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4605 for as_dir in $PATH
4607 IFS=$as_save_IFS
4608 test -z "$as_dir" && as_dir=.
4609 for ac_exec_ext in '' $ac_executable_extensions; do
4610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4611 ac_cv_prog_ac_ct_CPPBIN="cpp"
4612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4613 break 2
4615 done
4616 done
4617 IFS=$as_save_IFS
4621 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4622 if test -n "$ac_ct_CPPBIN"; then
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4624 $as_echo "$ac_ct_CPPBIN" >&6; }
4625 else
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4627 $as_echo "no" >&6; }
4630 if test "x$ac_ct_CPPBIN" = x; then
4631 CPPBIN="cpp"
4632 else
4633 case $cross_compiling:$ac_tool_warned in
4634 yes:)
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4636 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4637 ac_tool_warned=yes ;;
4638 esac
4639 CPPBIN=$ac_ct_CPPBIN
4641 else
4642 CPPBIN="$ac_cv_prog_CPPBIN"
4646 cat >>confdefs.h <<_ACEOF
4647 #define EXEEXT "$ac_exeext"
4648 _ACEOF
4651 case $host in
4652 *-darwin*)
4653 if test "x$enable_win64" = "xyes"
4654 then
4655 CC="$CC -m64"
4656 CXX="$CXX -m64"
4657 host_cpu="x86_64"
4658 notice_platform="64-bit "
4659 TARGETFLAGS="-m64"
4661 else
4662 CC="$CC -m32"
4663 CXX="$CXX -m32"
4664 host_cpu="i386"
4665 notice_platform="32-bit "
4666 TARGETFLAGS="-m32"
4668 enable_win16=${enable_win16:-yes}
4670 with_fontconfig=${with_fontconfig:-no}
4672 x86_64*)
4673 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4674 then
4675 CC="$CC -m32"
4676 CXX="$CXX -m32"
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4678 $as_echo_n "checking whether $CC works... " >&6; }
4680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4681 /* end confdefs.h. */
4684 main ()
4688 return 0;
4690 _ACEOF
4691 if ac_fn_c_try_link "$LINENO"; then :
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4693 $as_echo "yes" >&6; }
4694 else
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4696 $as_echo "no" >&6; }
4697 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4699 rm -f core conftest.err conftest.$ac_objext \
4700 conftest$ac_exeext conftest.$ac_ext
4701 host_cpu="i386"
4702 notice_platform="32-bit "
4703 TARGETFLAGS="-m32"
4705 enable_win16=${enable_win16:-yes}
4706 else
4707 if test "x${GCC}" = "xyes"
4708 then
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4710 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4712 /* end confdefs.h. */
4713 #include <stdarg.h>
4715 main ()
4717 void func(__builtin_ms_va_list *args);
4719 return 0;
4721 _ACEOF
4722 if ac_fn_c_try_compile "$LINENO"; then :
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4724 $as_echo "yes" >&6; }
4725 else
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4727 $as_echo "no" >&6; }
4728 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4732 TARGETFLAGS="-m64"
4736 arm*)
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4738 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4740 /* end confdefs.h. */
4741 int ac_test(int i) { return i; }
4743 main ()
4745 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4747 return 0;
4749 _ACEOF
4750 if ac_fn_c_try_link "$LINENO"; then :
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4752 $as_echo "yes" >&6; }
4753 else
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4755 $as_echo "no" >&6; }
4756 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4758 rm -f core conftest.err conftest.$ac_objext \
4759 conftest$ac_exeext conftest.$ac_ext
4760 CFLAGS="$CFLAGS -marm"
4762 *-mingw32*|*-cygwin*)
4763 enable_win16=${enable_win16:-no}
4764 CFLAGS="$CFLAGS -D_WIN32"
4766 i[3456789]86*)
4767 enable_win16=${enable_win16:-yes}
4769 esac
4771 enable_win16=${enable_win16:-no}
4772 enable_win64=${enable_win64:-no}
4774 enable_winetest=${enable_winetest:-$enable_tests}
4776 if test -n "$with_wine64"
4777 then
4778 if test "x$enable_win64" = "xyes"
4779 then
4780 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4781 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4783 enable_fonts=${enable_fonts:-no}
4784 enable_server=${enable_server:-no}
4785 elif test "x$enable_win64" = "xyes"
4786 then
4787 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4791 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4792 if ${wine_cv_toolsdir+:} false; then :
4793 $as_echo_n "(cached) " >&6
4794 else
4795 wine_cv_toolsdir="$with_wine_tools"
4796 if test -z "$with_wine_tools"; then
4797 if test "$cross_compiling" = "yes"; then
4798 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4799 elif test -n "$with_wine64"; then
4800 wine_cv_toolsdir="$with_wine64"
4803 if test -z "$wine_cv_toolsdir"; then
4804 wine_cv_toolsdir="\$(top_builddir)"
4805 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4806 case "$wine_cv_toolsdir" in
4807 /*) ;;
4808 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4809 esac
4810 enable_tools=${enable_tools:-no}
4811 else
4812 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4816 $as_echo "$wine_cv_toolsdir" >&6; }
4817 TOOLSDIR=$wine_cv_toolsdir
4819 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4820 then
4821 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4825 for ac_prog in flex
4827 # Extract the first word of "$ac_prog", so it can be a program name with args.
4828 set dummy $ac_prog; ac_word=$2
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4830 $as_echo_n "checking for $ac_word... " >&6; }
4831 if ${ac_cv_prog_FLEX+:} false; then :
4832 $as_echo_n "(cached) " >&6
4833 else
4834 if test -n "$FLEX"; then
4835 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4836 else
4837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4838 for as_dir in $PATH
4840 IFS=$as_save_IFS
4841 test -z "$as_dir" && as_dir=.
4842 for ac_exec_ext in '' $ac_executable_extensions; do
4843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4844 ac_cv_prog_FLEX="$ac_prog"
4845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4846 break 2
4848 done
4849 done
4850 IFS=$as_save_IFS
4854 FLEX=$ac_cv_prog_FLEX
4855 if test -n "$FLEX"; then
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4857 $as_echo "$FLEX" >&6; }
4858 else
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4860 $as_echo "no" >&6; }
4864 test -n "$FLEX" && break
4865 done
4866 test -n "$FLEX" || FLEX="none"
4868 if test "$FLEX" = "none"
4869 then
4870 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4873 $as_echo_n "checking whether flex is recent enough... " >&6; }
4874 cat >conftest.l <<EOF
4875 %top{
4876 #include "prediluvian.h"
4880 if $FLEX -t conftest.l >/dev/null 2>&5
4881 then
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4883 $as_echo "yes" >&6; }
4884 else
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4886 $as_echo "no" >&6; }
4887 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4890 for ac_prog in bison
4892 # Extract the first word of "$ac_prog", so it can be a program name with args.
4893 set dummy $ac_prog; ac_word=$2
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4895 $as_echo_n "checking for $ac_word... " >&6; }
4896 if ${ac_cv_prog_BISON+:} false; then :
4897 $as_echo_n "(cached) " >&6
4898 else
4899 if test -n "$BISON"; then
4900 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4901 else
4902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4903 for as_dir in $PATH
4905 IFS=$as_save_IFS
4906 test -z "$as_dir" && as_dir=.
4907 for ac_exec_ext in '' $ac_executable_extensions; do
4908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4909 ac_cv_prog_BISON="$ac_prog"
4910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4911 break 2
4913 done
4914 done
4915 IFS=$as_save_IFS
4919 BISON=$ac_cv_prog_BISON
4920 if test -n "$BISON"; then
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4922 $as_echo "$BISON" >&6; }
4923 else
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4925 $as_echo "no" >&6; }
4929 test -n "$BISON" && break
4930 done
4931 test -n "$BISON" || BISON="none"
4933 if test "$BISON" = "none"
4934 then
4935 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4938 if test -n "$ac_tool_prefix"; then
4939 for ac_prog in ar gar
4941 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4942 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4944 $as_echo_n "checking for $ac_word... " >&6; }
4945 if ${ac_cv_prog_AR+:} false; then :
4946 $as_echo_n "(cached) " >&6
4947 else
4948 if test -n "$AR"; then
4949 ac_cv_prog_AR="$AR" # Let the user override the test.
4950 else
4951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4952 for as_dir in $PATH
4954 IFS=$as_save_IFS
4955 test -z "$as_dir" && as_dir=.
4956 for ac_exec_ext in '' $ac_executable_extensions; do
4957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4958 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4960 break 2
4962 done
4963 done
4964 IFS=$as_save_IFS
4968 AR=$ac_cv_prog_AR
4969 if test -n "$AR"; then
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4971 $as_echo "$AR" >&6; }
4972 else
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4974 $as_echo "no" >&6; }
4978 test -n "$AR" && break
4979 done
4981 if test -z "$AR"; then
4982 ac_ct_AR=$AR
4983 for ac_prog in ar gar
4985 # Extract the first word of "$ac_prog", so it can be a program name with args.
4986 set dummy $ac_prog; ac_word=$2
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4988 $as_echo_n "checking for $ac_word... " >&6; }
4989 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4990 $as_echo_n "(cached) " >&6
4991 else
4992 if test -n "$ac_ct_AR"; then
4993 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4994 else
4995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4996 for as_dir in $PATH
4998 IFS=$as_save_IFS
4999 test -z "$as_dir" && as_dir=.
5000 for ac_exec_ext in '' $ac_executable_extensions; do
5001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5002 ac_cv_prog_ac_ct_AR="$ac_prog"
5003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5004 break 2
5006 done
5007 done
5008 IFS=$as_save_IFS
5012 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5013 if test -n "$ac_ct_AR"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5015 $as_echo "$ac_ct_AR" >&6; }
5016 else
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 $as_echo "no" >&6; }
5022 test -n "$ac_ct_AR" && break
5023 done
5025 if test "x$ac_ct_AR" = x; then
5026 AR="ar"
5027 else
5028 case $cross_compiling:$ac_tool_warned in
5029 yes:)
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5031 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5032 ac_tool_warned=yes ;;
5033 esac
5034 AR=$ac_ct_AR
5038 if test -n "$ac_tool_prefix"; then
5039 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5040 set dummy ${ac_tool_prefix}strip; ac_word=$2
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5042 $as_echo_n "checking for $ac_word... " >&6; }
5043 if ${ac_cv_prog_STRIP+:} false; then :
5044 $as_echo_n "(cached) " >&6
5045 else
5046 if test -n "$STRIP"; then
5047 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5048 else
5049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5050 for as_dir in $PATH
5052 IFS=$as_save_IFS
5053 test -z "$as_dir" && as_dir=.
5054 for ac_exec_ext in '' $ac_executable_extensions; do
5055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5056 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5058 break 2
5060 done
5061 done
5062 IFS=$as_save_IFS
5066 STRIP=$ac_cv_prog_STRIP
5067 if test -n "$STRIP"; then
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5069 $as_echo "$STRIP" >&6; }
5070 else
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5072 $as_echo "no" >&6; }
5077 if test -z "$ac_cv_prog_STRIP"; then
5078 ac_ct_STRIP=$STRIP
5079 # Extract the first word of "strip", so it can be a program name with args.
5080 set dummy strip; ac_word=$2
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5082 $as_echo_n "checking for $ac_word... " >&6; }
5083 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5084 $as_echo_n "(cached) " >&6
5085 else
5086 if test -n "$ac_ct_STRIP"; then
5087 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5088 else
5089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5090 for as_dir in $PATH
5092 IFS=$as_save_IFS
5093 test -z "$as_dir" && as_dir=.
5094 for ac_exec_ext in '' $ac_executable_extensions; do
5095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5096 ac_cv_prog_ac_ct_STRIP="strip"
5097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5098 break 2
5100 done
5101 done
5102 IFS=$as_save_IFS
5106 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5107 if test -n "$ac_ct_STRIP"; then
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5109 $as_echo "$ac_ct_STRIP" >&6; }
5110 else
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5112 $as_echo "no" >&6; }
5115 if test "x$ac_ct_STRIP" = x; then
5116 STRIP="strip"
5117 else
5118 case $cross_compiling:$ac_tool_warned in
5119 yes:)
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5122 ac_tool_warned=yes ;;
5123 esac
5124 STRIP=$ac_ct_STRIP
5126 else
5127 STRIP="$ac_cv_prog_STRIP"
5130 ARFLAGS=rc
5132 if test -n "$ac_tool_prefix"; then
5133 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5134 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5136 $as_echo_n "checking for $ac_word... " >&6; }
5137 if ${ac_cv_prog_RANLIB+:} false; then :
5138 $as_echo_n "(cached) " >&6
5139 else
5140 if test -n "$RANLIB"; then
5141 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5142 else
5143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5144 for as_dir in $PATH
5146 IFS=$as_save_IFS
5147 test -z "$as_dir" && as_dir=.
5148 for ac_exec_ext in '' $ac_executable_extensions; do
5149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5150 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5152 break 2
5154 done
5155 done
5156 IFS=$as_save_IFS
5160 RANLIB=$ac_cv_prog_RANLIB
5161 if test -n "$RANLIB"; then
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5163 $as_echo "$RANLIB" >&6; }
5164 else
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5166 $as_echo "no" >&6; }
5171 if test -z "$ac_cv_prog_RANLIB"; then
5172 ac_ct_RANLIB=$RANLIB
5173 # Extract the first word of "ranlib", so it can be a program name with args.
5174 set dummy ranlib; ac_word=$2
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5176 $as_echo_n "checking for $ac_word... " >&6; }
5177 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5178 $as_echo_n "(cached) " >&6
5179 else
5180 if test -n "$ac_ct_RANLIB"; then
5181 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5182 else
5183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5184 for as_dir in $PATH
5186 IFS=$as_save_IFS
5187 test -z "$as_dir" && as_dir=.
5188 for ac_exec_ext in '' $ac_executable_extensions; do
5189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5190 ac_cv_prog_ac_ct_RANLIB="ranlib"
5191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5192 break 2
5194 done
5195 done
5196 IFS=$as_save_IFS
5200 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5201 if test -n "$ac_ct_RANLIB"; then
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5203 $as_echo "$ac_ct_RANLIB" >&6; }
5204 else
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5206 $as_echo "no" >&6; }
5209 if test "x$ac_ct_RANLIB" = x; then
5210 RANLIB=":"
5211 else
5212 case $cross_compiling:$ac_tool_warned in
5213 yes:)
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5216 ac_tool_warned=yes ;;
5217 esac
5218 RANLIB=$ac_ct_RANLIB
5220 else
5221 RANLIB="$ac_cv_prog_RANLIB"
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5225 $as_echo_n "checking whether ln -s works... " >&6; }
5226 LN_S=$as_ln_s
5227 if test "$LN_S" = "ln -s"; then
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5229 $as_echo "yes" >&6; }
5230 else
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5232 $as_echo "no, using $LN_S" >&6; }
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5236 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5237 if ${ac_cv_path_GREP+:} false; then :
5238 $as_echo_n "(cached) " >&6
5239 else
5240 if test -z "$GREP"; then
5241 ac_path_GREP_found=false
5242 # Loop through the user's path and test for each of PROGNAME-LIST
5243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5244 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5246 IFS=$as_save_IFS
5247 test -z "$as_dir" && as_dir=.
5248 for ac_prog in grep ggrep; do
5249 for ac_exec_ext in '' $ac_executable_extensions; do
5250 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5251 as_fn_executable_p "$ac_path_GREP" || continue
5252 # Check for GNU ac_path_GREP and select it if it is found.
5253 # Check for GNU $ac_path_GREP
5254 case `"$ac_path_GREP" --version 2>&1` in
5255 *GNU*)
5256 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5258 ac_count=0
5259 $as_echo_n 0123456789 >"conftest.in"
5260 while :
5262 cat "conftest.in" "conftest.in" >"conftest.tmp"
5263 mv "conftest.tmp" "conftest.in"
5264 cp "conftest.in" "conftest.nl"
5265 $as_echo 'GREP' >> "conftest.nl"
5266 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5267 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5268 as_fn_arith $ac_count + 1 && ac_count=$as_val
5269 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5270 # Best one so far, save it but keep looking for a better one
5271 ac_cv_path_GREP="$ac_path_GREP"
5272 ac_path_GREP_max=$ac_count
5274 # 10*(2^10) chars as input seems more than enough
5275 test $ac_count -gt 10 && break
5276 done
5277 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5278 esac
5280 $ac_path_GREP_found && break 3
5281 done
5282 done
5283 done
5284 IFS=$as_save_IFS
5285 if test -z "$ac_cv_path_GREP"; then
5286 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5288 else
5289 ac_cv_path_GREP=$GREP
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5294 $as_echo "$ac_cv_path_GREP" >&6; }
5295 GREP="$ac_cv_path_GREP"
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5299 $as_echo_n "checking for egrep... " >&6; }
5300 if ${ac_cv_path_EGREP+:} false; then :
5301 $as_echo_n "(cached) " >&6
5302 else
5303 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5304 then ac_cv_path_EGREP="$GREP -E"
5305 else
5306 if test -z "$EGREP"; then
5307 ac_path_EGREP_found=false
5308 # Loop through the user's path and test for each of PROGNAME-LIST
5309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5310 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5312 IFS=$as_save_IFS
5313 test -z "$as_dir" && as_dir=.
5314 for ac_prog in egrep; do
5315 for ac_exec_ext in '' $ac_executable_extensions; do
5316 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5317 as_fn_executable_p "$ac_path_EGREP" || continue
5318 # Check for GNU ac_path_EGREP and select it if it is found.
5319 # Check for GNU $ac_path_EGREP
5320 case `"$ac_path_EGREP" --version 2>&1` in
5321 *GNU*)
5322 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5324 ac_count=0
5325 $as_echo_n 0123456789 >"conftest.in"
5326 while :
5328 cat "conftest.in" "conftest.in" >"conftest.tmp"
5329 mv "conftest.tmp" "conftest.in"
5330 cp "conftest.in" "conftest.nl"
5331 $as_echo 'EGREP' >> "conftest.nl"
5332 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5333 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5334 as_fn_arith $ac_count + 1 && ac_count=$as_val
5335 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5336 # Best one so far, save it but keep looking for a better one
5337 ac_cv_path_EGREP="$ac_path_EGREP"
5338 ac_path_EGREP_max=$ac_count
5340 # 10*(2^10) chars as input seems more than enough
5341 test $ac_count -gt 10 && break
5342 done
5343 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5344 esac
5346 $ac_path_EGREP_found && break 3
5347 done
5348 done
5349 done
5350 IFS=$as_save_IFS
5351 if test -z "$ac_cv_path_EGREP"; then
5352 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5354 else
5355 ac_cv_path_EGREP=$EGREP
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5361 $as_echo "$ac_cv_path_EGREP" >&6; }
5362 EGREP="$ac_cv_path_EGREP"
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5366 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5367 if test -z "$MKDIR_P"; then
5368 if ${ac_cv_path_mkdir+:} false; then :
5369 $as_echo_n "(cached) " >&6
5370 else
5371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5372 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
5374 IFS=$as_save_IFS
5375 test -z "$as_dir" && as_dir=.
5376 for ac_prog in mkdir gmkdir; do
5377 for ac_exec_ext in '' $ac_executable_extensions; do
5378 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
5379 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5380 'mkdir (GNU coreutils) '* | \
5381 'mkdir (coreutils) '* | \
5382 'mkdir (fileutils) '4.1*)
5383 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
5384 break 3;;
5385 esac
5386 done
5387 done
5388 done
5389 IFS=$as_save_IFS
5393 test -d ./--version && rmdir ./--version
5394 if test "${ac_cv_path_mkdir+set}" = set; then
5395 MKDIR_P="$ac_cv_path_mkdir -p"
5396 else
5397 # As a last resort, use the slow shell script. Don't cache a
5398 # value for MKDIR_P within a source directory, because that will
5399 # break other packages using the cache if that directory is
5400 # removed, or if the value is a relative name.
5401 MKDIR_P="$ac_install_sh -d"
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5405 $as_echo "$MKDIR_P" >&6; }
5407 # Extract the first word of "ldconfig", so it can be a program name with args.
5408 set dummy ldconfig; ac_word=$2
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5410 $as_echo_n "checking for $ac_word... " >&6; }
5411 if ${ac_cv_path_LDCONFIG+:} false; then :
5412 $as_echo_n "(cached) " >&6
5413 else
5414 case $LDCONFIG in
5415 [\\/]* | ?:[\\/]*)
5416 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5420 for as_dir in /sbin /usr/sbin $PATH
5422 IFS=$as_save_IFS
5423 test -z "$as_dir" && as_dir=.
5424 for ac_exec_ext in '' $ac_executable_extensions; do
5425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5426 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5428 break 2
5430 done
5431 done
5432 IFS=$as_save_IFS
5434 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5436 esac
5438 LDCONFIG=$ac_cv_path_LDCONFIG
5439 if test -n "$LDCONFIG"; then
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5441 $as_echo "$LDCONFIG" >&6; }
5442 else
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5444 $as_echo "no" >&6; }
5449 test -z "$INSTALL" && INSTALL="\$(top_srcdir)/tools/install-sh"
5451 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM="STRIPPROG=\"\$(STRIP)\" \$(INSTALL)"
5453 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT="\$(INSTALL)"
5455 test -z "$INSTALL_DATA" && INSTALL_DATA="\$(INSTALL) -m 644"
5458 for ac_prog in msgfmt
5460 # Extract the first word of "$ac_prog", so it can be a program name with args.
5461 set dummy $ac_prog; ac_word=$2
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5463 $as_echo_n "checking for $ac_word... " >&6; }
5464 if ${ac_cv_prog_MSGFMT+:} false; then :
5465 $as_echo_n "(cached) " >&6
5466 else
5467 if test -n "$MSGFMT"; then
5468 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5469 else
5470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5471 for as_dir in $PATH
5473 IFS=$as_save_IFS
5474 test -z "$as_dir" && as_dir=.
5475 for ac_exec_ext in '' $ac_executable_extensions; do
5476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5477 ac_cv_prog_MSGFMT="$ac_prog"
5478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5479 break 2
5481 done
5482 done
5483 IFS=$as_save_IFS
5487 MSGFMT=$ac_cv_prog_MSGFMT
5488 if test -n "$MSGFMT"; then
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5490 $as_echo "$MSGFMT" >&6; }
5491 else
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5493 $as_echo "no" >&6; }
5497 test -n "$MSGFMT" && break
5498 done
5499 test -n "$MSGFMT" || MSGFMT="false"
5501 if test -n "$ac_tool_prefix"; then
5502 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5503 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5505 $as_echo_n "checking for $ac_word... " >&6; }
5506 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5507 $as_echo_n "(cached) " >&6
5508 else
5509 if test -n "$PKG_CONFIG"; then
5510 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5511 else
5512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5513 for as_dir in $PATH
5515 IFS=$as_save_IFS
5516 test -z "$as_dir" && as_dir=.
5517 for ac_exec_ext in '' $ac_executable_extensions; do
5518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5519 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5521 break 2
5523 done
5524 done
5525 IFS=$as_save_IFS
5529 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5530 if test -n "$PKG_CONFIG"; then
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5532 $as_echo "$PKG_CONFIG" >&6; }
5533 else
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5535 $as_echo "no" >&6; }
5540 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5541 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
5542 elif test "$cross_compiling" != yes; then
5543 unset ac_cv_prog_PKG_CONFIG
5544 # Extract the first word of "pkg-config", so it can be a program name with args.
5545 set dummy pkg-config; ac_word=$2
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5547 $as_echo_n "checking for $ac_word... " >&6; }
5548 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5549 $as_echo_n "(cached) " >&6
5550 else
5551 if test -n "$PKG_CONFIG"; then
5552 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5553 else
5554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5555 for as_dir in $PATH
5557 IFS=$as_save_IFS
5558 test -z "$as_dir" && as_dir=.
5559 for ac_exec_ext in '' $ac_executable_extensions; do
5560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5561 ac_cv_prog_PKG_CONFIG="pkg-config"
5562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5563 break 2
5565 done
5566 done
5567 IFS=$as_save_IFS
5571 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5572 if test -n "$PKG_CONFIG"; then
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5574 $as_echo "$PKG_CONFIG" >&6; }
5575 else
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5577 $as_echo "no" >&6; }
5583 if test "x$enable_maintainer_mode" != "xyes"
5584 then
5585 FONTFORGE=""
5586 RSVG=""
5587 CONVERT=""
5588 ICOTOOL=""
5589 else
5590 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5591 for ac_prog in fontforge
5593 # Extract the first word of "$ac_prog", so it can be a program name with args.
5594 set dummy $ac_prog; ac_word=$2
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5596 $as_echo_n "checking for $ac_word... " >&6; }
5597 if ${ac_cv_prog_FONTFORGE+:} false; then :
5598 $as_echo_n "(cached) " >&6
5599 else
5600 if test -n "$FONTFORGE"; then
5601 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5602 else
5603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5604 for as_dir in $PATH
5606 IFS=$as_save_IFS
5607 test -z "$as_dir" && as_dir=.
5608 for ac_exec_ext in '' $ac_executable_extensions; do
5609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5610 ac_cv_prog_FONTFORGE="$ac_prog"
5611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5612 break 2
5614 done
5615 done
5616 IFS=$as_save_IFS
5620 FONTFORGE=$ac_cv_prog_FONTFORGE
5621 if test -n "$FONTFORGE"; then
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5623 $as_echo "$FONTFORGE" >&6; }
5624 else
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5626 $as_echo "no" >&6; }
5630 test -n "$FONTFORGE" && break
5631 done
5632 test -n "$FONTFORGE" || FONTFORGE="false"
5634 for ac_prog in rsvg
5636 # Extract the first word of "$ac_prog", so it can be a program name with args.
5637 set dummy $ac_prog; ac_word=$2
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5639 $as_echo_n "checking for $ac_word... " >&6; }
5640 if ${ac_cv_prog_RSVG+:} false; then :
5641 $as_echo_n "(cached) " >&6
5642 else
5643 if test -n "$RSVG"; then
5644 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5645 else
5646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5647 for as_dir in $PATH
5649 IFS=$as_save_IFS
5650 test -z "$as_dir" && as_dir=.
5651 for ac_exec_ext in '' $ac_executable_extensions; do
5652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5653 ac_cv_prog_RSVG="$ac_prog"
5654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5655 break 2
5657 done
5658 done
5659 IFS=$as_save_IFS
5663 RSVG=$ac_cv_prog_RSVG
5664 if test -n "$RSVG"; then
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5666 $as_echo "$RSVG" >&6; }
5667 else
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5669 $as_echo "no" >&6; }
5673 test -n "$RSVG" && break
5674 done
5675 test -n "$RSVG" || RSVG="false"
5677 for ac_prog in convert
5679 # Extract the first word of "$ac_prog", so it can be a program name with args.
5680 set dummy $ac_prog; ac_word=$2
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5682 $as_echo_n "checking for $ac_word... " >&6; }
5683 if ${ac_cv_prog_CONVERT+:} false; then :
5684 $as_echo_n "(cached) " >&6
5685 else
5686 if test -n "$CONVERT"; then
5687 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5688 else
5689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5690 for as_dir in $PATH
5692 IFS=$as_save_IFS
5693 test -z "$as_dir" && as_dir=.
5694 for ac_exec_ext in '' $ac_executable_extensions; do
5695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5696 ac_cv_prog_CONVERT="$ac_prog"
5697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5698 break 2
5700 done
5701 done
5702 IFS=$as_save_IFS
5706 CONVERT=$ac_cv_prog_CONVERT
5707 if test -n "$CONVERT"; then
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5709 $as_echo "$CONVERT" >&6; }
5710 else
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5712 $as_echo "no" >&6; }
5716 test -n "$CONVERT" && break
5717 done
5718 test -n "$CONVERT" || CONVERT="false"
5720 for ac_prog in icotool
5722 # Extract the first word of "$ac_prog", so it can be a program name with args.
5723 set dummy $ac_prog; ac_word=$2
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5725 $as_echo_n "checking for $ac_word... " >&6; }
5726 if ${ac_cv_prog_ICOTOOL+:} false; then :
5727 $as_echo_n "(cached) " >&6
5728 else
5729 if test -n "$ICOTOOL"; then
5730 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5731 else
5732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5733 for as_dir in $PATH
5735 IFS=$as_save_IFS
5736 test -z "$as_dir" && as_dir=.
5737 for ac_exec_ext in '' $ac_executable_extensions; do
5738 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5739 ac_cv_prog_ICOTOOL="$ac_prog"
5740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5741 break 2
5743 done
5744 done
5745 IFS=$as_save_IFS
5749 ICOTOOL=$ac_cv_prog_ICOTOOL
5750 if test -n "$ICOTOOL"; then
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5752 $as_echo "$ICOTOOL" >&6; }
5753 else
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5755 $as_echo "no" >&6; }
5759 test -n "$ICOTOOL" && break
5760 done
5761 test -n "$ICOTOOL" || ICOTOOL="false"
5763 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5764 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5766 if test "$CONVERT" = false
5767 then
5768 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5769 else
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5771 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5772 convert_version=`convert --version | head -n1`
5773 if test "x$convert_version" != "x"
5774 then
5775 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5776 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5777 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5778 then
5779 CONVERT=false
5782 if test "$CONVERT" = false
5783 then
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5785 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5786 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5787 else
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5789 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5793 if test "$ICOTOOL" = false
5794 then
5795 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5796 else
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5798 $as_echo_n "checking for recent enough icotool... " >&6; }
5799 icotool_version=`icotool --version | head -n1`
5800 if test "x$icotool_version" != "x"
5801 then
5802 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5803 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5804 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5805 then
5806 ICOTOOL=false
5807 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5810 if test "$ICOTOOL" = false
5811 then
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5813 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5814 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5815 else
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5817 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5821 with_gettext=yes
5822 with_gettextpo=yes
5823 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5826 test "x$with_gettext" != xno || MSGFMT=false
5827 if test "$MSGFMT" != "false"
5828 then
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5830 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5831 cat >conftest.po <<EOF
5832 # comment
5833 msgctxt "ctxt"
5834 msgid "id"
5835 msgstr "str"
5837 if $MSGFMT -o /dev/null conftest.po 2>&5
5838 then
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5840 $as_echo "yes" >&6; }
5841 else
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5843 $as_echo "no" >&6; }
5844 MSGFMT=false
5847 if test "$MSGFMT" = false; then :
5848 case "x$with_gettext" in
5849 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5850 xno) ;;
5851 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5852 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5853 esac
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5858 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5859 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5862 ac_check_lib_save_LIBS=$LIBS
5863 LIBS="-li386 $LIBS"
5864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5865 /* end confdefs.h. */
5867 /* Override any GCC internal prototype to avoid an error.
5868 Use char because int might match the return type of a GCC
5869 builtin and then its argument prototype would still apply. */
5870 #ifdef __cplusplus
5871 extern "C"
5872 #endif
5873 char i386_set_ldt ();
5875 main ()
5877 return i386_set_ldt ();
5879 return 0;
5881 _ACEOF
5882 if ac_fn_c_try_link "$LINENO"; then :
5883 ac_cv_lib_i386_i386_set_ldt=yes
5884 else
5885 ac_cv_lib_i386_i386_set_ldt=no
5887 rm -f core conftest.err conftest.$ac_objext \
5888 conftest$ac_exeext conftest.$ac_ext
5889 LIBS=$ac_check_lib_save_LIBS
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5892 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5893 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5894 cat >>confdefs.h <<_ACEOF
5895 #define HAVE_LIBI386 1
5896 _ACEOF
5898 LIBS="-li386 $LIBS"
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5903 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5904 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5905 $as_echo_n "(cached) " >&6
5906 else
5907 ac_check_lib_save_LIBS=$LIBS
5908 LIBS="-lossaudio $LIBS"
5909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5910 /* end confdefs.h. */
5912 /* Override any GCC internal prototype to avoid an error.
5913 Use char because int might match the return type of a GCC
5914 builtin and then its argument prototype would still apply. */
5915 #ifdef __cplusplus
5916 extern "C"
5917 #endif
5918 char _oss_ioctl ();
5920 main ()
5922 return _oss_ioctl ();
5924 return 0;
5926 _ACEOF
5927 if ac_fn_c_try_link "$LINENO"; then :
5928 ac_cv_lib_ossaudio__oss_ioctl=yes
5929 else
5930 ac_cv_lib_ossaudio__oss_ioctl=no
5932 rm -f core conftest.err conftest.$ac_objext \
5933 conftest$ac_exeext conftest.$ac_ext
5934 LIBS=$ac_check_lib_save_LIBS
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5937 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5938 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5939 cat >>confdefs.h <<_ACEOF
5940 #define HAVE_LIBOSSAUDIO 1
5941 _ACEOF
5943 LIBS="-lossaudio $LIBS"
5948 XLIB=""
5950 OPENGL_LIBS=""
5954 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h=no
5956 # Check whether --enable-largefile was given.
5957 if test "${enable_largefile+set}" = set; then :
5958 enableval=$enable_largefile;
5961 if test "$enable_largefile" != no; then
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5964 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5965 if ${ac_cv_sys_largefile_CC+:} false; then :
5966 $as_echo_n "(cached) " >&6
5967 else
5968 ac_cv_sys_largefile_CC=no
5969 if test "$GCC" != yes; then
5970 ac_save_CC=$CC
5971 while :; do
5972 # IRIX 6.2 and later do not support large files by default,
5973 # so use the C compiler's -n32 option if that helps.
5974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5975 /* end confdefs.h. */
5976 #include <sys/types.h>
5977 /* Check that off_t can represent 2**63 - 1 correctly.
5978 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5979 since some C++ compilers masquerading as C compilers
5980 incorrectly reject 9223372036854775807. */
5981 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5982 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5983 && LARGE_OFF_T % 2147483647 == 1)
5984 ? 1 : -1];
5986 main ()
5990 return 0;
5992 _ACEOF
5993 if ac_fn_c_try_compile "$LINENO"; then :
5994 break
5996 rm -f core conftest.err conftest.$ac_objext
5997 CC="$CC -n32"
5998 if ac_fn_c_try_compile "$LINENO"; then :
5999 ac_cv_sys_largefile_CC=' -n32'; break
6001 rm -f core conftest.err conftest.$ac_objext
6002 break
6003 done
6004 CC=$ac_save_CC
6005 rm -f conftest.$ac_ext
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6009 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6010 if test "$ac_cv_sys_largefile_CC" != no; then
6011 CC=$CC$ac_cv_sys_largefile_CC
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6015 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6016 if ${ac_cv_sys_file_offset_bits+:} false; then :
6017 $as_echo_n "(cached) " >&6
6018 else
6019 while :; do
6020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6021 /* end confdefs.h. */
6022 #include <sys/types.h>
6023 /* Check that off_t can represent 2**63 - 1 correctly.
6024 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6025 since some C++ compilers masquerading as C compilers
6026 incorrectly reject 9223372036854775807. */
6027 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6028 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6029 && LARGE_OFF_T % 2147483647 == 1)
6030 ? 1 : -1];
6032 main ()
6036 return 0;
6038 _ACEOF
6039 if ac_fn_c_try_compile "$LINENO"; then :
6040 ac_cv_sys_file_offset_bits=no; break
6042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6044 /* end confdefs.h. */
6045 #define _FILE_OFFSET_BITS 64
6046 #include <sys/types.h>
6047 /* Check that off_t can represent 2**63 - 1 correctly.
6048 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6049 since some C++ compilers masquerading as C compilers
6050 incorrectly reject 9223372036854775807. */
6051 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6052 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6053 && LARGE_OFF_T % 2147483647 == 1)
6054 ? 1 : -1];
6056 main ()
6060 return 0;
6062 _ACEOF
6063 if ac_fn_c_try_compile "$LINENO"; then :
6064 ac_cv_sys_file_offset_bits=64; break
6066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6067 ac_cv_sys_file_offset_bits=unknown
6068 break
6069 done
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6072 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6073 case $ac_cv_sys_file_offset_bits in #(
6074 no | unknown) ;;
6076 cat >>confdefs.h <<_ACEOF
6077 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6078 _ACEOF
6080 esac
6081 rm -rf conftest*
6082 if test $ac_cv_sys_file_offset_bits = unknown; then
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6084 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6085 if ${ac_cv_sys_large_files+:} false; then :
6086 $as_echo_n "(cached) " >&6
6087 else
6088 while :; do
6089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6090 /* end confdefs.h. */
6091 #include <sys/types.h>
6092 /* Check that off_t can represent 2**63 - 1 correctly.
6093 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6094 since some C++ compilers masquerading as C compilers
6095 incorrectly reject 9223372036854775807. */
6096 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6097 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6098 && LARGE_OFF_T % 2147483647 == 1)
6099 ? 1 : -1];
6101 main ()
6105 return 0;
6107 _ACEOF
6108 if ac_fn_c_try_compile "$LINENO"; then :
6109 ac_cv_sys_large_files=no; break
6111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6113 /* end confdefs.h. */
6114 #define _LARGE_FILES 1
6115 #include <sys/types.h>
6116 /* Check that off_t can represent 2**63 - 1 correctly.
6117 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6118 since some C++ compilers masquerading as C compilers
6119 incorrectly reject 9223372036854775807. */
6120 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6121 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6122 && LARGE_OFF_T % 2147483647 == 1)
6123 ? 1 : -1];
6125 main ()
6129 return 0;
6131 _ACEOF
6132 if ac_fn_c_try_compile "$LINENO"; then :
6133 ac_cv_sys_large_files=1; break
6135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6136 ac_cv_sys_large_files=unknown
6137 break
6138 done
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6141 $as_echo "$ac_cv_sys_large_files" >&6; }
6142 case $ac_cv_sys_large_files in #(
6143 no | unknown) ;;
6145 cat >>confdefs.h <<_ACEOF
6146 #define _LARGE_FILES $ac_cv_sys_large_files
6147 _ACEOF
6149 esac
6150 rm -rf conftest*
6157 ac_ext=c
6158 ac_cpp='$CPP $CPPFLAGS'
6159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6163 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6164 # On Suns, sometimes $CPP names a directory.
6165 if test -n "$CPP" && test -d "$CPP"; then
6166 CPP=
6168 if test -z "$CPP"; then
6169 if ${ac_cv_prog_CPP+:} false; then :
6170 $as_echo_n "(cached) " >&6
6171 else
6172 # Double quotes because CPP needs to be expanded
6173 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6175 ac_preproc_ok=false
6176 for ac_c_preproc_warn_flag in '' yes
6178 # Use a header file that comes with gcc, so configuring glibc
6179 # with a fresh cross-compiler works.
6180 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6181 # <limits.h> exists even on freestanding compilers.
6182 # On the NeXT, cc -E runs the code through the compiler's parser,
6183 # not just through cpp. "Syntax error" is here to catch this case.
6184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6185 /* end confdefs.h. */
6186 #ifdef __STDC__
6187 # include <limits.h>
6188 #else
6189 # include <assert.h>
6190 #endif
6191 Syntax error
6192 _ACEOF
6193 if ac_fn_c_try_cpp "$LINENO"; then :
6195 else
6196 # Broken: fails on valid input.
6197 continue
6199 rm -f conftest.err conftest.i conftest.$ac_ext
6201 # OK, works on sane cases. Now check whether nonexistent headers
6202 # can be detected and how.
6203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6204 /* end confdefs.h. */
6205 #include <ac_nonexistent.h>
6206 _ACEOF
6207 if ac_fn_c_try_cpp "$LINENO"; then :
6208 # Broken: success on invalid input.
6209 continue
6210 else
6211 # Passes both tests.
6212 ac_preproc_ok=:
6213 break
6215 rm -f conftest.err conftest.i conftest.$ac_ext
6217 done
6218 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6219 rm -f conftest.i conftest.err conftest.$ac_ext
6220 if $ac_preproc_ok; then :
6221 break
6224 done
6225 ac_cv_prog_CPP=$CPP
6228 CPP=$ac_cv_prog_CPP
6229 else
6230 ac_cv_prog_CPP=$CPP
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6233 $as_echo "$CPP" >&6; }
6234 ac_preproc_ok=false
6235 for ac_c_preproc_warn_flag in '' yes
6237 # Use a header file that comes with gcc, so configuring glibc
6238 # with a fresh cross-compiler works.
6239 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6240 # <limits.h> exists even on freestanding compilers.
6241 # On the NeXT, cc -E runs the code through the compiler's parser,
6242 # not just through cpp. "Syntax error" is here to catch this case.
6243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6244 /* end confdefs.h. */
6245 #ifdef __STDC__
6246 # include <limits.h>
6247 #else
6248 # include <assert.h>
6249 #endif
6250 Syntax error
6251 _ACEOF
6252 if ac_fn_c_try_cpp "$LINENO"; then :
6254 else
6255 # Broken: fails on valid input.
6256 continue
6258 rm -f conftest.err conftest.i conftest.$ac_ext
6260 # OK, works on sane cases. Now check whether nonexistent headers
6261 # can be detected and how.
6262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6263 /* end confdefs.h. */
6264 #include <ac_nonexistent.h>
6265 _ACEOF
6266 if ac_fn_c_try_cpp "$LINENO"; then :
6267 # Broken: success on invalid input.
6268 continue
6269 else
6270 # Passes both tests.
6271 ac_preproc_ok=:
6272 break
6274 rm -f conftest.err conftest.i conftest.$ac_ext
6276 done
6277 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6278 rm -f conftest.i conftest.err conftest.$ac_ext
6279 if $ac_preproc_ok; then :
6281 else
6282 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6284 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6285 See \`config.log' for more details" "$LINENO" 5; }
6288 ac_ext=c
6289 ac_cpp='$CPP $CPPFLAGS'
6290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6296 $as_echo_n "checking for ANSI C header files... " >&6; }
6297 if ${ac_cv_header_stdc+:} false; then :
6298 $as_echo_n "(cached) " >&6
6299 else
6300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6301 /* end confdefs.h. */
6302 #include <stdlib.h>
6303 #include <stdarg.h>
6304 #include <string.h>
6305 #include <float.h>
6308 main ()
6312 return 0;
6314 _ACEOF
6315 if ac_fn_c_try_compile "$LINENO"; then :
6316 ac_cv_header_stdc=yes
6317 else
6318 ac_cv_header_stdc=no
6320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6322 if test $ac_cv_header_stdc = yes; then
6323 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6325 /* end confdefs.h. */
6326 #include <string.h>
6328 _ACEOF
6329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6330 $EGREP "memchr" >/dev/null 2>&1; then :
6332 else
6333 ac_cv_header_stdc=no
6335 rm -f conftest*
6339 if test $ac_cv_header_stdc = yes; then
6340 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6342 /* end confdefs.h. */
6343 #include <stdlib.h>
6345 _ACEOF
6346 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6347 $EGREP "free" >/dev/null 2>&1; then :
6349 else
6350 ac_cv_header_stdc=no
6352 rm -f conftest*
6356 if test $ac_cv_header_stdc = yes; then
6357 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6358 if test "$cross_compiling" = yes; then :
6360 else
6361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6362 /* end confdefs.h. */
6363 #include <ctype.h>
6364 #include <stdlib.h>
6365 #if ((' ' & 0x0FF) == 0x020)
6366 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6367 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6368 #else
6369 # define ISLOWER(c) \
6370 (('a' <= (c) && (c) <= 'i') \
6371 || ('j' <= (c) && (c) <= 'r') \
6372 || ('s' <= (c) && (c) <= 'z'))
6373 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6374 #endif
6376 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6378 main ()
6380 int i;
6381 for (i = 0; i < 256; i++)
6382 if (XOR (islower (i), ISLOWER (i))
6383 || toupper (i) != TOUPPER (i))
6384 return 2;
6385 return 0;
6387 _ACEOF
6388 if ac_fn_c_try_run "$LINENO"; then :
6390 else
6391 ac_cv_header_stdc=no
6393 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6394 conftest.$ac_objext conftest.beam conftest.$ac_ext
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6400 $as_echo "$ac_cv_header_stdc" >&6; }
6401 if test $ac_cv_header_stdc = yes; then
6403 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6407 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6408 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6409 inttypes.h stdint.h unistd.h
6410 do :
6411 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6412 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6414 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6415 cat >>confdefs.h <<_ACEOF
6416 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6417 _ACEOF
6421 done
6424 for ac_header in \
6425 AL/al.h \
6426 ApplicationServices/ApplicationServices.h \
6427 AudioToolbox/AudioConverter.h \
6428 AudioUnit/AudioUnit.h \
6429 AudioUnit/AudioComponent.h \
6430 CL/cl.h \
6431 Carbon/Carbon.h \
6432 CoreAudio/CoreAudio.h \
6433 CoreServices/CoreServices.h \
6434 DiskArbitration/DiskArbitration.h \
6435 IOKit/IOKitLib.h \
6436 IOKit/hid/IOHIDLib.h \
6437 OpenAL/al.h \
6438 OpenCL/opencl.h \
6439 QuickTime/ImageCompression.h \
6440 Security/Security.h \
6441 alias.h \
6442 alsa/asoundlib.h \
6443 arpa/inet.h \
6444 arpa/nameser.h \
6445 asm/types.h \
6446 asm/user.h \
6447 curses.h \
6448 direct.h \
6449 dirent.h \
6450 dlfcn.h \
6451 elf.h \
6452 float.h \
6453 fnmatch.h \
6454 fontconfig/fontconfig.h \
6455 getopt.h \
6456 gettext-po.h \
6457 grp.h \
6458 gsm.h \
6459 gsm/gsm.h \
6460 ieeefp.h \
6461 inet/mib2.h \
6462 io.h \
6463 kstat.h \
6464 lber.h \
6465 ldap.h \
6466 libproc.h \
6467 link.h \
6468 linux/cdrom.h \
6469 linux/compiler.h \
6470 linux/filter.h \
6471 linux/hdreg.h \
6472 linux/input.h \
6473 linux/ioctl.h \
6474 linux/joystick.h \
6475 linux/major.h \
6476 linux/param.h \
6477 linux/serial.h \
6478 linux/types.h \
6479 linux/ucdrom.h \
6480 lwp.h \
6481 mach-o/nlist.h \
6482 mach-o/loader.h \
6483 mach/mach.h \
6484 mach/machine.h \
6485 machine/cpu.h \
6486 machine/limits.h \
6487 machine/sysarch.h \
6488 mntent.h \
6489 ncurses.h \
6490 netdb.h \
6491 netinet/in.h \
6492 netinet/in_systm.h \
6493 netinet/tcp.h \
6494 netinet/tcp_fsm.h \
6495 poll.h \
6496 port.h \
6497 process.h \
6498 pthread.h \
6499 pwd.h \
6500 sched.h \
6501 scsi/scsi.h \
6502 scsi/scsi_ioctl.h \
6503 scsi/sg.h \
6504 stdbool.h \
6505 stdint.h \
6506 stropts.h \
6507 sys/asoundlib.h \
6508 sys/attr.h \
6509 sys/cdio.h \
6510 sys/elf32.h \
6511 sys/epoll.h \
6512 sys/event.h \
6513 sys/exec_elf.h \
6514 sys/filio.h \
6515 sys/inotify.h \
6516 sys/ioctl.h \
6517 sys/ipc.h \
6518 sys/limits.h \
6519 sys/link.h \
6520 sys/mman.h \
6521 sys/modem.h \
6522 sys/msg.h \
6523 sys/mtio.h \
6524 sys/param.h \
6525 sys/poll.h \
6526 sys/prctl.h \
6527 sys/protosw.h \
6528 sys/ptrace.h \
6529 sys/queue.h \
6530 sys/resource.h \
6531 sys/scsiio.h \
6532 sys/shm.h \
6533 sys/signal.h \
6534 sys/socket.h \
6535 sys/socketvar.h \
6536 sys/sockio.h \
6537 sys/statvfs.h \
6538 sys/strtio.h \
6539 sys/syscall.h \
6540 sys/tihdr.h \
6541 sys/time.h \
6542 sys/timeout.h \
6543 sys/times.h \
6544 sys/uio.h \
6545 sys/user.h \
6546 sys/utsname.h \
6547 sys/vm86.h \
6548 sys/wait.h \
6549 syscall.h \
6550 termios.h \
6551 unistd.h \
6552 utime.h \
6553 valgrind/memcheck.h \
6554 valgrind/valgrind.h \
6555 zlib.h
6557 do :
6558 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6559 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6560 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6561 cat >>confdefs.h <<_ACEOF
6562 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6563 _ACEOF
6567 done
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6570 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6571 if ${ac_cv_header_stat_broken+:} false; then :
6572 $as_echo_n "(cached) " >&6
6573 else
6574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6575 /* end confdefs.h. */
6576 #include <sys/types.h>
6577 #include <sys/stat.h>
6579 #if defined S_ISBLK && defined S_IFDIR
6580 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6581 #endif
6583 #if defined S_ISBLK && defined S_IFCHR
6584 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6585 #endif
6587 #if defined S_ISLNK && defined S_IFREG
6588 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6589 #endif
6591 #if defined S_ISSOCK && defined S_IFREG
6592 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6593 #endif
6595 _ACEOF
6596 if ac_fn_c_try_compile "$LINENO"; then :
6597 ac_cv_header_stat_broken=no
6598 else
6599 ac_cv_header_stat_broken=yes
6601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6604 $as_echo "$ac_cv_header_stat_broken" >&6; }
6605 if test $ac_cv_header_stat_broken = yes; then
6607 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6613 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6614 do :
6615 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6616 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6617 #ifdef HAVE_SYS_PARAM_H
6618 # include <sys/param.h>
6619 #endif
6621 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6622 cat >>confdefs.h <<_ACEOF
6623 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6624 _ACEOF
6628 done
6631 for ac_header in \
6632 netinet/ip.h \
6633 net/if.h \
6634 net/if_arp.h \
6635 net/if_dl.h \
6636 net/if_types.h \
6637 net/route.h \
6638 netinet/if_ether.h \
6639 netinet/if_inarp.h \
6640 netinet/in_pcb.h \
6641 netinet/ip_icmp.h \
6642 netinet/ip_var.h \
6643 netinet/udp.h \
6644 netipx/ipx.h \
6645 sys/un.h \
6647 do :
6648 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6649 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6650 #ifdef HAVE_SYS_SOCKET_H
6651 # include <sys/socket.h>
6652 #endif
6653 #ifdef HAVE_SYS_SOCKETVAR_H
6654 # include <sys/socketvar.h>
6655 #endif
6656 #ifdef HAVE_NET_ROUTE_H
6657 # include <net/route.h>
6658 #endif
6659 #ifdef HAVE_NETINET_IN_H
6660 # include <netinet/in.h>
6661 #endif
6662 #ifdef HAVE_NETINET_IN_SYSTM_H
6663 # include <netinet/in_systm.h>
6664 #endif
6665 #ifdef HAVE_NET_IF_H
6666 # include <net/if.h>
6667 #endif
6668 #ifdef HAVE_NETINET_IP_H
6669 # include <netinet/ip.h>
6670 #endif
6672 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6673 cat >>confdefs.h <<_ACEOF
6674 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6675 _ACEOF
6679 done
6682 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6683 do :
6684 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6685 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6686 #ifdef HAVE_ALIAS_H
6687 # include <alias.h>
6688 #endif
6689 #ifdef HAVE_SYS_SOCKET_H
6690 # include <sys/socket.h>
6691 #endif
6692 #ifdef HAVE_SYS_SOCKETVAR_H
6693 # include <sys/socketvar.h>
6694 #endif
6695 #ifdef HAVE_SYS_TIMEOUT_H
6696 # include <sys/timeout.h>
6697 #endif
6698 #ifdef HAVE_NETINET_IN_H
6699 # include <netinet/in.h>
6700 #endif
6701 #ifdef HAVE_NETINET_IN_SYSTM_H
6702 # include <netinet/in_systm.h>
6703 #endif
6704 #ifdef HAVE_NETINET_IP_H
6705 # include <netinet/ip.h>
6706 #endif
6707 #ifdef HAVE_NETINET_IP_VAR_H
6708 # include <netinet/ip_var.h>
6709 #endif
6710 #ifdef HAVE_NETINET_IP_ICMP_H
6711 # include <netinet/ip_icmp.h>
6712 #endif
6713 #ifdef HAVE_NETINET_UDP_H
6714 # include <netinet/udp.h>
6715 #endif
6716 #ifdef HAVE_NETINET_TCP_H
6717 # include <netinet/tcp.h>
6718 #endif
6719 #ifdef HAVE_NETINET_TCP_TIMER_H
6720 #include <netinet/tcp_timer.h>
6721 #endif
6723 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6724 cat >>confdefs.h <<_ACEOF
6725 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6726 _ACEOF
6730 done
6733 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6734 do :
6735 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6736 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6737 #ifdef HAVE_ASM_TYPES_H
6738 # include <asm/types.h>
6739 #endif
6740 #ifdef HAVE_SYS_SOCKET_H
6741 # include <sys/socket.h>
6742 #endif
6743 #ifdef HAVE_LINUX_TYPES_H
6744 # include <linux/types.h>
6745 #endif
6747 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6748 cat >>confdefs.h <<_ACEOF
6749 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6750 _ACEOF
6754 done
6757 for ac_header in mach-o/dyld_images.h
6758 do :
6759 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6760 # include <stdbool.h>
6761 #endif
6762 #ifdef HAVE_STDINT_H
6763 # include <stdint.h>
6764 #endif
6766 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6767 cat >>confdefs.h <<_ACEOF
6768 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6769 _ACEOF
6773 done
6776 for ac_header in resolv.h
6777 do :
6778 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6779 #ifdef HAVE_SYS_SOCKET_H
6780 # include <sys/socket.h>
6781 #endif
6782 #ifdef HAVE_NETINET_IN_H
6783 # include <netinet/in.h>
6784 #endif
6785 #ifdef HAVE_ARPA_NAMESER_H
6786 # include <arpa/nameser.h>
6787 #endif
6789 if test "x$ac_cv_header_resolv_h" = xyes; then :
6790 cat >>confdefs.h <<_ACEOF
6791 #define HAVE_RESOLV_H 1
6792 _ACEOF
6796 done
6799 for ac_header in ifaddrs.h
6800 do :
6801 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6803 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6804 cat >>confdefs.h <<_ACEOF
6805 #define HAVE_IFADDRS_H 1
6806 _ACEOF
6810 done
6813 for ac_header in ucontext.h
6814 do :
6815 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6817 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6818 cat >>confdefs.h <<_ACEOF
6819 #define HAVE_UCONTEXT_H 1
6820 _ACEOF
6824 done
6827 for ac_header in sys/thr.h
6828 do :
6829 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6830 #ifdef HAVE_UCONTEXT_H
6831 #include <ucontext.h>
6832 #endif
6834 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6835 cat >>confdefs.h <<_ACEOF
6836 #define HAVE_SYS_THR_H 1
6837 _ACEOF
6841 done
6844 for ac_header in pthread_np.h
6845 do :
6846 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6847 #include <pthread.h>
6848 #endif
6850 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6851 cat >>confdefs.h <<_ACEOF
6852 #define HAVE_PTHREAD_NP_H 1
6853 _ACEOF
6857 done
6860 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6861 do :
6862 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6863 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6864 #include <sys/time.h>
6865 #endif
6866 #include <sys/types.h>
6867 #ifdef HAVE_ASM_TYPES_H
6868 #include <asm/types.h>
6869 #endif
6871 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6872 cat >>confdefs.h <<_ACEOF
6873 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6874 _ACEOF
6878 done
6881 for ac_header in libprocstat.h
6882 do :
6883 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6884 #include <sys/param.h>
6885 #endif
6886 #ifdef HAVE_SYS_QUEUE_H
6887 #include <sys/queue.h>
6888 #endif
6889 #ifdef HAVE_SYS_SOCKET_H
6890 #include <sys/socket.h>
6891 #endif
6893 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6894 cat >>confdefs.h <<_ACEOF
6895 #define HAVE_LIBPROCSTAT_H 1
6896 _ACEOF
6900 done
6904 dlldir="\${libdir}/wine"
6906 DLLPREFIX=""
6908 DLLFLAGS="-D_REENTRANT"
6910 LDRPATH_INSTALL=""
6912 LDRPATH_LOCAL=""
6914 LIBEXT="so"
6915 DLLEXT=".so"
6916 IMPLIBEXT="def"
6917 STATIC_IMPLIBEXT="def.a"
6918 # Extract the first word of "ldd", so it can be a program name with args.
6919 set dummy ldd; ac_word=$2
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6921 $as_echo_n "checking for $ac_word... " >&6; }
6922 if ${ac_cv_path_LDD+:} false; then :
6923 $as_echo_n "(cached) " >&6
6924 else
6925 case $LDD in
6926 [\\/]* | ?:[\\/]*)
6927 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6931 as_dummy="/sbin:/usr/sbin:$PATH"
6932 for as_dir in $as_dummy
6934 IFS=$as_save_IFS
6935 test -z "$as_dir" && as_dir=.
6936 for ac_exec_ext in '' $ac_executable_extensions; do
6937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6938 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6940 break 2
6942 done
6943 done
6944 IFS=$as_save_IFS
6946 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6948 esac
6950 LDD=$ac_cv_path_LDD
6951 if test -n "$LDD"; then
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6953 $as_echo "$LDD" >&6; }
6954 else
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6956 $as_echo "no" >&6; }
6960 if test -n "$ac_tool_prefix"; then
6961 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6962 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6964 $as_echo_n "checking for $ac_word... " >&6; }
6965 if ${ac_cv_prog_READELF+:} false; then :
6966 $as_echo_n "(cached) " >&6
6967 else
6968 if test -n "$READELF"; then
6969 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6970 else
6971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6972 for as_dir in $PATH
6974 IFS=$as_save_IFS
6975 test -z "$as_dir" && as_dir=.
6976 for ac_exec_ext in '' $ac_executable_extensions; do
6977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6978 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6980 break 2
6982 done
6983 done
6984 IFS=$as_save_IFS
6988 READELF=$ac_cv_prog_READELF
6989 if test -n "$READELF"; then
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6991 $as_echo "$READELF" >&6; }
6992 else
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6994 $as_echo "no" >&6; }
6999 if test -z "$ac_cv_prog_READELF"; then
7000 ac_ct_READELF=$READELF
7001 # Extract the first word of "readelf", so it can be a program name with args.
7002 set dummy readelf; ac_word=$2
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7004 $as_echo_n "checking for $ac_word... " >&6; }
7005 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7006 $as_echo_n "(cached) " >&6
7007 else
7008 if test -n "$ac_ct_READELF"; then
7009 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7010 else
7011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7012 for as_dir in $PATH
7014 IFS=$as_save_IFS
7015 test -z "$as_dir" && as_dir=.
7016 for ac_exec_ext in '' $ac_executable_extensions; do
7017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7018 ac_cv_prog_ac_ct_READELF="readelf"
7019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7020 break 2
7022 done
7023 done
7024 IFS=$as_save_IFS
7028 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7029 if test -n "$ac_ct_READELF"; then
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7031 $as_echo "$ac_ct_READELF" >&6; }
7032 else
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7034 $as_echo "no" >&6; }
7037 if test "x$ac_ct_READELF" = x; then
7038 READELF="true"
7039 else
7040 case $cross_compiling:$ac_tool_warned in
7041 yes:)
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7044 ac_tool_warned=yes ;;
7045 esac
7046 READELF=$ac_ct_READELF
7048 else
7049 READELF="$ac_cv_prog_READELF"
7053 wine_binary="wine"
7054 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7056 wine_rules_file=conf$$rules.make
7057 rm -f $wine_rules_file
7058 ALL_POT_FILES=""
7059 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7060 ALL_TEST_RESOURCES=""
7063 wine_fn_append_file ()
7065 as_fn_append $1 " \\$as_nl $2"
7068 wine_fn_ignore_file ()
7070 case "$1" in
7071 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7072 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7073 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7074 esac
7077 wine_fn_append_rule ()
7079 $as_echo "$1" >>$wine_rules_file
7082 wine_fn_has_flag ()
7084 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7087 wine_fn_depend_rules ()
7089 ac_alldeps=$1
7090 ac_makedep="\$(MAKEDEP)"
7091 ac_input=Make.vars.in:$ac_dir/Makefile.in
7092 case $1 in
7093 *.in)
7094 ac_input=$ac_input:$1
7095 test "$srcdir" = . || ac_alldeps="$srcdir/$ac_alldeps" ;;
7097 ac_makedep="$1 $ac_makedep" ;;
7098 esac
7100 wine_fn_append_rule \
7101 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status $ac_alldeps \$(MAKEDEP)
7102 @./config.status --file $ac_dir/Makefile:$ac_input && \$(MAKEDEP) -M $ac_dir
7103 depend: $ac_dir/depend
7104 .PHONY: $ac_dir/depend
7105 $ac_dir/depend: $ac_makedep dummy
7106 @./config.status --file $ac_dir/Makefile:$ac_input && \$(MAKEDEP) -M $ac_dir"
7109 wine_fn_pot_rules ()
7111 test "x$with_gettextpo" = xyes || return
7113 if wine_fn_has_flag mc
7114 then
7115 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7116 wine_fn_append_rule \
7117 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7118 @cd $ac_dir && \$(MAKE) msg.pot
7119 $ac_dir/msg.pot: tools/wmc include"
7121 if wine_fn_has_flag po
7122 then
7123 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7124 wine_fn_append_rule \
7125 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7126 @cd $ac_dir && \$(MAKE) rsrc.pot
7127 $ac_dir/rsrc.pot: tools/wrc include"
7131 wine_fn_all_rules ()
7133 ac_rules=$1
7135 wine_fn_depend_rules ${ac_rules:-Make.rules}
7136 wine_fn_append_rule \
7137 "all: $ac_dir
7138 .PHONY: $ac_dir
7139 $ac_dir: $ac_dir/Makefile dummy
7140 @cd $ac_dir && \$(MAKE)"
7143 wine_fn_install_rules ()
7145 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7147 wine_fn_append_rule \
7148 ".PHONY: $ac_dir/install $ac_dir/uninstall
7149 $ac_dir/install:: $ac_dir
7150 @cd $ac_dir && \$(MAKE) install
7151 $ac_dir/uninstall:: $ac_dir/Makefile
7152 @cd $ac_dir && \$(MAKE) uninstall
7153 install:: $ac_dir/install
7154 __uninstall__: $ac_dir/uninstall"
7156 if wine_fn_has_flag install-lib
7157 then
7158 wine_fn_append_rule \
7159 ".PHONY: $ac_dir/install-lib
7160 $ac_dir/install-lib:: $ac_dir
7161 @cd $ac_dir && \$(MAKE) install-lib
7162 install-lib:: $ac_dir/install-lib"
7165 if wine_fn_has_flag install-dev
7166 then
7167 wine_fn_append_rule \
7168 ".PHONY: $ac_dir/install-dev
7169 $ac_dir/install-dev:: $ac_dir
7170 @cd $ac_dir && \$(MAKE) install-dev
7171 install-dev:: $ac_dir/install-dev"
7175 wine_fn_clean_rules ()
7177 ac_clean=$@
7178 ac_extraclean="$ac_dir/Makefile"
7179 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7181 if wine_fn_has_flag clean
7182 then
7183 wine_fn_append_rule \
7184 "__clean__: $ac_dir/clean
7185 .PHONY: $ac_dir/clean
7186 $ac_dir/clean: $ac_dir/Makefile
7187 @cd $ac_dir && \$(MAKE) clean
7188 \$(RM) $ac_extraclean"
7189 else
7190 wine_fn_append_rule \
7191 "__clean__: $ac_dir/clean
7192 .PHONY: $ac_dir/clean
7193 $ac_dir/clean: dummy
7194 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7198 wine_fn_disabled_rules ()
7200 ac_clean=$@
7201 ac_extraclean="$ac_dir/Makefile"
7202 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7204 wine_fn_append_rule \
7205 "__clean__: $ac_dir/clean
7206 .PHONY: $ac_dir/clean
7207 $ac_dir/clean: dummy
7208 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7211 wine_fn_config_makefile ()
7213 ac_dir=$1
7214 ac_enable=$2
7215 ac_flags=$3
7217 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7218 wine_fn_disabled_rules; return
7220 wine_fn_all_rules
7221 wine_fn_install_rules
7222 wine_fn_clean_rules
7225 wine_fn_config_lib ()
7227 ac_name=$1
7228 ac_flags=$2
7229 ac_dir=dlls/$ac_name
7230 ac_deps="include"
7232 if test "x$enable_tools" = xno; then :
7234 else
7235 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7237 wine_fn_all_rules Make.rules.in
7238 wine_fn_clean_rules
7240 wine_fn_append_rule \
7241 ".PHONY: $ac_dir/install $ac_dir/uninstall
7242 $ac_dir/install:: $ac_dir
7243 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7244 $ac_dir/uninstall::
7245 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7246 install install-dev:: $ac_dir/install
7247 __uninstall__: $ac_dir/uninstall
7248 __builddeps__: $ac_dir
7249 $ac_dir: $ac_deps"
7252 wine_fn_config_dll ()
7254 ac_name=$1
7255 ac_dir=dlls/$ac_name
7256 ac_enable=$2
7257 ac_flags=$3
7258 ac_implib=${4:-$ac_name}
7259 ac_file=$ac_dir/lib$ac_implib
7260 ac_dll=$ac_name
7261 ac_deps="include"
7262 ac_implibflags=""
7264 if test "x$enable_tools" = xno; then :
7266 else
7267 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7269 case $ac_name in
7270 *16) ac_implibflags=" -m16" ;;
7271 *.*) ;;
7272 *) ac_dll=$ac_dll.dll ;;
7273 esac
7275 ac_clean=
7276 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7277 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7278 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7279 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7281 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7282 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7283 then
7284 wine_fn_depend_rules Make.rules.in
7285 wine_fn_clean_rules $ac_clean
7286 else
7287 wine_fn_disabled_rules $ac_clean
7288 return
7290 else
7291 wine_fn_all_rules Make.rules.in
7292 wine_fn_clean_rules $ac_clean
7293 wine_fn_append_rule \
7294 "$ac_dir: __builddeps__
7295 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7296 @cd $ac_dir && \$(MAKE) \$@
7297 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7298 install install-lib:: $ac_dir/install-lib
7299 __uninstall__: $ac_dir/uninstall"
7300 if test -n "$DLLEXT"
7301 then
7302 wine_fn_append_rule \
7303 "$ac_dir/install-lib:: $ac_dir
7304 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7305 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7306 $ac_dir/uninstall::
7307 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7308 else
7309 wine_fn_append_rule \
7310 "$ac_dir/install-lib:: $ac_dir
7311 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7312 $ac_dir/uninstall::
7313 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7316 wine_fn_pot_rules
7319 if wine_fn_has_flag staticimplib
7320 then
7321 wine_fn_append_rule \
7322 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7323 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7324 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7325 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7326 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7327 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7328 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7329 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7330 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7331 $ac_dir/uninstall::
7332 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7333 install install-dev:: $ac_dir/install-dev
7334 __uninstall__: $ac_dir/uninstall"
7336 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7337 then
7338 wine_fn_append_rule \
7339 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7340 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7341 $ac_dir/uninstall::
7342 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7345 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7346 then
7347 wine_fn_append_rule \
7348 "__builddeps__: $ac_file.cross.a
7349 $ac_file.cross.a: $ac_dir/Makefile dummy
7350 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7353 elif wine_fn_has_flag implib
7354 then
7355 wine_fn_append_rule \
7356 "__builddeps__: $ac_file.$IMPLIBEXT
7357 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7358 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7359 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7360 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7361 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7362 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7363 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7364 $ac_dir/uninstall::
7365 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7366 install install-dev:: $ac_dir/install-dev
7367 __uninstall__: $ac_dir/uninstall"
7368 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7369 then
7370 wine_fn_append_rule \
7371 "__builddeps__: $ac_file.cross.a
7372 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7373 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7376 if test "$ac_name" != "$ac_implib"
7377 then
7378 wine_fn_append_rule \
7379 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7380 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7381 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7382 clean::
7383 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7384 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7385 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7386 then
7387 wine_fn_append_rule \
7388 "__builddeps__: dlls/lib$ac_implib.cross.a
7389 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7390 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7391 clean::
7392 \$(RM) dlls/lib$ac_implib.cross.a"
7393 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7399 wine_fn_config_program ()
7401 ac_name=$1
7402 ac_dir=programs/$ac_name
7403 ac_enable=$2
7404 ac_flags=$3
7405 ac_program=$ac_name
7407 case $ac_name in
7408 *.*) ;;
7409 *) ac_program=$ac_program.exe ;;
7410 esac
7412 ac_clean=
7413 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7414 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7415 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7416 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7418 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7419 wine_fn_disabled_rules $ac_clean; return
7422 wine_fn_all_rules Make.rules.in
7423 wine_fn_clean_rules $ac_clean
7424 wine_fn_append_rule "$ac_dir: __builddeps__"
7425 wine_fn_pot_rules
7427 wine_fn_has_flag install || return
7428 wine_fn_append_rule \
7429 ".PHONY: $ac_dir/install $ac_dir/uninstall
7430 install install-lib:: $ac_dir/install
7431 __uninstall__: $ac_dir/uninstall"
7433 if test -n "$DLLEXT"
7434 then
7435 wine_fn_append_rule \
7436 "$ac_dir/install:: $ac_dir
7437 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7438 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7439 $ac_dir/uninstall::
7440 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7442 if test -z "$with_wine64" && wine_fn_has_flag installbin
7443 then
7444 wine_fn_append_rule \
7445 "$ac_dir/install:: __tooldeps__
7446 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7447 $ac_dir/uninstall::
7448 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7450 else
7451 wine_fn_append_rule \
7452 "$ac_dir/install:: $ac_dir
7453 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7454 $ac_dir/uninstall::
7455 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7458 if test -z "$with_wine64" && wine_fn_has_flag manpage
7459 then
7460 wine_fn_append_rule \
7461 "$ac_dir/install:: $ac_dir
7462 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7463 $ac_dir/uninstall::
7464 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7468 wine_fn_config_test ()
7470 ac_dir=$1
7471 ac_name=$2
7472 ac_flags=$3
7474 ac_clean=
7475 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7476 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7477 ac_clean="$ac_clean $ac_dir/testlist.c"
7479 if test "x$enable_tests" = xno; then :
7480 wine_fn_disabled_rules $ac_clean; return
7483 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7484 wine_fn_all_rules Make.rules.in
7485 wine_fn_clean_rules $ac_clean
7487 wine_fn_append_rule \
7488 "$ac_dir: programs/winetest/Makefile __builddeps__
7489 programs/winetest: $ac_dir
7490 check test: $ac_dir/test
7491 .PHONY: $ac_dir/test
7492 $ac_dir/test: dummy
7493 @cd $ac_dir && \$(MAKE) test
7494 testclean::
7495 \$(RM) $ac_dir/*.ok"
7497 if test -n "$CROSSTARGET"
7498 then
7499 wine_fn_append_rule \
7500 "crosstest: $ac_dir/crosstest
7501 .PHONY: $ac_dir/crosstest
7502 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7503 @cd $ac_dir && \$(MAKE) crosstest"
7507 wine_fn_config_tool ()
7509 ac_dir=$1
7510 ac_flags=$2
7511 if test "x$enable_tools" = xno; then :
7512 return
7515 wine_fn_all_rules
7516 wine_fn_install_rules
7517 wine_fn_clean_rules
7519 wine_fn_append_rule "__tooldeps__: $ac_dir"
7520 wine_fn_append_rule "$ac_dir: libs/port"
7521 case $ac_dir in
7522 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7523 esac
7524 case $ac_dir in
7525 tools/*) wine_fn_ignore_file $ac_dir/`expr $ac_dir : tools/"\\(.*\\)"`$ac_exeext ;;
7526 esac
7529 wine_fn_config_makerules ()
7531 ac_rules=$1
7532 ac_deps=$2
7533 wine_fn_append_rule \
7534 "$ac_rules: $srcdir/$ac_rules.in $ac_deps config.status
7535 @./config.status $ac_rules
7536 distclean::
7537 \$(RM) $ac_rules"
7538 wine_fn_ignore_file $ac_rules
7541 wine_fn_config_symlink ()
7543 ac_linkdir=
7544 if test "x$1" = "x-d"
7545 then
7546 ac_linkdir=$2
7547 shift; shift
7549 ac_links=$@
7550 wine_fn_append_rule \
7551 "$ac_links:
7552 @./config.status \$@
7553 distclean::
7554 \$(RM) $ac_links"
7555 for f in $ac_links; do wine_fn_ignore_file $f; done
7556 test -n "$ac_linkdir" || return
7557 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7559 wine_fn_ignore_file "loader/wine"
7560 test "$wine_binary" = wine || wine_fn_ignore_file "loader/$wine_binary"
7561 wine_fn_ignore_file "loader/wine-installed"
7563 LOADER_RULES="
7564 all: $wine_binary wine-installed
7566 install install-lib:: wine-installed
7567 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7569 uninstall::
7570 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7574 case $host_os in
7575 cygwin*|mingw32*)
7576 if test -n "$ac_tool_prefix"; then
7577 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7578 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7580 $as_echo_n "checking for $ac_word... " >&6; }
7581 if ${ac_cv_prog_DLLTOOL+:} false; then :
7582 $as_echo_n "(cached) " >&6
7583 else
7584 if test -n "$DLLTOOL"; then
7585 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7586 else
7587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7588 for as_dir in $PATH
7590 IFS=$as_save_IFS
7591 test -z "$as_dir" && as_dir=.
7592 for ac_exec_ext in '' $ac_executable_extensions; do
7593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7594 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7596 break 2
7598 done
7599 done
7600 IFS=$as_save_IFS
7604 DLLTOOL=$ac_cv_prog_DLLTOOL
7605 if test -n "$DLLTOOL"; then
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7607 $as_echo "$DLLTOOL" >&6; }
7608 else
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7610 $as_echo "no" >&6; }
7615 if test -z "$ac_cv_prog_DLLTOOL"; then
7616 ac_ct_DLLTOOL=$DLLTOOL
7617 # Extract the first word of "dlltool", so it can be a program name with args.
7618 set dummy dlltool; ac_word=$2
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7620 $as_echo_n "checking for $ac_word... " >&6; }
7621 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7622 $as_echo_n "(cached) " >&6
7623 else
7624 if test -n "$ac_ct_DLLTOOL"; then
7625 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7626 else
7627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7628 for as_dir in $PATH
7630 IFS=$as_save_IFS
7631 test -z "$as_dir" && as_dir=.
7632 for ac_exec_ext in '' $ac_executable_extensions; do
7633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7634 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7636 break 2
7638 done
7639 done
7640 IFS=$as_save_IFS
7644 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7645 if test -n "$ac_ct_DLLTOOL"; then
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7647 $as_echo "$ac_ct_DLLTOOL" >&6; }
7648 else
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7650 $as_echo "no" >&6; }
7653 if test "x$ac_ct_DLLTOOL" = x; then
7654 DLLTOOL="false"
7655 else
7656 case $cross_compiling:$ac_tool_warned in
7657 yes:)
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7660 ac_tool_warned=yes ;;
7661 esac
7662 DLLTOOL=$ac_ct_DLLTOOL
7664 else
7665 DLLTOOL="$ac_cv_prog_DLLTOOL"
7668 LIBEXT="dll"
7669 DLLEXT=""
7670 IMPLIBEXT="a"
7671 STATIC_IMPLIBEXT="a"
7672 enable_iphlpapi=${enable_iphlpapi:-no}
7673 enable_kernel32=${enable_kernel32:-no}
7674 enable_msvcrt=${enable_msvcrt:-no}
7675 enable_ntdll=${enable_ntdll:-no}
7676 enable_ws2_32=${enable_ws2_32:-no}
7677 enable_loader=${enable_loader:-no}
7678 enable_server=${enable_server:-no}
7679 with_x=${with_x:-no}
7680 with_pthread=${with_pthread:-no}
7682 crtlibs=""
7683 case $host_os in
7684 mingw32*)
7685 crtlibs="-lmsvcrt"
7686 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7688 esac
7690 wine_fn_ignore_file "libs/wine/libwine.dll"
7691 wine_fn_ignore_file "libs/wine/libwine.a"
7692 LIBWINE_RULES="
7693 all: libwine.dll libwine.a
7695 libwine.a: \$(srcdir)/wine.def
7696 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7698 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7699 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7701 install install-lib:: libwine.dll
7702 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7704 install install-dev:: libwine.a
7705 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7707 uninstall::
7708 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7710 clean::
7711 \$(RM) libwine.dll
7716 darwin*|macosx*)
7717 LIBEXT="dylib"
7718 DLLFLAGS="$DLLFLAGS -fPIC"
7719 LIBWINE_LDFLAGS="-multiply_defined suppress"
7720 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7721 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7722 COREFOUNDATIONLIB="-framework CoreFoundation"
7724 IOKITLIB="-framework IOKit -framework CoreFoundation"
7726 FORCEFEEDBACKLIB="-framework ForceFeedback -framework CoreFoundation"
7728 APPLICATIONSERVICESLIB="-framework ApplicationServices"
7730 CORESERVICESLIB="-framework CoreServices"
7732 APPKITLIB="-framework AppKit"
7734 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7735 case $host_os in
7736 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7737 esac
7738 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7739 then
7740 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
7743 if test "$ac_cv_header_Security_Security_h" = "yes"
7744 then
7745 SECURITYLIB="-framework Security -framework CoreFoundation"
7747 ac_save_LIBS="$LIBS"
7748 LIBS="$LIBS $SECURITYLIB"
7749 for ac_func in SSLCopyPeerCertificates
7750 do :
7751 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7752 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7753 cat >>confdefs.h <<_ACEOF
7754 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7755 _ACEOF
7758 done
7760 LIBS="$ac_save_LIBS"
7761 with_gnutls=${with_gnutls:-no}
7763 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7764 then
7765 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7766 then
7767 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7769 else
7770 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7773 ac_save_LIBS="$LIBS"
7774 LIBS="$LIBS $COREAUDIO"
7775 for ac_func in AUGraphAddNode
7776 do :
7777 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7778 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7779 cat >>confdefs.h <<_ACEOF
7780 #define HAVE_AUGRAPHADDNODE 1
7781 _ACEOF
7784 done
7786 LIBS="$ac_save_LIBS"
7788 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7789 then
7790 FRAMEWORK_OPENAL="-framework OpenAL"
7793 cat >>confdefs.h <<_ACEOF
7794 #define HAVE_OPENAL 1
7795 _ACEOF
7797 ac_cv_lib_openal=yes
7799 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7800 then
7801 LIBOPENCL="-framework OpenCL"
7803 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7805 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7806 then
7807 ac_save_LIBS="$LIBS"
7808 LIBS="$LIBS $IOKITLIB"
7809 for ac_func in IOHIDManagerCreate
7810 do :
7811 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7812 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7813 cat >>confdefs.h <<_ACEOF
7814 #define HAVE_IOHIDMANAGERCREATE 1
7815 _ACEOF
7818 done
7820 LIBS="$ac_save_LIBS"
7822 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7823 then
7824 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7826 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7827 else
7828 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7830 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7831 then
7832 CARBONLIB="-framework Carbon"
7836 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7837 then
7838 ac_save_LIBS="$LIBS"
7839 LIBS="$LIBS $APPLICATIONSERVICESLIB"
7840 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7841 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7842 enable_winemac_drv=${enable_winemac_drv:-yes}
7845 LIBS="$ac_save_LIBS"
7848 if test "x$enable_win16" = "xyes"
7849 then
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7851 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7852 if test "$cross_compiling" = yes; then :
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7854 $as_echo "cross-compiling, assuming yes" >&6; }
7855 else
7856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7857 /* end confdefs.h. */
7858 asm(".text\n"
7859 "bad:\tnop;nop\n"
7860 "good:\tnop;nop\n\t"
7861 ".globl _testfunc\n"
7862 "_testfunc:\tcallw good");
7863 extern void testfunc();
7865 main ()
7867 unsigned short *p = (unsigned short *)testfunc;
7868 return p[0] != 0xe866 || p[1] != 0xfffa
7870 return 0;
7872 _ACEOF
7873 if ac_fn_c_try_run "$LINENO"; then :
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7875 $as_echo "yes" >&6; }
7876 else
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7878 $as_echo "no" >&6; }
7879 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
7881 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7882 conftest.$ac_objext conftest.beam conftest.$ac_ext
7887 wine_fn_ignore_file "libs/wine/libwine*.dylib"
7888 LIBWINE_RULES="
7889 all: libwine.dylib
7891 libwine.\$(VERSION).dylib: \$(OBJS)
7892 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7894 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
7895 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
7897 libwine.dylib: libwine.\$(SOVERSION).dylib
7898 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
7900 install install-lib:: libwine.\$(VERSION).dylib
7901 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
7902 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7904 install install-dev::
7905 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
7907 uninstall::
7908 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7910 clean::
7911 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7915 as_fn_append LOADER_RULES "
7916 $wine_binary: main.o wine_info.plist
7917 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7919 wine-installed: main.o wine_info.plist
7920 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7924 linux-android*)
7925 DLLFLAGS="$DLLFLAGS -fPIC"
7926 DLLPREFIX="lib"
7927 LDEXECFLAGS=""
7928 dlldir="\${libdir}"
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7930 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7931 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7932 $as_echo_n "(cached) " >&6
7933 else
7934 ac_wine_try_cflags_saved=$CFLAGS
7935 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7937 /* end confdefs.h. */
7938 int main(int argc, char **argv) { return 0; }
7939 _ACEOF
7940 if ac_fn_c_try_link "$LINENO"; then :
7941 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7942 else
7943 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7945 rm -f core conftest.err conftest.$ac_objext \
7946 conftest$ac_exeext conftest.$ac_ext
7947 CFLAGS=$ac_wine_try_cflags_saved
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7950 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7951 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7952 LDEXECFLAGS="-Wl,--export-dynamic"
7954 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7956 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7957 if eval \${$as_ac_var+:} false; then :
7958 $as_echo_n "(cached) " >&6
7959 else
7960 ac_wine_try_cflags_saved=$CFLAGS
7961 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7963 /* end confdefs.h. */
7964 int main(int argc, char **argv) { return 0; }
7965 _ACEOF
7966 if ac_fn_c_try_link "$LINENO"; then :
7967 eval "$as_ac_var=yes"
7968 else
7969 eval "$as_ac_var=no"
7971 rm -f core conftest.err conftest.$ac_objext \
7972 conftest$ac_exeext conftest.$ac_ext
7973 CFLAGS=$ac_wine_try_cflags_saved
7975 eval ac_res=\$$as_ac_var
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7977 $as_echo "$ac_res" >&6; }
7978 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7979 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7980 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7981 else
7982 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7984 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7985 if eval \${$as_ac_var+:} false; then :
7986 $as_echo_n "(cached) " >&6
7987 else
7988 ac_wine_try_cflags_saved=$CFLAGS
7989 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7991 /* end confdefs.h. */
7992 int main(int argc, char **argv) { return 0; }
7993 _ACEOF
7994 if ac_fn_c_try_link "$LINENO"; then :
7995 eval "$as_ac_var=yes"
7996 else
7997 eval "$as_ac_var=no"
7999 rm -f core conftest.err conftest.$ac_objext \
8000 conftest$ac_exeext conftest.$ac_ext
8001 CFLAGS=$ac_wine_try_cflags_saved
8003 eval ac_res=\$$as_ac_var
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8005 $as_echo "$ac_res" >&6; }
8006 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
8007 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8008 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8013 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8014 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8015 $as_echo_n "(cached) " >&6
8016 else
8017 ac_wine_try_cflags_saved=$CFLAGS
8018 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8020 /* end confdefs.h. */
8021 int main(int argc, char **argv) { return 0; }
8022 _ACEOF
8023 if ac_fn_c_try_link "$LINENO"; then :
8024 ac_cv_cflags__Wl___enable_new_dtags=yes
8025 else
8026 ac_cv_cflags__Wl___enable_new_dtags=no
8028 rm -f core conftest.err conftest.$ac_objext \
8029 conftest$ac_exeext conftest.$ac_ext
8030 CFLAGS=$ac_wine_try_cflags_saved
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8033 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8034 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
8035 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8038 case $host_cpu in
8039 *i[3456789]86* | x86_64)
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8041 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8042 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8043 $as_echo_n "(cached) " >&6
8044 else
8045 ac_wine_try_cflags_saved=$CFLAGS
8046 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8048 /* end confdefs.h. */
8049 int main(int argc, char **argv) { return 0; }
8050 _ACEOF
8051 if ac_fn_c_try_link "$LINENO"; then :
8052 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8053 else
8054 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8056 rm -f core conftest.err conftest.$ac_objext \
8057 conftest$ac_exeext conftest.$ac_ext
8058 CFLAGS=$ac_wine_try_cflags_saved
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8061 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8062 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
8063 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8066 esac
8068 wine_fn_ignore_file "libs/wine/libwine.so"
8069 LIBWINE_RULES="
8070 all: libwine.so
8072 libwine.so: \$(OBJS)
8073 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8075 install install-lib:: libwine.so
8076 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8078 uninstall::
8079 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8081 clean::
8082 \$(RM) libwine.so
8086 as_fn_append LOADER_RULES "
8087 $wine_binary: main.o
8088 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8090 wine-installed: main.o
8091 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8096 DLLFLAGS="$DLLFLAGS -fPIC"
8097 LDEXECFLAGS=""
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8099 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8100 if ${ac_cv_c_dll_gnuelf+:} false; then :
8101 $as_echo_n "(cached) " >&6
8102 else
8103 ac_wine_try_cflags_saved=$CFLAGS
8104 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8106 /* end confdefs.h. */
8107 void myfunc() {}
8108 _ACEOF
8109 if ac_fn_c_try_link "$LINENO"; then :
8110 ac_cv_c_dll_gnuelf="yes"
8111 else
8112 ac_cv_c_dll_gnuelf="no"
8114 rm -f core conftest.err conftest.$ac_objext \
8115 conftest$ac_exeext conftest.$ac_ext
8116 CFLAGS=$ac_wine_try_cflags_saved
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8119 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8120 if test "$ac_cv_c_dll_gnuelf" = "yes"
8121 then
8122 LDSHARED="\$(CC) -shared"
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8124 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8125 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8126 $as_echo_n "(cached) " >&6
8127 else
8128 ac_wine_try_cflags_saved=$CFLAGS
8129 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8131 /* end confdefs.h. */
8132 int main(int argc, char **argv) { return 0; }
8133 _ACEOF
8134 if ac_fn_c_try_link "$LINENO"; then :
8135 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8136 else
8137 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8139 rm -f core conftest.err conftest.$ac_objext \
8140 conftest$ac_exeext conftest.$ac_ext
8141 CFLAGS=$ac_wine_try_cflags_saved
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8144 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8145 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
8146 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
8147 else
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8149 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8150 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8151 $as_echo_n "(cached) " >&6
8152 else
8153 ac_wine_try_cflags_saved=$CFLAGS
8154 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8156 /* end confdefs.h. */
8157 int main(int argc, char **argv) { return 0; }
8158 _ACEOF
8159 if ac_fn_c_try_link "$LINENO"; then :
8160 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8161 else
8162 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8164 rm -f core conftest.err conftest.$ac_objext \
8165 conftest$ac_exeext conftest.$ac_ext
8166 CFLAGS=$ac_wine_try_cflags_saved
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8169 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8170 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
8171 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
8175 echo '{ global: *; };' >conftest.map
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8177 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8178 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8179 $as_echo_n "(cached) " >&6
8180 else
8181 ac_wine_try_cflags_saved=$CFLAGS
8182 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8184 /* end confdefs.h. */
8185 int main(int argc, char **argv) { return 0; }
8186 _ACEOF
8187 if ac_fn_c_try_link "$LINENO"; then :
8188 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8189 else
8190 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8192 rm -f core conftest.err conftest.$ac_objext \
8193 conftest$ac_exeext conftest.$ac_ext
8194 CFLAGS=$ac_wine_try_cflags_saved
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8197 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8198 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
8199 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8201 rm -f conftest.map
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8204 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8205 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8206 $as_echo_n "(cached) " >&6
8207 else
8208 ac_wine_try_cflags_saved=$CFLAGS
8209 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8211 /* end confdefs.h. */
8212 int main(int argc, char **argv) { return 0; }
8213 _ACEOF
8214 if ac_fn_c_try_link "$LINENO"; then :
8215 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8216 else
8217 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8219 rm -f core conftest.err conftest.$ac_objext \
8220 conftest$ac_exeext conftest.$ac_ext
8221 CFLAGS=$ac_wine_try_cflags_saved
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8224 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8225 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
8226 LDEXECFLAGS="-Wl,--export-dynamic"
8229 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8231 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8232 if eval \${$as_ac_var+:} false; then :
8233 $as_echo_n "(cached) " >&6
8234 else
8235 ac_wine_try_cflags_saved=$CFLAGS
8236 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8238 /* end confdefs.h. */
8239 int main(int argc, char **argv) { return 0; }
8240 _ACEOF
8241 if ac_fn_c_try_link "$LINENO"; then :
8242 eval "$as_ac_var=yes"
8243 else
8244 eval "$as_ac_var=no"
8246 rm -f core conftest.err conftest.$ac_objext \
8247 conftest$ac_exeext conftest.$ac_ext
8248 CFLAGS=$ac_wine_try_cflags_saved
8250 eval ac_res=\$$as_ac_var
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8252 $as_echo "$ac_res" >&6; }
8253 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
8254 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8255 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8256 else
8257 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8259 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8260 if eval \${$as_ac_var+:} false; then :
8261 $as_echo_n "(cached) " >&6
8262 else
8263 ac_wine_try_cflags_saved=$CFLAGS
8264 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8266 /* end confdefs.h. */
8267 int main(int argc, char **argv) { return 0; }
8268 _ACEOF
8269 if ac_fn_c_try_link "$LINENO"; then :
8270 eval "$as_ac_var=yes"
8271 else
8272 eval "$as_ac_var=no"
8274 rm -f core conftest.err conftest.$ac_objext \
8275 conftest$ac_exeext conftest.$ac_ext
8276 CFLAGS=$ac_wine_try_cflags_saved
8278 eval ac_res=\$$as_ac_var
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8280 $as_echo "$ac_res" >&6; }
8281 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
8282 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8283 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8288 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8289 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8290 $as_echo_n "(cached) " >&6
8291 else
8292 ac_wine_try_cflags_saved=$CFLAGS
8293 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8295 /* end confdefs.h. */
8296 int main(int argc, char **argv) { return 0; }
8297 _ACEOF
8298 if ac_fn_c_try_link "$LINENO"; then :
8299 ac_cv_cflags__Wl___enable_new_dtags=yes
8300 else
8301 ac_cv_cflags__Wl___enable_new_dtags=no
8303 rm -f core conftest.err conftest.$ac_objext \
8304 conftest$ac_exeext conftest.$ac_ext
8305 CFLAGS=$ac_wine_try_cflags_saved
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8308 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8309 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
8310 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8313 case $host_cpu in
8314 *i[3456789]86* | x86_64)
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8316 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8317 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8318 $as_echo_n "(cached) " >&6
8319 else
8320 ac_wine_try_cflags_saved=$CFLAGS
8321 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8323 /* end confdefs.h. */
8324 int main(int argc, char **argv) { return 0; }
8325 _ACEOF
8326 if ac_fn_c_try_link "$LINENO"; then :
8327 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8328 else
8329 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8331 rm -f core conftest.err conftest.$ac_objext \
8332 conftest$ac_exeext conftest.$ac_ext
8333 CFLAGS=$ac_wine_try_cflags_saved
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8336 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8337 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
8338 case $host_os in
8339 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8340 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8341 esac
8344 # Extract the first word of "prelink", so it can be a program name with args.
8345 set dummy prelink; ac_word=$2
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8347 $as_echo_n "checking for $ac_word... " >&6; }
8348 if ${ac_cv_path_PRELINK+:} false; then :
8349 $as_echo_n "(cached) " >&6
8350 else
8351 case $PRELINK in
8352 [\\/]* | ?:[\\/]*)
8353 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8357 for as_dir in /sbin /usr/sbin $PATH
8359 IFS=$as_save_IFS
8360 test -z "$as_dir" && as_dir=.
8361 for ac_exec_ext in '' $ac_executable_extensions; do
8362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8363 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8365 break 2
8367 done
8368 done
8369 IFS=$as_save_IFS
8371 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8373 esac
8375 PRELINK=$ac_cv_path_PRELINK
8376 if test -n "$PRELINK"; then
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8378 $as_echo "$PRELINK" >&6; }
8379 else
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8381 $as_echo "no" >&6; }
8385 if test "x$PRELINK" = xfalse
8386 then
8387 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8390 esac
8392 else
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8394 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8395 if ${ac_cv_c_dll_unixware+:} false; then :
8396 $as_echo_n "(cached) " >&6
8397 else
8398 ac_wine_try_cflags_saved=$CFLAGS
8399 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8401 /* end confdefs.h. */
8402 void myfunc() {}
8403 _ACEOF
8404 if ac_fn_c_try_link "$LINENO"; then :
8405 ac_cv_c_dll_unixware="yes"
8406 else
8407 ac_cv_c_dll_unixware="no"
8409 rm -f core conftest.err conftest.$ac_objext \
8410 conftest$ac_exeext conftest.$ac_ext
8411 CFLAGS=$ac_wine_try_cflags_saved
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8414 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8415 if test "$ac_cv_c_dll_unixware" = "yes"
8416 then
8417 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
8420 wine_fn_ignore_file "libs/wine/libwine.so*"
8421 LIBWINE_RULES="
8422 all: libwine.so
8424 libwine.so.\$(VERSION): \$(OBJS) \$(srcdir)/wine.map
8425 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8427 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
8428 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
8430 libwine.so: libwine.so.\$(SOVERSION)
8431 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
8433 install install-lib:: libwine.so.\$(VERSION)
8434 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
8435 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8437 install install-dev::
8438 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
8440 uninstall::
8441 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8443 clean::
8444 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION)
8448 as_fn_append LOADER_RULES "
8449 $wine_binary: main.o
8450 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8452 wine-installed: main.o
8453 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8456 esac
8458 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8459 enable_winemac_drv=${enable_winemac_drv:-no}
8461 CROSSTARGET=""
8463 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8464 then
8465 case "$host_cpu" in
8466 i[3456789]86*)
8467 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
8468 mingw32-gcc" ;;
8469 x86_64)
8470 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 " ;;
8472 ac_prefix_list="" ;;
8473 esac
8474 for ac_prog in $ac_prefix_list
8476 # Extract the first word of "$ac_prog", so it can be a program name with args.
8477 set dummy $ac_prog; ac_word=$2
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8479 $as_echo_n "checking for $ac_word... " >&6; }
8480 if ${ac_cv_prog_CROSSCC+:} false; then :
8481 $as_echo_n "(cached) " >&6
8482 else
8483 if test -n "$CROSSCC"; then
8484 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8485 else
8486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8487 for as_dir in $PATH
8489 IFS=$as_save_IFS
8490 test -z "$as_dir" && as_dir=.
8491 for ac_exec_ext in '' $ac_executable_extensions; do
8492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8493 ac_cv_prog_CROSSCC="$ac_prog"
8494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8495 break 2
8497 done
8498 done
8499 IFS=$as_save_IFS
8503 CROSSCC=$ac_cv_prog_CROSSCC
8504 if test -n "$CROSSCC"; then
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8506 $as_echo "$CROSSCC" >&6; }
8507 else
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8509 $as_echo "no" >&6; }
8513 test -n "$CROSSCC" && break
8514 done
8515 test -n "$CROSSCC" || CROSSCC="false"
8517 if test "$CROSSCC" != "false"
8518 then
8519 ac_save_CC="$CC"
8520 CC="$CROSSCC"
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8522 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8524 /* end confdefs.h. */
8527 main ()
8531 return 0;
8533 _ACEOF
8534 if ac_fn_c_try_compile "$LINENO"; then :
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8536 $as_echo "yes" >&6; }
8537 set x $CROSSCC
8538 shift
8539 while test $# -ge 1
8541 case "$1" in
8542 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8543 esac
8544 shift
8545 done
8546 else
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8548 $as_echo "no" >&6; }
8550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8551 CC="$ac_save_CC"
8556 if test "$ac_cv_header_pthread_h" = "yes"
8557 then
8558 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8559 if test "x$ac_cv_func_pthread_create" = xyes; then :
8561 else
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8563 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8564 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8565 $as_echo_n "(cached) " >&6
8566 else
8567 ac_check_lib_save_LIBS=$LIBS
8568 LIBS="-lpthread $LIBS"
8569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8570 /* end confdefs.h. */
8572 /* Override any GCC internal prototype to avoid an error.
8573 Use char because int might match the return type of a GCC
8574 builtin and then its argument prototype would still apply. */
8575 #ifdef __cplusplus
8576 extern "C"
8577 #endif
8578 char pthread_create ();
8580 main ()
8582 return pthread_create ();
8584 return 0;
8586 _ACEOF
8587 if ac_fn_c_try_link "$LINENO"; then :
8588 ac_cv_lib_pthread_pthread_create=yes
8589 else
8590 ac_cv_lib_pthread_pthread_create=no
8592 rm -f core conftest.err conftest.$ac_objext \
8593 conftest$ac_exeext conftest.$ac_ext
8594 LIBS=$ac_check_lib_save_LIBS
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8597 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8598 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8599 LIBPTHREAD="-lpthread"
8606 if test "x$ac_cv_func_pthread_create" != xyes -a "x$LIBPTHREAD" = x; then :
8607 case "x$with_pthread" in
8608 xno) ;;
8609 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8610 Wine cannot support threads without libpthread.
8611 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8612 esac
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8617 $as_echo_n "checking for X... " >&6; }
8620 # Check whether --with-x was given.
8621 if test "${with_x+set}" = set; then :
8622 withval=$with_x;
8625 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8626 if test "x$with_x" = xno; then
8627 # The user explicitly disabled X.
8628 have_x=disabled
8629 else
8630 case $x_includes,$x_libraries in #(
8631 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8632 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8633 $as_echo_n "(cached) " >&6
8634 else
8635 # One or both of the vars are not set, and there is no cached value.
8636 ac_x_includes=no ac_x_libraries=no
8637 rm -f -r conftest.dir
8638 if mkdir conftest.dir; then
8639 cd conftest.dir
8640 cat >Imakefile <<'_ACEOF'
8641 incroot:
8642 @echo incroot='${INCROOT}'
8643 usrlibdir:
8644 @echo usrlibdir='${USRLIBDIR}'
8645 libdir:
8646 @echo libdir='${LIBDIR}'
8647 _ACEOF
8648 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8649 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8650 for ac_var in incroot usrlibdir libdir; do
8651 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8652 done
8653 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8654 for ac_extension in a so sl dylib la dll; do
8655 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8656 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8657 ac_im_usrlibdir=$ac_im_libdir; break
8659 done
8660 # Screen out bogus values from the imake configuration. They are
8661 # bogus both because they are the default anyway, and because
8662 # using them would break gcc on systems where it needs fixed includes.
8663 case $ac_im_incroot in
8664 /usr/include) ac_x_includes= ;;
8665 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8666 esac
8667 case $ac_im_usrlibdir in
8668 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8669 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8670 esac
8672 cd ..
8673 rm -f -r conftest.dir
8676 # Standard set of common directories for X headers.
8677 # Check X11 before X11Rn because it is often a symlink to the current release.
8678 ac_x_header_dirs='
8679 /usr/X11/include
8680 /usr/X11R7/include
8681 /usr/X11R6/include
8682 /usr/X11R5/include
8683 /usr/X11R4/include
8685 /usr/include/X11
8686 /usr/include/X11R7
8687 /usr/include/X11R6
8688 /usr/include/X11R5
8689 /usr/include/X11R4
8691 /usr/local/X11/include
8692 /usr/local/X11R7/include
8693 /usr/local/X11R6/include
8694 /usr/local/X11R5/include
8695 /usr/local/X11R4/include
8697 /usr/local/include/X11
8698 /usr/local/include/X11R7
8699 /usr/local/include/X11R6
8700 /usr/local/include/X11R5
8701 /usr/local/include/X11R4
8703 /usr/X386/include
8704 /usr/x386/include
8705 /usr/XFree86/include/X11
8707 /usr/include
8708 /usr/local/include
8709 /usr/unsupported/include
8710 /usr/athena/include
8711 /usr/local/x11r5/include
8712 /usr/lpp/Xamples/include
8714 /usr/openwin/include
8715 /usr/openwin/share/include'
8717 if test "$ac_x_includes" = no; then
8718 # Guess where to find include files, by looking for Xlib.h.
8719 # First, try using that file with no special directory specified.
8720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8721 /* end confdefs.h. */
8722 #include <X11/Xlib.h>
8723 _ACEOF
8724 if ac_fn_c_try_cpp "$LINENO"; then :
8725 # We can compile using X headers with no special include directory.
8726 ac_x_includes=
8727 else
8728 for ac_dir in $ac_x_header_dirs; do
8729 if test -r "$ac_dir/X11/Xlib.h"; then
8730 ac_x_includes=$ac_dir
8731 break
8733 done
8735 rm -f conftest.err conftest.i conftest.$ac_ext
8736 fi # $ac_x_includes = no
8738 if test "$ac_x_libraries" = no; then
8739 # Check for the libraries.
8740 # See if we find them without any special options.
8741 # Don't add to $LIBS permanently.
8742 ac_save_LIBS=$LIBS
8743 LIBS="-lX11 $LIBS"
8744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8745 /* end confdefs.h. */
8746 #include <X11/Xlib.h>
8748 main ()
8750 XrmInitialize ()
8752 return 0;
8754 _ACEOF
8755 if ac_fn_c_try_link "$LINENO"; then :
8756 LIBS=$ac_save_LIBS
8757 # We can link X programs with no special library path.
8758 ac_x_libraries=
8759 else
8760 LIBS=$ac_save_LIBS
8761 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8763 # Don't even attempt the hair of trying to link an X program!
8764 for ac_extension in a so sl dylib la dll; do
8765 if test -r "$ac_dir/libX11.$ac_extension"; then
8766 ac_x_libraries=$ac_dir
8767 break 2
8769 done
8770 done
8772 rm -f core conftest.err conftest.$ac_objext \
8773 conftest$ac_exeext conftest.$ac_ext
8774 fi # $ac_x_libraries = no
8776 case $ac_x_includes,$ac_x_libraries in #(
8777 no,* | *,no | *\'*)
8778 # Didn't find X, or a directory has "'" in its name.
8779 ac_cv_have_x="have_x=no";; #(
8781 # Record where we found X for the cache.
8782 ac_cv_have_x="have_x=yes\
8783 ac_x_includes='$ac_x_includes'\
8784 ac_x_libraries='$ac_x_libraries'"
8785 esac
8787 ;; #(
8788 *) have_x=yes;;
8789 esac
8790 eval "$ac_cv_have_x"
8791 fi # $with_x != no
8793 if test "$have_x" != yes; then
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8795 $as_echo "$have_x" >&6; }
8796 no_x=yes
8797 else
8798 # If each of the values was on the command line, it overrides each guess.
8799 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8800 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8801 # Update the cache value to reflect the command line values.
8802 ac_cv_have_x="have_x=yes\
8803 ac_x_includes='$x_includes'\
8804 ac_x_libraries='$x_libraries'"
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8806 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8809 if test "$no_x" = yes; then
8810 # Not all programs may use this symbol, but it does not hurt to define it.
8812 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8814 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8815 else
8816 if test -n "$x_includes"; then
8817 X_CFLAGS="$X_CFLAGS -I$x_includes"
8820 # It would also be nice to do this for all -L options, not just this one.
8821 if test -n "$x_libraries"; then
8822 X_LIBS="$X_LIBS -L$x_libraries"
8823 # For Solaris; some versions of Sun CC require a space after -R and
8824 # others require no space. Words are not sufficient . . . .
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8826 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8827 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8828 ac_xsave_c_werror_flag=$ac_c_werror_flag
8829 ac_c_werror_flag=yes
8830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8831 /* end confdefs.h. */
8834 main ()
8838 return 0;
8840 _ACEOF
8841 if ac_fn_c_try_link "$LINENO"; then :
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8843 $as_echo "no" >&6; }
8844 X_LIBS="$X_LIBS -R$x_libraries"
8845 else
8846 LIBS="$ac_xsave_LIBS -R $x_libraries"
8847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8848 /* end confdefs.h. */
8851 main ()
8855 return 0;
8857 _ACEOF
8858 if ac_fn_c_try_link "$LINENO"; then :
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8860 $as_echo "yes" >&6; }
8861 X_LIBS="$X_LIBS -R $x_libraries"
8862 else
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8864 $as_echo "neither works" >&6; }
8866 rm -f core conftest.err conftest.$ac_objext \
8867 conftest$ac_exeext conftest.$ac_ext
8869 rm -f core conftest.err conftest.$ac_objext \
8870 conftest$ac_exeext conftest.$ac_ext
8871 ac_c_werror_flag=$ac_xsave_c_werror_flag
8872 LIBS=$ac_xsave_LIBS
8875 # Check for system-dependent libraries X programs must link with.
8876 # Do this before checking for the system-independent R6 libraries
8877 # (-lICE), since we may need -lsocket or whatever for X linking.
8879 if test "$ISC" = yes; then
8880 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8881 else
8882 # Martyn Johnson says this is needed for Ultrix, if the X
8883 # libraries were built with DECnet support. And Karl Berry says
8884 # the Alpha needs dnet_stub (dnet does not exist).
8885 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8887 /* end confdefs.h. */
8889 /* Override any GCC internal prototype to avoid an error.
8890 Use char because int might match the return type of a GCC
8891 builtin and then its argument prototype would still apply. */
8892 #ifdef __cplusplus
8893 extern "C"
8894 #endif
8895 char XOpenDisplay ();
8897 main ()
8899 return XOpenDisplay ();
8901 return 0;
8903 _ACEOF
8904 if ac_fn_c_try_link "$LINENO"; then :
8906 else
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8908 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8909 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8910 $as_echo_n "(cached) " >&6
8911 else
8912 ac_check_lib_save_LIBS=$LIBS
8913 LIBS="-ldnet $LIBS"
8914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8915 /* end confdefs.h. */
8917 /* Override any GCC internal prototype to avoid an error.
8918 Use char because int might match the return type of a GCC
8919 builtin and then its argument prototype would still apply. */
8920 #ifdef __cplusplus
8921 extern "C"
8922 #endif
8923 char dnet_ntoa ();
8925 main ()
8927 return dnet_ntoa ();
8929 return 0;
8931 _ACEOF
8932 if ac_fn_c_try_link "$LINENO"; then :
8933 ac_cv_lib_dnet_dnet_ntoa=yes
8934 else
8935 ac_cv_lib_dnet_dnet_ntoa=no
8937 rm -f core conftest.err conftest.$ac_objext \
8938 conftest$ac_exeext conftest.$ac_ext
8939 LIBS=$ac_check_lib_save_LIBS
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8942 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8943 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8944 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8947 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8949 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8950 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8951 $as_echo_n "(cached) " >&6
8952 else
8953 ac_check_lib_save_LIBS=$LIBS
8954 LIBS="-ldnet_stub $LIBS"
8955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8956 /* end confdefs.h. */
8958 /* Override any GCC internal prototype to avoid an error.
8959 Use char because int might match the return type of a GCC
8960 builtin and then its argument prototype would still apply. */
8961 #ifdef __cplusplus
8962 extern "C"
8963 #endif
8964 char dnet_ntoa ();
8966 main ()
8968 return dnet_ntoa ();
8970 return 0;
8972 _ACEOF
8973 if ac_fn_c_try_link "$LINENO"; then :
8974 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8975 else
8976 ac_cv_lib_dnet_stub_dnet_ntoa=no
8978 rm -f core conftest.err conftest.$ac_objext \
8979 conftest$ac_exeext conftest.$ac_ext
8980 LIBS=$ac_check_lib_save_LIBS
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8983 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8984 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8985 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8990 rm -f core conftest.err conftest.$ac_objext \
8991 conftest$ac_exeext conftest.$ac_ext
8992 LIBS="$ac_xsave_LIBS"
8994 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8995 # to get the SysV transport functions.
8996 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8997 # needs -lnsl.
8998 # The nsl library prevents programs from opening the X display
8999 # on Irix 5.2, according to T.E. Dickey.
9000 # The functions gethostbyname, getservbyname, and inet_addr are
9001 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9002 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9003 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9007 if test $ac_cv_func_gethostbyname = no; then
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9009 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9010 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9011 $as_echo_n "(cached) " >&6
9012 else
9013 ac_check_lib_save_LIBS=$LIBS
9014 LIBS="-lnsl $LIBS"
9015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9016 /* end confdefs.h. */
9018 /* Override any GCC internal prototype to avoid an error.
9019 Use char because int might match the return type of a GCC
9020 builtin and then its argument prototype would still apply. */
9021 #ifdef __cplusplus
9022 extern "C"
9023 #endif
9024 char gethostbyname ();
9026 main ()
9028 return gethostbyname ();
9030 return 0;
9032 _ACEOF
9033 if ac_fn_c_try_link "$LINENO"; then :
9034 ac_cv_lib_nsl_gethostbyname=yes
9035 else
9036 ac_cv_lib_nsl_gethostbyname=no
9038 rm -f core conftest.err conftest.$ac_objext \
9039 conftest$ac_exeext conftest.$ac_ext
9040 LIBS=$ac_check_lib_save_LIBS
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9043 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9044 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9045 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9048 if test $ac_cv_lib_nsl_gethostbyname = no; then
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9050 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9051 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9052 $as_echo_n "(cached) " >&6
9053 else
9054 ac_check_lib_save_LIBS=$LIBS
9055 LIBS="-lbsd $LIBS"
9056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9057 /* end confdefs.h. */
9059 /* Override any GCC internal prototype to avoid an error.
9060 Use char because int might match the return type of a GCC
9061 builtin and then its argument prototype would still apply. */
9062 #ifdef __cplusplus
9063 extern "C"
9064 #endif
9065 char gethostbyname ();
9067 main ()
9069 return gethostbyname ();
9071 return 0;
9073 _ACEOF
9074 if ac_fn_c_try_link "$LINENO"; then :
9075 ac_cv_lib_bsd_gethostbyname=yes
9076 else
9077 ac_cv_lib_bsd_gethostbyname=no
9079 rm -f core conftest.err conftest.$ac_objext \
9080 conftest$ac_exeext conftest.$ac_ext
9081 LIBS=$ac_check_lib_save_LIBS
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9084 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9085 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9086 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9092 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9093 # socket/setsockopt and other routines are undefined under SCO ODT
9094 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9095 # on later versions), says Simon Leinen: it contains gethostby*
9096 # variants that don't use the name server (or something). -lsocket
9097 # must be given before -lnsl if both are needed. We assume that
9098 # if connect needs -lnsl, so does gethostbyname.
9099 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9100 if test "x$ac_cv_func_connect" = xyes; then :
9104 if test $ac_cv_func_connect = no; then
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9106 $as_echo_n "checking for connect in -lsocket... " >&6; }
9107 if ${ac_cv_lib_socket_connect+:} false; then :
9108 $as_echo_n "(cached) " >&6
9109 else
9110 ac_check_lib_save_LIBS=$LIBS
9111 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9113 /* end confdefs.h. */
9115 /* Override any GCC internal prototype to avoid an error.
9116 Use char because int might match the return type of a GCC
9117 builtin and then its argument prototype would still apply. */
9118 #ifdef __cplusplus
9119 extern "C"
9120 #endif
9121 char connect ();
9123 main ()
9125 return connect ();
9127 return 0;
9129 _ACEOF
9130 if ac_fn_c_try_link "$LINENO"; then :
9131 ac_cv_lib_socket_connect=yes
9132 else
9133 ac_cv_lib_socket_connect=no
9135 rm -f core conftest.err conftest.$ac_objext \
9136 conftest$ac_exeext conftest.$ac_ext
9137 LIBS=$ac_check_lib_save_LIBS
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9140 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9141 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9142 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9147 # Guillermo Gomez says -lposix is necessary on A/UX.
9148 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9149 if test "x$ac_cv_func_remove" = xyes; then :
9153 if test $ac_cv_func_remove = no; then
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9155 $as_echo_n "checking for remove in -lposix... " >&6; }
9156 if ${ac_cv_lib_posix_remove+:} false; then :
9157 $as_echo_n "(cached) " >&6
9158 else
9159 ac_check_lib_save_LIBS=$LIBS
9160 LIBS="-lposix $LIBS"
9161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9162 /* end confdefs.h. */
9164 /* Override any GCC internal prototype to avoid an error.
9165 Use char because int might match the return type of a GCC
9166 builtin and then its argument prototype would still apply. */
9167 #ifdef __cplusplus
9168 extern "C"
9169 #endif
9170 char remove ();
9172 main ()
9174 return remove ();
9176 return 0;
9178 _ACEOF
9179 if ac_fn_c_try_link "$LINENO"; then :
9180 ac_cv_lib_posix_remove=yes
9181 else
9182 ac_cv_lib_posix_remove=no
9184 rm -f core conftest.err conftest.$ac_objext \
9185 conftest$ac_exeext conftest.$ac_ext
9186 LIBS=$ac_check_lib_save_LIBS
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9189 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9190 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9191 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9196 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9197 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9198 if test "x$ac_cv_func_shmat" = xyes; then :
9202 if test $ac_cv_func_shmat = no; then
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9204 $as_echo_n "checking for shmat in -lipc... " >&6; }
9205 if ${ac_cv_lib_ipc_shmat+:} false; then :
9206 $as_echo_n "(cached) " >&6
9207 else
9208 ac_check_lib_save_LIBS=$LIBS
9209 LIBS="-lipc $LIBS"
9210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9211 /* end confdefs.h. */
9213 /* Override any GCC internal prototype to avoid an error.
9214 Use char because int might match the return type of a GCC
9215 builtin and then its argument prototype would still apply. */
9216 #ifdef __cplusplus
9217 extern "C"
9218 #endif
9219 char shmat ();
9221 main ()
9223 return shmat ();
9225 return 0;
9227 _ACEOF
9228 if ac_fn_c_try_link "$LINENO"; then :
9229 ac_cv_lib_ipc_shmat=yes
9230 else
9231 ac_cv_lib_ipc_shmat=no
9233 rm -f core conftest.err conftest.$ac_objext \
9234 conftest$ac_exeext conftest.$ac_ext
9235 LIBS=$ac_check_lib_save_LIBS
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9238 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9239 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9240 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9246 # Check for libraries that X11R6 Xt/Xaw programs need.
9247 ac_save_LDFLAGS=$LDFLAGS
9248 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9249 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9250 # check for ICE first), but we must link in the order -lSM -lICE or
9251 # we get undefined symbols. So assume we have SM if we have ICE.
9252 # These have to be linked with before -lX11, unlike the other
9253 # libraries we check for below, so use a different variable.
9254 # John Interrante, Karl Berry
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9256 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9257 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9258 $as_echo_n "(cached) " >&6
9259 else
9260 ac_check_lib_save_LIBS=$LIBS
9261 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9263 /* end confdefs.h. */
9265 /* Override any GCC internal prototype to avoid an error.
9266 Use char because int might match the return type of a GCC
9267 builtin and then its argument prototype would still apply. */
9268 #ifdef __cplusplus
9269 extern "C"
9270 #endif
9271 char IceConnectionNumber ();
9273 main ()
9275 return IceConnectionNumber ();
9277 return 0;
9279 _ACEOF
9280 if ac_fn_c_try_link "$LINENO"; then :
9281 ac_cv_lib_ICE_IceConnectionNumber=yes
9282 else
9283 ac_cv_lib_ICE_IceConnectionNumber=no
9285 rm -f core conftest.err conftest.$ac_objext \
9286 conftest$ac_exeext conftest.$ac_ext
9287 LIBS=$ac_check_lib_save_LIBS
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9290 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9291 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9292 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9295 LDFLAGS=$ac_save_LDFLAGS
9300 if test "$have_x" = "yes"
9301 then
9302 XLIB="-lX11"
9303 ac_save_CPPFLAGS="$CPPFLAGS"
9304 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9307 $as_echo_n "checking for -lX11... " >&6; }
9308 if ${ac_cv_lib_soname_X11+:} false; then :
9309 $as_echo_n "(cached) " >&6
9310 else
9311 ac_check_soname_save_LIBS=$LIBS
9312 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9314 /* end confdefs.h. */
9316 /* Override any GCC internal prototype to avoid an error.
9317 Use char because int might match the return type of a GCC
9318 builtin and then its argument prototype would still apply. */
9319 #ifdef __cplusplus
9320 extern "C"
9321 #endif
9322 char XCreateWindow ();
9324 main ()
9326 return XCreateWindow ();
9328 return 0;
9330 _ACEOF
9331 if ac_fn_c_try_link "$LINENO"; then :
9332 case "$LIBEXT" in
9333 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9334 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'` ;;
9335 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9336 if test "x$ac_cv_lib_soname_X11" = x; then :
9337 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9338 fi ;;
9339 esac
9341 rm -f core conftest.err conftest.$ac_objext \
9342 conftest$ac_exeext conftest.$ac_ext
9343 LIBS=$ac_check_soname_save_LIBS
9345 if test "x$ac_cv_lib_soname_X11" = "x"; then :
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9347 $as_echo "not found" >&6; }
9349 else
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9351 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9353 cat >>confdefs.h <<_ACEOF
9354 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9355 _ACEOF
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9360 $as_echo_n "checking for -lXext... " >&6; }
9361 if ${ac_cv_lib_soname_Xext+:} false; then :
9362 $as_echo_n "(cached) " >&6
9363 else
9364 ac_check_soname_save_LIBS=$LIBS
9365 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9367 /* end confdefs.h. */
9369 /* Override any GCC internal prototype to avoid an error.
9370 Use char because int might match the return type of a GCC
9371 builtin and then its argument prototype would still apply. */
9372 #ifdef __cplusplus
9373 extern "C"
9374 #endif
9375 char XextCreateExtension ();
9377 main ()
9379 return XextCreateExtension ();
9381 return 0;
9383 _ACEOF
9384 if ac_fn_c_try_link "$LINENO"; then :
9385 case "$LIBEXT" in
9386 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9387 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'` ;;
9388 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9389 if test "x$ac_cv_lib_soname_Xext" = x; then :
9390 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9391 fi ;;
9392 esac
9394 rm -f core conftest.err conftest.$ac_objext \
9395 conftest$ac_exeext conftest.$ac_ext
9396 LIBS=$ac_check_soname_save_LIBS
9398 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9400 $as_echo "not found" >&6; }
9402 else
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9404 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9406 cat >>confdefs.h <<_ACEOF
9407 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9408 _ACEOF
9410 XLIB="-lXext $XLIB"
9413 for ac_header in X11/Xlib.h \
9414 X11/XKBlib.h \
9415 X11/Xutil.h \
9416 X11/Xcursor/Xcursor.h \
9417 X11/extensions/shape.h \
9418 X11/extensions/XInput.h \
9419 X11/extensions/XInput2.h \
9420 X11/extensions/XShm.h \
9421 X11/extensions/Xcomposite.h \
9422 X11/extensions/Xinerama.h \
9423 X11/extensions/Xrandr.h \
9424 X11/extensions/Xrender.h \
9425 X11/extensions/xf86vmode.h \
9426 X11/extensions/xf86vmproto.h
9427 do :
9428 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9429 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9430 # include <X11/Xlib.h>
9431 #endif
9432 #ifdef HAVE_X11_XUTIL_H
9433 # include <X11/Xutil.h>
9434 #endif
9436 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9437 cat >>confdefs.h <<_ACEOF
9438 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9439 _ACEOF
9443 done
9446 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9447 then
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9449 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9450 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9451 $as_echo_n "(cached) " >&6
9452 else
9453 ac_check_lib_save_LIBS=$LIBS
9454 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9456 /* end confdefs.h. */
9458 /* Override any GCC internal prototype to avoid an error.
9459 Use char because int might match the return type of a GCC
9460 builtin and then its argument prototype would still apply. */
9461 #ifdef __cplusplus
9462 extern "C"
9463 #endif
9464 char XkbQueryExtension ();
9466 main ()
9468 return XkbQueryExtension ();
9470 return 0;
9472 _ACEOF
9473 if ac_fn_c_try_link "$LINENO"; then :
9474 ac_cv_lib_X11_XkbQueryExtension=yes
9475 else
9476 ac_cv_lib_X11_XkbQueryExtension=no
9478 rm -f core conftest.err conftest.$ac_objext \
9479 conftest$ac_exeext conftest.$ac_ext
9480 LIBS=$ac_check_lib_save_LIBS
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9483 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9484 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9486 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9492 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9493 then
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9495 $as_echo_n "checking for -lXcursor... " >&6; }
9496 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9497 $as_echo_n "(cached) " >&6
9498 else
9499 ac_check_soname_save_LIBS=$LIBS
9500 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9502 /* end confdefs.h. */
9504 /* Override any GCC internal prototype to avoid an error.
9505 Use char because int might match the return type of a GCC
9506 builtin and then its argument prototype would still apply. */
9507 #ifdef __cplusplus
9508 extern "C"
9509 #endif
9510 char XcursorImageLoadCursor ();
9512 main ()
9514 return XcursorImageLoadCursor ();
9516 return 0;
9518 _ACEOF
9519 if ac_fn_c_try_link "$LINENO"; then :
9520 case "$LIBEXT" in
9521 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9522 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'` ;;
9523 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9524 if test "x$ac_cv_lib_soname_Xcursor" = x; then :
9525 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9526 fi ;;
9527 esac
9529 rm -f core conftest.err conftest.$ac_objext \
9530 conftest$ac_exeext conftest.$ac_ext
9531 LIBS=$ac_check_soname_save_LIBS
9533 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9535 $as_echo "not found" >&6; }
9537 else
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9539 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9541 cat >>confdefs.h <<_ACEOF
9542 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9543 _ACEOF
9548 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9549 case "x$with_xcursor" in
9550 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9551 xno) ;;
9552 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9553 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9554 esac
9557 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9558 then
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9560 $as_echo_n "checking for -lXi... " >&6; }
9561 if ${ac_cv_lib_soname_Xi+:} false; then :
9562 $as_echo_n "(cached) " >&6
9563 else
9564 ac_check_soname_save_LIBS=$LIBS
9565 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9567 /* end confdefs.h. */
9569 /* Override any GCC internal prototype to avoid an error.
9570 Use char because int might match the return type of a GCC
9571 builtin and then its argument prototype would still apply. */
9572 #ifdef __cplusplus
9573 extern "C"
9574 #endif
9575 char XOpenDevice ();
9577 main ()
9579 return XOpenDevice ();
9581 return 0;
9583 _ACEOF
9584 if ac_fn_c_try_link "$LINENO"; then :
9585 case "$LIBEXT" in
9586 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9587 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'` ;;
9588 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9589 if test "x$ac_cv_lib_soname_Xi" = x; then :
9590 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9591 fi ;;
9592 esac
9594 rm -f core conftest.err conftest.$ac_objext \
9595 conftest$ac_exeext conftest.$ac_ext
9596 LIBS=$ac_check_soname_save_LIBS
9598 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9600 $as_echo "not found" >&6; }
9602 else
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9604 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9606 cat >>confdefs.h <<_ACEOF
9607 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9608 _ACEOF
9613 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9614 case "x$with_xinput" in
9615 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9616 xno) ;;
9617 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9618 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9619 esac
9622 if test "x$ac_cv_lib_soname_Xi" != x
9623 then
9624 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9625 case "x$with_xinput2" in
9626 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9627 xno) ;;
9628 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9629 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9630 esac
9634 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9635 then
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9637 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9638 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9639 $as_echo_n "(cached) " >&6
9640 else
9641 ac_check_lib_save_LIBS=$LIBS
9642 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9644 /* end confdefs.h. */
9646 /* Override any GCC internal prototype to avoid an error.
9647 Use char because int might match the return type of a GCC
9648 builtin and then its argument prototype would still apply. */
9649 #ifdef __cplusplus
9650 extern "C"
9651 #endif
9652 char XShmQueryExtension ();
9654 main ()
9656 return XShmQueryExtension ();
9658 return 0;
9660 _ACEOF
9661 if ac_fn_c_try_link "$LINENO"; then :
9662 ac_cv_lib_Xext_XShmQueryExtension=yes
9663 else
9664 ac_cv_lib_Xext_XShmQueryExtension=no
9666 rm -f core conftest.err conftest.$ac_objext \
9667 conftest$ac_exeext conftest.$ac_ext
9668 LIBS=$ac_check_lib_save_LIBS
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9671 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9672 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9674 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9679 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9680 case "x$with_xshm" in
9681 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9682 xno) ;;
9683 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9684 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9685 esac
9688 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9689 then
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9691 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9692 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9693 $as_echo_n "(cached) " >&6
9694 else
9695 ac_check_lib_save_LIBS=$LIBS
9696 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9698 /* end confdefs.h. */
9700 /* Override any GCC internal prototype to avoid an error.
9701 Use char because int might match the return type of a GCC
9702 builtin and then its argument prototype would still apply. */
9703 #ifdef __cplusplus
9704 extern "C"
9705 #endif
9706 char XShapeQueryExtension ();
9708 main ()
9710 return XShapeQueryExtension ();
9712 return 0;
9714 _ACEOF
9715 if ac_fn_c_try_link "$LINENO"; then :
9716 ac_cv_lib_Xext_XShapeQueryExtension=yes
9717 else
9718 ac_cv_lib_Xext_XShapeQueryExtension=no
9720 rm -f core conftest.err conftest.$ac_objext \
9721 conftest$ac_exeext conftest.$ac_ext
9722 LIBS=$ac_check_lib_save_LIBS
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9725 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9726 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9728 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9733 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9734 case "x$with_xshape" in
9735 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9736 xno) ;;
9737 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9738 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9739 esac
9742 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9743 then
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9745 $as_echo_n "checking for -lXxf86vm... " >&6; }
9746 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9747 $as_echo_n "(cached) " >&6
9748 else
9749 ac_check_soname_save_LIBS=$LIBS
9750 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9752 /* end confdefs.h. */
9754 /* Override any GCC internal prototype to avoid an error.
9755 Use char because int might match the return type of a GCC
9756 builtin and then its argument prototype would still apply. */
9757 #ifdef __cplusplus
9758 extern "C"
9759 #endif
9760 char XF86VidModeQueryExtension ();
9762 main ()
9764 return XF86VidModeQueryExtension ();
9766 return 0;
9768 _ACEOF
9769 if ac_fn_c_try_link "$LINENO"; then :
9770 case "$LIBEXT" in
9771 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9772 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'` ;;
9773 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9774 if test "x$ac_cv_lib_soname_Xxf86vm" = x; then :
9775 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9776 fi ;;
9777 esac
9779 rm -f core conftest.err conftest.$ac_objext \
9780 conftest$ac_exeext conftest.$ac_ext
9781 LIBS=$ac_check_soname_save_LIBS
9783 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9785 $as_echo "not found" >&6; }
9787 else
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9789 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9791 cat >>confdefs.h <<_ACEOF
9792 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9793 _ACEOF
9798 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9799 case "x$with_xxf86vm" in
9800 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9801 xno) ;;
9802 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9803 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9804 esac
9807 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"
9808 then
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9810 $as_echo_n "checking for -lXrender... " >&6; }
9811 if ${ac_cv_lib_soname_Xrender+:} false; then :
9812 $as_echo_n "(cached) " >&6
9813 else
9814 ac_check_soname_save_LIBS=$LIBS
9815 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9817 /* end confdefs.h. */
9819 /* Override any GCC internal prototype to avoid an error.
9820 Use char because int might match the return type of a GCC
9821 builtin and then its argument prototype would still apply. */
9822 #ifdef __cplusplus
9823 extern "C"
9824 #endif
9825 char XRenderQueryExtension ();
9827 main ()
9829 return XRenderQueryExtension ();
9831 return 0;
9833 _ACEOF
9834 if ac_fn_c_try_link "$LINENO"; then :
9835 case "$LIBEXT" in
9836 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9837 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'` ;;
9838 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9839 if test "x$ac_cv_lib_soname_Xrender" = x; then :
9840 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9841 fi ;;
9842 esac
9844 rm -f core conftest.err conftest.$ac_objext \
9845 conftest$ac_exeext conftest.$ac_ext
9846 LIBS=$ac_check_soname_save_LIBS
9848 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9850 $as_echo "not found" >&6; }
9852 else
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9854 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9856 cat >>confdefs.h <<_ACEOF
9857 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9858 _ACEOF
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9861 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9862 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9863 $as_echo_n "(cached) " >&6
9864 else
9865 ac_check_lib_save_LIBS=$LIBS
9866 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9868 /* end confdefs.h. */
9870 /* Override any GCC internal prototype to avoid an error.
9871 Use char because int might match the return type of a GCC
9872 builtin and then its argument prototype would still apply. */
9873 #ifdef __cplusplus
9874 extern "C"
9875 #endif
9876 char XRenderSetPictureTransform ();
9878 main ()
9880 return XRenderSetPictureTransform ();
9882 return 0;
9884 _ACEOF
9885 if ac_fn_c_try_link "$LINENO"; then :
9886 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9887 else
9888 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9890 rm -f core conftest.err conftest.$ac_objext \
9891 conftest$ac_exeext conftest.$ac_ext
9892 LIBS=$ac_check_lib_save_LIBS
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9895 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9896 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9898 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9903 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9904 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9905 $as_echo_n "(cached) " >&6
9906 else
9907 ac_check_lib_save_LIBS=$LIBS
9908 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9910 /* end confdefs.h. */
9912 /* Override any GCC internal prototype to avoid an error.
9913 Use char because int might match the return type of a GCC
9914 builtin and then its argument prototype would still apply. */
9915 #ifdef __cplusplus
9916 extern "C"
9917 #endif
9918 char XRenderCreateLinearGradient ();
9920 main ()
9922 return XRenderCreateLinearGradient ();
9924 return 0;
9926 _ACEOF
9927 if ac_fn_c_try_link "$LINENO"; then :
9928 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9929 else
9930 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9932 rm -f core conftest.err conftest.$ac_objext \
9933 conftest$ac_exeext conftest.$ac_ext
9934 LIBS=$ac_check_lib_save_LIBS
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9937 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9938 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9940 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9947 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9948 case "x$with_xrender" in
9949 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9950 xno) ;;
9951 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9952 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9953 esac
9956 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9957 then
9958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9959 /* end confdefs.h. */
9960 #include <X11/Xlib.h>
9961 #include <X11/extensions/Xrandr.h>
9963 main ()
9965 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9967 return 0;
9969 _ACEOF
9970 if ac_fn_c_try_compile "$LINENO"; then :
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9972 $as_echo_n "checking for -lXrandr... " >&6; }
9973 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9974 $as_echo_n "(cached) " >&6
9975 else
9976 ac_check_soname_save_LIBS=$LIBS
9977 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9979 /* end confdefs.h. */
9981 /* Override any GCC internal prototype to avoid an error.
9982 Use char because int might match the return type of a GCC
9983 builtin and then its argument prototype would still apply. */
9984 #ifdef __cplusplus
9985 extern "C"
9986 #endif
9987 char XRRQueryExtension ();
9989 main ()
9991 return XRRQueryExtension ();
9993 return 0;
9995 _ACEOF
9996 if ac_fn_c_try_link "$LINENO"; then :
9997 case "$LIBEXT" in
9998 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9999 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'` ;;
10000 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10001 if test "x$ac_cv_lib_soname_Xrandr" = x; then :
10002 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10003 fi ;;
10004 esac
10006 rm -f core conftest.err conftest.$ac_objext \
10007 conftest$ac_exeext conftest.$ac_ext
10008 LIBS=$ac_check_soname_save_LIBS
10010 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10012 $as_echo "not found" >&6; }
10014 else
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10016 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10018 cat >>confdefs.h <<_ACEOF
10019 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10020 _ACEOF
10022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10023 /* end confdefs.h. */
10024 #include <X11/Xlib.h>
10025 #include <X11/extensions/Xrandr.h>
10027 main ()
10029 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10031 return 0;
10033 _ACEOF
10034 if ac_fn_c_try_compile "$LINENO"; then :
10036 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10044 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10045 case "x$with_xrandr" in
10046 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10047 xno) ;;
10048 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10049 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10050 esac
10053 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10054 then
10055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10056 /* end confdefs.h. */
10057 #include <X11/Xlib.h>
10058 #include <X11/extensions/Xinerama.h>
10060 main ()
10062 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10064 return 0;
10066 _ACEOF
10067 if ac_fn_c_try_compile "$LINENO"; then :
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10069 $as_echo_n "checking for -lXinerama... " >&6; }
10070 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10071 $as_echo_n "(cached) " >&6
10072 else
10073 ac_check_soname_save_LIBS=$LIBS
10074 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
10075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10076 /* end confdefs.h. */
10078 /* Override any GCC internal prototype to avoid an error.
10079 Use char because int might match the return type of a GCC
10080 builtin and then its argument prototype would still apply. */
10081 #ifdef __cplusplus
10082 extern "C"
10083 #endif
10084 char XineramaQueryScreens ();
10086 main ()
10088 return XineramaQueryScreens ();
10090 return 0;
10092 _ACEOF
10093 if ac_fn_c_try_link "$LINENO"; then :
10094 case "$LIBEXT" in
10095 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10096 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'` ;;
10097 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10098 if test "x$ac_cv_lib_soname_Xinerama" = x; then :
10099 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10100 fi ;;
10101 esac
10103 rm -f core conftest.err conftest.$ac_objext \
10104 conftest$ac_exeext conftest.$ac_ext
10105 LIBS=$ac_check_soname_save_LIBS
10107 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10109 $as_echo "not found" >&6; }
10111 else
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10113 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10115 cat >>confdefs.h <<_ACEOF
10116 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10117 _ACEOF
10122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10124 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10125 case "x$with_xinerama" in
10126 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10127 xno) ;;
10128 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10129 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10130 esac
10133 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10134 then
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10136 $as_echo_n "checking for -lXcomposite... " >&6; }
10137 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10138 $as_echo_n "(cached) " >&6
10139 else
10140 ac_check_soname_save_LIBS=$LIBS
10141 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
10142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10143 /* end confdefs.h. */
10145 /* Override any GCC internal prototype to avoid an error.
10146 Use char because int might match the return type of a GCC
10147 builtin and then its argument prototype would still apply. */
10148 #ifdef __cplusplus
10149 extern "C"
10150 #endif
10151 char XCompositeRedirectWindow ();
10153 main ()
10155 return XCompositeRedirectWindow ();
10157 return 0;
10159 _ACEOF
10160 if ac_fn_c_try_link "$LINENO"; then :
10161 case "$LIBEXT" in
10162 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10163 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'` ;;
10164 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10165 if test "x$ac_cv_lib_soname_Xcomposite" = x; then :
10166 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10167 fi ;;
10168 esac
10170 rm -f core conftest.err conftest.$ac_objext \
10171 conftest$ac_exeext conftest.$ac_ext
10172 LIBS=$ac_check_soname_save_LIBS
10174 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10176 $as_echo "not found" >&6; }
10178 else
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10180 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10182 cat >>confdefs.h <<_ACEOF
10183 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10184 _ACEOF
10189 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10190 case "x$with_xcomposite" in
10191 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10192 xno) ;;
10193 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10194 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10195 esac
10198 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10199 #include <X11/Xlib.h>
10200 #endif
10202 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10204 cat >>confdefs.h <<_ACEOF
10205 #define HAVE_XICCALLBACK_CALLBACK 1
10206 _ACEOF
10210 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10211 #include <X11/Xlib.h>
10212 #endif
10214 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10216 cat >>confdefs.h <<_ACEOF
10217 #define HAVE_XEVENT_XCOOKIE 1
10218 _ACEOF
10225 opengl_msg=""
10226 if test "x$with_opengl" != "xno"
10227 then
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10229 $as_echo_n "checking for -lGL... " >&6; }
10230 if ${ac_cv_lib_soname_GL+:} false; then :
10231 $as_echo_n "(cached) " >&6
10232 else
10233 ac_check_soname_save_LIBS=$LIBS
10234 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
10235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10236 /* end confdefs.h. */
10238 /* Override any GCC internal prototype to avoid an error.
10239 Use char because int might match the return type of a GCC
10240 builtin and then its argument prototype would still apply. */
10241 #ifdef __cplusplus
10242 extern "C"
10243 #endif
10244 char glXCreateContext ();
10246 main ()
10248 return glXCreateContext ();
10250 return 0;
10252 _ACEOF
10253 if ac_fn_c_try_link "$LINENO"; then :
10254 case "$LIBEXT" in
10255 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10256 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'` ;;
10257 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10258 if test "x$ac_cv_lib_soname_GL" = x; then :
10259 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10260 fi ;;
10261 esac
10263 rm -f core conftest.err conftest.$ac_objext \
10264 conftest$ac_exeext conftest.$ac_ext
10265 LIBS=$ac_check_soname_save_LIBS
10267 if test "x$ac_cv_lib_soname_GL" = "x"; then :
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10269 $as_echo "not found" >&6; }
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10271 $as_echo_n "checking for -lGL... " >&6; }
10272 if ${ac_cv_lib_soname_GL+:} false; then :
10273 $as_echo_n "(cached) " >&6
10274 else
10275 ac_check_soname_save_LIBS=$LIBS
10276 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"
10277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10278 /* end confdefs.h. */
10280 /* Override any GCC internal prototype to avoid an error.
10281 Use char because int might match the return type of a GCC
10282 builtin and then its argument prototype would still apply. */
10283 #ifdef __cplusplus
10284 extern "C"
10285 #endif
10286 char glXCreateContext ();
10288 main ()
10290 return glXCreateContext ();
10292 return 0;
10294 _ACEOF
10295 if ac_fn_c_try_link "$LINENO"; then :
10296 case "$LIBEXT" in
10297 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10298 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'` ;;
10299 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10300 if test "x$ac_cv_lib_soname_GL" = x; then :
10301 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10302 fi ;;
10303 esac
10305 rm -f core conftest.err conftest.$ac_objext \
10306 conftest$ac_exeext conftest.$ac_ext
10307 LIBS=$ac_check_soname_save_LIBS
10309 if test "x$ac_cv_lib_soname_GL" = "x"; then :
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10311 $as_echo "not found" >&6; }
10312 if test -f /usr/X11R6/lib/libGL.a
10313 then
10314 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10315 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10316 else
10317 opengl_msg="No OpenGL library found on this system."
10319 else
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10321 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10323 cat >>confdefs.h <<_ACEOF
10324 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10325 _ACEOF
10327 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"
10329 else
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10331 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10333 cat >>confdefs.h <<_ACEOF
10334 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10335 _ACEOF
10337 OPENGL_LIBS="-lGL"
10339 if test "x$with_glu" != "xno"
10340 then
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10342 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10343 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10344 $as_echo_n "(cached) " >&6
10345 else
10346 ac_check_lib_save_LIBS=$LIBS
10347 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
10348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10349 /* end confdefs.h. */
10351 /* Override any GCC internal prototype to avoid an error.
10352 Use char because int might match the return type of a GCC
10353 builtin and then its argument prototype would still apply. */
10354 #ifdef __cplusplus
10355 extern "C"
10356 #endif
10357 char gluLookAt ();
10359 main ()
10361 return gluLookAt ();
10363 return 0;
10365 _ACEOF
10366 if ac_fn_c_try_link "$LINENO"; then :
10367 ac_cv_lib_GLU_gluLookAt=yes
10368 else
10369 ac_cv_lib_GLU_gluLookAt=no
10371 rm -f core conftest.err conftest.$ac_objext \
10372 conftest$ac_exeext conftest.$ac_ext
10373 LIBS=$ac_check_lib_save_LIBS
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10376 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10377 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10381 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10382 case "x$with_glu" in
10383 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10384 xno) ;;
10385 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10386 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10387 esac
10391 if test "x$with_osmesa" != "xno"
10392 then
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10394 $as_echo_n "checking for -lOSMesa... " >&6; }
10395 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10396 $as_echo_n "(cached) " >&6
10397 else
10398 ac_check_soname_save_LIBS=$LIBS
10399 LIBS="-lOSMesa $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
10400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10403 /* Override any GCC internal prototype to avoid an error.
10404 Use char because int might match the return type of a GCC
10405 builtin and then its argument prototype would still apply. */
10406 #ifdef __cplusplus
10407 extern "C"
10408 #endif
10409 char glAccum ();
10411 main ()
10413 return glAccum ();
10415 return 0;
10417 _ACEOF
10418 if ac_fn_c_try_link "$LINENO"; then :
10419 case "$LIBEXT" in
10420 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10421 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'` ;;
10422 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10423 if test "x$ac_cv_lib_soname_OSMesa" = x; then :
10424 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10425 fi ;;
10426 esac
10428 rm -f core conftest.err conftest.$ac_objext \
10429 conftest$ac_exeext conftest.$ac_ext
10430 LIBS=$ac_check_soname_save_LIBS
10432 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10434 $as_echo "not found" >&6; }
10436 else
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10438 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10440 cat >>confdefs.h <<_ACEOF
10441 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10442 _ACEOF
10446 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10447 case "x$with_osmesa" in
10448 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10449 xno) ;;
10450 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10451 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10452 esac
10456 if test -n "$opengl_msg"; then :
10457 case "x$with_opengl" in
10458 x) as_fn_append wine_warnings "|$opengl_msg
10459 OpenGL and Direct3D won't be supported." ;;
10460 xno) ;;
10461 *) as_fn_error $? "$opengl_msg
10462 OpenGL and Direct3D won't be supported.
10463 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10464 esac
10467 CPPFLAGS="$ac_save_CPPFLAGS"
10468 else
10469 XLIB=""
10470 X_CFLAGS=""
10471 X_LIBS=""
10472 enable_winex11_drv=${enable_winex11_drv:-no}
10474 if test "x$XLIB" = "x"; then :
10475 case "x$with_x" in
10476 xno) ;;
10477 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10478 without X support, which probably isn't what you want. You will need
10479 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10480 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10481 esac
10484 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10486 if test "$ac_cv_header_CL_cl_h" = "yes"
10487 then
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10489 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10490 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10491 $as_echo_n "(cached) " >&6
10492 else
10493 ac_check_lib_save_LIBS=$LIBS
10494 LIBS="-lOpenCL $LIBS"
10495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10496 /* end confdefs.h. */
10498 /* Override any GCC internal prototype to avoid an error.
10499 Use char because int might match the return type of a GCC
10500 builtin and then its argument prototype would still apply. */
10501 #ifdef __cplusplus
10502 extern "C"
10503 #endif
10504 char clGetPlatformInfo ();
10506 main ()
10508 return clGetPlatformInfo ();
10510 return 0;
10512 _ACEOF
10513 if ac_fn_c_try_link "$LINENO"; then :
10514 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10515 else
10516 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10518 rm -f core conftest.err conftest.$ac_objext \
10519 conftest$ac_exeext conftest.$ac_ext
10520 LIBS=$ac_check_lib_save_LIBS
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10523 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10524 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10525 LIBOPENCL="-lOpenCL"
10530 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10531 case "x$with_opencl" in
10532 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10533 xno) ;;
10534 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10535 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10536 esac
10538 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10541 if test "x$with_xml" != "xno"
10542 then
10543 if test -n "$XML2_CFLAGS"; then :
10545 elif test -n "$PKG_CONFIG"; then :
10546 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10548 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10549 if test -n "$XML2_LIBS"; then :
10551 elif test -n "$PKG_CONFIG"; then :
10552 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10554 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10555 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10556 ac_save_CPPFLAGS=$CPPFLAGS
10557 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10558 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10559 do :
10560 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10561 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10562 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10563 cat >>confdefs.h <<_ACEOF
10564 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10565 _ACEOF
10569 done
10571 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"
10572 then
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10574 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10575 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10576 $as_echo_n "(cached) " >&6
10577 else
10578 ac_check_lib_save_LIBS=$LIBS
10579 LIBS="-lxml2 $XML2_LIBS $LIBS"
10580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10581 /* end confdefs.h. */
10583 /* Override any GCC internal prototype to avoid an error.
10584 Use char because int might match the return type of a GCC
10585 builtin and then its argument prototype would still apply. */
10586 #ifdef __cplusplus
10587 extern "C"
10588 #endif
10589 char xmlParseMemory ();
10591 main ()
10593 return xmlParseMemory ();
10595 return 0;
10597 _ACEOF
10598 if ac_fn_c_try_link "$LINENO"; then :
10599 ac_cv_lib_xml2_xmlParseMemory=yes
10600 else
10601 ac_cv_lib_xml2_xmlParseMemory=no
10603 rm -f core conftest.err conftest.$ac_objext \
10604 conftest$ac_exeext conftest.$ac_ext
10605 LIBS=$ac_check_lib_save_LIBS
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10608 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10609 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10611 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10613 else
10614 XML2_LIBS=""
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10618 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10619 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10620 $as_echo_n "(cached) " >&6
10621 else
10622 ac_check_lib_save_LIBS=$LIBS
10623 LIBS="-lxml2 $XML2_LIBS $LIBS"
10624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10625 /* end confdefs.h. */
10627 /* Override any GCC internal prototype to avoid an error.
10628 Use char because int might match the return type of a GCC
10629 builtin and then its argument prototype would still apply. */
10630 #ifdef __cplusplus
10631 extern "C"
10632 #endif
10633 char xmlReadMemory ();
10635 main ()
10637 return xmlReadMemory ();
10639 return 0;
10641 _ACEOF
10642 if ac_fn_c_try_link "$LINENO"; then :
10643 ac_cv_lib_xml2_xmlReadMemory=yes
10644 else
10645 ac_cv_lib_xml2_xmlReadMemory=no
10647 rm -f core conftest.err conftest.$ac_objext \
10648 conftest$ac_exeext conftest.$ac_ext
10649 LIBS=$ac_check_lib_save_LIBS
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10652 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10653 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10655 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10660 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10661 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10662 $as_echo_n "(cached) " >&6
10663 else
10664 ac_check_lib_save_LIBS=$LIBS
10665 LIBS="-lxml2 $XML2_LIBS $LIBS"
10666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10667 /* end confdefs.h. */
10669 /* Override any GCC internal prototype to avoid an error.
10670 Use char because int might match the return type of a GCC
10671 builtin and then its argument prototype would still apply. */
10672 #ifdef __cplusplus
10673 extern "C"
10674 #endif
10675 char xmlNewDocPI ();
10677 main ()
10679 return xmlNewDocPI ();
10681 return 0;
10683 _ACEOF
10684 if ac_fn_c_try_link "$LINENO"; then :
10685 ac_cv_lib_xml2_xmlNewDocPI=yes
10686 else
10687 ac_cv_lib_xml2_xmlNewDocPI=no
10689 rm -f core conftest.err conftest.$ac_objext \
10690 conftest$ac_exeext conftest.$ac_ext
10691 LIBS=$ac_check_lib_save_LIBS
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10694 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10695 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10697 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10702 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10703 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10704 $as_echo_n "(cached) " >&6
10705 else
10706 ac_check_lib_save_LIBS=$LIBS
10707 LIBS="-lxml2 $XML2_LIBS $LIBS"
10708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10711 /* Override any GCC internal prototype to avoid an error.
10712 Use char because int might match the return type of a GCC
10713 builtin and then its argument prototype would still apply. */
10714 #ifdef __cplusplus
10715 extern "C"
10716 #endif
10717 char xmlSchemaSetParserStructuredErrors ();
10719 main ()
10721 return xmlSchemaSetParserStructuredErrors ();
10723 return 0;
10725 _ACEOF
10726 if ac_fn_c_try_link "$LINENO"; then :
10727 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10728 else
10729 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10731 rm -f core conftest.err conftest.$ac_objext \
10732 conftest$ac_exeext conftest.$ac_ext
10733 LIBS=$ac_check_lib_save_LIBS
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10736 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10737 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10739 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10744 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10745 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10746 $as_echo_n "(cached) " >&6
10747 else
10748 ac_check_lib_save_LIBS=$LIBS
10749 LIBS="-lxml2 $XML2_LIBS $LIBS"
10750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10751 /* end confdefs.h. */
10753 /* Override any GCC internal prototype to avoid an error.
10754 Use char because int might match the return type of a GCC
10755 builtin and then its argument prototype would still apply. */
10756 #ifdef __cplusplus
10757 extern "C"
10758 #endif
10759 char xmlSchemaSetValidStructuredErrors ();
10761 main ()
10763 return xmlSchemaSetValidStructuredErrors ();
10765 return 0;
10767 _ACEOF
10768 if ac_fn_c_try_link "$LINENO"; then :
10769 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10770 else
10771 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10773 rm -f core conftest.err conftest.$ac_objext \
10774 conftest$ac_exeext conftest.$ac_ext
10775 LIBS=$ac_check_lib_save_LIBS
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10778 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10779 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10781 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10786 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10787 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10788 $as_echo_n "(cached) " >&6
10789 else
10790 ac_check_lib_save_LIBS=$LIBS
10791 LIBS="-lxml2 $XML2_LIBS $LIBS"
10792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10793 /* end confdefs.h. */
10795 /* Override any GCC internal prototype to avoid an error.
10796 Use char because int might match the return type of a GCC
10797 builtin and then its argument prototype would still apply. */
10798 #ifdef __cplusplus
10799 extern "C"
10800 #endif
10801 char xmlFirstElementChild ();
10803 main ()
10805 return xmlFirstElementChild ();
10807 return 0;
10809 _ACEOF
10810 if ac_fn_c_try_link "$LINENO"; then :
10811 ac_cv_lib_xml2_xmlFirstElementChild=yes
10812 else
10813 ac_cv_lib_xml2_xmlFirstElementChild=no
10815 rm -f core conftest.err conftest.$ac_objext \
10816 conftest$ac_exeext conftest.$ac_ext
10817 LIBS=$ac_check_lib_save_LIBS
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10820 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10821 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10823 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10827 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10829 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10831 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10835 else
10836 XML2_CFLAGS=""
10837 XML2_LIBS=""
10839 CPPFLAGS=$ac_save_CPPFLAGS
10840 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10841 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10844 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10845 case "x$with_xml" in
10846 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10847 xno) ;;
10848 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10849 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10850 esac
10853 if test "x$with_xslt" != "xno"
10854 then
10855 if test -n "$XSLT_CFLAGS"; then :
10857 elif test -n "$PKG_CONFIG"; then :
10858 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10860 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10861 if test -n "$XSLT_LIBS"; then :
10863 elif test -n "$PKG_CONFIG"; then :
10864 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10866 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10867 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10868 ac_save_CPPFLAGS=$CPPFLAGS
10869 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10870 for ac_header in libxslt/pattern.h libxslt/transform.h
10871 do :
10872 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10873 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10874 # include <libxslt/pattern.h>
10875 #endif
10877 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10878 cat >>confdefs.h <<_ACEOF
10879 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10880 _ACEOF
10884 done
10886 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10887 then
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10889 $as_echo_n "checking for -lxslt... " >&6; }
10890 if ${ac_cv_lib_soname_xslt+:} false; then :
10891 $as_echo_n "(cached) " >&6
10892 else
10893 ac_check_soname_save_LIBS=$LIBS
10894 LIBS="-lxslt $XSLT_LIBS $LIBS"
10895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10896 /* end confdefs.h. */
10898 /* Override any GCC internal prototype to avoid an error.
10899 Use char because int might match the return type of a GCC
10900 builtin and then its argument prototype would still apply. */
10901 #ifdef __cplusplus
10902 extern "C"
10903 #endif
10904 char xsltCompilePattern ();
10906 main ()
10908 return xsltCompilePattern ();
10910 return 0;
10912 _ACEOF
10913 if ac_fn_c_try_link "$LINENO"; then :
10914 case "$LIBEXT" in
10915 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10916 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'` ;;
10917 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10918 if test "x$ac_cv_lib_soname_xslt" = x; then :
10919 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10920 fi ;;
10921 esac
10923 rm -f core conftest.err conftest.$ac_objext \
10924 conftest$ac_exeext conftest.$ac_ext
10925 LIBS=$ac_check_soname_save_LIBS
10927 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10929 $as_echo "not found" >&6; }
10931 else
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10933 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10935 cat >>confdefs.h <<_ACEOF
10936 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10937 _ACEOF
10941 else
10942 XSLT_CFLAGS=""
10944 CPPFLAGS=$ac_save_CPPFLAGS
10945 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10946 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10949 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10950 case "x$with_xslt" in
10951 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10952 xno) ;;
10953 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10954 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10955 esac
10958 if test "x$with_dbus" != "xno"
10959 then
10960 if test -n "$DBUS_CFLAGS"; then :
10962 elif test -n "$PKG_CONFIG"; then :
10963 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10966 if test -n "$DBUS_LIBS"; then :
10968 elif test -n "$PKG_CONFIG"; then :
10969 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10973 ac_save_CPPFLAGS=$CPPFLAGS
10974 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10975 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10976 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10978 $as_echo_n "checking for -ldbus-1... " >&6; }
10979 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10980 $as_echo_n "(cached) " >&6
10981 else
10982 ac_check_soname_save_LIBS=$LIBS
10983 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10985 /* end confdefs.h. */
10987 /* Override any GCC internal prototype to avoid an error.
10988 Use char because int might match the return type of a GCC
10989 builtin and then its argument prototype would still apply. */
10990 #ifdef __cplusplus
10991 extern "C"
10992 #endif
10993 char dbus_connection_close ();
10995 main ()
10997 return dbus_connection_close ();
10999 return 0;
11001 _ACEOF
11002 if ac_fn_c_try_link "$LINENO"; then :
11003 case "$LIBEXT" in
11004 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11005 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'` ;;
11006 *) 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'`
11007 if test "x$ac_cv_lib_soname_dbus_1" = x; then :
11008 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11009 fi ;;
11010 esac
11012 rm -f core conftest.err conftest.$ac_objext \
11013 conftest$ac_exeext conftest.$ac_ext
11014 LIBS=$ac_check_soname_save_LIBS
11016 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11018 $as_echo "not found" >&6; }
11019 DBUS_CFLAGS=""
11020 else
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11022 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11024 cat >>confdefs.h <<_ACEOF
11025 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11026 _ACEOF
11030 else
11031 DBUS_CFLAGS=""
11035 CPPFLAGS=$ac_save_CPPFLAGS
11036 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11037 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11040 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11041 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11042 case "x$with_dbus" in
11043 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11044 xno) ;;
11045 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11046 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11047 esac
11050 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11051 then
11052 if test -n "$HAL_CFLAGS"; then :
11054 elif test -n "$PKG_CONFIG"; then :
11055 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11058 if test -n "$HAL_LIBS"; then :
11060 elif test -n "$PKG_CONFIG"; then :
11061 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11064 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11065 ac_save_CPPFLAGS=$CPPFLAGS
11066 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11067 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11068 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11070 $as_echo_n "checking for -lhal... " >&6; }
11071 if ${ac_cv_lib_soname_hal+:} false; then :
11072 $as_echo_n "(cached) " >&6
11073 else
11074 ac_check_soname_save_LIBS=$LIBS
11075 LIBS="-lhal $HAL_LIBS $LIBS"
11076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11077 /* end confdefs.h. */
11079 /* Override any GCC internal prototype to avoid an error.
11080 Use char because int might match the return type of a GCC
11081 builtin and then its argument prototype would still apply. */
11082 #ifdef __cplusplus
11083 extern "C"
11084 #endif
11085 char libhal_ctx_new ();
11087 main ()
11089 return libhal_ctx_new ();
11091 return 0;
11093 _ACEOF
11094 if ac_fn_c_try_link "$LINENO"; then :
11095 case "$LIBEXT" in
11096 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11097 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'` ;;
11098 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11099 if test "x$ac_cv_lib_soname_hal" = x; then :
11100 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11101 fi ;;
11102 esac
11104 rm -f core conftest.err conftest.$ac_objext \
11105 conftest$ac_exeext conftest.$ac_ext
11106 LIBS=$ac_check_soname_save_LIBS
11108 if test "x$ac_cv_lib_soname_hal" = "x"; then :
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11110 $as_echo "not found" >&6; }
11111 HAL_CFLAGS=""
11112 else
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11114 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11116 cat >>confdefs.h <<_ACEOF
11117 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11118 _ACEOF
11122 else
11123 HAL_CFLAGS=""
11127 CPPFLAGS=$ac_save_CPPFLAGS
11128 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11129 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11131 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11132 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11133 case "x$with_hal" in
11134 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11135 xno) ;;
11136 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11137 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11138 esac
11142 if test "x$with_gnutls" != "xno"
11143 then
11144 if test -n "$GNUTLS_CFLAGS"; then :
11146 elif test -n "$PKG_CONFIG"; then :
11147 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11150 if test -n "$GNUTLS_LIBS"; then :
11152 elif test -n "$PKG_CONFIG"; then :
11153 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11157 ac_save_CPPFLAGS=$CPPFLAGS
11158 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11159 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11160 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11162 /* end confdefs.h. */
11163 #include <gnutls/gnutls.h>
11164 #include <gnutls/crypto.h>
11166 main ()
11168 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11170 return 0;
11172 _ACEOF
11173 if ac_fn_c_try_compile "$LINENO"; then :
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11175 $as_echo_n "checking for -lgnutls... " >&6; }
11176 if ${ac_cv_lib_soname_gnutls+:} false; then :
11177 $as_echo_n "(cached) " >&6
11178 else
11179 ac_check_soname_save_LIBS=$LIBS
11180 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11182 /* end confdefs.h. */
11184 /* Override any GCC internal prototype to avoid an error.
11185 Use char because int might match the return type of a GCC
11186 builtin and then its argument prototype would still apply. */
11187 #ifdef __cplusplus
11188 extern "C"
11189 #endif
11190 char gnutls_global_init ();
11192 main ()
11194 return gnutls_global_init ();
11196 return 0;
11198 _ACEOF
11199 if ac_fn_c_try_link "$LINENO"; then :
11200 case "$LIBEXT" in
11201 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11202 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'` ;;
11203 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11204 if test "x$ac_cv_lib_soname_gnutls" = x; then :
11205 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11206 fi ;;
11207 esac
11209 rm -f core conftest.err conftest.$ac_objext \
11210 conftest$ac_exeext conftest.$ac_ext
11211 LIBS=$ac_check_soname_save_LIBS
11213 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11215 $as_echo "not found" >&6; }
11216 GNUTLS_CFLAGS=""
11217 else
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11219 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11221 cat >>confdefs.h <<_ACEOF
11222 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11223 _ACEOF
11228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11229 else
11230 GNUTLS_CFLAGS=""
11234 CPPFLAGS=$ac_save_CPPFLAGS
11235 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11236 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11239 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11240 case "x$with_gnutls" in
11241 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11242 xno) ;;
11243 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11244 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11245 esac
11248 CURSESLIBS=""
11249 if test "$ac_cv_header_ncurses_h" = "yes"
11250 then
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11252 $as_echo_n "checking for -lncurses... " >&6; }
11253 if ${ac_cv_lib_soname_ncurses+:} false; then :
11254 $as_echo_n "(cached) " >&6
11255 else
11256 ac_check_soname_save_LIBS=$LIBS
11257 LIBS="-lncurses $LIBS"
11258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11259 /* end confdefs.h. */
11261 /* Override any GCC internal prototype to avoid an error.
11262 Use char because int might match the return type of a GCC
11263 builtin and then its argument prototype would still apply. */
11264 #ifdef __cplusplus
11265 extern "C"
11266 #endif
11267 char waddch ();
11269 main ()
11271 return waddch ();
11273 return 0;
11275 _ACEOF
11276 if ac_fn_c_try_link "$LINENO"; then :
11277 case "$LIBEXT" in
11278 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11279 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'` ;;
11280 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11281 if test "x$ac_cv_lib_soname_ncurses" = x; then :
11282 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11283 fi ;;
11284 esac
11286 rm -f core conftest.err conftest.$ac_objext \
11287 conftest$ac_exeext conftest.$ac_ext
11288 LIBS=$ac_check_soname_save_LIBS
11290 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11292 $as_echo "not found" >&6; }
11294 else
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11296 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11298 cat >>confdefs.h <<_ACEOF
11299 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11300 _ACEOF
11302 CURSESLIBS="-lncurses"
11304 elif test "$ac_cv_header_curses_h" = "yes"
11305 then
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11307 $as_echo_n "checking for -lcurses... " >&6; }
11308 if ${ac_cv_lib_soname_curses+:} false; then :
11309 $as_echo_n "(cached) " >&6
11310 else
11311 ac_check_soname_save_LIBS=$LIBS
11312 LIBS="-lcurses $LIBS"
11313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11314 /* end confdefs.h. */
11316 /* Override any GCC internal prototype to avoid an error.
11317 Use char because int might match the return type of a GCC
11318 builtin and then its argument prototype would still apply. */
11319 #ifdef __cplusplus
11320 extern "C"
11321 #endif
11322 char waddch ();
11324 main ()
11326 return waddch ();
11328 return 0;
11330 _ACEOF
11331 if ac_fn_c_try_link "$LINENO"; then :
11332 case "$LIBEXT" in
11333 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11334 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'` ;;
11335 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11336 if test "x$ac_cv_lib_soname_curses" = x; then :
11337 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11338 fi ;;
11339 esac
11341 rm -f core conftest.err conftest.$ac_objext \
11342 conftest$ac_exeext conftest.$ac_ext
11343 LIBS=$ac_check_soname_save_LIBS
11345 if test "x$ac_cv_lib_soname_curses" = "x"; then :
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11347 $as_echo "not found" >&6; }
11349 else
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11351 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11353 cat >>confdefs.h <<_ACEOF
11354 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11355 _ACEOF
11357 CURSESLIBS="-lcurses"
11360 ac_save_LIBS="$LIBS"
11361 LIBS="$LIBS $CURSESLIBS"
11362 for ac_func in mousemask
11363 do :
11364 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11365 if test "x$ac_cv_func_mousemask" = xyes; then :
11366 cat >>confdefs.h <<_ACEOF
11367 #define HAVE_MOUSEMASK 1
11368 _ACEOF
11371 done
11373 LIBS="$ac_save_LIBS"
11374 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11375 case "x$with_curses" in
11376 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11377 xno) ;;
11378 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11379 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11380 esac
11383 if test "x$with_sane" != "xno"
11384 then
11385 if test -n "$SANE_CFLAGS"; then :
11387 elif test -n "$PKG_CONFIG"; then :
11388 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11390 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11391 if test -n "$SANE_LIBS"; then :
11393 elif test -n "$PKG_CONFIG"; then :
11394 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11396 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11398 ac_save_CPPFLAGS=$CPPFLAGS
11399 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11400 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11401 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11403 $as_echo_n "checking for -lsane... " >&6; }
11404 if ${ac_cv_lib_soname_sane+:} false; then :
11405 $as_echo_n "(cached) " >&6
11406 else
11407 ac_check_soname_save_LIBS=$LIBS
11408 LIBS="-lsane $SANE_LIBS $LIBS"
11409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11410 /* end confdefs.h. */
11412 /* Override any GCC internal prototype to avoid an error.
11413 Use char because int might match the return type of a GCC
11414 builtin and then its argument prototype would still apply. */
11415 #ifdef __cplusplus
11416 extern "C"
11417 #endif
11418 char sane_init ();
11420 main ()
11422 return sane_init ();
11424 return 0;
11426 _ACEOF
11427 if ac_fn_c_try_link "$LINENO"; then :
11428 case "$LIBEXT" in
11429 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11430 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'` ;;
11431 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11432 if test "x$ac_cv_lib_soname_sane" = x; then :
11433 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11434 fi ;;
11435 esac
11437 rm -f core conftest.err conftest.$ac_objext \
11438 conftest$ac_exeext conftest.$ac_ext
11439 LIBS=$ac_check_soname_save_LIBS
11441 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11443 $as_echo "not found" >&6; }
11444 SANE_CFLAGS=""
11445 else
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11447 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11449 cat >>confdefs.h <<_ACEOF
11450 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11451 _ACEOF
11455 else
11456 SANE_CFLAGS=""
11460 CPPFLAGS=$ac_save_CPPFLAGS
11461 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11462 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11465 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11466 case "x$with_sane" in
11467 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11468 xno) ;;
11469 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11470 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11471 esac
11474 if test "x$with_v4l" != "xno"
11475 then
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11477 $as_echo_n "checking for -lv4l1... " >&6; }
11478 if ${ac_cv_lib_soname_v4l1+:} false; then :
11479 $as_echo_n "(cached) " >&6
11480 else
11481 ac_check_soname_save_LIBS=$LIBS
11482 LIBS="-lv4l1 $LIBS"
11483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11484 /* end confdefs.h. */
11486 /* Override any GCC internal prototype to avoid an error.
11487 Use char because int might match the return type of a GCC
11488 builtin and then its argument prototype would still apply. */
11489 #ifdef __cplusplus
11490 extern "C"
11491 #endif
11492 char v4l1_open ();
11494 main ()
11496 return v4l1_open ();
11498 return 0;
11500 _ACEOF
11501 if ac_fn_c_try_link "$LINENO"; then :
11502 case "$LIBEXT" in
11503 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11504 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'` ;;
11505 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11506 if test "x$ac_cv_lib_soname_v4l1" = x; then :
11507 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11508 fi ;;
11509 esac
11511 rm -f core conftest.err conftest.$ac_objext \
11512 conftest$ac_exeext conftest.$ac_ext
11513 LIBS=$ac_check_soname_save_LIBS
11515 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11517 $as_echo "not found" >&6; }
11519 else
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11521 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11523 cat >>confdefs.h <<_ACEOF
11524 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11525 _ACEOF
11530 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11531 case "x$with_v4l" in
11532 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11533 xno) ;;
11534 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11535 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11536 esac
11539 if test "x$with_gphoto" != "xno"
11540 then
11541 if test -n "$GPHOTO2_CFLAGS"; then :
11543 elif test -n "$PKG_CONFIG"; then :
11544 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11546 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11547 if test -n "$GPHOTO2_LIBS"; then :
11549 elif test -n "$PKG_CONFIG"; then :
11550 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11552 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11553 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11554 ac_save_CPPFLAGS=$CPPFLAGS
11555 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11556 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11557 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11559 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11560 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11561 $as_echo_n "(cached) " >&6
11562 else
11563 ac_check_lib_save_LIBS=$LIBS
11564 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11566 /* end confdefs.h. */
11568 /* Override any GCC internal prototype to avoid an error.
11569 Use char because int might match the return type of a GCC
11570 builtin and then its argument prototype would still apply. */
11571 #ifdef __cplusplus
11572 extern "C"
11573 #endif
11574 char gp_camera_new ();
11576 main ()
11578 return gp_camera_new ();
11580 return 0;
11582 _ACEOF
11583 if ac_fn_c_try_link "$LINENO"; then :
11584 ac_cv_lib_gphoto2_gp_camera_new=yes
11585 else
11586 ac_cv_lib_gphoto2_gp_camera_new=no
11588 rm -f core conftest.err conftest.$ac_objext \
11589 conftest$ac_exeext conftest.$ac_ext
11590 LIBS=$ac_check_lib_save_LIBS
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11593 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11594 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11596 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11598 else
11599 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11602 else
11603 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11607 CPPFLAGS=$ac_save_CPPFLAGS
11608 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11609 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11611 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
11613 elif test -n "$PKG_CONFIG"; then :
11614 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11616 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11617 if test -n "$GPHOTO2_PORT_LIBS"; then :
11619 elif test -n "$PKG_CONFIG"; then :
11620 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11622 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11623 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11624 ac_save_CPPFLAGS=$CPPFLAGS
11625 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11626 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11627 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11629 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11630 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11631 $as_echo_n "(cached) " >&6
11632 else
11633 ac_check_lib_save_LIBS=$LIBS
11634 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11636 /* end confdefs.h. */
11638 /* Override any GCC internal prototype to avoid an error.
11639 Use char because int might match the return type of a GCC
11640 builtin and then its argument prototype would still apply. */
11641 #ifdef __cplusplus
11642 extern "C"
11643 #endif
11644 char gp_port_info_list_new ();
11646 main ()
11648 return gp_port_info_list_new ();
11650 return 0;
11652 _ACEOF
11653 if ac_fn_c_try_link "$LINENO"; then :
11654 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11655 else
11656 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11658 rm -f core conftest.err conftest.$ac_objext \
11659 conftest$ac_exeext conftest.$ac_ext
11660 LIBS=$ac_check_lib_save_LIBS
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11663 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11664 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11666 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11668 else
11669 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11672 else
11673 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11677 CPPFLAGS=$ac_save_CPPFLAGS
11678 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11679 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11682 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11683 case "x$with_gphoto" in
11684 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11685 xno) ;;
11686 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11687 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11688 esac
11690 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11691 case "x$with_gphoto" in
11692 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11693 xno) ;;
11694 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11695 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11696 esac
11700 if test "$ac_cv_header_resolv_h" = "yes"
11701 then
11702 ac_save_LIBS="$LIBS"
11703 for lib in '' -lresolv
11705 LIBS="$lib $ac_save_LIBS"
11706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11707 /* end confdefs.h. */
11708 #ifdef HAVE_NETINET_IN_H
11709 #include <netinet/in.h>
11710 #endif
11711 #include <resolv.h>
11713 main ()
11715 res_query("foo",ns_c_in,0,0,0);
11717 return 0;
11719 _ACEOF
11720 if ac_fn_c_try_link "$LINENO"; then :
11722 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11724 RESOLVLIBS="$lib"
11727 rm -f core conftest.err conftest.$ac_objext \
11728 conftest$ac_exeext conftest.$ac_ext
11729 if test "${RESOLVLIBS+set}" = set; then
11730 break
11732 done
11733 LIBS="$ac_save_LIBS"
11736 if test "x$with_lcms2" != "xno"
11737 then
11738 if test -n "$LCMS2_CFLAGS"; then :
11740 elif test -n "$PKG_CONFIG"; then :
11741 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11744 if test -n "$LCMS2_LIBS"; then :
11746 elif test -n "$PKG_CONFIG"; then :
11747 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11750 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11751 ac_save_CPPFLAGS=$CPPFLAGS
11752 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11753 for ac_header in lcms2.h
11754 do :
11755 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11756 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11757 cat >>confdefs.h <<_ACEOF
11758 #define HAVE_LCMS2_H 1
11759 _ACEOF
11763 done
11765 if test "$ac_cv_header_lcms2_h" = "yes"
11766 then
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11768 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11769 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11770 $as_echo_n "(cached) " >&6
11771 else
11772 ac_check_lib_save_LIBS=$LIBS
11773 LIBS="-llcms2 $LIBS"
11774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11775 /* end confdefs.h. */
11777 /* Override any GCC internal prototype to avoid an error.
11778 Use char because int might match the return type of a GCC
11779 builtin and then its argument prototype would still apply. */
11780 #ifdef __cplusplus
11781 extern "C"
11782 #endif
11783 char cmsOpenProfileFromFile ();
11785 main ()
11787 return cmsOpenProfileFromFile ();
11789 return 0;
11791 _ACEOF
11792 if ac_fn_c_try_link "$LINENO"; then :
11793 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11794 else
11795 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11797 rm -f core conftest.err conftest.$ac_objext \
11798 conftest$ac_exeext conftest.$ac_ext
11799 LIBS=$ac_check_lib_save_LIBS
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11802 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11803 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11805 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11807 else
11808 LCMS2_LIBS=""
11811 else
11812 LCMS2_CFLAGS=""
11813 LCMS2_LIBS=""
11815 CPPFLAGS=$ac_save_CPPFLAGS
11816 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11817 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11820 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11821 case "x$with_cms" in
11822 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11823 xno) ;;
11824 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11825 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11826 esac
11829 if test "x$with_freetype" != "xno"
11830 then
11831 if test -n "$FREETYPE_CFLAGS"; then :
11833 elif test -n "$PKG_CONFIG"; then :
11834 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11836 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11837 if test -n "$FREETYPE_LIBS"; then :
11839 elif test -n "$PKG_CONFIG"; then :
11840 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11842 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11843 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11844 ac_save_CPPFLAGS=$CPPFLAGS
11845 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11846 for ac_header in ft2build.h
11847 do :
11848 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11849 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11850 cat >>confdefs.h <<_ACEOF
11851 #define HAVE_FT2BUILD_H 1
11852 _ACEOF
11856 done
11858 if test "$ac_cv_header_ft2build_h" = "yes"
11859 then
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11861 $as_echo_n "checking for -lfreetype... " >&6; }
11862 if ${ac_cv_lib_soname_freetype+:} false; then :
11863 $as_echo_n "(cached) " >&6
11864 else
11865 ac_check_soname_save_LIBS=$LIBS
11866 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11868 /* end confdefs.h. */
11870 /* Override any GCC internal prototype to avoid an error.
11871 Use char because int might match the return type of a GCC
11872 builtin and then its argument prototype would still apply. */
11873 #ifdef __cplusplus
11874 extern "C"
11875 #endif
11876 char FT_Init_FreeType ();
11878 main ()
11880 return FT_Init_FreeType ();
11882 return 0;
11884 _ACEOF
11885 if ac_fn_c_try_link "$LINENO"; then :
11886 case "$LIBEXT" in
11887 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11888 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'` ;;
11889 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11890 if test "x$ac_cv_lib_soname_freetype" = x; then :
11891 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11892 fi ;;
11893 esac
11895 rm -f core conftest.err conftest.$ac_objext \
11896 conftest$ac_exeext conftest.$ac_ext
11897 LIBS=$ac_check_soname_save_LIBS
11899 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11901 $as_echo "not found" >&6; }
11902 FREETYPE_LIBS=""
11903 else
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11905 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11907 cat >>confdefs.h <<_ACEOF
11908 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11909 _ACEOF
11912 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11914 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11915 #include FT_MODULE_H
11917 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11919 cat >>confdefs.h <<_ACEOF
11920 #define HAVE_FT_TRUETYPEENGINETYPE 1
11921 _ACEOF
11927 else
11928 FREETYPE_CFLAGS=""
11929 FREETYPE_LIBS=""
11931 CPPFLAGS=$ac_save_CPPFLAGS
11932 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11933 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11936 if test "x$ac_cv_lib_soname_freetype" = x; then :
11937 case "x$with_freetype" in
11938 xno) ;;
11939 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11940 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11941 esac
11943 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11946 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11947 if ${ac_cv_c_ppdev+:} false; then :
11948 $as_echo_n "(cached) " >&6
11949 else
11950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11951 /* end confdefs.h. */
11952 #ifdef HAVE_SYS_IOCTL_H
11953 # include <sys/ioctl.h>
11954 #endif
11955 #include <linux/ppdev.h>
11957 main ()
11959 ioctl (1,PPCLAIM,0)
11961 return 0;
11963 _ACEOF
11964 if ac_fn_c_try_compile "$LINENO"; then :
11965 ac_cv_c_ppdev="yes"
11966 else
11967 ac_cv_c_ppdev="no"
11969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11972 $as_echo "$ac_cv_c_ppdev" >&6; }
11973 if test "$ac_cv_c_ppdev" = "yes"
11974 then
11976 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11980 ac_wine_check_funcs_save_LIBS="$LIBS"
11981 LIBS="$LIBS $LIBPTHREAD"
11982 for ac_func in \
11983 pthread_attr_get_np \
11984 pthread_getattr_np \
11985 pthread_getthreadid_np \
11986 pthread_get_stackaddr_np \
11987 pthread_get_stacksize_np
11988 do :
11989 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11990 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11991 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11992 cat >>confdefs.h <<_ACEOF
11993 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11994 _ACEOF
11997 done
11999 LIBS="$ac_wine_check_funcs_save_LIBS"
12001 if test "$ac_cv_header_zlib_h" = "yes"
12002 then
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12004 $as_echo_n "checking for inflate in -lz... " >&6; }
12005 if ${ac_cv_lib_z_inflate+:} false; then :
12006 $as_echo_n "(cached) " >&6
12007 else
12008 ac_check_lib_save_LIBS=$LIBS
12009 LIBS="-lz $LIBS"
12010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12011 /* end confdefs.h. */
12013 /* Override any GCC internal prototype to avoid an error.
12014 Use char because int might match the return type of a GCC
12015 builtin and then its argument prototype would still apply. */
12016 #ifdef __cplusplus
12017 extern "C"
12018 #endif
12019 char inflate ();
12021 main ()
12023 return inflate ();
12025 return 0;
12027 _ACEOF
12028 if ac_fn_c_try_link "$LINENO"; then :
12029 ac_cv_lib_z_inflate=yes
12030 else
12031 ac_cv_lib_z_inflate=no
12033 rm -f core conftest.err conftest.$ac_objext \
12034 conftest$ac_exeext conftest.$ac_ext
12035 LIBS=$ac_check_lib_save_LIBS
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12038 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12039 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12041 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12043 ZLIB="-lz"
12048 if test "x$ZLIB" = "x"; then :
12049 case "x$with_zlib" in
12050 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12051 xno) ;;
12052 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12053 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12054 esac
12057 if test "x$enable_tools" != xno
12058 then
12059 if test "$ac_cv_header_gettext_po_h" = "yes"
12060 then
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12062 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12063 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12064 $as_echo_n "(cached) " >&6
12065 else
12066 ac_check_lib_save_LIBS=$LIBS
12067 LIBS="-lgettextpo $LIBS"
12068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12069 /* end confdefs.h. */
12071 /* Override any GCC internal prototype to avoid an error.
12072 Use char because int might match the return type of a GCC
12073 builtin and then its argument prototype would still apply. */
12074 #ifdef __cplusplus
12075 extern "C"
12076 #endif
12077 char po_message_msgctxt ();
12079 main ()
12081 return po_message_msgctxt ();
12083 return 0;
12085 _ACEOF
12086 if ac_fn_c_try_link "$LINENO"; then :
12087 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12088 else
12089 ac_cv_lib_gettextpo_po_message_msgctxt=no
12091 rm -f core conftest.err conftest.$ac_objext \
12092 conftest$ac_exeext conftest.$ac_ext
12093 LIBS=$ac_check_lib_save_LIBS
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12096 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12097 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12099 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12101 LIBGETTEXTPO="-lgettextpo"
12106 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
12107 case "x$with_gettextpo" in
12108 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12109 xno) ;;
12110 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12111 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12112 esac
12116 if test "x$with_gstreamer" != "xno"
12117 then
12118 if test -n "$GSTREAMER_CFLAGS"; then :
12120 elif test -n "$PKG_CONFIG"; then :
12121 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12124 if test -n "$GSTREAMER_LIBS"; then :
12126 elif test -n "$PKG_CONFIG"; then :
12127 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12131 ac_save_CPPFLAGS=$CPPFLAGS
12132 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12133 ac_gst_incl=""
12134 for i in $GSTREAMER_CFLAGS
12136 case "$i" in
12137 -I*) ac_gst_incl="$ac_gst_incl $i";;
12138 esac
12139 done
12140 GSTREAMER_CFLAGS=$ac_gst_incl
12141 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12142 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12143 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12144 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12145 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12147 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12149 /* end confdefs.h. */
12150 #include <gst/app/gstappsink.h>
12152 main ()
12154 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12156 return 0;
12158 _ACEOF
12159 if ac_fn_c_try_compile "$LINENO"; then :
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12161 $as_echo "yes" >&6; }
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12163 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12164 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12165 $as_echo_n "(cached) " >&6
12166 else
12167 ac_check_lib_save_LIBS=$LIBS
12168 LIBS="-lgstreamer-0.10 $LIBS"
12169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h. */
12172 /* Override any GCC internal prototype to avoid an error.
12173 Use char because int might match the return type of a GCC
12174 builtin and then its argument prototype would still apply. */
12175 #ifdef __cplusplus
12176 extern "C"
12177 #endif
12178 char gst_pad_get_caps_reffed ();
12180 main ()
12182 return gst_pad_get_caps_reffed ();
12184 return 0;
12186 _ACEOF
12187 if ac_fn_c_try_link "$LINENO"; then :
12188 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12189 else
12190 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12192 rm -f core conftest.err conftest.$ac_objext \
12193 conftest$ac_exeext conftest.$ac_ext
12194 LIBS=$ac_check_lib_save_LIBS
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12197 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12198 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12200 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12201 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12202 $as_echo_n "(cached) " >&6
12203 else
12204 ac_check_lib_save_LIBS=$LIBS
12205 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12207 /* end confdefs.h. */
12209 /* Override any GCC internal prototype to avoid an error.
12210 Use char because int might match the return type of a GCC
12211 builtin and then its argument prototype would still apply. */
12212 #ifdef __cplusplus
12213 extern "C"
12214 #endif
12215 char gst_app_buffer_new ();
12217 main ()
12219 return gst_app_buffer_new ();
12221 return 0;
12223 _ACEOF
12224 if ac_fn_c_try_link "$LINENO"; then :
12225 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12226 else
12227 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12229 rm -f core conftest.err conftest.$ac_objext \
12230 conftest$ac_exeext conftest.$ac_ext
12231 LIBS=$ac_check_lib_save_LIBS
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12234 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12235 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12241 else
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12243 $as_echo "no" >&6; }
12245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12249 else
12250 GSTREAMER_CFLAGS=""
12254 CPPFLAGS=$ac_save_CPPFLAGS
12255 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12256 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12259 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12260 case "x$with_gstreamer" in
12261 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12262 xno) ;;
12263 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12264 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12265 esac
12267 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12269 ALSALIBS=""
12271 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12272 then
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12274 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12275 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12276 $as_echo_n "(cached) " >&6
12277 else
12278 ac_check_lib_save_LIBS=$LIBS
12279 LIBS="-lasound $LIBS"
12280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12281 /* end confdefs.h. */
12283 /* Override any GCC internal prototype to avoid an error.
12284 Use char because int might match the return type of a GCC
12285 builtin and then its argument prototype would still apply. */
12286 #ifdef __cplusplus
12287 extern "C"
12288 #endif
12289 char snd_pcm_hw_params_get_access_mask ();
12291 main ()
12293 return snd_pcm_hw_params_get_access_mask ();
12295 return 0;
12297 _ACEOF
12298 if ac_fn_c_try_link "$LINENO"; then :
12299 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12300 else
12301 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12303 rm -f core conftest.err conftest.$ac_objext \
12304 conftest$ac_exeext conftest.$ac_ext
12305 LIBS=$ac_check_lib_save_LIBS
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12308 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12309 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12311 /* end confdefs.h. */
12312 #ifdef HAVE_ALSA_ASOUNDLIB_H
12313 #include <alsa/asoundlib.h>
12314 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12315 #include <sys/asoundlib.h>
12316 #endif
12318 main ()
12320 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12322 return 0;
12324 _ACEOF
12325 if ac_fn_c_try_compile "$LINENO"; then :
12326 ALSALIBS="-lasound"
12328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12333 if test "x$with_oss" != xno
12334 then
12335 ac_save_CPPFLAGS="$CPPFLAGS"
12336 if test -f /etc/oss.conf
12337 then
12338 . /etc/oss.conf
12340 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12341 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12342 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12343 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12344 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12346 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12348 cat >>confdefs.h <<_ACEOF
12349 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12350 _ACEOF
12352 OSS4INCL="$ac_oss_incl"
12359 CPPFLAGS="$ac_save_CPPFLAGS"
12360 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12361 then
12362 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12366 if test "x$with_capi" != "xno"
12367 then
12368 if test -n "$CAPI20_CFLAGS"; then :
12370 elif test -n "$PKG_CONFIG"; then :
12371 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12374 if test -n "$CAPI20_LIBS"; then :
12376 elif test -n "$PKG_CONFIG"; then :
12377 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12381 ac_save_CPPFLAGS=$CPPFLAGS
12382 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12383 for ac_header in capi20.h linux/capi.h
12384 do :
12385 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12386 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12388 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12389 cat >>confdefs.h <<_ACEOF
12390 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12391 _ACEOF
12395 done
12397 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12398 then
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12400 $as_echo_n "checking for -lcapi20... " >&6; }
12401 if ${ac_cv_lib_soname_capi20+:} false; then :
12402 $as_echo_n "(cached) " >&6
12403 else
12404 ac_check_soname_save_LIBS=$LIBS
12405 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12407 /* end confdefs.h. */
12409 /* Override any GCC internal prototype to avoid an error.
12410 Use char because int might match the return type of a GCC
12411 builtin and then its argument prototype would still apply. */
12412 #ifdef __cplusplus
12413 extern "C"
12414 #endif
12415 char capi20_register ();
12417 main ()
12419 return capi20_register ();
12421 return 0;
12423 _ACEOF
12424 if ac_fn_c_try_link "$LINENO"; then :
12425 case "$LIBEXT" in
12426 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12427 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'` ;;
12428 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12429 if test "x$ac_cv_lib_soname_capi20" = x; then :
12430 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12431 fi ;;
12432 esac
12434 rm -f core conftest.err conftest.$ac_objext \
12435 conftest$ac_exeext conftest.$ac_ext
12436 LIBS=$ac_check_soname_save_LIBS
12438 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12440 $as_echo "not found" >&6; }
12442 else
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12444 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12446 cat >>confdefs.h <<_ACEOF
12447 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12448 _ACEOF
12453 CPPFLAGS=$ac_save_CPPFLAGS
12454 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12455 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12458 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12459 case "x$with_capi" in
12460 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12461 xno) ;;
12462 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12463 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12464 esac
12467 CUPSINCL=""
12469 if test "x$with_cups" != "xno"
12470 then
12471 ac_save_CPPFLAGS="$CPPFLAGS"
12472 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12473 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12474 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12475 for ac_header in cups/cups.h
12476 do :
12477 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12478 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12479 cat >>confdefs.h <<_ACEOF
12480 #define HAVE_CUPS_CUPS_H 1
12481 _ACEOF
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12483 $as_echo_n "checking for -lcups... " >&6; }
12484 if ${ac_cv_lib_soname_cups+:} false; then :
12485 $as_echo_n "(cached) " >&6
12486 else
12487 ac_check_soname_save_LIBS=$LIBS
12488 LIBS="-lcups $ac_cups_libs $LIBS"
12489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12490 /* end confdefs.h. */
12492 /* Override any GCC internal prototype to avoid an error.
12493 Use char because int might match the return type of a GCC
12494 builtin and then its argument prototype would still apply. */
12495 #ifdef __cplusplus
12496 extern "C"
12497 #endif
12498 char cupsGetDefault ();
12500 main ()
12502 return cupsGetDefault ();
12504 return 0;
12506 _ACEOF
12507 if ac_fn_c_try_link "$LINENO"; then :
12508 case "$LIBEXT" in
12509 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12510 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'` ;;
12511 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12512 if test "x$ac_cv_lib_soname_cups" = x; then :
12513 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12514 fi ;;
12515 esac
12517 rm -f core conftest.err conftest.$ac_objext \
12518 conftest$ac_exeext conftest.$ac_ext
12519 LIBS=$ac_check_soname_save_LIBS
12521 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12523 $as_echo "not found" >&6; }
12525 else
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12527 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12529 cat >>confdefs.h <<_ACEOF
12530 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12531 _ACEOF
12533 CUPSINCL="$ac_cups_cflags"
12537 done
12539 CPPFLAGS="$ac_save_CPPFLAGS"
12541 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12542 case "x$with_cups" in
12543 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12544 xno) ;;
12545 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12546 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12547 esac
12550 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12551 then
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12553 $as_echo_n "checking for -lfontconfig... " >&6; }
12554 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12555 $as_echo_n "(cached) " >&6
12556 else
12557 ac_check_soname_save_LIBS=$LIBS
12558 LIBS="-lfontconfig $LIBS"
12559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12560 /* end confdefs.h. */
12562 /* Override any GCC internal prototype to avoid an error.
12563 Use char because int might match the return type of a GCC
12564 builtin and then its argument prototype would still apply. */
12565 #ifdef __cplusplus
12566 extern "C"
12567 #endif
12568 char FcInit ();
12570 main ()
12572 return FcInit ();
12574 return 0;
12576 _ACEOF
12577 if ac_fn_c_try_link "$LINENO"; then :
12578 case "$LIBEXT" in
12579 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12580 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'` ;;
12581 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12582 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
12583 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12584 fi ;;
12585 esac
12587 rm -f core conftest.err conftest.$ac_objext \
12588 conftest$ac_exeext conftest.$ac_ext
12589 LIBS=$ac_check_soname_save_LIBS
12591 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12593 $as_echo "not found" >&6; }
12595 else
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12597 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12599 cat >>confdefs.h <<_ACEOF
12600 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12601 _ACEOF
12605 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
12606 then
12607 ac_save_CPPFLAGS="$CPPFLAGS"
12608 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
12609 $as_unset ac_cv_header_fontconfig_fontconfig_h
12610 for ac_header in fontconfig/fontconfig.h
12611 do :
12612 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12613 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12614 cat >>confdefs.h <<_ACEOF
12615 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12616 _ACEOF
12620 done
12622 CPPFLAGS="$ac_save_CPPFLAGS"
12623 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12624 then
12625 FONTCONFIGINCL="$X_CFLAGS"
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12628 $as_echo_n "checking for -lfontconfig... " >&6; }
12629 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12630 $as_echo_n "(cached) " >&6
12631 else
12632 ac_check_soname_save_LIBS=$LIBS
12633 LIBS="-lfontconfig $X_LIBS $LIBS"
12634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12635 /* end confdefs.h. */
12637 /* Override any GCC internal prototype to avoid an error.
12638 Use char because int might match the return type of a GCC
12639 builtin and then its argument prototype would still apply. */
12640 #ifdef __cplusplus
12641 extern "C"
12642 #endif
12643 char FcInit ();
12645 main ()
12647 return FcInit ();
12649 return 0;
12651 _ACEOF
12652 if ac_fn_c_try_link "$LINENO"; then :
12653 case "$LIBEXT" in
12654 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12655 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'` ;;
12656 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12657 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
12658 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12659 fi ;;
12660 esac
12662 rm -f core conftest.err conftest.$ac_objext \
12663 conftest$ac_exeext conftest.$ac_ext
12664 LIBS=$ac_check_soname_save_LIBS
12666 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12668 $as_echo "not found" >&6; }
12670 else
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12672 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12674 cat >>confdefs.h <<_ACEOF
12675 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12676 _ACEOF
12682 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12683 case "x$with_fontconfig" in
12684 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12685 xno) ;;
12686 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12687 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12688 esac
12691 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12692 then
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12694 $as_echo_n "checking for -lgsm... " >&6; }
12695 if ${ac_cv_lib_soname_gsm+:} false; then :
12696 $as_echo_n "(cached) " >&6
12697 else
12698 ac_check_soname_save_LIBS=$LIBS
12699 LIBS="-lgsm $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 gsm_create ();
12711 main ()
12713 return gsm_create ();
12715 return 0;
12717 _ACEOF
12718 if ac_fn_c_try_link "$LINENO"; then :
12719 case "$LIBEXT" in
12720 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12721 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'` ;;
12722 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12723 if test "x$ac_cv_lib_soname_gsm" = x; then :
12724 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12725 fi ;;
12726 esac
12728 rm -f core conftest.err conftest.$ac_objext \
12729 conftest$ac_exeext conftest.$ac_ext
12730 LIBS=$ac_check_soname_save_LIBS
12732 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12734 $as_echo "not found" >&6; }
12736 else
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12738 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12740 cat >>confdefs.h <<_ACEOF
12741 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12742 _ACEOF
12747 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12748 case "x$with_gsm" in
12749 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12750 xno) ;;
12751 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12752 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12753 esac
12756 if test "x$with_jpeg" != "xno"
12757 then
12758 if test -n "$JPEG_CFLAGS"; then :
12760 elif test -n "$PKG_CONFIG"; then :
12761 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12764 if test -n "$JPEG_LIBS"; then :
12766 elif test -n "$PKG_CONFIG"; then :
12767 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12771 ac_save_CPPFLAGS=$CPPFLAGS
12772 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12773 for ac_header in jpeglib.h
12774 do :
12775 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12776 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12777 cat >>confdefs.h <<_ACEOF
12778 #define HAVE_JPEGLIB_H 1
12779 _ACEOF
12783 done
12785 if test "$ac_cv_header_jpeglib_h" = "yes"
12786 then
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12788 $as_echo_n "checking for -ljpeg... " >&6; }
12789 if ${ac_cv_lib_soname_jpeg+:} false; then :
12790 $as_echo_n "(cached) " >&6
12791 else
12792 ac_check_soname_save_LIBS=$LIBS
12793 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12795 /* end confdefs.h. */
12797 /* Override any GCC internal prototype to avoid an error.
12798 Use char because int might match the return type of a GCC
12799 builtin and then its argument prototype would still apply. */
12800 #ifdef __cplusplus
12801 extern "C"
12802 #endif
12803 char jpeg_start_decompress ();
12805 main ()
12807 return jpeg_start_decompress ();
12809 return 0;
12811 _ACEOF
12812 if ac_fn_c_try_link "$LINENO"; then :
12813 case "$LIBEXT" in
12814 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12815 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'` ;;
12816 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12817 if test "x$ac_cv_lib_soname_jpeg" = x; then :
12818 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12819 fi ;;
12820 esac
12822 rm -f core conftest.err conftest.$ac_objext \
12823 conftest$ac_exeext conftest.$ac_ext
12824 LIBS=$ac_check_soname_save_LIBS
12826 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12828 $as_echo "not found" >&6; }
12829 JPEG_CFLAGS=""
12830 else
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12832 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12834 cat >>confdefs.h <<_ACEOF
12835 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12836 _ACEOF
12840 else
12841 JPEG_CFLAGS=""
12843 CPPFLAGS=$ac_save_CPPFLAGS
12844 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12845 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12848 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12849 case "x$with_jpeg" in
12850 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12851 xno) ;;
12852 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12853 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12854 esac
12857 if test "x$with_png" != "xno"
12858 then
12859 if test -n "$PNG_CFLAGS"; then :
12861 elif test -n "$PKG_CONFIG"; then :
12862 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12864 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12865 if test -n "$PNG_LIBS"; then :
12867 elif test -n "$PKG_CONFIG"; then :
12868 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12870 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12872 ac_save_CPPFLAGS=$CPPFLAGS
12873 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12874 for ac_header in png.h
12875 do :
12876 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12877 if test "x$ac_cv_header_png_h" = xyes; then :
12878 cat >>confdefs.h <<_ACEOF
12879 #define HAVE_PNG_H 1
12880 _ACEOF
12884 done
12886 if test "$ac_cv_header_png_h" = "yes"
12887 then
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12889 $as_echo_n "checking for -lpng... " >&6; }
12890 if ${ac_cv_lib_soname_png+:} false; then :
12891 $as_echo_n "(cached) " >&6
12892 else
12893 ac_check_soname_save_LIBS=$LIBS
12894 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12896 /* end confdefs.h. */
12898 /* Override any GCC internal prototype to avoid an error.
12899 Use char because int might match the return type of a GCC
12900 builtin and then its argument prototype would still apply. */
12901 #ifdef __cplusplus
12902 extern "C"
12903 #endif
12904 char png_create_read_struct ();
12906 main ()
12908 return png_create_read_struct ();
12910 return 0;
12912 _ACEOF
12913 if ac_fn_c_try_link "$LINENO"; then :
12914 case "$LIBEXT" in
12915 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12916 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'` ;;
12917 *) 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'`
12918 if test "x$ac_cv_lib_soname_png" = x; then :
12919 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12920 fi ;;
12921 esac
12923 rm -f core conftest.err conftest.$ac_objext \
12924 conftest$ac_exeext conftest.$ac_ext
12925 LIBS=$ac_check_soname_save_LIBS
12927 if test "x$ac_cv_lib_soname_png" = "x"; then :
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12929 $as_echo "not found" >&6; }
12930 PNG_CFLAGS=""
12931 else
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12933 $as_echo "$ac_cv_lib_soname_png" >&6; }
12935 cat >>confdefs.h <<_ACEOF
12936 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12937 _ACEOF
12939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12940 /* end confdefs.h. */
12941 #include <png.h>
12943 main ()
12945 typeof(png_set_expand_gray_1_2_4_to_8) *p
12947 return 0;
12949 _ACEOF
12950 if ac_fn_c_try_compile "$LINENO"; then :
12952 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12957 else
12958 PNG_CFLAGS=""
12960 CPPFLAGS=$ac_save_CPPFLAGS
12961 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12962 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12965 if test "x$ac_cv_lib_soname_png" = "x"; then :
12966 case "x$with_png" in
12967 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12968 xno) ;;
12969 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12970 This is an error since --with-png was requested." "$LINENO" 5 ;;
12971 esac
12974 if test "x$with_tiff" != "xno"
12975 then
12976 if test -n "$TIFF_CFLAGS"; then :
12978 elif test -n "$PKG_CONFIG"; then :
12979 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12982 if test -n "$TIFF_LIBS"; then :
12984 elif test -n "$PKG_CONFIG"; then :
12985 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12989 ac_save_CPPFLAGS=$CPPFLAGS
12990 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12991 for ac_header in tiffio.h
12992 do :
12993 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12994 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12995 cat >>confdefs.h <<_ACEOF
12996 #define HAVE_TIFFIO_H 1
12997 _ACEOF
13001 done
13003 if test "$ac_cv_header_tiffio_h" = "yes"
13004 then
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13006 $as_echo_n "checking for -ltiff... " >&6; }
13007 if ${ac_cv_lib_soname_tiff+:} false; then :
13008 $as_echo_n "(cached) " >&6
13009 else
13010 ac_check_soname_save_LIBS=$LIBS
13011 LIBS="-ltiff $TIFF_LIBS $LIBS"
13012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13013 /* end confdefs.h. */
13015 /* Override any GCC internal prototype to avoid an error.
13016 Use char because int might match the return type of a GCC
13017 builtin and then its argument prototype would still apply. */
13018 #ifdef __cplusplus
13019 extern "C"
13020 #endif
13021 char TIFFClientOpen ();
13023 main ()
13025 return TIFFClientOpen ();
13027 return 0;
13029 _ACEOF
13030 if ac_fn_c_try_link "$LINENO"; then :
13031 case "$LIBEXT" in
13032 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13033 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'` ;;
13034 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13035 if test "x$ac_cv_lib_soname_tiff" = x; then :
13036 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13037 fi ;;
13038 esac
13040 rm -f core conftest.err conftest.$ac_objext \
13041 conftest$ac_exeext conftest.$ac_ext
13042 LIBS=$ac_check_soname_save_LIBS
13044 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13046 $as_echo "not found" >&6; }
13048 else
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13050 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13052 cat >>confdefs.h <<_ACEOF
13053 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13054 _ACEOF
13059 CPPFLAGS=$ac_save_CPPFLAGS
13060 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13061 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13064 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13065 case "x$with_tiff" in
13066 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13067 xno) ;;
13068 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13069 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13070 esac
13073 if test "x$with_mpg123" != "xno"
13074 then
13075 if test -n "$MPG123_CFLAGS"; then :
13077 elif test -n "$PKG_CONFIG"; then :
13078 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13081 if test -n "$MPG123_LIBS"; then :
13083 elif test -n "$PKG_CONFIG"; then :
13084 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13087 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13088 ac_save_CPPFLAGS=$CPPFLAGS
13089 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13090 for ac_header in mpg123.h
13091 do :
13092 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13093 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13094 cat >>confdefs.h <<_ACEOF
13095 #define HAVE_MPG123_H 1
13096 _ACEOF
13100 done
13102 if test "$ac_cv_header_mpg123_h" = "yes"
13103 then
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13105 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13106 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13107 $as_echo_n "(cached) " >&6
13108 else
13109 ac_check_lib_save_LIBS=$LIBS
13110 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13112 /* end confdefs.h. */
13114 /* Override any GCC internal prototype to avoid an error.
13115 Use char because int might match the return type of a GCC
13116 builtin and then its argument prototype would still apply. */
13117 #ifdef __cplusplus
13118 extern "C"
13119 #endif
13120 char mpg123_feed ();
13122 main ()
13124 return mpg123_feed ();
13126 return 0;
13128 _ACEOF
13129 if ac_fn_c_try_link "$LINENO"; then :
13130 ac_cv_lib_mpg123_mpg123_feed=yes
13131 else
13132 ac_cv_lib_mpg123_mpg123_feed=no
13134 rm -f core conftest.err conftest.$ac_objext \
13135 conftest$ac_exeext conftest.$ac_ext
13136 LIBS=$ac_check_lib_save_LIBS
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13139 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13140 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13142 else
13143 MPG123_LIBS=""
13146 else
13147 MPG123_CFLAGS=""
13148 MPG123_LIBS=""
13150 CPPFLAGS=$ac_save_CPPFLAGS
13151 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13152 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13155 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13156 case "x$with_mpg123" in
13157 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13158 xno) ;;
13159 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13160 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13161 esac
13163 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}
13165 if test "$ac_cv_header_AL_al_h" = "yes"
13166 then
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13168 $as_echo_n "checking for -lopenal... " >&6; }
13169 if ${ac_cv_lib_soname_openal+:} false; then :
13170 $as_echo_n "(cached) " >&6
13171 else
13172 ac_check_soname_save_LIBS=$LIBS
13173 LIBS="-lopenal $LIBS"
13174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13175 /* end confdefs.h. */
13177 /* Override any GCC internal prototype to avoid an error.
13178 Use char because int might match the return type of a GCC
13179 builtin and then its argument prototype would still apply. */
13180 #ifdef __cplusplus
13181 extern "C"
13182 #endif
13183 char alGetSource3i ();
13185 main ()
13187 return alGetSource3i ();
13189 return 0;
13191 _ACEOF
13192 if ac_fn_c_try_link "$LINENO"; then :
13193 case "$LIBEXT" in
13194 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13195 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'` ;;
13196 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13197 if test "x$ac_cv_lib_soname_openal" = x; then :
13198 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13199 fi ;;
13200 esac
13202 rm -f core conftest.err conftest.$ac_objext \
13203 conftest$ac_exeext conftest.$ac_ext
13204 LIBS=$ac_check_soname_save_LIBS
13206 if test "x$ac_cv_lib_soname_openal" = "x"; then :
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13208 $as_echo "not found" >&6; }
13210 else
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13212 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13214 cat >>confdefs.h <<_ACEOF
13215 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13216 _ACEOF
13218 LIBOPENAL="-lopenal"
13220 ac_cv_lib_openal=yes
13222 cat >>confdefs.h <<_ACEOF
13223 #define HAVE_OPENAL 1
13224 _ACEOF
13228 if test "x$ac_cv_lib_openal" != xyes; then :
13229 case "x$with_openal" in
13230 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13231 xno) ;;
13232 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13233 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13234 esac
13236 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13238 if test "$ac_cv_header_kstat_h" = "yes"
13239 then
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13241 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13242 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13243 $as_echo_n "(cached) " >&6
13244 else
13245 ac_check_lib_save_LIBS=$LIBS
13246 LIBS="-lkstat $LIBS"
13247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13248 /* end confdefs.h. */
13250 /* Override any GCC internal prototype to avoid an error.
13251 Use char because int might match the return type of a GCC
13252 builtin and then its argument prototype would still apply. */
13253 #ifdef __cplusplus
13254 extern "C"
13255 #endif
13256 char kstat_open ();
13258 main ()
13260 return kstat_open ();
13262 return 0;
13264 _ACEOF
13265 if ac_fn_c_try_link "$LINENO"; then :
13266 ac_cv_lib_kstat_kstat_open=yes
13267 else
13268 ac_cv_lib_kstat_kstat_open=no
13270 rm -f core conftest.err conftest.$ac_objext \
13271 conftest$ac_exeext conftest.$ac_ext
13272 LIBS=$ac_check_lib_save_LIBS
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13275 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13276 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13278 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13280 LIBKSTAT="-lkstat"
13286 if test "$ac_cv_header_libprocstat_h" = "yes"
13287 then
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13289 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13290 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13291 $as_echo_n "(cached) " >&6
13292 else
13293 ac_check_lib_save_LIBS=$LIBS
13294 LIBS="-lprocstat $LIBS"
13295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13296 /* end confdefs.h. */
13298 /* Override any GCC internal prototype to avoid an error.
13299 Use char because int might match the return type of a GCC
13300 builtin and then its argument prototype would still apply. */
13301 #ifdef __cplusplus
13302 extern "C"
13303 #endif
13304 char procstat_open_sysctl ();
13306 main ()
13308 return procstat_open_sysctl ();
13310 return 0;
13312 _ACEOF
13313 if ac_fn_c_try_link "$LINENO"; then :
13314 ac_cv_lib_procstat_procstat_open_sysctl=yes
13315 else
13316 ac_cv_lib_procstat_procstat_open_sysctl=no
13318 rm -f core conftest.err conftest.$ac_objext \
13319 conftest$ac_exeext conftest.$ac_ext
13320 LIBS=$ac_check_lib_save_LIBS
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13323 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13324 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13326 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13328 LIBPROCSTAT="-lprocstat"
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13335 $as_echo_n "checking for -lodbc... " >&6; }
13336 if ${ac_cv_lib_soname_odbc+:} false; then :
13337 $as_echo_n "(cached) " >&6
13338 else
13339 ac_check_soname_save_LIBS=$LIBS
13340 LIBS="-lodbc $LIBS"
13341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13342 /* end confdefs.h. */
13344 /* Override any GCC internal prototype to avoid an error.
13345 Use char because int might match the return type of a GCC
13346 builtin and then its argument prototype would still apply. */
13347 #ifdef __cplusplus
13348 extern "C"
13349 #endif
13350 char SQLConnect ();
13352 main ()
13354 return SQLConnect ();
13356 return 0;
13358 _ACEOF
13359 if ac_fn_c_try_link "$LINENO"; then :
13360 case "$LIBEXT" in
13361 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13362 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'` ;;
13363 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13364 if test "x$ac_cv_lib_soname_odbc" = x; then :
13365 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13366 fi ;;
13367 esac
13369 rm -f core conftest.err conftest.$ac_objext \
13370 conftest$ac_exeext conftest.$ac_ext
13371 LIBS=$ac_check_soname_save_LIBS
13373 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13375 $as_echo "not found" >&6; }
13376 cat >>confdefs.h <<_ACEOF
13377 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13378 _ACEOF
13380 else
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13382 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13384 cat >>confdefs.h <<_ACEOF
13385 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13386 _ACEOF
13391 if test "x$with_netapi" != "xno"
13392 then
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13394 $as_echo_n "checking for -lnetapi... " >&6; }
13395 if ${ac_cv_lib_soname_netapi+:} false; then :
13396 $as_echo_n "(cached) " >&6
13397 else
13398 ac_check_soname_save_LIBS=$LIBS
13399 LIBS="-lnetapi $LIBS"
13400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13401 /* end confdefs.h. */
13403 /* Override any GCC internal prototype to avoid an error.
13404 Use char because int might match the return type of a GCC
13405 builtin and then its argument prototype would still apply. */
13406 #ifdef __cplusplus
13407 extern "C"
13408 #endif
13409 char libnetapi_init ();
13411 main ()
13413 return libnetapi_init ();
13415 return 0;
13417 _ACEOF
13418 if ac_fn_c_try_link "$LINENO"; then :
13419 case "$LIBEXT" in
13420 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13421 dylib) ac_cv_lib_soname_netapi=`otool -L conftest$ac_exeext | grep "libnetapi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libnetapi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13422 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13423 if test "x$ac_cv_lib_soname_netapi" = x; then :
13424 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13425 fi ;;
13426 esac
13428 rm -f core conftest.err conftest.$ac_objext \
13429 conftest$ac_exeext conftest.$ac_ext
13430 LIBS=$ac_check_soname_save_LIBS
13432 if test "x$ac_cv_lib_soname_netapi" = "x"; then :
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13434 $as_echo "not found" >&6; }
13435 cat >>confdefs.h <<_ACEOF
13436 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13437 _ACEOF
13439 else
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13441 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13443 cat >>confdefs.h <<_ACEOF
13444 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13445 _ACEOF
13451 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13452 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13453 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13454 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13456 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
13457 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13458 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13459 then
13460 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13464 EXTRACFLAGS=""
13466 if test "x${GCC}" = "xyes"
13467 then
13468 EXTRACFLAGS="-Wall -pipe"
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13471 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13472 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13473 $as_echo_n "(cached) " >&6
13474 else
13475 if test "$cross_compiling" = yes; then :
13476 ac_cv_c_gcc_strength_bug="yes"
13477 else
13478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13479 /* end confdefs.h. */
13480 int L[4] = {0,1,2,3};
13482 main ()
13484 static int Array[3];
13485 unsigned int B = 3;
13486 int i;
13487 for(i=0; i<B; i++) Array[i] = i - 3;
13488 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13489 L[i] = 4;
13490 return (Array[1] != -2 || L[2] != 3)
13492 return 0;
13494 _ACEOF
13495 if ac_fn_c_try_run "$LINENO"; then :
13496 ac_cv_c_gcc_strength_bug="no"
13497 else
13498 ac_cv_c_gcc_strength_bug="yes"
13500 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13501 conftest.$ac_objext conftest.beam conftest.$ac_ext
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13506 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13507 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13508 then
13509 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13513 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13514 if ${ac_cv_cflags__fno_builtin+:} false; then :
13515 $as_echo_n "(cached) " >&6
13516 else
13517 ac_wine_try_cflags_saved=$CFLAGS
13518 CFLAGS="$CFLAGS -fno-builtin"
13519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13520 /* end confdefs.h. */
13521 int main(int argc, char **argv) { return 0; }
13522 _ACEOF
13523 if ac_fn_c_try_link "$LINENO"; then :
13524 ac_cv_cflags__fno_builtin=yes
13525 else
13526 ac_cv_cflags__fno_builtin=no
13528 rm -f core conftest.err conftest.$ac_objext \
13529 conftest$ac_exeext conftest.$ac_ext
13530 CFLAGS=$ac_wine_try_cflags_saved
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13533 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13534 if test $ac_cv_cflags__fno_builtin = yes; then :
13535 BUILTINFLAG="-fno-builtin"
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13539 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13540 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13541 $as_echo_n "(cached) " >&6
13542 else
13543 ac_wine_try_cflags_saved=$CFLAGS
13544 CFLAGS="$CFLAGS -fno-strict-aliasing"
13545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13546 /* end confdefs.h. */
13547 int main(int argc, char **argv) { return 0; }
13548 _ACEOF
13549 if ac_fn_c_try_link "$LINENO"; then :
13550 ac_cv_cflags__fno_strict_aliasing=yes
13551 else
13552 ac_cv_cflags__fno_strict_aliasing=no
13554 rm -f core conftest.err conftest.$ac_objext \
13555 conftest$ac_exeext conftest.$ac_ext
13556 CFLAGS=$ac_wine_try_cflags_saved
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13559 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13560 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
13561 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13563 saved_CFLAGS=$CFLAGS
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13565 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13566 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13567 $as_echo_n "(cached) " >&6
13568 else
13569 ac_wine_try_cflags_saved=$CFLAGS
13570 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13572 /* end confdefs.h. */
13573 int main(int argc, char **argv) { return 0; }
13574 _ACEOF
13575 if ac_fn_c_try_link "$LINENO"; then :
13576 ac_cv_cflags__Werror_unknown_warning_option=yes
13577 else
13578 ac_cv_cflags__Werror_unknown_warning_option=no
13580 rm -f core conftest.err conftest.$ac_objext \
13581 conftest$ac_exeext conftest.$ac_ext
13582 CFLAGS=$ac_wine_try_cflags_saved
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13585 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13586 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
13587 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13590 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13591 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13592 $as_echo_n "(cached) " >&6
13593 else
13594 ac_wine_try_cflags_saved=$CFLAGS
13595 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13597 /* end confdefs.h. */
13598 int main(int argc, char **argv) { return 0; }
13599 _ACEOF
13600 if ac_fn_c_try_link "$LINENO"; then :
13601 ac_cv_cflags__Wdeclaration_after_statement=yes
13602 else
13603 ac_cv_cflags__Wdeclaration_after_statement=no
13605 rm -f core conftest.err conftest.$ac_objext \
13606 conftest$ac_exeext conftest.$ac_ext
13607 CFLAGS=$ac_wine_try_cflags_saved
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13610 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13611 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
13612 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13615 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13616 if ${ac_cv_cflags__Wempty_body+:} false; then :
13617 $as_echo_n "(cached) " >&6
13618 else
13619 ac_wine_try_cflags_saved=$CFLAGS
13620 CFLAGS="$CFLAGS -Wempty-body"
13621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13622 /* end confdefs.h. */
13623 int main(int argc, char **argv) { return 0; }
13624 _ACEOF
13625 if ac_fn_c_try_link "$LINENO"; then :
13626 ac_cv_cflags__Wempty_body=yes
13627 else
13628 ac_cv_cflags__Wempty_body=no
13630 rm -f core conftest.err conftest.$ac_objext \
13631 conftest$ac_exeext conftest.$ac_ext
13632 CFLAGS=$ac_wine_try_cflags_saved
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13635 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13636 if test $ac_cv_cflags__Wempty_body = yes; then :
13637 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13640 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13641 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13642 $as_echo_n "(cached) " >&6
13643 else
13644 ac_wine_try_cflags_saved=$CFLAGS
13645 CFLAGS="$CFLAGS -Wignored-qualifiers"
13646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13647 /* end confdefs.h. */
13648 int main(int argc, char **argv) { return 0; }
13649 _ACEOF
13650 if ac_fn_c_try_link "$LINENO"; then :
13651 ac_cv_cflags__Wignored_qualifiers=yes
13652 else
13653 ac_cv_cflags__Wignored_qualifiers=no
13655 rm -f core conftest.err conftest.$ac_objext \
13656 conftest$ac_exeext conftest.$ac_ext
13657 CFLAGS=$ac_wine_try_cflags_saved
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13660 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13661 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
13662 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13665 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13666 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13667 $as_echo_n "(cached) " >&6
13668 else
13669 ac_wine_try_cflags_saved=$CFLAGS
13670 CFLAGS="$CFLAGS -Wstrict-prototypes"
13671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13672 /* end confdefs.h. */
13673 int main(int argc, char **argv) { return 0; }
13674 _ACEOF
13675 if ac_fn_c_try_link "$LINENO"; then :
13676 ac_cv_cflags__Wstrict_prototypes=yes
13677 else
13678 ac_cv_cflags__Wstrict_prototypes=no
13680 rm -f core conftest.err conftest.$ac_objext \
13681 conftest$ac_exeext conftest.$ac_ext
13682 CFLAGS=$ac_wine_try_cflags_saved
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13685 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13686 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
13687 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13690 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13691 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13692 $as_echo_n "(cached) " >&6
13693 else
13694 ac_wine_try_cflags_saved=$CFLAGS
13695 CFLAGS="$CFLAGS -Wtype-limits"
13696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13697 /* end confdefs.h. */
13698 int main(int argc, char **argv) { return 0; }
13699 _ACEOF
13700 if ac_fn_c_try_link "$LINENO"; then :
13701 ac_cv_cflags__Wtype_limits=yes
13702 else
13703 ac_cv_cflags__Wtype_limits=no
13705 rm -f core conftest.err conftest.$ac_objext \
13706 conftest$ac_exeext conftest.$ac_ext
13707 CFLAGS=$ac_wine_try_cflags_saved
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13710 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13711 if test $ac_cv_cflags__Wtype_limits = yes; then :
13712 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13715 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13716 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13717 $as_echo_n "(cached) " >&6
13718 else
13719 ac_wine_try_cflags_saved=$CFLAGS
13720 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13722 /* end confdefs.h. */
13723 int main(int argc, char **argv) { return 0; }
13724 _ACEOF
13725 if ac_fn_c_try_link "$LINENO"; then :
13726 ac_cv_cflags__Wunused_but_set_parameter=yes
13727 else
13728 ac_cv_cflags__Wunused_but_set_parameter=no
13730 rm -f core conftest.err conftest.$ac_objext \
13731 conftest$ac_exeext conftest.$ac_ext
13732 CFLAGS=$ac_wine_try_cflags_saved
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13735 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13736 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
13737 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13740 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13741 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13742 $as_echo_n "(cached) " >&6
13743 else
13744 ac_wine_try_cflags_saved=$CFLAGS
13745 CFLAGS="$CFLAGS -Wwrite-strings"
13746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13747 /* end confdefs.h. */
13748 int main(int argc, char **argv) { return 0; }
13749 _ACEOF
13750 if ac_fn_c_try_link "$LINENO"; then :
13751 ac_cv_cflags__Wwrite_strings=yes
13752 else
13753 ac_cv_cflags__Wwrite_strings=no
13755 rm -f core conftest.err conftest.$ac_objext \
13756 conftest$ac_exeext conftest.$ac_ext
13757 CFLAGS=$ac_wine_try_cflags_saved
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13760 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13761 if test $ac_cv_cflags__Wwrite_strings = yes; then :
13762 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13766 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13767 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13768 $as_echo_n "(cached) " >&6
13769 else
13770 ac_wine_try_cflags_saved=$CFLAGS
13771 CFLAGS="$CFLAGS -Wpointer-arith"
13772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13773 /* end confdefs.h. */
13774 int main(int argc, char **argv) { return 0; }
13775 _ACEOF
13776 if ac_fn_c_try_link "$LINENO"; then :
13777 ac_cv_cflags__Wpointer_arith=yes
13778 else
13779 ac_cv_cflags__Wpointer_arith=no
13781 rm -f core conftest.err conftest.$ac_objext \
13782 conftest$ac_exeext conftest.$ac_ext
13783 CFLAGS=$ac_wine_try_cflags_saved
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13786 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13787 if test $ac_cv_cflags__Wpointer_arith = yes; then :
13788 saved_string_h_CFLAGS=$CFLAGS
13789 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13791 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13792 if ${ac_cv_c_string_h_warnings+:} false; then :
13793 $as_echo_n "(cached) " >&6
13794 else
13795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13796 /* end confdefs.h. */
13797 #include <string.h>
13799 main ()
13803 return 0;
13805 _ACEOF
13806 if ac_fn_c_try_compile "$LINENO"; then :
13807 ac_cv_c_string_h_warnings=no
13808 else
13809 ac_cv_c_string_h_warnings=yes
13811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13814 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13815 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13816 CFLAGS=$saved_string_h_CFLAGS
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13820 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13821 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13822 $as_echo_n "(cached) " >&6
13823 else
13824 ac_wine_try_cflags_saved=$CFLAGS
13825 CFLAGS="$CFLAGS -Wlogical-op"
13826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13827 /* end confdefs.h. */
13828 int main(int argc, char **argv) { return 0; }
13829 _ACEOF
13830 if ac_fn_c_try_link "$LINENO"; then :
13831 ac_cv_cflags__Wlogical_op=yes
13832 else
13833 ac_cv_cflags__Wlogical_op=no
13835 rm -f core conftest.err conftest.$ac_objext \
13836 conftest$ac_exeext conftest.$ac_ext
13837 CFLAGS=$ac_wine_try_cflags_saved
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13840 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13841 if test $ac_cv_cflags__Wlogical_op = yes; then :
13842 saved_string_h_CFLAGS=$CFLAGS
13843 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13845 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13846 if ${ac_cv_c_logicalop_noisy+:} false; then :
13847 $as_echo_n "(cached) " >&6
13848 else
13849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13850 /* end confdefs.h. */
13851 #include <string.h>
13852 char*f(const char *h,char n) {return strchr(h,n);}
13854 main ()
13858 return 0;
13860 _ACEOF
13861 if ac_fn_c_try_compile "$LINENO"; then :
13862 ac_cv_c_logicalop_noisy=no
13863 else
13864 ac_cv_c_logicalop_noisy=yes
13866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13869 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13870 CFLAGS=$saved_string_h_CFLAGS
13871 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13874 CFLAGS=$saved_CFLAGS
13876 for ac_flag in $CFLAGS; do
13877 case $ac_flag in
13878 -g) case $host_os in
13879 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13880 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13881 if ${ac_cv_cflags__gstabsp+:} false; then :
13882 $as_echo_n "(cached) " >&6
13883 else
13884 ac_wine_try_cflags_saved=$CFLAGS
13885 CFLAGS="$CFLAGS -gstabs+"
13886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13887 /* end confdefs.h. */
13888 int main(int argc, char **argv) { return 0; }
13889 _ACEOF
13890 if ac_fn_c_try_link "$LINENO"; then :
13891 ac_cv_cflags__gstabsp=yes
13892 else
13893 ac_cv_cflags__gstabsp=no
13895 rm -f core conftest.err conftest.$ac_objext \
13896 conftest$ac_exeext conftest.$ac_ext
13897 CFLAGS=$ac_wine_try_cflags_saved
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13900 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13901 if test $ac_cv_cflags__gstabsp = yes; then :
13902 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13903 fi ;;
13904 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13905 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13906 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13907 $as_echo_n "(cached) " >&6
13908 else
13909 ac_wine_try_cflags_saved=$CFLAGS
13910 CFLAGS="$CFLAGS -gdwarf-2"
13911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13912 /* end confdefs.h. */
13913 int main(int argc, char **argv) { return 0; }
13914 _ACEOF
13915 if ac_fn_c_try_link "$LINENO"; then :
13916 ac_cv_cflags__gdwarf_2=yes
13917 else
13918 ac_cv_cflags__gdwarf_2=no
13920 rm -f core conftest.err conftest.$ac_objext \
13921 conftest$ac_exeext conftest.$ac_ext
13922 CFLAGS=$ac_wine_try_cflags_saved
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13925 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13926 if test $ac_cv_cflags__gdwarf_2 = yes; then :
13927 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13930 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13931 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
13932 $as_echo_n "(cached) " >&6
13933 else
13934 ac_wine_try_cflags_saved=$CFLAGS
13935 CFLAGS="$CFLAGS -gstrict-dwarf"
13936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13937 /* end confdefs.h. */
13938 int main(int argc, char **argv) { return 0; }
13939 _ACEOF
13940 if ac_fn_c_try_link "$LINENO"; then :
13941 ac_cv_cflags__gstrict_dwarf=yes
13942 else
13943 ac_cv_cflags__gstrict_dwarf=no
13945 rm -f core conftest.err conftest.$ac_objext \
13946 conftest$ac_exeext conftest.$ac_ext
13947 CFLAGS=$ac_wine_try_cflags_saved
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13950 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13951 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
13952 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
13953 fi ;;
13954 esac ;;
13955 esac
13956 done
13958 case $host_cpu in
13959 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13960 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13961 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13962 $as_echo_n "(cached) " >&6
13963 else
13964 ac_wine_try_cflags_saved=$CFLAGS
13965 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13967 /* end confdefs.h. */
13968 int main(int argc, char **argv) { return 0; }
13969 _ACEOF
13970 if ac_fn_c_try_link "$LINENO"; then :
13971 ac_cv_cflags__fno_omit_frame_pointer=yes
13972 else
13973 ac_cv_cflags__fno_omit_frame_pointer=no
13975 rm -f core conftest.err conftest.$ac_objext \
13976 conftest$ac_exeext conftest.$ac_ext
13977 CFLAGS=$ac_wine_try_cflags_saved
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13980 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13981 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
13982 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13983 fi ;;
13984 esac
13986 case $host in
13987 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13988 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13989 if ${ac_cv_cflags__Wno_format+:} false; then :
13990 $as_echo_n "(cached) " >&6
13991 else
13992 ac_wine_try_cflags_saved=$CFLAGS
13993 CFLAGS="$CFLAGS -Wno-format"
13994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13995 /* end confdefs.h. */
13996 int main(int argc, char **argv) { return 0; }
13997 _ACEOF
13998 if ac_fn_c_try_link "$LINENO"; then :
13999 ac_cv_cflags__Wno_format=yes
14000 else
14001 ac_cv_cflags__Wno_format=no
14003 rm -f core conftest.err conftest.$ac_objext \
14004 conftest$ac_exeext conftest.$ac_ext
14005 CFLAGS=$ac_wine_try_cflags_saved
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14008 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14009 if test $ac_cv_cflags__Wno_format = yes; then :
14010 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14011 fi ;;
14012 esac
14014 if test "x$enable_maintainer_mode" = "xyes"
14015 then
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14017 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14018 if ${ac_cv_cflags__Werror+:} false; then :
14019 $as_echo_n "(cached) " >&6
14020 else
14021 ac_wine_try_cflags_saved=$CFLAGS
14022 CFLAGS="$CFLAGS -Werror"
14023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14024 /* end confdefs.h. */
14025 int main(int argc, char **argv) { return 0; }
14026 _ACEOF
14027 if ac_fn_c_try_link "$LINENO"; then :
14028 ac_cv_cflags__Werror=yes
14029 else
14030 ac_cv_cflags__Werror=no
14032 rm -f core conftest.err conftest.$ac_objext \
14033 conftest$ac_exeext conftest.$ac_ext
14034 CFLAGS=$ac_wine_try_cflags_saved
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14037 $as_echo "$ac_cv_cflags__Werror" >&6; }
14038 if test $ac_cv_cflags__Werror = yes; then :
14039 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14043 saved_CFLAGS="$CFLAGS"
14044 CFLAGS="$CFLAGS -Werror"
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14046 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14047 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14048 $as_echo_n "(cached) " >&6
14049 else
14050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14051 /* end confdefs.h. */
14052 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14054 main ()
14058 return 0;
14060 _ACEOF
14061 if ac_fn_c_try_compile "$LINENO"; then :
14062 ac_cv_have_ms_hook_prologue="yes"
14063 else
14064 ac_cv_have_ms_hook_prologue="no"
14066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14069 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14070 CFLAGS="$saved_CFLAGS"
14071 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14072 then
14074 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14076 else
14077 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14084 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14085 if ${ac_cv_c_fortify_enabled+:} false; then :
14086 $as_echo_n "(cached) " >&6
14087 else
14088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14089 /* end confdefs.h. */
14090 #include <string.h>
14092 main ()
14094 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14095 #error Fortify enabled
14096 #endif
14098 return 0;
14100 _ACEOF
14101 if ac_fn_c_try_compile "$LINENO"; then :
14102 ac_cv_c_fortify_enabled=no
14103 else
14104 ac_cv_c_fortify_enabled=yes
14106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14109 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14110 if test "$ac_cv_c_fortify_enabled" = yes
14111 then
14112 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14117 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14118 if ${ac_cv_c_extern_prefix+:} false; then :
14119 $as_echo_n "(cached) " >&6
14120 else
14121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14122 /* end confdefs.h. */
14123 extern int ac_test;
14125 main ()
14127 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14129 return 0;
14131 _ACEOF
14132 if ac_fn_c_try_link "$LINENO"; then :
14133 ac_cv_c_extern_prefix="yes"
14134 else
14135 ac_cv_c_extern_prefix="no"
14137 rm -f core conftest.err conftest.$ac_objext \
14138 conftest$ac_exeext conftest.$ac_ext
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14141 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14143 case $host_cpu in
14144 *i[3456789]86*)
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14146 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14147 if ${ac_cv_c_stdcall_suffix+:} false; then :
14148 $as_echo_n "(cached) " >&6
14149 else
14150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14151 /* end confdefs.h. */
14152 #ifndef _MSC_VER
14153 #define __stdcall __attribute__((__stdcall__))
14154 #endif
14155 int __stdcall ac_test(int i) { return i; }
14157 main ()
14159 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14161 return 0;
14163 _ACEOF
14164 if ac_fn_c_try_link "$LINENO"; then :
14165 ac_cv_c_stdcall_suffix="yes"
14166 else
14167 ac_cv_c_stdcall_suffix="no"
14169 rm -f core conftest.err conftest.$ac_objext \
14170 conftest$ac_exeext conftest.$ac_ext
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14173 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14174 *) ac_cv_c_stdcall_suffix="no" ;;
14175 esac
14178 if test "$ac_cv_c_extern_prefix" = "yes"
14179 then
14180 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14182 asm_name_prefix="_"
14183 else
14184 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14186 asm_name_prefix=""
14190 if test "$ac_cv_c_stdcall_suffix" = "yes"
14191 then
14192 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14194 else
14195 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14201 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14202 if ${ac_cv_asm_func_def+:} false; then :
14203 $as_echo_n "(cached) " >&6
14204 else
14205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14206 /* end confdefs.h. */
14209 main ()
14211 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14213 return 0;
14215 _ACEOF
14216 if ac_fn_c_try_link "$LINENO"; then :
14217 ac_cv_asm_func_def=".def"
14218 else
14219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14220 /* end confdefs.h. */
14223 main ()
14225 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14227 return 0;
14229 _ACEOF
14230 if ac_fn_c_try_link "$LINENO"; then :
14231 ac_cv_asm_func_def=".type @function"
14232 else
14233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14234 /* end confdefs.h. */
14237 main ()
14239 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14241 return 0;
14243 _ACEOF
14244 if ac_fn_c_try_link "$LINENO"; then :
14245 ac_cv_asm_func_def=".type 2"
14246 else
14247 ac_cv_asm_func_def="unknown"
14249 rm -f core conftest.err conftest.$ac_objext \
14250 conftest$ac_exeext conftest.$ac_ext
14252 rm -f core conftest.err conftest.$ac_objext \
14253 conftest$ac_exeext conftest.$ac_ext
14255 rm -f core conftest.err conftest.$ac_objext \
14256 conftest$ac_exeext conftest.$ac_ext
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14259 $as_echo "$ac_cv_asm_func_def" >&6; }
14262 case "$ac_cv_asm_func_def" in
14263 ".def")
14264 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14266 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14267 ".type @function")
14268 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14270 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14271 ".type 2")
14272 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14274 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14276 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14278 asm_func_header="" ;;
14279 esac
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14282 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14283 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14284 $as_echo_n "(cached) " >&6
14285 else
14286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14287 /* end confdefs.h. */
14288 asm(".text\n\t.long 0");
14290 main ()
14294 return 0;
14296 _ACEOF
14297 if ac_fn_c_try_compile "$LINENO"; then :
14298 ac_cv_c_asm_outside_funcs="yes"
14299 else
14300 ac_cv_c_asm_outside_funcs="no"
14302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14305 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14308 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14309 if ${ac_cv_c_dot_previous+:} false; then :
14310 $as_echo_n "(cached) " >&6
14311 else
14312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14313 /* end confdefs.h. */
14316 main ()
14318 asm(".text\nac_test:\t.long 0\n\t.previous");
14320 return 0;
14322 _ACEOF
14323 if ac_fn_c_try_link "$LINENO"; then :
14324 ac_cv_c_dot_previous="yes"
14325 else
14326 ac_cv_c_dot_previous="no"
14328 rm -f core conftest.err conftest.$ac_objext \
14329 conftest$ac_exeext conftest.$ac_ext
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14332 $as_echo "$ac_cv_c_dot_previous" >&6; }
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14335 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14336 if ${ac_cv_c_cfi_support+:} false; then :
14337 $as_echo_n "(cached) " >&6
14338 else
14339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14340 /* end confdefs.h. */
14341 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14343 main ()
14347 return 0;
14349 _ACEOF
14350 if ac_fn_c_try_compile "$LINENO"; then :
14351 ac_cv_c_cfi_support="yes"
14352 else
14353 ac_cv_c_cfi_support="no"
14355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14358 $as_echo "$ac_cv_c_cfi_support" >&6; }
14360 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14361 asm_func_trailer=""
14362 if test "$ac_cv_c_dot_previous" = "yes"
14363 then
14364 asm_func_trailer="\\n\\t.previous"
14366 if test "$ac_cv_c_cfi_support" = "yes"
14367 then
14368 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14369 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14371 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14373 UNWINDFLAGS=-fasynchronous-unwind-tables
14375 else
14376 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14380 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14383 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14384 then
14385 cat >>confdefs.h <<_ACEOF
14386 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14387 _ACEOF
14389 else
14390 cat >>confdefs.h <<_ACEOF
14391 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14392 _ACEOF
14396 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14399 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14403 case $build_os in
14404 cygwin*|mingw32*) TOOLSEXT=".exe"
14406 esac
14408 case $host_os in
14409 linux*)
14410 case $host_cpu in
14411 *i[3456789]86*|x86_64*)
14412 wine_fn_ignore_file "loader/wine-preloader"
14413 test "$wine_binary" = wine || wine_fn_ignore_file "loader/$wine_binary-preloader"
14414 as_fn_append LOADER_RULES "
14415 all: $wine_binary-preloader
14417 $wine_binary-preloader: preloader.o
14418 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14420 install install-lib:: $wine_binary-preloader
14421 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14423 uninstall::
14424 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14425 " ;;
14426 esac
14428 esac
14431 ac_save_CFLAGS="$CFLAGS"
14432 CFLAGS="$CFLAGS $BUILTINFLAG"
14433 for ac_func in \
14434 __res_get_state \
14435 __res_getservers \
14436 _finite \
14437 _isnan \
14438 _pclose \
14439 _popen \
14440 _snprintf \
14441 _spawnvp \
14442 _strdup \
14443 _stricmp \
14444 _strnicmp \
14445 _strtoi64 \
14446 _strtoui64 \
14447 _vsnprintf \
14448 asctime_r \
14449 chsize \
14450 dlopen \
14451 epoll_create \
14452 ffs \
14453 fnmatch \
14454 fork \
14455 fpclass \
14456 fstatfs \
14457 fstatvfs \
14458 ftruncate \
14459 futimens \
14460 futimes \
14461 futimesat \
14462 getattrlist \
14463 getdirentries \
14464 getopt_long_only \
14465 getpwuid \
14466 gettimeofday \
14467 getuid \
14468 if_nameindex \
14469 kqueue \
14470 lstat \
14471 memmove \
14472 mmap \
14473 pclose \
14474 pipe2 \
14475 poll \
14476 popen \
14477 port_create \
14478 prctl \
14479 pread \
14480 proc_pidinfo \
14481 pwrite \
14482 readdir \
14483 readlink \
14484 sched_yield \
14485 select \
14486 setproctitle \
14487 setrlimit \
14488 settimeofday \
14489 sigaltstack \
14490 sigprocmask \
14491 snprintf \
14492 statfs \
14493 statvfs \
14494 strcasecmp \
14495 strdup \
14496 strerror \
14497 strncasecmp \
14498 strtold \
14499 strtoll \
14500 strtoull \
14501 symlink \
14502 tcdrain \
14503 thr_kill2 \
14504 timegm \
14505 usleep \
14506 vsnprintf
14508 do :
14509 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14510 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14511 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14512 cat >>confdefs.h <<_ACEOF
14513 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14514 _ACEOF
14517 done
14519 CFLAGS="$ac_save_CFLAGS"
14521 if test "$ac_cv_func_dlopen" = no
14522 then
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14524 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14525 if ${ac_cv_lib_dl_dlopen+:} false; then :
14526 $as_echo_n "(cached) " >&6
14527 else
14528 ac_check_lib_save_LIBS=$LIBS
14529 LIBS="-ldl $LIBS"
14530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14531 /* end confdefs.h. */
14533 /* Override any GCC internal prototype to avoid an error.
14534 Use char because int might match the return type of a GCC
14535 builtin and then its argument prototype would still apply. */
14536 #ifdef __cplusplus
14537 extern "C"
14538 #endif
14539 char dlopen ();
14541 main ()
14543 return dlopen ();
14545 return 0;
14547 _ACEOF
14548 if ac_fn_c_try_link "$LINENO"; then :
14549 ac_cv_lib_dl_dlopen=yes
14550 else
14551 ac_cv_lib_dl_dlopen=no
14553 rm -f core conftest.err conftest.$ac_objext \
14554 conftest$ac_exeext conftest.$ac_ext
14555 LIBS=$ac_check_lib_save_LIBS
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14558 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14559 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14560 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14561 LIBDL="-ldl"
14566 ac_wine_check_funcs_save_LIBS="$LIBS"
14567 LIBS="$LIBS $LIBDL"
14568 for ac_func in dladdr
14569 do :
14570 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14571 if test "x$ac_cv_func_dladdr" = xyes; then :
14572 cat >>confdefs.h <<_ACEOF
14573 #define HAVE_DLADDR 1
14574 _ACEOF
14577 done
14579 LIBS="$ac_wine_check_funcs_save_LIBS"
14581 if test "$ac_cv_func_poll" = no
14582 then
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14584 $as_echo_n "checking for poll in -lpoll... " >&6; }
14585 if ${ac_cv_lib_poll_poll+:} false; then :
14586 $as_echo_n "(cached) " >&6
14587 else
14588 ac_check_lib_save_LIBS=$LIBS
14589 LIBS="-lpoll $LIBS"
14590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14591 /* end confdefs.h. */
14593 /* Override any GCC internal prototype to avoid an error.
14594 Use char because int might match the return type of a GCC
14595 builtin and then its argument prototype would still apply. */
14596 #ifdef __cplusplus
14597 extern "C"
14598 #endif
14599 char poll ();
14601 main ()
14603 return poll ();
14605 return 0;
14607 _ACEOF
14608 if ac_fn_c_try_link "$LINENO"; then :
14609 ac_cv_lib_poll_poll=yes
14610 else
14611 ac_cv_lib_poll_poll=no
14613 rm -f core conftest.err conftest.$ac_objext \
14614 conftest$ac_exeext conftest.$ac_ext
14615 LIBS=$ac_check_lib_save_LIBS
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14618 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14619 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14620 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14621 LIBPOLL="-lpoll"
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14628 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14629 if ${ac_cv_search_gethostbyname+:} false; then :
14630 $as_echo_n "(cached) " >&6
14631 else
14632 ac_func_search_save_LIBS=$LIBS
14633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14634 /* end confdefs.h. */
14636 /* Override any GCC internal prototype to avoid an error.
14637 Use char because int might match the return type of a GCC
14638 builtin and then its argument prototype would still apply. */
14639 #ifdef __cplusplus
14640 extern "C"
14641 #endif
14642 char gethostbyname ();
14644 main ()
14646 return gethostbyname ();
14648 return 0;
14650 _ACEOF
14651 for ac_lib in '' nsl; do
14652 if test -z "$ac_lib"; then
14653 ac_res="none required"
14654 else
14655 ac_res=-l$ac_lib
14656 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14658 if ac_fn_c_try_link "$LINENO"; then :
14659 ac_cv_search_gethostbyname=$ac_res
14661 rm -f core conftest.err conftest.$ac_objext \
14662 conftest$ac_exeext
14663 if ${ac_cv_search_gethostbyname+:} false; then :
14664 break
14666 done
14667 if ${ac_cv_search_gethostbyname+:} false; then :
14669 else
14670 ac_cv_search_gethostbyname=no
14672 rm conftest.$ac_ext
14673 LIBS=$ac_func_search_save_LIBS
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14676 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14677 ac_res=$ac_cv_search_gethostbyname
14678 if test "$ac_res" != no; then :
14679 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14685 $as_echo_n "checking for library containing connect... " >&6; }
14686 if ${ac_cv_search_connect+:} false; then :
14687 $as_echo_n "(cached) " >&6
14688 else
14689 ac_func_search_save_LIBS=$LIBS
14690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14691 /* end confdefs.h. */
14693 /* Override any GCC internal prototype to avoid an error.
14694 Use char because int might match the return type of a GCC
14695 builtin and then its argument prototype would still apply. */
14696 #ifdef __cplusplus
14697 extern "C"
14698 #endif
14699 char connect ();
14701 main ()
14703 return connect ();
14705 return 0;
14707 _ACEOF
14708 for ac_lib in '' socket; do
14709 if test -z "$ac_lib"; then
14710 ac_res="none required"
14711 else
14712 ac_res=-l$ac_lib
14713 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14715 if ac_fn_c_try_link "$LINENO"; then :
14716 ac_cv_search_connect=$ac_res
14718 rm -f core conftest.err conftest.$ac_objext \
14719 conftest$ac_exeext
14720 if ${ac_cv_search_connect+:} false; then :
14721 break
14723 done
14724 if ${ac_cv_search_connect+:} false; then :
14726 else
14727 ac_cv_search_connect=no
14729 rm conftest.$ac_ext
14730 LIBS=$ac_func_search_save_LIBS
14732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14733 $as_echo "$ac_cv_search_connect" >&6; }
14734 ac_res=$ac_cv_search_connect
14735 if test "$ac_res" != no; then :
14736 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14742 $as_echo_n "checking for library containing inet_aton... " >&6; }
14743 if ${ac_cv_search_inet_aton+:} false; then :
14744 $as_echo_n "(cached) " >&6
14745 else
14746 ac_func_search_save_LIBS=$LIBS
14747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14748 /* end confdefs.h. */
14750 /* Override any GCC internal prototype to avoid an error.
14751 Use char because int might match the return type of a GCC
14752 builtin and then its argument prototype would still apply. */
14753 #ifdef __cplusplus
14754 extern "C"
14755 #endif
14756 char inet_aton ();
14758 main ()
14760 return inet_aton ();
14762 return 0;
14764 _ACEOF
14765 for ac_lib in '' resolv; do
14766 if test -z "$ac_lib"; then
14767 ac_res="none required"
14768 else
14769 ac_res=-l$ac_lib
14770 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14772 if ac_fn_c_try_link "$LINENO"; then :
14773 ac_cv_search_inet_aton=$ac_res
14775 rm -f core conftest.err conftest.$ac_objext \
14776 conftest$ac_exeext
14777 if ${ac_cv_search_inet_aton+:} false; then :
14778 break
14780 done
14781 if ${ac_cv_search_inet_aton+:} false; then :
14783 else
14784 ac_cv_search_inet_aton=no
14786 rm conftest.$ac_ext
14787 LIBS=$ac_func_search_save_LIBS
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14790 $as_echo "$ac_cv_search_inet_aton" >&6; }
14791 ac_res=$ac_cv_search_inet_aton
14792 if test "$ac_res" != no; then :
14793 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14798 for ac_func in \
14799 getaddrinfo \
14800 getnameinfo \
14801 getnetbyname \
14802 getprotobyname \
14803 getprotobynumber \
14804 getservbyport \
14805 inet_addr \
14806 inet_network \
14807 inet_ntop \
14808 inet_pton \
14809 sendmsg \
14810 socketpair \
14812 do :
14813 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14814 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14815 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14816 cat >>confdefs.h <<_ACEOF
14817 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14818 _ACEOF
14821 done
14824 ac_save_LIBS=$LIBS
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14826 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14827 if ${ac_cv_search_clock_gettime+:} false; then :
14828 $as_echo_n "(cached) " >&6
14829 else
14830 ac_func_search_save_LIBS=$LIBS
14831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14832 /* end confdefs.h. */
14834 /* Override any GCC internal prototype to avoid an error.
14835 Use char because int might match the return type of a GCC
14836 builtin and then its argument prototype would still apply. */
14837 #ifdef __cplusplus
14838 extern "C"
14839 #endif
14840 char clock_gettime ();
14842 main ()
14844 return clock_gettime ();
14846 return 0;
14848 _ACEOF
14849 for ac_lib in '' rt; do
14850 if test -z "$ac_lib"; then
14851 ac_res="none required"
14852 else
14853 ac_res=-l$ac_lib
14854 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14856 if ac_fn_c_try_link "$LINENO"; then :
14857 ac_cv_search_clock_gettime=$ac_res
14859 rm -f core conftest.err conftest.$ac_objext \
14860 conftest$ac_exeext
14861 if ${ac_cv_search_clock_gettime+:} false; then :
14862 break
14864 done
14865 if ${ac_cv_search_clock_gettime+:} false; then :
14867 else
14868 ac_cv_search_clock_gettime=no
14870 rm conftest.$ac_ext
14871 LIBS=$ac_func_search_save_LIBS
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14874 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14875 ac_res=$ac_cv_search_clock_gettime
14876 if test "$ac_res" != no; then :
14877 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14879 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14881 test "$ac_res" = "none required" || LIBRT="$ac_res"
14885 LIBS=$ac_save_LIBS
14887 LDAPLIBS=""
14889 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14890 then
14891 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14893 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14895 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14896 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14897 $as_echo_n "(cached) " >&6
14898 else
14899 ac_check_lib_save_LIBS=$LIBS
14900 LIBS="-lldap_r $LIBPTHREAD $LIBS"
14901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14902 /* end confdefs.h. */
14904 /* Override any GCC internal prototype to avoid an error.
14905 Use char because int might match the return type of a GCC
14906 builtin and then its argument prototype would still apply. */
14907 #ifdef __cplusplus
14908 extern "C"
14909 #endif
14910 char ldap_initialize ();
14912 main ()
14914 return ldap_initialize ();
14916 return 0;
14918 _ACEOF
14919 if ac_fn_c_try_link "$LINENO"; then :
14920 ac_cv_lib_ldap_r_ldap_initialize=yes
14921 else
14922 ac_cv_lib_ldap_r_ldap_initialize=no
14924 rm -f core conftest.err conftest.$ac_objext \
14925 conftest$ac_exeext conftest.$ac_ext
14926 LIBS=$ac_check_lib_save_LIBS
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14929 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14930 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14932 $as_echo_n "checking for ber_init in -llber... " >&6; }
14933 if ${ac_cv_lib_lber_ber_init+:} false; then :
14934 $as_echo_n "(cached) " >&6
14935 else
14936 ac_check_lib_save_LIBS=$LIBS
14937 LIBS="-llber $LIBPTHREAD $LIBS"
14938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14939 /* end confdefs.h. */
14941 /* Override any GCC internal prototype to avoid an error.
14942 Use char because int might match the return type of a GCC
14943 builtin and then its argument prototype would still apply. */
14944 #ifdef __cplusplus
14945 extern "C"
14946 #endif
14947 char ber_init ();
14949 main ()
14951 return ber_init ();
14953 return 0;
14955 _ACEOF
14956 if ac_fn_c_try_link "$LINENO"; then :
14957 ac_cv_lib_lber_ber_init=yes
14958 else
14959 ac_cv_lib_lber_ber_init=no
14961 rm -f core conftest.err conftest.$ac_objext \
14962 conftest$ac_exeext conftest.$ac_ext
14963 LIBS=$ac_check_lib_save_LIBS
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14966 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14967 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14969 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14971 LDAPLIBS="-lldap_r -llber"
14978 ac_wine_check_funcs_save_LIBS="$LIBS"
14979 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
14980 for ac_func in \
14981 ldap_count_references \
14982 ldap_first_reference \
14983 ldap_next_reference \
14984 ldap_parse_reference \
14985 ldap_parse_sort_control \
14986 ldap_parse_sortresponse_control \
14987 ldap_parse_vlv_control \
14988 ldap_parse_vlvresponse_control
14989 do :
14990 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14991 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14992 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14993 cat >>confdefs.h <<_ACEOF
14994 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14995 _ACEOF
14998 done
15000 LIBS="$ac_wine_check_funcs_save_LIBS"
15002 if test "x$LDAPLIBS" = "x"; then :
15003 case "x$with_ldap" in
15004 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15005 xno) ;;
15006 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15007 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15008 esac
15011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15012 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15013 if ${wine_cv_one_arg_mkdir+:} false; then :
15014 $as_echo_n "(cached) " >&6
15015 else
15016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15017 /* end confdefs.h. */
15018 #include <sys/stat.h>
15020 main ()
15022 mkdir("foo");
15024 return 0;
15026 _ACEOF
15027 if ac_fn_c_try_compile "$LINENO"; then :
15028 wine_cv_one_arg_mkdir=yes
15029 else
15030 wine_cv_one_arg_mkdir=no
15032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15035 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15036 if test "$wine_cv_one_arg_mkdir" = "yes"
15037 then
15039 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15044 $as_echo_n "checking for sched_setaffinity... " >&6; }
15045 if ${wine_cv_have_sched_setaffinity+:} false; then :
15046 $as_echo_n "(cached) " >&6
15047 else
15048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15049 /* end confdefs.h. */
15050 #define _GNU_SOURCE
15051 #include <sched.h>
15053 main ()
15055 sched_setaffinity(0, 0, 0);
15057 return 0;
15059 _ACEOF
15060 if ac_fn_c_try_link "$LINENO"; then :
15061 wine_cv_have_sched_setaffinity=yes
15062 else
15063 wine_cv_have_sched_setaffinity=no
15065 rm -f core conftest.err conftest.$ac_objext \
15066 conftest$ac_exeext conftest.$ac_ext
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15069 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15070 if test "$wine_cv_have_sched_setaffinity" = "yes"
15071 then
15073 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15078 $as_echo_n "checking for fallocate... " >&6; }
15079 if ${wine_cv_have_fallocate+:} false; then :
15080 $as_echo_n "(cached) " >&6
15081 else
15082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15083 /* end confdefs.h. */
15084 #define _GNU_SOURCE
15085 #include <fcntl.h>
15087 main ()
15089 fallocate(-1, 0, 0, 0);
15091 return 0;
15093 _ACEOF
15094 if ac_fn_c_try_link "$LINENO"; then :
15095 wine_cv_have_fallocate=yes
15096 else
15097 wine_cv_have_fallocate=no
15099 rm -f core conftest.err conftest.$ac_objext \
15100 conftest$ac_exeext conftest.$ac_ext
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15103 $as_echo "$wine_cv_have_fallocate" >&6; }
15104 if test "$wine_cv_have_fallocate" = "yes"
15105 then
15107 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15113 $as_echo_n "checking for inline... " >&6; }
15114 if ${ac_cv_c_inline+:} false; then :
15115 $as_echo_n "(cached) " >&6
15116 else
15117 ac_cv_c_inline=no
15118 for ac_kw in inline __inline__ __inline; do
15119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15120 /* end confdefs.h. */
15121 #ifndef __cplusplus
15122 typedef int foo_t;
15123 static $ac_kw foo_t static_foo () {return 0; }
15124 $ac_kw foo_t foo () {return 0; }
15125 #endif
15127 _ACEOF
15128 if ac_fn_c_try_compile "$LINENO"; then :
15129 ac_cv_c_inline=$ac_kw
15131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15132 test "$ac_cv_c_inline" != no && break
15133 done
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15137 $as_echo "$ac_cv_c_inline" >&6; }
15139 case $ac_cv_c_inline in
15140 inline | yes) ;;
15142 case $ac_cv_c_inline in
15143 no) ac_val=;;
15144 *) ac_val=$ac_cv_c_inline;;
15145 esac
15146 cat >>confdefs.h <<_ACEOF
15147 #ifndef __cplusplus
15148 #define inline $ac_val
15149 #endif
15150 _ACEOF
15152 esac
15154 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15155 if test "x$ac_cv_type_mode_t" = xyes; then :
15157 cat >>confdefs.h <<_ACEOF
15158 #define HAVE_MODE_T 1
15159 _ACEOF
15163 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15164 if test "x$ac_cv_type_off_t" = xyes; then :
15166 cat >>confdefs.h <<_ACEOF
15167 #define HAVE_OFF_T 1
15168 _ACEOF
15172 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15173 if test "x$ac_cv_type_pid_t" = xyes; then :
15175 cat >>confdefs.h <<_ACEOF
15176 #define HAVE_PID_T 1
15177 _ACEOF
15181 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15182 if test "x$ac_cv_type_size_t" = xyes; then :
15184 cat >>confdefs.h <<_ACEOF
15185 #define HAVE_SIZE_T 1
15186 _ACEOF
15190 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15191 if test "x$ac_cv_type_ssize_t" = xyes; then :
15193 cat >>confdefs.h <<_ACEOF
15194 #define HAVE_SSIZE_T 1
15195 _ACEOF
15199 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15200 if test "x$ac_cv_type_long_long" = xyes; then :
15202 cat >>confdefs.h <<_ACEOF
15203 #define HAVE_LONG_LONG 1
15204 _ACEOF
15208 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15209 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15211 cat >>confdefs.h <<_ACEOF
15212 #define HAVE_FSBLKCNT_T 1
15213 _ACEOF
15217 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15218 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15220 cat >>confdefs.h <<_ACEOF
15221 #define HAVE_FSFILCNT_T 1
15222 _ACEOF
15227 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15228 #include <signal.h>
15230 if test "x$ac_cv_type_sigset_t" = xyes; then :
15232 cat >>confdefs.h <<_ACEOF
15233 #define HAVE_SIGSET_T 1
15234 _ACEOF
15239 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15241 if test "x$ac_cv_type_request_sense" = xyes; then :
15243 cat >>confdefs.h <<_ACEOF
15244 #define HAVE_REQUEST_SENSE 1
15245 _ACEOF
15251 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15252 #ifdef HAVE_SYS_SOCKET_H
15253 #include <sys/socket.h>
15254 #endif
15255 #ifdef HAVE_SYS_SOCKETVAR_H
15256 #include <sys/socketvar.h>
15257 #endif
15258 #ifdef HAVE_NET_ROUTE_H
15259 #include <net/route.h>
15260 #endif
15261 #ifdef HAVE_NETINET_IN_H
15262 #include <netinet/in.h>
15263 #endif
15264 #ifdef HAVE_NETINET_IN_SYSTM_H
15265 #include <netinet/in_systm.h>
15266 #endif
15267 #ifdef HAVE_NETINET_IP_H
15268 #include <netinet/ip.h>
15269 #endif
15270 #ifdef HAVE_NETINET_IN_PCB_H
15271 #include <netinet/in_pcb.h>
15272 #endif
15274 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15276 cat >>confdefs.h <<_ACEOF
15277 #define HAVE_STRUCT_XINPGEN 1
15278 _ACEOF
15284 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15285 #include <link.h>
15286 #endif
15287 #ifdef HAVE_SYS_LINK_H
15288 #include <sys/link.h>
15289 #endif
15291 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15293 cat >>confdefs.h <<_ACEOF
15294 #define HAVE_STRUCT_R_DEBUG 1
15295 _ACEOF
15299 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15300 #include <link.h>
15301 #endif
15302 #ifdef HAVE_SYS_LINK_H
15303 #include <sys/link.h>
15304 #endif
15306 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15308 cat >>confdefs.h <<_ACEOF
15309 #define HAVE_STRUCT_LINK_MAP 1
15310 _ACEOF
15316 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15317 #include <linux/input.h>
15318 #endif
15320 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15322 cat >>confdefs.h <<_ACEOF
15323 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15324 _ACEOF
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15331 $as_echo_n "checking for sigaddset... " >&6; }
15332 if ${wine_cv_have_sigaddset+:} false; then :
15333 $as_echo_n "(cached) " >&6
15334 else
15335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15336 /* end confdefs.h. */
15337 #include <signal.h>
15339 main ()
15341 sigset_t set; sigaddset(&set,SIGTERM);
15343 return 0;
15345 _ACEOF
15346 if ac_fn_c_try_link "$LINENO"; then :
15347 wine_cv_have_sigaddset=yes
15348 else
15349 wine_cv_have_sigaddset=no
15351 rm -f core conftest.err conftest.$ac_objext \
15352 conftest$ac_exeext conftest.$ac_ext
15354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15355 $as_echo "$wine_cv_have_sigaddset" >&6; }
15356 if test "$wine_cv_have_sigaddset" = "yes"
15357 then
15359 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15365 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15366 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15367 $as_echo_n "(cached) " >&6
15368 else
15369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15370 /* end confdefs.h. */
15371 #include <netdb.h>
15373 main ()
15376 char *name=0;
15377 struct hostent he;
15378 struct hostent *result;
15379 char *buf=0;
15380 int bufsize=0;
15381 int errnr;
15382 char *addr=0;
15383 int addrlen=0;
15384 int addrtype=0;
15385 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15386 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15389 return 0;
15391 _ACEOF
15392 if ac_fn_c_try_link "$LINENO"; then :
15393 wine_cv_linux_gethostbyname_r_6=yes
15394 else
15395 wine_cv_linux_gethostbyname_r_6=no
15398 rm -f core conftest.err conftest.$ac_objext \
15399 conftest$ac_exeext conftest.$ac_ext
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15403 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15404 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15405 then
15407 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15411 if test "$ac_cv_header_linux_joystick_h" = "yes"
15412 then
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15414 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15415 if ${wine_cv_linux_joystick_22_api+:} false; then :
15416 $as_echo_n "(cached) " >&6
15417 else
15418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15419 /* end confdefs.h. */
15421 #include <sys/ioctl.h>
15422 #include <sys/types.h>
15423 #include <linux/joystick.h>
15425 struct js_event blub;
15426 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15427 #error "no 2.2 header"
15428 #endif
15431 main ()
15433 /*empty*/
15435 return 0;
15437 _ACEOF
15438 if ac_fn_c_try_compile "$LINENO"; then :
15439 wine_cv_linux_joystick_22_api=yes
15440 else
15441 wine_cv_linux_joystick_22_api=no
15443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15447 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15448 if test "$wine_cv_linux_joystick_22_api" = "yes"
15449 then
15451 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15457 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15458 #ifdef HAVE_SYS_PARAM_H
15459 # include <sys/param.h>
15460 #endif
15461 #ifdef HAVE_SYS_MOUNT_H
15462 # include <sys/mount.h>
15463 #endif
15464 #ifdef HAVE_SYS_VFS_H
15465 # include <sys/vfs.h>
15466 #endif
15467 #ifdef HAVE_SYS_STATFS_H
15468 # include <sys/statfs.h>
15469 #endif
15471 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15473 cat >>confdefs.h <<_ACEOF
15474 #define HAVE_STRUCT_STATFS_F_BFREE 1
15475 _ACEOF
15479 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15480 #ifdef HAVE_SYS_PARAM_H
15481 # include <sys/param.h>
15482 #endif
15483 #ifdef HAVE_SYS_MOUNT_H
15484 # include <sys/mount.h>
15485 #endif
15486 #ifdef HAVE_SYS_VFS_H
15487 # include <sys/vfs.h>
15488 #endif
15489 #ifdef HAVE_SYS_STATFS_H
15490 # include <sys/statfs.h>
15491 #endif
15493 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15495 cat >>confdefs.h <<_ACEOF
15496 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15497 _ACEOF
15501 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15502 #ifdef HAVE_SYS_PARAM_H
15503 # include <sys/param.h>
15504 #endif
15505 #ifdef HAVE_SYS_MOUNT_H
15506 # include <sys/mount.h>
15507 #endif
15508 #ifdef HAVE_SYS_VFS_H
15509 # include <sys/vfs.h>
15510 #endif
15511 #ifdef HAVE_SYS_STATFS_H
15512 # include <sys/statfs.h>
15513 #endif
15515 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15517 cat >>confdefs.h <<_ACEOF
15518 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15519 _ACEOF
15523 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15524 #ifdef HAVE_SYS_PARAM_H
15525 # include <sys/param.h>
15526 #endif
15527 #ifdef HAVE_SYS_MOUNT_H
15528 # include <sys/mount.h>
15529 #endif
15530 #ifdef HAVE_SYS_VFS_H
15531 # include <sys/vfs.h>
15532 #endif
15533 #ifdef HAVE_SYS_STATFS_H
15534 # include <sys/statfs.h>
15535 #endif
15537 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15539 cat >>confdefs.h <<_ACEOF
15540 #define HAVE_STRUCT_STATFS_F_FFREE 1
15541 _ACEOF
15545 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15546 #ifdef HAVE_SYS_PARAM_H
15547 # include <sys/param.h>
15548 #endif
15549 #ifdef HAVE_SYS_MOUNT_H
15550 # include <sys/mount.h>
15551 #endif
15552 #ifdef HAVE_SYS_VFS_H
15553 # include <sys/vfs.h>
15554 #endif
15555 #ifdef HAVE_SYS_STATFS_H
15556 # include <sys/statfs.h>
15557 #endif
15559 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15561 cat >>confdefs.h <<_ACEOF
15562 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15563 _ACEOF
15567 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15568 #ifdef HAVE_SYS_PARAM_H
15569 # include <sys/param.h>
15570 #endif
15571 #ifdef HAVE_SYS_MOUNT_H
15572 # include <sys/mount.h>
15573 #endif
15574 #ifdef HAVE_SYS_VFS_H
15575 # include <sys/vfs.h>
15576 #endif
15577 #ifdef HAVE_SYS_STATFS_H
15578 # include <sys/statfs.h>
15579 #endif
15581 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15583 cat >>confdefs.h <<_ACEOF
15584 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15585 _ACEOF
15591 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15592 #include <sys/statvfs.h>
15593 #endif
15595 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15597 cat >>confdefs.h <<_ACEOF
15598 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15599 _ACEOF
15605 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15606 #include <dirent.h>
15607 #endif
15609 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15611 cat >>confdefs.h <<_ACEOF
15612 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15613 _ACEOF
15619 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15620 #ifdef HAVE_SYS_SOCKET_H
15621 # include <sys/socket.h>
15622 #endif
15623 #ifdef HAVE_SYS_UN_H
15624 # include <sys/un.h>
15625 #endif
15627 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15629 cat >>confdefs.h <<_ACEOF
15630 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15631 _ACEOF
15635 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15636 #ifdef HAVE_SYS_SOCKET_H
15637 # include <sys/socket.h>
15638 #endif
15639 #ifdef HAVE_SYS_UN_H
15640 # include <sys/un.h>
15641 #endif
15643 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15645 cat >>confdefs.h <<_ACEOF
15646 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15647 _ACEOF
15651 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15652 #ifdef HAVE_SYS_SOCKET_H
15653 # include <sys/socket.h>
15654 #endif
15655 #ifdef HAVE_SYS_UN_H
15656 # include <sys/un.h>
15657 #endif
15659 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15661 cat >>confdefs.h <<_ACEOF
15662 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15663 _ACEOF
15669 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15670 #ifdef HAVE_SCSI_SG_H
15671 #include <scsi/sg.h>
15672 #endif
15674 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15676 cat >>confdefs.h <<_ACEOF
15677 #define HAVE_SCSIREQ_T_CMD 1
15678 _ACEOF
15682 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>
15683 #ifdef HAVE_SCSI_SG_H
15684 #include <scsi/sg.h>
15685 #endif
15687 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15689 cat >>confdefs.h <<_ACEOF
15690 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15691 _ACEOF
15697 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15699 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15701 cat >>confdefs.h <<_ACEOF
15702 #define HAVE_SIGINFO_T_SI_FD 1
15703 _ACEOF
15709 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15710 #ifdef HAVE_SYS_MTIO_H
15711 #include <sys/mtio.h>
15712 #endif
15714 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15716 cat >>confdefs.h <<_ACEOF
15717 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15718 _ACEOF
15722 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15723 #ifdef HAVE_SYS_MTIO_H
15724 #include <sys/mtio.h>
15725 #endif
15727 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15729 cat >>confdefs.h <<_ACEOF
15730 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15731 _ACEOF
15735 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15736 #ifdef HAVE_SYS_MTIO_H
15737 #include <sys/mtio.h>
15738 #endif
15740 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15742 cat >>confdefs.h <<_ACEOF
15743 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15744 _ACEOF
15750 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15751 #include <getopt.h>
15752 #endif
15754 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15756 cat >>confdefs.h <<_ACEOF
15757 #define HAVE_STRUCT_OPTION_NAME 1
15758 _ACEOF
15764 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15765 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15767 cat >>confdefs.h <<_ACEOF
15768 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15769 _ACEOF
15773 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15774 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15776 cat >>confdefs.h <<_ACEOF
15777 #define HAVE_STRUCT_STAT_ST_MTIM 1
15778 _ACEOF
15782 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15783 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15785 cat >>confdefs.h <<_ACEOF
15786 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15787 _ACEOF
15791 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15792 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15794 cat >>confdefs.h <<_ACEOF
15795 #define HAVE_STRUCT_STAT_ST_CTIM 1
15796 _ACEOF
15800 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15801 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15803 cat >>confdefs.h <<_ACEOF
15804 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15805 _ACEOF
15809 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15810 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15812 cat >>confdefs.h <<_ACEOF
15813 #define HAVE_STRUCT_STAT_ST_ATIM 1
15814 _ACEOF
15818 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15819 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15821 cat >>confdefs.h <<_ACEOF
15822 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15823 _ACEOF
15827 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15828 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15830 cat >>confdefs.h <<_ACEOF
15831 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15832 _ACEOF
15836 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15837 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15839 cat >>confdefs.h <<_ACEOF
15840 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15841 _ACEOF
15845 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15846 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15848 cat >>confdefs.h <<_ACEOF
15849 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15850 _ACEOF
15854 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15855 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15857 cat >>confdefs.h <<_ACEOF
15858 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15859 _ACEOF
15863 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15864 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15866 cat >>confdefs.h <<_ACEOF
15867 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15868 _ACEOF
15874 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
15875 #include <sys/types.h>
15876 #endif
15877 #ifdef HAVE_NETINET_IN_H
15878 #include <netinet/in.h>
15879 #endif
15881 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15883 cat >>confdefs.h <<_ACEOF
15884 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15885 _ACEOF
15891 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15892 #include <resolv.h>
15893 #endif
15895 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15897 cat >>confdefs.h <<_ACEOF
15898 #define HAVE_STRUCT___RES_STATE 1
15899 _ACEOF
15905 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
15906 #include <resolv.h>
15907 #endif
15909 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15911 cat >>confdefs.h <<_ACEOF
15912 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15913 _ACEOF
15919 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15920 #include <sys/types.h>
15921 #endif
15922 #ifdef HAVE_NETINET_IN_H
15923 # include <netinet/in.h>
15924 #endif
15925 #ifdef HAVE_ARPA_NAMESER_H
15926 # include <arpa/nameser.h>
15927 #endif
15929 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
15931 cat >>confdefs.h <<_ACEOF
15932 #define HAVE_NS_MSG__MSG_PTR 1
15933 _ACEOF
15939 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15940 #include <sys/types.h>
15941 #endif
15942 #ifdef HAVE_NETINET_IP_H
15943 #include <netinet/ip.h>
15944 #endif
15945 #ifdef HAVE_NETINET_IP_ICMP_H
15946 #include <netinet/ip_icmp.h>
15947 #endif
15948 #ifdef HAVE_NETINET_ICMP_VAR_H
15949 #include <netinet/icmp_var.h>
15950 #endif
15952 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
15954 cat >>confdefs.h <<_ACEOF
15955 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15956 _ACEOF
15962 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15963 #include <sys/types.h>
15964 #endif
15965 #ifdef HAVE_ALIAS_H
15966 #include <alias.h>
15967 #endif
15968 #ifdef HAVE_SYS_SOCKET_H
15969 #include <sys/socket.h>
15970 #endif
15971 #ifdef HAVE_SYS_SOCKETVAR_H
15972 #include <sys/socketvar.h>
15973 #endif
15974 #ifdef HAVE_SYS_TIMEOUT_H
15975 #include <sys/timeout.h>
15976 #endif
15977 #ifdef HAVE_NETINET_IN_H
15978 #include <netinet/in.h>
15979 #endif
15980 #ifdef HAVE_NETINET_IN_SYSTM_H
15981 #include <netinet/in_systm.h>
15982 #endif
15983 #ifdef HAVE_NETINET_IP_H
15984 #include <netinet/ip.h>
15985 #endif
15986 #ifdef HAVE_NETINET_IP_VAR_H
15987 #include <netinet/ip_var.h>
15988 #endif
15989 #ifdef HAVE_NETINET_IP_ICMP_H
15990 #include <netinet/ip_icmp.h>
15991 #endif
15992 #ifdef HAVE_NETINET_ICMP_VAR_H
15993 #include <netinet/icmp_var.h>
15994 #endif
15996 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
15998 cat >>confdefs.h <<_ACEOF
15999 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16000 _ACEOF
16006 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16007 #include <sys/types.h>
16008 #endif
16009 #ifdef HAVE_SYS_SOCKETVAR_H
16010 #include <sys/socketvar.h>
16011 #endif
16012 #ifdef HAVE_NETINET_IN_H
16013 #include <netinet/in.h>
16014 #endif
16015 #ifdef HAVE_NETINET_IP_VAR_H
16016 #include <netinet/ip_var.h>
16017 #endif
16019 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16021 cat >>confdefs.h <<_ACEOF
16022 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16023 _ACEOF
16029 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
16030 #include <netinet/ip_var.h>
16031 #endif
16033 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16035 cat >>confdefs.h <<_ACEOF
16036 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16037 _ACEOF
16043 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16044 #include <sys/types.h>
16045 #endif
16046 #ifdef HAVE_SYS_SOCKETVAR_H
16047 #include <sys/socketvar.h>
16048 #endif
16049 #ifdef HAVE_NETINET_IN_H
16050 #include <netinet/in.h>
16051 #endif
16052 #ifdef HAVE_NETINET_TCP_H
16053 #include <netinet/tcp.h>
16054 #endif
16055 #ifdef HAVE_NETINET_TCP_VAR_H
16056 #include <netinet/tcp_var.h>
16057 #endif
16059 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16061 cat >>confdefs.h <<_ACEOF
16062 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16063 _ACEOF
16069 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
16070 #include <netinet/tcp_var.h>
16071 #endif
16073 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16075 cat >>confdefs.h <<_ACEOF
16076 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16077 _ACEOF
16083 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16084 #include <sys/types.h>
16085 #endif
16086 #ifdef HAVE_NETINET_IN_H
16087 #include <netinet/in.h>
16088 #endif
16089 #ifdef HAVE_NETINET_IP_VAR_H
16090 #include <netinet/ip_var.h>
16091 #endif
16092 #ifdef HAVE_NETINET_UDP_H
16093 #include <netinet/udp.h>
16094 #endif
16095 #ifdef HAVE_NETINET_UDP_VAR_H
16096 #include <netinet/udp_var.h>
16097 #endif
16099 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16101 cat >>confdefs.h <<_ACEOF
16102 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16103 _ACEOF
16109 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16110 #include <sys/types.h>
16111 #endif
16112 #ifdef HAVE_NET_IF_H
16113 # include <net/if.h>
16114 #endif
16116 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16118 cat >>confdefs.h <<_ACEOF
16119 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16120 _ACEOF
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16127 $as_echo_n "checking for timezone variable... " >&6; }
16128 if ${ac_cv_have_timezone+:} false; then :
16129 $as_echo_n "(cached) " >&6
16130 else
16131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16132 /* end confdefs.h. */
16133 #include <time.h>
16135 main ()
16137 timezone = 1
16139 return 0;
16141 _ACEOF
16142 if ac_fn_c_try_link "$LINENO"; then :
16143 ac_cv_have_timezone="yes"
16144 else
16145 ac_cv_have_timezone="no"
16147 rm -f core conftest.err conftest.$ac_objext \
16148 conftest$ac_exeext conftest.$ac_ext
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16151 $as_echo "$ac_cv_have_timezone" >&6; }
16152 if test "$ac_cv_have_timezone" = "yes"
16153 then
16155 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16159 $as_echo_n "checking for daylight variable... " >&6; }
16160 if ${ac_cv_have_daylight+:} false; then :
16161 $as_echo_n "(cached) " >&6
16162 else
16163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16164 /* end confdefs.h. */
16165 #include <time.h>
16167 main ()
16169 daylight = 1
16171 return 0;
16173 _ACEOF
16174 if ac_fn_c_try_link "$LINENO"; then :
16175 ac_cv_have_daylight="yes"
16176 else
16177 ac_cv_have_daylight="no"
16179 rm -f core conftest.err conftest.$ac_objext \
16180 conftest$ac_exeext conftest.$ac_ext
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16183 $as_echo "$ac_cv_have_daylight" >&6; }
16184 if test "$ac_cv_have_daylight" = "yes"
16185 then
16187 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16191 ac_save_LIBS="$LIBS"
16192 LIBS="$LIBS -lm"
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16194 $as_echo_n "checking for isfinite... " >&6; }
16195 if ${ac_cv_have_isfinite+:} false; then :
16196 $as_echo_n "(cached) " >&6
16197 else
16198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16199 /* end confdefs.h. */
16200 #define _GNU_SOURCE
16201 #include <math.h>
16203 main ()
16205 float f = 0.0; return isfinite(f)
16207 return 0;
16209 _ACEOF
16210 if ac_fn_c_try_link "$LINENO"; then :
16211 ac_cv_have_isfinite="yes"
16212 else
16213 ac_cv_have_isfinite="no"
16215 rm -f core conftest.err conftest.$ac_objext \
16216 conftest$ac_exeext conftest.$ac_ext
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16219 $as_echo "$ac_cv_have_isfinite" >&6; }
16220 if test "$ac_cv_have_isfinite" = "yes"
16221 then
16223 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16227 ac_save_LIBS="$LIBS"
16228 LIBS="$LIBS -lm"
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16230 $as_echo_n "checking for isinf... " >&6; }
16231 if ${ac_cv_have_isinf+:} false; then :
16232 $as_echo_n "(cached) " >&6
16233 else
16234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16235 /* end confdefs.h. */
16236 #include <math.h>
16238 main ()
16240 float f = 0.0; return isinf(f)
16242 return 0;
16244 _ACEOF
16245 if ac_fn_c_try_link "$LINENO"; then :
16246 ac_cv_have_isinf="yes"
16247 else
16248 ac_cv_have_isinf="no"
16250 rm -f core conftest.err conftest.$ac_objext \
16251 conftest$ac_exeext conftest.$ac_ext
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16254 $as_echo "$ac_cv_have_isinf" >&6; }
16255 if test "$ac_cv_have_isinf" = "yes"
16256 then
16258 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16263 $as_echo_n "checking for isnan... " >&6; }
16264 if ${ac_cv_have_isnan+:} false; then :
16265 $as_echo_n "(cached) " >&6
16266 else
16267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16268 /* end confdefs.h. */
16269 #include <math.h>
16271 main ()
16273 float f = 0.0; return isnan(f)
16275 return 0;
16277 _ACEOF
16278 if ac_fn_c_try_link "$LINENO"; then :
16279 ac_cv_have_isnan="yes"
16280 else
16281 ac_cv_have_isnan="no"
16283 rm -f core conftest.err conftest.$ac_objext \
16284 conftest$ac_exeext conftest.$ac_ext
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16287 $as_echo "$ac_cv_have_isnan" >&6; }
16288 if test "$ac_cv_have_isnan" = "yes"
16289 then
16291 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16294 LIBS="$ac_save_LIBS"
16297 case $host_cpu in
16298 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16299 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16300 if ${ac_cv_cpp_def___i386__+:} false; then :
16301 $as_echo_n "(cached) " >&6
16302 else
16303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16304 /* end confdefs.h. */
16305 #ifndef __i386__
16307 #endif
16308 _ACEOF
16309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16310 $EGREP "yes" >/dev/null 2>&1; then :
16311 ac_cv_cpp_def___i386__=yes
16312 else
16313 ac_cv_cpp_def___i386__=no
16315 rm -f conftest*
16318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16319 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16320 if test $ac_cv_cpp_def___i386__ = yes; then :
16321 CFLAGS="$CFLAGS -D__i386__"
16322 LINTFLAGS="$LINTFLAGS -D__i386__"
16323 fi ;;
16324 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16325 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16326 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16327 $as_echo_n "(cached) " >&6
16328 else
16329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16330 /* end confdefs.h. */
16331 #ifndef __x86_64__
16333 #endif
16334 _ACEOF
16335 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16336 $EGREP "yes" >/dev/null 2>&1; then :
16337 ac_cv_cpp_def___x86_64__=yes
16338 else
16339 ac_cv_cpp_def___x86_64__=no
16341 rm -f conftest*
16344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16345 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16346 if test $ac_cv_cpp_def___x86_64__ = yes; then :
16347 CFLAGS="$CFLAGS -D__x86_64__"
16348 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16349 fi ;;
16350 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16351 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16352 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16353 $as_echo_n "(cached) " >&6
16354 else
16355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16356 /* end confdefs.h. */
16357 #ifndef __sparc64__
16359 #endif
16360 _ACEOF
16361 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16362 $EGREP "yes" >/dev/null 2>&1; then :
16363 ac_cv_cpp_def___sparc64__=yes
16364 else
16365 ac_cv_cpp_def___sparc64__=no
16367 rm -f conftest*
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16371 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16372 if test $ac_cv_cpp_def___sparc64__ = yes; then :
16373 CFLAGS="$CFLAGS -D__sparc64__"
16374 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16375 fi ;;
16376 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16377 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16378 if ${ac_cv_cpp_def___sparc__+:} false; then :
16379 $as_echo_n "(cached) " >&6
16380 else
16381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16382 /* end confdefs.h. */
16383 #ifndef __sparc__
16385 #endif
16386 _ACEOF
16387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16388 $EGREP "yes" >/dev/null 2>&1; then :
16389 ac_cv_cpp_def___sparc__=yes
16390 else
16391 ac_cv_cpp_def___sparc__=no
16393 rm -f conftest*
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16397 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16398 if test $ac_cv_cpp_def___sparc__ = yes; then :
16399 CFLAGS="$CFLAGS -D__sparc__"
16400 LINTFLAGS="$LINTFLAGS -D__sparc__"
16401 fi ;;
16402 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16403 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16404 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16405 $as_echo_n "(cached) " >&6
16406 else
16407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16408 /* end confdefs.h. */
16409 #ifndef __powerpc64__
16411 #endif
16412 _ACEOF
16413 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16414 $EGREP "yes" >/dev/null 2>&1; then :
16415 ac_cv_cpp_def___powerpc64__=yes
16416 else
16417 ac_cv_cpp_def___powerpc64__=no
16419 rm -f conftest*
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16423 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16424 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
16425 CFLAGS="$CFLAGS -D__powerpc64__"
16426 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16427 fi ;;
16428 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16429 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16430 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16431 $as_echo_n "(cached) " >&6
16432 else
16433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16434 /* end confdefs.h. */
16435 #ifndef __powerpc__
16437 #endif
16438 _ACEOF
16439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16440 $EGREP "yes" >/dev/null 2>&1; then :
16441 ac_cv_cpp_def___powerpc__=yes
16442 else
16443 ac_cv_cpp_def___powerpc__=no
16445 rm -f conftest*
16448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16449 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16450 if test $ac_cv_cpp_def___powerpc__ = yes; then :
16451 CFLAGS="$CFLAGS -D__powerpc__"
16452 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16453 fi ;;
16454 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16455 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16456 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16457 $as_echo_n "(cached) " >&6
16458 else
16459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16460 /* end confdefs.h. */
16461 #ifndef __aarch64__
16463 #endif
16464 _ACEOF
16465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16466 $EGREP "yes" >/dev/null 2>&1; then :
16467 ac_cv_cpp_def___aarch64__=yes
16468 else
16469 ac_cv_cpp_def___aarch64__=no
16471 rm -f conftest*
16474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16475 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16476 if test $ac_cv_cpp_def___aarch64__ = yes; then :
16477 CFLAGS="$CFLAGS -D__aarch64__"
16478 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16479 fi ;;
16480 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16481 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16482 if ${ac_cv_cpp_def___arm__+:} false; then :
16483 $as_echo_n "(cached) " >&6
16484 else
16485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16486 /* end confdefs.h. */
16487 #ifndef __arm__
16489 #endif
16490 _ACEOF
16491 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16492 $EGREP "yes" >/dev/null 2>&1; then :
16493 ac_cv_cpp_def___arm__=yes
16494 else
16495 ac_cv_cpp_def___arm__=no
16497 rm -f conftest*
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16501 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16502 if test $ac_cv_cpp_def___arm__ = yes; then :
16503 CFLAGS="$CFLAGS -D__arm__"
16504 LINTFLAGS="$LINTFLAGS -D__arm__"
16505 fi ;;
16506 esac
16508 case $host_vendor in
16509 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16510 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16511 if ${ac_cv_cpp_def___sun__+:} false; then :
16512 $as_echo_n "(cached) " >&6
16513 else
16514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16515 /* end confdefs.h. */
16516 #ifndef __sun__
16518 #endif
16519 _ACEOF
16520 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16521 $EGREP "yes" >/dev/null 2>&1; then :
16522 ac_cv_cpp_def___sun__=yes
16523 else
16524 ac_cv_cpp_def___sun__=no
16526 rm -f conftest*
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16530 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16531 if test $ac_cv_cpp_def___sun__ = yes; then :
16532 CFLAGS="$CFLAGS -D__sun__"
16533 LINTFLAGS="$LINTFLAGS -D__sun__"
16534 fi ;;
16535 esac
16541 ac_config_commands="$ac_config_commands include/stamp-h"
16543 $as_echo_n "creating Makefile rules..." >&6
16546 MAKE_IMPLIB_RULES="DLLFLAGS = $DLLFLAGS
16549 if test -n "$CROSSTARGET"
16550 then
16551 as_fn_append MAKE_IMPLIB_RULES "MAKEDEPFLAGS = -xo -xcross.o
16556 MAKE_DLL_RULES="
16557 DLLFLAGS = $DLLFLAGS
16561 MAKE_PROG_RULES="
16562 DLLFLAGS = $DLLFLAGS
16567 MAKE_TEST_RULES="
16568 DLLFLAGS = $DLLFLAGS
16569 RUNTESTFLAGS = -q -P wine
16570 EXTRA_OBJS = testlist.o
16573 if test -n "$CROSSTARGET"
16574 then
16575 as_fn_append MAKE_TEST_RULES "
16576 MAKEDEPFLAGS = -xo -xcross.o
16581 wine_fn_append_rule "
16582 # Rules automatically generated by configure
16584 .INIT: Makefile
16585 .MAKEFILEDEPS:
16586 all: Makefile
16587 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status
16588 @./config.status Make.tmp Makefile"
16590 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16591 .gitignore: config.status
16592 @./config.status .gitignore"
16594 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16595 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16597 if test "x$enable_fonts" != xno; then
16598 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16599 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16600 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16601 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16602 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16604 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16605 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16606 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16607 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16608 ac_config_links="$ac_config_links wine:tools/winewrapper"
16609 wine_fn_config_symlink wine
16610 if test "x$enable_win64" != xno; then
16611 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16612 wine_fn_config_symlink wine64
16615 wine_fn_config_makerules Make.rules
16616 MAKE_RULES=Make.rules
16617 ac_config_files="$ac_config_files Make.rules"
16620 wine_fn_config_dll acledit enable_acledit
16621 wine_fn_config_dll aclui enable_aclui implib
16622 wine_fn_config_dll activeds enable_activeds implib
16623 wine_fn_config_dll actxprxy enable_actxprxy clean
16624 wine_fn_config_lib adsiid
16625 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16626 wine_fn_config_test dlls/advapi32/tests advapi32_test
16627 wine_fn_config_dll advpack enable_advpack implib
16628 wine_fn_config_test dlls/advpack/tests advpack_test
16629 wine_fn_config_dll amstream enable_amstream clean
16630 wine_fn_config_test dlls/amstream/tests amstream_test
16631 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16632 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16633 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16634 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16635 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16636 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16637 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16638 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16639 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16640 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16641 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16642 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16643 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16644 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16645 wine_fn_config_dll apphelp enable_apphelp
16646 wine_fn_config_test dlls/apphelp/tests apphelp_test
16647 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16648 wine_fn_config_dll atl enable_atl clean,implib
16649 wine_fn_config_test dlls/atl/tests atl_test
16650 wine_fn_config_dll atl100 enable_atl100 implib
16651 wine_fn_config_test dlls/atl100/tests atl100_test
16652 wine_fn_config_dll atl110 enable_atl110
16653 wine_fn_config_dll atl80 enable_atl80 implib
16654 wine_fn_config_test dlls/atl80/tests atl80_test
16655 wine_fn_config_dll atl90 enable_atl90
16656 wine_fn_config_dll authz enable_authz
16657 wine_fn_config_dll avicap32 enable_avicap32 implib
16658 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16659 wine_fn_config_test dlls/avifil32/tests avifil32_test
16660 wine_fn_config_dll avifile.dll16 enable_win16
16661 wine_fn_config_dll avrt enable_avrt implib
16662 wine_fn_config_dll bcrypt enable_bcrypt
16663 wine_fn_config_dll browseui enable_browseui clean,po
16664 wine_fn_config_test dlls/browseui/tests browseui_test
16665 wine_fn_config_dll cabinet enable_cabinet implib
16666 wine_fn_config_test dlls/cabinet/tests cabinet_test
16667 wine_fn_config_dll capi2032 enable_capi2032 implib
16668 wine_fn_config_dll cards enable_cards implib
16669 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16670 wine_fn_config_dll clusapi enable_clusapi implib
16671 wine_fn_config_dll comcat enable_comcat
16672 wine_fn_config_test dlls/comcat/tests comcat_test
16673 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16674 wine_fn_config_test dlls/comctl32/tests comctl32_test
16675 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16676 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16677 wine_fn_config_dll comm.drv16 enable_win16
16678 wine_fn_config_dll commdlg.dll16 enable_win16
16679 wine_fn_config_dll compobj.dll16 enable_win16
16680 wine_fn_config_dll compstui enable_compstui implib
16681 wine_fn_config_dll comsvcs enable_comsvcs implib
16682 wine_fn_config_dll credui enable_credui implib,po
16683 wine_fn_config_test dlls/credui/tests credui_test
16684 wine_fn_config_dll crtdll enable_crtdll implib
16685 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16686 wine_fn_config_test dlls/crypt32/tests crypt32_test
16687 wine_fn_config_dll cryptdlg enable_cryptdlg po
16688 wine_fn_config_dll cryptdll enable_cryptdll implib
16689 wine_fn_config_dll cryptnet enable_cryptnet implib
16690 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16691 wine_fn_config_dll cryptui enable_cryptui implib,po
16692 wine_fn_config_test dlls/cryptui/tests cryptui_test
16693 wine_fn_config_dll ctapi32 enable_ctapi32
16694 wine_fn_config_dll ctl3d.dll16 enable_win16
16695 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16696 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16697 wine_fn_config_dll d3d10 enable_d3d10 implib
16698 wine_fn_config_test dlls/d3d10/tests d3d10_test
16699 wine_fn_config_dll d3d10core enable_d3d10core implib
16700 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16701 wine_fn_config_dll d3d11 enable_d3d11
16702 wine_fn_config_dll d3d8 enable_d3d8 implib
16703 wine_fn_config_test dlls/d3d8/tests d3d8_test
16704 wine_fn_config_dll d3d9 enable_d3d9 implib
16705 wine_fn_config_test dlls/d3d9/tests d3d9_test
16706 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16707 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16708 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16709 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16710 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16711 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16712 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16713 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16714 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16715 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16716 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16717 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16718 wine_fn_config_dll d3dim enable_d3dim implib
16719 wine_fn_config_dll d3drm enable_d3drm implib
16720 wine_fn_config_test dlls/d3drm/tests d3drm_test
16721 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16722 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16723 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16724 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16725 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16726 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16727 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16728 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16729 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16730 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16731 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16732 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16733 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16734 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16735 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16736 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16737 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16738 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16739 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16740 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16741 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16742 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16743 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16744 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16745 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16746 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16747 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16748 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16749 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16750 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16751 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16752 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16753 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16754 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16755 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16756 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16757 wine_fn_config_dll dbgeng enable_dbgeng implib
16758 wine_fn_config_dll dbghelp enable_dbghelp implib
16759 wine_fn_config_dll dciman32 enable_dciman32 implib
16760 wine_fn_config_dll ddeml.dll16 enable_win16
16761 wine_fn_config_dll ddraw enable_ddraw clean,implib
16762 wine_fn_config_test dlls/ddraw/tests ddraw_test
16763 wine_fn_config_dll ddrawex enable_ddrawex clean
16764 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16765 wine_fn_config_dll devenum enable_devenum clean,po
16766 wine_fn_config_test dlls/devenum/tests devenum_test
16767 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16768 wine_fn_config_dll difxapi enable_difxapi
16769 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16770 wine_fn_config_test dlls/dinput/tests dinput_test
16771 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16772 wine_fn_config_test dlls/dinput8/tests dinput8_test
16773 wine_fn_config_dll dispdib.dll16 enable_win16
16774 wine_fn_config_dll dispex enable_dispex clean
16775 wine_fn_config_test dlls/dispex/tests dispex_test
16776 wine_fn_config_dll display.drv16 enable_win16
16777 wine_fn_config_dll dmband enable_dmband clean
16778 wine_fn_config_test dlls/dmband/tests dmband_test
16779 wine_fn_config_dll dmcompos enable_dmcompos clean
16780 wine_fn_config_dll dmime enable_dmime clean
16781 wine_fn_config_test dlls/dmime/tests dmime_test
16782 wine_fn_config_dll dmloader enable_dmloader clean
16783 wine_fn_config_test dlls/dmloader/tests dmloader_test
16784 wine_fn_config_dll dmscript enable_dmscript clean
16785 wine_fn_config_dll dmstyle enable_dmstyle clean
16786 wine_fn_config_dll dmsynth enable_dmsynth clean
16787 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16788 wine_fn_config_dll dmusic enable_dmusic clean
16789 wine_fn_config_test dlls/dmusic/tests dmusic_test
16790 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16791 wine_fn_config_dll dnsapi enable_dnsapi implib
16792 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16793 wine_fn_config_dll dplay enable_dplay implib
16794 wine_fn_config_dll dplayx enable_dplayx clean,implib
16795 wine_fn_config_test dlls/dplayx/tests dplayx_test
16796 wine_fn_config_dll dpnaddr enable_dpnaddr
16797 wine_fn_config_dll dpnet enable_dpnet clean,implib
16798 wine_fn_config_test dlls/dpnet/tests dpnet_test
16799 wine_fn_config_dll dpnhpast enable_dpnhpast
16800 wine_fn_config_dll dpnlobby enable_dpnlobby
16801 wine_fn_config_dll dpwsockx enable_dpwsockx
16802 wine_fn_config_dll drmclien enable_drmclien
16803 wine_fn_config_dll dsound enable_dsound clean,implib
16804 wine_fn_config_test dlls/dsound/tests dsound_test
16805 wine_fn_config_dll dssenh enable_dssenh
16806 wine_fn_config_test dlls/dssenh/tests dssenh_test
16807 wine_fn_config_dll dswave enable_dswave clean
16808 wine_fn_config_dll dwmapi enable_dwmapi implib
16809 wine_fn_config_dll dwrite enable_dwrite implib
16810 wine_fn_config_test dlls/dwrite/tests dwrite_test
16811 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16812 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16813 wine_fn_config_lib dxerr8
16814 wine_fn_config_lib dxerr9
16815 wine_fn_config_dll dxgi enable_dxgi implib
16816 wine_fn_config_test dlls/dxgi/tests dxgi_test
16817 wine_fn_config_lib dxguid
16818 wine_fn_config_dll explorerframe enable_explorerframe clean
16819 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16820 wine_fn_config_dll faultrep enable_faultrep implib
16821 wine_fn_config_test dlls/faultrep/tests faultrep_test
16822 wine_fn_config_dll fltlib enable_fltlib
16823 wine_fn_config_dll fusion enable_fusion
16824 wine_fn_config_test dlls/fusion/tests fusion_test
16825 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16826 wine_fn_config_dll gameux enable_gameux clean
16827 wine_fn_config_test dlls/gameux/tests gameux_test
16828 wine_fn_config_dll gdi.exe16 enable_win16
16829 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
16830 wine_fn_config_test dlls/gdi32/tests gdi32_test
16831 wine_fn_config_dll gdiplus enable_gdiplus implib
16832 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16833 wine_fn_config_dll glu32 enable_glu32 implib
16834 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16835 wine_fn_config_dll gpkcsp enable_gpkcsp
16836 wine_fn_config_dll hal enable_hal
16837 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16838 wine_fn_config_dll hid enable_hid implib
16839 wine_fn_config_dll hlink enable_hlink clean,implib
16840 wine_fn_config_test dlls/hlink/tests hlink_test
16841 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16842 wine_fn_config_dll httpapi enable_httpapi
16843 wine_fn_config_dll iccvid enable_iccvid po
16844 wine_fn_config_dll icmp enable_icmp
16845 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16846 wine_fn_config_test dlls/ieframe/tests ieframe_test
16847 wine_fn_config_dll ifsmgr.vxd enable_win16
16848 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16849 wine_fn_config_dll imagehlp enable_imagehlp implib
16850 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16851 wine_fn_config_dll imm.dll16 enable_win16
16852 wine_fn_config_dll imm32 enable_imm32 implib
16853 wine_fn_config_test dlls/imm32/tests imm32_test
16854 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16855 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16856 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16857 wine_fn_config_dll inetmib1 enable_inetmib1
16858 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16859 wine_fn_config_dll infosoft enable_infosoft clean
16860 wine_fn_config_test dlls/infosoft/tests infosoft_test
16861 wine_fn_config_dll initpki enable_initpki
16862 wine_fn_config_dll inkobj enable_inkobj
16863 wine_fn_config_dll inseng enable_inseng clean
16864 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16865 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16866 wine_fn_config_dll itircl enable_itircl
16867 wine_fn_config_dll itss enable_itss clean
16868 wine_fn_config_test dlls/itss/tests itss_test
16869 wine_fn_config_dll joy.cpl enable_joy_cpl po
16870 wine_fn_config_dll jscript enable_jscript clean,po
16871 wine_fn_config_test dlls/jscript/tests jscript_test
16872 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
16873 wine_fn_config_test dlls/kernel32/tests kernel32_test
16874 wine_fn_config_dll keyboard.drv16 enable_win16
16875 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16876 wine_fn_config_dll ktmw32 enable_ktmw32
16877 wine_fn_config_dll loadperf enable_loadperf implib
16878 wine_fn_config_dll localspl enable_localspl po
16879 wine_fn_config_test dlls/localspl/tests localspl_test
16880 wine_fn_config_dll localui enable_localui po
16881 wine_fn_config_test dlls/localui/tests localui_test
16882 wine_fn_config_dll lz32 enable_lz32 implib
16883 wine_fn_config_test dlls/lz32/tests lz32_test
16884 wine_fn_config_dll lzexpand.dll16 enable_win16
16885 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16886 wine_fn_config_test dlls/mapi32/tests mapi32_test
16887 wine_fn_config_dll mapistub enable_mapistub
16888 wine_fn_config_dll mciavi32 enable_mciavi32
16889 wine_fn_config_dll mcicda enable_mcicda
16890 wine_fn_config_dll mciqtz32 enable_mciqtz32
16891 wine_fn_config_dll mciseq enable_mciseq
16892 wine_fn_config_dll mciwave enable_mciwave
16893 wine_fn_config_dll mgmtapi enable_mgmtapi
16894 wine_fn_config_dll midimap enable_midimap
16895 wine_fn_config_dll mlang enable_mlang clean,implib
16896 wine_fn_config_test dlls/mlang/tests mlang_test
16897 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16898 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16899 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16900 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16901 wine_fn_config_dll mmdevldr.vxd enable_win16
16902 wine_fn_config_dll mmsystem.dll16 enable_win16
16903 wine_fn_config_dll monodebg.vxd enable_win16
16904 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16905 wine_fn_config_dll mouse.drv16 enable_win16
16906 wine_fn_config_dll mpr enable_mpr implib,po
16907 wine_fn_config_test dlls/mpr/tests mpr_test
16908 wine_fn_config_dll mprapi enable_mprapi implib
16909 wine_fn_config_dll msacm.dll16 enable_win16
16910 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16911 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16912 wine_fn_config_test dlls/msacm32/tests msacm32_test
16913 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16914 wine_fn_config_dll mscat32 enable_mscat32
16915 wine_fn_config_dll mscms enable_mscms implib
16916 wine_fn_config_test dlls/mscms/tests mscms_test
16917 wine_fn_config_dll mscoree enable_mscoree clean
16918 wine_fn_config_test dlls/mscoree/tests mscoree_test
16919 wine_fn_config_dll msctf enable_msctf clean
16920 wine_fn_config_test dlls/msctf/tests msctf_test
16921 wine_fn_config_dll msdaps enable_msdaps clean
16922 wine_fn_config_dll msdmo enable_msdmo implib
16923 wine_fn_config_dll msftedit enable_msftedit
16924 wine_fn_config_dll msg711.acm enable_msg711_acm
16925 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16926 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16927 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
16928 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
16929 wine_fn_config_dll msi enable_msi clean,implib,po
16930 wine_fn_config_test dlls/msi/tests msi_test
16931 wine_fn_config_dll msident enable_msident clean
16932 wine_fn_config_dll msimg32 enable_msimg32 implib
16933 wine_fn_config_dll msimsg enable_msimsg
16934 wine_fn_config_dll msimtf enable_msimtf clean
16935 wine_fn_config_dll msisip enable_msisip
16936 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16937 wine_fn_config_dll msls31 enable_msls31
16938 wine_fn_config_dll msnet32 enable_msnet32
16939 wine_fn_config_dll mspatcha enable_mspatcha
16940 wine_fn_config_dll msrle32 enable_msrle32 po
16941 wine_fn_config_test dlls/msrle32/tests msrle32_test
16942 wine_fn_config_dll mssign32 enable_mssign32
16943 wine_fn_config_dll mssip32 enable_mssip32
16944 wine_fn_config_dll mstask enable_mstask clean
16945 wine_fn_config_test dlls/mstask/tests mstask_test
16946 wine_fn_config_dll msvcirt enable_msvcirt
16947 wine_fn_config_dll msvcm80 enable_msvcm80
16948 wine_fn_config_dll msvcm90 enable_msvcm90
16949 wine_fn_config_dll msvcp100 enable_msvcp100
16950 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
16951 wine_fn_config_dll msvcp110 enable_msvcp110
16952 wine_fn_config_dll msvcp60 enable_msvcp60
16953 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
16954 wine_fn_config_dll msvcp70 enable_msvcp70
16955 wine_fn_config_dll msvcp71 enable_msvcp71
16956 wine_fn_config_dll msvcp80 enable_msvcp80
16957 wine_fn_config_dll msvcp90 enable_msvcp90
16958 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
16959 wine_fn_config_dll msvcr100 enable_msvcr100 implib
16960 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
16961 wine_fn_config_dll msvcr110 enable_msvcr110 implib
16962 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16963 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16964 wine_fn_config_dll msvcr80 enable_msvcr80 implib
16965 wine_fn_config_dll msvcr90 enable_msvcr90 implib
16966 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
16967 wine_fn_config_dll msvcrt enable_msvcrt implib
16968 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
16969 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16970 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16971 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16972 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
16973 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
16974 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
16975 wine_fn_config_dll msvidc32 enable_msvidc32 po
16976 wine_fn_config_dll msvideo.dll16 enable_win16
16977 wine_fn_config_dll mswsock enable_mswsock implib
16978 wine_fn_config_dll msxml enable_msxml clean
16979 wine_fn_config_dll msxml2 enable_msxml2 clean
16980 wine_fn_config_dll msxml3 enable_msxml3 clean
16981 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
16982 wine_fn_config_dll msxml4 enable_msxml4 clean
16983 wine_fn_config_dll msxml6 enable_msxml6 clean
16984 wine_fn_config_dll nddeapi enable_nddeapi implib
16985 wine_fn_config_dll netapi32 enable_netapi32 implib
16986 wine_fn_config_test dlls/netapi32/tests netapi32_test
16987 wine_fn_config_dll netcfgx enable_netcfgx
16988 wine_fn_config_dll newdev enable_newdev implib
16989 wine_fn_config_dll normaliz enable_normaliz implib
16990 wine_fn_config_dll npmshtml enable_npmshtml
16991 wine_fn_config_dll ntdll enable_ntdll implib
16992 wine_fn_config_test dlls/ntdll/tests ntdll_test
16993 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16994 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
16995 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16996 wine_fn_config_dll ntprint enable_ntprint
16997 wine_fn_config_test dlls/ntprint/tests ntprint_test
16998 wine_fn_config_dll objsel enable_objsel clean
16999 wine_fn_config_dll odbc32 enable_odbc32 implib
17000 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17001 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17002 wine_fn_config_dll odbccu32 enable_odbccu32
17003 wine_fn_config_dll ole2.dll16 enable_win16
17004 wine_fn_config_dll ole2conv.dll16 enable_win16
17005 wine_fn_config_dll ole2disp.dll16 enable_win16
17006 wine_fn_config_dll ole2nls.dll16 enable_win16
17007 wine_fn_config_dll ole2prox.dll16 enable_win16
17008 wine_fn_config_dll ole2thk.dll16 enable_win16
17009 wine_fn_config_dll ole32 enable_ole32 clean,implib
17010 wine_fn_config_test dlls/ole32/tests ole32_test
17011 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17012 wine_fn_config_test dlls/oleacc/tests oleacc_test
17013 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17014 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17015 wine_fn_config_dll olecli.dll16 enable_win16
17016 wine_fn_config_dll olecli32 enable_olecli32 implib
17017 wine_fn_config_dll oledb32 enable_oledb32 clean
17018 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17019 wine_fn_config_dll oledlg enable_oledlg implib,po
17020 wine_fn_config_dll olepro32 enable_olepro32 implib
17021 wine_fn_config_dll olesvr.dll16 enable_win16
17022 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17023 wine_fn_config_dll olethk32 enable_olethk32
17024 wine_fn_config_dll openal32 enable_openal32
17025 wine_fn_config_dll opencl enable_opencl
17026 wine_fn_config_dll opengl32 enable_opengl32 implib
17027 wine_fn_config_test dlls/opengl32/tests opengl32_test
17028 wine_fn_config_dll pdh enable_pdh implib
17029 wine_fn_config_test dlls/pdh/tests pdh_test
17030 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17031 wine_fn_config_dll pidgen enable_pidgen
17032 wine_fn_config_dll powrprof enable_powrprof implib
17033 wine_fn_config_dll printui enable_printui
17034 wine_fn_config_dll propsys enable_propsys clean,implib
17035 wine_fn_config_test dlls/propsys/tests propsys_test
17036 wine_fn_config_dll psapi enable_psapi implib
17037 wine_fn_config_test dlls/psapi/tests psapi_test
17038 wine_fn_config_dll pstorec enable_pstorec clean
17039 wine_fn_config_dll qcap enable_qcap
17040 wine_fn_config_test dlls/qcap/tests qcap_test
17041 wine_fn_config_dll qedit enable_qedit clean
17042 wine_fn_config_test dlls/qedit/tests qedit_test
17043 wine_fn_config_dll qmgr enable_qmgr clean
17044 wine_fn_config_test dlls/qmgr/tests qmgr_test
17045 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17046 wine_fn_config_dll quartz enable_quartz clean,implib
17047 wine_fn_config_test dlls/quartz/tests quartz_test clean
17048 wine_fn_config_dll query enable_query
17049 wine_fn_config_dll rasapi16.dll16 enable_win16
17050 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17051 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17052 wine_fn_config_dll rasdlg enable_rasdlg implib
17053 wine_fn_config_dll regapi enable_regapi
17054 wine_fn_config_dll resutils enable_resutils implib
17055 wine_fn_config_dll riched20 enable_riched20 implib
17056 wine_fn_config_test dlls/riched20/tests riched20_test
17057 wine_fn_config_dll riched32 enable_riched32
17058 wine_fn_config_test dlls/riched32/tests riched32_test
17059 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17060 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17061 wine_fn_config_dll rsabase enable_rsabase
17062 wine_fn_config_dll rsaenh enable_rsaenh implib
17063 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17064 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17065 wine_fn_config_dll rtutils enable_rtutils implib
17066 wine_fn_config_dll samlib enable_samlib
17067 wine_fn_config_dll sane.ds enable_sane_ds po
17068 wine_fn_config_dll scarddlg enable_scarddlg
17069 wine_fn_config_dll sccbase enable_sccbase
17070 wine_fn_config_dll schannel enable_schannel
17071 wine_fn_config_test dlls/schannel/tests schannel_test
17072 wine_fn_config_dll scrrun enable_scrrun clean
17073 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17074 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17075 wine_fn_config_dll secur32 enable_secur32 implib
17076 wine_fn_config_test dlls/secur32/tests secur32_test
17077 wine_fn_config_dll security enable_security
17078 wine_fn_config_dll sensapi enable_sensapi implib
17079 wine_fn_config_dll serialui enable_serialui implib,po
17080 wine_fn_config_test dlls/serialui/tests serialui_test
17081 wine_fn_config_dll setupapi enable_setupapi implib,po
17082 wine_fn_config_test dlls/setupapi/tests setupapi_test
17083 wine_fn_config_dll setupx.dll16 enable_win16
17084 wine_fn_config_dll sfc enable_sfc implib
17085 wine_fn_config_dll sfc_os enable_sfc_os implib
17086 wine_fn_config_dll shdoclc enable_shdoclc po
17087 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17088 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17089 wine_fn_config_dll shell.dll16 enable_win16
17090 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17091 wine_fn_config_test dlls/shell32/tests shell32_test
17092 wine_fn_config_dll shfolder enable_shfolder implib
17093 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17094 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17095 wine_fn_config_dll slbcsp enable_slbcsp
17096 wine_fn_config_dll slc enable_slc implib
17097 wine_fn_config_dll snmpapi enable_snmpapi implib
17098 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17099 wine_fn_config_dll softpub enable_softpub
17100 wine_fn_config_dll sound.drv16 enable_win16
17101 wine_fn_config_dll spoolss enable_spoolss implib
17102 wine_fn_config_test dlls/spoolss/tests spoolss_test
17103 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17104 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17105 wine_fn_config_dll sti enable_sti clean,implib
17106 wine_fn_config_test dlls/sti/tests sti_test
17107 wine_fn_config_dll storage.dll16 enable_win16
17108 wine_fn_config_dll stress.dll16 enable_win16
17109 wine_fn_config_lib strmbase
17110 wine_fn_config_lib strmiids
17111 wine_fn_config_dll svrapi enable_svrapi
17112 wine_fn_config_dll sxs enable_sxs implib
17113 wine_fn_config_test dlls/sxs/tests sxs_test
17114 wine_fn_config_dll system.drv16 enable_win16
17115 wine_fn_config_dll t2embed enable_t2embed
17116 wine_fn_config_dll tapi32 enable_tapi32 implib
17117 wine_fn_config_dll taskschd enable_taskschd clean
17118 wine_fn_config_dll toolhelp.dll16 enable_win16
17119 wine_fn_config_dll traffic enable_traffic
17120 wine_fn_config_dll twain.dll16 enable_win16
17121 wine_fn_config_dll twain_32 enable_twain_32
17122 wine_fn_config_test dlls/twain_32/tests twain_32_test
17123 wine_fn_config_dll typelib.dll16 enable_win16
17124 wine_fn_config_dll unicows enable_unicows implib
17125 wine_fn_config_dll updspapi enable_updspapi
17126 wine_fn_config_dll url enable_url implib
17127 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17128 wine_fn_config_test dlls/urlmon/tests urlmon_test
17129 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17130 wine_fn_config_dll user.exe16 enable_win16
17131 wine_fn_config_dll user32 enable_user32 clean,implib,po
17132 wine_fn_config_test dlls/user32/tests user32_test
17133 wine_fn_config_dll userenv enable_userenv implib
17134 wine_fn_config_test dlls/userenv/tests userenv_test
17135 wine_fn_config_dll usp10 enable_usp10 implib
17136 wine_fn_config_test dlls/usp10/tests usp10_test
17137 wine_fn_config_lib uuid
17138 wine_fn_config_dll uxtheme enable_uxtheme implib
17139 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17140 wine_fn_config_dll vbscript enable_vbscript clean
17141 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17142 wine_fn_config_dll vcomp enable_vcomp
17143 wine_fn_config_dll vcomp100 enable_vcomp100
17144 wine_fn_config_dll vcomp90 enable_vcomp90
17145 wine_fn_config_dll vdhcp.vxd enable_win16
17146 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17147 wine_fn_config_dll ver.dll16 enable_win16
17148 wine_fn_config_dll version enable_version implib
17149 wine_fn_config_test dlls/version/tests version_test
17150 wine_fn_config_dll vmm.vxd enable_win16
17151 wine_fn_config_dll vnbt.vxd enable_win16
17152 wine_fn_config_dll vnetbios.vxd enable_win16
17153 wine_fn_config_dll vtdapi.vxd enable_win16
17154 wine_fn_config_dll vwin32.vxd enable_win16
17155 wine_fn_config_dll w32skrnl enable_win16
17156 wine_fn_config_dll w32sys.dll16 enable_win16
17157 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17158 wine_fn_config_dll wbemprox enable_wbemprox clean
17159 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17160 wine_fn_config_dll webservices enable_webservices implib
17161 wine_fn_config_dll wer enable_wer implib
17162 wine_fn_config_test dlls/wer/tests wer_test
17163 wine_fn_config_dll wevtapi enable_wevtapi
17164 wine_fn_config_dll wiaservc enable_wiaservc clean
17165 wine_fn_config_dll win32s16.dll16 enable_win16
17166 wine_fn_config_dll win87em.dll16 enable_win16
17167 wine_fn_config_dll winaspi.dll16 enable_win16
17168 wine_fn_config_dll windebug.dll16 enable_win16
17169 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17170 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17171 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17172 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17173 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17174 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17175 wine_fn_config_lib winecrt0
17176 wine_fn_config_dll wined3d enable_wined3d implib
17177 wine_fn_config_dll winegstreamer enable_winegstreamer
17178 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17179 wine_fn_config_dll winemac.drv enable_winemac_drv
17180 wine_fn_config_dll winemapi enable_winemapi
17181 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17182 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17183 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17184 wine_fn_config_dll wineps16.drv16 enable_win16
17185 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17186 wine_fn_config_dll winex11.drv enable_winex11_drv
17187 wine_fn_config_dll wing.dll16 enable_win16
17188 wine_fn_config_dll wing32 enable_wing32
17189 wine_fn_config_dll winhttp enable_winhttp clean,implib
17190 wine_fn_config_test dlls/winhttp/tests winhttp_test
17191 wine_fn_config_dll wininet enable_wininet implib,po
17192 wine_fn_config_test dlls/wininet/tests wininet_test
17193 wine_fn_config_dll winmm enable_winmm implib,po
17194 wine_fn_config_test dlls/winmm/tests winmm_test
17195 wine_fn_config_dll winnls.dll16 enable_win16
17196 wine_fn_config_dll winnls32 enable_winnls32 implib
17197 wine_fn_config_dll winscard enable_winscard implib
17198 wine_fn_config_dll winsock.dll16 enable_win16
17199 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17200 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17201 wine_fn_config_dll winsta enable_winsta
17202 wine_fn_config_dll wintab.dll16 enable_win16
17203 wine_fn_config_dll wintab32 enable_wintab32 implib
17204 wine_fn_config_test dlls/wintab32/tests wintab32_test
17205 wine_fn_config_dll wintrust enable_wintrust implib
17206 wine_fn_config_test dlls/wintrust/tests wintrust_test
17207 wine_fn_config_dll wlanapi enable_wlanapi
17208 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17209 wine_fn_config_test dlls/wldap32/tests wldap32_test
17210 wine_fn_config_dll wmi enable_wmi
17211 wine_fn_config_dll wmiutils enable_wmiutils clean
17212 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17213 wine_fn_config_dll wmvcore enable_wmvcore
17214 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17215 wine_fn_config_dll wow32 enable_win16 implib
17216 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17217 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17218 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17219 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17220 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17221 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17222 wine_fn_config_dll wsock32 enable_wsock32 implib
17223 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17224 wine_fn_config_dll wuapi enable_wuapi clean
17225 wine_fn_config_dll wuaueng enable_wuaueng
17226 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17227 wine_fn_config_dll xinput1_1 enable_xinput1_1
17228 wine_fn_config_dll xinput1_2 enable_xinput1_2
17229 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17230 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17231 wine_fn_config_dll xinput1_4 enable_xinput1_4
17232 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17233 wine_fn_config_dll xmllite enable_xmllite
17234 wine_fn_config_test dlls/xmllite/tests xmllite_test
17235 wine_fn_config_dll xolehlp enable_xolehlp
17236 wine_fn_config_dll xpsprint enable_xpsprint
17237 wine_fn_config_dll xpssvcs enable_xpssvcs
17238 wine_fn_config_makefile documentation enable_documentation clean
17239 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17240 wine_fn_config_makefile include enable_include clean,install-dev
17241 wine_fn_config_makefile libs/port enable_libs_port
17242 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17243 wine_fn_config_makefile libs/wpp enable_libs_wpp
17244 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17245 wine_fn_config_program arp enable_arp install
17246 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17247 wine_fn_config_program attrib enable_attrib install,po
17248 wine_fn_config_program cabarc enable_cabarc install
17249 wine_fn_config_program cacls enable_cacls install
17250 wine_fn_config_program clock enable_clock install,po
17251 wine_fn_config_program cmd enable_cmd install,po
17252 wine_fn_config_test programs/cmd/tests cmd.exe_test
17253 wine_fn_config_program conhost enable_conhost install
17254 wine_fn_config_program control enable_control install
17255 wine_fn_config_program cscript enable_cscript install
17256 wine_fn_config_program dxdiag enable_dxdiag install,po
17257 wine_fn_config_program eject enable_eject install
17258 wine_fn_config_program expand enable_expand install
17259 wine_fn_config_program explorer enable_explorer install,po
17260 wine_fn_config_program extrac32 enable_extrac32 install
17261 wine_fn_config_program findstr enable_findstr install
17262 wine_fn_config_program hh enable_hh install
17263 wine_fn_config_program hostname enable_hostname install,po
17264 wine_fn_config_program icinfo enable_icinfo install
17265 wine_fn_config_program iexplore enable_iexplore install
17266 wine_fn_config_program ipconfig enable_ipconfig install,po
17267 wine_fn_config_program lodctr enable_lodctr install
17268 wine_fn_config_program mofcomp enable_mofcomp install
17269 wine_fn_config_program mshta enable_mshta install
17270 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17271 wine_fn_config_program net enable_net install,po
17272 wine_fn_config_program netsh enable_netsh install
17273 wine_fn_config_program netstat enable_netstat install,po
17274 wine_fn_config_program ngen enable_ngen install
17275 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17276 wine_fn_config_program oleview enable_oleview install,po
17277 wine_fn_config_program ping enable_ping install
17278 wine_fn_config_program plugplay enable_plugplay install
17279 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17280 wine_fn_config_program progman enable_progman install,po
17281 wine_fn_config_program reg enable_reg install,po
17282 wine_fn_config_program regasm enable_regasm install
17283 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17284 wine_fn_config_test programs/regedit/tests regedit.exe_test
17285 wine_fn_config_program regsvcs enable_regsvcs install
17286 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
17287 wine_fn_config_program rpcss enable_rpcss clean,install
17288 wine_fn_config_program rundll.exe16 enable_win16 install
17289 wine_fn_config_program rundll32 enable_rundll32 install
17290 wine_fn_config_program sc enable_sc install
17291 wine_fn_config_program schtasks enable_schtasks install
17292 wine_fn_config_program secedit enable_secedit install
17293 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17294 wine_fn_config_program services enable_services clean,install
17295 wine_fn_config_test programs/services/tests services.exe_test
17296 wine_fn_config_program spoolsv enable_spoolsv install
17297 wine_fn_config_program start enable_start install,po
17298 wine_fn_config_program svchost enable_svchost install
17299 wine_fn_config_program taskkill enable_taskkill install,po
17300 wine_fn_config_program tasklist enable_tasklist install
17301 wine_fn_config_program taskmgr enable_taskmgr install,po
17302 wine_fn_config_program termsv enable_termsv install
17303 wine_fn_config_program uninstaller enable_uninstaller install,po
17304 wine_fn_config_program unlodctr enable_unlodctr install
17305 wine_fn_config_program view enable_view install,po
17306 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17307 wine_fn_config_program winebrowser enable_winebrowser install
17308 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17309 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17310 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17311 wine_fn_config_program winedevice enable_winedevice install
17312 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17313 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17314 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17315 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17316 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17317 wine_fn_config_program winetest enable_winetest clean
17318 wine_fn_config_program winevdm enable_win16 install
17319 wine_fn_config_program winhelp.exe16 enable_win16 install
17320 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17321 wine_fn_config_program winoldap.mod16 enable_win16 install
17322 wine_fn_config_program winver enable_winver install
17323 wine_fn_config_program wmic enable_wmic install,po
17324 wine_fn_config_program wordpad enable_wordpad install,po
17325 wine_fn_config_program write enable_write install,po
17326 wine_fn_config_program wscript enable_wscript clean,install
17327 wine_fn_config_test programs/wscript/tests wscript.exe_test
17328 wine_fn_config_program wusa enable_wusa install
17329 wine_fn_config_program xcopy enable_xcopy install,po
17330 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17331 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17332 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17333 wine_fn_config_tool tools/widl clean,install-dev,manpage
17334 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17335 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17336 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17337 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17338 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17340 LINGUAS="\
17341 ar \
17342 bg \
17343 ca \
17344 cs \
17345 da \
17346 de \
17347 el \
17348 en \
17349 en_US \
17350 eo \
17351 es \
17352 fa \
17353 fi \
17354 fr \
17355 he \
17356 hi \
17357 hr \
17358 hu \
17359 it \
17360 ja \
17361 ko \
17362 lt \
17363 ml \
17364 nb_NO \
17365 nl \
17366 or \
17367 pa \
17368 pl \
17369 pt_BR \
17370 pt_PT \
17371 rm \
17372 ro \
17373 ru \
17374 sk \
17375 sl \
17376 sr_RS@cyrillic \
17377 sr_RS@latin \
17378 sv \
17379 te \
17380 th \
17381 tr \
17382 uk \
17383 wa \
17384 zh_CN \
17385 zh_TW"
17390 wine_fn_ignore_file ".gitignore"
17391 wine_fn_ignore_file "Makefile"
17392 wine_fn_ignore_file "TAGS"
17393 wine_fn_ignore_file "tags"
17394 wine_fn_ignore_file "autom4te.cache"
17395 wine_fn_ignore_file "config.cache"
17396 wine_fn_ignore_file "config.log"
17397 wine_fn_ignore_file "config.status"
17398 wine_fn_ignore_file "configure.lineno"
17399 wine_fn_ignore_file "include/config.h"
17400 wine_fn_ignore_file "include/stamp-h"
17401 test "x$enable_fonts" = xno || wine_fn_ignore_file "fonts/*.fon"
17402 test "x$enable_winetest" = xno || wine_fn_ignore_file "programs/winetest/build.nfo"
17403 test "x$enable_winetest" = xno || wine_fn_ignore_file "programs/winetest/build.rc"
17404 test "x$enable_server" = xno || wine_fn_ignore_file "server/wineserver"
17405 test "x$enable_server" = xno || wine_fn_ignore_file "server/wineserver-installed"
17406 test "x$enable_tools" = xno || wine_fn_ignore_file "tools/fnt2fon$ac_exeext"
17407 test "x$enable_tools" = xno || wine_fn_ignore_file "tools/make_ctests$ac_exeext"
17408 test "x$enable_tools" = xno || wine_fn_ignore_file "tools/make_xftmpl$ac_exeext"
17409 test "x$enable_tools" = xno || wine_fn_ignore_file "tools/makedep$ac_exeext"
17410 test "x$enable_tools" = xno || wine_fn_ignore_file "tools/sfnt2fnt$ac_exeext"
17411 test "x$enable_tools" = xno || wine_fn_ignore_file "tools/wineapploader$ac_exeext"
17412 test "x$enable_tools" = xno || wine_fn_ignore_file "tools/winegcc/winecpp$ac_exeext"
17413 test "x$enable_tools" = xno || wine_fn_ignore_file "tools/winegcc/wineg++$ac_exeext"
17415 ac_config_commands="$ac_config_commands Makefile"
17418 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17422 if test "x$enable_maintainer_mode" = xyes
17423 then
17424 wine_fn_append_rule "configure: configure.ac aclocal.m4
17425 autoconf --warnings=all
17426 include/config.h.in: include/stamp-h.in
17427 include/stamp-h.in: configure.ac aclocal.m4
17428 autoheader --warnings=all
17429 @echo timestamp > \$@"
17432 if test "x$with_gettextpo" = xyes
17433 then
17434 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17435 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17436 \$(LINGUAS:%=po/%.po): po/wine.pot
17437 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17438 po/wine.pot: \$(ALL_POT_FILES)
17439 msgcat -o \$@ \$(ALL_POT_FILES)"
17442 if test "$MSGFMT" != false
17443 then
17444 PORCFLAGS="--po-dir=\$(top_builddir)/po"
17446 wine_fn_append_rule "__builddeps__: \$(ALL_MO_FILES)
17447 clean::
17448 \$(RM) \$(ALL_MO_FILES)"
17450 posrc="po"
17451 test "$srcdir" = . || posrc="$srcdir/po"
17452 for i in $LINGUAS
17454 wine_fn_ignore_file "po/$i.mo"
17455 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17456 \$(MSGFMT) -o \$@ $posrc/$i.po"
17457 done
17458 else
17459 LINGUAS=
17462 if test "x$enable_tools" != xno
17463 then
17464 ac_config_commands="$ac_config_commands tools"
17466 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h
17467 \$(CC) -Iinclude -I$srcdir/include -D__WINESRC__ \$(EXTRACFLAGS) \$(CPPFLAGS) \$(CFLAGS) -o \$@ $srcdir/tools/makedep.c \$(LDFLAGS)
17468 clean:: __clean__
17469 \$(RM) tools/makedep$ac_exeext"
17470 else
17471 wine_fn_append_rule "\$(MAKEDEP):
17472 @echo \"You need to run make in $TOOLSDIR first\" && false"
17475 if test -n "$with_wine64"
17476 then
17477 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17478 fonts server tools:
17479 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17480 $with_wine64/loader/wine:
17481 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17482 $with_wine64/loader/wine-preloader:
17483 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17484 clean::
17485 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17486 else
17487 as_fn_append LOADER_RULES "
17488 all: wine.inf
17490 install install-lib:: wine.inf install-man-pages
17491 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17492 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17494 uninstall::
17495 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17499 if test "$srcdir" = .
17500 then
17501 ac_config_commands="$ac_config_commands .gitignore"
17505 $as_echo " done" >&6
17506 cat >confcache <<\_ACEOF
17507 # This file is a shell script that caches the results of configure
17508 # tests run on this system so they can be shared between configure
17509 # scripts and configure runs, see configure's option --config-cache.
17510 # It is not useful on other systems. If it contains results you don't
17511 # want to keep, you may remove or edit it.
17513 # config.status only pays attention to the cache file if you give it
17514 # the --recheck option to rerun configure.
17516 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17517 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17518 # following values.
17520 _ACEOF
17522 # The following way of writing the cache mishandles newlines in values,
17523 # but we know of no workaround that is simple, portable, and efficient.
17524 # So, we kill variables containing newlines.
17525 # Ultrix sh set writes to stderr and can't be redirected directly,
17526 # and sets the high bit in the cache file unless we assign to the vars.
17528 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17529 eval ac_val=\$$ac_var
17530 case $ac_val in #(
17531 *${as_nl}*)
17532 case $ac_var in #(
17533 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17534 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17535 esac
17536 case $ac_var in #(
17537 _ | IFS | as_nl) ;; #(
17538 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17539 *) { eval $ac_var=; unset $ac_var;} ;;
17540 esac ;;
17541 esac
17542 done
17544 (set) 2>&1 |
17545 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17546 *${as_nl}ac_space=\ *)
17547 # `set' does not quote correctly, so add quotes: double-quote
17548 # substitution turns \\\\ into \\, and sed turns \\ into \.
17549 sed -n \
17550 "s/'/'\\\\''/g;
17551 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17552 ;; #(
17554 # `set' quotes correctly as required by POSIX, so do not add quotes.
17555 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17557 esac |
17558 sort
17560 sed '
17561 /^ac_cv_env_/b end
17562 t clear
17563 :clear
17564 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17565 t end
17566 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17567 :end' >>confcache
17568 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17569 if test -w "$cache_file"; then
17570 if test "x$cache_file" != "x/dev/null"; then
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17572 $as_echo "$as_me: updating cache $cache_file" >&6;}
17573 if test ! -f "$cache_file" || test -h "$cache_file"; then
17574 cat confcache >"$cache_file"
17575 else
17576 case $cache_file in #(
17577 */* | ?:*)
17578 mv -f confcache "$cache_file"$$ &&
17579 mv -f "$cache_file"$$ "$cache_file" ;; #(
17581 mv -f confcache "$cache_file" ;;
17582 esac
17585 else
17586 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17587 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17590 rm -f confcache
17592 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17593 # Let make expand exec_prefix.
17594 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17596 DEFS=-DHAVE_CONFIG_H
17598 ac_libobjs=
17599 ac_ltlibobjs=
17601 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17602 # 1. Remove the extension, and $U if already installed.
17603 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17604 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17605 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17606 # will be set to the directory where LIBOBJS objects are built.
17607 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17608 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17609 done
17610 LIBOBJS=$ac_libobjs
17612 LTLIBOBJS=$ac_ltlibobjs
17616 : "${CONFIG_STATUS=./config.status}"
17617 ac_write_fail=0
17618 ac_clean_files_save=$ac_clean_files
17619 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17621 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17622 as_write_fail=0
17623 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17624 #! $SHELL
17625 # Generated by $as_me.
17626 # Run this file to recreate the current configuration.
17627 # Compiler output produced by configure, useful for debugging
17628 # configure, is in config.log if it exists.
17630 debug=false
17631 ac_cs_recheck=false
17632 ac_cs_silent=false
17634 SHELL=\${CONFIG_SHELL-$SHELL}
17635 export SHELL
17636 _ASEOF
17637 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17638 ## -------------------- ##
17639 ## M4sh Initialization. ##
17640 ## -------------------- ##
17642 # Be more Bourne compatible
17643 DUALCASE=1; export DUALCASE # for MKS sh
17644 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17645 emulate sh
17646 NULLCMD=:
17647 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17648 # is contrary to our usage. Disable this feature.
17649 alias -g '${1+"$@"}'='"$@"'
17650 setopt NO_GLOB_SUBST
17651 else
17652 case `(set -o) 2>/dev/null` in #(
17653 *posix*) :
17654 set -o posix ;; #(
17655 *) :
17657 esac
17661 as_nl='
17663 export as_nl
17664 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17665 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17666 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17667 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17668 # Prefer a ksh shell builtin over an external printf program on Solaris,
17669 # but without wasting forks for bash or zsh.
17670 if test -z "$BASH_VERSION$ZSH_VERSION" \
17671 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17672 as_echo='print -r --'
17673 as_echo_n='print -rn --'
17674 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17675 as_echo='printf %s\n'
17676 as_echo_n='printf %s'
17677 else
17678 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17679 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17680 as_echo_n='/usr/ucb/echo -n'
17681 else
17682 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17683 as_echo_n_body='eval
17684 arg=$1;
17685 case $arg in #(
17686 *"$as_nl"*)
17687 expr "X$arg" : "X\\(.*\\)$as_nl";
17688 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17689 esac;
17690 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17692 export as_echo_n_body
17693 as_echo_n='sh -c $as_echo_n_body as_echo'
17695 export as_echo_body
17696 as_echo='sh -c $as_echo_body as_echo'
17699 # The user is always right.
17700 if test "${PATH_SEPARATOR+set}" != set; then
17701 PATH_SEPARATOR=:
17702 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17703 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17704 PATH_SEPARATOR=';'
17709 # IFS
17710 # We need space, tab and new line, in precisely that order. Quoting is
17711 # there to prevent editors from complaining about space-tab.
17712 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17713 # splitting by setting IFS to empty value.)
17714 IFS=" "" $as_nl"
17716 # Find who we are. Look in the path if we contain no directory separator.
17717 as_myself=
17718 case $0 in #((
17719 *[\\/]* ) as_myself=$0 ;;
17720 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17721 for as_dir in $PATH
17723 IFS=$as_save_IFS
17724 test -z "$as_dir" && as_dir=.
17725 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17726 done
17727 IFS=$as_save_IFS
17730 esac
17731 # We did not find ourselves, most probably we were run as `sh COMMAND'
17732 # in which case we are not to be found in the path.
17733 if test "x$as_myself" = x; then
17734 as_myself=$0
17736 if test ! -f "$as_myself"; then
17737 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17738 exit 1
17741 # Unset variables that we do not need and which cause bugs (e.g. in
17742 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17743 # suppresses any "Segmentation fault" message there. '((' could
17744 # trigger a bug in pdksh 5.2.14.
17745 for as_var in BASH_ENV ENV MAIL MAILPATH
17746 do eval test x\${$as_var+set} = xset \
17747 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17748 done
17749 PS1='$ '
17750 PS2='> '
17751 PS4='+ '
17753 # NLS nuisances.
17754 LC_ALL=C
17755 export LC_ALL
17756 LANGUAGE=C
17757 export LANGUAGE
17759 # CDPATH.
17760 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17763 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17764 # ----------------------------------------
17765 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17766 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17767 # script with STATUS, using 1 if that was 0.
17768 as_fn_error ()
17770 as_status=$1; test $as_status -eq 0 && as_status=1
17771 if test "$4"; then
17772 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17773 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17775 $as_echo "$as_me: error: $2" >&2
17776 as_fn_exit $as_status
17777 } # as_fn_error
17780 # as_fn_set_status STATUS
17781 # -----------------------
17782 # Set $? to STATUS, without forking.
17783 as_fn_set_status ()
17785 return $1
17786 } # as_fn_set_status
17788 # as_fn_exit STATUS
17789 # -----------------
17790 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17791 as_fn_exit ()
17793 set +e
17794 as_fn_set_status $1
17795 exit $1
17796 } # as_fn_exit
17798 # as_fn_unset VAR
17799 # ---------------
17800 # Portably unset VAR.
17801 as_fn_unset ()
17803 { eval $1=; unset $1;}
17805 as_unset=as_fn_unset
17806 # as_fn_append VAR VALUE
17807 # ----------------------
17808 # Append the text in VALUE to the end of the definition contained in VAR. Take
17809 # advantage of any shell optimizations that allow amortized linear growth over
17810 # repeated appends, instead of the typical quadratic growth present in naive
17811 # implementations.
17812 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17813 eval 'as_fn_append ()
17815 eval $1+=\$2
17817 else
17818 as_fn_append ()
17820 eval $1=\$$1\$2
17822 fi # as_fn_append
17824 # as_fn_arith ARG...
17825 # ------------------
17826 # Perform arithmetic evaluation on the ARGs, and store the result in the
17827 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17828 # must be portable across $(()) and expr.
17829 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17830 eval 'as_fn_arith ()
17832 as_val=$(( $* ))
17834 else
17835 as_fn_arith ()
17837 as_val=`expr "$@" || test $? -eq 1`
17839 fi # as_fn_arith
17842 if expr a : '\(a\)' >/dev/null 2>&1 &&
17843 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17844 as_expr=expr
17845 else
17846 as_expr=false
17849 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17850 as_basename=basename
17851 else
17852 as_basename=false
17855 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17856 as_dirname=dirname
17857 else
17858 as_dirname=false
17861 as_me=`$as_basename -- "$0" ||
17862 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17863 X"$0" : 'X\(//\)$' \| \
17864 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17865 $as_echo X/"$0" |
17866 sed '/^.*\/\([^/][^/]*\)\/*$/{
17867 s//\1/
17870 /^X\/\(\/\/\)$/{
17871 s//\1/
17874 /^X\/\(\/\).*/{
17875 s//\1/
17878 s/.*/./; q'`
17880 # Avoid depending upon Character Ranges.
17881 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17882 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17883 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17884 as_cr_digits='0123456789'
17885 as_cr_alnum=$as_cr_Letters$as_cr_digits
17887 ECHO_C= ECHO_N= ECHO_T=
17888 case `echo -n x` in #(((((
17889 -n*)
17890 case `echo 'xy\c'` in
17891 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17892 xy) ECHO_C='\c';;
17893 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17894 ECHO_T=' ';;
17895 esac;;
17897 ECHO_N='-n';;
17898 esac
17900 rm -f conf$$ conf$$.exe conf$$.file
17901 if test -d conf$$.dir; then
17902 rm -f conf$$.dir/conf$$.file
17903 else
17904 rm -f conf$$.dir
17905 mkdir conf$$.dir 2>/dev/null
17907 if (echo >conf$$.file) 2>/dev/null; then
17908 if ln -s conf$$.file conf$$ 2>/dev/null; then
17909 as_ln_s='ln -s'
17910 # ... but there are two gotchas:
17911 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17912 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17913 # In both cases, we have to default to `cp -pR'.
17914 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17915 as_ln_s='cp -pR'
17916 elif ln conf$$.file conf$$ 2>/dev/null; then
17917 as_ln_s=ln
17918 else
17919 as_ln_s='cp -pR'
17921 else
17922 as_ln_s='cp -pR'
17924 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17925 rmdir conf$$.dir 2>/dev/null
17928 # as_fn_mkdir_p
17929 # -------------
17930 # Create "$as_dir" as a directory, including parents if necessary.
17931 as_fn_mkdir_p ()
17934 case $as_dir in #(
17935 -*) as_dir=./$as_dir;;
17936 esac
17937 test -d "$as_dir" || eval $as_mkdir_p || {
17938 as_dirs=
17939 while :; do
17940 case $as_dir in #(
17941 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17942 *) as_qdir=$as_dir;;
17943 esac
17944 as_dirs="'$as_qdir' $as_dirs"
17945 as_dir=`$as_dirname -- "$as_dir" ||
17946 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17947 X"$as_dir" : 'X\(//\)[^/]' \| \
17948 X"$as_dir" : 'X\(//\)$' \| \
17949 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17950 $as_echo X"$as_dir" |
17951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17952 s//\1/
17955 /^X\(\/\/\)[^/].*/{
17956 s//\1/
17959 /^X\(\/\/\)$/{
17960 s//\1/
17963 /^X\(\/\).*/{
17964 s//\1/
17967 s/.*/./; q'`
17968 test -d "$as_dir" && break
17969 done
17970 test -z "$as_dirs" || eval "mkdir $as_dirs"
17971 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17974 } # as_fn_mkdir_p
17975 if mkdir -p . 2>/dev/null; then
17976 as_mkdir_p='mkdir -p "$as_dir"'
17977 else
17978 test -d ./-p && rmdir ./-p
17979 as_mkdir_p=false
17983 # as_fn_executable_p FILE
17984 # -----------------------
17985 # Test if FILE is an executable regular file.
17986 as_fn_executable_p ()
17988 test -f "$1" && test -x "$1"
17989 } # as_fn_executable_p
17990 as_test_x='test -x'
17991 as_executable_p=as_fn_executable_p
17993 # Sed expression to map a string onto a valid CPP name.
17994 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17996 # Sed expression to map a string onto a valid variable name.
17997 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18000 exec 6>&1
18001 ## ----------------------------------- ##
18002 ## Main body of $CONFIG_STATUS script. ##
18003 ## ----------------------------------- ##
18004 _ASEOF
18005 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18007 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18008 # Save the log message, to keep $0 and so on meaningful, and to
18009 # report actual input values of CONFIG_FILES etc. instead of their
18010 # values after options handling.
18011 ac_log="
18012 This file was extended by Wine $as_me 1.7.9, which was
18013 generated by GNU Autoconf 2.69. Invocation command line was
18015 CONFIG_FILES = $CONFIG_FILES
18016 CONFIG_HEADERS = $CONFIG_HEADERS
18017 CONFIG_LINKS = $CONFIG_LINKS
18018 CONFIG_COMMANDS = $CONFIG_COMMANDS
18019 $ $0 $@
18021 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18024 _ACEOF
18026 case $ac_config_files in *"
18027 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18028 esac
18030 case $ac_config_headers in *"
18031 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18032 esac
18035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18036 # Files that config.status was made for.
18037 config_files="$ac_config_files"
18038 config_headers="$ac_config_headers"
18039 config_links="$ac_config_links"
18040 config_commands="$ac_config_commands"
18042 _ACEOF
18044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18045 ac_cs_usage="\
18046 \`$as_me' instantiates files and other configuration actions
18047 from templates according to the current configuration. Unless the files
18048 and actions are specified as TAGs, all are instantiated by default.
18050 Usage: $0 [OPTION]... [TAG]...
18052 -h, --help print this help, then exit
18053 -V, --version print version number and configuration settings, then exit
18054 --config print configuration, then exit
18055 -q, --quiet, --silent
18056 do not print progress messages
18057 -d, --debug don't remove temporary files
18058 --recheck update $as_me by reconfiguring in the same conditions
18059 --file=FILE[:TEMPLATE]
18060 instantiate the configuration file FILE
18061 --header=FILE[:TEMPLATE]
18062 instantiate the configuration header FILE
18064 Configuration files:
18065 $config_files
18067 Configuration headers:
18068 $config_headers
18070 Configuration links:
18071 $config_links
18073 Configuration commands:
18074 $config_commands
18076 Report bugs to <wine-devel@winehq.org>.
18077 Wine home page: <http://www.winehq.org>."
18079 _ACEOF
18080 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18081 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18082 ac_cs_version="\\
18083 Wine config.status 1.7.9
18084 configured by $0, generated by GNU Autoconf 2.69,
18085 with options \\"\$ac_cs_config\\"
18087 Copyright (C) 2012 Free Software Foundation, Inc.
18088 This config.status script is free software; the Free Software Foundation
18089 gives unlimited permission to copy, distribute and modify it."
18091 ac_pwd='$ac_pwd'
18092 srcdir='$srcdir'
18093 MKDIR_P='$MKDIR_P'
18094 test -n "\$AWK" || AWK=awk
18095 _ACEOF
18097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18098 # The default lists apply if the user does not specify any file.
18099 ac_need_defaults=:
18100 while test $# != 0
18102 case $1 in
18103 --*=?*)
18104 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18105 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18106 ac_shift=:
18108 --*=)
18109 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18110 ac_optarg=
18111 ac_shift=:
18114 ac_option=$1
18115 ac_optarg=$2
18116 ac_shift=shift
18118 esac
18120 case $ac_option in
18121 # Handling of the options.
18122 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18123 ac_cs_recheck=: ;;
18124 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18125 $as_echo "$ac_cs_version"; exit ;;
18126 --config | --confi | --conf | --con | --co | --c )
18127 $as_echo "$ac_cs_config"; exit ;;
18128 --debug | --debu | --deb | --de | --d | -d )
18129 debug=: ;;
18130 --file | --fil | --fi | --f )
18131 $ac_shift
18132 case $ac_optarg in
18133 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18134 '') as_fn_error $? "missing file argument" ;;
18135 esac
18136 as_fn_append CONFIG_FILES " '$ac_optarg'"
18137 ac_need_defaults=false;;
18138 --header | --heade | --head | --hea )
18139 $ac_shift
18140 case $ac_optarg in
18141 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18142 esac
18143 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18144 ac_need_defaults=false;;
18145 --he | --h)
18146 # Conflict between --help and --header
18147 as_fn_error $? "ambiguous option: \`$1'
18148 Try \`$0 --help' for more information.";;
18149 --help | --hel | -h )
18150 $as_echo "$ac_cs_usage"; exit ;;
18151 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18152 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18153 ac_cs_silent=: ;;
18155 # This is an error.
18156 -*) as_fn_error $? "unrecognized option: \`$1'
18157 Try \`$0 --help' for more information." ;;
18159 *) as_fn_append ac_config_targets " $1"
18160 ac_need_defaults=false ;;
18162 esac
18163 shift
18164 done
18166 ac_configure_extra_args=
18168 if $ac_cs_silent; then
18169 exec 6>/dev/null
18170 ac_configure_extra_args="$ac_configure_extra_args --silent"
18173 _ACEOF
18174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18175 if \$ac_cs_recheck; then
18176 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18177 shift
18178 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18179 CONFIG_SHELL='$SHELL'
18180 export CONFIG_SHELL
18181 exec "\$@"
18184 _ACEOF
18185 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18186 exec 5>>config.log
18188 echo
18189 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18190 ## Running $as_me. ##
18191 _ASBOX
18192 $as_echo "$ac_log"
18193 } >&5
18195 _ACEOF
18196 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18198 # INIT-COMMANDS
18200 wine_fn_output_makefile ()
18202 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18203 `cat $wine_rules_file`
18204 _WINE_EOF
18205 as_fn_error $? "could not create Makefile" "$LINENO" 5
18207 wine_fn_output_gitignore ()
18209 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18210 $GITIGNORE
18211 _WINE_EOF
18212 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18215 _ACEOF
18217 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18219 # Handling of arguments.
18220 for ac_config_target in $ac_config_targets
18222 case $ac_config_target in
18223 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18224 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18225 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18226 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18227 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18228 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18229 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18230 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18231 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18232 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18233 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
18234 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18235 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18236 "tools") CONFIG_COMMANDS="$CONFIG_COMMANDS tools" ;;
18237 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18239 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18240 esac
18241 done
18244 # If the user did not use the arguments to specify the items to instantiate,
18245 # then the envvar interface is used. Set only those that are not.
18246 # We use the long form for the default assignment because of an extremely
18247 # bizarre bug on SunOS 4.1.3.
18248 if $ac_need_defaults; then
18249 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18250 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18251 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18252 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18255 # Have a temporary directory for convenience. Make it in the build tree
18256 # simply because there is no reason against having it here, and in addition,
18257 # creating and moving files from /tmp can sometimes cause problems.
18258 # Hook for its removal unless debugging.
18259 # Note that there is a small window in which the directory will not be cleaned:
18260 # after its creation but before its name has been assigned to `$tmp'.
18261 $debug ||
18263 tmp= ac_tmp=
18264 trap 'exit_status=$?
18265 : "${ac_tmp:=$tmp}"
18266 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18268 trap 'as_fn_exit 1' 1 2 13 15
18270 # Create a (secure) tmp directory for tmp files.
18273 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18274 test -d "$tmp"
18275 } ||
18277 tmp=./conf$$-$RANDOM
18278 (umask 077 && mkdir "$tmp")
18279 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18280 ac_tmp=$tmp
18282 # Set up the scripts for CONFIG_FILES section.
18283 # No need to generate them if there are no CONFIG_FILES.
18284 # This happens for instance with `./config.status config.h'.
18285 if test -n "$CONFIG_FILES"; then
18287 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
18288 ac_cs_awk_getline=:
18289 ac_cs_awk_pipe_init=
18290 ac_cs_awk_read_file='
18291 while ((getline aline < (F[key])) > 0)
18292 print(aline)
18293 close(F[key])'
18294 ac_cs_awk_pipe_fini=
18295 else
18296 ac_cs_awk_getline=false
18297 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
18298 ac_cs_awk_read_file='
18299 print "|#_!!_#|"
18300 print "cat " F[key] " &&"
18301 '$ac_cs_awk_pipe_init
18302 # The final `:' finishes the AND list.
18303 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
18305 ac_cr=`echo X | tr X '\015'`
18306 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18307 # But we know of no other shell where ac_cr would be empty at this
18308 # point, so we can use a bashism as a fallback.
18309 if test "x$ac_cr" = x; then
18310 eval ac_cr=\$\'\\r\'
18312 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18313 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18314 ac_cs_awk_cr='\\r'
18315 else
18316 ac_cs_awk_cr=$ac_cr
18319 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18320 _ACEOF
18322 # Create commands to substitute file output variables.
18324 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18325 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
18326 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
18327 echo "_ACAWK" &&
18328 echo "_ACEOF"
18329 } >conf$$files.sh &&
18330 . ./conf$$files.sh ||
18331 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18332 rm -f conf$$files.sh
18335 echo "cat >conf$$subs.awk <<_ACEOF" &&
18336 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18337 echo "_ACEOF"
18338 } >conf$$subs.sh ||
18339 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18340 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18341 ac_delim='%!_!# '
18342 for ac_last_try in false false false false false :; do
18343 . ./conf$$subs.sh ||
18344 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18346 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18347 if test $ac_delim_n = $ac_delim_num; then
18348 break
18349 elif $ac_last_try; then
18350 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18351 else
18352 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18354 done
18355 rm -f conf$$subs.sh
18357 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18358 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18359 _ACEOF
18360 sed -n '
18362 s/^/S["/; s/!.*/"]=/
18365 s/^[^!]*!//
18366 :repl
18367 t repl
18368 s/'"$ac_delim"'$//
18369 t delim
18372 s/\(.\{148\}\)..*/\1/
18373 t more1
18374 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18377 b repl
18378 :more1
18379 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18382 s/.\{148\}//
18383 t nl
18384 :delim
18386 s/\(.\{148\}\)..*/\1/
18387 t more2
18388 s/["\\]/\\&/g; s/^/"/; s/$/"/
18391 :more2
18392 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18395 s/.\{148\}//
18396 t delim
18397 ' <conf$$subs.awk | sed '
18398 /^[^""]/{
18400 s/\n//
18402 ' >>$CONFIG_STATUS || ac_write_fail=1
18403 rm -f conf$$subs.awk
18404 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18405 _ACAWK
18406 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18407 for (key in S) S_is_set[key] = 1
18408 FS = "\a"
18409 \$ac_cs_awk_pipe_init
18412 line = $ 0
18413 nfields = split(line, field, "@")
18414 substed = 0
18415 len = length(field[1])
18416 for (i = 2; i < nfields; i++) {
18417 key = field[i]
18418 keylen = length(key)
18419 if (S_is_set[key]) {
18420 value = S[key]
18421 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18422 len += length(value) + length(field[++i])
18423 substed = 1
18424 } else
18425 len += 1 + keylen
18427 if (nfields == 3 && !substed) {
18428 key = field[2]
18429 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18430 \$ac_cs_awk_read_file
18431 next
18434 print line
18436 \$ac_cs_awk_pipe_fini
18437 _ACAWK
18438 _ACEOF
18439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18440 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18441 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18442 else
18444 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18445 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18446 _ACEOF
18448 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18449 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18450 # trailing colons and then remove the whole line if VPATH becomes empty
18451 # (actually we leave an empty line to preserve line numbers).
18452 if test "x$srcdir" = x.; then
18453 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18455 s///
18456 s/^/:/
18457 s/[ ]*$/:/
18458 s/:\$(srcdir):/:/g
18459 s/:\${srcdir}:/:/g
18460 s/:@srcdir@:/:/g
18461 s/^:*//
18462 s/:*$//
18464 s/\(=[ ]*\).*/\1/
18466 s/\n//
18467 s/^[^=]*=[ ]*$//
18471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18472 fi # test -n "$CONFIG_FILES"
18474 # Set up the scripts for CONFIG_HEADERS section.
18475 # No need to generate them if there are no CONFIG_HEADERS.
18476 # This happens for instance with `./config.status Makefile'.
18477 if test -n "$CONFIG_HEADERS"; then
18478 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18479 BEGIN {
18480 _ACEOF
18482 # Transform confdefs.h into an awk script `defines.awk', embedded as
18483 # here-document in config.status, that substitutes the proper values into
18484 # config.h.in to produce config.h.
18486 # Create a delimiter string that does not exist in confdefs.h, to ease
18487 # handling of long lines.
18488 ac_delim='%!_!# '
18489 for ac_last_try in false false :; do
18490 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18491 if test -z "$ac_tt"; then
18492 break
18493 elif $ac_last_try; then
18494 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18495 else
18496 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18498 done
18500 # For the awk script, D is an array of macro values keyed by name,
18501 # likewise P contains macro parameters if any. Preserve backslash
18502 # newline sequences.
18504 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18505 sed -n '
18506 s/.\{148\}/&'"$ac_delim"'/g
18507 t rset
18508 :rset
18509 s/^[ ]*#[ ]*define[ ][ ]*/ /
18510 t def
18512 :def
18513 s/\\$//
18514 t bsnl
18515 s/["\\]/\\&/g
18516 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18517 D["\1"]=" \3"/p
18518 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18520 :bsnl
18521 s/["\\]/\\&/g
18522 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18523 D["\1"]=" \3\\\\\\n"\\/p
18524 t cont
18525 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18526 t cont
18528 :cont
18530 s/.\{148\}/&'"$ac_delim"'/g
18531 t clear
18532 :clear
18533 s/\\$//
18534 t bsnlc
18535 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18537 :bsnlc
18538 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18539 b cont
18540 ' <confdefs.h | sed '
18541 s/'"$ac_delim"'/"\\\
18542 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18545 for (key in D) D_is_set[key] = 1
18546 FS = "\a"
18548 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18549 line = \$ 0
18550 split(line, arg, " ")
18551 if (arg[1] == "#") {
18552 defundef = arg[2]
18553 mac1 = arg[3]
18554 } else {
18555 defundef = substr(arg[1], 2)
18556 mac1 = arg[2]
18558 split(mac1, mac2, "(") #)
18559 macro = mac2[1]
18560 prefix = substr(line, 1, index(line, defundef) - 1)
18561 if (D_is_set[macro]) {
18562 # Preserve the white space surrounding the "#".
18563 print prefix "define", macro P[macro] D[macro]
18564 next
18565 } else {
18566 # Replace #undef with comments. This is necessary, for example,
18567 # in the case of _POSIX_SOURCE, which is predefined and required
18568 # on some systems where configure will not decide to define it.
18569 if (defundef == "undef") {
18570 print "/*", prefix defundef, macro, "*/"
18571 next
18575 { print }
18576 _ACAWK
18577 _ACEOF
18578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18579 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18580 fi # test -n "$CONFIG_HEADERS"
18583 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18584 shift
18585 for ac_tag
18587 case $ac_tag in
18588 :[FHLC]) ac_mode=$ac_tag; continue;;
18589 esac
18590 case $ac_mode$ac_tag in
18591 :[FHL]*:*);;
18592 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18593 :[FH]-) ac_tag=-:-;;
18594 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18595 esac
18596 ac_save_IFS=$IFS
18597 IFS=:
18598 set x $ac_tag
18599 IFS=$ac_save_IFS
18600 shift
18601 ac_file=$1
18602 shift
18604 case $ac_mode in
18605 :L) ac_source=$1;;
18606 :[FH])
18607 ac_file_inputs=
18608 for ac_f
18610 case $ac_f in
18611 -) ac_f="$ac_tmp/stdin";;
18612 *) # Look for the file first in the build tree, then in the source tree
18613 # (if the path is not absolute). The absolute path cannot be DOS-style,
18614 # because $ac_f cannot contain `:'.
18615 test -f "$ac_f" ||
18616 case $ac_f in
18617 [\\/$]*) false;;
18618 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18619 esac ||
18620 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18621 esac
18622 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18623 as_fn_append ac_file_inputs " '$ac_f'"
18624 done
18626 # Let's still pretend it is `configure' which instantiates (i.e., don't
18627 # use $as_me), people would be surprised to read:
18628 # /* config.h. Generated by config.status. */
18629 configure_input='Generated from '`
18630 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18631 `' by configure.'
18632 if test x"$ac_file" != x-; then
18633 configure_input="$ac_file. $configure_input"
18634 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18635 $as_echo "$as_me: creating $ac_file" >&6;}
18637 # Neutralize special characters interpreted by sed in replacement strings.
18638 case $configure_input in #(
18639 *\&* | *\|* | *\\* )
18640 ac_sed_conf_input=`$as_echo "$configure_input" |
18641 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18642 *) ac_sed_conf_input=$configure_input;;
18643 esac
18645 case $ac_tag in
18646 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18647 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18648 esac
18650 esac
18652 ac_dir=`$as_dirname -- "$ac_file" ||
18653 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18654 X"$ac_file" : 'X\(//\)[^/]' \| \
18655 X"$ac_file" : 'X\(//\)$' \| \
18656 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18657 $as_echo X"$ac_file" |
18658 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18659 s//\1/
18662 /^X\(\/\/\)[^/].*/{
18663 s//\1/
18666 /^X\(\/\/\)$/{
18667 s//\1/
18670 /^X\(\/\).*/{
18671 s//\1/
18674 s/.*/./; q'`
18675 as_dir="$ac_dir"; as_fn_mkdir_p
18676 ac_builddir=.
18678 case "$ac_dir" in
18679 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18681 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18682 # A ".." for each directory in $ac_dir_suffix.
18683 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18684 case $ac_top_builddir_sub in
18685 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18686 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18687 esac ;;
18688 esac
18689 ac_abs_top_builddir=$ac_pwd
18690 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18691 # for backward compatibility:
18692 ac_top_builddir=$ac_top_build_prefix
18694 case $srcdir in
18695 .) # We are building in place.
18696 ac_srcdir=.
18697 ac_top_srcdir=$ac_top_builddir_sub
18698 ac_abs_top_srcdir=$ac_pwd ;;
18699 [\\/]* | ?:[\\/]* ) # Absolute name.
18700 ac_srcdir=$srcdir$ac_dir_suffix;
18701 ac_top_srcdir=$srcdir
18702 ac_abs_top_srcdir=$srcdir ;;
18703 *) # Relative name.
18704 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18705 ac_top_srcdir=$ac_top_build_prefix$srcdir
18706 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18707 esac
18708 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18711 case $ac_mode in
18714 # CONFIG_FILE
18717 ac_MKDIR_P=$MKDIR_P
18718 case $MKDIR_P in
18719 [\\/$]* | ?:[\\/]* ) ;;
18720 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18721 esac
18722 _ACEOF
18724 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18725 # If the template does not know about datarootdir, expand it.
18726 # FIXME: This hack should be removed a few years after 2.60.
18727 ac_datarootdir_hack=; ac_datarootdir_seen=
18728 ac_sed_dataroot='
18729 /datarootdir/ {
18733 /@datadir@/p
18734 /@docdir@/p
18735 /@infodir@/p
18736 /@localedir@/p
18737 /@mandir@/p'
18738 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18739 *datarootdir*) ac_datarootdir_seen=yes;;
18740 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18742 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18743 _ACEOF
18744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18745 ac_datarootdir_hack='
18746 s&@datadir@&$datadir&g
18747 s&@docdir@&$docdir&g
18748 s&@infodir@&$infodir&g
18749 s&@localedir@&$localedir&g
18750 s&@mandir@&$mandir&g
18751 s&\\\${datarootdir}&$datarootdir&g' ;;
18752 esac
18753 _ACEOF
18755 # Neutralize VPATH when `$srcdir' = `.'.
18756 # Shell code in configure.ac might set extrasub.
18757 # FIXME: do we really want to maintain this feature?
18758 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18759 ac_sed_extra="$ac_vpsub
18760 $extrasub
18761 _ACEOF
18762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18764 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18765 s|@configure_input@|$ac_sed_conf_input|;t t
18766 s&@top_builddir@&$ac_top_builddir_sub&;t t
18767 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18768 s&@srcdir@&$ac_srcdir&;t t
18769 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18770 s&@top_srcdir@&$ac_top_srcdir&;t t
18771 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18772 s&@builddir@&$ac_builddir&;t t
18773 s&@abs_builddir@&$ac_abs_builddir&;t t
18774 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18775 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18776 $ac_datarootdir_hack
18778 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18779 if $ac_cs_awk_getline; then
18780 $AWK -f "$ac_tmp/subs.awk"
18781 else
18782 $AWK -f "$ac_tmp/subs.awk" | $SHELL
18783 fi \
18784 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18786 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18787 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18788 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18789 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18791 which seems to be undefined. Please make sure it is defined" >&5
18792 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18793 which seems to be undefined. Please make sure it is defined" >&2;}
18795 rm -f "$ac_tmp/stdin"
18796 case $ac_file in
18797 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18798 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18799 esac \
18800 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18804 # CONFIG_HEADER
18806 if test x"$ac_file" != x-; then
18808 $as_echo "/* $configure_input */" \
18809 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18810 } >"$ac_tmp/config.h" \
18811 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18812 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18813 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18814 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18815 else
18816 rm -f "$ac_file"
18817 mv "$ac_tmp/config.h" "$ac_file" \
18818 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18820 else
18821 $as_echo "/* $configure_input */" \
18822 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18823 || as_fn_error $? "could not create -" "$LINENO" 5
18828 # CONFIG_LINK
18831 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18833 else
18834 # Prefer the file from the source tree if names are identical.
18835 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18836 ac_source=$srcdir/$ac_source
18839 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18840 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18842 if test ! -r "$ac_source"; then
18843 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18845 rm -f "$ac_file"
18847 # Try a relative symlink, then a hard link, then a copy.
18848 case $ac_source in
18849 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18850 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18851 esac
18852 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18853 ln "$ac_source" "$ac_file" 2>/dev/null ||
18854 cp -p "$ac_source" "$ac_file" ||
18855 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18858 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18859 $as_echo "$as_me: executing $ac_file commands" >&6;}
18861 esac
18864 case $ac_file$ac_mode in
18865 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18866 "Makefile":C) wine_fn_output_makefile Makefile ;;
18867 "tools":C) as_dir=tools; as_fn_mkdir_p ;;
18868 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18870 esac
18871 done # for ac_tag
18874 as_fn_exit 0
18875 _ACEOF
18876 ac_clean_files=$ac_clean_files_save
18878 test $ac_write_fail = 0 ||
18879 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18882 # configure is writing to config.log, and then calls config.status.
18883 # config.status does its own redirection, appending to config.log.
18884 # Unfortunately, on DOS this fails, as config.log is still kept open
18885 # by configure, so config.status won't be able to write to it; its
18886 # output is simply discarded. So we exec the FD to /dev/null,
18887 # effectively closing config.log, so it can be properly (re)opened and
18888 # appended to by config.status. When coming back to configure, we
18889 # need to make the FD available again.
18890 if test "$no_create" != yes; then
18891 ac_cs_success=:
18892 ac_config_status_args=
18893 test "$silent" = yes &&
18894 ac_config_status_args="$ac_config_status_args --quiet"
18895 exec 5>/dev/null
18896 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18897 exec 5>>config.log
18898 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18899 # would make configure fail if this is the last instruction.
18900 $ac_cs_success || as_fn_exit 1
18902 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18904 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18908 if test "$no_create" = "yes"
18909 then
18910 exit 0
18913 ac_save_IFS="$IFS"
18914 if test "x$wine_notices != "x; then
18915 echo >&6
18916 IFS="|"
18917 for msg in $wine_notices; do
18918 IFS="$ac_save_IFS"
18919 if test -n "$msg"; then
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18921 $as_echo "$as_me: $msg" >&6;}
18923 done
18925 IFS="|"
18926 for msg in $wine_warnings; do
18927 IFS="$ac_save_IFS"
18928 if test -n "$msg"; then
18929 echo >&2
18930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18931 $as_echo "$as_me: WARNING: $msg" >&2;}
18933 done
18934 IFS="$ac_save_IFS"
18936 $as_echo "
18937 $as_me: Finished. Do '${ac_make}' to compile Wine.
18938 " >&6